Class: Google::Apis::ComputeBeta::TargetReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::TargetReference
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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
12158 12159 12160 |
# File 'generated/google/apis/compute_beta/classes.rb', line 12158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target ⇒ String
Corresponds to the JSON property target
12156 12157 12158 |
# File 'generated/google/apis/compute_beta/classes.rb', line 12156 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12163 12164 12165 |
# File 'generated/google/apis/compute_beta/classes.rb', line 12163 def update!(**args) @target = args[:target] if args.key?(:target) end |