# Method: projects.instances.materializedViews.patch

Updates a materialized view within an instance.

### HTTP request

`PATCH https://bigtableadmin.googleapis.com/v2/{materializedView.name=projects/*/instances/*/materializedViews/*}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `materializedView.name` | `string` Identifier. The unique name of the materialized view. Format: `projects/{project}/instances/{instance}/materializedViews/{materializedView}` Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`. |

### Query parameters

| Parameters ||
|---|---|
| `updateMask` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` format)`` Optional. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: `"user.displayName,photo"`. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.materializedViews#MaterializedView`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/bigtable/docs/reference/admin/rest/v2/operations#Operation`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/bigtable.admin`
- `https://www.googleapis.com/auth/bigtable.admin.cluster`
- `https://www.googleapis.com/auth/bigtable.admin.instance`
- `https://www.googleapis.com/auth/cloud-bigtable.admin`
- `https://www.googleapis.com/auth/cloud-bigtable.admin.cluster`
- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).