Class: Google::Apis::GkeonpremV1::VmwareAdminControlPlaneNodeConfig

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

Overview

VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminControlPlaneNodeConfig

Returns a new instance of VmwareAdminControlPlaneNodeConfig.



3785
3786
3787
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3785

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

Instance Attribute Details

#cpusFixnum

The number of vCPUs for the control-plane node of the admin cluster. Corresponds to the JSON property cpus

Returns:

  • (Fixnum)


3777
3778
3779
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3777

def cpus
  @cpus
end

#memoryFixnum

The number of mebibytes of memory for the control-plane node of the admin cluster. Corresponds to the JSON property memory

Returns:

  • (Fixnum)


3783
3784
3785
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3783

def memory
  @memory
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3790
3791
3792
3793
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3790

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