Resource: PrivateConnection
The PrivateConnection resource is used to establish private connectivity with the customer's network.
| JSON representation | 
|---|
| { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "displayName": string, "state": enum ( | 
| Fields | |
|---|---|
| name | 
 The name of the resource. | 
| createTime | 
 Output only. The create time of the resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| updateTime | 
 Output only. The last update time of the resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| labels | 
 The resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example:  An object containing a list of  | 
| displayName | 
 The private connection display name. | 
| state | 
 Output only. The state of the private connection. | 
| error | 
 Output only. The error details in case of state FAILED. | 
| Union field  
 | |
| vpcPeeringConfig | 
 VPC peering configuration. | 
State
Private Connection state.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | |
| 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. | 
| DELETED | The private connection has been deleted. | 
VpcPeeringConfig
The VPC peering configuration is used to create VPC peering with the consumer's VPC.
| JSON representation | 
|---|
| { "vpcName": string, "subnet": string } | 
| Fields | |
|---|---|
| vpcName | 
 Required. Fully qualified name of the VPC that Database Migration Service will peer to. | 
| subnet | 
 Required. A free subnet for peering. (CIDR of /29) | 
| Methods | |
|---|---|
| 
 | Creates a new private connection in a given project and location. | 
| 
 | Deletes a single Database Migration Service private connection. | 
| 
 | Gets details of a single private connection. | 
| 
 | Gets the access control policy for a resource. | 
| 
 | Retrieves a list of private connections in a given project and location. | 
| 
 | Sets the access control policy on the specified resource. | 
| 
 | Returns permissions that a caller has on the specified resource. |