Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeleteCatalogTemplateRequest.
Message for deleting a catalog template.
Generated from protobuf message google.cloud.designcenter.v1.DeleteCatalogTemplateRequest
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The catalog template name. Format: |
↳ force |
bool
Optional. If set to true, the catalog template's children are also deleted. If false, the catalog template is only deleted if it has no children. |
getName
Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The catalog template name.
Format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getForce
Optional. If set to true, the catalog template's children are also deleted.
If false, the catalog template is only deleted if it has no children.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setForce
Optional. If set to true, the catalog template's children are also deleted.
If false, the catalog template is only deleted if it has no children.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The catalog template name.
Format:
|
| Returns | |
|---|---|
| Type | Description |
DeleteCatalogTemplateRequest |
|