commit | e3f8c89429a207c05fee36d5d93efe76f9e29efe | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Tue Aug 01 16:50:13 2023 +0000 |
committer | GitHub <noreply@github.com> | Tue Aug 01 16:50:13 2023 +0000 |
tree | f51f8285a85f45aca040f54efa019dfc67f20cd9 | |
parent | 313fd4a60380d36c5ecaead3e968dbc84d044a0b [diff] |
docs(dialogflow): Minor formatting (#8365) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 552790519 Source-Link: https://togithub.com/googleapis/googleapis/commit/a03330aeb83fc06de3734fa79bf4a31c909bf1c5 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/4caca49b3e073192cb4a295c1cfa1cf85266c28d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhY2E0OWIzZTA3MzE5MmNiNGEyOTVjMWNmYTFjZjg1MjY2YzI4ZCJ9 BEGIN_NESTED_COMMIT feat(firestore): publish proto definitions for SUM/AVG in Firestore PiperOrigin-RevId: 552607134 Source-Link: https://togithub.com/googleapis/googleapis/commit/88a9a5f9944682d1901923cc1376935c2c694595 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/047d73ae2fd4e526b474a617e168339d691b2510 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDQ3ZDczYWUyZmQ0ZTUyNmI0NzRhNjE3ZTE2ODMzOWQ2OTFiMjUxMCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(batch): Add comment to the unsupported order_by field of ListTasksRequest --- feat: Enable gpu driver version field on v1 --- feat: allow order_by for v1 ListJobs --- feat: Improve url examples formats on Batch API comments PiperOrigin-RevId: 552573521 Source-Link: https://togithub.com/googleapis/googleapis/commit/c34b78b6d28b3704e1687f557dfb786bda9fa4f5 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/12deb79966c3c6791755d66749e1611799ee95ab Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTJkZWI3OTk2NmMzYzY3OTE3NTVkNjY3NDllMTYxMTc5OWVlOTVhYiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(datacatalog): Minor formatting PiperOrigin-RevId: 552569489 Source-Link: https://togithub.com/googleapis/googleapis/commit/992c4f49c0a2405a8765ddc2777099a3a960c868 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/332d2f1cc55771664a61697c72df19030d7612b9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzMyZDJmMWNjNTU3NzE2NjRhNjE2OTdjNzJkZjE5MDMwZDc2MTJiOSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(bigquery/datatransfer): add EncryptionConfiguration to TransferConfig --- feat: Add List type to Data source parameter. PiperOrigin-RevId: 552543247 Source-Link: https://togithub.com/googleapis/googleapis/commit/95f0f2b2aee51e460646320d6e8f2ce75c463f5a Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/3199b463668bf730d2a42789c32b88fb94ef8f44 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzE5OWI0NjM2NjhiZjczMGQyYTQyNzg5YzMyYjg4ZmI5NGVmOGY0NCJ9 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:
Change to your project directory:
cd /my/cloud/project
Get the package you want to use. Some products have their own module, so it's best to 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: snip:# (auth-ts)
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.