Reference documentation and code samples for the Google Cloud Design Center V1 Client class CatalogTemplateRevisionMetadata.
Represents metadata of a catalog template revision in the management context.
Generated from protobuf message google.cloud.designcenter.v1.CatalogTemplateRevisionMetadata
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The catalog template name in following format: |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The catalog template creation timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The catalog template update timestamp. |
↳ uuid |
string
Output only. The template revisions UUID. |
↳ latest_revision_id |
string
Output only. Latest revision of the template. |
↳ display_name |
string
Optional. The display name of the catalog template. |
↳ template_category |
int
Required. The category of the catalog template. |
↳ git_source_uri |
string
Optional. The Git source URI where the template repository is hosted. |
↳ description |
string
Optional. The catalog template description. |
getName
Output only. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The catalog template creation timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The catalog template creation timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The catalog template update timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The catalog template update timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUuid
Output only. The template revisions UUID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUuid
Output only. The template revisions UUID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLatestRevisionId
Output only. Latest revision of the template.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLatestRevisionId
Output only. Latest revision of the template.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. The display name of the catalog template.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. The display name of the catalog template.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTemplateCategory
Required. The category of the catalog template.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TemplateCategory. |
setTemplateCategory
Required. The category of the catalog template.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TemplateCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGitSourceUri
Optional. The Git source URI where the template repository is hosted.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGitSourceUri
Optional. The Git source URI where the template repository is hosted.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. The catalog template description.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. The catalog template description.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|