class Google::Apis::DatastreamV1alpha1::PrivateConnection

The PrivateConnection resource is used to establish private connectivity between Datastream and a customer’s network.

Attributes

create_time[RW]

Output only. The create time of the resource. Corresponds to the JSON property ‘createTime` @return [String]

display_name[RW]

Required. Display name. Corresponds to the JSON property ‘displayName` @return [String]

error[RW]

Represent a user-facing Error. Corresponds to the JSON property ‘error` @return [Google::Apis::DatastreamV1alpha1::Error]

labels[RW]

Labels. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]

name[RW]

Output only. The resource’s name. Corresponds to the JSON property ‘name` @return [String]

state[RW]

Output only. The state of the Private Connection. Corresponds to the JSON property ‘state` @return [String]

update_time[RW]

Output only. The update time of the resource. Corresponds to the JSON property ‘updateTime` @return [String]

vpc_peering_config[RW]

The VPC Peering configuration is used to create VPC peering between Datastream and the consumer’s VPC. Corresponds to the JSON property ‘vpcPeeringConfig` @return [Google::Apis::DatastreamV1alpha1::VpcPeeringConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 1553
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 1558
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @error = args[:error] if args.key?(:error)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vpc_peering_config = args[:vpc_peering_config] if args.key?(:vpc_peering_config)
end