---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}`

## Request

- Base URL: `https://developerconnect.googleapis.com`
- URL: `https://developerconnect.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/accountConnectors/{accountConnectorsId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets details of a single AccountConnector.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `accountConnectorsId` string, required

## Response `200`

Successful response

- AccountConnector: AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.
  - `annotations` object: Optional. Allows users to store small amounts of arbitrary data.
  - `createTime` string, google-datetime: Output only. The timestamp when the accountConnector was created.
  - `customOauthConfig` CustomOAuthConfig: Message for a customized OAuth config.
    - `authUri` string: Required. Immutable. The OAuth2 authorization server URL.
    - `clientId` string: Required. The client ID of the OAuth application.
    - `clientSecret` string: Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.
    - `hostUri` string: Required. The host URI of the OAuth application.
    - `pkceDisabled` boolean: Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
    - `scmProvider` 'SCM_PROVIDER_UNKNOWN' | 'GITHUB_ENTERPRISE' | 'GITLAB_ENTERPRISE' | 'BITBUCKET_DATA_CENTER': Required. The type of the SCM provider.
    - `scopes` string[]: Required. The scopes to be requested during OAuth.
    - `serverVersion` string: Output only. SCM server version installed at the host URI.
    - `serviceDirectoryConfig` ServiceDirectoryConfig: ServiceDirectoryConfig represents Service Directory configuration for a connection.
      - `service` string: Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
    - `sslCaCertificate` string: Optional. SSL certificate to use for requests to a private service.
    - `tokenUri` string: Required. Immutable. The OAuth2 token request URL.
  - `etag` string: Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
  - `labels` object: Optional. Labels as key value pairs
  - `name` string: Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
  - `oauthStartUri` string: Output only. Start OAuth flow by clicking on this URL.
  - `providerOauthConfig` ProviderOAuthConfig: ProviderOAuthConfig is the OAuth config for a provider.
    - `scopes` string[]: Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    - `systemProviderId` 'SYSTEM_PROVIDER_UNSPECIFIED' | 'GITHUB' | 'GITLAB' | 'GOOGLE' | 'SENTRY' | 'ROVO' | 'NEW_RELIC' | 'DATASTAX' | 'DYNATRACE' | 'BITBUCKET_CLOUD': Optional. Immutable. Developer Connect provided OAuth.
  - `proxyConfig` ProxyConfig: The proxy configuration.
    - `enabled` boolean: Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector.
    - `httpProxyBaseUri` string: Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-a-h-{shortRegion}.developerconnect.dev` Populated only when `enabled` is set to `true`. This endpoint is used by other Google services that integrate with Developer Connect.
  - `uid` string: Output only. A system-assigned unique identifier for the Account Connector.
  - `updateTime` string, google-datetime: Output only. The timestamp when the accountConnector was updated.

---

[API](https://skmtc.dev/google/apis/developerconnect.md) - [All operations](https://skmtc.dev/google/apis/developerconnect/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/developerconnect/revisions/2f1551e5d3d6?raw)
