Class: Google::Apis::ComputeAlpha::RoutersGetRoutePolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RoutersGetRoutePolicyResponse
- 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
-
#etag ⇒ String
end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property
etag
. -
#resource ⇒ Google::Apis::ComputeAlpha::RoutePolicy
Corresponds to the JSON property
resource
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoutersGetRoutePolicyResponse
constructor
A new instance of RoutersGetRoutePolicyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoutersGetRoutePolicyResponse
Returns a new instance of RoutersGetRoutePolicyResponse.
47027 47028 47029 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
end_interface: MixerGetResponseWithEtagBuilder
Corresponds to the JSON property etag
47020 47021 47022 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47020 def etag @etag end |
#resource ⇒ Google::Apis::ComputeAlpha::RoutePolicy
Corresponds to the JSON property resource
47025 47026 47027 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47025 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47032 47033 47034 47035 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47032 def update!(**args) @etag = args[:etag] if args.key?(:etag) @resource = args[:resource] if args.key?(:resource) end |