Google Cloud Retail V2 Client - Class GetDefaultBranchResponse (1.0.1)

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

Response message of CatalogService.GetDefaultBranch .

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ branch
string

Full resource name of the branch id currently set as default branch.

↳ set_time
Google\Protobuf\Timestamp

The time when this branch is set to default.

↳ note
string

This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.

getBranch

Full resource name of the branch id currently set as default branch.

Generated from protobuf field string branch = 1 [(.google.api.resource_reference) = {

Returns
Type
Description
string

setBranch

Full resource name of the branch id currently set as default branch.

Generated from protobuf field string branch = 1 [(.google.api.resource_reference) = {

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSetTime

The time when this branch is set to default.

Generated from protobuf field .google.protobuf.Timestamp set_time = 2;

Returns
Type
Description
Google\Protobuf\Timestamp|null

hasSetTime

clearSetTime

setSetTime

The time when this branch is set to default.

Generated from protobuf field .google.protobuf.Timestamp set_time = 2;

Parameter
Name
Description
var
Google\Protobuf\Timestamp
Returns
Type
Description
$this

getNote

This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.

Generated from protobuf field string note = 3;

Returns
Type
Description
string

setNote

This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.

Generated from protobuf field string note = 3;

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: