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.



456
457
458
# File 'lib/google/apis/container_v1/classes.rb', line 456

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

Instance Attribute Details

#scopeString

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

Returns:

  • (String)


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