class Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings

Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.

Attributes

exclude[RW]

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` @return [Boolean]

exclude?[RW]

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` @return [Boolean]

is_rollback[RW]

Optional. If the update call is triggered from rollback, set the value as true. Corresponds to the JSON property `isRollback` @return [Boolean]

is_rollback?[RW]

Optional. If the update call is triggered from rollback, set the value as true. Corresponds to the JSON property `isRollback` @return [Boolean]

maintenance_policies[RW]

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` @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/managedidentities_v1beta1/classes.rb, line 853
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/managedidentities_v1beta1/classes.rb, line 858
def update!(**args)
  @exclude = args[:exclude] if args.key?(:exclude)
  @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
end