public sealed class ConfigServiceV2ClientImpl : ConfigServiceV2Client
ConfigServiceV2 client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Remarks
Service for configuring sinks used to route log entries.
Constructors
ConfigServiceV2ClientImpl(ConfigServiceV2.ConfigServiceV2Client, ConfigServiceV2Settings)
public ConfigServiceV2ClientImpl(ConfigServiceV2.ConfigServiceV2Client grpcClient, ConfigServiceV2Settings settings)
Constructs a client wrapper for the ConfigServiceV2 service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ConfigServiceV2.ConfigServiceV2Client The underlying gRPC client. |
settings | ConfigServiceV2Settings The base ConfigServiceV2Settings used within this client. |
Properties
GrpcClient
public override ConfigServiceV2.ConfigServiceV2Client GrpcClient { get; }
The underlying gRPC ConfigServiceV2 client
Property Value | |
---|---|
Type | Description |
ConfigServiceV2.ConfigServiceV2Client |
Methods
CreateBucket(CreateBucketRequest, CallSettings)
public override LogBucket CreateBucket(CreateBucketRequest request, CallSettings callSettings = null)
Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.
Parameters | |
---|---|
Name | Description |
request | CreateBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogBucket | The RPC response. |
CreateBucketAsync(CreateBucketRequest, CallSettings)
public override Task<LogBucket> CreateBucketAsync(CreateBucketRequest request, CallSettings callSettings = null)
Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.
Parameters | |
---|---|
Name | Description |
request | CreateBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogBucket> | A Task containing the RPC response. |
CreateExclusion(CreateExclusionRequest, CallSettings)
public override LogExclusion CreateExclusion(CreateExclusionRequest request, CallSettings callSettings = null)
Creates a new exclusion 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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogExclusion | The RPC response. |
CreateExclusionAsync(CreateExclusionRequest, CallSettings)
public override Task<LogExclusion> CreateExclusionAsync(CreateExclusionRequest request, CallSettings callSettings = null)
Creates a new exclusion 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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogExclusion> | A Task containing the RPC response. |
CreateSink(CreateSinkRequest, CallSettings)
public override LogSink CreateSink(CreateSinkRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogSink | The RPC response. |
CreateSinkAsync(CreateSinkRequest, CallSettings)
public override Task<LogSink> CreateSinkAsync(CreateSinkRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogSink> | A Task containing the RPC response. |
CreateView(CreateViewRequest, CallSettings)
public override LogView CreateView(CreateViewRequest request, CallSettings callSettings = null)
Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.
Parameters | |
---|---|
Name | Description |
request | CreateViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogView | The RPC response. |
CreateViewAsync(CreateViewRequest, CallSettings)
public override Task<LogView> CreateViewAsync(CreateViewRequest request, CallSettings callSettings = null)
Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.
Parameters | |
---|---|
Name | Description |
request | CreateViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogView> | A Task containing the RPC response. |
DeleteBucket(DeleteBucketRequest, CallSettings)
public override void DeleteBucket(DeleteBucketRequest request, CallSettings callSettings = null)
Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.
Parameters | |
---|---|
Name | Description |
request | DeleteBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteBucketAsync(DeleteBucketRequest, CallSettings)
public override Task DeleteBucketAsync(DeleteBucketRequest request, CallSettings callSettings = null)
Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.
Parameters | |
---|---|
Name | Description |
request | DeleteBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteExclusion(DeleteExclusionRequest, CallSettings)
public override void DeleteExclusion(DeleteExclusionRequest request, CallSettings callSettings = null)
Deletes an exclusion.
Parameters | |
---|---|
Name | Description |
request | DeleteExclusionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteExclusionAsync(DeleteExclusionRequest, CallSettings)
public override Task DeleteExclusionAsync(DeleteExclusionRequest request, CallSettings callSettings = null)
Deletes an exclusion.
Parameters | |
---|---|
Name | Description |
request | DeleteExclusionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteSink(DeleteSinkRequest, CallSettings)
public override void DeleteSink(DeleteSinkRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteSinkAsync(DeleteSinkRequest, CallSettings)
public override Task DeleteSinkAsync(DeleteSinkRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteView(DeleteViewRequest, CallSettings)
public override void DeleteView(DeleteViewRequest request, CallSettings callSettings = null)
Deletes a view from a bucket.
Parameters | |
---|---|
Name | Description |
request | DeleteViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteViewAsync(DeleteViewRequest, CallSettings)
public override Task DeleteViewAsync(DeleteViewRequest request, CallSettings callSettings = null)
Deletes a view from a bucket.
Parameters | |
---|---|
Name | Description |
request | DeleteViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetBucket(GetBucketRequest, CallSettings)
public override LogBucket GetBucket(GetBucketRequest request, CallSettings callSettings = null)
Gets a bucket.
Parameters | |
---|---|
Name | Description |
request | GetBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogBucket | The RPC response. |
GetBucketAsync(GetBucketRequest, CallSettings)
public override Task<LogBucket> GetBucketAsync(GetBucketRequest request, CallSettings callSettings = null)
Gets a bucket.
Parameters | |
---|---|
Name | Description |
request | GetBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogBucket> | A Task containing the RPC response. |
GetCmekSettings(GetCmekSettingsRequest, CallSettings)
public override CmekSettings GetCmekSettings(GetCmekSettingsRequest request, CallSettings callSettings = null)
Gets the Logs Router CMEK settings for the given resource.
Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.
See Enabling CMEK for Logs Router for more information.
Parameters | |
---|---|
Name | Description |
request | GetCmekSettingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CmekSettings | The RPC response. |
GetCmekSettingsAsync(GetCmekSettingsRequest, CallSettings)
public override Task<CmekSettings> GetCmekSettingsAsync(GetCmekSettingsRequest request, CallSettings callSettings = null)
Gets the Logs Router CMEK settings for the given resource.
Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.
See Enabling CMEK for Logs Router for more information.
Parameters | |
---|---|
Name | Description |
request | GetCmekSettingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CmekSettings> | A Task containing the RPC response. |
GetExclusion(GetExclusionRequest, CallSettings)
public override LogExclusion GetExclusion(GetExclusionRequest request, CallSettings callSettings = null)
Gets the description of an exclusion.
Parameters | |
---|---|
Name | Description |
request | GetExclusionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogExclusion | The RPC response. |
GetExclusionAsync(GetExclusionRequest, CallSettings)
public override Task<LogExclusion> GetExclusionAsync(GetExclusionRequest request, CallSettings callSettings = null)
Gets the description of an exclusion.
Parameters | |
---|---|
Name | Description |
request | GetExclusionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogExclusion> | A Task containing the RPC response. |
GetSink(GetSinkRequest, CallSettings)
public override LogSink GetSink(GetSinkRequest request, CallSettings callSettings = null)
Gets a sink.
Parameters | |
---|---|
Name | Description |
request | GetSinkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogSink | The RPC response. |
GetSinkAsync(GetSinkRequest, CallSettings)
public override Task<LogSink> GetSinkAsync(GetSinkRequest request, CallSettings callSettings = null)
Gets a sink.
Parameters | |
---|---|
Name | Description |
request | GetSinkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogSink> | A Task containing the RPC response. |
GetView(GetViewRequest, CallSettings)
public override LogView GetView(GetViewRequest request, CallSettings callSettings = null)
Gets a view.
Parameters | |
---|---|
Name | Description |
request | GetViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogView | The RPC response. |
GetViewAsync(GetViewRequest, CallSettings)
public override Task<LogView> GetViewAsync(GetViewRequest request, CallSettings callSettings = null)
Gets a view.
Parameters | |
---|---|
Name | Description |
request | GetViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogView> | A Task containing the RPC response. |
ListBuckets(ListBucketsRequest, CallSettings)
public override PagedEnumerable<ListBucketsResponse, LogBucket> ListBuckets(ListBucketsRequest request, CallSettings callSettings = null)
Lists buckets.
Parameters | |
---|---|
Name | Description |
request | ListBucketsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListBucketsResponse, LogBucket> | A pageable sequence of LogBucket resources. |
ListBucketsAsync(ListBucketsRequest, CallSettings)
public override PagedAsyncEnumerable<ListBucketsResponse, LogBucket> ListBucketsAsync(ListBucketsRequest request, CallSettings callSettings = null)
Lists buckets.
Parameters | |
---|---|
Name | Description |
request | ListBucketsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListBucketsResponse, LogBucket> | A pageable asynchronous sequence of LogBucket resources. |
ListExclusions(ListExclusionsRequest, CallSettings)
public override PagedEnumerable<ListExclusionsResponse, LogExclusion> ListExclusions(ListExclusionsRequest request, CallSettings callSettings = null)
Lists all the exclusions in a parent resource.
Parameters | |
---|---|
Name | Description |
request | ListExclusionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListExclusionsResponse, LogExclusion> | A pageable sequence of LogExclusion resources. |
ListExclusionsAsync(ListExclusionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListExclusionsResponse, LogExclusion> ListExclusionsAsync(ListExclusionsRequest request, CallSettings callSettings = null)
Lists all the exclusions in a parent resource.
Parameters | |
---|---|
Name | Description |
request | ListExclusionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListExclusionsResponse, LogExclusion> | A pageable asynchronous sequence of LogExclusion resources. |
ListSinks(ListSinksRequest, CallSettings)
public override PagedEnumerable<ListSinksResponse, LogSink> ListSinks(ListSinksRequest request, CallSettings callSettings = null)
Lists sinks.
Parameters | |
---|---|
Name | Description |
request | ListSinksRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListSinksResponse, LogSink> | A pageable sequence of LogSink resources. |
ListSinksAsync(ListSinksRequest, CallSettings)
public override PagedAsyncEnumerable<ListSinksResponse, LogSink> ListSinksAsync(ListSinksRequest request, CallSettings callSettings = null)
Lists sinks.
Parameters | |
---|---|
Name | Description |
request | ListSinksRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListSinksResponse, LogSink> | A pageable asynchronous sequence of LogSink resources. |
ListViews(ListViewsRequest, CallSettings)
public override PagedEnumerable<ListViewsResponse, LogView> ListViews(ListViewsRequest request, CallSettings callSettings = null)
Lists views on a bucket.
Parameters | |
---|---|
Name | Description |
request | ListViewsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListViewsResponse, LogView> | A pageable sequence of LogView resources. |
ListViewsAsync(ListViewsRequest, CallSettings)
public override PagedAsyncEnumerable<ListViewsResponse, LogView> ListViewsAsync(ListViewsRequest request, CallSettings callSettings = null)
Lists views on a bucket.
Parameters | |
---|---|
Name | Description |
request | ListViewsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListViewsResponse, LogView> | A pageable asynchronous sequence of LogView resources. |
UndeleteBucket(UndeleteBucketRequest, CallSettings)
public override void UndeleteBucket(UndeleteBucketRequest request, CallSettings callSettings = null)
Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.
Parameters | |
---|---|
Name | Description |
request | UndeleteBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
UndeleteBucketAsync(UndeleteBucketRequest, CallSettings)
public override Task UndeleteBucketAsync(UndeleteBucketRequest request, CallSettings callSettings = null)
Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.
Parameters | |
---|---|
Name | Description |
request | UndeleteBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
UpdateBucket(UpdateBucketRequest, CallSettings)
public override LogBucket UpdateBucket(UpdateBucketRequest request, CallSettings callSettings = null)
Updates a bucket. This method replaces the following fields in the
existing bucket with values from the new bucket: retention_period
If the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.
If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.
A buckets region may not be modified after it is created.
Parameters | |
---|---|
Name | Description |
request | UpdateBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogBucket | The RPC response. |
UpdateBucketAsync(UpdateBucketRequest, CallSettings)
public override Task<LogBucket> UpdateBucketAsync(UpdateBucketRequest request, CallSettings callSettings = null)
Updates a bucket. This method replaces the following fields in the
existing bucket with values from the new bucket: retention_period
If the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.
If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.
A buckets region may not be modified after it is created.
Parameters | |
---|---|
Name | Description |
request | UpdateBucketRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogBucket> | A Task containing the RPC response. |
UpdateCmekSettings(UpdateCmekSettingsRequest, CallSettings)
public override CmekSettings UpdateCmekSettings(UpdateCmekSettingsRequest request, CallSettings callSettings = null)
Updates the Logs Router CMEK settings for the given resource.
Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP 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 Logs Router for more information.
Parameters | |
---|---|
Name | Description |
request | UpdateCmekSettingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CmekSettings | The RPC response. |
UpdateCmekSettingsAsync(UpdateCmekSettingsRequest, CallSettings)
public override Task<CmekSettings> UpdateCmekSettingsAsync(UpdateCmekSettingsRequest request, CallSettings callSettings = null)
Updates the Logs Router CMEK settings for the given resource.
Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP 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 Logs Router for more information.
Parameters | |
---|---|
Name | Description |
request | UpdateCmekSettingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CmekSettings> | A Task containing the RPC response. |
UpdateExclusion(UpdateExclusionRequest, CallSettings)
public override LogExclusion UpdateExclusion(UpdateExclusionRequest request, CallSettings callSettings = null)
Changes one or more properties of an existing exclusion.
Parameters | |
---|---|
Name | Description |
request | UpdateExclusionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogExclusion | The RPC response. |
UpdateExclusionAsync(UpdateExclusionRequest, CallSettings)
public override Task<LogExclusion> UpdateExclusionAsync(UpdateExclusionRequest request, CallSettings callSettings = null)
Changes one or more properties of an existing exclusion.
Parameters | |
---|---|
Name | Description |
request | UpdateExclusionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogExclusion> | A Task containing the RPC response. |
UpdateSink(UpdateSinkRequest, CallSettings)
public override LogSink UpdateSink(UpdateSinkRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogSink | The RPC response. |
UpdateSinkAsync(UpdateSinkRequest, CallSettings)
public override Task<LogSink> UpdateSinkAsync(UpdateSinkRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogSink> | A Task containing the RPC response. |
UpdateView(UpdateViewRequest, CallSettings)
public override LogView UpdateView(UpdateViewRequest request, CallSettings callSettings = null)
Updates a view. This method replaces the following fields in the existing
view with values from the new view: filter
.
Parameters | |
---|---|
Name | Description |
request | UpdateViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LogView | The RPC response. |
UpdateViewAsync(UpdateViewRequest, CallSettings)
public override Task<LogView> UpdateViewAsync(UpdateViewRequest request, CallSettings callSettings = null)
Updates a view. This method replaces the following fields in the existing
view with values from the new view: filter
.
Parameters | |
---|---|
Name | Description |
request | UpdateViewRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LogView> | A Task containing the RPC response. |