Class: Google::Apis::ContainerV1::AutoMonitoringConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::AutoMonitoringConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
AutoMonitoringConfig defines the configuration for GKE Workload Auto- Monitoring.
Instance Attribute Summary collapse
-
#scope ⇒ String
Scope for GKE Workload Auto-Monitoring.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoMonitoringConfig
constructor
A new instance of AutoMonitoringConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutoMonitoringConfig
Returns a new instance of AutoMonitoringConfig.
456 457 458 |
# File 'lib/google/apis/container_v1/classes.rb', line 456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scope ⇒ String
Scope for GKE Workload Auto-Monitoring.
Corresponds to the JSON property scope
454 455 456 |
# File 'lib/google/apis/container_v1/classes.rb', line 454 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
461 462 463 |
# File 'lib/google/apis/container_v1/classes.rb', line 461 def update!(**args) @scope = args[:scope] if args.key?(:scope) end |