Class: Google::Apis::ContainerV1beta1::Autopilot
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::Autopilot
- 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
Autopilot is the configuration for Autopilot settings on the cluster.
Instance Attribute Summary collapse
-
#conversion_status ⇒ Google::Apis::ContainerV1beta1::AutopilotConversionStatus
AutopilotConversionStatus represents conversion status.
-
#enabled ⇒ Boolean
(also: #enabled?)
Enable Autopilot Corresponds to the JSON property
enabled. -
#privileged_admission_config ⇒ Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig
PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.
-
#workload_policy_config ⇒ Google::Apis::ContainerV1beta1::WorkloadPolicyConfig
WorkloadPolicyConfig is the configuration related to GCW workload policy Corresponds to the JSON property
workloadPolicyConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Autopilot
constructor
A new instance of Autopilot.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Autopilot
Returns a new instance of Autopilot.
545 546 547 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversion_status ⇒ Google::Apis::ContainerV1beta1::AutopilotConversionStatus
AutopilotConversionStatus represents conversion status.
Corresponds to the JSON property conversionStatus
526 527 528 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 526 def conversion_status @conversion_status end |
#enabled ⇒ Boolean Also known as: enabled?
Enable Autopilot
Corresponds to the JSON property enabled
531 532 533 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 531 def enabled @enabled end |
#privileged_admission_config ⇒ Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig
PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
the cluster.
Corresponds to the JSON property privilegedAdmissionConfig
538 539 540 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 538 def privileged_admission_config @privileged_admission_config end |
#workload_policy_config ⇒ Google::Apis::ContainerV1beta1::WorkloadPolicyConfig
WorkloadPolicyConfig is the configuration related to GCW workload policy
Corresponds to the JSON property workloadPolicyConfig
543 544 545 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 543 def workload_policy_config @workload_policy_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
550 551 552 553 554 555 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 550 def update!(**args) @conversion_status = args[:conversion_status] if args.key?(:conversion_status) @enabled = args[:enabled] if args.key?(:enabled) @privileged_admission_config = args[:privileged_admission_config] if args.key?(:privileged_admission_config) @workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config) end |