Class: Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NetworksUpdatePeeringRequest

Returns a new instance of NetworksUpdatePeeringRequest



18110
18111
18112
# File 'generated/google/apis/compute_alpha/classes.rb', line 18110

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

Instance Attribute Details

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



18108
18109
18110
# File 'generated/google/apis/compute_alpha/classes.rb', line 18108

def network_peering
  @network_peering
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18115
18116
18117
# File 'generated/google/apis/compute_alpha/classes.rb', line 18115

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