Google Cloud Design Center V1 Client - Class CreateCatalogRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class CreateCatalogRequest.

Message for creating a catalog.

Generated from protobuf message google.cloud.designcenter.v1.CreateCatalogRequest

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent space in which a catalog is created in the following format: projects/$project/locations/$location/spaces/$space

↳ catalog_id string

Required. The ID of the catalog to create.

↳ catalog Catalog

Required. The catalog to create.

getParent

Required. The parent space in which a catalog is created in the following format: projects/$project/locations/$location/spaces/$space

Returns
Type Description
string

setParent

Required. The parent space in which a catalog is created in the following format: projects/$project/locations/$location/spaces/$space

Parameter
Name Description
var string
Returns
Type Description
$this

getCatalogId

Required. The ID of the catalog to create.

Returns
Type Description
string

setCatalogId

Required. The ID of the catalog to create.

Parameter
Name Description
var string
Returns
Type Description
$this

getCatalog

Required. The catalog to create.

Returns
Type Description
Catalog|null

hasCatalog

clearCatalog

setCatalog

Required. The catalog to create.

Parameter
Name Description
var Catalog
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent space in which a catalog is created in the following format: projects/$project/locations/$location/spaces/$space Please see DesignCenterClient::spaceName() for help formatting this field.

catalog Catalog

Required. The catalog to create.

catalogId string

Required. The ID of the catalog to create.

Returns
Type Description
CreateCatalogRequest