Class: Google::Apis::ComputeAlpha::TargetReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::TargetReference
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#target ⇒ String
Corresponds to the JSON property
target.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetReference
constructor
A new instance of TargetReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TargetReference
Returns a new instance of TargetReference
21544 21545 21546 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 21544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target ⇒ String
Corresponds to the JSON property target
21542 21543 21544 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 21542 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21549 21550 21551 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 21549 def update!(**args) @target = args[:target] if args.key?(:target) end |