Class: Google::Apis::ComputeV1::NetworksUpdatePeeringRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworksUpdatePeeringRequest

Returns a new instance of NetworksUpdatePeeringRequest.



18495
18496
18497
# File 'generated/google/apis/compute_v1/classes.rb', line 18495

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#network_peeringGoogle::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



18493
18494
18495
# File 'generated/google/apis/compute_v1/classes.rb', line 18493

def network_peering
  @network_peering
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18500
18501
18502
# File 'generated/google/apis/compute_v1/classes.rb', line 18500

def update!(**args)
  @network_peering = args[:network_peering] if args.key?(:network_peering)
end