Class: Google::Apis::ComputeAlpha::TargetReference

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetReference

Returns a new instance of TargetReference.



57473
57474
57475
# File 'lib/google/apis/compute_alpha/classes.rb', line 57473

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

Instance Attribute Details

#targetString

Corresponds to the JSON property target

Returns:

  • (String)


57471
57472
57473
# File 'lib/google/apis/compute_alpha/classes.rb', line 57471

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57478
57479
57480
# File 'lib/google/apis/compute_alpha/classes.rb', line 57478

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