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.



1981
1982
1983
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1981

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)


1969
1970
1971
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1969

def next_page_token
  @next_page_token
end

#unreachableArray<String>

List of unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1974
1975
1976
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1974

def unreachable
  @unreachable
end

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

A list of Upgrades. Corresponds to the JSON property upgrades



1979
1980
1981
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1979

def upgrades
  @upgrades
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1986
1987
1988
1989
1990
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1986

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