Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class Version.
The consumer representation of a version which is a child resource under aProductwith asset data.
Generated from protobuf messagegoogle.cloud.privatecatalog.v1beta1.Version
Namespace
Google \ Cloud \ PrivateCatalog \ V1beta1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the version, in the formatcatalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9]. A unique identifier for the version under a product.
↳ description
string
Output only. The user-supplied description of the version. Maximum of 256 characters.
Output only. The asset which has been validated and is ready to be provisioned. Seegoogle.cloud.privatecatalogproducer.v1beta.Version.assetfor details.
Output only. The time when the version was last updated.
getName
Output only. The resource name of the version, in the formatcatalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9].
A unique identifier for the version under a product.
Returns
Type
Description
string
setName
Output only. The resource name of the version, in the formatcatalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9].
A unique identifier for the version under a product.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Output only. The user-supplied description of the version. Maximum of 256
characters.
Returns
Type
Description
string
setDescription
Output only. The user-supplied description of the version. Maximum of 256
characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAsset
Output only. The asset which has been validated and is ready to be
provisioned. Seegoogle.cloud.privatecatalogproducer.v1beta.Version.assetfor details.
Output only. The asset which has been validated and is ready to be
provisioned. Seegoogle.cloud.privatecatalogproducer.v1beta.Version.assetfor details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Private Catalog V1beta1 Client - Class Version (0.5.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.3 (latest)](/php/docs/reference/cloud-private-catalog/latest/V1beta1.Version)\n- [0.5.2](/php/docs/reference/cloud-private-catalog/0.5.2/V1beta1.Version)\n- [0.4.6](/php/docs/reference/cloud-private-catalog/0.4.6/V1beta1.Version)\n- [0.3.3](/php/docs/reference/cloud-private-catalog/0.3.3/V1beta1.Version)\n- [0.2.13](/php/docs/reference/cloud-private-catalog/0.2.13/V1beta1.Version) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class Version.\n\nThe consumer representation of a version which is a child resource under a\n`Product` with asset data.\n\nGenerated from protobuf message `google.cloud.privatecatalog.v1beta1.Version`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ PrivateCatalog \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The resource name of the version, in the format\n`catalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9]`.\n\nA unique identifier for the version under a product.\n\n### setName\n\nOutput only. The resource name of the version, in the format\n`catalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9]`.\n\nA unique identifier for the version under a product.\n\n### getDescription\n\nOutput only. The user-supplied description of the version. Maximum of 256\ncharacters.\n\n### setDescription\n\nOutput only. The user-supplied description of the version. Maximum of 256\ncharacters.\n\n### getAsset\n\nOutput only. The asset which has been validated and is ready to be\nprovisioned. See\ngoogle.cloud.privatecatalogproducer.v1beta.Version.asset for details.\n\n### hasAsset\n\n### clearAsset\n\n### setAsset\n\nOutput only. The asset which has been validated and is ready to be\nprovisioned. See\ngoogle.cloud.privatecatalogproducer.v1beta.Version.asset for details.\n\n### getCreateTime\n\nOutput only. The time when the version was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the version was created.\n\n### getUpdateTime\n\nOutput only. The time when the version was last updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time when the version was last updated."]]