Class: Google::Apis::WorkloadmanagerV1::AgentStatusReference
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::AgentStatusReference
- 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 reference to public documentation.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentStatusReference
constructor
A new instance of AgentStatusReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentStatusReference
Returns a new instance of AgentStatusReference.
436 437 438 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The name of the reference.
Corresponds to the JSON property name
429 430 431 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 429 def name @name end |
#url ⇒ String
Output only. The URL of the reference.
Corresponds to the JSON property url
434 435 436 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 434 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
441 442 443 444 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 441 def update!(**args) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) end |