Reference documentation and code samples for the Google Cloud Design Center V1 Client class CreateCatalogTemplateRequest.
Message for creating a catalog template.
Generated from protobuf message google.cloud.designcenter.v1.CreateCatalogTemplateRequest
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource in which the catalog template is created. |
↳ catalog_template_id |
string
Required. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
↳ catalog_template |
CatalogTemplate
Required. The catalog template to create. |
getParent
Required. The parent resource in which the catalog template is created.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource in which the catalog template is created.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCatalogTemplateId
Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCatalogTemplateId
Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCatalogTemplate
Required. The catalog template to create.
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate|null |
|
hasCatalogTemplate
clearCatalogTemplate
setCatalogTemplate
Required. The catalog template to create.
| Parameter | |
|---|---|
| Name | Description |
var |
CatalogTemplate
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource in which the catalog template is created. Please see DesignCenterClient::catalogName() for help formatting this field. |
catalogTemplate |
CatalogTemplate
Required. The catalog template to create. |
catalogTemplateId |
string
Required. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest |
|