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.



57430
57431
57432
# File 'lib/google/apis/compute_beta/classes.rb', line 57430

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


57423
57424
57425
# File 'lib/google/apis/compute_beta/classes.rb', line 57423

def etag
  @etag
end

#resourceGoogle::Apis::ComputeBeta::NamedSet

Corresponds to the JSON property resource



57428
57429
57430
# File 'lib/google/apis/compute_beta/classes.rb', line 57428

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57435
57436
57437
57438
# File 'lib/google/apis/compute_beta/classes.rb', line 57435

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