commit | 432864c7fc0bb551a5017b423bbd5f76c3357dc3 | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Fri Jul 21 19:12:13 2023 +0000 |
committer | GitHub <noreply@github.com> | Fri Jul 21 19:12:13 2023 +0000 |
tree | b420c14af4c2af333f1f6c5178d9cd70fc5cb804 | |
parent | b3eda800e0594ca43fd9b99b1b44e7fd4cad4542 [diff] |
feat(eventarc/publishing): promote to GA (#8308) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 549868874 Source-Link: https://togithub.com/googleapis/googleapis/commit/02aeb715005c633115bc77d563d6920731c98189 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e308933094c803964d1704ffa448ac2bbfd5df22 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTMwODkzMzA5NGM4MDM5NjRkMTcwNGZmYTQ0OGFjMmJiZmQ1ZGYyMiJ9 BEGIN_NESTED_COMMIT feat(kms): add interoperable symmetric encryption system PiperOrigin-RevId: 549699686 Source-Link: https://togithub.com/googleapis/googleapis/commit/68e699a6d7c764d9be0d92de22a9b009b6a6abff Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f2314eb25d07b6a95a85999cfca8bbda6848d204 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjIzMTRlYjI1ZDA3YjZhOTVhODU5OTljZmNhOGJiZGE2ODQ4ZDIwNCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(servicedirectory): added network and uid fields in Endpoint message feat: added uid field to Namespace message feat: added uid field to Service message feat: enable Location methods docs: updated docs for ResolveServiceRequest message docs: updated docs for ListServicesRequest and ListEndpointsRequest message PiperOrigin-RevId: 549683092 Source-Link: https://togithub.com/googleapis/googleapis/commit/c661ee0ec7aa53e87fa14033c8e9e3689b830021 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e3c7b0298a532a7101d2ae8ec1dc0a0e2cfbb2c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTNjN2IwMjk4YTUzMmE3MTAxZDJhZThlYzFkYzBhMGUyY2ZiYjJjNSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(video/livestream): added support for slate events which allow users to create and insert a slate into a live stream to replace the main live stream content feat: added a new asset resource which can be used as the content of slate events feat: added a new pool resource for protecting input endpoints within a VPC Service Controls perimeter PiperOrigin-RevId: 549682971 Source-Link: https://togithub.com/googleapis/googleapis/commit/e43e3d650ec81de8e69be745766744f58f0c78b2 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/47b82671ba10862a68df4c11a978131c2c92124c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDdiODI2NzFiYTEwODYyYTY4ZGY0YzExYTk3ODEzMWMyYzkyMTI0YyJ9 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.