Options used when retrieving a client instance from the client store.
This interface extends the base ClientConfig and adds:
apiVersion: A required string indicating the API version for the client.
scope: An optional flag to choose between the project-specific client
('project') and the global client ('global'). When set to 'global', the
global client is used.
These options are utilized by getClient and getClientState to configure and
return appropriate client instances that automatically handle authentication
updates and configuration changes.
A required string indicating the API version for the client.
Optionalscope
scope?:"global"|"default"
An optional flag to choose between the default client (typically project-level)
and the global client ('global'). When set to 'global', the global client
is used.
Options used when retrieving a client instance from the client store.
This interface extends the base ClientConfig and adds:
'global'
, the global client is used.These options are utilized by
getClient
andgetClientState
to configure and return appropriate client instances that automatically handle authentication updates and configuration changes.