Class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/managedidentities_v1alpha1/classes.rb,
generated/google/apis/managedidentities_v1alpha1/representations.rb,
generated/google/apis/managedidentities_v1alpha1/representations.rb
Overview
Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.
Instance Attribute Summary collapse
-
#exclude ⇒ Boolean
(also: #exclude?)
Optional.
-
#maintenance_policies ⇒ Hash<String,Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
constructor
A new instance of GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
Returns a new instance of GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.
795 796 797 |
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude ⇒ Boolean Also known as: exclude?
Optional. Exclude instance from maintenance. When true, rollout service will
not attempt maintenance on the instance. Rollout service will include the
instance in reported rollout progress as not attempted.
Corresponds to the JSON property exclude
782 783 784 |
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 782 def exclude @exclude end |
#maintenance_policies ⇒ Hash<String,Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy>
Optional. The MaintenancePolicies that have been attached to the instance. The
key must be of the type name of the oneof policy name defined in
MaintenancePolicy, and the embedded policy must define the same policy type.
For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
If only the name is needed (like in the deprecated Instance.
maintenance_policy_names field) then only populate MaintenancePolicy.name.
Corresponds to the JSON property maintenancePolicies
793 794 795 |
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 793 def maintenance_policies @maintenance_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
800 801 802 803 |
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 800 def update!(**args) @exclude = args[:exclude] if args.key?(:exclude) @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) end |