REST Resource: projects.locations.privateConnections

Resource: PrivateConnection

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

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "displayName": string,
  "state": enum (State),
  "error": {
    object (Error)
  },
  "vpcPeeringConfig": {
    object (VpcPeeringConfig)
  },
  "satisfiesPzs": boolean,
  "satisfiesPzi": boolean
}
Fields
name

string

Output only. Identifier. The resource's name.

createTime

string (Timestamp format)

Output only. The create time of the resource.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The update time of the resource.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

labels

map (key: string, value: string)

Labels.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

displayName

string

Required. Display name.

state

enum (State)

Output only. The state of the Private Connection.

error

object (Error)

Output only. In case of error, the details of the error in a user-friendly format.

vpcPeeringConfig

object (VpcPeeringConfig)

VPC Peering Config.

satisfiesPzs

boolean

Output only. Reserved for future use.

satisfiesPzi

boolean

Output only. Reserved for future use.

State

Private Connection state.

Enums
STATE_UNSPECIFIED Unspecified state.
CREATING The private connection is in creation state - creating resources.
CREATED The private connection has been created with all of its resources.
FAILED The private connection creation has failed.
DELETING The private connection is being deleted.
FAILED_TO_DELETE Delete request has failed, resource is in invalid state.

VpcPeeringConfig

The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.

JSON representation
{
  "vpc": string,
  "subnet": string
}
Fields
vpc

string

Required. Fully qualified name of the VPC that Datastream will peer to. Format: projects/{project}/global/{networks}/{name}

subnet

string

Required. A free subnet for peering. (CIDR of /29)

Methods

create

Use this method to create a private connectivity configuration.

delete

Use this method to delete a private connectivity configuration.

get

Use this method to get details about a private connectivity configuration.

list

Use this method to list private connectivity configurations in a project and location.