Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add client_info to constructors for manual clients #7825

Closed
@tswast

Description

@tswast

The client_info constructor argument is the standard argument for changing user agent headers in GAPIC clients. Adding a user_agent prefix identifying an app or tool is required for many partners who use Google APIs.

Handwritten clients should provide a similar client_info argument to the client constructor. See how this was done in BigQuery at #7806.

Clients that need client_info:

I've heard requests for this feature in the Storage client, so I'd prioritize that one above the others, but we do need this feature across all clients.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.api: bigtableIssues related to the Bigtable API.api: clouderrorreportingIssues related to the Error Reporting API.api: cloudresourcemanagerIssues related to the Resource Manager API.api: cloudtraceIssues related to the Cloud Trace API.api: datastoreIssues related to the Datastore API.api: dnsIssues related to the Cloud DNS API.api: firestoreIssues related to the Firestore API.api: loggingIssues related to the Cloud Logging API.api: pubsubIssues related to the Pub/Sub API.api: runtimeconfigIssues related to the Cloud Runtime Config API API.api: spannerIssues related to the Spanner API.api: storageIssues related to the Cloud Storage API.api: translationIssues related to the Cloud Translation API API.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