ConfigServiceV2GrpcClient
class ConfigServiceV2GrpcClient extends BaseStub
Service for configuring sinks used to export log entries outside of Stackdriver Logging.
Methods
No description
Creates a sink that exports specified log entries to a destination. The
export of newly-ingested log entries begins immediately, unless the current
time is outside the sink's start and end times or 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.
Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create.
Deletes a sink. If the sink has a unique writer_identity
, then that
service account is also deleted.
Details
at line 32
__construct(string $hostname, array $opts, Channel $channel = null)
at line 42
ListSinks(ListSinksRequest $argument, array $metadata = [], array $options = [])
Lists sinks.
at line 56
GetSink(GetSinkRequest $argument, array $metadata = [], array $options = [])
Gets a sink.
at line 74
CreateSink(CreateSinkRequest $argument, array $metadata = [], array $options = [])
Creates a sink that exports specified log entries to a destination. The
export of newly-ingested log entries begins immediately, unless the current
time is outside the sink's start and end times or 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.
at line 95
UpdateSink(UpdateSinkRequest $argument, array $metadata = [], array $options = [])
Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create.
If the named sink does exist, then this method replaces the following
fields in the existing sink with values from the new sink: destination
,
filter
, output_version_format
, start_time
, and end_time
.
The updated filter might also have a new writer_identity
; see the
unique_writer_identity
field.
at line 110
DeleteSink(DeleteSinkRequest $argument, array $metadata = [], array $options = [])
Deletes a sink. If the sink has a unique writer_identity
, then that
service account is also deleted.