Class: Google::Apis::ResourceviewsV1beta2::ZoneViewsList
- Inherits:
-
Object
- Object
- Google::Apis::ResourceviewsV1beta2::ZoneViewsList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/resourceviews_v1beta2/classes.rb,
generated/google/apis/resourceviews_v1beta2/representations.rb,
generated/google/apis/resourceviews_v1beta2/representations.rb
Overview
The response to a list request.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::ResourceviewsV1beta2::ResourceView>
The result that contains all resource views that meet the criteria.
-
#kind ⇒ String
Type of resource.
-
#next_page_token ⇒ String
A token used for pagination.
-
#self_link ⇒ String
Server defined URL for this resource (output only).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ZoneViewsList
constructor
A new instance of ZoneViewsList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ZoneViewsList
Returns a new instance of ZoneViewsList
563 564 565 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::ResourceviewsV1beta2::ResourceView>
The result that contains all resource views that meet the criteria.
Corresponds to the JSON property items
546 547 548 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 546 def items @items end |
#kind ⇒ String
Type of resource.
Corresponds to the JSON property kind
551 552 553 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 551 def kind @kind end |
#next_page_token ⇒ String
A token used for pagination.
Corresponds to the JSON property nextPageToken
556 557 558 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 556 def next_page_token @next_page_token end |
#self_link ⇒ String
Server defined URL for this resource (output only).
Corresponds to the JSON property selfLink
561 562 563 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 561 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
568 569 570 571 572 573 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 568 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) end |