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.



56551
56552
56553
# File 'lib/google/apis/compute_beta/classes.rb', line 56551

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


56544
56545
56546
# File 'lib/google/apis/compute_beta/classes.rb', line 56544

def etag
  @etag
end

#resourceGoogle::Apis::ComputeBeta::NamedSet

Corresponds to the JSON property resource



56549
56550
56551
# File 'lib/google/apis/compute_beta/classes.rb', line 56549

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56556
56557
56558
56559
# File 'lib/google/apis/compute_beta/classes.rb', line 56556

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