# Cloud Logging API

Writes log entries and manages your Cloud Logging configuration.

- [REST Resource: v2](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2)
- [REST Resource: v2.billingAccounts](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts)
- [REST Resource: v2.billingAccounts.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.exclusions)
- [REST Resource: v2.billingAccounts.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.buckets)
- [REST Resource: v2.billingAccounts.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.buckets.links)
- [REST Resource: v2.billingAccounts.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.buckets.views)
- [REST Resource: v2.billingAccounts.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.buckets.views.logs)
- [REST Resource: v2.billingAccounts.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.operations)
- [REST Resource: v2.billingAccounts.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.recentQueries)
- [REST Resource: v2.billingAccounts.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.locations.savedQueries)
- [REST Resource: v2.billingAccounts.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.logs)
- [REST Resource: v2.billingAccounts.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.billingAccounts.sinks)
- [REST Resource: v2.entries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.entries)
- [REST Resource: v2.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.exclusions)
- [REST Resource: v2.folders](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders)
- [REST Resource: v2.folders.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.exclusions)
- [REST Resource: v2.folders.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.buckets)
- [REST Resource: v2.folders.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.buckets.links)
- [REST Resource: v2.folders.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.buckets.views)
- [REST Resource: v2.folders.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.buckets.views.logs)
- [REST Resource: v2.folders.locations.logScopes](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.logScopes)
- [REST Resource: v2.folders.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.operations)
- [REST Resource: v2.folders.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.recentQueries)
- [REST Resource: v2.folders.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.locations.savedQueries)
- [REST Resource: v2.folders.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.logs)
- [REST Resource: v2.folders.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.folders.sinks)
- [REST Resource: v2.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.locations.buckets)
- [REST Resource: v2.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.locations.buckets.links)
- [REST Resource: v2.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.locations.buckets.views)
- [REST Resource: v2.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.locations.operations)
- [REST Resource: v2.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.logs)
- [REST Resource: v2.monitoredResourceDescriptors](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.monitoredResourceDescriptors)
- [REST Resource: v2.organizations](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations)
- [REST Resource: v2.organizations.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.exclusions)
- [REST Resource: v2.organizations.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.buckets)
- [REST Resource: v2.organizations.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.buckets.links)
- [REST Resource: v2.organizations.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.buckets.views)
- [REST Resource: v2.organizations.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.buckets.views.logs)
- [REST Resource: v2.organizations.locations.logScopes](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.logScopes)
- [REST Resource: v2.organizations.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.operations)
- [REST Resource: v2.organizations.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.recentQueries)
- [REST Resource: v2.organizations.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.locations.savedQueries)
- [REST Resource: v2.organizations.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.logs)
- [REST Resource: v2.organizations.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.organizations.sinks)
- [REST Resource: v2.projects](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects)
- [REST Resource: v2.projects.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.exclusions)
- [REST Resource: v2.projects.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.buckets)
- [REST Resource: v2.projects.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.buckets.links)
- [REST Resource: v2.projects.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.buckets.views)
- [REST Resource: v2.projects.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.buckets.views.logs)
- [REST Resource: v2.projects.locations.logScopes](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.logScopes)
- [REST Resource: v2.projects.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.operations)
- [REST Resource: v2.projects.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.recentQueries)
- [REST Resource: v2.projects.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.locations.savedQueries)
- [REST Resource: v2.projects.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.logs)
- [REST Resource: v2.projects.metrics](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.metrics)
- [REST Resource: v2.projects.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.projects.sinks)
- [REST Resource: v2.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest#v2.sinks)

## Service: logging.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

- <https://logging.googleapis.com/$discovery/rest?version=v2>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://logging.googleapis.com`

### Regional service endpoint

A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.
<button value="global" default="">global</button> <button value="africa-south1">africa-south1</button> <button value="asia-east1">asia-east1</button> <button value="asia-east2">asia-east2</button> <button value="asia-northeast1">asia-northeast1</button> <button value="asia-northeast2">asia-northeast2</button> <button value="asia-northeast3">asia-northeast3</button> <button value="asia-south1">asia-south1</button> <button value="asia-south2">asia-south2</button> <button value="asia-southeast1">asia-southeast1</button> <button value="asia-southeast2">asia-southeast2</button> <button value="asia-southeast3">asia-southeast3</button> <button value="australia-southeast1">australia-southeast1</button> <button value="australia-southeast2">australia-southeast2</button> <button value="europe-central2">europe-central2</button> <button value="europe-north1">europe-north1</button> <button value="europe-north2">europe-north2</button> <button value="europe-north3">europe-north3</button> <button value="europe-southwest1">europe-southwest1</button> <button value="europe-west1">europe-west1</button> <button value="europe-west10">europe-west10</button> <button value="europe-west12">europe-west12</button> <button value="europe-west2">europe-west2</button> <button value="europe-west3">europe-west3</button> <button value="europe-west4">europe-west4</button> <button value="europe-west6">europe-west6</button> <button value="europe-west8">europe-west8</button> <button value="europe-west9">europe-west9</button> <button value="me-central1">me-central1</button> <button value="me-central2">me-central2</button> <button value="me-west1">me-west1</button> <button value="northamerica-northeast1">northamerica-northeast1</button> <button value="northamerica-northeast2">northamerica-northeast2</button> <button value="northamerica-south1">northamerica-south1</button> <button value="southamerica-east1">southamerica-east1</button> <button value="southamerica-west1">southamerica-west1</button> <button value="us-central1">us-central1</button> <button value="us-east1">us-east1</button> <button value="us-east4">us-east4</button> <button value="us-east5">us-east5</button> <button value="us-south1">us-south1</button> <button value="us-west1">us-west1</button> <button value="us-west2">us-west2</button> <button value="us-west3">us-west3</button> <button value="us-west4">us-west4</button> <button value="ca">ca</button> <button value="ch">ch</button> <button value="eu">eu</button> <button value="in">in</button> <button value="sa">sa</button> <button value="us">us</button>   
- `https://logging.googleapis.com`

<br />

## REST Resource: [v2](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/TopLevel)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/TopLevel/getCmekSettings` | `GET /v2/{name=*/*}/cmekSettings` Gets the Logging CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/TopLevel/getSettings` | `GET /v2/{name=*/*}/settings` Gets the settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/TopLevel/updateCmekSettings` | `PATCH /v2/{name=*/*}/cmekSettings` Updates the Log Router CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/TopLevel/updateSettings` | `PATCH /v2/{name=*/*}/settings` Updates the settings for the given resource. |

## REST Resource: [v2.billingAccounts](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts/getCmekSettings` | `GET /v2/{name=billingAccounts/*}/cmekSettings` Gets the Logging CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts/getSettings` | `GET /v2/{name=billingAccounts/*}/settings` Gets the settings for the given resource. |

## REST Resource: [v2.billingAccounts.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions/create` | `POST /v2/{parent=billingAccounts/*}/exclusions` Creates a new exclusion in the _Default sink in a specified parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions/delete` | `DELETE /v2/{name=billingAccounts/*/exclusions/*}` Deletes an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions/get` | `GET /v2/{name=billingAccounts/*/exclusions/*}` Gets the description of an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions/list` | `GET /v2/{parent=billingAccounts/*}/exclusions` Lists all the exclusions on the _Default sink in a parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions/patch` | `PATCH /v2/{name=billingAccounts/*/exclusions/*}` Changes one or more properties of an existing exclusion in the _Default sink. |

## REST Resource: [v2.billingAccounts.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/create` | `POST /v2/{parent=billingAccounts/*/locations/*}/buckets` Creates a log bucket that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/createAsync` | `POST /v2/{parent=billingAccounts/*/locations/*}/buckets:createAsync` Creates a log bucket asynchronously that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/delete` | `DELETE /v2/{name=billingAccounts/*/locations/*/buckets/*}` Deletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/get` | `GET /v2/{name=billingAccounts/*/locations/*/buckets/*}` Gets a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/list` | `GET /v2/{parent=billingAccounts/*/locations/*}/buckets` Lists log buckets. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/patch` | `PATCH /v2/{name=billingAccounts/*/locations/*/buckets/*}` Updates a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/undelete` | `POST /v2/{name=billingAccounts/*/locations/*/buckets/*}:undelete` Undeletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets/updateAsync` | `POST /v2/{name=billingAccounts/*/locations/*/buckets/*}:updateAsync` Updates a log bucket asynchronously. |

## REST Resource: [v2.billingAccounts.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.links)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.links/create` | `POST /v2/{parent=billingAccounts/*/locations/*/buckets/*}/links` Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.links/delete` | `DELETE /v2/{name=billingAccounts/*/locations/*/buckets/*/links/*}` Deletes a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.links/get` | `GET /v2/{name=billingAccounts/*/locations/*/buckets/*/links/*}` Gets a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.links/list` | `GET /v2/{parent=billingAccounts/*/locations/*/buckets/*}/links` Lists links. |

## REST Resource: [v2.billingAccounts.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views/create` | `POST /v2/{parent=billingAccounts/*/locations/*/buckets/*}/views` Creates a view over log entries in a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views/delete` | `DELETE /v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}` Deletes a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views/get` | `GET /v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}` Gets a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views/list` | `GET /v2/{parent=billingAccounts/*/locations/*/buckets/*}/views` Lists views on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views/patch` | `PATCH /v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}` Updates a view on a log bucket. |

## REST Resource: [v2.billingAccounts.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.buckets.views.logs/list` | `GET /v2/{parent=billingAccounts/*/locations/*/buckets/*/views/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.billingAccounts.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.operations/cancel` | `POST /v2/{name=billingAccounts/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.operations/get` | `GET /v2/{name=billingAccounts/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.operations/list` | `GET /v2/{name=billingAccounts/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2.billingAccounts.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.recentQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.recentQueries/list` | `GET /v2/{parent=billingAccounts/*/locations/*}/recentQueries` Lists the RecentQueries that were created by the user making the request. |

## REST Resource: [v2.billingAccounts.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.savedQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.savedQueries/create` | `POST /v2/{parent=billingAccounts/*/locations/*}/savedQueries` Creates a new SavedQuery for the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.savedQueries/delete` | `DELETE /v2/{name=billingAccounts/*/locations/*/savedQueries/*}` Deletes an existing SavedQuery that was created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.savedQueries/get` | `GET /v2/{name=billingAccounts/*/locations/*/savedQueries/*}` Returns all data associated with the requested query. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.savedQueries/list` | `GET /v2/{parent=billingAccounts/*/locations/*}/savedQueries` Lists the SavedQueries that were created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.savedQueries/patch` | `PATCH /v2/{savedQuery.name=billingAccounts/*/locations/*/savedQueries/*}` Updates an existing SavedQuery. |

## REST Resource: [v2.billingAccounts.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.logs/delete` | `DELETE /v2/{logName=billingAccounts/*/logs/*}` Deletes all the log entries in a log for the global _Default Log Bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.logs/list` | `GET /v2/{parent=billingAccounts/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.billingAccounts.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks/create` | `POST /v2/{parent=billingAccounts/*}/sinks` Creates a sink that exports specified log entries to a destination. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks/delete` | `DELETE /v2/{sinkName=billingAccounts/*/sinks/*}` Deletes a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks/get` | `GET /v2/{sinkName=billingAccounts/*/sinks/*}` Gets a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks/list` | `GET /v2/{parent=billingAccounts/*}/sinks` Lists sinks. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks/patch` | `PATCH /v2/{sinkName=billingAccounts/*/sinks/*}` Updates a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.sinks/update` | `PUT /v2/{sinkName=billingAccounts/*/sinks/*}` Updates a sink. |

## REST Resource: [v2.entries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/entries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/entries/copy` | `POST /v2/entries:copy` Copies a set of log entries from a log bucket to a Cloud Storage bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list` | `POST /v2/entries:list` Lists log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/entries/tail` | `POST /v2/entries:tail` Streaming read of log entries as they are received. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/entries/write` | `POST /v2/entries:write` Writes log entries to Logging. |

## REST Resource: [v2.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/exclusions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/exclusions/create` | `POST /v2/{parent=*/*}/exclusions` Creates a new exclusion in the _Default sink in a specified parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/exclusions/delete` | `DELETE /v2/{name=*/*/exclusions/*}` Deletes an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/exclusions/get` | `GET /v2/{name=*/*/exclusions/*}` Gets the description of an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/exclusions/list` | `GET /v2/{parent=*/*}/exclusions` Lists all the exclusions on the _Default sink in a parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/exclusions/patch` | `PATCH /v2/{name=*/*/exclusions/*}` Changes one or more properties of an existing exclusion in the _Default sink. |

## REST Resource: [v2.folders](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders/getCmekSettings` | `GET /v2/{name=folders/*}/cmekSettings` Gets the Logging CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders/getSettings` | `GET /v2/{name=folders/*}/settings` Gets the settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders/updateSettings` | `PATCH /v2/{name=folders/*}/settings` Updates the settings for the given resource. |

## REST Resource: [v2.folders.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.exclusions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.exclusions/create` | `POST /v2/{parent=folders/*}/exclusions` Creates a new exclusion in the _Default sink in a specified parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.exclusions/delete` | `DELETE /v2/{name=folders/*/exclusions/*}` Deletes an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.exclusions/get` | `GET /v2/{name=folders/*/exclusions/*}` Gets the description of an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.exclusions/list` | `GET /v2/{parent=folders/*}/exclusions` Lists all the exclusions on the _Default sink in a parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.exclusions/patch` | `PATCH /v2/{name=folders/*/exclusions/*}` Changes one or more properties of an existing exclusion in the _Default sink. |

## REST Resource: [v2.folders.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/create` | `POST /v2/{parent=folders/*/locations/*}/buckets` Creates a log bucket that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/createAsync` | `POST /v2/{parent=folders/*/locations/*}/buckets:createAsync` Creates a log bucket asynchronously that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/delete` | `DELETE /v2/{name=folders/*/locations/*/buckets/*}` Deletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/get` | `GET /v2/{name=folders/*/locations/*/buckets/*}` Gets a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/list` | `GET /v2/{parent=folders/*/locations/*}/buckets` Lists log buckets. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/patch` | `PATCH /v2/{name=folders/*/locations/*/buckets/*}` Updates a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/undelete` | `POST /v2/{name=folders/*/locations/*/buckets/*}:undelete` Undeletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets/updateAsync` | `POST /v2/{name=folders/*/locations/*/buckets/*}:updateAsync` Updates a log bucket asynchronously. |

## REST Resource: [v2.folders.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.links)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.links/create` | `POST /v2/{parent=folders/*/locations/*/buckets/*}/links` Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.links/delete` | `DELETE /v2/{name=folders/*/locations/*/buckets/*/links/*}` Deletes a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.links/get` | `GET /v2/{name=folders/*/locations/*/buckets/*/links/*}` Gets a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.links/list` | `GET /v2/{parent=folders/*/locations/*/buckets/*}/links` Lists links. |

## REST Resource: [v2.folders.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/create` | `POST /v2/{parent=folders/*/locations/*/buckets/*}/views` Creates a view over log entries in a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/delete` | `DELETE /v2/{name=folders/*/locations/*/buckets/*/views/*}` Deletes a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/get` | `GET /v2/{name=folders/*/locations/*/buckets/*/views/*}` Gets a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/getIamPolicy` | `POST /v2/{resource=folders/*/locations/*/buckets/*/views/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/list` | `GET /v2/{parent=folders/*/locations/*/buckets/*}/views` Lists views on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/patch` | `PATCH /v2/{name=folders/*/locations/*/buckets/*/views/*}` Updates a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/setIamPolicy` | `POST /v2/{resource=folders/*/locations/*/buckets/*/views/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views/testIamPermissions` | `POST /v2/{resource=folders/*/locations/*/buckets/*/views/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v2.folders.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.buckets.views.logs/list` | `GET /v2/{parent=folders/*/locations/*/buckets/*/views/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.folders.locations.logScopes](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.logScopes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.logScopes/create` | `POST /v2/{parent=folders/*/locations/*}/logScopes` Creates a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.logScopes/delete` | `DELETE /v2/{name=folders/*/locations/*/logScopes/*}` Deletes a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.logScopes/get` | `GET /v2/{name=folders/*/locations/*/logScopes/*}` Gets a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.logScopes/list` | `GET /v2/{parent=folders/*/locations/*}/logScopes` Lists log scopes. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.logScopes/patch` | `PATCH /v2/{logScope.name=folders/*/locations/*/logScopes/*}` Updates a log scope. |

## REST Resource: [v2.folders.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.operations/cancel` | `POST /v2/{name=folders/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.operations/get` | `GET /v2/{name=folders/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.operations/list` | `GET /v2/{name=folders/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2.folders.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.recentQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.recentQueries/list` | `GET /v2/{parent=folders/*/locations/*}/recentQueries` Lists the RecentQueries that were created by the user making the request. |

## REST Resource: [v2.folders.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.savedQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.savedQueries/create` | `POST /v2/{parent=folders/*/locations/*}/savedQueries` Creates a new SavedQuery for the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.savedQueries/delete` | `DELETE /v2/{name=folders/*/locations/*/savedQueries/*}` Deletes an existing SavedQuery that was created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.savedQueries/get` | `GET /v2/{name=folders/*/locations/*/savedQueries/*}` Returns all data associated with the requested query. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.savedQueries/list` | `GET /v2/{parent=folders/*/locations/*}/savedQueries` Lists the SavedQueries that were created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.locations.savedQueries/patch` | `PATCH /v2/{savedQuery.name=folders/*/locations/*/savedQueries/*}` Updates an existing SavedQuery. |

## REST Resource: [v2.folders.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.logs/delete` | `DELETE /v2/{logName=folders/*/logs/*}` Deletes all the log entries in a log for the global _Default Log Bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.logs/list` | `GET /v2/{parent=folders/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.folders.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks/create` | `POST /v2/{parent=folders/*}/sinks` Creates a sink that exports specified log entries to a destination. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks/delete` | `DELETE /v2/{sinkName=folders/*/sinks/*}` Deletes a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks/get` | `GET /v2/{sinkName=folders/*/sinks/*}` Gets a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks/list` | `GET /v2/{parent=folders/*}/sinks` Lists sinks. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks/patch` | `PATCH /v2/{sinkName=folders/*/sinks/*}` Updates a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/folders.sinks/update` | `PUT /v2/{sinkName=folders/*/sinks/*}` Updates a sink. |

## REST Resource: [v2.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/create` | `POST /v2/{parent=*/*/locations/*}/buckets` Creates a log bucket that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/createAsync` | `POST /v2/{parent=*/*/locations/*}/buckets:createAsync` Creates a log bucket asynchronously that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/delete` | `DELETE /v2/{name=*/*/locations/*/buckets/*}` Deletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/get` | `GET /v2/{name=*/*/locations/*/buckets/*}` Gets a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/list` | `GET /v2/{parent=*/*/locations/*}/buckets` Lists log buckets. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/patch` | `PATCH /v2/{name=*/*/locations/*/buckets/*}` Updates a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/undelete` | `POST /v2/{name=*/*/locations/*/buckets/*}:undelete` Undeletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets/updateAsync` | `POST /v2/{name=*/*/locations/*/buckets/*}:updateAsync` Updates a log bucket asynchronously. |

## REST Resource: [v2.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.links)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.links/create` | `POST /v2/{parent=*/*/locations/*/buckets/*}/links` Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.links/delete` | `DELETE /v2/{name=*/*/locations/*/buckets/*/links/*}` Deletes a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.links/get` | `GET /v2/{name=*/*/locations/*/buckets/*/links/*}` Gets a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.links/list` | `GET /v2/{parent=*/*/locations/*/buckets/*}/links` Lists links. |

## REST Resource: [v2.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/create` | `POST /v2/{parent=*/*/locations/*/buckets/*}/views` Creates a view over log entries in a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/delete` | `DELETE /v2/{name=*/*/locations/*/buckets/*/views/*}` Deletes a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/get` | `GET /v2/{name=*/*/locations/*/buckets/*/views/*}` Gets a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/getIamPolicy` | `POST /v2/{resource=*/*/locations/*/buckets/*/views/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/list` | `GET /v2/{parent=*/*/locations/*/buckets/*}/views` Lists views on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/patch` | `PATCH /v2/{name=*/*/locations/*/buckets/*/views/*}` Updates a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/setIamPolicy` | `POST /v2/{resource=*/*/locations/*/buckets/*/views/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.buckets.views/testIamPermissions` | `POST /v2/{resource=*/*/locations/*/buckets/*/views/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v2.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.operations/cancel` | `POST /v2/{name=*/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.operations/get` | `GET /v2/{name=*/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/locations.operations/list` | `GET /v2/{name=*/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/logs/delete` | `DELETE /v2/{logName=*/*/logs/*}` Deletes all the log entries in a log for the global _Default Log Bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/logs/list` | `GET /v2/{parent=*/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.monitoredResourceDescriptors](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/monitoredResourceDescriptors)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/monitoredResourceDescriptors/list` | `GET /v2/monitoredResourceDescriptors` Lists the descriptors for monitored resource types used by Logging. |

## REST Resource: [v2.organizations](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations/getCmekSettings` | `GET /v2/{name=organizations/*}/cmekSettings` Gets the Logging CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations/getSettings` | `GET /v2/{name=organizations/*}/settings` Gets the settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations/updateCmekSettings` | `PATCH /v2/{name=organizations/*}/cmekSettings` Updates the Log Router CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations/updateSettings` | `PATCH /v2/{name=organizations/*}/settings` Updates the settings for the given resource. |

## REST Resource: [v2.organizations.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.exclusions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.exclusions/create` | `POST /v2/{parent=organizations/*}/exclusions` Creates a new exclusion in the _Default sink in a specified parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.exclusions/delete` | `DELETE /v2/{name=organizations/*/exclusions/*}` Deletes an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.exclusions/get` | `GET /v2/{name=organizations/*/exclusions/*}` Gets the description of an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.exclusions/list` | `GET /v2/{parent=organizations/*}/exclusions` Lists all the exclusions on the _Default sink in a parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.exclusions/patch` | `PATCH /v2/{name=organizations/*/exclusions/*}` Changes one or more properties of an existing exclusion in the _Default sink. |

## REST Resource: [v2.organizations.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/create` | `POST /v2/{parent=organizations/*/locations/*}/buckets` Creates a log bucket that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/createAsync` | `POST /v2/{parent=organizations/*/locations/*}/buckets:createAsync` Creates a log bucket asynchronously that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/delete` | `DELETE /v2/{name=organizations/*/locations/*/buckets/*}` Deletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/get` | `GET /v2/{name=organizations/*/locations/*/buckets/*}` Gets a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/list` | `GET /v2/{parent=organizations/*/locations/*}/buckets` Lists log buckets. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/patch` | `PATCH /v2/{name=organizations/*/locations/*/buckets/*}` Updates a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/undelete` | `POST /v2/{name=organizations/*/locations/*/buckets/*}:undelete` Undeletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets/updateAsync` | `POST /v2/{name=organizations/*/locations/*/buckets/*}:updateAsync` Updates a log bucket asynchronously. |

## REST Resource: [v2.organizations.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.links)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.links/create` | `POST /v2/{parent=organizations/*/locations/*/buckets/*}/links` Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.links/delete` | `DELETE /v2/{name=organizations/*/locations/*/buckets/*/links/*}` Deletes a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.links/get` | `GET /v2/{name=organizations/*/locations/*/buckets/*/links/*}` Gets a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.links/list` | `GET /v2/{parent=organizations/*/locations/*/buckets/*}/links` Lists links. |

## REST Resource: [v2.organizations.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/create` | `POST /v2/{parent=organizations/*/locations/*/buckets/*}/views` Creates a view over log entries in a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/delete` | `DELETE /v2/{name=organizations/*/locations/*/buckets/*/views/*}` Deletes a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/get` | `GET /v2/{name=organizations/*/locations/*/buckets/*/views/*}` Gets a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/getIamPolicy` | `POST /v2/{resource=organizations/*/locations/*/buckets/*/views/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/list` | `GET /v2/{parent=organizations/*/locations/*/buckets/*}/views` Lists views on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/patch` | `PATCH /v2/{name=organizations/*/locations/*/buckets/*/views/*}` Updates a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/setIamPolicy` | `POST /v2/{resource=organizations/*/locations/*/buckets/*/views/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views/testIamPermissions` | `POST /v2/{resource=organizations/*/locations/*/buckets/*/views/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v2.organizations.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.buckets.views.logs/list` | `GET /v2/{parent=organizations/*/locations/*/buckets/*/views/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.organizations.locations.logScopes](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.logScopes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.logScopes/create` | `POST /v2/{parent=organizations/*/locations/*}/logScopes` Creates a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.logScopes/delete` | `DELETE /v2/{name=organizations/*/locations/*/logScopes/*}` Deletes a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.logScopes/get` | `GET /v2/{name=organizations/*/locations/*/logScopes/*}` Gets a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.logScopes/list` | `GET /v2/{parent=organizations/*/locations/*}/logScopes` Lists log scopes. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.logScopes/patch` | `PATCH /v2/{logScope.name=organizations/*/locations/*/logScopes/*}` Updates a log scope. |

## REST Resource: [v2.organizations.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.operations/cancel` | `POST /v2/{name=organizations/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.operations/get` | `GET /v2/{name=organizations/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.operations/list` | `GET /v2/{name=organizations/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2.organizations.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.recentQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.recentQueries/list` | `GET /v2/{parent=organizations/*/locations/*}/recentQueries` Lists the RecentQueries that were created by the user making the request. |

## REST Resource: [v2.organizations.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.savedQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.savedQueries/create` | `POST /v2/{parent=organizations/*/locations/*}/savedQueries` Creates a new SavedQuery for the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.savedQueries/delete` | `DELETE /v2/{name=organizations/*/locations/*/savedQueries/*}` Deletes an existing SavedQuery that was created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.savedQueries/get` | `GET /v2/{name=organizations/*/locations/*/savedQueries/*}` Returns all data associated with the requested query. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.savedQueries/list` | `GET /v2/{parent=organizations/*/locations/*}/savedQueries` Lists the SavedQueries that were created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.locations.savedQueries/patch` | `PATCH /v2/{savedQuery.name=organizations/*/locations/*/savedQueries/*}` Updates an existing SavedQuery. |

## REST Resource: [v2.organizations.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.logs/delete` | `DELETE /v2/{logName=organizations/*/logs/*}` Deletes all the log entries in a log for the global _Default Log Bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.logs/list` | `GET /v2/{parent=organizations/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.organizations.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks/create` | `POST /v2/{parent=organizations/*}/sinks` Creates a sink that exports specified log entries to a destination. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks/delete` | `DELETE /v2/{sinkName=organizations/*/sinks/*}` Deletes a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks/get` | `GET /v2/{sinkName=organizations/*/sinks/*}` Gets a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks/list` | `GET /v2/{parent=organizations/*}/sinks` Lists sinks. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks/patch` | `PATCH /v2/{sinkName=organizations/*/sinks/*}` Updates a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/organizations.sinks/update` | `PUT /v2/{sinkName=organizations/*/sinks/*}` Updates a sink. |

## REST Resource: [v2.projects](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects/getCmekSettings` | `GET /v2/{name=projects/*}/cmekSettings` Gets the Logging CMEK settings for the given resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects/getSettings` | `GET /v2/{name=projects/*}/settings` Gets the settings for the given resource. |

## REST Resource: [v2.projects.exclusions](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions/create` | `POST /v2/{parent=projects/*}/exclusions` Creates a new exclusion in the _Default sink in a specified parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions/delete` | `DELETE /v2/{name=projects/*/exclusions/*}` Deletes an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions/get` | `GET /v2/{name=projects/*/exclusions/*}` Gets the description of an exclusion in the _Default sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions/list` | `GET /v2/{parent=projects/*}/exclusions` Lists all the exclusions on the _Default sink in a parent resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions/patch` | `PATCH /v2/{name=projects/*/exclusions/*}` Changes one or more properties of an existing exclusion in the _Default sink. |

## REST Resource: [v2.projects.locations.buckets](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/create` | `POST /v2/{parent=projects/*/locations/*}/buckets` Creates a log bucket that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/createAsync` | `POST /v2/{parent=projects/*/locations/*}/buckets:createAsync` Creates a log bucket asynchronously that can be used to store log entries. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/delete` | `DELETE /v2/{name=projects/*/locations/*/buckets/*}` Deletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/get` | `GET /v2/{name=projects/*/locations/*/buckets/*}` Gets a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/list` | `GET /v2/{parent=projects/*/locations/*}/buckets` Lists log buckets. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/patch` | `PATCH /v2/{name=projects/*/locations/*/buckets/*}` Updates a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/undelete` | `POST /v2/{name=projects/*/locations/*/buckets/*}:undelete` Undeletes a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets/updateAsync` | `POST /v2/{name=projects/*/locations/*/buckets/*}:updateAsync` Updates a log bucket asynchronously. |

## REST Resource: [v2.projects.locations.buckets.links](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links/create` | `POST /v2/{parent=projects/*/locations/*/buckets/*}/links` Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links/delete` | `DELETE /v2/{name=projects/*/locations/*/buckets/*/links/*}` Deletes a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links/get` | `GET /v2/{name=projects/*/locations/*/buckets/*/links/*}` Gets a link. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links/list` | `GET /v2/{parent=projects/*/locations/*/buckets/*}/links` Lists links. |

## REST Resource: [v2.projects.locations.buckets.views](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/create` | `POST /v2/{parent=projects/*/locations/*/buckets/*}/views` Creates a view over log entries in a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/delete` | `DELETE /v2/{name=projects/*/locations/*/buckets/*/views/*}` Deletes a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/get` | `GET /v2/{name=projects/*/locations/*/buckets/*/views/*}` Gets a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/getIamPolicy` | `POST /v2/{resource=projects/*/locations/*/buckets/*/views/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/list` | `GET /v2/{parent=projects/*/locations/*/buckets/*}/views` Lists views on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/patch` | `PATCH /v2/{name=projects/*/locations/*/buckets/*/views/*}` Updates a view on a log bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/setIamPolicy` | `POST /v2/{resource=projects/*/locations/*/buckets/*/views/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views/testIamPermissions` | `POST /v2/{resource=projects/*/locations/*/buckets/*/views/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v2.projects.locations.buckets.views.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views.logs/list` | `GET /v2/{parent=projects/*/locations/*/buckets/*/views/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.projects.locations.logScopes](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.logScopes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.logScopes/create` | `POST /v2/{parent=projects/*/locations/*}/logScopes` Creates a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.logScopes/delete` | `DELETE /v2/{name=projects/*/locations/*/logScopes/*}` Deletes a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.logScopes/get` | `GET /v2/{name=projects/*/locations/*/logScopes/*}` Gets a log scope. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.logScopes/list` | `GET /v2/{parent=projects/*/locations/*}/logScopes` Lists log scopes. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.logScopes/patch` | `PATCH /v2/{logScope.name=projects/*/locations/*/logScopes/*}` Updates a log scope. |

## REST Resource: [v2.projects.locations.operations](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.operations/cancel` | `POST /v2/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.operations/get` | `GET /v2/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.operations/list` | `GET /v2/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2.projects.locations.recentQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.recentQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.recentQueries/list` | `GET /v2/{parent=projects/*/locations/*}/recentQueries` Lists the RecentQueries that were created by the user making the request. |

## REST Resource: [v2.projects.locations.savedQueries](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.savedQueries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.savedQueries/create` | `POST /v2/{parent=projects/*/locations/*}/savedQueries` Creates a new SavedQuery for the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.savedQueries/delete` | `DELETE /v2/{name=projects/*/locations/*/savedQueries/*}` Deletes an existing SavedQuery that was created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.savedQueries/get` | `GET /v2/{name=projects/*/locations/*/savedQueries/*}` Returns all data associated with the requested query. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.savedQueries/list` | `GET /v2/{parent=projects/*/locations/*}/savedQueries` Lists the SavedQueries that were created by the user making the request. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.savedQueries/patch` | `PATCH /v2/{savedQuery.name=projects/*/locations/*/savedQueries/*}` Updates an existing SavedQuery. |

## REST Resource: [v2.projects.logs](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.logs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.logs/delete` | `DELETE /v2/{logName=projects/*/logs/*}` Deletes all the log entries in a log for the global _Default Log Bucket. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.logs/list` | `GET /v2/{parent=projects/*}/logs` Lists the logs in projects, organizations, folders, or billing accounts. |

## REST Resource: [v2.projects.metrics](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/create` | `POST /v2/{parent=projects/*}/metrics` Creates a logs-based metric. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/delete` | `DELETE /v2/{metricName=projects/*/metrics/*}` Deletes a logs-based metric. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/get` | `GET /v2/{metricName=projects/*/metrics/*}` Gets a logs-based metric. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/list` | `GET /v2/{parent=projects/*}/metrics` Lists logs-based metrics. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/update` | `PUT /v2/{metricName=projects/*/metrics/*}` Creates or updates a logs-based metric. |

## REST Resource: [v2.projects.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/create` | `POST /v2/{parent=projects/*}/sinks` Creates a sink that exports specified log entries to a destination. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/delete` | `DELETE /v2/{sinkName=projects/*/sinks/*}` Deletes a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/get` | `GET /v2/{sinkName=projects/*/sinks/*}` Gets a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/list` | `GET /v2/{parent=projects/*}/sinks` Lists sinks. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/patch` | `PATCH /v2/{sinkName=projects/*/sinks/*}` Updates a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/update` | `PUT /v2/{sinkName=projects/*/sinks/*}` Updates a sink. |

## REST Resource: [v2.sinks](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/sinks)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/sinks/create` | `POST /v2/{parent=*/*}/sinks` Creates a sink that exports specified log entries to a destination. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/sinks/delete` | `DELETE /v2/{sinkName=*/*/sinks/*}` Deletes a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/sinks/get` | `GET /v2/{sinkName=*/*/sinks/*}` Gets a sink. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/sinks/list` | `GET /v2/{parent=*/*}/sinks` Lists sinks. |
| `https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/sinks/update` | `PUT /v2/{sinkName=*/*/sinks/*}` Updates a sink. |