commit | 888e3b4ba3b6a3fd10eed4168d8b536f9d4293f0 | [log] [tgz] |
---|---|---|
author | Yoshi Automation Bot <yoshi-automation@google.com> | Wed Mar 22 12:06:21 2023 -0700 |
committer | GitHub <noreply@github.com> | Wed Mar 22 15:06:21 2023 -0400 |
tree | b5b9d93fea8951d257051bd0a45ffcb40ff805fd | |
parent | 2b7bb662eb00671b8ee933766f4254f897131a7c [diff] |
chore(all): auto-regenerate gapics (#7609) * chore(all): auto-regenerate gapics This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: https://github.com/googleapis/go-genproto/pull/992 Changes: feat(maps/routing)!: moved speed in SpeedReadingInterval into a oneof speed_type, this is a breaking change for Go client libraries docs: update proto comments to contain concrete references to other proto messages PiperOrigin-RevId: 518398192 Source-Link: https://github.com/googleapis/googleapis/commit/5dbc2b25ab939710ec0d4466323da6682a6cd40d chore(iam): fix iam & longrunning go targets PiperOrigin-RevId: 518384575 Source-Link: https://github.com/googleapis/googleapis/commit/eb21b87c9f99ef6fb619f7d42e1837a312642e2c feat(bigquery/migration): Add request_source field and update formatting PiperOrigin-RevId: 518330942 Source-Link: https://github.com/googleapis/googleapis/commit/184334dec867cbc99734771f5a101d65f6959287 feat(edgecontainer): promote to GA PiperOrigin-RevId: 518311583 Source-Link: https://github.com/googleapis/googleapis/commit/ed556a124ee7f806dad5afdc7ea62cce1da8c9bd feat(discoveryengine): add additional resource path with collections feat: document schema id is no longer required docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 518297793 Source-Link: https://github.com/googleapis/googleapis/commit/95410d763c1688133e06e8d0307a5a83399d3bae feat(deploy): added supported for Cloud Deploy Progressive Deployment Strategy deprecate: TYPE_RENDER_STATUES_CHANGE, use RELEASE_RENDER log type instead PiperOrigin-RevId: 518248525 Source-Link: https://github.com/googleapis/googleapis/commit/fb3b26c94035af1513bbbd37dd6e480a6a5fd243 feat(alloydb): Enable REST transport PiperOrigin-RevId: 518116939 Source-Link: https://github.com/googleapis/googleapis/commit/f978bc05225b6c658980e9755021d08daddaac80 feat(video/livestream): added TimecodeConfig for specifying the source of timecode used in media workflow synchronization feat: added Encryption for enabling output encryption with DRM systems feat: added InputConfig to allow enabling/disabling automatic failover feat: added new tasks to Event: inputSwitch, returnToProgram, mute, unmute feat: added support for audio normalization and audio gain docs: clarify behavior when update_mask is omitted in PATCH requests PiperOrigin-RevId: 518110162 Source-Link: https://github.com/googleapis/googleapis/commit/874ec6afe7cbcb8e097295ab0bbb286da892f681 feat(compute): Update Compute Engine API to revision 20230307 (#786) Source-Link: https://github.com/googleapis/googleapis/commit/f64a3c8418e2e4e493b6a432220d774e7942141a feat(analytics/admin): add account-level binding for the`RunAccessReport` method (example: /v1alpha/accounts/1234567:runAccessReport) feat: add `GetEnhancedMeasurementSettings`, `UpdateEnhancedMeasurementSettings` methods to the Admin API v1alpha feat: add `CreateConnectedSiteTag`, `DeleteConnectedSiteTag`, `ListConnectedSiteTags` methods to the Admin API v1alpha feat: add `EnhancedMeasurementSettings`, `ConnectedSiteTag` resource types to the Admin API v1alpha feat: add `GetEnhancedMeasurementSettingsRequest`, `UpdateEnhancedMeasurementSettingsRequest`,`CreateConnectedSiteTagRequest`, `CreateConnectedSiteTagResponse`, `DeleteConnectedSiteTagRequest`, `ListConnectedSiteTagsRequest`, `ListConnectedSiteTagsResponse` feat: add `ENHANCED_MEASUREMENT_SETTINGS` option to the `ChangeHistoryResourceType` enum feat: add `enhanced_measurement_settings` option to the `ChangeHistoryResource.resource` oneof field feat: add `intraday_export_enabled` field to the `BigQueryLink` resource PiperOrigin-RevId: 518088512 Source-Link: https://github.com/googleapis/googleapis/commit/061a9fb3c740c9482520125a505984ac0457fee1 docs(speech): fix the resource name format in comment for CreatePhraseSetRequest PiperOrigin-RevId: 518025142 Source-Link: https://github.com/googleapis/googleapis/commit/e354eefd9957a4446c6a429be7566dd36dbc0780 * omit gapic generated snippets * restore version files --------- Co-authored-by: Noah Dietz <ndietz@google.com> Co-authored-by: Noah Dietz <noahdietz@users.noreply.github.com>
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.