Skip to content

Commit 0fbab09

Browse files
feat(aiplatform): update the api
#### aiplatform:v1 The following keys were deleted: - schemas.GoogleCloudAiplatformV1GenerationConfig.properties.tokenResolution.type (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.reasoningEngines.methods.streamQuery (Total Keys: 12) - schemas.GoogleCloudAiplatformV1GenerationConfig.properties.mediaResolution.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1ModelContainerSpec.properties.livenessProbe.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1Probe.properties.grpc.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1Probe.properties.httpGet.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1Probe.properties.tcpSocket.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1ProbeGrpcAction (Total Keys: 5) - schemas.GoogleCloudAiplatformV1ProbeHttpGetAction (Total Keys: 9) - schemas.GoogleCloudAiplatformV1ProbeHttpHeader (Total Keys: 4) - schemas.GoogleCloudAiplatformV1ProbeTcpSocketAction (Total Keys: 5) - schemas.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest (Total Keys: 5) The following keys were changed: - endpoints (Total Keys: 1) #### aiplatform:v1beta1 The following keys were deleted: - schemas.GoogleCloudAiplatformV1beta1GenerationConfig.properties.tokenResolution.type (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.featureGroups.methods.getIamPolicy (Total Keys: 14) - resources.projects.resources.locations.resources.featureGroups.methods.setIamPolicy (Total Keys: 12) - resources.projects.resources.locations.resources.featureGroups.methods.testIamPermissions (Total Keys: 14) - schemas.GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig.properties.apiKeyString.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1GenerationConfig.properties.mediaResolution.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1ModelContainerSpec.properties.livenessProbe.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1Probe.properties.grpc.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1Probe.properties.httpGet.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1Probe.properties.tcpSocket.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1ProbeGrpcAction (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1ProbeHttpGetAction (Total Keys: 9) - schemas.GoogleCloudAiplatformV1beta1ProbeHttpHeader (Total Keys: 4) - schemas.GoogleCloudAiplatformV1beta1ProbeTcpSocketAction (Total Keys: 5) The following keys were changed: - endpoints (Total Keys: 1)
1 parent db20d80 commit 0fbab09

23 files changed

+3086
-95
lines changed

docs/dyn/aiplatform_v1.datasets.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h3>Method Details</h3>
130130
&quot;metadataArtifact&quot;: &quot;A String&quot;, # Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
131131
&quot;metadataSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
132132
&quot;modelReference&quot;: &quot;A String&quot;, # Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
133-
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset.
133+
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
134134
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
135135
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
136136
&quot;savedQueries&quot;: [ # All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.
@@ -246,7 +246,7 @@ <h3>Method Details</h3>
246246
&quot;metadataArtifact&quot;: &quot;A String&quot;, # Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
247247
&quot;metadataSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
248248
&quot;modelReference&quot;: &quot;A String&quot;, # Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
249-
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset.
249+
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
250250
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
251251
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
252252
&quot;savedQueries&quot;: [ # All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.
@@ -304,7 +304,7 @@ <h3>Method Details</h3>
304304
&quot;metadataArtifact&quot;: &quot;A String&quot;, # Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
305305
&quot;metadataSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
306306
&quot;modelReference&quot;: &quot;A String&quot;, # Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
307-
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset.
307+
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
308308
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
309309
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
310310
&quot;savedQueries&quot;: [ # All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.
@@ -347,7 +347,7 @@ <h3>Method Details</h3>
347347
<pre>Updates a Dataset.
348348

349349
Args:
350-
name: string, Output only. Identifier. The resource name of the Dataset. (required)
350+
name: string, Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` (required)
351351
body: object, The request body.
352352
The object takes the form of:
353353

@@ -367,7 +367,7 @@ <h3>Method Details</h3>
367367
&quot;metadataArtifact&quot;: &quot;A String&quot;, # Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
368368
&quot;metadataSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
369369
&quot;modelReference&quot;: &quot;A String&quot;, # Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
370-
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset.
370+
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
371371
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
372372
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
373373
&quot;savedQueries&quot;: [ # All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.
@@ -412,7 +412,7 @@ <h3>Method Details</h3>
412412
&quot;metadataArtifact&quot;: &quot;A String&quot;, # Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
413413
&quot;metadataSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
414414
&quot;modelReference&quot;: &quot;A String&quot;, # Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
415-
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset.
415+
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
416416
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
417417
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
418418
&quot;savedQueries&quot;: [ # All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.

docs/dyn/aiplatform_v1.endpoints.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ <h3>Method Details</h3>
218218
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
219219
&quot;logprobs&quot;: 42, # Optional. Logit probabilities.
220220
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
221+
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
221222
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
222223
&quot;responseLogprobs&quot;: True or False, # Optional. If true, export the logprobs results in response.
223224
&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.
@@ -278,7 +279,6 @@ <h3>Method Details</h3>
278279
&quot;A String&quot;,
279280
],
280281
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
281-
&quot;tokenResolution&quot;: &quot;A String&quot;, # Optional. If specified, the token resolution specified will be used.
282282
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
283283
&quot;topP&quot;: 3.14, # Optional. If specified, nucleus sampling will be used.
284284
},
@@ -497,6 +497,7 @@ <h3>Method Details</h3>
497497
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
498498
&quot;logprobs&quot;: 42, # Optional. Logit probabilities.
499499
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
500+
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
500501
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
501502
&quot;responseLogprobs&quot;: True or False, # Optional. If true, export the logprobs results in response.
502503
&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.
@@ -557,7 +558,6 @@ <h3>Method Details</h3>
557558
&quot;A String&quot;,
558559
],
559560
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
560-
&quot;tokenResolution&quot;: &quot;A String&quot;, # Optional. If specified, the token resolution specified will be used.
561561
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
562562
&quot;topP&quot;: 3.14, # Optional. If specified, nucleus sampling will be used.
563563
},
@@ -936,6 +936,7 @@ <h3>Method Details</h3>
936936
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
937937
&quot;logprobs&quot;: 42, # Optional. Logit probabilities.
938938
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
939+
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
939940
&quot;presencePenalty&quot;: 3.14, # Optional. Positive penalties.
940941
&quot;responseLogprobs&quot;: True or False, # Optional. If true, export the logprobs results in response.
941942
&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.
@@ -996,7 +997,6 @@ <h3>Method Details</h3>
996997
&quot;A String&quot;,
997998
],
998999
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
999-
&quot;tokenResolution&quot;: &quot;A String&quot;, # Optional. If specified, the token resolution specified will be used.
10001000
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
10011001
&quot;topP&quot;: 3.14, # Optional. If specified, nucleus sampling will be used.
10021002
},

0 commit comments

Comments
 (0)