Class: Google::Apis::GkeonpremV1::VmwareVersionInfo

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

Overview

Contains information about a specific Anthos on VMware version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareVersionInfo

Returns a new instance of VmwareVersionInfo.

[View source]

5669
5670
5671
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5669

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

Instance Attribute Details

#dependenciesArray<Google::Apis::GkeonpremV1::UpgradeDependency>

The list of upgrade dependencies for this version. Corresponds to the JSON property dependencies


5646
5647
5648
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5646

def dependencies
  @dependencies
end

#has_dependenciesBoolean Also known as: has_dependencies?

If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster) must be upgraded before this version can be installed or upgraded to. Corresponds to the JSON property hasDependencies

Returns:

  • (Boolean)

5653
5654
5655
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5653

def has_dependencies
  @has_dependencies
end

#is_installedBoolean Also known as: is_installed?

If set, the version is installed in the admin cluster. Otherwise, the version bundle must be downloaded and installed before a user cluster can be created at or upgraded to this version. Corresponds to the JSON property isInstalled

Returns:

  • (Boolean)

5661
5662
5663
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5661

def is_installed
  @is_installed
end

#versionString

Version number e.g. 1.13.1-gke.1000. Corresponds to the JSON property version

Returns:

  • (String)

5667
5668
5669
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5667

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5674
5675
5676
5677
5678
5679
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5674

def update!(**args)
  @dependencies = args[:dependencies] if args.key?(:dependencies)
  @has_dependencies = args[:has_dependencies] if args.key?(:has_dependencies)
  @is_installed = args[:is_installed] if args.key?(:is_installed)
  @version = args[:version] if args.key?(:version)
end