Class: Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworksUpdatePeeringRequest

Returns a new instance of NetworksUpdatePeeringRequest.



21274
21275
21276
# File 'lib/google/apis/compute_beta/classes.rb', line 21274

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

Instance Attribute Details

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



21272
21273
21274
# File 'lib/google/apis/compute_beta/classes.rb', line 21272

def network_peering
  @network_peering
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21279
21280
21281
# File 'lib/google/apis/compute_beta/classes.rb', line 21279

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