Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jan 23, 2024
1 parent addc18c commit 45c097f
Show file tree
Hide file tree
Showing 36 changed files with 32,760 additions and 17,588 deletions.
225 changes: 197 additions & 28 deletions aiplatform/v1/aiplatform-api.json

Large diffs are not rendered by default.

630 changes: 567 additions & 63 deletions aiplatform/v1/aiplatform-gen.go

Large diffs are not rendered by default.

168 changes: 139 additions & 29 deletions aiplatform/v1beta1/aiplatform-api.json
Expand Up @@ -5072,7 +5072,7 @@
"type": "string"
},
"parent": {
"description": "Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}'`",
"description": "Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -17279,7 +17279,7 @@
}
}
},
"revision": "20240105",
"revision": "20240117",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionEmbedVideoResponse": {
Expand Down Expand Up @@ -17989,7 +17989,7 @@
"type": "boolean"
},
"languageFilterResult": {
"$ref": "LearningServingLlmLanguageFilterResult",
"$ref": "LearningGenaiRootLanguageFilterResult",
"description": "Language filter result from SAFT LangId."
},
"raiSignals": {
Expand Down Expand Up @@ -20050,6 +20050,10 @@
"genericMetadata": {
"$ref": "GoogleCloudAiplatformV1beta1GenericOperationMetadata",
"description": "Operation metadata for PersistentResource."
},
"progressMessage": {
"description": "Progress Message for Create LRO",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -26210,7 +26214,7 @@
},
"modelSourceInfo": {
"$ref": "GoogleCloudAiplatformV1beta1ModelSourceInfo",
"description": "Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or existing Vertex AI Model.",
"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.",
"readOnly": true
},
"name": {
Expand Down Expand Up @@ -27772,7 +27776,12 @@
"INVALID_AVRO_SYNTAX",
"INVALID_EMBEDDING_ID",
"EMBEDDING_SIZE_MISMATCH",
"NAMESPACE_MISSING"
"NAMESPACE_MISSING",
"PARSING_ERROR",
"DUPLICATE_NAMESPACE",
"OP_IN_DATAPOINT",
"MULTIPLE_VALUES",
"INVALID_NUMERIC_VALUE"
],
"enumDescriptions": [
"Default, shall not be used.",
Expand All @@ -27782,7 +27791,12 @@
"Invalid avro format.",
"The embedding id is not valid.",
"The size of the embedding vectors does not match with the specified dimension.",
"The `namespace` field is missing."
"The `namespace` field is missing.",
"Generic catch-all error. Only used for validation failure where the root cause cannot be easily retrieved programmatically.",
"There are multiple restricts with the same `namespace` value.",
"Numeric restrict has operator specified in datapoint.",
"Numeric restrict has multiple values specified.",
"Numeric restrict has invalid numeric value specified."
],
"type": "string"
},
Expand Down Expand Up @@ -28514,6 +28528,10 @@
"description": "The runtime config of a PipelineJob.",
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig",
"properties": {
"defaultRuntime": {
"$ref": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime",
"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"
},
"failurePolicy": {
"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.",
"enum": [
Expand Down Expand Up @@ -28557,6 +28575,17 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime": {
"description": "The default runtime for the PipelineJob.",
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime",
"properties": {
"persistentResourceRuntimeDetail": {
"$ref": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail",
"description": "Persistent resource based runtime detail."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact": {
"description": "The type of an input artifact.",
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact",
Expand All @@ -28568,6 +28597,17 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail": {
"description": "Persistent resource based runtime detail. For more information, refer to https://cloud.google.com/vertex-ai/docs/training/persistent-resource-overview",
"id": "GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail",
"properties": {
"persistentResourceName": {
"description": "Persistent resource name. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1beta1PipelineTaskDetail": {
"description": "The runtime detail of a task execution.",
"id": "GoogleCloudAiplatformV1beta1PipelineTaskDetail",
Expand Down Expand Up @@ -29899,7 +29939,7 @@
"type": "object"
},
"GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest": {
"description": "LINT.IfChange(report_event_message_types) Request message for NotebookInternalService.ReportRuntimeEvent.",
"description": "Request message for NotebookInternalService.ReportRuntimeEvent.",
"id": "GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest",
"properties": {
"eventDetails": {
Expand Down Expand Up @@ -36187,6 +36227,10 @@
"genericMetadata": {
"$ref": "GoogleCloudAiplatformV1beta1GenericOperationMetadata",
"description": "Operation metadata for PersistentResource."
},
"progressMessage": {
"description": "Progress Message for Update LRO",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -36924,7 +36968,7 @@
"type": "object"
},
"LanguageLabsAidaTrustRecitationProtoDocAttribution": {
"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",
"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",
"id": "LanguageLabsAidaTrustRecitationProtoDocAttribution",
"properties": {
"amarnaId": {
Expand All @@ -36939,6 +36983,10 @@
"bibkey": {
"type": "string"
},
"biorxivId": {
"description": "ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517",
"type": "string"
},
"bookTitle": {
"type": "string"
},
Expand Down Expand Up @@ -37648,6 +37696,10 @@
"wikipediaArticleTitle": {
"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.",
"type": "string"
},
"youtubeVideoId": {
"description": "The unique video id from Youtube. Example: AkoGsW52Ir0",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -38406,7 +38458,7 @@
"type": "object"
},
"LearningGenaiRecitationDocAttribution": {
"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",
"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",
"id": "LearningGenaiRecitationDocAttribution",
"properties": {
"amarnaId": {
Expand All @@ -38421,6 +38473,10 @@
"bibkey": {
"type": "string"
},
"biorxivId": {
"description": "ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517",
"type": "string"
},
"bookTitle": {
"type": "string"
},
Expand Down Expand Up @@ -39116,6 +39172,9 @@
"wikipediaArticleTitle": {
"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.",
"type": "string"
},
"youtubeVideoId": {
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -40075,7 +40134,7 @@
"type": "string"
},
"languageFilterResult": {
"$ref": "LearningServingLlmLanguageFilterResult"
"$ref": "LearningGenaiRootLanguageFilterResult"
},
"raiOutput": {
"$ref": "LearningGenaiRootRAIOutput",
Expand All @@ -40101,6 +40160,54 @@
},
"type": "object"
},
"LearningGenaiRootGroundingMetadata": {
"id": "LearningGenaiRootGroundingMetadata",
"properties": {
"citations": {
"items": {
"$ref": "LearningGenaiRootGroundingMetadataCitation"
},
"type": "array"
},
"groundingCancelled": {
"description": "True if grounding is cancelled, for example, no facts being retrieved.",
"type": "boolean"
},
"searchQueries": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"LearningGenaiRootGroundingMetadataCitation": {
"id": "LearningGenaiRootGroundingMetadataCitation",
"properties": {
"endIndex": {
"description": "Index in the prediction output where the citation ends (exclusive). Must be \u003e start_index and \u003c len(output).",
"format": "int32",
"type": "integer"
},
"factIndex": {
"description": "Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse.",
"format": "int32",
"type": "integer"
},
"score": {
"description": "Confidence score of this entailment. Value is [0,1] with 1 is the most confidence.",
"format": "double",
"type": "number"
},
"startIndex": {
"description": "Index in the prediction output where the citation starts (inclusive). Must be \u003e= 0 and \u003c end_index.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"LearningGenaiRootHarm": {
"id": "LearningGenaiRootHarm",
"properties": {
Expand Down Expand Up @@ -40335,6 +40442,25 @@
},
"type": "object"
},
"LearningGenaiRootLanguageFilterResult": {
"id": "LearningGenaiRootLanguageFilterResult",
"properties": {
"allowed": {
"description": "False when query or response should be filtered out due to unsupported language.",
"type": "boolean"
},
"detectedLanguage": {
"description": "Language of the query or response.",
"type": "string"
},
"detectedLanguageProbability": {
"description": "Probability of the language predicted as returned by LangID.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"LearningGenaiRootMetricOutput": {
"id": "LearningGenaiRootMetricOutput",
"properties": {
Expand Down Expand Up @@ -40811,25 +40937,6 @@
},
"type": "object"
},
"LearningServingLlmLanguageFilterResult": {
"id": "LearningServingLlmLanguageFilterResult",
"properties": {
"allowed": {
"description": "False when query or response should be filtered out due to unsupported language.",
"type": "boolean"
},
"detectedLanguage": {
"description": "Language of the query or response.",
"type": "string"
},
"detectedLanguageProbability": {
"description": "Probability of the language predicted as returned by LangID.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"LearningServingLlmMessageMetadata": {
"description": "LINT.IfChange This metadata contains additional information required for debugging.",
"id": "LearningServingLlmMessageMetadata",
Expand Down Expand Up @@ -40875,6 +40982,9 @@
],
"type": "string"
},
"groundingMetadata": {
"$ref": "LearningGenaiRootGroundingMetadata"
},
"isFallback": {
"description": "Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty.",
"type": "boolean"
Expand Down

0 comments on commit 45c097f

Please sign in to comment.