Class: Google::Apis::ComputeV1::RoutersGetNamedSetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::RoutersGetNamedSetResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property
etag. -
#resource ⇒ Google::Apis::ComputeV1::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.
54513 54514 54515 |
# File 'lib/google/apis/compute_v1/classes.rb', line 54513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
end_interface: MixerGetResponseWithEtagBuilder
Corresponds to the JSON property etag
54506 54507 54508 |
# File 'lib/google/apis/compute_v1/classes.rb', line 54506 def etag @etag end |
#resource ⇒ Google::Apis::ComputeV1::NamedSet
Corresponds to the JSON property resource
54511 54512 54513 |
# File 'lib/google/apis/compute_v1/classes.rb', line 54511 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54518 54519 54520 54521 |
# File 'lib/google/apis/compute_v1/classes.rb', line 54518 def update!(**args) @etag = args[:etag] if args.key?(:etag) @resource = args[:resource] if args.key?(:resource) end |