| commit | ee41485860bcbbd09ce4e28ee6ddca81a5f17211 | [log] [tgz] |
|---|---|---|
| author | Yoshi Automation Bot <yoshi-automation@google.com> | Thu Jan 12 10:12:22 2023 -0800 |
| committer | GitHub <noreply@github.com> | Thu Jan 12 18:12:22 2023 +0000 |
| tree | 9b33de367bb2be180c88cbb061bfe60e538439b1 | |
| parent | c6a3da27bd49d1b4f9d0ddcc65010fe20df55efb [diff] |
chore(all): auto-regenerate gapics (#7232) 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://togithub.com/googleapis/go-genproto/pull/960 Changes: chore(cloudtasks): Enable REGAPIC for Tasks v2 in C# PiperOrigin-RevId: 500945787 Source-Link: https://togithub.com/googleapis/googleapis/commit/db19cafc46f6a7baee199a977973492f0d83f57a feat(pubsub): add schema evolution methods and fields PiperOrigin-RevId: 500819578 Source-Link: https://togithub.com/googleapis/googleapis/commit/05a375f20b0e76e0106990aa9fadab98498dbea0 chore(accessapproval): Enable REGAPIC in selected C# packages This matches the existing configuration in the google-cloud-dotnet repository. PiperOrigin-RevId: 500795565 Source-Link: https://togithub.com/googleapis/googleapis/commit/59af416e904b0296d9364fa9f147b904c37f6a9f feat(aiplatform): add instance_config to BatchPredictionJob in aiplatform v1 batch_prediction_job.proto PiperOrigin-RevId: 500777760 Source-Link: https://togithub.com/googleapis/googleapis/commit/517c2484d15a69de68144712b329f690b6c403dc feat(aiplatform): add saved_queries to Dataset in aiplatform v1 dataset.proto feat: add order_by to ListModelVersionRequest in aiplatform v1 model_service.proto feat: add update_all_stopped_trials to ConvexAutomatedStoppingSpec in aiplatform v1 study.proto feat: add ReadTensorboardUsage rpc in aiplatform v1 tensorboard_service.proto PiperOrigin-RevId: 500741387 Source-Link: https://togithub.com/googleapis/googleapis/commit/2293b991a0b1e6255192520809b43b3b8e9c89a2 feat(aiplatform): add saved_queries to Dataset in aiplatform v1beta1 dataset.proto feat: add order_by to ListModelVersionRequest in aiplatform v1beta1 model_service.proto feat: add update_all_stopped_trials to ConvexAutomatedStoppingSpec in aiplatform v1beta1 study.proto feat: add ReadTensorboardUsage rpc in aiplatform v1beta1 tensorboard_service.proto PiperOrigin-RevId: 500741013 Source-Link: https://togithub.com/googleapis/googleapis/commit/e8675f08804245f1c62ce9488d7b99b5d28dc31d feat(vmmigration): AWS as a source feat: Cycles history feat: Cycle\Clone\Cutover steps PiperOrigin-RevId: 500733603 Source-Link: https://togithub.com/googleapis/googleapis/commit/a1ff3b94f45809efe84d0308e031e92d5c9ceafa
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.