Class: Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
The configuration value.
Instance Attribute Summary collapse
-
#is_default ⇒ Boolean
(also: #is_default?)
Output only.
-
#name ⇒ String
Output only.
-
#value ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentStatusConfigValue
constructor
A new instance of AgentStatusConfigValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentStatusConfigValue
Returns a new instance of AgentStatusConfigValue.
385 386 387 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_default ⇒ Boolean Also known as: is_default?
Output only. Whether the configuration value is the default value or
overridden.
Corresponds to the JSON property isDefault
372 373 374 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 372 def is_default @is_default end |
#name ⇒ String
Output only. The name of the configuration value.
Corresponds to the JSON property name
378 379 380 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 378 def name @name end |
#value ⇒ String
Output only. The value of the configuration value.
Corresponds to the JSON property value
383 384 385 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 383 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 394 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 390 def update!(**args) @is_default = args[:is_default] if args.key?(:is_default) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |