Google Cloud Logging v2 API - Class ConfigServiceV2.ConfigServiceV2Client (4.4.0)

public class ConfigServiceV2.ConfigServiceV2Client : ClientBase<ConfigServiceV2.ConfigServiceV2Client>

Reference documentation and code samples for the Google Cloud Logging v2 API class ConfigServiceV2.ConfigServiceV2Client.

Client for ConfigServiceV2

Inheritance

object > ClientBase > ClientBaseConfigServiceV2ConfigServiceV2Client > ConfigServiceV2.ConfigServiceV2Client

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

ConfigServiceV2Client()

protected ConfigServiceV2Client()

Protected parameterless constructor to allow creation of test doubles.

ConfigServiceV2Client(CallInvoker)

public ConfigServiceV2Client(CallInvoker callInvoker)

Creates a new client for ConfigServiceV2 that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ConfigServiceV2Client(ChannelBase)

public ConfigServiceV2Client(ChannelBase channel)

Creates a new client for ConfigServiceV2

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ConfigServiceV2Client(ClientBaseConfiguration)

protected ConfigServiceV2Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CopyLogEntries(CopyLogEntriesRequest, CallOptions)

public virtual Operation CopyLogEntries(CopyLogEntriesRequest request, CallOptions options)

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

Parameters
Name Description
request CopyLogEntriesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CopyLogEntries(CopyLogEntriesRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CopyLogEntries(CopyLogEntriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request CopyLogEntriesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CopyLogEntriesAsync(CopyLogEntriesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CopyLogEntriesAsync(CopyLogEntriesRequest request, CallOptions options)

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

Parameters
Name Description
request CopyLogEntriesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CopyLogEntriesAsync(CopyLogEntriesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CopyLogEntriesAsync(CopyLogEntriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request CopyLogEntriesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateBucket(CreateBucketRequest, CallOptions)

public virtual LogBucket CreateBucket(CreateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogBucket

The response received from the server.

CreateBucket(CreateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual LogBucket CreateBucket(CreateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogBucket

The response received from the server.

CreateBucketAsync(CreateBucketRequest, CallOptions)

public virtual AsyncUnaryCall<LogBucket> CreateBucketAsync(CreateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogBucket

The call object.

CreateBucketAsync(CreateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogBucket> CreateBucketAsync(CreateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogBucket

The call object.

CreateBucketLongRunning(CreateBucketRequest, CallOptions)

public virtual Operation CreateBucketLongRunning(CreateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateBucketLongRunning(CreateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateBucketLongRunning(CreateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateBucketLongRunningAsync(CreateBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateBucketLongRunningAsync(CreateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateBucketLongRunningAsync(CreateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateBucketLongRunningAsync(CreateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateExclusion(CreateExclusionRequest, CallOptions)

public virtual LogExclusion CreateExclusion(CreateExclusionRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogExclusion

The response received from the server.

CreateExclusion(CreateExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual LogExclusion CreateExclusion(CreateExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogExclusion

The response received from the server.

CreateExclusionAsync(CreateExclusionRequest, CallOptions)

public virtual AsyncUnaryCall<LogExclusion> CreateExclusionAsync(CreateExclusionRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogExclusion

The call object.

CreateExclusionAsync(CreateExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogExclusion> CreateExclusionAsync(CreateExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogExclusion

The call object.

public virtual Operation CreateLink(CreateLinkRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateLinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

public virtual Operation CreateLink(CreateLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateLinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateLinkAsync(CreateLinkRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateLinkAsync(CreateLinkRequest request, CallOptions options)

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.

Parameters
Name Description
request CreateLinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateLinkAsync(CreateLinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateLinkAsync(CreateLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request CreateLinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateSink(CreateSinkRequest, CallOptions)

public virtual LogSink CreateSink(CreateSinkRequest request, CallOptions options)

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

Parameters
Name Description
request CreateSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogSink

The response received from the server.

CreateSink(CreateSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual LogSink CreateSink(CreateSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request CreateSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogSink

The response received from the server.

CreateSinkAsync(CreateSinkRequest, CallOptions)

public virtual AsyncUnaryCall<LogSink> CreateSinkAsync(CreateSinkRequest request, CallOptions options)

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

Parameters
Name Description
request CreateSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogSink

The call object.

CreateSinkAsync(CreateSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogSink> CreateSinkAsync(CreateSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request CreateSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogSink

The call object.

CreateView(CreateViewRequest, CallOptions)

public virtual LogView CreateView(CreateViewRequest request, CallOptions options)

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

Parameters
Name Description
request CreateViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogView

The response received from the server.

CreateView(CreateViewRequest, Metadata, DateTime?, CancellationToken)

public virtual LogView CreateView(CreateViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request CreateViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogView

The response received from the server.

CreateViewAsync(CreateViewRequest, CallOptions)

public virtual AsyncUnaryCall<LogView> CreateViewAsync(CreateViewRequest request, CallOptions options)

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

Parameters
Name Description
request CreateViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogView

The call object.

CreateViewAsync(CreateViewRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogView> CreateViewAsync(CreateViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request CreateViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogView

The call object.

DeleteBucket(DeleteBucketRequest, CallOptions)

public virtual Empty DeleteBucket(DeleteBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request DeleteBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteBucket(DeleteBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteBucket(DeleteBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request DeleteBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteBucketAsync(DeleteBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteBucketAsync(DeleteBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request DeleteBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteBucketAsync(DeleteBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteBucketAsync(DeleteBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request DeleteBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteExclusion(DeleteExclusionRequest, CallOptions)

public virtual Empty DeleteExclusion(DeleteExclusionRequest request, CallOptions options)

Deletes an exclusion in the _Default sink.

Parameters
Name Description
request DeleteExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteExclusion(DeleteExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteExclusion(DeleteExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an exclusion in the _Default sink.

Parameters
Name Description
request DeleteExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteExclusionAsync(DeleteExclusionRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteExclusionAsync(DeleteExclusionRequest request, CallOptions options)

Deletes an exclusion in the _Default sink.

Parameters
Name Description
request DeleteExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteExclusionAsync(DeleteExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteExclusionAsync(DeleteExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an exclusion in the _Default sink.

Parameters
Name Description
request DeleteExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

public virtual Operation DeleteLink(DeleteLinkRequest request, CallOptions options)

Deletes a link. This will also delete the corresponding BigQuery linked dataset.

Parameters
Name Description
request DeleteLinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

public virtual Operation DeleteLink(DeleteLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a link. This will also delete the corresponding BigQuery linked dataset.

Parameters
Name Description
request DeleteLinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteLinkAsync(DeleteLinkRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteLinkAsync(DeleteLinkRequest request, CallOptions options)

Deletes a link. This will also delete the corresponding BigQuery linked dataset.

Parameters
Name Description
request DeleteLinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteLinkAsync(DeleteLinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteLinkAsync(DeleteLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a link. This will also delete the corresponding BigQuery linked dataset.

Parameters
Name Description
request DeleteLinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSink(DeleteSinkRequest, CallOptions)

public virtual Empty DeleteSink(DeleteSinkRequest request, CallOptions options)

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

Parameters
Name Description
request DeleteSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSink(DeleteSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteSink(DeleteSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request DeleteSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSinkAsync(DeleteSinkRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteSinkAsync(DeleteSinkRequest request, CallOptions options)

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

Parameters
Name Description
request DeleteSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteSinkAsync(DeleteSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteSinkAsync(DeleteSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request DeleteSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteView(DeleteViewRequest, CallOptions)

public virtual Empty DeleteView(DeleteViewRequest request, CallOptions options)

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.

Parameters
Name Description
request DeleteViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteView(DeleteViewRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteView(DeleteViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request DeleteViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteViewAsync(DeleteViewRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteViewAsync(DeleteViewRequest request, CallOptions options)

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.

Parameters
Name Description
request DeleteViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteViewAsync(DeleteViewRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteViewAsync(DeleteViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request DeleteViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetBucket(GetBucketRequest, CallOptions)

public virtual LogBucket GetBucket(GetBucketRequest request, CallOptions options)

Gets a log bucket.

Parameters
Name Description
request GetBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogBucket

The response received from the server.

GetBucket(GetBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual LogBucket GetBucket(GetBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a log bucket.

Parameters
Name Description
request GetBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogBucket

The response received from the server.

GetBucketAsync(GetBucketRequest, CallOptions)

public virtual AsyncUnaryCall<LogBucket> GetBucketAsync(GetBucketRequest request, CallOptions options)

Gets a log bucket.

Parameters
Name Description
request GetBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogBucket

The call object.

GetBucketAsync(GetBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogBucket> GetBucketAsync(GetBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a log bucket.

Parameters
Name Description
request GetBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogBucket

The call object.

GetCmekSettings(GetCmekSettingsRequest, CallOptions)

public virtual CmekSettings GetCmekSettings(GetCmekSettingsRequest request, CallOptions options)

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 for more information.

Parameters
Name Description
request GetCmekSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
CmekSettings

The response received from the server.

GetCmekSettings(GetCmekSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual CmekSettings GetCmekSettings(GetCmekSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 for more information.

Parameters
Name Description
request GetCmekSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
CmekSettings

The response received from the server.

GetCmekSettingsAsync(GetCmekSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<CmekSettings> GetCmekSettingsAsync(GetCmekSettingsRequest request, CallOptions options)

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 for more information.

Parameters
Name Description
request GetCmekSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallCmekSettings

The call object.

GetCmekSettingsAsync(GetCmekSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CmekSettings> GetCmekSettingsAsync(GetCmekSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 for more information.

Parameters
Name Description
request GetCmekSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallCmekSettings

The call object.

GetExclusion(GetExclusionRequest, CallOptions)

public virtual LogExclusion GetExclusion(GetExclusionRequest request, CallOptions options)

Gets the description of an exclusion in the _Default sink.

Parameters
Name Description
request GetExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogExclusion

The response received from the server.

GetExclusion(GetExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual LogExclusion GetExclusion(GetExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the description of an exclusion in the _Default sink.

Parameters
Name Description
request GetExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogExclusion

The response received from the server.

GetExclusionAsync(GetExclusionRequest, CallOptions)

public virtual AsyncUnaryCall<LogExclusion> GetExclusionAsync(GetExclusionRequest request, CallOptions options)

Gets the description of an exclusion in the _Default sink.

Parameters
Name Description
request GetExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogExclusion

The call object.

GetExclusionAsync(GetExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogExclusion> GetExclusionAsync(GetExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the description of an exclusion in the _Default sink.

Parameters
Name Description
request GetExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogExclusion

The call object.

public virtual Link GetLink(GetLinkRequest request, CallOptions options)

Gets a link.

Parameters
Name Description
request GetLinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Link

The response received from the server.

public virtual Link GetLink(GetLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a link.

Parameters
Name Description
request GetLinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Link

The response received from the server.

GetLinkAsync(GetLinkRequest, CallOptions)

public virtual AsyncUnaryCall<Link> GetLinkAsync(GetLinkRequest request, CallOptions options)

Gets a link.

Parameters
Name Description
request GetLinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLink

The call object.

GetLinkAsync(GetLinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Link> GetLinkAsync(GetLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a link.

Parameters
Name Description
request GetLinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLink

The call object.

GetSettings(GetSettingsRequest, CallOptions)

public virtual Settings GetSettings(GetSettingsRequest request, CallOptions options)

Gets the Log Router settings for the given resource.

Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request GetSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Settings

The response received from the server.

GetSettings(GetSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual Settings GetSettings(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the Log Router settings for the given resource.

Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request GetSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Settings

The response received from the server.

GetSettingsAsync(GetSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, CallOptions options)

Gets the Log Router settings for the given resource.

Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request GetSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSettings

The call object.

GetSettingsAsync(GetSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the Log Router settings for the given resource.

Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request GetSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSettings

The call object.

GetSink(GetSinkRequest, CallOptions)

public virtual LogSink GetSink(GetSinkRequest request, CallOptions options)

Gets a sink.

Parameters
Name Description
request GetSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogSink

The response received from the server.

GetSink(GetSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual LogSink GetSink(GetSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a sink.

Parameters
Name Description
request GetSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogSink

The response received from the server.

GetSinkAsync(GetSinkRequest, CallOptions)

public virtual AsyncUnaryCall<LogSink> GetSinkAsync(GetSinkRequest request, CallOptions options)

Gets a sink.

Parameters
Name Description
request GetSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogSink

The call object.

GetSinkAsync(GetSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogSink> GetSinkAsync(GetSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a sink.

Parameters
Name Description
request GetSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogSink

The call object.

GetView(GetViewRequest, CallOptions)

public virtual LogView GetView(GetViewRequest request, CallOptions options)

Gets a view on a log bucket..

Parameters
Name Description
request GetViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogView

The response received from the server.

GetView(GetViewRequest, Metadata, DateTime?, CancellationToken)

public virtual LogView GetView(GetViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a view on a log bucket..

Parameters
Name Description
request GetViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogView

The response received from the server.

GetViewAsync(GetViewRequest, CallOptions)

public virtual AsyncUnaryCall<LogView> GetViewAsync(GetViewRequest request, CallOptions options)

Gets a view on a log bucket..

Parameters
Name Description
request GetViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogView

The call object.

GetViewAsync(GetViewRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogView> GetViewAsync(GetViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a view on a log bucket..

Parameters
Name Description
request GetViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogView

The call object.

ListBuckets(ListBucketsRequest, CallOptions)

public virtual ListBucketsResponse ListBuckets(ListBucketsRequest request, CallOptions options)

Lists log buckets.

Parameters
Name Description
request ListBucketsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListBucketsResponse

The response received from the server.

ListBuckets(ListBucketsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListBucketsResponse ListBuckets(ListBucketsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists log buckets.

Parameters
Name Description
request ListBucketsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListBucketsResponse

The response received from the server.

ListBucketsAsync(ListBucketsRequest, CallOptions)

public virtual AsyncUnaryCall<ListBucketsResponse> ListBucketsAsync(ListBucketsRequest request, CallOptions options)

Lists log buckets.

Parameters
Name Description
request ListBucketsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListBucketsResponse

The call object.

ListBucketsAsync(ListBucketsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListBucketsResponse> ListBucketsAsync(ListBucketsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists log buckets.

Parameters
Name Description
request ListBucketsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListBucketsResponse

The call object.

ListExclusions(ListExclusionsRequest, CallOptions)

public virtual ListExclusionsResponse ListExclusions(ListExclusionsRequest request, CallOptions options)

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

Parameters
Name Description
request ListExclusionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListExclusionsResponse

The response received from the server.

ListExclusions(ListExclusionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListExclusionsResponse ListExclusions(ListExclusionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request ListExclusionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListExclusionsResponse

The response received from the server.

ListExclusionsAsync(ListExclusionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListExclusionsResponse> ListExclusionsAsync(ListExclusionsRequest request, CallOptions options)

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

Parameters
Name Description
request ListExclusionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListExclusionsResponse

The call object.

ListExclusionsAsync(ListExclusionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListExclusionsResponse> ListExclusionsAsync(ListExclusionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request ListExclusionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListExclusionsResponse

The call object.

public virtual ListLinksResponse ListLinks(ListLinksRequest request, CallOptions options)

Lists links.

Parameters
Name Description
request ListLinksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListLinksResponse

The response received from the server.

public virtual ListLinksResponse ListLinks(ListLinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists links.

Parameters
Name Description
request ListLinksRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListLinksResponse

The response received from the server.

ListLinksAsync(ListLinksRequest, CallOptions)

public virtual AsyncUnaryCall<ListLinksResponse> ListLinksAsync(ListLinksRequest request, CallOptions options)

Lists links.

Parameters
Name Description
request ListLinksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListLinksResponse

The call object.

ListLinksAsync(ListLinksRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListLinksResponse> ListLinksAsync(ListLinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists links.

Parameters
Name Description
request ListLinksRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListLinksResponse

The call object.

ListSinks(ListSinksRequest, CallOptions)

public virtual ListSinksResponse ListSinks(ListSinksRequest request, CallOptions options)

Lists sinks.

Parameters
Name Description
request ListSinksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSinksResponse

The response received from the server.

ListSinks(ListSinksRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSinksResponse ListSinks(ListSinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists sinks.

Parameters
Name Description
request ListSinksRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListSinksResponse

The response received from the server.

ListSinksAsync(ListSinksRequest, CallOptions)

public virtual AsyncUnaryCall<ListSinksResponse> ListSinksAsync(ListSinksRequest request, CallOptions options)

Lists sinks.

Parameters
Name Description
request ListSinksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSinksResponse

The call object.

ListSinksAsync(ListSinksRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSinksResponse> ListSinksAsync(ListSinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists sinks.

Parameters
Name Description
request ListSinksRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSinksResponse

The call object.

ListViews(ListViewsRequest, CallOptions)

public virtual ListViewsResponse ListViews(ListViewsRequest request, CallOptions options)

Lists views on a log bucket.

Parameters
Name Description
request ListViewsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListViewsResponse

The response received from the server.

ListViews(ListViewsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListViewsResponse ListViews(ListViewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists views on a log bucket.

Parameters
Name Description
request ListViewsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListViewsResponse

The response received from the server.

ListViewsAsync(ListViewsRequest, CallOptions)

public virtual AsyncUnaryCall<ListViewsResponse> ListViewsAsync(ListViewsRequest request, CallOptions options)

Lists views on a log bucket.

Parameters
Name Description
request ListViewsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListViewsResponse

The call object.

ListViewsAsync(ListViewsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListViewsResponse> ListViewsAsync(ListViewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists views on a log bucket.

Parameters
Name Description
request ListViewsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListViewsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ConfigServiceV2.ConfigServiceV2Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ConfigServiceV2ConfigServiceV2Client
Overrides

UndeleteBucket(UndeleteBucketRequest, CallOptions)

public virtual Empty UndeleteBucket(UndeleteBucketRequest request, CallOptions options)

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

Parameters
Name Description
request UndeleteBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

UndeleteBucket(UndeleteBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty UndeleteBucket(UndeleteBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request UndeleteBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

UndeleteBucketAsync(UndeleteBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> UndeleteBucketAsync(UndeleteBucketRequest request, CallOptions options)

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

Parameters
Name Description
request UndeleteBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

UndeleteBucketAsync(UndeleteBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> UndeleteBucketAsync(UndeleteBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request UndeleteBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

UpdateBucket(UpdateBucketRequest, CallOptions)

public virtual LogBucket UpdateBucket(UpdateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogBucket

The response received from the server.

UpdateBucket(UpdateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual LogBucket UpdateBucket(UpdateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogBucket

The response received from the server.

UpdateBucketAsync(UpdateBucketRequest, CallOptions)

public virtual AsyncUnaryCall<LogBucket> UpdateBucketAsync(UpdateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogBucket

The call object.

UpdateBucketAsync(UpdateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogBucket> UpdateBucketAsync(UpdateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogBucket

The call object.

UpdateBucketLongRunning(UpdateBucketRequest, CallOptions)

public virtual Operation UpdateBucketLongRunning(UpdateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateBucketLongRunning(UpdateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateBucketLongRunning(UpdateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateBucketLongRunningAsync(UpdateBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateBucketLongRunningAsync(UpdateBucketRequest request, CallOptions options)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateBucketLongRunningAsync(UpdateBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateBucketLongRunningAsync(UpdateBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
Name Description
request UpdateBucketRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateCmekSettings(UpdateCmekSettingsRequest, CallOptions)

public virtual CmekSettings UpdateCmekSettings(UpdateCmekSettingsRequest request, CallOptions options)

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][google.logging.v2.ConfigServiceV2.UpdateCmekSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateCmekSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
CmekSettings

The response received from the server.

UpdateCmekSettings(UpdateCmekSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual CmekSettings UpdateCmekSettings(UpdateCmekSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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][google.logging.v2.ConfigServiceV2.UpdateCmekSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateCmekSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
CmekSettings

The response received from the server.

UpdateCmekSettingsAsync(UpdateCmekSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<CmekSettings> UpdateCmekSettingsAsync(UpdateCmekSettingsRequest request, CallOptions options)

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][google.logging.v2.ConfigServiceV2.UpdateCmekSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateCmekSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallCmekSettings

The call object.

UpdateCmekSettingsAsync(UpdateCmekSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CmekSettings> UpdateCmekSettingsAsync(UpdateCmekSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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][google.logging.v2.ConfigServiceV2.UpdateCmekSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateCmekSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallCmekSettings

The call object.

UpdateExclusion(UpdateExclusionRequest, CallOptions)

public virtual LogExclusion UpdateExclusion(UpdateExclusionRequest request, CallOptions options)

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

Parameters
Name Description
request UpdateExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogExclusion

The response received from the server.

UpdateExclusion(UpdateExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual LogExclusion UpdateExclusion(UpdateExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request UpdateExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogExclusion

The response received from the server.

UpdateExclusionAsync(UpdateExclusionRequest, CallOptions)

public virtual AsyncUnaryCall<LogExclusion> UpdateExclusionAsync(UpdateExclusionRequest request, CallOptions options)

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

Parameters
Name Description
request UpdateExclusionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogExclusion

The call object.

UpdateExclusionAsync(UpdateExclusionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogExclusion> UpdateExclusionAsync(UpdateExclusionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request UpdateExclusionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogExclusion

The call object.

UpdateSettings(UpdateSettingsRequest, CallOptions)

public virtual Settings UpdateSettings(UpdateSettingsRequest request, CallOptions options)

Updates the Log Router settings for the given resource.

Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Settings

The response received from the server.

UpdateSettings(UpdateSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual Settings UpdateSettings(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the Log Router settings for the given resource.

Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Settings

The response received from the server.

UpdateSettingsAsync(UpdateSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallOptions options)

Updates the Log Router settings for the given resource.

Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSettings

The call object.

UpdateSettingsAsync(UpdateSettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the Log Router settings for the given resource.

Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings] will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled. 4) location_id is not supported by Logging. 5) location_id violate OrgPolicy.

See Enabling CMEK for Log Router for more information.

Parameters
Name Description
request UpdateSettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSettings

The call object.

UpdateSink(UpdateSinkRequest, CallOptions)

public virtual LogSink UpdateSink(UpdateSinkRequest request, CallOptions options)

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.

The updated sink might also have a new writer_identity; see the unique_writer_identity field.

Parameters
Name Description
request UpdateSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogSink

The response received from the server.

UpdateSink(UpdateSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual LogSink UpdateSink(UpdateSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.

The updated sink might also have a new writer_identity; see the unique_writer_identity field.

Parameters
Name Description
request UpdateSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogSink

The response received from the server.

UpdateSinkAsync(UpdateSinkRequest, CallOptions)

public virtual AsyncUnaryCall<LogSink> UpdateSinkAsync(UpdateSinkRequest request, CallOptions options)

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.

The updated sink might also have a new writer_identity; see the unique_writer_identity field.

Parameters
Name Description
request UpdateSinkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogSink

The call object.

UpdateSinkAsync(UpdateSinkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogSink> UpdateSinkAsync(UpdateSinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.

The updated sink might also have a new writer_identity; see the unique_writer_identity field.

Parameters
Name Description
request UpdateSinkRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogSink

The call object.

UpdateView(UpdateViewRequest, CallOptions)

public virtual LogView UpdateView(UpdateViewRequest request, CallOptions options)

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

Parameters
Name Description
request UpdateViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LogView

The response received from the server.

UpdateView(UpdateViewRequest, Metadata, DateTime?, CancellationToken)

public virtual LogView UpdateView(UpdateViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request UpdateViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LogView

The response received from the server.

UpdateViewAsync(UpdateViewRequest, CallOptions)

public virtual AsyncUnaryCall<LogView> UpdateViewAsync(UpdateViewRequest request, CallOptions options)

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

Parameters
Name Description
request UpdateViewRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLogView

The call object.

UpdateViewAsync(UpdateViewRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LogView> UpdateViewAsync(UpdateViewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request UpdateViewRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLogView

The call object.