Class: Google::Apis::ComputeV1::RoutersGetNamedSetResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoutersGetNamedSetResponse

Returns a new instance of RoutersGetNamedSetResponse.



53759
53760
53761
# File 'lib/google/apis/compute_v1/classes.rb', line 53759

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


53752
53753
53754
# File 'lib/google/apis/compute_v1/classes.rb', line 53752

def etag
  @etag
end

#resourceGoogle::Apis::ComputeV1::NamedSet

Corresponds to the JSON property resource



53757
53758
53759
# File 'lib/google/apis/compute_v1/classes.rb', line 53757

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53764
53765
53766
53767
# File 'lib/google/apis/compute_v1/classes.rb', line 53764

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