ConfigServiceV2Client class

Service for configuring sinks used to route log entries.

Annotations
  • @GrpcServiceName.new('google.logging.v2.ConfigServiceV2')

Constructors

ConfigServiceV2Client(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
copyLogEntries(CopyLogEntriesRequest request, {CallOptions? options}) → ResponseFuture<Operation>
Copies a set of log entries from a log bucket to a Cloud Storage bucket.
createBucket(CreateBucketRequest request, {CallOptions? options}) → ResponseFuture<LogBucket>
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.
createExclusion(CreateExclusionRequest request, {CallOptions? options}) → ResponseFuture<LogExclusion>
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.
createSink(CreateSinkRequest request, {CallOptions? options}) → ResponseFuture<LogSink>
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.
createView(CreateViewRequest request, {CallOptions? options}) → ResponseFuture<LogView>
Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
deleteBucket(DeleteBucketRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Deletes a log bucket.
deleteExclusion(DeleteExclusionRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Deletes an exclusion in the _Default sink.
deleteSink(DeleteSinkRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
deleteView(DeleteViewRequest request, {CallOptions? options}) → ResponseFuture<Empty>
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.
getBucket(GetBucketRequest request, {CallOptions? options}) → ResponseFuture<LogBucket>
Gets a log bucket.
getCmekSettings(GetCmekSettingsRequest request, {CallOptions? options}) → ResponseFuture<CmekSettings>
Gets the Logging CMEK settings for the given resource.
getExclusion(GetExclusionRequest request, {CallOptions? options}) → ResponseFuture<LogExclusion>
Gets the description of an exclusion in the _Default sink.
getSettings(GetSettingsRequest request, {CallOptions? options}) → ResponseFuture<Settings>
Gets the Log Router settings for the given resource.
getSink(GetSinkRequest request, {CallOptions? options}) → ResponseFuture<LogSink>
Gets a sink.
getView(GetViewRequest request, {CallOptions? options}) → ResponseFuture<LogView>
Gets a view on a log bucket..
listBuckets(ListBucketsRequest request, {CallOptions? options}) → ResponseFuture<ListBucketsResponse>
Lists log buckets.
listExclusions(ListExclusionsRequest request, {CallOptions? options}) → ResponseFuture<ListExclusionsResponse>
Lists all the exclusions on the _Default sink in a parent resource.
listSinks(ListSinksRequest request, {CallOptions? options}) → ResponseFuture<ListSinksResponse>
Lists sinks.
listViews(ListViewsRequest request, {CallOptions? options}) → ResponseFuture<ListViewsResponse>
Lists views on a log bucket.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
undeleteBucket(UndeleteBucketRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
updateBucket(UpdateBucketRequest request, {CallOptions? options}) → ResponseFuture<LogBucket>
Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_period
updateCmekSettings(UpdateCmekSettingsRequest request, {CallOptions? options}) → ResponseFuture<CmekSettings>
Updates the Log Router CMEK settings for the given resource.
updateExclusion(UpdateExclusionRequest request, {CallOptions? options}) → ResponseFuture<LogExclusion>
Changes one or more properties of an existing exclusion in the _Default sink.
updateSettings(UpdateSettingsRequest request, {CallOptions? options}) → ResponseFuture<Settings>
Updates the Log Router settings for the given resource.
updateSink(UpdateSinkRequest request, {CallOptions? options}) → ResponseFuture<LogSink>
Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.
updateView(UpdateViewRequest request, {CallOptions? options}) → ResponseFuture<LogView>
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.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultHost → const String
The hostname for this service.
oauthScopes → const List<String>
OAuth scopes needed for the client.