Class: Google::Apis::ComposerV1beta1::ListImageVersionsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb

Overview

The ImageVersions in a project and location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListImageVersionsResponse

Returns a new instance of ListImageVersionsResponse



242
243
244
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 242

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#image_versionsArray<Google::Apis::ComposerV1beta1::ImageVersion>

The list of supported ImageVersions in a location. Corresponds to the JSON property imageVersions



235
236
237
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 235

def image_versions
  @image_versions
end

#next_page_tokenString

The page token used to query for the next page if one exists. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


240
241
242
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 240

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



247
248
249
250
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 247

def update!(**args)
  @image_versions = args[:image_versions] if args.key?(:image_versions)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end