Class: Google::Apis::WorkloadmanagerV1::AgentStatusReference

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

Instance Method Summary collapse

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

#nameString

Output only. The name of the reference. Corresponds to the JSON property name

Returns:

  • (String)


429
430
431
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 429

def name
  @name
end

#urlString

Output only. The URL of the reference. Corresponds to the JSON property url

Returns:

  • (String)


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