Class: Google::Apis::ConfigV1::ListPreviewsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::ListPreviewsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
A response to a ListPreviews call. Contains a list of Previews.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to be supplied to the next ListPreviews request via
page_tokento obtain the next set of results. -
#previews ⇒ Array<Google::Apis::ConfigV1::Preview>
List of Previews.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPreviewsResponse
constructor
A new instance of ListPreviewsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPreviewsResponse
Returns a new instance of ListPreviewsResponse.
1264 1265 1266 |
# File 'lib/google/apis/config_v1/classes.rb', line 1264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to be supplied to the next ListPreviews request via page_token to
obtain the next set of results.
Corresponds to the JSON property nextPageToken
1252 1253 1254 |
# File 'lib/google/apis/config_v1/classes.rb', line 1252 def next_page_token @next_page_token end |
#previews ⇒ Array<Google::Apis::ConfigV1::Preview>
List of Previews.
Corresponds to the JSON property previews
1257 1258 1259 |
# File 'lib/google/apis/config_v1/classes.rb', line 1257 def previews @previews end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
1262 1263 1264 |
# File 'lib/google/apis/config_v1/classes.rb', line 1262 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1269 1270 1271 1272 1273 |
# File 'lib/google/apis/config_v1/classes.rb', line 1269 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @previews = args[:previews] if args.key?(:previews) @unreachable = args[:unreachable] if args.key?(:unreachable) end |