Resource: ServiceConnectionPolicy
The ServiceConnectionPolicy resource. Next id: 12
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "description": string, "network": string, "serviceClass": string, "infrastructure": enum ( |
Fields | |
---|---|
name |
Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{serviceConnectionPolicy} See: https://google.aip.dev/122#fields-representing-resource-names |
createTime |
Output only. Time when the ServiceConnectionMap was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Time when the ServiceConnectionMap was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
User-defined labels. An object containing a list of |
description |
A description of this resource. |
network |
The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. |
serviceClass |
The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. |
infrastructure |
Output only. The type of underlying resources used to create the connection. |
pscConfig |
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. |
pscConnections[] |
Output only. [Output only] Information about each Private Service Connect connection. |
etag |
Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
PscConfig
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
JSON representation |
---|
{ "subnetworks": [ string ], "limit": string } |
Fields | |
---|---|
subnetworks[] |
The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}. |
limit |
Optional. Max number of PSC connections for this policy. |
PscConnection
Information about a specific Private Service Connect connection.
JSON representation |
---|
{ "state": enum ( |
Fields | |
---|---|
state |
State of the PSC Connection |
consumerForwardingRule |
The resource reference of the PSC Forwarding Rule within the consumer VPC. |
consumerAddress |
The resource reference of the consumer address. |
errorType |
The error type indicates whether the error is consumer facing, producer facing or system internal. |
error |
The most recent error during operating this connection. |
gceOperation |
The last Compute Engine operation to setup PSC connection. |
consumerTargetProject |
The project where the PSC connection is created. |
pscConnectionId |
The PSC connection id of the PSC forwarding rule. |
errorInfo |
Output only. The error info for the latest error during operating this connection. |
selectedSubnetwork |
Output only. The URI of the subnetwork selected to allocate IP address for this connection. |
producerInstanceId |
Immutable. An immutable identifier for the producer instance. |
State
The state of the PSC connection.
Enums | |
---|---|
STATE_UNSPECIFIED |
An invalid state as the default case. |
ACTIVE |
The connection is fully established and ready to use. |
FAILED |
The connection is not functional since some resources on the connection fail to be created. |
CREATING |
The connection is being created. |
DELETING |
The connection is being deleted. |
Methods |
|
---|---|
|
Creates a new ServiceConnectionPolicy in a given project and location. |
|
Deletes a single ServiceConnectionPolicy. |
|
Gets details of a single ServiceConnectionPolicy. |
|
Lists ServiceConnectionPolicies in a given project and location. |
|
Updates the parameters of a single ServiceConnectionPolicy. |