Class: Google::Apis::ResourceviewsV1beta1::RegionViewsListResourcesResponse

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 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) ⇒ 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

#membersArray<String>

The resources in the view. Corresponds to the JSON property members

Returns:

  • (Array<String>)


95
96
97
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 95

def members
  @members
end

#next_page_tokenString

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

Returns:

  • (String)


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