Class: Google::Apis::ContainerV1beta1::QueuedProvisioning

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

Overview

QueuedProvisioning defines the queued provisioning used by the node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueuedProvisioning

Returns a new instance of QueuedProvisioning.



6107
6108
6109
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6107

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


6104
6105
6106
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6104

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6112
6113
6114
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6112

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