Class: Google::Apis::ComputeBeta::RoutersGetNamedSetResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoutersGetNamedSetResponse

Returns a new instance of RoutersGetNamedSetResponse.



58217
58218
58219
# File 'lib/google/apis/compute_beta/classes.rb', line 58217

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


58210
58211
58212
# File 'lib/google/apis/compute_beta/classes.rb', line 58210

def etag
  @etag
end

#resourceGoogle::Apis::ComputeBeta::NamedSet

Corresponds to the JSON property resource



58215
58216
58217
# File 'lib/google/apis/compute_beta/classes.rb', line 58215

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



58222
58223
58224
58225
# File 'lib/google/apis/compute_beta/classes.rb', line 58222

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