Class: Google::Apis::ResourceviewsV1beta1::RegionViewsListResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ResourceviewsV1beta1::RegionViewsListResourcesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/resourceviews_v1beta1/classes.rb,
generated/google/apis/resourceviews_v1beta1/representations.rb,
generated/google/apis/resourceviews_v1beta1/representations.rb
Overview
The response to the list resource request.
Instance Attribute Summary collapse
-
#members ⇒ Array<String>
The resources in the view.
-
#next_page_token ⇒ String
A token used for pagination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionViewsListResourcesResponse
constructor
A new instance of RegionViewsListResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RegionViewsListResourcesResponse
Returns a new instance of RegionViewsListResourcesResponse
102 103 104 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#members ⇒ Array<String>
The resources in the view.
Corresponds to the JSON property members
95 96 97 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 95 def members @members end |
#next_page_token ⇒ String
A token used for pagination.
Corresponds to the JSON property nextPageToken
100 101 102 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 100 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
107 108 109 110 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 107 def update!(**args) @members = args[:members] if args.key?(:members) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |