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.



54559
54560
54561
# File 'lib/google/apis/compute_v1/classes.rb', line 54559

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


54552
54553
54554
# File 'lib/google/apis/compute_v1/classes.rb', line 54552

def etag
  @etag
end

#resourceGoogle::Apis::ComputeV1::NamedSet

Corresponds to the JSON property resource



54557
54558
54559
# File 'lib/google/apis/compute_v1/classes.rb', line 54557

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54564
54565
54566
54567
# File 'lib/google/apis/compute_v1/classes.rb', line 54564

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