Class: Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoutersGetNamedSetResponse

Returns a new instance of RoutersGetNamedSetResponse.



41645
41646
41647
# File 'lib/google/apis/compute_alpha/classes.rb', line 41645

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


41638
41639
41640
# File 'lib/google/apis/compute_alpha/classes.rb', line 41638

def etag
  @etag
end

#resourceGoogle::Apis::ComputeAlpha::NamedSet

Corresponds to the JSON property resource



41643
41644
41645
# File 'lib/google/apis/compute_alpha/classes.rb', line 41643

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41650
41651
41652
41653
# File 'lib/google/apis/compute_alpha/classes.rb', line 41650

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