Module google_logging2::api

source ·

Structs§

  • Describes a BigQuery dataset that was created by a link.
  • Options that change functionality of a sink exporting data to BigQuery.
  • 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.
  • Deletes an exclusion in the _Default sink.
  • Gets the description of an exclusion in the _Default sink.
  • Lists all the exclusions on the _Default sink in a parent resource.
  • Changes one or more properties of an existing exclusion in the _Default sink.
  • 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.
  • Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
  • Creates 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.
  • 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.
  • 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.
  • Gets a log bucket.
  • Asynchronously 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.
  • Deletes a link. This will also delete the corresponding BigQuery linked dataset.
  • Gets a link.
  • Lists links.
  • Lists log buckets.
  • Updates a log bucket.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.
  • Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
  • Updates 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.
  • Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
  • 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.
  • Gets a view on a log bucket.
  • Lists views on a log bucket.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. 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.
  • Gets information about a location.
  • Lists information about the supported locations for this service.
  • 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.
  • 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.
  • Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
  • Lists the RecentQueries that were created by the user making the request.
  • Creates a new SavedQuery for the user making the request.
  • Deletes an existing SavedQuery that was created by the user making the request.
  • Lists the SavedQueries that were created by the user making the request.
  • 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.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • A builder providing access to all methods supported on billingAccount resources. It is not used directly, but through the Logging hub.
  • Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
  • Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
  • Gets a sink.
  • Lists sinks.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.
  • The request message for Operations.CancelOperation.
  • Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible 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.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
  • The parameters to CopyLogEntries.
  • Describes the custom _Default sink configuration that is used to override the built-in _Default sink configuration in newly created resource containers, such as projects or folders.
  • A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
  • Copies a set of log entries from a log bucket to a Cloud Storage bucket.
  • 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).
  • A builder providing access to all methods supported on entry resources. It is not used directly, but through the Logging hub.
  • Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs.
  • 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 resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field.
  • 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.
  • Deletes an exclusion in the _Default sink.
  • Gets the description of an exclusion in the _Default sink.
  • Lists all the exclusions on the _Default sink in a parent resource.
  • A builder providing access to all methods supported on exclusion resources. It is not used directly, but through the Logging hub.
  • Changes one or more properties of an existing exclusion in the _Default sink.
  • Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.
  • Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
  • 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.
  • Deletes an exclusion in the _Default sink.
  • Gets the description of an exclusion in the _Default sink.
  • Lists all the exclusions on the _Default sink in a parent resource.
  • Changes one or more properties of an existing exclusion in the _Default sink.
  • 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.
  • Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
  • Creates 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.
  • 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.
  • 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.
  • Gets a log bucket.
  • Asynchronously 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.
  • Deletes a link. This will also delete the corresponding BigQuery linked dataset.
  • Gets a link.
  • Lists links.
  • Lists log buckets.
  • Updates a log bucket.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.
  • Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
  • Updates 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.
  • Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
  • 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.
  • Gets a view on a log bucket.
  • Lists views on a log bucket.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. 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.
  • Gets information about a location.
  • Lists information about the supported locations for this service.
  • 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.
  • 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.
  • Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
  • Lists the RecentQueries that were created by the user making the request.
  • Creates a new SavedQuery for the user making the request.
  • Deletes an existing SavedQuery that was created by the user making the request.
  • Lists the SavedQueries that were created by the user making the request.
  • 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.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • A builder providing access to all methods supported on folder resources. It is not used directly, but through the Logging hub.
  • Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
  • Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
  • Gets a sink.
  • Lists sinks.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn’t supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn’t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
  • A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.
  • Configuration for an indexed field.
  • A description of a label.
  • Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).
  • Describes a link connected to an analytics enabled bucket.
  • The response from ListBuckets.
  • Result returned from ListExclusions.
  • The response from ListLinks.
  • The response message for Locations.ListLocations.
  • The parameters to ListLogEntries.
  • Result returned from ListLogEntries.
  • Result returned from ListLogMetrics.
  • Result returned from ListLogs.
  • Result returned from ListMonitoredResourceDescriptors.
  • The response message for Operations.ListOperations.
  • The response from ListRecentQueries.
  • The response from ListSavedQueries.
  • Result returned from ListSinks.
  • The response from ListViews.
  • A resource that represents a Google Cloud location.
  • Creates 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.
  • 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.
  • 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.
  • Gets a log bucket.
  • Asynchronously 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.
  • Deletes a link. This will also delete the corresponding BigQuery linked dataset.
  • Gets a link.
  • Lists links.
  • Lists log buckets.
  • Updates a log bucket.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.
  • Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
  • Updates 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.
  • Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
  • 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.
  • Gets a view on a log bucket.
  • Lists views on a log bucket.
  • Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. 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.
  • Gets information about a location.
  • Lists information about the supported locations for this service.
  • A builder providing access to all methods supported on location resources. It is not used directly, but through the Logging hub.
  • 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.
  • 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.
  • Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
  • Describes a repository in which log entries are stored.
  • 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.
  • An individual entry in a log.
  • Additional information about a potentially long-running operation with which a log entry is associated.
  • Additional information about the source code location that produced the log entry.
  • Contains metadata that associates the LogEntry to Error Reporting error groups.
  • Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don’t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • A builder providing access to all methods supported on log resources. It is not used directly, but through the Logging hub.
  • Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.Logs-based metrics can also be used to extract values from logs and create a distribution of the values. The distribution records the statistics of the extracted values along with an optional histogram of the values as specified by the bucket options.
  • Describes a sink used to export log entries to one of the following destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.
  • Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries.
  • Describes a view over log entries in a bucket.
  • Central instance to access all Logging related resource activities
  • Describes a Cloud Logging query that can be run in Logs Explorer UI or via the logging API.In addition to the query itself, additional information may be stored to capture the display configuration and other UI state used in association with analysis of query results.
  • 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.
  • Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
  • A builder providing access to all free methods, which are not associated with a particular resource. It is not used directly, but through the Logging hub.
  • 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 fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn’t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
  • Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn’t supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn’t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
  • Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type’s existing data unusable.
  • Additional annotations that can be used to guide the usage of a metric.
  • An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource’s schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for “gce_instance” has labels “project_id”, “instance_id” and “zone”: { “type”: “gce_instance”, “labels”: { “project_id”: “my-project”, “instance_id”: “12345678901234”, “zone”: “us-central1-a” }}
  • An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of “gce_instance” and specifies the use of the labels “instance_id” and “zone” to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.
  • Lists the descriptors for monitored resource types used by Logging.
  • A builder providing access to all methods supported on monitoredResourceDescriptor resources. It is not used directly, but through the Logging hub.
  • Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.
  • This resource represents a long-running operation that is the result of a network API call.
  • Describes an analytics query that can be run in the Log Analytics page of Google Cloud console.Preview: This is a preview feature and may be subject to change before final release.
  • 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.
  • Deletes an exclusion in the _Default sink.
  • Gets the description of an exclusion in the _Default sink.
  • Lists all the exclusions on the _Default sink in a parent resource.
  • Changes one or more properties of an existing exclusion in the _Default sink.
  • 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.
  • Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
  • Creates 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.
  • 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.
  • 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.
  • Gets a log bucket.
  • Asynchronously 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.
  • Deletes a link. This will also delete the corresponding BigQuery linked dataset.
  • Gets a link.
  • Lists links.
  • Lists log buckets.
  • Updates a log bucket.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.
  • Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
  • Updates 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.
  • Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
  • 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.
  • Gets a view on a log bucket.
  • Lists views on a log bucket.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. 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.
  • Gets information about a location.
  • Lists information about the supported locations for this service.
  • 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.
  • 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.
  • Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
  • Lists the RecentQueries that were created by the user making the request.
  • Creates a new SavedQuery for the user making the request.
  • Deletes an existing SavedQuery that was created by the user making the request.
  • Lists the SavedQueries that were created by the user making the request.
  • 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.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • A builder providing access to all methods supported on organization resources. It is not used directly, but through the Logging hub.
  • Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
  • Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
  • Gets a sink.
  • Lists sinks.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • 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 fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn’t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
  • Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn’t supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn’t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
  • 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.
  • Deletes an exclusion in the _Default sink.
  • Gets the description of an exclusion in the _Default sink.
  • Lists all the exclusions on the _Default sink in a parent resource.
  • Changes one or more properties of an existing exclusion in the _Default sink.
  • 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.
  • Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
  • Creates 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.
  • 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.
  • 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.
  • Gets a log bucket.
  • Asynchronously 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.
  • Deletes a link. This will also delete the corresponding BigQuery linked dataset.
  • Gets a link.
  • Lists links.
  • Lists log buckets.
  • Updates a log bucket.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.
  • Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
  • Updates 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.
  • Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
  • 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.
  • Gets a view on a log bucket.
  • Lists views on a log bucket.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. 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.
  • Gets information about a location.
  • Lists information about the supported locations for this service.
  • 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.
  • 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.
  • Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
  • Lists the RecentQueries that were created by the user making the request.
  • Creates a new SavedQuery for the user making the request.
  • Deletes an existing SavedQuery that was created by the user making the request.
  • Lists the SavedQueries that were created by the user making the request.
  • 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.
  • Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
  • A builder providing access to all methods supported on project resources. It is not used directly, but through the Logging hub.
  • Creates a logs-based metric.
  • Deletes a logs-based metric.
  • Gets a logs-based metric.
  • Lists logs-based metrics.
  • Creates or updates a logs-based metric.
  • Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
  • Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
  • Gets a sink.
  • Lists sinks.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • Describes a recent query executed on the Logs Explorer or Log Analytics page within the last ~ 30 days.
  • Describes a query that has been saved by a user.
  • Describes the settings associated with a project, folder, organization, or billing account.
  • Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
  • Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
  • Gets a sink.
  • Lists sinks.
  • A builder providing access to all methods supported on sink resources. It is not used directly, but through the Logging hub.
  • Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
  • The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
  • A field from the LogEntry that is added to the summary line (https://cloud.google.com/logging/docs/view/logs-explorer-interface#add-summary-fields) for a query in the Logs Explorer.
  • Information about entries that were omitted from the session.
  • The parameters to TailLogEntries.
  • Result returned from TailLogEntries.
  • The parameters to UndeleteBucket.
  • The parameters to WriteLogEntries.
  • Result returned from WriteLogEntries.

Enums§