Class: Google::Apis::ComputeAlpha::RoutersGetRoutePolicyResponse

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) ⇒ RoutersGetRoutePolicyResponse

Returns a new instance of RoutersGetRoutePolicyResponse.



41314
41315
41316
# File 'lib/google/apis/compute_alpha/classes.rb', line 41314

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

Instance Attribute Details

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


41307
41308
41309
# File 'lib/google/apis/compute_alpha/classes.rb', line 41307

def etag
  @etag
end

#resourceGoogle::Apis::ComputeAlpha::RoutePolicy

Corresponds to the JSON property resource



41312
41313
41314
# File 'lib/google/apis/compute_alpha/classes.rb', line 41312

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41319
41320
41321
41322
# File 'lib/google/apis/compute_alpha/classes.rb', line 41319

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