Class: Google::Apis::ContainerV1beta1::MaintenanceExclusionOptions

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

Represents the Maintenance exclusion option.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MaintenanceExclusionOptions

Returns a new instance of MaintenanceExclusionOptions.



3979
3980
3981
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3979

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

Instance Attribute Details

#scopeString

Scope specifies the upgrade scope which upgrades are blocked by the exclusion. Corresponds to the JSON property scope

Returns:

  • (String)


3977
3978
3979
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3977

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3984
3985
3986
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3984

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