commit | ae42f23f586ad76b058066a66c1566e4fef23692 | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Thu May 02 14:46:42 2024 +0000 |
committer | GitHub <noreply@github.com> | Thu May 02 14:46:42 2024 +0000 |
tree | 6eb4b82ac31ce2c093083fbaa6615acc0eb749cf | |
parent | a36af373f6a455d6e0c901fb55618a533cf77a48 [diff] |
chore(talent): Update copyright year (#10080) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 629949881 Source-Link: https://togithub.com/googleapis/googleapis/commit/7002406181eb300da880701035a25157a5099abb Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1727ce0119da502458ec25674c862d08503594b5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTcyN2NlMDExOWRhNTAyNDU4ZWMyNTY3NGM4NjJkMDg1MDM1OTRiNSJ9 BEGIN_NESTED_COMMIT chore(talent): update copyright year PiperOrigin-RevId: 629886356 Source-Link: https://togithub.com/googleapis/googleapis/commit/f12e9fe886ac2be2dac42ed39b5b9ed534f920ab Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1bc2f49f2532dcb760090affa87b7c80cb7bfd92 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWJjMmY0OWYyNTMyZGNiNzYwMDkwYWZmYTg3YjdjODBjYjdiZmQ5MiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(aiplatform): A new field `search_entry_point` is added to message `.google.cloud.aiplatform.v1beta1.GroundingMetadata` feat: A new message `SearchEntryPoint` is added feat: A new method `UpdateDatasetVersion` is added to service `DatasetService` feat: A new message `UpdateDatasetVersionRequest` is added feat: A new field `private_service_connect_config` is added to message `.google.cloud.aiplatform.v1beta1.Endpoint` feat: A new field `app_id` is added to message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` feat: A new value `INVALID_TOKEN_VALUE` is added to enum `RecordErrorType` feat: A new field `valid_sparse_record_count` is added to message `.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata` feat: A new field `invalid_sparse_record_count` is added to message `.google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata` feat: A new message `DirectNotebookSource` is added feat: A new message `CustomEnvironmentSpec` is added feat: A new field `direct_notebook_source` is added to message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` feat: A new field `custom_environment_spec` is added to message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` feat: A new message `CreateNotebookExecutionJobRequest` is added feat: A new field `deploy_task_name` is added to message `.google.cloud.aiplatform.v1beta1.PublisherModel` feat: A new field `fine_tune` is added to message `.google.cloud.aiplatform.v1beta1.PublisherModel` feat: A new field `create_notebook_execution_job_request` is added to message `.google.cloud.aiplatform.v1beta1.Schedule` feat: A new message `RagResource` is added feat: A new field `rag_resources` is added to message `.google.cloud.aiplatform.v1beta1.VertexRagStore` feat: A new field `vector_distance_threshold` is added to message `.google.cloud.aiplatform.v1beta1.VertexRagStore` feat: A new field `failed_rag_files_count` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesResponse` feat: A new field `skipped_rag_files_count` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesResponse` feat: A new field `import_rag_files_config` is added to message `.google.cloud.aiplatform.v1beta1.ImportRagFilesOperationMetadata` feat: A new message `RagResource` is added feat: A new field `rag_resources` is added to message `.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest` feat: A new field `vector_distance_threshold` is added to message `.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest` fix: An existing method `ChatCompletions` is removed from service `PredictionService` fix: An existing message `ChatCompletionsRequest` is removed docs: A comment for field `rouge_type` in message `.google.cloud.aiplatform.v1beta1.RougeSpec` is changed docs: A comment for field `file_input_gcs_bucket` in message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` is changed docs: A comment for field `file_output_gcs_bucket` in message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` is changed docs: A comment for field `serving_config_name` in message `.google.cloud.aiplatform.v1beta1.RuntimeConfig` is changed docs: A comment for field `big_query` in message `.google.cloud.aiplatform.v1beta1.FeatureGroup` is changed docs: A comment for field `parent` in message `.google.cloud.aiplatform.v1beta1.CreateFeatureGroupRequest` is changed docs: A comment for field `feature_vector` in message `.google.cloud.aiplatform.v1beta1.IndexDatapoint` is changed docs: A comment for field `vectors_count` in message `.google.cloud.aiplatform.v1beta1.IndexStats` is changed docs: A comment for enum value `EMBEDDING_SIZE_MISMATCH` in enum `RecordErrorType` is changed docs: A comment for field `distance` in message `.google.cloud.aiplatform.v1beta1.FindNeighborsResponse` is changed docs: A comment for field `gcs_notebook_source` in message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` is changed docs: A comment for field `gcs_output_uri` in message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate` is changed docs: A comment for field `rag_corpora` in message `.google.cloud.aiplatform.v1beta1.VertexRagStore` is changed docs: A comment for field `gcs_source` in message `.google.cloud.aiplatform.v1beta1.RagFile` is changed docs: A comment for field `rag_corpora` in message `.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest` is changed PiperOrigin-RevId: 629842300 Source-Link: https://togithub.com/googleapis/googleapis/commit/f86c175bbee8aeb00492aae9d6aacf3e7bb99789 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/281af7a485bfdd2e9eb280cd88f8d660a6135781 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgxYWY3YTQ4NWJmZGQyZTllYjI4MGNkODhmOGQ2NjBhNjEzNTc4MSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(deploy): small corrections to Cloud Deploy API documentation PiperOrigin-RevId: 629796364 Source-Link: https://togithub.com/googleapis/googleapis/commit/62bc6257938d5fe9cd4fbce9d4b2f23e9467929f Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1d568e357a320fbd81d5c3a52c961a183311287f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWQ1NjhlMzU3YTMyMGZiZDgxZDVjM2E1MmM5NjFhMTgzMzExMjg3ZiJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore(oslogin): update license header year PiperOrigin-RevId: 629779766 Source-Link: https://togithub.com/googleapis/googleapis/commit/51c176bef48b9a88694e496c070bcfc965c70ad2 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/fdc3d21aa26d9f51853d7edbfd604806ce4a6b8a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmRjM2QyMWFhMjZkOWY1MTg1M2Q3ZWRiZmQ2MDQ4MDZjZTRhNmI4YSJ9 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.