projects

GET /v1/projects/{projectsId}/locations/{locationsId}/connectors/{connectorsId}

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Request

  • Base URL
    https://vpcaccess.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsId, string required
locationsId, string required
connectorsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

Connector required

Definition of a Serverless VPC Access connector.

connectedProjects, string[]

Output only. List of projects using the connector.

ipCidrRange, string

Optional. The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

machineType, string

Machine type of VM Instance underlying connector. Default is e2-micro

maxInstances, integer

Maximum value of instances in autoscaling group underlying the connector.

maxThroughput, integer

Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an e2-micro machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of max-throughput is discouraged in favor of max-instances.

minInstances, integer

Minimum value of instances in autoscaling group underlying the connector.

minThroughput, integer

Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an e2-micro machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of min-throughput is discouraged in favor of min-instances.

name, string

The resource name in the format projects/*/locations/*/connectors/*.

network, string

Optional. Name of a VPC network.

state, 'STATE_UNSPECIFIED' | 'READY' | 'CREATING' | 'DELETING' | 'ERROR' | 'UPDATING'

Output only. State of the VPC access connector.

subnet, Subnet

The subnet in which to house the connector

Changes

No recorded changes to this operation across all 3 revisions of this API.