Namespace Google.Apis.Logging.v2
Classes
BillingAccountsResource
The "billingAccounts" collection of methods.
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 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.
BillingAccountsResource.LocationsResource
The "locations" collection of methods.
BillingAccountsResource.LocationsResource.BucketsResource
The "buckets" collection of methods.
BillingAccountsResource.LocationsResource.BucketsResource.CreateAsyncRequest
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.
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.GetRequest
Gets a log bucket.
BillingAccountsResource.LocationsResource.BucketsResource.LinksResource
The "links" collection of methods.
BillingAccountsResource.LocationsResource.BucketsResource.LinksResource.CreateRequest
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.
BillingAccountsResource.LocationsResource.BucketsResource.LinksResource.DeleteRequest
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
BillingAccountsResource.LocationsResource.BucketsResource.LinksResource.GetRequest
Gets a link.
BillingAccountsResource.LocationsResource.BucketsResource.LinksResource.ListRequest
Lists links.
BillingAccountsResource.LocationsResource.BucketsResource.ListRequest
Lists log buckets.
BillingAccountsResource.LocationsResource.BucketsResource.PatchRequest
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.
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.UpdateAsyncRequest
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.
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.GetRequest
Gets a view on a log bucket.
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 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.
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.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.LocationsResource.OperationsResource.ListRequest
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
BillingAccountsResource.LocationsResource.RecentQueriesResource
The "recentQueries" collection of methods.
BillingAccountsResource.LocationsResource.RecentQueriesResource.ListRequest
Lists the RecentQueries that were created by the user making the request.
BillingAccountsResource.LocationsResource.SavedQueriesResource
The "savedQueries" collection of methods.
BillingAccountsResource.LocationsResource.SavedQueriesResource.CreateRequest
Creates a new SavedQuery for the user making the request.
BillingAccountsResource.LocationsResource.SavedQueriesResource.DeleteRequest
Deletes an existing SavedQuery that was created by the user making the request.
BillingAccountsResource.LocationsResource.SavedQueriesResource.GetRequest
Returns all data associated with the requested query.
BillingAccountsResource.LocationsResource.SavedQueriesResource.ListRequest
Lists the SavedQueries that were created by the user making the request.
BillingAccountsResource.LocationsResource.SavedQueriesResource.PatchRequest
Updates an existing SavedQuery.
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.SinksResource
The "sinks" collection of methods.
BillingAccountsResource.SinksResource.CreateRequest
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.
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 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.
BillingAccountsResource.SinksResource.UpdateRequest
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.
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 received. 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 resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field.
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 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.
FoldersResource.LocationsResource
The "locations" collection of methods.
FoldersResource.LocationsResource.BucketsResource
The "buckets" collection of methods.
FoldersResource.LocationsResource.BucketsResource.CreateAsyncRequest
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.
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.LinksResource
The "links" collection of methods.
FoldersResource.LocationsResource.BucketsResource.LinksResource.CreateRequest
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.
FoldersResource.LocationsResource.BucketsResource.LinksResource.DeleteRequest
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
FoldersResource.LocationsResource.BucketsResource.LinksResource.GetRequest
Gets a link.
FoldersResource.LocationsResource.BucketsResource.LinksResource.ListRequest
Lists links.
FoldersResource.LocationsResource.BucketsResource.ListRequest
Lists log buckets.
FoldersResource.LocationsResource.BucketsResource.PatchRequest
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.
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.UpdateAsyncRequest
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.
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.GetIamPolicyRequest
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
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 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.
FoldersResource.LocationsResource.BucketsResource.ViewsResource.SetIamPolicyRequest
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
FoldersResource.LocationsResource.BucketsResource.ViewsResource.TestIamPermissionsRequest
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
FoldersResource.LocationsResource.GetRequest
Gets information about a location.
FoldersResource.LocationsResource.ListRequest
Lists information about the supported locations for this service.
FoldersResource.LocationsResource.LogScopesResource
The "logScopes" collection of methods.
FoldersResource.LocationsResource.LogScopesResource.CreateRequest
Creates a log scope.
FoldersResource.LocationsResource.LogScopesResource.DeleteRequest
Deletes a log scope.
FoldersResource.LocationsResource.LogScopesResource.GetRequest
Gets a log scope.
FoldersResource.LocationsResource.LogScopesResource.ListRequest
Lists log scopes.
FoldersResource.LocationsResource.LogScopesResource.PatchRequest
Updates a log scope.
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.
FoldersResource.LocationsResource.RecentQueriesResource
The "recentQueries" collection of methods.
FoldersResource.LocationsResource.RecentQueriesResource.ListRequest
Lists the RecentQueries that were created by the user making the request.
FoldersResource.LocationsResource.SavedQueriesResource
The "savedQueries" collection of methods.
FoldersResource.LocationsResource.SavedQueriesResource.CreateRequest
Creates a new SavedQuery for the user making the request.
FoldersResource.LocationsResource.SavedQueriesResource.DeleteRequest
Deletes an existing SavedQuery that was created by the user making the request.
FoldersResource.LocationsResource.SavedQueriesResource.GetRequest
Returns all data associated with the requested query.
FoldersResource.LocationsResource.SavedQueriesResource.ListRequest
Lists the SavedQueries that were created by the user making the request.
FoldersResource.LocationsResource.SavedQueriesResource.PatchRequest
Updates an existing SavedQuery.
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 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.
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 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.
FoldersResource.SinksResource.UpdateRequest
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.
FoldersResource.UpdateSettingsRequest
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.
LocationsResource
The "locations" collection of methods.
LocationsResource.BucketsResource
The "buckets" collection of methods.
LocationsResource.BucketsResource.CreateAsyncRequest
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.
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.LinksResource
The "links" collection of methods.
LocationsResource.BucketsResource.LinksResource.CreateRequest
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.
LocationsResource.BucketsResource.LinksResource.DeleteRequest
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
LocationsResource.BucketsResource.LinksResource.GetRequest
Gets a link.
LocationsResource.BucketsResource.LinksResource.ListRequest
Lists links.
LocationsResource.BucketsResource.ListRequest
Lists log buckets.
LocationsResource.BucketsResource.PatchRequest
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.
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.UpdateAsyncRequest
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.
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.GetIamPolicyRequest
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
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 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.
LocationsResource.BucketsResource.ViewsResource.SetIamPolicyRequest
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
LocationsResource.BucketsResource.ViewsResource.TestIamPermissionsRequest
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
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.
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 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.
OrganizationsResource.LocationsResource
The "locations" collection of methods.
OrganizationsResource.LocationsResource.BucketsResource
The "buckets" collection of methods.
OrganizationsResource.LocationsResource.BucketsResource.CreateAsyncRequest
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.
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.LinksResource
The "links" collection of methods.
OrganizationsResource.LocationsResource.BucketsResource.LinksResource.CreateRequest
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.
OrganizationsResource.LocationsResource.BucketsResource.LinksResource.DeleteRequest
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
OrganizationsResource.LocationsResource.BucketsResource.LinksResource.GetRequest
Gets a link.
OrganizationsResource.LocationsResource.BucketsResource.LinksResource.ListRequest
Lists links.
OrganizationsResource.LocationsResource.BucketsResource.ListRequest
Lists log buckets.
OrganizationsResource.LocationsResource.BucketsResource.PatchRequest
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.
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.UpdateAsyncRequest
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.
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.GetIamPolicyRequest
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
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 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.
OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.SetIamPolicyRequest
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
OrganizationsResource.LocationsResource.BucketsResource.ViewsResource.TestIamPermissionsRequest
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
OrganizationsResource.LocationsResource.GetRequest
Gets information about a location.
OrganizationsResource.LocationsResource.ListRequest
Lists information about the supported locations for this service.
OrganizationsResource.LocationsResource.LogScopesResource
The "logScopes" collection of methods.
OrganizationsResource.LocationsResource.LogScopesResource.CreateRequest
Creates a log scope.
OrganizationsResource.LocationsResource.LogScopesResource.DeleteRequest
Deletes a log scope.
OrganizationsResource.LocationsResource.LogScopesResource.GetRequest
Gets a log scope.
OrganizationsResource.LocationsResource.LogScopesResource.ListRequest
Lists log scopes.
OrganizationsResource.LocationsResource.LogScopesResource.PatchRequest
Updates a log scope.
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.
OrganizationsResource.LocationsResource.RecentQueriesResource
The "recentQueries" collection of methods.
OrganizationsResource.LocationsResource.RecentQueriesResource.ListRequest
Lists the RecentQueries that were created by the user making the request.
OrganizationsResource.LocationsResource.SavedQueriesResource
The "savedQueries" collection of methods.
OrganizationsResource.LocationsResource.SavedQueriesResource.CreateRequest
Creates a new SavedQuery for the user making the request.
OrganizationsResource.LocationsResource.SavedQueriesResource.DeleteRequest
Deletes an existing SavedQuery that was created by the user making the request.
OrganizationsResource.LocationsResource.SavedQueriesResource.GetRequest
Returns all data associated with the requested query.
OrganizationsResource.LocationsResource.SavedQueriesResource.ListRequest
Lists the SavedQueries that were created by the user making the request.
OrganizationsResource.LocationsResource.SavedQueriesResource.PatchRequest
Updates an existing SavedQuery.
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 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.
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 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.
OrganizationsResource.SinksResource.UpdateRequest
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.
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 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.
OrganizationsResource.UpdateSettingsRequest
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.
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 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.
ProjectsResource.LocationsResource
The "locations" collection of methods.
ProjectsResource.LocationsResource.BucketsResource
The "buckets" collection of methods.
ProjectsResource.LocationsResource.BucketsResource.CreateAsyncRequest
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.
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.LinksResource
The "links" collection of methods.
ProjectsResource.LocationsResource.BucketsResource.LinksResource.CreateRequest
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.
ProjectsResource.LocationsResource.BucketsResource.LinksResource.DeleteRequest
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
ProjectsResource.LocationsResource.BucketsResource.LinksResource.GetRequest
Gets a link.
ProjectsResource.LocationsResource.BucketsResource.LinksResource.ListRequest
Lists links.
ProjectsResource.LocationsResource.BucketsResource.ListRequest
Lists log buckets.
ProjectsResource.LocationsResource.BucketsResource.PatchRequest
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.
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.UpdateAsyncRequest
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.
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.GetIamPolicyRequest
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
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 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.
ProjectsResource.LocationsResource.BucketsResource.ViewsResource.SetIamPolicyRequest
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
ProjectsResource.LocationsResource.BucketsResource.ViewsResource.TestIamPermissionsRequest
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
ProjectsResource.LocationsResource.GetRequest
Gets information about a location.
ProjectsResource.LocationsResource.ListRequest
Lists information about the supported locations for this service.
ProjectsResource.LocationsResource.LogScopesResource
The "logScopes" collection of methods.
ProjectsResource.LocationsResource.LogScopesResource.CreateRequest
Creates a log scope.
ProjectsResource.LocationsResource.LogScopesResource.DeleteRequest
Deletes a log scope.
ProjectsResource.LocationsResource.LogScopesResource.GetRequest
Gets a log scope.
ProjectsResource.LocationsResource.LogScopesResource.ListRequest
Lists log scopes.
ProjectsResource.LocationsResource.LogScopesResource.PatchRequest
Updates a log scope.
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.
ProjectsResource.LocationsResource.RecentQueriesResource
The "recentQueries" collection of methods.
ProjectsResource.LocationsResource.RecentQueriesResource.ListRequest
Lists the RecentQueries that were created by the user making the request.
ProjectsResource.LocationsResource.SavedQueriesResource
The "savedQueries" collection of methods.
ProjectsResource.LocationsResource.SavedQueriesResource.CreateRequest
Creates a new SavedQuery for the user making the request.
ProjectsResource.LocationsResource.SavedQueriesResource.DeleteRequest
Deletes an existing SavedQuery that was created by the user making the request.
ProjectsResource.LocationsResource.SavedQueriesResource.GetRequest
Returns all data associated with the requested query.
ProjectsResource.LocationsResource.SavedQueriesResource.ListRequest
Lists the SavedQueries that were created by the user making the request.
ProjectsResource.LocationsResource.SavedQueriesResource.PatchRequest
Updates an existing SavedQuery.
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 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.
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 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.
ProjectsResource.SinksResource.UpdateRequest
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.
SinksResource
The "sinks" collection of methods.
SinksResource.CreateRequest
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.
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 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.
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 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.
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 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.
V2Resource.UpdateSettingsRequest
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.
Enums
LoggingBaseServiceRequest<TResponse>.AltEnum
Data format for response.
LoggingBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.