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.



53771
53772
53773
# File 'lib/google/apis/compute_v1/classes.rb', line 53771

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


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

def etag
  @etag
end

#resourceGoogle::Apis::ComputeV1::NamedSet

Corresponds to the JSON property resource



53769
53770
53771
# File 'lib/google/apis/compute_v1/classes.rb', line 53769

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53776
53777
53778
53779
# File 'lib/google/apis/compute_v1/classes.rb', line 53776

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