googleapis.com – logging
Writes log entries and manages your Cloud Logging configuration.
- Homepage
- https://api.apis.guru/v2/specs/googleapis.com:logging/v2.json
- Provider
- googleapis.com:logging / logging
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/googleapis.com/logging/v2/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/googleapis.com/logging/v2/openapi.yaml
Tools (41)
Extracted live via the executor SDK.
-
entries.loggingEntriesCopyCopies a set of log entries from a log bucket to a Cloud Storage bucket.
-
entries.loggingEntriesListLists 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 ().
-
entries.loggingEntriesTailStreaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs.
-
entries.loggingEntriesWriteWrites 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)
-
monitoredResourceDescriptors.loggingMonitoredResourceDescriptorsListLists the descriptors for monitored resource types used by Logging.
-
projects.loggingProjectsExclusionsCreateCreates 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.
-
projects.loggingProjectsExclusionsListLists all the exclusions on the Default sink in a parent resource.
-
projects.loggingProjectsLocationsBucketsCreateCreates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.
-
projects.loggingProjectsLocationsBucketsCreateAsyncCreates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.
-
projects.loggingProjectsLocationsBucketsLinksCreateAsynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
-
projects.loggingProjectsLocationsBucketsLinksListLists links.
-
projects.loggingProjectsLocationsBucketsListLists log buckets.
-
projects.loggingProjectsLocationsBucketsUndeleteUndeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
-
projects.loggingProjectsLocationsBucketsUpdateAsyncUpdates a log bucket asynchronously.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.
-
projects.loggingProjectsLocationsBucketsViewsCreateCreates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
-
projects.loggingProjectsLocationsBucketsViewsDeleteDeletes 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.
-
projects.loggingProjectsLocationsBucketsViewsListLists views on a log bucket.
-
projects.loggingProjectsLocationsBucketsViewsPatchUpdates 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.
-
projects.loggingProjectsLocationsListLists information about the supported locations for this service.
-
projects.loggingProjectsLocationsOperationsCancelStarts 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.
-
projects.loggingProjectsLocationsOperationsGetGets 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.
-
projects.loggingProjectsLocationsOperationsListLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
-
projects.loggingProjectsLogsDeleteDeletes 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.
-
projects.loggingProjectsLogsListLists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
-
projects.loggingProjectsMetricsCreateCreates a logs-based metric.
-
projects.loggingProjectsMetricsDeleteDeletes a logs-based metric.
-
projects.loggingProjectsMetricsGetGets a logs-based metric.
-
projects.loggingProjectsMetricsListLists logs-based metrics.
-
projects.loggingProjectsMetricsUpdateCreates or updates a logs-based metric.
-
projects.loggingProjectsSinksPatchUpdates 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.
-
sinks.loggingSinksCreateCreates 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.
-
sinks.loggingSinksDeleteDeletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
-
sinks.loggingSinksGetGets a sink.
-
sinks.loggingSinksListLists sinks.
-
sinks.loggingSinksUpdateUpdates 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.
-
v2.loggingGetCmekSettingsGets 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 () for more information.
-
v2.loggingGetSettingsGets 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 () for more information.
-
v2.loggingUpdateCmekSettingsUpdates 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 () for more information.
-
v2.loggingUpdateSettingsUpdates 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 () for more information.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools