Reference documentation and code samples for the Google Cloud Design Center V1 Client class SharedTemplate.
A read-only template that is shared with a space.
Generated from protobuf message google.cloud.designcenter.v1.SharedTemplate
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The shared template name. |
↳ display_name |
string
Optional. The shared template display name. |
↳ description |
string
Optional. The shared template description. |
↳ origin_template |
string
Output only. The origin template of the shared template. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The shared template creation timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The shared template update timestamp. |
↳ latest_revision_id |
string
Output only. Latest revision of the shared template. |
↳ template_category |
int
Required. The category of the template. |
↳ type |
int
Optional. The Application Design Center assembly template type. |
getName
Identifier. The shared template name.
projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The shared template name.
projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. The shared template display name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. The shared template display name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. The shared template description.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. The shared template description.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOriginTemplate
Output only. The origin template of the shared template.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOriginTemplate
Output only. The origin template of the shared template.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The shared template creation timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The shared template creation timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The shared template update timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The shared template update timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLatestRevisionId
Output only. Latest revision of the shared template.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLatestRevisionId
Output only. Latest revision of the shared template.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTemplateCategory
Required. The category of the template.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TemplateCategory. |
setTemplateCategory
Required. The category of the template.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TemplateCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Optional. The Application Design Center assembly template type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TemplateType. |
setType
Optional. The Application Design Center assembly template type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TemplateType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|