BillingAccountsSinks
class BillingAccountsSinks extends Resource (View source)
The "sinks" collection of methods.
Typical usage is:
$loggingService = new Google\Service\Logging(...);
$sinks = $loggingService->billingAccounts_sinks;
Methods
Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. (sinks.create)
Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. (sinks.delete)
Lists sinks. (sinks.listBillingAccountsSinks)
Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. (sinks.patch)
Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. (sinks.update)
Details
LogSink
create(string $parent, LogSink $postBody, array $optParams = [])
Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. (sinks.create)
LoggingEmpty
delete(string $sinkName, array $optParams = [])
Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. (sinks.delete)
LogSink
get(string $sinkName, array $optParams = [])
Gets a sink. (sinks.get)
ListSinksResponse
listBillingAccountsSinks(string $parent, array $optParams = [])
Lists sinks. (sinks.listBillingAccountsSinks)
LogSink
patch(string $sinkName, LogSink $postBody, array $optParams = [])
Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. (sinks.patch)
LogSink
update(string $sinkName, LogSink $postBody, array $optParams = [])
Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. (sinks.update)