---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers

`GET /v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers`

## Request

- Base URL: `https://vmwareengine.googleapis.com`
- URL: `https://vmwareengine.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers`
- 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`

Lists logging servers configured for a given private cloud.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `privateCloudsId` 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
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListLoggingServersResponse: Response message for VmwareEngine.ListLoggingServers
  - `loggingServers` LoggingServer[]: A list of Logging Servers.
    - `createTime` string, google-datetime: Output only. Creation time of this resource.
    - `hostname` string: Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
    - `name` string: Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`
    - `port` integer: Required. Port number at which the logging server receives logs.
    - `protocol` 'PROTOCOL_UNSPECIFIED' | 'UDP' | 'TCP' | 'TLS' | 'SSL' | 'RELP': Required. Protocol used by vCenter to send logs to a logging server.
    - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'ESXI' | 'VCSA': Required. The type of component that produces logs that will be forwarded to this logging server.
    - `uid` string: Output only. System-generated unique identifier for the resource.
    - `updateTime` string, google-datetime: Output only. Last update time of this resource.
  - `nextPageToken` string: A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `unreachable` string[]: Locations that could not be reached when making an aggregated query using wildcards.

---

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