Class: Google::Apis::ComputeV1::RoutersGetRoutePolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::RoutersGetRoutePolicyResponse
- 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
-
#resource ⇒ Google::Apis::ComputeV1::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.
51741 51742 51743 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ComputeV1::RoutePolicy
Corresponds to the JSON property resource
51739 51740 51741 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51739 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51746 51747 51748 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51746 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |