# Cloud Logging API

Writes log entries and manages your Cloud Logging configuration.

## Service: logging.googleapis.com

The Service name `logging.googleapis.com` is needed to create RPC client stubs.

## `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.iam.v1#google.iam.v1.IAMPolicy`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.iam.v1#google.iam.v1.IAMPolicy.GetIamPolicy` `` | Gets the access control policy for a resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.iam.v1#google.iam.v1.IAMPolicy.SetIamPolicy` `` | Sets the access control policy on the specified resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.iam.v1#google.iam.v1.IAMPolicy.TestIamPermissions` `` | Returns permissions that a caller has on the specified resource. |

## `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CopyLogEntries` `` | Copies a set of log entries from a log bucket to a Cloud Storage bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateBucket` `` | Creates a log bucket that can be used to store log entries. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateBucketAsync` `` | Creates a log bucket asynchronously that can be used to store log entries. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateExclusion` `` | Creates a new exclusion in the _Default sink in a specified parent resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateLink` `` | 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/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateLogScope` `` | Creates a log scope. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateSavedQuery` `` | Creates a new SavedQuery for the user making the request. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateSink` `` | Creates a sink that exports specified log entries to a destination. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.CreateView` `` | Creates a view over log entries in a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteBucket` `` | Deletes a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteExclusion` `` | Deletes an exclusion in the _Default sink. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteLink` `` | Deletes a link. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteLogScope` `` | Deletes a log scope. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteSavedQuery` `` | Deletes an existing SavedQuery that was created by the user making the request. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteSink` `` | Deletes a sink. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.DeleteView` `` | Deletes a view on a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetBucket` `` | Gets a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetCmekSettings` `` | Gets the Logging CMEK settings for the given resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetExclusion` `` | Gets the description of an exclusion in the _Default sink. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetLink` `` | Gets a link. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetLogScope` `` | Gets a log scope. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetSavedQuery` `` | Returns all data associated with the requested query. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetSettings` `` | Gets the settings for the given resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetSink` `` | Gets a sink. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.GetView` `` | Gets a view on a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListBuckets` `` | Lists log buckets. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListExclusions` `` | Lists all the exclusions on the _Default sink in a parent resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListLinks` `` | Lists links. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListLogScopes` `` | Lists log scopes. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListRecentQueries` `` | Lists the RecentQueries that were created by the user making the request. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListSavedQueries` `` | Lists the SavedQueries that were created by the user making the request. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListSinks` `` | Lists sinks. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.ListViews` `` | Lists views on a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UndeleteBucket` `` | Undeletes a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateBucket` `` | Updates a log bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateBucketAsync` `` | Updates a log bucket asynchronously. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateCmekSettings` `` | Updates the Log Router CMEK settings for the given resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateExclusion` `` | Changes one or more properties of an existing exclusion in the _Default sink. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateLogScope` `` | Updates a log scope. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateSavedQuery` `` | Updates an existing SavedQuery. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateSettings` `` | Updates the settings for the given resource. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateSink` `` | Updates a sink. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.ConfigServiceV2.UpdateView` `` | Updates a view on a log bucket. |

## `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2.DeleteLog` `` | Deletes all the log entries in a log for the global _Default Log Bucket. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2.ListLogEntries` `` | Lists log entries. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2.ListLogs` `` | Lists the logs in projects, organizations, folders, or billing accounts. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors` `` | Lists the descriptors for monitored resource types used by Logging. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2.TailLogEntries` `` | Streaming read of log entries as they are received. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LoggingServiceV2.WriteLogEntries` `` | Writes log entries to Logging. |

## `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.MetricsServiceV2`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.MetricsServiceV2.CreateLogMetric` `` | Creates a logs-based metric. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.MetricsServiceV2.DeleteLogMetric` `` | Deletes a logs-based metric. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.MetricsServiceV2.GetLogMetric` `` | Gets a logs-based metric. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.MetricsServiceV2.ListLogMetrics` `` | Lists logs-based metrics. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.MetricsServiceV2.UpdateLogMetric` `` | Creates or updates a logs-based metric. |

## `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.RoutingConfigService`

| Methods ||
|---|---|

## `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.longrunning#google.longrunning.Operations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.longrunning#google.longrunning.Operations.CancelOperation` `` | Starts asynchronous cancellation on a long-running operation. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.longrunning#google.longrunning.Operations.DeleteOperation` `` | Deletes a long-running operation. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.longrunning#google.longrunning.Operations.GetOperation` `` | Gets the latest state of a long-running operation. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.longrunning#google.longrunning.Operations.ListOperations` `` | Lists operations that match the specified filter in the request. |
| `` `https://docs.cloud.google.com/logging/docs/reference/v2/rpc/google.longrunning#google.longrunning.Operations.WaitOperation` `` | Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. |