Class: Google::Apis::ResourceviewsV1beta2::ListResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ResourceviewsV1beta2::ListResourcesResponse
- 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 resource request.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::ResourceviewsV1beta2::ListResourceResponseItem>
The formatted JSON that is requested by the user.
-
#network ⇒ String
The URL of a Compute Engine network to which the resources in the view belong.
-
#next_page_token ⇒ String
A token used for pagination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListResourcesResponse
constructor
A new instance of ListResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListResourcesResponse
Returns a new instance of ListResourcesResponse
595 596 597 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 595 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::ResourceviewsV1beta2::ListResourceResponseItem>
The formatted JSON that is requested by the user.
Corresponds to the JSON property items
583 584 585 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 583 def items @items end |
#network ⇒ String
The URL of a Compute Engine network to which the resources in the view belong.
Corresponds to the JSON property network
588 589 590 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 588 def network @network end |
#next_page_token ⇒ String
A token used for pagination.
Corresponds to the JSON property nextPageToken
593 594 595 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 593 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
600 601 602 603 604 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 600 def update!(**args) @items = args[:items] if args.key?(:items) @network = args[:network] if args.key?(:network) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |