class Google::Apis::DatastreamV1alpha1::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_name[RW]

Required. fully qualified name of the VPC Datastream will peer to. Corresponds to the JSON property ‘vpcName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 2044
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_v1alpha1/classes.rb, line 2049
def update!(**args)
  @subnet = args[:subnet] if args.key?(:subnet)
  @vpc_name = args[:vpc_name] if args.key?(:vpc_name)
end