google.golang.org/api/internal.DialSettings.CredentialsFile (field)
7 uses
google.golang.org/api/internal (current package)
creds.go#L39: if ds.CredentialsFile != "" {
creds.go#L40: data, err := ioutil.ReadFile(ds.CredentialsFile)
settings.go#L28: CredentialsFile string // if set, Token Source is ignored.
settings.go#L56: hasCreds := ds.APIKey != "" || ds.TokenSource != nil || ds.CredentialsFile != "" || ds.Credentials != nil
settings.go#L70: if ds.CredentialsFile != "" {
settings.go#L83: if nCreds > 1 && !(nCreds == 2 && ds.TokenSource != nil && ds.CredentialsFile != "") {
google.golang.org/api/option
option.go#L38: o.CredentialsFile = string(w)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |