Google Cloud Retail V2 Client - Class GetDefaultBranchRequest (2.1.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class GetDefaultBranchRequest.

Request message to show which branch is currently the default branch.

Generated from protobuf message google.cloud.retail.v2.GetDefaultBranchRequest

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ catalog string

The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

getCatalog

The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Returns
Type Description
string

setCatalog

The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
catalog string

The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Returns
Type Description
GetDefaultBranchRequest