Skip to content

Commit 73efce9

Browse files
feat(aiplatform): update the api
#### aiplatform:v1beta1 The following keys were deleted: - resources.projects.resources.locations.resources.endpoints.resources.chat.methods.completions (Total Keys: 12) - schemas.GoogleCloudAiplatformV1beta1AuthConfig.properties.noAuth (Total Keys: 2) - schemas.GoogleCloudAiplatformV1beta1AuthConfigNoAuth (Total Keys: 2) - schemas.GoogleCloudAiplatformV1beta1GoogleSearchRetrieval (Total Keys: 3) - schemas.GoogleCloudAiplatformV1beta1GroundingAttribution (Total Keys: 17) - schemas.GoogleCloudAiplatformV1beta1GroundingMetadata.properties.groundingAttributions (Total Keys: 2) - schemas.GoogleCloudAiplatformV1beta1Segment (Total Keys: 11) - schemas.GoogleCloudAiplatformV1beta1Tool.properties.googleSearchRetrieval.$ref (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.modelMonitors.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.modelMonitors.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.modelMonitors.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.modelMonitors.methods.list (Total Keys: 21) - resources.projects.resources.locations.resources.modelMonitors.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.modelMonitors.methods.searchModelMonitoringAlerts (Total Keys: 12) - resources.projects.resources.locations.resources.modelMonitors.methods.searchModelMonitoringStats (Total Keys: 12) - resources.projects.resources.locations.resources.modelMonitors.resources.modelMonitoringJobs.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.modelMonitors.resources.modelMonitoringJobs.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.modelMonitors.resources.modelMonitoringJobs.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.modelMonitors.resources.modelMonitoringJobs.methods.list (Total Keys: 21) - resources.projects.resources.locations.resources.notebookExecutionJobs.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.notebookExecutionJobs.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.notebookExecutionJobs.methods.list (Total Keys: 22) - schemas.CloudAiLargeModelsVisionGenerateVideoResponse.properties.raiErrorMessage.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1CreateModelMonitorOperationMetadata (Total Keys: 3) - schemas.GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1Endpoint.properties.privateServiceConnectConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1ListModelMonitorsResponse (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponse (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1ModelMonitor (Total Keys: 209) - schemas.GoogleCloudAiplatformV1beta1NotebookExecutionJob (Total Keys: 33) - schemas.GoogleCloudAiplatformV1beta1Schedule.properties.createModelMonitoringJobRequest.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest (Total Keys: 9) - schemas.GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse (Total Keys: 7) - schemas.GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter (Total Keys: 10) - schemas.GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest (Total Keys: 7) - schemas.GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1UpdateModelMonitorOperationMetadata (Total Keys: 3) - schemas.GoogleCloudAiplatformV1beta1VertexRagStore.properties.vectorDistanceThreshold (Total Keys: 2) - schemas.LearningGenaiRootCodeyGenerationMetadata (Total Keys: 4) - schemas.LearningGenaiRootCodeyOutput.properties.codeyGenerationMetadata.$ref (Total Keys: 1) - schemas.LearningGenaiRootControlDecodingConfigThreshold (Total Keys: 5) - schemas.LearningGenaiRootControlDecodingRecord (Total Keys: 17) - schemas.LearningGenaiRootFilterMetadataFilterDebugInfo.properties.records.$ref (Total Keys: 1)
1 parent d8ed4d0 commit 73efce9

10 files changed

+7059
-483
lines changed

docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html

Lines changed: 38 additions & 53 deletions
Large diffs are not rendered by default.

docs/dyn/aiplatform_v1beta1.projects.locations.extensions.html

Lines changed: 15 additions & 27 deletions
Large diffs are not rendered by default.

docs/dyn/aiplatform_v1beta1.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ <h3>Method Details</h3>
431431
},
432432
],
433433
&quot;metricSpec&quot;: { # Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1. # Required. Spec for rouge score metric.
434-
&quot;rougeType&quot;: &quot;A String&quot;, # Optional. Supported rouge types are rougen[1-9], rougeL and rougeLsum.
434+
&quot;rougeType&quot;: &quot;A String&quot;, # Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
435435
&quot;splitSummaries&quot;: True or False, # Optional. Whether to split summaries while using rougeLsum.
436436
&quot;useStemmer&quot;: True or False, # Optional. Whether to use stemmer to compute rouge score.
437437
},

docs/dyn/aiplatform_v1beta1.projects.locations.modelMonitors.html

Lines changed: 1393 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/aiplatform_v1beta1.projects.locations.modelMonitors.modelMonitoringJobs.html

Lines changed: 1432 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/aiplatform_v1beta1.projects.locations.notebookExecutionJobs.html

Lines changed: 172 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ <h3>Method Details</h3>
257257
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
258258
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
259259
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
260-
&quot;responseMimeType&quot;: &quot;A String&quot;, # Optional. Output response mimetype of the generated candidate text. Supported mimetype: `text/plain`: (default) Text output. `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
260+
&quot;responseMimeType&quot;: &quot;A String&quot;, # Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
261261
&quot;stopSequences&quot;: [ # Optional. Stop sequences.
262262
&quot;A String&quot;,
263263
],
@@ -376,19 +376,17 @@ <h3>Method Details</h3>
376376
},
377377
},
378378
],
379-
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
380-
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
381-
},
382379
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
383380
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
384381
&quot;vertexAiSearch&quot;: { # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation # Set to use data source powered by Vertex AI Search.
385-
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
382+
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
386383
},
387384
&quot;vertexRagStore&quot;: { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
388-
&quot;ragCorpora&quot;: [ # Required. Vertex RAG Store corpus resource name: projects/{project}/locations/{location}/ragCorpora/{ragCorpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.
385+
&quot;ragCorpora&quot;: [ # Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.
389386
&quot;A String&quot;,
390387
],
391388
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
389+
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
392390
},
393391
},
394392
},
@@ -457,24 +455,6 @@ <h3>Method Details</h3>
457455
&quot;finishMessage&quot;: &quot;A String&quot;, # Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set.
458456
&quot;finishReason&quot;: &quot;A String&quot;, # Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
459457
&quot;groundingMetadata&quot;: { # Metadata returned to client when grounding is enabled. # Output only. Metadata specifies sources used to ground generated content.
460-
&quot;groundingAttributions&quot;: [ # Optional. List of grounding attributions.
461-
{ # Grounding attribution.
462-
&quot;confidenceScore&quot;: 3.14, # Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
463-
&quot;retrievedContext&quot;: { # Attribution from context retrieved by the retrieval tools. # Optional. Attribution from context retrieved by the retrieval tools.
464-
&quot;title&quot;: &quot;A String&quot;, # Output only. Title of the attribution.
465-
&quot;uri&quot;: &quot;A String&quot;, # Output only. URI reference of the attribution.
466-
},
467-
&quot;segment&quot;: { # Segment of the content. # Output only. Segment of the content this attribution belongs to.
468-
&quot;endIndex&quot;: 42, # Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
469-
&quot;partIndex&quot;: 42, # Output only. The index of a Part object within its parent Content object.
470-
&quot;startIndex&quot;: 42, # Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
471-
},
472-
&quot;web&quot;: { # Attribution from the web. # Optional. Attribution from the web.
473-
&quot;title&quot;: &quot;A String&quot;, # Output only. Title of the attribution.
474-
&quot;uri&quot;: &quot;A String&quot;, # Output only. URI reference of the attribution.
475-
},
476-
},
477-
],
478458
&quot;retrievalQueries&quot;: [ # Optional. Queries executed by the retrieval tools.
479459
&quot;A String&quot;,
480460
],
@@ -865,7 +845,7 @@ <h3>Method Details</h3>
865845
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
866846
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
867847
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
868-
&quot;responseMimeType&quot;: &quot;A String&quot;, # Optional. Output response mimetype of the generated candidate text. Supported mimetype: `text/plain`: (default) Text output. `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
848+
&quot;responseMimeType&quot;: &quot;A String&quot;, # Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
869849
&quot;stopSequences&quot;: [ # Optional. Stop sequences.
870850
&quot;A String&quot;,
871851
],
@@ -984,19 +964,17 @@ <h3>Method Details</h3>
984964
},
985965
},
986966
],
987-
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
988-
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
989-
},
990967
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
991968
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
992969
&quot;vertexAiSearch&quot;: { # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation # Set to use data source powered by Vertex AI Search.
993-
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
970+
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
994971
},
995972
&quot;vertexRagStore&quot;: { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
996-
&quot;ragCorpora&quot;: [ # Required. Vertex RAG Store corpus resource name: projects/{project}/locations/{location}/ragCorpora/{ragCorpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.
973+
&quot;ragCorpora&quot;: [ # Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.
997974
&quot;A String&quot;,
998975
],
999976
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
977+
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
1000978
},
1001979
},
1002980
},
@@ -1065,24 +1043,6 @@ <h3>Method Details</h3>
10651043
&quot;finishMessage&quot;: &quot;A String&quot;, # Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set.
10661044
&quot;finishReason&quot;: &quot;A String&quot;, # Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
10671045
&quot;groundingMetadata&quot;: { # Metadata returned to client when grounding is enabled. # Output only. Metadata specifies sources used to ground generated content.
1068-
&quot;groundingAttributions&quot;: [ # Optional. List of grounding attributions.
1069-
{ # Grounding attribution.
1070-
&quot;confidenceScore&quot;: 3.14, # Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
1071-
&quot;retrievedContext&quot;: { # Attribution from context retrieved by the retrieval tools. # Optional. Attribution from context retrieved by the retrieval tools.
1072-
&quot;title&quot;: &quot;A String&quot;, # Output only. Title of the attribution.
1073-
&quot;uri&quot;: &quot;A String&quot;, # Output only. URI reference of the attribution.
1074-
},
1075-
&quot;segment&quot;: { # Segment of the content. # Output only. Segment of the content this attribution belongs to.
1076-
&quot;endIndex&quot;: 42, # Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
1077-
&quot;partIndex&quot;: 42, # Output only. The index of a Part object within its parent Content object.
1078-
&quot;startIndex&quot;: 42, # Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
1079-
},
1080-
&quot;web&quot;: { # Attribution from the web. # Optional. Attribution from the web.
1081-
&quot;title&quot;: &quot;A String&quot;, # Output only. Title of the attribution.
1082-
&quot;uri&quot;: &quot;A String&quot;, # Output only. URI reference of the attribution.
1083-
},
1084-
},
1085-
],
10861046
&quot;retrievalQueries&quot;: [ # Optional. Queries executed by the retrieval tools.
10871047
&quot;A String&quot;,
10881048
],

0 commit comments

Comments
 (0)