Skip to content

Commit 1a82f1d

Browse files
feat(aiplatform): update the api
#### aiplatform:v1 The following keys were added: - schemas.GoogleCloudAiplatformV1CustomJobSpec.properties.pscInterfaceConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1FunctionDeclaration.properties.parametersJsonSchema.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1FunctionDeclaration.properties.responseJsonSchema.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1GenerationConfig.properties.responseJsonSchema.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1PersistentResource.properties.pscInterfaceConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1PipelineJob.properties.pscInterfaceConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1PscInterfaceConfig (Total Keys: 3) #### aiplatform:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.reasoningEngines.resources.memories.resources.operations.methods.cancel (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.memories.resources.operations.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.memories.resources.operations.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.memories.resources.operations.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.reasoningEngines.resources.memories.resources.operations.methods.wait (Total Keys: 14) - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.operations.methods.cancel (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.operations.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.operations.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.operations.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.reasoningEngines.resources.sessions.resources.operations.methods.wait (Total Keys: 14) - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.parametersJsonSchema.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.responseJsonSchema.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1GenerationConfig.properties.responseJsonSchema.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1RagCorpus.properties.corpusTypeConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig (Total Keys: 9) - schemas.GoogleCloudAiplatformV1beta1VertexRagStore.properties.storeContext.type (Total Keys: 1)
1 parent 35bdd3e commit 1a82f1d

File tree

27 files changed

+1311
-2
lines changed

27 files changed

+1311
-2
lines changed

docs/dyn/aiplatform_v1.endpoints.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ <h3>Method Details</h3>
257257
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
258258
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
259259
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
260+
&quot;responseJsonSchema&quot;: &quot;&quot;, # Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set.
260261
&quot;responseLogprobs&quot;: True or False, # Optional. If true, export the logprobs results in response.
261262
&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.
262263
&quot;responseModalities&quot;: [ # Optional. The modalities of the response.
@@ -425,6 +426,7 @@ <h3>Method Details</h3>
425426
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
426427
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
427428
},
429+
&quot;parametersJsonSchema&quot;: &quot;&quot;, # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { &quot;type&quot;: &quot;object&quot;, &quot;properties&quot;: { &quot;name&quot;: { &quot;type&quot;: &quot;string&quot; }, &quot;age&quot;: { &quot;type&quot;: &quot;integer&quot; } }, &quot;additionalProperties&quot;: false, &quot;required&quot;: [&quot;name&quot;, &quot;age&quot;], &quot;propertyOrdering&quot;: [&quot;name&quot;, &quot;age&quot;] } ``` This field is mutually exclusive with `parameters`.
428430
&quot;response&quot;: { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
429431
&quot;additionalProperties&quot;: &quot;&quot;, # Optional. Can either be a boolean or an object; controls the presence of additional properties.
430432
&quot;anyOf&quot;: [ # Optional. The value should be validated against any (one or more) of the subschemas in the list.
@@ -464,6 +466,7 @@ <h3>Method Details</h3>
464466
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
465467
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
466468
},
469+
&quot;responseJsonSchema&quot;: &quot;&quot;, # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
467470
},
468471
],
469472
&quot;googleSearch&quot;: { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
@@ -688,6 +691,7 @@ <h3>Method Details</h3>
688691
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
689692
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
690693
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
694+
&quot;responseJsonSchema&quot;: &quot;&quot;, # Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set.
691695
&quot;responseLogprobs&quot;: True or False, # Optional. If true, export the logprobs results in response.
692696
&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.
693697
&quot;responseModalities&quot;: [ # Optional. The modalities of the response.
@@ -877,6 +881,7 @@ <h3>Method Details</h3>
877881
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
878882
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
879883
},
884+
&quot;parametersJsonSchema&quot;: &quot;&quot;, # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { &quot;type&quot;: &quot;object&quot;, &quot;properties&quot;: { &quot;name&quot;: { &quot;type&quot;: &quot;string&quot; }, &quot;age&quot;: { &quot;type&quot;: &quot;integer&quot; } }, &quot;additionalProperties&quot;: false, &quot;required&quot;: [&quot;name&quot;, &quot;age&quot;], &quot;propertyOrdering&quot;: [&quot;name&quot;, &quot;age&quot;] } ``` This field is mutually exclusive with `parameters`.
880885
&quot;response&quot;: { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
881886
&quot;additionalProperties&quot;: &quot;&quot;, # Optional. Can either be a boolean or an object; controls the presence of additional properties.
882887
&quot;anyOf&quot;: [ # Optional. The value should be validated against any (one or more) of the subschemas in the list.
@@ -916,6 +921,7 @@ <h3>Method Details</h3>
916921
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
917922
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
918923
},
924+
&quot;responseJsonSchema&quot;: &quot;&quot;, # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
919925
},
920926
],
921927
&quot;googleSearch&quot;: { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
@@ -1367,6 +1373,7 @@ <h3>Method Details</h3>
13671373
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
13681374
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
13691375
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
1376+
&quot;responseJsonSchema&quot;: &quot;&quot;, # Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set.
13701377
&quot;responseLogprobs&quot;: True or False, # Optional. If true, export the logprobs results in response.
13711378
&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.
13721379
&quot;responseModalities&quot;: [ # Optional. The modalities of the response.
@@ -1556,6 +1563,7 @@ <h3>Method Details</h3>
15561563
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
15571564
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
15581565
},
1566+
&quot;parametersJsonSchema&quot;: &quot;&quot;, # Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { &quot;type&quot;: &quot;object&quot;, &quot;properties&quot;: { &quot;name&quot;: { &quot;type&quot;: &quot;string&quot; }, &quot;age&quot;: { &quot;type&quot;: &quot;integer&quot; } }, &quot;additionalProperties&quot;: false, &quot;required&quot;: [&quot;name&quot;, &quot;age&quot;], &quot;propertyOrdering&quot;: [&quot;name&quot;, &quot;age&quot;] } ``` This field is mutually exclusive with `parameters`.
15591567
&quot;response&quot;: { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
15601568
&quot;additionalProperties&quot;: &quot;&quot;, # Optional. Can either be a boolean or an object; controls the presence of additional properties.
15611569
&quot;anyOf&quot;: [ # Optional. The value should be validated against any (one or more) of the subschemas in the list.
@@ -1595,6 +1603,7 @@ <h3>Method Details</h3>
15951603
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
15961604
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
15971605
},
1606+
&quot;responseJsonSchema&quot;: &quot;&quot;, # Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.
15981607
},
15991608
],
16001609
&quot;googleSearch&quot;: { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.

0 commit comments

Comments
 (0)