{"id":3514042,"name":"github.com/googlecloudplatform/google-cloud-go","ecosystem":"go","description":"Package cloud is the root of the packages used to access Google Cloud\nServices. See https://godoc.org/cloud.google.com/go for a full list\nof sub-packages.\n\nAll clients in sub-packages are configurable via client options. These options are\ndescribed here: https://godoc.org/google.golang.org/api/option.\n\nAll the clients in sub-packages support authentication via Google Application Default\nCredentials (see https://cloud.google.com/docs/authentication/production), or\nby providing a JSON key file for a Service Account. See the authentication examples\nin this package for details.\n\nBy default, all requests in sub-packages will run indefinitely, retrying on transient\nerrors when correctness allows. To set timeouts or arrange for cancellation, use\ncontexts. See the examples for details.\n\nDo not attempt to control the initial connection (dialing) of a service by setting a\ntimeout on the context passed to NewClient. Dialing is non-blocking, so timeouts\nwould be ineffective and would only interfere with credential refreshing, which uses\nthe same context.\n\nConnection pooling differs in clients based on their transport. Cloud\nclients either rely on HTTP or gRPC transports to communicate\nwith Google Cloud.\n\nCloud clients that use HTTP (bigquery, compute, storage, and translate) rely on the\nunderlying HTTP transport to cache connections for later re-use. These are cached to\nthe default http.MaxIdleConns and http.MaxIdleConnsPerHost settings in\nhttp.DefaultTransport.\n\nFor gRPC clients (all others in this repo), connection pooling is configurable. Users\nof cloud client libraries may specify option.WithGRPCConnectionPool(n) as a client\noption to NewClient calls. This configures the underlying gRPC connections to be\npooled and addressed in a round robin fashion.\n\nMinimal docker images like Alpine lack CA certificates. This causes RPCs to appear to\nhang, because gRPC retries indefinitely. See https://github.com/GoogleCloudPlatform/google-cloud-go/issues/928\nfor more information.\n\nTo see gRPC logs, set the environment variable GRPC_GO_LOG_SEVERITY_LEVEL. See\nhttps://godoc.org/google.golang.org/grpc/grpclog for more information.\n\nFor HTTP logging, set the GODEBUG environment variable to \"http2debug=1\" or \"http2debug=2\".\n\nGoogle Application Default Credentials is the recommended way to authorize\nand authenticate clients.\n\nFor information on how to create and obtain Application Default Credentials, see\nhttps://developers.google.com/identity/protocols/application-default-credentials.\n\n\nTo arrange for an RPC to be canceled, use context.WithCancel.\n\n\nYou can use a file with credentials to authenticate and authorize, such as a JSON\nkey file associated with a Google service account. Service Account keys can be\ncreated and downloaded from\nhttps://console.developers.google.com/permissions/serviceaccounts.\n\nThis example uses the Datastore client, but the same steps apply to\nthe other client libraries underneath this package.\n\n\nIn some cases (for instance, you don't want to store secrets on disk), you can\ncreate credentials from in-memory JSON and use the WithCredentials option.\n\nThe google package in this example is at golang.org/x/oauth2/google.\n\nThis example uses the PubSub client, but the same steps apply to\nthe other client libraries underneath this package.\n\n\nTo set a timeout for an RPC, use context.WithTimeout.","homepage":"https://github.com/googlecloudplatform/google-cloud-go","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/googlecloudplatform/google-cloud-go","keywords_array":[],"namespace":"github.com/googlecloudplatform","versions_count":171,"first_release_published_at":"2016-08-03T22:20:50.000Z","latest_release_published_at":"2025-09-22T16:26:20.000Z","latest_release_number":"v0.123.0","last_synced_at":"2026-06-16T06:19:02.910Z","created_at":"2022-04-10T21:29:08.102Z","updated_at":"2026-06-16T06:19:02.910Z","registry_url":"https://pkg.go.dev/github.com/googlecloudplatform/google-cloud-go","install_command":"go get github.com/googlecloudplatform/google-cloud-go","documentation_url":"https://pkg.go.dev/github.com/googlecloudplatform/google-cloud-go#section-documentation","metadata":{},"repo_metadata":{},"repo_metadata_updated_at":"2023-03-21T18:41:18.672Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":null,"forks_count":null,"average":8.172500131868823},"purl":"pkg:golang/github.com/googlecloudplatform/google-cloud-go","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/googlecloudplatform/google-cloud-go","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/googlecloudplatform/google-cloud-go","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/googlecloudplatform/google-cloud-go/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgooglecloudplatform%2Fgoogle-cloud-go/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgooglecloudplatform%2Fgoogle-cloud-go/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgooglecloudplatform%2Fgoogle-cloud-go/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgooglecloudplatform%2Fgoogle-cloud-go/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgooglecloudplatform%2Fgoogle-cloud-go/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgooglecloudplatform%2Fgoogle-cloud-go/codemeta","maintainers":[]}