Class: Google::Apis::ComputeV1::NetworksUpdatePeeringRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::NetworksUpdatePeeringRequest
- 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
-
#network_peering ⇒ Google::Apis::ComputeV1::NetworkPeering
A network peering attached to a network resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworksUpdatePeeringRequest
constructor
A new instance of NetworksUpdatePeeringRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworksUpdatePeeringRequest
Returns a new instance of NetworksUpdatePeeringRequest.
25805 25806 25807 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_peering ⇒ Google::Apis::ComputeV1::NetworkPeering
A network peering attached to a network resource. The message includes the
peering name, peer network, peering state, and a flag indicating whether
Google Compute Engine should automatically create routes for the peering.
Corresponds to the JSON property networkPeering
25803 25804 25805 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25803 def network_peering @network_peering end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25810 25811 25812 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25810 def update!(**args) @network_peering = args[:network_peering] if args.key?(:network_peering) end |