Class: Google::Apis::ResourceviewsV1beta1::RegionViewsListResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_tokenString

A token used for pagination. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


120
121
122
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 120

def next_page_token
  @next_page_token
end

#resource_viewsArray<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