class Google::Apis::ComputeV1::NetworksUpdatePeeringRequest

Attributes

network_peering[RW]

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` @return [Google::Apis::ComputeV1::NetworkPeering]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 21610
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 21615
def update!(**args)
  @network_peering = args[:network_peering] if args.key?(:network_peering)
end