Class: Google::Apis::ContainerV1::AutoMonitoringConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutoMonitoringConfig

Returns a new instance of AutoMonitoringConfig.



533
534
535
# File 'lib/google/apis/container_v1/classes.rb', line 533

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

Instance Attribute Details

#scopeString

Scope for GKE Workload Auto-Monitoring. Corresponds to the JSON property scope

Returns:

  • (String)


531
532
533
# File 'lib/google/apis/container_v1/classes.rb', line 531

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



538
539
540
# File 'lib/google/apis/container_v1/classes.rb', line 538

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