Class: Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#network_peering ⇒ Google::Apis::ComputeBeta::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworksUpdatePeeringRequest
Returns a new instance of NetworksUpdatePeeringRequest
15110 15111 15112 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_peering ⇒ Google::Apis::ComputeBeta::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
15108 15109 15110 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15108 def network_peering @network_peering end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15115 15116 15117 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15115 def update!(**args) @network_peering = args[:network_peering] if args.key?(:network_peering) end |