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.



41267
41268
41269
# File 'lib/google/apis/compute_alpha/classes.rb', line 41267

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

Instance Attribute Details

#targetString

Corresponds to the JSON property target

Returns:

  • (String)


41265
41266
41267
# File 'lib/google/apis/compute_alpha/classes.rb', line 41265

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41272
41273
41274
# File 'lib/google/apis/compute_alpha/classes.rb', line 41272

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