class Google::Apis::RetailV2::GoogleCloudRetailV2GetDefaultBranchResponse

Response message of CatalogService.GetDefaultBranch.

Attributes

branch[RW]

Full resource name of the branch id currently set as default branch. Corresponds to the JSON property `branch` @return [String]

note[RW]

This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default. Corresponds to the JSON property `note` @return [String]

set_time[RW]

The time when this branch is set to default. Corresponds to the JSON property `setTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2/classes.rb, line 830
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/retail_v2/classes.rb, line 835
def update!(**args)
  @branch = args[:branch] if args.key?(:branch)
  @note = args[:note] if args.key?(:note)
  @set_time = args[:set_time] if args.key?(:set_time)
end