Versions in this module Expand all Collapse all v1 v1.0.1-GA Aug 19, 2016 v1.0.0 Jul 11, 2016 Changes in this version + func NewApplicationDefault(ctx context.Context, scope ...string) (credentials.PerRPCCredentials, error) + func NewComputeEngine() credentials.PerRPCCredentials + func NewJWTAccessFromFile(keyFile string) (credentials.PerRPCCredentials, error) + func NewJWTAccessFromKey(jsonKey []byte) (credentials.PerRPCCredentials, error) + func NewOauthAccess(token *oauth2.Token) credentials.PerRPCCredentials + func NewServiceAccountFromFile(keyFile string, scope ...string) (credentials.PerRPCCredentials, error) + func NewServiceAccountFromKey(jsonKey []byte, scope ...string) (credentials.PerRPCCredentials, error) + type TokenSource struct + func (ts TokenSource) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) + func (ts TokenSource) RequireTransportSecurity() bool