Class: Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest
- 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
-
#network_peering ⇒ Google::Apis::ComputeAlpha::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.
27854 27855 27856 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_peering ⇒ Google::Apis::ComputeAlpha::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
27852 27853 27854 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27852 def network_peering @network_peering end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27859 27860 27861 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 27859 def update!(**args) @network_peering = args[:network_peering] if args.key?(:network_peering) end |