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.



3623
3624
3625
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3623

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

Instance Attribute Details

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

The Branches. Corresponds to the JSON property branches



3621
3622
3623
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3621

def branches
  @branches
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3628
3629
3630
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3628

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