Class: Google::Apis::ContainerV1beta1::AutoMonitoringConfig

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

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.



386
387
388
# File 'lib/google/apis/container_v1beta1/classes.rb', line 386

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

Instance Attribute Details

#scopeString

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

Returns:

  • (String)


384
385
386
# File 'lib/google/apis/container_v1beta1/classes.rb', line 384

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



391
392
393
# File 'lib/google/apis/container_v1beta1/classes.rb', line 391

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