Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListBranchesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb

Overview

Response for BranchService.ListBranches method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaListBranchesResponse

Returns a new instance of GoogleCloudRetailV2alphaListBranchesResponse.



3808
3809
3810
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3808

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#branchesArray<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBranch>

The Branches. Corresponds to the JSON property branches



3806
3807
3808
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3806

def branches
  @branches
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3813
3814
3815
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3813

def update!(**args)
  @branches = args[:branches] if args.key?(:branches)
end