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

# GET /v1/projects/{projectsId}/locations/{locationsId}/servers/{serversId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/servers/{serversId}`

## Request

- Base URL: `https://ftp.googleapis.com`
- URL: `https://ftp.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/servers/{serversId}`
- 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 Server.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `serversId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `view` 'SERVER_VIEW_UNSPECIFIED' | 'SERVER_VIEW_BASIC' | 'SERVER_VIEW_FULL'

## Response `200`

Successful response

- Server: Message describing Server object
  - `accessType` 'ACCESS_TYPE_UNSPECIFIED' | 'EXTERNAL' | 'INTERNAL': Required. The access type of the Server.
  - `createTime` string, google-datetime: Output only. [Output only] Create time stamp
  - `displayName` string: Optional. Display name of the Server
  - `externalConfig` ExternalServerConfig: Configuration for external server.
    - `allowedCidrBlocks` string[]: Optional. List of CIDR blocks that are allowed to access the Server. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16
    - `ipAddress` string: Output only. IP address of the LB via which clients will connect.
  - `googleManagedServerCredential` ServerCredential: Represents credentials of an FTP Server.
    - `asymmetricAlgorithm` string: Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future): - ssh-ed25519
    - `fingerprint` string: Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.
  - `internalConfig` InternalServerConfig: Configuration for private server accessible via PSC.
    - `consumerAcceptList` AllowedConsumer[]: Required. A list of projects that are permitted to connect. At least one project is required in the allow list.
      - `connectionLimit` string, int64: Required. The connection limit for the consumer. Value must be greater than 0.
      - `project` string: The project ID or number of the consumer project. Must be in the format: `projects/{project}`.
    - `consumerRejectList` DeniedConsumer[]: Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the `allow_list`. If this list is empty, no projects are explicitly rejected.
      - `project` string: The project ID or number of the consumer project. Must be in the format: `projects/{project}`.
    - `pscEndpoints` PscEndpoint[]: Output only. Details of endpoints created by the customer.
      - `endpoint` string: Output only. This is a Resource name for Private Service Connect endpoint. Format: `projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}`
      - `network` string: Output only. The consumer network. Format: `projects/{project}/locations/{location}/networks/{network}`
      - `status` string: Output only. The status of the connected endpoint.
    - `serviceAttachment` string: Output only. The resource name of the service attachment. Format: `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`
  - `labels` object: Optional. Labels as key value pairs
  - `name` string: Identifier. name of resource
  - `satisfiesPzi` boolean: Output only. Reserved for future use.
  - `satisfiesPzs` boolean: Output only. Reserved for future use.
  - `serviceAgent` string: Output only. Service agent used to access the customer bucket.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'STARTING' | 'ACTIVE' | 'STOPPING' | 'STOPPED' | 'DELETING' | 'ERROR' | 'UPDATING': Output only. The state of the server.
  - `updateTime` string, google-datetime: Output only. [Output only] Update time stamp

---

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