Class: Google::Apis::ResourceviewsV1beta1::RegionViewsListResponse
- Inherits:
-
Object
- Object
- Google::Apis::ResourceviewsV1beta1::RegionViewsListResponse
- 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 view request.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token used for pagination.
-
#resource_views ⇒ Array<Google::Apis::ResourceviewsV1beta1::ResourceView>
The list of resource views that meet the criteria.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionViewsListResponse
constructor
A new instance of RegionViewsListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RegionViewsListResponse
Returns a new instance of RegionViewsListResponse
127 128 129 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token used for pagination.
Corresponds to the JSON property nextPageToken
120 121 122 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 120 def next_page_token @next_page_token end |
#resource_views ⇒ Array<Google::Apis::ResourceviewsV1beta1::ResourceView>
The list of resource views that meet the criteria.
Corresponds to the JSON property resourceViews
125 126 127 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 125 def resource_views @resource_views end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 135 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 132 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @resource_views = args[:resource_views] if args.key?(:resource_views) end |