class Google::Apis::DatastreamV1::VpcPeeringConfig
The VPC Peering configuration is used to create VPC peering between Datastream and the consumer’s VPC.
Attributes
subnet[RW]
Required. A free subnet for peering. (CIDR of /29) TODO(b/172995841) add validators. Corresponds to the JSON property ‘subnet` @return [String]
vpc[RW]
Required. Fully qualified name of the VPC that Datastream will peer to. Format: ‘projects/`project`/global/`networks`/`name“ Corresponds to the JSON property `vpc` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 2038 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datastream_v1/classes.rb, line 2043 def update!(**args) @subnet = args[:subnet] if args.key?(:subnet) @vpc = args[:vpc] if args.key?(:vpc) end