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

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

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

## Request

- Base URL: `https://vmwareengine.googleapis.com`
- URL: `https://vmwareengine.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/upgrades`
- 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 past, ongoing and upcoming `Upgrades` for the 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

- ListUpgradesResponse: Response message for VmwareEngine.ListUpgrades.
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `unreachable` string[]: List of unreachable resources.
  - `upgrades` Upgrade[]: A list of `Upgrades`.
    - `componentUpgrades` VmwareUpgradeComponent[]: Output only. Output Only. The list of component upgrades.
      - `componentType` 'VMWARE_COMPONENT_TYPE_UNSPECIFIED' | 'VCENTER' | 'ESXI' | 'NSXT_UC' | 'NSXT_EDGE' | 'NSXT_MGR' | 'HCX' | 'VSAN' | 'DVS' | 'NAMESERVER_VM' | 'KMS_VM' | 'WITNESS_VM' | 'NSXT' | 'CLUSTER' | 'VM_TOOLS': Output only. Type of component
      - `state` 'STATE_UNSPECIFIED' | 'RUNNING' | 'PAUSED' | 'SUCCEEDED' | 'FAILED' | 'NOT_STARTED' | 'NOT_APPLICABLE': Output only. Component's upgrade state.
    - `createTime` string, google-datetime: Output only. Output Only. Creation time of this resource.
    - `description` string: Output only. Output Only. The description of the upgrade. This is used to provide additional information about the private cloud upgrade, such as the upgrade's purpose, the changes included in the upgrade, or any other relevant information about the upgrade.
    - `endTime` string, google-datetime: Output only. Output Only. End time of the upgrade.
    - `estimatedDuration` string, google-duration: Output only. Output Only. The estimated total duration of the upgrade. This information can be used to plan or schedule upgrades to minimize disruptions. Please note that the estimated duration is only an estimate. The actual upgrade duration may vary.
    - `etag` string: The etag for the upgrade resource. If this is provided on update, it must match the server's etag.
    - `name` string: Output only. Identifier. The resource name of the private cloud `Upgrade`. 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-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
    - `schedule` Schedule: Schedule for the upgrade.
      - `constraints` Constraints: Constraints to be applied while editing a schedule. These constraints ensure that `Upgrade` specific requirements are met.
        - `disallowedIntervals` WeeklyTimeInterval[]: Output only. Output Only. A list of intervals in which maintenance windows are not allowed. Any time window that overlaps with any of these intervals will be considered invalid.
          - `endDay` 'DAY_OF_WEEK_UNSPECIFIED' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY': Output only. The day on which the interval ends. Can be same as start day.
          - `endTime` TimeOfDay: Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
            - `hours` integer: Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
            - `minutes` integer: Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
            - `nanos` integer: Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
            - `seconds` integer: Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
          - `startDay` 'DAY_OF_WEEK_UNSPECIFIED' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY': Output only. The day on which the interval starts.
          - `startTime` TimeOfDay: Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
            - `hours` integer: Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
            - `minutes` integer: Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
            - `nanos` integer: Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
            - `seconds` integer: Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
        - `minHoursDay` integer: Output only. Minimum number of hours must be allotted for the upgrade activities for each selected day. This is a minimum; the upgrade schedule can allot more hours for the given day.
        - `minHoursWeek` integer: Output only. The minimum number of weekly hours must be allotted for the upgrade activities. This is just a minimum; the schedule can assign more weekly hours.
        - `rescheduleDateRange` Interval: Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
          - `endTime` string, google-datetime: Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
          - `startTime` string, google-datetime: Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
      - `editWindow` Interval: Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
        - `endTime` string, google-datetime: Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
        - `startTime` string, google-datetime: Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
      - `lastEditor` 'EDITOR_UNSPECIFIED' | 'SYSTEM' | 'USER': Output only. Output Only. Indicates who most recently edited the upgrade schedule. The value is updated whenever the upgrade is rescheduled.
      - `startTime` string, google-datetime: Required. The scheduled start time for the upgrade.
      - `weeklyWindows` TimeWindow[]: Required. Weekly time windows for upgrade activities. The server performs upgrade activities during these time windows to minimize disruptions.
        - `dayOfWeek` 'DAY_OF_WEEK_UNSPECIFIED' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY': Required. Day of the week for this window.
        - `duration` string, google-duration: Required. The duration of the window. The max allowed duration for any window is 24 hours.
        - `startTime` TimeOfDay: Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
          - `hours` integer: Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
          - `minutes` integer: Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
          - `nanos` integer: Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
          - `seconds` integer: Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    - `startVersion` string: Output only. Output Only. The start version
    - `state` 'STATE_UNSPECIFIED' | 'SCHEDULED' | 'ONGOING' | 'SUCCEEDED' | 'PAUSED' | 'FAILED' | 'CANCELLING' | 'CANCELLED' | 'RESCHEDULING': Output only. The current state of the upgrade.
    - `targetVersion` string: Output only. Output Only. The target version
    - `type` 'TYPE_UNSPECIFIED' | 'VSPHERE_UPGRADE' | 'VSPHERE_PATCH' | 'WORKAROUND' | 'FIRMWARE_UPGRADE' | 'SWITCH_UPGRADE' | 'OTHER' | 'INFRASTRUCTURE_UPGRADE': Output only. Output Only. The type of upgrade.
    - `uid` string: Output only. System-generated unique identifier for the resource.
    - `updateTime` string, google-datetime: Output only. Output Only. Last update time of this resource.
    - `version` string: Output only.

---

[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)
