Class: Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse
- 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
-
#etag ⇒ String
end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property
etag. -
#resource ⇒ Google::Apis::ComputeAlpha::NamedSet
Corresponds to the JSON property
resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoutersGetNamedSetResponse
constructor
A new instance of RoutersGetNamedSetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoutersGetNamedSetResponse
Returns a new instance of RoutersGetNamedSetResponse.
46180 46181 46182 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
end_interface: MixerGetResponseWithEtagBuilder
Corresponds to the JSON property etag
46173 46174 46175 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46173 def etag @etag end |
#resource ⇒ Google::Apis::ComputeAlpha::NamedSet
Corresponds to the JSON property resource
46178 46179 46180 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46178 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46185 46186 46187 46188 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46185 def update!(**args) @etag = args[:etag] if args.key?(:etag) @resource = args[:resource] if args.key?(:resource) end |