Google Cloud Retail V2 Client - Class GetDefaultBranchRequest (1.4.2)

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
NameDescription
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
TypeDescription
string

setCatalog

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
catalog string

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

Returns
TypeDescription
Google\Cloud\Retail\V2\GetDefaultBranchRequest