Class: Google::Apis::BaremetalsolutionV2::ListOsImagesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb

Overview

Request for getting all available OS images.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOsImagesResponse

Returns a new instance of ListOsImagesResponse.



829
830
831
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 829

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


822
823
824
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 822

def next_page_token
  @next_page_token
end

#os_imagesArray<Google::Apis::BaremetalsolutionV2::OsImage>

The OS images available. Corresponds to the JSON property osImages



827
828
829
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 827

def os_images
  @os_images
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



834
835
836
837
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 834

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