google-api-python-client 2.151.0__py2.py3-none-any.whl → 2.152.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. {google_api_python_client-2.151.0.dist-info → google_api_python_client-2.152.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.151.0.dist-info → google_api_python_client-2.152.0.dist-info}/RECORD +68 -68
  3. {google_api_python_client-2.151.0.dist-info → google_api_python_client-2.152.0.dist-info}/WHEEL +1 -1
  4. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +7 -3
  5. googleapiclient/discovery_cache/documents/admin.directory_v1.json +25 -1
  6. googleapiclient/discovery_cache/documents/admin.directoryv1.json +25 -1
  7. googleapiclient/discovery_cache/documents/aiplatform.v1.json +386 -4
  8. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +880 -4
  9. googleapiclient/discovery_cache/documents/alloydb.v1.json +2 -2
  10. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +2 -2
  11. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +2 -2
  12. googleapiclient/discovery_cache/documents/analyticshub.v1.json +5 -1
  13. googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +47 -47
  14. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +2 -2
  15. googleapiclient/discovery_cache/documents/backupdr.v1.json +2 -2
  16. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +29 -45
  17. googleapiclient/discovery_cache/documents/chat.v1.json +11 -11
  18. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +105 -2
  19. googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +6 -4
  20. googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +6 -4
  21. googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +6 -4
  22. googleapiclient/discovery_cache/documents/composer.v1.json +9 -9
  23. googleapiclient/discovery_cache/documents/composer.v1beta1.json +9 -9
  24. googleapiclient/discovery_cache/documents/compute.v1.json +58 -6
  25. googleapiclient/discovery_cache/documents/container.v1beta1.json +69 -1
  26. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +5 -3
  27. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +36 -1
  28. googleapiclient/discovery_cache/documents/datastream.v1.json +119 -2
  29. googleapiclient/discovery_cache/documents/developerconnect.v1.json +2 -5
  30. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +286 -1
  31. googleapiclient/discovery_cache/documents/dialogflow.v3.json +32 -1
  32. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +32 -1
  33. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +163 -1
  34. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +308 -1
  35. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +308 -1
  36. googleapiclient/discovery_cache/documents/displayvideo.v2.json +25 -13
  37. googleapiclient/discovery_cache/documents/displayvideo.v3.json +29 -15
  38. googleapiclient/discovery_cache/documents/dlp.v2.json +10 -10
  39. googleapiclient/discovery_cache/documents/drive.v3.json +2 -2
  40. googleapiclient/discovery_cache/documents/eventarc.v1.json +8 -8
  41. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +14 -2
  42. googleapiclient/discovery_cache/documents/gkehub.v1.json +19 -1
  43. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +5 -1
  44. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +19 -1
  45. googleapiclient/discovery_cache/documents/gkehub.v2.json +5 -1
  46. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +5 -1
  47. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +5 -1
  48. googleapiclient/discovery_cache/documents/gkeonprem.v1.json +44 -1
  49. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +7 -7
  50. googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json +6 -3
  51. googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json +11 -5
  52. googleapiclient/discovery_cache/documents/merchantapi.reviews_v1beta.json +26 -11
  53. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +5 -1
  54. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +6 -2
  55. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +6 -2
  56. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +2 -2
  57. googleapiclient/discovery_cache/documents/osconfig.v2beta.json +4 -4
  58. googleapiclient/discovery_cache/documents/places.v1.json +1 -2
  59. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +3 -3
  60. googleapiclient/discovery_cache/documents/serviceusage.v1.json +166 -1
  61. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +166 -1
  62. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +137 -3
  63. googleapiclient/discovery_cache/documents/translate.v3.json +5 -3
  64. googleapiclient/discovery_cache/documents/translate.v3beta1.json +7 -4
  65. googleapiclient/discovery_cache/documents/youtube.v3.json +6 -2
  66. googleapiclient/version.py +1 -1
  67. {google_api_python_client-2.151.0.dist-info → google_api_python_client-2.152.0.dist-info}/LICENSE +0 -0
  68. {google_api_python_client-2.151.0.dist-info → google_api_python_client-2.152.0.dist-info}/top_level.txt +0 -0
@@ -791,6 +791,61 @@
791
791
  }
792
792
  },
793
793
  "projects": {
794
+ "methods": {
795
+ "getCacheConfig": {
796
+ "description": "Gets a GenAI cache config.",
797
+ "flatPath": "v1/projects/{projectsId}/cacheConfig",
798
+ "httpMethod": "GET",
799
+ "id": "aiplatform.projects.getCacheConfig",
800
+ "parameterOrder": [
801
+ "name"
802
+ ],
803
+ "parameters": {
804
+ "name": {
805
+ "description": "Required. Name of the cache config. Format: - `projects/{project}/cacheConfig`.",
806
+ "location": "path",
807
+ "pattern": "^projects/[^/]+/cacheConfig$",
808
+ "required": true,
809
+ "type": "string"
810
+ }
811
+ },
812
+ "path": "v1/{+name}",
813
+ "response": {
814
+ "$ref": "GoogleCloudAiplatformV1CacheConfig"
815
+ },
816
+ "scopes": [
817
+ "https://www.googleapis.com/auth/cloud-platform"
818
+ ]
819
+ },
820
+ "updateCacheConfig": {
821
+ "description": "Updates a cache config.",
822
+ "flatPath": "v1/projects/{projectsId}/cacheConfig",
823
+ "httpMethod": "PATCH",
824
+ "id": "aiplatform.projects.updateCacheConfig",
825
+ "parameterOrder": [
826
+ "name"
827
+ ],
828
+ "parameters": {
829
+ "name": {
830
+ "description": "Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.",
831
+ "location": "path",
832
+ "pattern": "^projects/[^/]+/cacheConfig$",
833
+ "required": true,
834
+ "type": "string"
835
+ }
836
+ },
837
+ "path": "v1/{+name}",
838
+ "request": {
839
+ "$ref": "GoogleCloudAiplatformV1CacheConfig"
840
+ },
841
+ "response": {
842
+ "$ref": "GoogleLongrunningOperation"
843
+ },
844
+ "scopes": [
845
+ "https://www.googleapis.com/auth/cloud-platform"
846
+ ]
847
+ }
848
+ },
794
849
  "resources": {
795
850
  "locations": {
796
851
  "methods": {
@@ -3763,6 +3818,35 @@
3763
3818
  "https://www.googleapis.com/auth/cloud-platform.read-only"
3764
3819
  ]
3765
3820
  },
3821
+ "fetchPredictOperation": {
3822
+ "description": "Fetch an asynchronous online prediction operation.",
3823
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:fetchPredictOperation",
3824
+ "httpMethod": "POST",
3825
+ "id": "aiplatform.projects.locations.endpoints.fetchPredictOperation",
3826
+ "parameterOrder": [
3827
+ "endpoint"
3828
+ ],
3829
+ "parameters": {
3830
+ "endpoint": {
3831
+ "description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`",
3832
+ "location": "path",
3833
+ "pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$",
3834
+ "required": true,
3835
+ "type": "string"
3836
+ }
3837
+ },
3838
+ "path": "v1/{+endpoint}:fetchPredictOperation",
3839
+ "request": {
3840
+ "$ref": "GoogleCloudAiplatformV1FetchPredictOperationRequest"
3841
+ },
3842
+ "response": {
3843
+ "$ref": "GoogleLongrunningOperation"
3844
+ },
3845
+ "scopes": [
3846
+ "https://www.googleapis.com/auth/cloud-platform",
3847
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
3848
+ ]
3849
+ },
3766
3850
  "generateContent": {
3767
3851
  "description": "Generate content with multimodal inputs.",
3768
3852
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:generateContent",
@@ -3960,6 +4044,35 @@
3960
4044
  "https://www.googleapis.com/auth/cloud-platform.read-only"
3961
4045
  ]
3962
4046
  },
4047
+ "predictLongRunning": {
4048
+ "description": "",
4049
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:predictLongRunning",
4050
+ "httpMethod": "POST",
4051
+ "id": "aiplatform.projects.locations.endpoints.predictLongRunning",
4052
+ "parameterOrder": [
4053
+ "endpoint"
4054
+ ],
4055
+ "parameters": {
4056
+ "endpoint": {
4057
+ "description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`",
4058
+ "location": "path",
4059
+ "pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$",
4060
+ "required": true,
4061
+ "type": "string"
4062
+ }
4063
+ },
4064
+ "path": "v1/{+endpoint}:predictLongRunning",
4065
+ "request": {
4066
+ "$ref": "GoogleCloudAiplatformV1PredictLongRunningRequest"
4067
+ },
4068
+ "response": {
4069
+ "$ref": "GoogleLongrunningOperation"
4070
+ },
4071
+ "scopes": [
4072
+ "https://www.googleapis.com/auth/cloud-platform",
4073
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
4074
+ ]
4075
+ },
3963
4076
  "rawPredict": {
3964
4077
  "description": "Perform an online prediction with an arbitrary HTTP payload. The response includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's DeployedModel that served this prediction.",
3965
4078
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:rawPredict",
@@ -13932,6 +14045,35 @@
13932
14045
  "https://www.googleapis.com/auth/cloud-platform"
13933
14046
  ]
13934
14047
  },
14048
+ "fetchPredictOperation": {
14049
+ "description": "Fetch an asynchronous online prediction operation.",
14050
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:fetchPredictOperation",
14051
+ "httpMethod": "POST",
14052
+ "id": "aiplatform.projects.locations.publishers.models.fetchPredictOperation",
14053
+ "parameterOrder": [
14054
+ "endpoint"
14055
+ ],
14056
+ "parameters": {
14057
+ "endpoint": {
14058
+ "description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`",
14059
+ "location": "path",
14060
+ "pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$",
14061
+ "required": true,
14062
+ "type": "string"
14063
+ }
14064
+ },
14065
+ "path": "v1/{+endpoint}:fetchPredictOperation",
14066
+ "request": {
14067
+ "$ref": "GoogleCloudAiplatformV1FetchPredictOperationRequest"
14068
+ },
14069
+ "response": {
14070
+ "$ref": "GoogleLongrunningOperation"
14071
+ },
14072
+ "scopes": [
14073
+ "https://www.googleapis.com/auth/cloud-platform",
14074
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
14075
+ ]
14076
+ },
13935
14077
  "generateContent": {
13936
14078
  "description": "Generate content with multimodal inputs.",
13937
14079
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:generateContent",
@@ -13990,6 +14132,35 @@
13990
14132
  "https://www.googleapis.com/auth/cloud-platform.read-only"
13991
14133
  ]
13992
14134
  },
14135
+ "predictLongRunning": {
14136
+ "description": "",
14137
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:predictLongRunning",
14138
+ "httpMethod": "POST",
14139
+ "id": "aiplatform.projects.locations.publishers.models.predictLongRunning",
14140
+ "parameterOrder": [
14141
+ "endpoint"
14142
+ ],
14143
+ "parameters": {
14144
+ "endpoint": {
14145
+ "description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`",
14146
+ "location": "path",
14147
+ "pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$",
14148
+ "required": true,
14149
+ "type": "string"
14150
+ }
14151
+ },
14152
+ "path": "v1/{+endpoint}:predictLongRunning",
14153
+ "request": {
14154
+ "$ref": "GoogleCloudAiplatformV1PredictLongRunningRequest"
14155
+ },
14156
+ "response": {
14157
+ "$ref": "GoogleLongrunningOperation"
14158
+ },
14159
+ "scopes": [
14160
+ "https://www.googleapis.com/auth/cloud-platform",
14161
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
14162
+ ]
14163
+ },
13993
14164
  "rawPredict": {
13994
14165
  "description": "Perform an online prediction with an arbitrary HTTP payload. The response includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's DeployedModel that served this prediction.",
13995
14166
  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:rawPredict",
@@ -17902,7 +18073,7 @@
17902
18073
  }
17903
18074
  }
17904
18075
  },
17905
- "revision": "20241025",
18076
+ "revision": "20241026",
17906
18077
  "rootUrl": "https://aiplatform.googleapis.com/",
17907
18078
  "schemas": {
17908
18079
  "CloudAiLargeModelsVisionGenerateVideoResponse": {
@@ -18198,6 +18369,15 @@
18198
18369
  "description": "Video",
18199
18370
  "id": "CloudAiLargeModelsVisionVideo",
18200
18371
  "properties": {
18372
+ "encodedVideo": {
18373
+ "description": "Base 64 encoded video bytes.",
18374
+ "format": "byte",
18375
+ "type": "string"
18376
+ },
18377
+ "encoding": {
18378
+ "description": "Video encoding, for example \"video/mp4\".",
18379
+ "type": "string"
18380
+ },
18201
18381
  "uri": {
18202
18382
  "description": "Path to another storage (typically Google Cloud Storage).",
18203
18383
  "type": "string"
@@ -19464,6 +19644,21 @@
19464
19644
  },
19465
19645
  "type": "object"
19466
19646
  },
19647
+ "GoogleCloudAiplatformV1CacheConfig": {
19648
+ "description": "Config of GenAI caching features. This is a singleton resource.",
19649
+ "id": "GoogleCloudAiplatformV1CacheConfig",
19650
+ "properties": {
19651
+ "disableCache": {
19652
+ "description": "If set to true, disables GenAI caching. Otherwise caching is enabled.",
19653
+ "type": "boolean"
19654
+ },
19655
+ "name": {
19656
+ "description": "Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.",
19657
+ "type": "string"
19658
+ }
19659
+ },
19660
+ "type": "object"
19661
+ },
19467
19662
  "GoogleCloudAiplatformV1CancelBatchPredictionJobRequest": {
19468
19663
  "description": "Request message for JobService.CancelBatchPredictionJob.",
19469
19664
  "id": "GoogleCloudAiplatformV1CancelBatchPredictionJobRequest",
@@ -19556,7 +19751,7 @@
19556
19751
  "Token generation reached a natural stopping point or a configured stop sequence.",
19557
19752
  "Token generation reached the configured maximum output tokens.",
19558
19753
  "Token generation stopped because the content potentially contains safety violations. NOTE: When streaming, content is empty if content filters blocks the output.",
19559
- "Token generation stopped because the content potentially contains copyright violations.",
19754
+ "The token generation stopped because of potential recitation.",
19560
19755
  "All other reasons that stopped the token generation.",
19561
19756
  "Token generation stopped because the content contains forbidden terms.",
19562
19757
  "Token generation stopped for potentially containing prohibited content.",
@@ -24290,6 +24485,17 @@
24290
24485
  },
24291
24486
  "type": "object"
24292
24487
  },
24488
+ "GoogleCloudAiplatformV1FetchPredictOperationRequest": {
24489
+ "description": "Request message for PredictionService.FetchPredictOperation.",
24490
+ "id": "GoogleCloudAiplatformV1FetchPredictOperationRequest",
24491
+ "properties": {
24492
+ "operationName": {
24493
+ "description": "Required. The server-assigned name for the operation.",
24494
+ "type": "string"
24495
+ }
24496
+ },
24497
+ "type": "object"
24498
+ },
24293
24499
  "GoogleCloudAiplatformV1FileData": {
24294
24500
  "description": "URI based data.",
24295
24501
  "id": "GoogleCloudAiplatformV1FileData",
@@ -24646,7 +24852,7 @@
24646
24852
  "type": "object"
24647
24853
  },
24648
24854
  "GoogleCloudAiplatformV1FunctionDeclaration": {
24649
- "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.",
24855
+ "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.",
24650
24856
  "id": "GoogleCloudAiplatformV1FunctionDeclaration",
24651
24857
  "properties": {
24652
24858
  "description": {
@@ -29426,6 +29632,10 @@ false
29426
29632
  "readOnly": true,
29427
29633
  "type": "string"
29428
29634
  },
29635
+ "customEnvironmentSpec": {
29636
+ "$ref": "GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec",
29637
+ "description": "The custom compute configuration for an execution job."
29638
+ },
29429
29639
  "dataformRepositorySource": {
29430
29640
  "$ref": "GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource",
29431
29641
  "description": "The Dataform Repository pointing to a single file notebook repository."
@@ -29531,6 +29741,25 @@ false
29531
29741
  },
29532
29742
  "type": "object"
29533
29743
  },
29744
+ "GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec": {
29745
+ "description": "Compute configuration to use for an execution job.",
29746
+ "id": "GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec",
29747
+ "properties": {
29748
+ "machineSpec": {
29749
+ "$ref": "GoogleCloudAiplatformV1MachineSpec",
29750
+ "description": "The specification of a single machine for the execution job."
29751
+ },
29752
+ "networkSpec": {
29753
+ "$ref": "GoogleCloudAiplatformV1NetworkSpec",
29754
+ "description": "The network configuration to use for the execution job."
29755
+ },
29756
+ "persistentDiskSpec": {
29757
+ "$ref": "GoogleCloudAiplatformV1PersistentDiskSpec",
29758
+ "description": "The specification of a persistent disk to attach for the execution job."
29759
+ }
29760
+ },
29761
+ "type": "object"
29762
+ },
29534
29763
  "GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource": {
29535
29764
  "description": "The Dataform Repository containing the input notebook.",
29536
29765
  "id": "GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource",
@@ -30838,6 +31067,24 @@ false
30838
31067
  },
30839
31068
  "type": "object"
30840
31069
  },
31070
+ "GoogleCloudAiplatformV1PredictLongRunningRequest": {
31071
+ "description": "Request message for PredictionService.PredictLongRunning.",
31072
+ "id": "GoogleCloudAiplatformV1PredictLongRunningRequest",
31073
+ "properties": {
31074
+ "instances": {
31075
+ "description": "Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri.",
31076
+ "items": {
31077
+ "type": "any"
31078
+ },
31079
+ "type": "array"
31080
+ },
31081
+ "parameters": {
31082
+ "description": "Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.",
31083
+ "type": "any"
31084
+ }
31085
+ },
31086
+ "type": "object"
31087
+ },
30841
31088
  "GoogleCloudAiplatformV1PredictRequest": {
30842
31089
  "description": "Request message for PredictionService.Predict.",
30843
31090
  "id": "GoogleCloudAiplatformV1PredictRequest",
@@ -35049,6 +35296,10 @@ false
35049
35296
  "structuredPrompt": {
35050
35297
  "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt",
35051
35298
  "description": "The prompt variation that stores preambles in separate fields."
35299
+ },
35300
+ "translationPrompt": {
35301
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt",
35302
+ "description": "The prompt variation for Translation use case."
35052
35303
  }
35053
35304
  },
35054
35305
  "type": "object"
@@ -35147,6 +35398,35 @@ false
35147
35398
  },
35148
35399
  "type": "object"
35149
35400
  },
35401
+ "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair": {
35402
+ "description": "A pair of sentences used as reference in source and target languages.",
35403
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair",
35404
+ "properties": {
35405
+ "sourceSentence": {
35406
+ "description": "Source sentence in the sentence pair.",
35407
+ "type": "string"
35408
+ },
35409
+ "targetSentence": {
35410
+ "description": "Target sentence in the sentence pair.",
35411
+ "type": "string"
35412
+ }
35413
+ },
35414
+ "type": "object"
35415
+ },
35416
+ "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList": {
35417
+ "description": "A list of reference sentence pairs.",
35418
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList",
35419
+ "properties": {
35420
+ "referenceSentencePairs": {
35421
+ "description": "Reference sentence pairs.",
35422
+ "items": {
35423
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair"
35424
+ },
35425
+ "type": "array"
35426
+ }
35427
+ },
35428
+ "type": "object"
35429
+ },
35150
35430
  "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt": {
35151
35431
  "description": "Prompt variation that stores preambles in separate fields.",
35152
35432
  "id": "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt",
@@ -35198,6 +35478,108 @@ false
35198
35478
  },
35199
35479
  "type": "object"
35200
35480
  },
35481
+ "GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample": {
35482
+ "description": "The translation example that contains reference sentences from various sources.",
35483
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample",
35484
+ "properties": {
35485
+ "referenceSentencePairLists": {
35486
+ "description": "The reference sentences from inline text.",
35487
+ "items": {
35488
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList"
35489
+ },
35490
+ "type": "array"
35491
+ },
35492
+ "referenceSentencesFileInputs": {
35493
+ "description": "The reference sentences from file.",
35494
+ "items": {
35495
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput"
35496
+ },
35497
+ "type": "array"
35498
+ }
35499
+ },
35500
+ "type": "object"
35501
+ },
35502
+ "GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource": {
35503
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource",
35504
+ "properties": {
35505
+ "content": {
35506
+ "description": "The file's contents.",
35507
+ "type": "string"
35508
+ },
35509
+ "displayName": {
35510
+ "description": "The file's display name.",
35511
+ "type": "string"
35512
+ },
35513
+ "mimeType": {
35514
+ "description": "The file's mime type.",
35515
+ "type": "string"
35516
+ }
35517
+ },
35518
+ "type": "object"
35519
+ },
35520
+ "GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource": {
35521
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource",
35522
+ "properties": {
35523
+ "inputUri": {
35524
+ "description": "Source data URI. For example, `gs://my_bucket/my_object`.",
35525
+ "type": "string"
35526
+ }
35527
+ },
35528
+ "type": "object"
35529
+ },
35530
+ "GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption": {
35531
+ "description": "Optional settings for translation prompt.",
35532
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption",
35533
+ "properties": {
35534
+ "numberOfShots": {
35535
+ "description": "How many shots to use.",
35536
+ "format": "int32",
35537
+ "type": "integer"
35538
+ }
35539
+ },
35540
+ "type": "object"
35541
+ },
35542
+ "GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt": {
35543
+ "description": "Prompt variation for Translation use case.",
35544
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt",
35545
+ "properties": {
35546
+ "example": {
35547
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample",
35548
+ "description": "The translation example."
35549
+ },
35550
+ "option": {
35551
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption",
35552
+ "description": "The translation option."
35553
+ },
35554
+ "promptMessage": {
35555
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage",
35556
+ "description": "The prompt message."
35557
+ },
35558
+ "sourceLanguageCode": {
35559
+ "description": "The source language code.",
35560
+ "type": "string"
35561
+ },
35562
+ "targetLanguageCode": {
35563
+ "description": "The target language code.",
35564
+ "type": "string"
35565
+ }
35566
+ },
35567
+ "type": "object"
35568
+ },
35569
+ "GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput": {
35570
+ "id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput",
35571
+ "properties": {
35572
+ "fileInputSource": {
35573
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource",
35574
+ "description": "Inlined file source."
35575
+ },
35576
+ "gcsInputSource": {
35577
+ "$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource",
35578
+ "description": "Cloud Storage file source."
35579
+ }
35580
+ },
35581
+ "type": "object"
35582
+ },
35201
35583
  "GoogleCloudAiplatformV1SchemaTablesDatasetMetadata": {
35202
35584
  "description": "The metadata of Datasets that contain tables data.",
35203
35585
  "id": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadata",
@@ -39907,7 +40289,7 @@ false
39907
40289
  "id": "GoogleCloudAiplatformV1TuningJob",
39908
40290
  "properties": {
39909
40291
  "baseModel": {
39910
- "description": "The base model that is being tuned, e.g., \"gemini-1.0-pro-002\".",
40292
+ "description": "The base model that is being tuned, e.g., \"gemini-1.0-pro-002\". .",
39911
40293
  "type": "string"
39912
40294
  },
39913
40295
  "createTime": {