Class: Google::Apis::ResourceviewsV1beta1::ZoneViewsListResponse

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 a list 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) ⇒ ZoneViewsListResponse

Returns a new instance of ZoneViewsListResponse



307
308
309
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 307

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)


300
301
302
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 300

def next_page_token
  @next_page_token
end

#resource_viewsArray<Google::Apis::ResourceviewsV1beta1::ResourceView>

The result that contains all resource views that meet the criteria. Corresponds to the JSON property resourceViews



305
306
307
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 305

def resource_views
  @resource_views
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



312
313
314
315
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 312

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