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.



3609
3610
3611
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3609

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

Instance Attribute Details

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

The Branches. Corresponds to the JSON property branches



3607
3608
3609
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3607

def branches
  @branches
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3614
3615
3616
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3614

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