Class: Google::Apis::MirrorV1::ListLocationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MirrorV1::ListLocationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mirror_v1/classes.rb,
generated/google/apis/mirror_v1/representations.rb,
generated/google/apis/mirror_v1/representations.rb
Overview
A list of Locations. This is the response from the server to GET requests on the locations collection.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::MirrorV1::Location>
The list of locations.
-
#kind ⇒ String
The type of resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLocationsResponse
constructor
A new instance of ListLocationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListLocationsResponse
Returns a new instance of ListLocationsResponse
382 383 384 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::MirrorV1::Location>
The list of locations.
Corresponds to the JSON property items
375 376 377 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 375 def items @items end |
#kind ⇒ String
The type of resource. This is always mirror#locationsList.
Corresponds to the JSON property kind
380 381 382 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 380 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 387 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |