Add client_info
to constructors for manual clients
#7825
Labels
api: bigquery
Issues related to the BigQuery API.
api: bigtable
Issues related to the Bigtable API.
api: clouderrorreporting
Issues related to the Error Reporting API.
api: cloudresourcemanager
Issues related to the Resource Manager API.
api: cloudtrace
Issues related to the Cloud Trace API.
api: datastore
Issues related to the Datastore API.
api: dns
Issues related to the Cloud DNS API.
api: firestore
Issues related to the Firestore API.
api: logging
Issues related to the Cloud Logging API.
api: pubsub
Issues related to the Pub/Sub API.
api: runtimeconfig
Issues related to the Cloud Runtime Config API API.
api: spanner
Issues related to the Spanner API.
api: storage
Issues related to the Cloud Storage API.
api: translation
Issues related to the Cloud Translation API API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
The
client_info
constructor argument is the standard argument for changing user agent headers in GAPIC clients. Adding auser_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
:client_info
to BigQuery constructor for user-amenable user agent headers #7806)**kwargs
)user_agent
argument already, but it's currently a no-op. Should mark that as deprecated. (Spanner: add client_info support to client. #7878)v3beta1
is pure-autogen)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.
The text was updated successfully, but these errors were encountered: