You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/api/datasets.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -292,7 +292,7 @@ defmodule GoogleApi.AIPlatform.V1.Api.Datasets do
292
292
## Parameters
293
293
294
294
* `connection` (*type:* `GoogleApi.AIPlatform.V1.Connection.t`) - Connection to server
295
-
* `name` (*type:* `String.t`) - Output only. Identifier. The resource name of the Dataset.
295
+
* `name` (*type:* `String.t`) - Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/api/projects.ex
+73-1Lines changed: 73 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5369,6 +5369,78 @@ defmodule GoogleApi.AIPlatform.V1.Api.Projects do
5369
5369
)
5370
5370
end
5371
5371
5372
+
@doc """
5373
+
Streams queries using a reasoning engine.
5374
+
5375
+
## Parameters
5376
+
5377
+
* `connection` (*type:* `GoogleApi.AIPlatform.V1.Connection.t`) - Connection to server
5378
+
* `name` (*type:* `String.t`) - Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
* `:alt` (*type:* `String.t`) - Data format for response.
5383
+
* `:callback` (*type:* `String.t`) - JSONP
5384
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
5385
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
5386
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
5387
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
5388
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
5389
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
5390
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
5374
5446
@@ -38158,7 +38230,7 @@ defmodule GoogleApi.AIPlatform.V1.Api.Projects do
38158
38230
## Parameters
38159
38231
38160
38232
* `connection` (*type:* `GoogleApi.AIPlatform.V1.Connection.t`) - Connection to server
38161
-
* `name` (*type:* `String.t`) - Output only. Identifier. The resource name of the Dataset.
38233
+
* `name` (*type:* `String.t`) - Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_dataset.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Dataset do
32
32
* `metadataArtifact` (*type:* `String.t`, *default:* `nil`) - 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}`.
33
33
* `metadataSchemaUri` (*type:* `String.t`, *default:* `nil`) - 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/.
34
34
* `modelReference` (*type:* `String.t`, *default:* `nil`) - Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
35
-
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The resource name of the Dataset.
35
+
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
* `savedQueries` (*type:* `list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SavedQuery.t)`, *default:* `nil`) - 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.
* `responseLogprobs` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, export the logprobs results in response.
31
32
* `responseMimeType` (*type:* `String.t`, *default:* `nil`) - 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.
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_model_container_spec.ex
* `healthRoute` (*type:* `String.t`, *default:* `nil`) - Immutable. HTTP path on the container to send health checks to. Vertex AI intermittently sends GET requests to this path on the container's IP address and port to check that the container is healthy. Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health). For example, if you set this field to `/bar`, then Vertex AI intermittently sends a GET request to the `/bar` path on the port of your container specified by the first value of this `ModelContainerSpec`'s ports field. If you don't specify this field, it defaults to the following value when you deploy this Model to an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/ DEPLOYED_MODEL:predict The placeholders in this value are replaced as follows: * ENDPOINT: The last segment (following `endpoints/`)of the Endpoint.name][] field of the Endpoint where this Model has been deployed. (Vertex AI makes this value available to your container code as the [`AIP_ENDPOINT_ID` environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID` environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)
31
31
* `imageUri` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. URI of the Docker image to be used as the custom container for serving predictions. This URI must identify an image in Artifact Registry or Container Registry. Learn more about the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon ModelService.UploadModel, stored internally, and this original path is afterwards not used. To learn about the requirements for the Docker image itself, see [Custom container requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). You can use the URI to one of Vertex AI's [pre-built container images for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) in this field.
* `ports` (*type:* `list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Port.t)`, *default:* `nil`) - Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) to this port. If you do not specify this field, it defaults to following value: ```json [ { "containerPort": 8080 } ] ``` Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).
33
34
* `predictRoute` (*type:* `String.t`, *default:* `nil`) - Immutable. HTTP path on the container to send prediction requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict to this path on the container's IP address and port. Vertex AI then returns the container's response in the API response. For example, if you set this field to `/foo`, then when Vertex AI receives a prediction request, it forwards the request body in a POST request to the `/foo` path on the port of your container specified by the first value of this `ModelContainerSpec`'s ports field. If you don't specify this field, it defaults to the following value when you deploy this Model to an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict The placeholders in this value are replaced as follows: * ENDPOINT: The last segment (following `endpoints/`)of the Endpoint.name][] field of the Endpoint where this Model has been deployed. (Vertex AI makes this value available to your container code as the [`AIP_ENDPOINT_ID` environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID` environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)
34
35
* `sharedMemorySizeMb` (*type:* `String.t`, *default:* `nil`) - Immutable. The amount of the VM memory to reserve as the shared memory for the model in megabytes.
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_probe.ex
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,20 +22,31 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Probe do
22
22
## Attributes
23
23
24
24
* `exec` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeExecAction.t`, *default:* `nil`) - ExecAction probes the health of a container by executing a command.
25
+
* `grpc` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeGrpcAction.t`, *default:* `nil`) - GrpcAction probes the health of a container by sending a gRPC request.
26
+
* `httpGet` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeHttpGetAction.t`, *default:* `nil`) - HttpGetAction probes the health of a container by sending an HTTP GET request.
25
27
* `periodSeconds` (*type:* `integer()`, *default:* `nil`) - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'.
28
+
* `tcpSocket` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeTcpSocketAction.t`, *default:* `nil`) - TcpSocketAction probes the health of a container by opening a TCP socket connection.
26
29
* `timeoutSeconds` (*type:* `integer()`, *default:* `nil`) - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'.
0 commit comments