Google Cloud Private Catalog V1beta1 Client - Class Catalog (0.4.0)

Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class Catalog.

The readonly representation of a catalog computed with a given resource context.

Generated from protobuf message google.cloud.privatecatalog.v1beta1.Catalog

Namespace

Google \ Cloud \ PrivateCatalog \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of the target catalog, in the format of `catalogs/{catalog}'.

↳ display_name string

Output only. The descriptive name of the catalog as it appears in UIs.

↳ description string

Output only. The description of the catalog.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the catalog was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the catalog was last updated.

getName

Output only. The resource name of the target catalog, in the format of `catalogs/{catalog}'.

Returns
TypeDescription
string

setName

Output only. The resource name of the target catalog, in the format of `catalogs/{catalog}'.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Output only. The descriptive name of the catalog as it appears in UIs.

Returns
TypeDescription
string

setDisplayName

Output only. The descriptive name of the catalog as it appears in UIs.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Output only. The description of the catalog.

Returns
TypeDescription
string

setDescription

Output only. The description of the catalog.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the catalog was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the catalog was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the catalog was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the catalog was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this