commit | 48344254a5d21ec51ffee275c78a15c9345dc09c | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Wed Mar 27 21:12:16 2024 +0000 |
committer | GitHub <noreply@github.com> | Wed Mar 27 21:12:16 2024 +0000 |
tree | 839b481d03236c588a9f6f29b69440fbdafb7cd5 | |
parent | 98f33fdfdd1840ab2c26a3fd669ff8599d61ed96 [diff] |
feat(shopping): Add DEMAND_GEN_ADS and DEMAND_GEN_ADS_DISCOVER_SURFACE in ReportingContextEnum (#9648) - [ ] Regenerate this pull request now. docs: Deprecate DISCOVERY_ADS and document the new enum values PiperOrigin-RevId: 619534137 Source-Link: https://togithub.com/googleapis/googleapis/commit/b4771b17d48844799d73f88f51de0bf5b7bb05ca Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/bd9798abf4dd809911e31ec7c2174f9817c72c69 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmQ5Nzk4YWJmNGRkODA5OTExZTMxZWM3YzIxNzRmOTgxN2M3MmM2OSJ9 BEGIN_NESTED_COMMIT feat(networkmanagement): add an "unsupported" type of firewall policy rule PiperOrigin-RevId: 619524306 Source-Link: https://togithub.com/googleapis/googleapis/commit/b99801549985c5631d1e79d2d3e932b3a52aa3ad Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/be13df91518b4d10aea475e5a0e7141f41aaef42 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmUxM2RmOTE1MThiNGQxMGFlYTQ3NWU1YTBlNzE0MWY0MWFhZWY0MiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(dialogflow/cx): added support for DataStoreConnection, DataStoreConnectionSettings feat: added support for SpeechSettings feat: added support for MultiLanguageSettings feat: added support for PersonalizationSettings feat: added support for Webhook OAuthConfig, and ServiceAgentAuth Settings. docs: clarified wording around quota usage PiperOrigin-RevId: 619327167 Source-Link: https://togithub.com/googleapis/googleapis/commit/5b2528052057f35d54ae20d846989de319121bf9 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d4a079f658f29c13315b104422821a0279cc4b76 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDRhMDc5ZjY1OGYyOWMxMzMxNWIxMDQ0MjI4MjFhMDI3OWNjNGI3NiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(confidentialcomputing): Add additional `TokenType` options (`TOKEN_TYPE_PKI` and `TOKEN_TYPE_LIMITED_AWS`) PiperOrigin-RevId: 619305466 Source-Link: https://togithub.com/googleapis/googleapis/commit/9b6f3aa6d29fbf7931153a295e3784fe4ea8a4d9 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/56d70bd7f91e7780fa514f4df833fc1ab3ea916a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTZkNzBiZDdmOTFlNzc4MGZhNTE0ZjRkZjgzM2ZjMWFiM2VhOTE2YSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(cloudquotas): update comment of `contact_email` to make it optional as opposed to required --- docs: update sample URL in field for `service_request_quota_uri` PiperOrigin-RevId: 619290180 Source-Link: https://togithub.com/googleapis/googleapis/commit/2c24fa58df01faf95b55d6578a1fe2d625a453f8 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f2c194aaade29350c965775ccf83586025e3f29c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjJjMTk0YWFhZGUyOTM1MGM5NjU3NzVjY2Y4MzU4NjAyNWUzZjI5YyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(container): add several fields to manage state of database encryption update PiperOrigin-RevId: 619289281 Source-Link: https://togithub.com/googleapis/googleapis/commit/3a7c33486ca758b180c6d11dd4705fa9a22e8576 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/6a8c733062d833d11c5245eda50f5108e0e55324 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmE4YzczMzA2MmQ4MzNkMTFjNTI0NWVkYTUwZjUxMDhlMGU1NTMyNCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(aiplatform): add Vertex AI extension registry and execution related API and services to v1beta1 client docs: Update comment for `name` and `parameters` in message `.google.cloud.aiplatform.v1beta1.FunctionDeclaration` PiperOrigin-RevId: 619232581 Source-Link: https://togithub.com/googleapis/googleapis/commit/7870cbd33d27900081e3747b184779603d6c53d1 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d91b4ce94b7f286a94e151d7e539e2c2c8281947 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDkxYjRjZTk0YjdmMjg2YTk0ZTE1MWQ3ZTUzOWUyYzJjODI4MTk0NyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(pubsub): add custom datetime format for Cloud Storage subscriptions PiperOrigin-RevId: 619178723 Source-Link: https://togithub.com/googleapis/googleapis/commit/811a857dd5e5a500127d0470f16c2caca366435d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/768fb44d4daaea946a291f6795a50af26a515488 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzY4ZmI0NGQ0ZGFhZWE5NDZhMjkxZjY3OTVhNTBhZjI2YTUxNTQ4OCJ9 END_NESTED_COMMIT
Go packages for Google Cloud Platform services.
import "cloud.google.com/go"
To install the packages on your system, do not clone the repo. Instead:
cd /my/cloud/project
go get
the package(s) you want to use:go get cloud.google.com/go/firestore # Replace with the package you want to use.
NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.
For an updated list of all of our released APIs please see our reference docs.
Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:
By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.
client, err := storage.NewClient(ctx)
To authorize using a JSON key file, pass option.WithCredentialsFile
to the NewClient
function of the desired package. For example:
client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))
You can exert more control over authorization by using the golang.org/x/oauth2
package to create an oauth2.TokenSource
. Then pass option.WithTokenSource
to the NewClient
function:
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))
Contributions are welcome. Please, see the CONTRIBUTING document for details.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.