Skip to content

Commit 45c097f

Browse files
feat(all): auto-regenerate discovery clients (#2369)
1 parent addc18c commit 45c097f

36 files changed

+32760
-17588
lines changed

‎aiplatform/v1/aiplatform-api.json

Lines changed: 197 additions & 28 deletions
Large diffs are not rendered by default.

‎aiplatform/v1/aiplatform-gen.go

Lines changed: 567 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎aiplatform/v1beta1/aiplatform-api.json

Lines changed: 139 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5072,7 +5072,7 @@
50725072
"type": "string"
50735073
},
50745074
"parent": {
5075-
"description": "Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}'`",
5075+
"description": "Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}`",
50765076
"location": "path",
50775077
"pattern": "^projects/[^/]+/locations/[^/]+$",
50785078
"required": true,
@@ -17279,7 +17279,7 @@
1727917279
}
1728017280
}
1728117281
},
17282-
"revision": "20240105",
17282+
"revision": "20240117",
1728317283
"rootUrl": "https://aiplatform.googleapis.com/",
1728417284
"schemas": {
1728517285
"CloudAiLargeModelsVisionEmbedVideoResponse": {
@@ -17989,7 +17989,7 @@
1798917989
"type": "boolean"
1799017990
},
1799117991
"languageFilterResult": {
17992-
"$ref": "LearningServingLlmLanguageFilterResult",
17992+
"$ref": "LearningGenaiRootLanguageFilterResult",
1799317993
"description": "Language filter result from SAFT LangId."
1799417994
},
1799517995
"raiSignals": {
@@ -20050,6 +20050,10 @@
2005020050
"genericMetadata": {
2005120051
"$ref": "GoogleCloudAiplatformV1beta1GenericOperationMetadata",
2005220052
"description": "Operation metadata for PersistentResource."
20053+
},
20054+
"progressMessage": {
20055+
"description": "Progress Message for Create LRO",
20056+
"type": "string"
2005320057
}
2005420058
},
2005520059
"type": "object"
@@ -26210,7 +26214,7 @@
2621026214
},
2621126215
"modelSourceInfo": {
2621226216
"$ref": "GoogleCloudAiplatformV1beta1ModelSourceInfo",
26213-
"description": "Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or existing Vertex AI Model.",
26217+
"description": "Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or saved and tuned from Genie or Model Garden.",
2621426218
"readOnly": true
2621526219
},
2621626220
"name": {
@@ -27772,7 +27776,12 @@
2777227776
"INVALID_AVRO_SYNTAX",
2777327777
"INVALID_EMBEDDING_ID",
2777427778
"EMBEDDING_SIZE_MISMATCH",
27775-
"NAMESPACE_MISSING"
27779+
"NAMESPACE_MISSING",
27780+
"PARSING_ERROR",
27781+
"DUPLICATE_NAMESPACE",
27782+
"OP_IN_DATAPOINT",
27783+
"MULTIPLE_VALUES",
27784+
"INVALID_NUMERIC_VALUE"
2777627785
],
2777727786
"enumDescriptions": [
2777827787
"Default, shall not be used.",
@@ -27782,7 +27791,12 @@
2778227791
"Invalid avro format.",
2778327792
"The embedding id is not valid.",
2778427793
"The size of the embedding vectors does not match with the specified dimension.",
27785-
"The `namespace` field is missing."
27794+
"The `namespace` field is missing.",
27795+
"Generic catch-all error. Only used for validation failure where the root cause cannot be easily retrieved programmatically.",
27796+
"There are multiple restricts with the same `namespace` value.",
27797+
"Numeric restrict has operator specified in datapoint.",
27798+
"Numeric restrict has multiple values specified.",
27799+
"Numeric restrict has invalid numeric value specified."
2778627800
],
2778727801
"type": "string"
2778827802
},
@@ -28514,6 +28528,10 @@
2851428528
"description": "The runtime config of a PipelineJob.",
2851528529
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig",
2851628530
"properties": {
28531+
"defaultRuntime": {
28532+
"$ref": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime",
28533+
"description": "Optional. The default runtime for the PipelineJob. If not provided, Vertex Custom Job is used as the runtime. For Vertex Custom Job, please refer to https://cloud.google.com/vertex-ai/docs/training/overview"
28534+
},
2851728535
"failurePolicy": {
2851828536
"description": "Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.",
2851928537
"enum": [
@@ -28557,6 +28575,17 @@
2855728575
},
2855828576
"type": "object"
2855928577
},
28578+
"GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime": {
28579+
"description": "The default runtime for the PipelineJob.",
28580+
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime",
28581+
"properties": {
28582+
"persistentResourceRuntimeDetail": {
28583+
"$ref": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail",
28584+
"description": "Persistent resource based runtime detail."
28585+
}
28586+
},
28587+
"type": "object"
28588+
},
2856028589
"GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact": {
2856128590
"description": "The type of an input artifact.",
2856228591
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact",
@@ -28568,6 +28597,17 @@
2856828597
},
2856928598
"type": "object"
2857028599
},
28600+
"GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail": {
28601+
"description": "Persistent resource based runtime detail. For more information, refer to https://cloud.google.com/vertex-ai/docs/training/persistent-resource-overview",
28602+
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail",
28603+
"properties": {
28604+
"persistentResourceName": {
28605+
"description": "Persistent resource name. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`",
28606+
"type": "string"
28607+
}
28608+
},
28609+
"type": "object"
28610+
},
2857128611
"GoogleCloudAiplatformV1beta1PipelineTaskDetail": {
2857228612
"description": "The runtime detail of a task execution.",
2857328613
"id": "GoogleCloudAiplatformV1beta1PipelineTaskDetail",
@@ -29899,7 +29939,7 @@
2989929939
"type": "object"
2990029940
},
2990129941
"GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest": {
29902-
"description": "LINT.IfChange(report_event_message_types) Request message for NotebookInternalService.ReportRuntimeEvent.",
29942+
"description": "Request message for NotebookInternalService.ReportRuntimeEvent.",
2990329943
"id": "GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest",
2990429944
"properties": {
2990529945
"eventDetails": {
@@ -36187,6 +36227,10 @@
3618736227
"genericMetadata": {
3618836228
"$ref": "GoogleCloudAiplatformV1beta1GenericOperationMetadata",
3618936229
"description": "Operation metadata for PersistentResource."
36230+
},
36231+
"progressMessage": {
36232+
"description": "Progress Message for Update LRO",
36233+
"type": "string"
3619036234
}
3619136235
},
3619236236
"type": "object"
@@ -36924,7 +36968,7 @@
3692436968
"type": "object"
3692536969
},
3692636970
"LanguageLabsAidaTrustRecitationProtoDocAttribution": {
36927-
"description": "The proto defines the attribution information for a document using whatever fields are most applicable for that document's datasource. For example, a Wikipedia article's attribution is in the form of its article title, a website is in the form of a URL, and a Github repo is in the form of a repo name. Next id:28",
36971+
"description": "The proto defines the attribution information for a document using whatever fields are most applicable for that document's datasource. For example, a Wikipedia article's attribution is in the form of its article title, a website is in the form of a URL, and a Github repo is in the form of a repo name. Next id: 30",
3692836972
"id": "LanguageLabsAidaTrustRecitationProtoDocAttribution",
3692936973
"properties": {
3693036974
"amarnaId": {
@@ -36939,6 +36983,10 @@
3693936983
"bibkey": {
3694036984
"type": "string"
3694136985
},
36986+
"biorxivId": {
36987+
"description": "ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517",
36988+
"type": "string"
36989+
},
3694236990
"bookTitle": {
3694336991
"type": "string"
3694436992
},
@@ -37648,6 +37696,10 @@
3764837696
"wikipediaArticleTitle": {
3764937697
"description": "Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset.",
3765037698
"type": "string"
37699+
},
37700+
"youtubeVideoId": {
37701+
"description": "The unique video id from Youtube. Example: AkoGsW52Ir0",
37702+
"type": "string"
3765137703
}
3765237704
},
3765337705
"type": "object"
@@ -38406,7 +38458,7 @@
3840638458
"type": "object"
3840738459
},
3840838460
"LearningGenaiRecitationDocAttribution": {
38409-
"description": "The proto defines the attribution information for a document using whatever fields are most applicable for that document's datasource. For example, a Wikipedia article's attribution is in the form of its article title, a website is in the form of a URL, and a Github repo is in the form of a repo name. Next id: 28",
38461+
"description": "The proto defines the attribution information for a document using whatever fields are most applicable for that document's datasource. For example, a Wikipedia article's attribution is in the form of its article title, a website is in the form of a URL, and a Github repo is in the form of a repo name. Next id: 30",
3841038462
"id": "LearningGenaiRecitationDocAttribution",
3841138463
"properties": {
3841238464
"amarnaId": {
@@ -38421,6 +38473,10 @@
3842138473
"bibkey": {
3842238474
"type": "string"
3842338475
},
38476+
"biorxivId": {
38477+
"description": "ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517",
38478+
"type": "string"
38479+
},
3842438480
"bookTitle": {
3842538481
"type": "string"
3842638482
},
@@ -39116,6 +39172,9 @@
3911639172
"wikipediaArticleTitle": {
3911739173
"description": "Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset.",
3911839174
"type": "string"
39175+
},
39176+
"youtubeVideoId": {
39177+
"type": "string"
3911939178
}
3912039179
},
3912139180
"type": "object"
@@ -40075,7 +40134,7 @@
4007540134
"type": "string"
4007640135
},
4007740136
"languageFilterResult": {
40078-
"$ref": "LearningServingLlmLanguageFilterResult"
40137+
"$ref": "LearningGenaiRootLanguageFilterResult"
4007940138
},
4008040139
"raiOutput": {
4008140140
"$ref": "LearningGenaiRootRAIOutput",
@@ -40101,6 +40160,54 @@
4010140160
},
4010240161
"type": "object"
4010340162
},
40163+
"LearningGenaiRootGroundingMetadata": {
40164+
"id": "LearningGenaiRootGroundingMetadata",
40165+
"properties": {
40166+
"citations": {
40167+
"items": {
40168+
"$ref": "LearningGenaiRootGroundingMetadataCitation"
40169+
},
40170+
"type": "array"
40171+
},
40172+
"groundingCancelled": {
40173+
"description": "True if grounding is cancelled, for example, no facts being retrieved.",
40174+
"type": "boolean"
40175+
},
40176+
"searchQueries": {
40177+
"items": {
40178+
"type": "string"
40179+
},
40180+
"type": "array"
40181+
}
40182+
},
40183+
"type": "object"
40184+
},
40185+
"LearningGenaiRootGroundingMetadataCitation": {
40186+
"id": "LearningGenaiRootGroundingMetadataCitation",
40187+
"properties": {
40188+
"endIndex": {
40189+
"description": "Index in the prediction output where the citation ends (exclusive). Must be \u003e start_index and \u003c len(output).",
40190+
"format": "int32",
40191+
"type": "integer"
40192+
},
40193+
"factIndex": {
40194+
"description": "Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse.",
40195+
"format": "int32",
40196+
"type": "integer"
40197+
},
40198+
"score": {
40199+
"description": "Confidence score of this entailment. Value is [0,1] with 1 is the most confidence.",
40200+
"format": "double",
40201+
"type": "number"
40202+
},
40203+
"startIndex": {
40204+
"description": "Index in the prediction output where the citation starts (inclusive). Must be \u003e= 0 and \u003c end_index.",
40205+
"format": "int32",
40206+
"type": "integer"
40207+
}
40208+
},
40209+
"type": "object"
40210+
},
4010440211
"LearningGenaiRootHarm": {
4010540212
"id": "LearningGenaiRootHarm",
4010640213
"properties": {
@@ -40335,6 +40442,25 @@
4033540442
},
4033640443
"type": "object"
4033740444
},
40445+
"LearningGenaiRootLanguageFilterResult": {
40446+
"id": "LearningGenaiRootLanguageFilterResult",
40447+
"properties": {
40448+
"allowed": {
40449+
"description": "False when query or response should be filtered out due to unsupported language.",
40450+
"type": "boolean"
40451+
},
40452+
"detectedLanguage": {
40453+
"description": "Language of the query or response.",
40454+
"type": "string"
40455+
},
40456+
"detectedLanguageProbability": {
40457+
"description": "Probability of the language predicted as returned by LangID.",
40458+
"format": "float",
40459+
"type": "number"
40460+
}
40461+
},
40462+
"type": "object"
40463+
},
4033840464
"LearningGenaiRootMetricOutput": {
4033940465
"id": "LearningGenaiRootMetricOutput",
4034040466
"properties": {
@@ -40811,25 +40937,6 @@
4081140937
},
4081240938
"type": "object"
4081340939
},
40814-
"LearningServingLlmLanguageFilterResult": {
40815-
"id": "LearningServingLlmLanguageFilterResult",
40816-
"properties": {
40817-
"allowed": {
40818-
"description": "False when query or response should be filtered out due to unsupported language.",
40819-
"type": "boolean"
40820-
},
40821-
"detectedLanguage": {
40822-
"description": "Language of the query or response.",
40823-
"type": "string"
40824-
},
40825-
"detectedLanguageProbability": {
40826-
"description": "Probability of the language predicted as returned by LangID.",
40827-
"format": "float",
40828-
"type": "number"
40829-
}
40830-
},
40831-
"type": "object"
40832-
},
4083340940
"LearningServingLlmMessageMetadata": {
4083440941
"description": "LINT.IfChange This metadata contains additional information required for debugging.",
4083540942
"id": "LearningServingLlmMessageMetadata",
@@ -40875,6 +40982,9 @@
4087540982
],
4087640983
"type": "string"
4087740984
},
40985+
"groundingMetadata": {
40986+
"$ref": "LearningGenaiRootGroundingMetadata"
40987+
},
4087840988
"isFallback": {
4087940989
"description": "Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty.",
4088040990
"type": "boolean"

0 commit comments

Comments
 (0)