commit | 7656129e1cffbfb788d849f3b35c28c7ac69054f | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Wed May 01 16:38:17 2024 +0000 |
committer | GitHub <noreply@github.com> | Wed May 01 16:38:17 2024 +0000 |
tree | abc8cb3345eec1b42929db42c08b14ee63939371 | |
parent | f537fdd0842b756995035f21c6af6b07bf73b6cc [diff] |
feat(aiplatform): A new value `TPU_V5_LITEPOD` is added to enum `AcceleratorType` (#10074) - [ ] Regenerate this pull request now. feat: A new field `search_entry_point` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new message `SearchEntryPoint` is added feat: A new field `private_service_connect_config` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new value `INVALID_TOKEN_VALUE` is added to enum `RecordErrorType` feat: A new field `deploy_task_name` is added to message `.google.cloud.aiplatform.v1.PublisherModel` docs: A comment for field `parent` in message `.google.cloud.aiplatform.v1.CreateFeatureGroupRequest` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.NotebookRuntimeTemplate` is changed docs: A comment for field `base_model` in message `.google.cloud.aiplatform.v1.TuningJob` is changed docs: A comment for field `tuned_model_display_name` in message `.google.cloud.aiplatform.v1.TuningJob` is changed docs: A comment for field `epoch_count` in message `.google.cloud.aiplatform.v1.SupervisedHyperParameters` is changed docs: A comment for field `learning_rate_multiplier` in message `.google.cloud.aiplatform.v1.SupervisedHyperParameters` is changed docs: A comment for field `training_dataset_uri` in message `.google.cloud.aiplatform.v1.SupervisedTuningSpec` is changed docs: A comment for field `validation_dataset_uri` in message `.google.cloud.aiplatform.v1.SupervisedTuningSpec` is changed PiperOrigin-RevId: 629522152 Source-Link: https://togithub.com/googleapis/googleapis/commit/f9767ca40b6e547ffe59e998659326e69d71f269 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/95e3cf4a65180e7a8e26853a03c335c77a98d0c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTVlM2NmNGE2NTE4MGU3YThlMjY4NTNhMDNjMzM1Yzc3YTk4ZDBjNSJ9 BEGIN_NESTED_COMMIT chore(streetview/publish): fix Go package for generated code PiperOrigin-RevId: 629497051 Source-Link: https://togithub.com/googleapis/googleapis/commit/2b342b8ebf0850ea8df56caa4b44d892d943e35d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/7b85359a2cd84ace2f6e4b14f827cedcbee3c796 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2I4NTM1OWEyY2Q4NGFjZTJmNmU0YjE0ZjgyN2NlZGNiZWUzYzc5NiJ9 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.