Skip to content

Sink: allow setting destination URI via Bucket, Topic, or Dataset instances #2127

Description

@tseaver

Make Sink.destination a property, and have its setter sniff at the type of the value, computing the correct URI if not already a string.

Con: additional imports would couple gcloud.logging.sink to gcloud.storage.bucket, gcloud.pubsub.topic, and gcloud.bigquery.dataset.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions