Reference documentation and code samples for the Google Cloud Design Center V1 Client class CatalogTemplate.
A template inside a catalog.
Generated from protobuf message google.cloud.designcenter.v1.CatalogTemplate
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The catalog template name in following format: |
↳ display_name |
string
Optional. The display name of a catalog template. |
↳ description |
string
Optional. The catalog template description. |
↳ uuid |
string
Output only. The template revisions UUID. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The catalog template creation timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The catalog template update timestamp. |
↳ latest_revision_id |
string
Output only. Latest revision of the template. |
↳ template_category |
int
Required. The category of the Application Design Center application template. |
↳ type |
int
Optional. The Application Design Center application template type. |
getName
Identifier. The catalog template name in following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. 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 |
|
getDisplayName
Optional. The display name of a catalog template.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. The display name of a catalog template.
| 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 |
|
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 |
|
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 |
|
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 |
|
getTemplateCategory
Required. The category of the Application Design Center application template.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TemplateCategory. |
setTemplateCategory
Required. The category of the Application Design Center application template.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TemplateCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Optional. The Application Design Center application template type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TemplateType. |
setType
Optional. The Application Design Center application template type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TemplateType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|