Show / Hide Table of Contents

Namespace Google.Apis.Logging.v2

Classes

BillingAccountsResource

The "billingAccounts" collection of methods.

BillingAccountsResource.BucketsResource

The "buckets" collection of methods.

BillingAccountsResource.BucketsResource.GetRequest

Gets a log bucket.

BillingAccountsResource.BucketsResource.ViewsResource

The "views" collection of methods.

BillingAccountsResource.BucketsResource.ViewsResource.GetRequest

Gets a view on a log bucket..

BillingAccountsResource.ExclusionsResource

The "exclusions" collection of methods.

BillingAccountsResource.ExclusionsResource.CreateRequest

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

BillingAccountsResource.ExclusionsResource.DeleteRequest

Deletes an exclusion in the _Default sink.

BillingAccountsResource.ExclusionsResource.GetRequest

Gets the description of an exclusion in the _Default sink.

BillingAccountsResource.ExclusionsResource.ListRequest

Lists all the exclusions on the _Default sink in a parent resource.

BillingAccountsResource.ExclusionsResource.PatchRequest

Changes one or more properties of an existing exclusion in the _Default sink.

BillingAccountsResource.GetCmekSettingsRequest

Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

BillingAccountsResource.GetSettingsRequest

Gets the Log Router settings for the given resource.Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

BillingAccountsResource.LocationsResource

The "locations" collection of methods.

BillingAccountsResource.LocationsResource.BucketsResource

The "buckets" collection of methods.

BillingAccountsResource.LocationsResource.BucketsResource.CreateRequest

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.

BillingAccountsResource.LocationsResource.BucketsResource.DeleteRequest

Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.

BillingAccountsResource.LocationsResource.BucketsResource.ListRequest

Lists log buckets.

BillingAccountsResource.LocationsResource.BucketsResource.PatchRequest

Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.

BillingAccountsResource.LocationsResource.BucketsResource.UndeleteRequest

Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource

The "views" collection of methods.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.DeleteRequest

Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.ListRequest

Lists views on a log bucket.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource

The "logs" collection of methods.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.PatchRequest

Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.

BillingAccountsResource.LocationsResource.GetRequest

Gets information about a location.

BillingAccountsResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

BillingAccountsResource.LocationsResource.OperationsResource

The "operations" collection of methods.

BillingAccountsResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

BillingAccountsResource.LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users//operations. To override the binding, API services can add a binding such as "/v1/{name=users/}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

BillingAccountsResource.LogsResource

The "logs" collection of methods.

BillingAccountsResource.LogsResource.DeleteRequest

Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

BillingAccountsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

BillingAccountsResource.OperationsResource

The "operations" collection of methods.

BillingAccountsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

BillingAccountsResource.SinksResource

The "sinks" collection of methods.

BillingAccountsResource.SinksResource.CreateRequest

Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

BillingAccountsResource.SinksResource.DeleteRequest

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

BillingAccountsResource.SinksResource.GetRequest

Gets a sink.

BillingAccountsResource.SinksResource.ListRequest

Lists sinks.

BillingAccountsResource.SinksResource.PatchRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

BillingAccountsResource.SinksResource.UpdateRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

EntriesResource

The "entries" collection of methods.

EntriesResource.CopyRequest

Copies a set of log entries from a log bucket to a Cloud Storage bucket.

EntriesResource.ListRequest

Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).

EntriesResource.TailRequest

Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs.

EntriesResource.WriteRequest

Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resources (projects, organizations, billing accounts or folders)

ExclusionsResource

The "exclusions" collection of methods.

ExclusionsResource.CreateRequest

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

ExclusionsResource.DeleteRequest

Deletes an exclusion in the _Default sink.

ExclusionsResource.GetRequest

Gets the description of an exclusion in the _Default sink.

ExclusionsResource.ListRequest

Lists all the exclusions on the _Default sink in a parent resource.

ExclusionsResource.PatchRequest

Changes one or more properties of an existing exclusion in the _Default sink.

FoldersResource

The "folders" collection of methods.

FoldersResource.ExclusionsResource

The "exclusions" collection of methods.

FoldersResource.ExclusionsResource.CreateRequest

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

FoldersResource.ExclusionsResource.DeleteRequest

Deletes an exclusion in the _Default sink.

FoldersResource.ExclusionsResource.GetRequest

Gets the description of an exclusion in the _Default sink.

FoldersResource.ExclusionsResource.ListRequest

Lists all the exclusions on the _Default sink in a parent resource.

FoldersResource.ExclusionsResource.PatchRequest

Changes one or more properties of an existing exclusion in the _Default sink.

FoldersResource.GetCmekSettingsRequest

Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

FoldersResource.GetSettingsRequest

Gets the Log Router settings for the given resource.Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

FoldersResource.LocationsResource

The "locations" collection of methods.

FoldersResource.LocationsResource.BucketsResource

The "buckets" collection of methods.

FoldersResource.LocationsResource.BucketsResource.CreateRequest

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.

FoldersResource.LocationsResource.BucketsResource.DeleteRequest

Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.

FoldersResource.LocationsResource.BucketsResource.GetRequest

Gets a log bucket.

FoldersResource.LocationsResource.BucketsResource.ListRequest

Lists log buckets.

FoldersResource.LocationsResource.BucketsResource.PatchRequest

Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.

FoldersResource.LocationsResource.BucketsResource.UndeleteRequest

Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.

FoldersResource.LocationsResource.BucketsResource.ViewsResource

The "views" collection of methods.

FoldersResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

FoldersResource.LocationsResource.BucketsResource.ViewsResource.DeleteRequest

Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.

FoldersResource.LocationsResource.BucketsResource.ViewsResource.GetRequest

Gets a view on a log bucket..

FoldersResource.LocationsResource.BucketsResource.ViewsResource.ListRequest

Lists views on a log bucket.

FoldersResource.LocationsResource.BucketsResource.ViewsResource.LogsResource

The "logs" collection of methods.

FoldersResource.LocationsResource.BucketsResource.ViewsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

FoldersResource.LocationsResource.BucketsResource.ViewsResource.PatchRequest

Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.

FoldersResource.LocationsResource.GetRequest

Gets information about a location.

FoldersResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

FoldersResource.LocationsResource.OperationsResource

The "operations" collection of methods.

FoldersResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

FoldersResource.LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

FoldersResource.LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users//operations. To override the binding, API services can add a binding such as "/v1/{name=users/}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

FoldersResource.LogsResource

The "logs" collection of methods.

FoldersResource.LogsResource.DeleteRequest

Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

FoldersResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

FoldersResource.SinksResource

The "sinks" collection of methods.

FoldersResource.SinksResource.CreateRequest

Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

FoldersResource.SinksResource.DeleteRequest

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

FoldersResource.SinksResource.GetRequest

Gets a sink.

FoldersResource.SinksResource.ListRequest

Lists sinks.

FoldersResource.SinksResource.PatchRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

FoldersResource.SinksResource.UpdateRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

FoldersResource.UpdateSettingsRequest

Updates the Log Router settings for the given resource.Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

LocationsResource

The "locations" collection of methods.

LocationsResource.BucketsResource

The "buckets" collection of methods.

LocationsResource.BucketsResource.CreateRequest

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.

LocationsResource.BucketsResource.DeleteRequest

Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.

LocationsResource.BucketsResource.GetRequest

Gets a log bucket.

LocationsResource.BucketsResource.ListRequest

Lists log buckets.

LocationsResource.BucketsResource.PatchRequest

Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.

LocationsResource.BucketsResource.UndeleteRequest

Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.

LocationsResource.BucketsResource.ViewsResource

The "views" collection of methods.

LocationsResource.BucketsResource.ViewsResource.CreateRequest

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

LocationsResource.BucketsResource.ViewsResource.DeleteRequest

Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.

LocationsResource.BucketsResource.ViewsResource.GetRequest

Gets a view on a log bucket..

LocationsResource.BucketsResource.ViewsResource.ListRequest

Lists views on a log bucket.

LocationsResource.BucketsResource.ViewsResource.PatchRequest

Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.

LocationsResource.GetRequest

Gets information about a location.

LocationsResource.ListRequest

Lists information about the supported locations for this service.

LocationsResource.OperationsResource

The "operations" collection of methods.

LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users//operations. To override the binding, API services can add a binding such as "/v1/{name=users/}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

LoggingBaseServiceRequest<TResponse>

A base abstract class for Logging requests.

LoggingService

The Logging Service.

LoggingService.Scope

Available OAuth 2.0 scopes for use with the Cloud Logging API.

LoggingService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Cloud Logging API.

LogsResource

The "logs" collection of methods.

LogsResource.DeleteRequest

Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

MonitoredResourceDescriptorsResource

The "monitoredResourceDescriptors" collection of methods.

MonitoredResourceDescriptorsResource.ListRequest

Lists the descriptors for monitored resource types used by Logging.

OrganizationsResource

The "organizations" collection of methods.

OrganizationsResource.ExclusionsResource

The "exclusions" collection of methods.

OrganizationsResource.ExclusionsResource.CreateRequest

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

OrganizationsResource.ExclusionsResource.DeleteRequest

Deletes an exclusion in the _Default sink.

OrganizationsResource.ExclusionsResource.GetRequest

Gets the description of an exclusion in the _Default sink.

OrganizationsResource.ExclusionsResource.ListRequest

Lists all the exclusions on the _Default sink in a parent resource.

OrganizationsResource.ExclusionsResource.PatchRequest

Changes one or more properties of an existing exclusion in the _Default sink.

OrganizationsResource.GetCmekSettingsRequest

Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

OrganizationsResource.GetSettingsRequest

Gets the Log Router settings for the given resource.Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

OrganizationsResource.LocationsResource

The "locations" collection of methods.

OrganizationsResource.LocationsResource.BucketsResource

The "buckets" collection of methods.

OrganizationsResource.LocationsResource.BucketsResource.CreateRequest

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.

OrganizationsResource.LocationsResource.BucketsResource.DeleteRequest

Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.

OrganizationsResource.LocationsResource.BucketsResource.GetRequest

Gets a log bucket.

OrganizationsResource.LocationsResource.BucketsResource.ListRequest

Lists log buckets.

OrganizationsResource.LocationsResource.BucketsResource.PatchRequest

Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.

OrganizationsResource.LocationsResource.BucketsResource.UndeleteRequest

Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource

The "views" collection of methods.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.DeleteRequest

Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.GetRequest

Gets a view on a log bucket..

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.ListRequest

Lists views on a log bucket.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource

The "logs" collection of methods.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.PatchRequest

Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.

OrganizationsResource.LocationsResource.GetRequest

Gets information about a location.

OrganizationsResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

OrganizationsResource.LocationsResource.OperationsResource

The "operations" collection of methods.

OrganizationsResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

OrganizationsResource.LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

OrganizationsResource.LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users//operations. To override the binding, API services can add a binding such as "/v1/{name=users/}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

OrganizationsResource.LogsResource

The "logs" collection of methods.

OrganizationsResource.LogsResource.DeleteRequest

Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

OrganizationsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

OrganizationsResource.SinksResource

The "sinks" collection of methods.

OrganizationsResource.SinksResource.CreateRequest

Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

OrganizationsResource.SinksResource.DeleteRequest

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

OrganizationsResource.SinksResource.GetRequest

Gets a sink.

OrganizationsResource.SinksResource.ListRequest

Lists sinks.

OrganizationsResource.SinksResource.PatchRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

OrganizationsResource.SinksResource.UpdateRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

OrganizationsResource.UpdateCmekSettingsRequest

Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

OrganizationsResource.UpdateSettingsRequest

Updates the Log Router settings for the given resource.Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

ProjectsResource

The "projects" collection of methods.

ProjectsResource.ExclusionsResource

The "exclusions" collection of methods.

ProjectsResource.ExclusionsResource.CreateRequest

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

ProjectsResource.ExclusionsResource.DeleteRequest

Deletes an exclusion in the _Default sink.

ProjectsResource.ExclusionsResource.GetRequest

Gets the description of an exclusion in the _Default sink.

ProjectsResource.ExclusionsResource.ListRequest

Lists all the exclusions on the _Default sink in a parent resource.

ProjectsResource.ExclusionsResource.PatchRequest

Changes one or more properties of an existing exclusion in the _Default sink.

ProjectsResource.GetCmekSettingsRequest

Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

ProjectsResource.GetSettingsRequest

Gets the Log Router settings for the given resource.Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

ProjectsResource.LocationsResource

The "locations" collection of methods.

ProjectsResource.LocationsResource.BucketsResource

The "buckets" collection of methods.

ProjectsResource.LocationsResource.BucketsResource.CreateRequest

Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.

ProjectsResource.LocationsResource.BucketsResource.DeleteRequest

Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.

ProjectsResource.LocationsResource.BucketsResource.GetRequest

Gets a log bucket.

ProjectsResource.LocationsResource.BucketsResource.ListRequest

Lists log buckets.

ProjectsResource.LocationsResource.BucketsResource.PatchRequest

Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.

ProjectsResource.LocationsResource.BucketsResource.UndeleteRequest

Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource

The "views" collection of methods.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.DeleteRequest

Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.GetRequest

Gets a view on a log bucket..

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.ListRequest

Lists views on a log bucket.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource

The "logs" collection of methods.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

ProjectsResource.LocationsResource.BucketsResource.ViewsResource.PatchRequest

Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.

ProjectsResource.LocationsResource.GetRequest

Gets information about a location.

ProjectsResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

ProjectsResource.LocationsResource.OperationsResource

The "operations" collection of methods.

ProjectsResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

ProjectsResource.LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource.LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users//operations. To override the binding, API services can add a binding such as "/v1/{name=users/}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

ProjectsResource.LogsResource

The "logs" collection of methods.

ProjectsResource.LogsResource.DeleteRequest

Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

ProjectsResource.LogsResource.ListRequest

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

ProjectsResource.MetricsResource

The "metrics" collection of methods.

ProjectsResource.MetricsResource.CreateRequest

Creates a logs-based metric.

ProjectsResource.MetricsResource.DeleteRequest

Deletes a logs-based metric.

ProjectsResource.MetricsResource.GetRequest

Gets a logs-based metric.

ProjectsResource.MetricsResource.ListRequest

Lists logs-based metrics.

ProjectsResource.MetricsResource.UpdateRequest

Creates or updates a logs-based metric.

ProjectsResource.SinksResource

The "sinks" collection of methods.

ProjectsResource.SinksResource.CreateRequest

Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

ProjectsResource.SinksResource.DeleteRequest

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

ProjectsResource.SinksResource.GetRequest

Gets a sink.

ProjectsResource.SinksResource.ListRequest

Lists sinks.

ProjectsResource.SinksResource.PatchRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

ProjectsResource.SinksResource.UpdateRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

SinksResource

The "sinks" collection of methods.

SinksResource.CreateRequest

Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

SinksResource.DeleteRequest

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

SinksResource.GetRequest

Gets a sink.

SinksResource.ListRequest

Lists sinks.

SinksResource.UpdateRequest

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.

V2Resource

The "v2" collection of methods.

V2Resource.GetCmekSettingsRequest

Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

V2Resource.GetSettingsRequest

Gets the Log Router settings for the given resource.Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

V2Resource.UpdateCmekSettingsRequest

Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

V2Resource.UpdateSettingsRequest

Updates the Log Router settings for the given resource.Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

Enums

LoggingBaseServiceRequest<TResponse>.AltEnum

Data format for response.

LoggingBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In This Article
Back to top