Class: Google::Apis::VmwareengineV1::ListUpgradesResponse

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

Overview

Response message for VmwareEngine.ListUpgrades.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListUpgradesResponse

Returns a new instance of ListUpgradesResponse.



2011
2012
2013
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2011

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1999
2000
2001
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1999

def next_page_token
  @next_page_token
end

#unreachableArray<String>

List of unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2004
2005
2006
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2004

def unreachable
  @unreachable
end

#upgradesArray<Google::Apis::VmwareengineV1::Upgrade>

A list of Upgrades. Corresponds to the JSON property upgrades



2009
2010
2011
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2009

def upgrades
  @upgrades
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2016
2017
2018
2019
2020
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2016

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