---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["projects"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Updates the parameters of a single Collector.

## Path parameters

- `name` string, required

## Query parameters

- `requestId` string
- `updateMask` string

## Request body

- Collector — Message describing Collector object.
  - `name` string — name of resource.
  - `collectionDays` integer — How many days to collect data.
  - `updateTime` string, google-datetime — Output only. Update time stamp.
  - `description` string — User specified description of the Collector.
  - `clientVersion` string — Output only. Client version.
  - `eulaUri` string — Uri for EULA (End User License Agreement) from customer.
  - `labels` object — Labels as key value pairs.
  - `createTime` string, google-datetime — Output only. Create time stamp.
  - `serviceAccount` string — Service Account email used to ingest data to this Collector.
  - `guestOsScan` GuestOsScan — Message describing a MC Source of type Guest OS Scan.
    - `coreSource` string — reference to the corresponding Guest OS Scan in MC Source.
  - `vsphereScan` VSphereScan — Message describing a MC Source of type VSphere Scan.
    - `coreSource` string — reference to the corresponding VSphere Scan in MC Source.
  - `state` 'STATE_UNSPECIFIED' | 'STATE_INITIALIZING' | 'STATE_READY_TO_USE' | 'STATE_REGISTERED' | 'STATE_ACTIVE' | 'STATE_PAUSED' | 'STATE_DELETING' | 'STATE_DECOMMISSIONED' | 'STATE_ERROR' — Output only. State of the Collector.
  - `expectedAssetCount` string, int64 — User specified expected asset count.
  - `bucket` string — Output only. Store cloud storage bucket name (which is a guid) created with this Collector.
  - `displayName` string — User specified name of the Collector.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/rapidmigrationassessment.md) · [All operations](https://skmtc.net/google/apis/rapidmigrationassessment/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/rapidmigrationassessment/versions/18b4406a94df/schema)
