commit | 5238dbc48971a7295127be0f415280248608c6be | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Fri May 17 21:58:16 2024 +0000 |
committer | GitHub <noreply@github.com> | Fri May 17 21:58:16 2024 +0000 |
tree | 036c2ba5ad313fc20d50ecdad4ab72aa385413a0 | |
parent | c2920d7c9007a11d9232c628fba5496197deeba4 [diff] |
feat(maps/places): add `generative_summary` and `area_summary` for place summaries (#10204) - [ ] Regenerate this pull request now. feat(maps/places): add `contextual_contents` field for contextual search results docs(maps/places): `included_primary_types` supports type collections `(regions)` and `(cities)` Introduces Place summaries and Contextual Search Results features. PiperOrigin-RevId: 634816526 Source-Link: https://togithub.com/googleapis/googleapis/commit/badabdc603da74644f379ab4a5a35cb34eac1a27 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/bec34dc87380c27a7271a4d4f9ebedf84e81f831 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmVjMzRkYzg3MzgwYzI3YTcyNzFhNGQ0ZjllYmVkZjg0ZTgxZjgzMSJ9 BEGIN_NESTED_COMMIT feat(netapp): Add a new Service Level FLEX feat(netapp): Add Tiering Policy to Volume feat(netapp): Add backup chain bytes to BackupConfig in Volume feat(netapp): Add Location metadata support PiperOrigin-RevId: 634521970 Source-Link: https://togithub.com/googleapis/googleapis/commit/a07bf82eb48d79bc113620b3fb517a3ebe92989c Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/77bcbe2675528eec15dc46caebeff2db9de96543 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzdiY2JlMjY3NTUyOGVlYzE1ZGM0NmNhZWJlZmYyZGI5ZGU5NjU0MyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(ai/generativelanguage): Add video metadata to files API feat(ai/generativelanguage): Update timeouts for generate content docs(ai/generativelanguage): Minor updates PiperOrigin-RevId: 634425922 Source-Link: https://togithub.com/googleapis/googleapis/commit/298a53b52918552dc1e72b767ff41f4207217b85 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e549e3ff4fbfdc3579f2eef59ea08c70706d46f2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU0OWUzZmY0ZmJmZGMzNTc5ZjJlZWY1OWVhMDhjNzA3MDZkNDZmMiJ9 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.