Class: Google::Apis::MybusinessbusinessinformationV1::SearchChainsResponse

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

Overview

Response message for Locations.SearchChains.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchChainsResponse

Returns a new instance of SearchChainsResponse.



1487
1488
1489
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1487

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

Instance Attribute Details

#chainsArray<Google::Apis::MybusinessbusinessinformationV1::Chain>

Chains that match the queried chain_display_name in SearchChainsRequest. If there are no matches, this field will be empty. Results are listed in order of relevance. Corresponds to the JSON property chains



1485
1486
1487
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1485

def chains
  @chains
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1492
1493
1494
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1492

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