Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: API regeneration: release-2024-12-18.01-03-22 #2904

Merged
merged 11 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 166 additions & 20 deletions DiscoveryJson/aiplatform.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@
"endpointUrl": "https://us-east4-aiplatform.googleapis.com/",
"location": "us-east4"
},
{
"description": "Locational Endpoint",
"endpointUrl": "https://us-east7-aiplatform.googleapis.com/",
"location": "us-east7"
},
{
"description": "Locational Endpoint",
"endpointUrl": "https://us-south1-aiplatform.googleapis.com/",
Expand Down Expand Up @@ -445,7 +450,7 @@
],
"parameters": {
"name": {
"description": "Output only. Identifier. The resource name of the Dataset.",
"description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`",
"location": "path",
"pattern": "^datasets/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2211,7 +2216,7 @@
],
"parameters": {
"name": {
"description": "Output only. Identifier. The resource name of the Dataset.",
"description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
Expand Down Expand Up @@ -15346,6 +15351,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"streamQuery": {
"description": "Streams queries using a reasoning engine.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:streamQuery",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.reasoningEngines.streamQuery",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:streamQuery",
"request": {
"$ref": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest"
},
"response": {
"$ref": "GoogleApiHttpBody"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -19294,7 +19327,7 @@
}
}
},
"revision": "20241203",
"revision": "20241210",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -22655,7 +22688,7 @@
"type": "string"
},
"name": {
"description": "Output only. Identifier. The resource name of the Dataset.",
"description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`",
"readOnly": true,
"type": "string"
},
Expand Down Expand Up @@ -26859,6 +26892,22 @@
"format": "int32",
"type": "integer"
},
"mediaResolution": {
"description": "Optional. If specified, the media resolution specified will be used.",
"enum": [
"MEDIA_RESOLUTION_UNSPECIFIED",
"MEDIA_RESOLUTION_LOW",
"MEDIA_RESOLUTION_MEDIUM",
"MEDIA_RESOLUTION_HIGH"
],
"enumDescriptions": [
"Media resolution has not been set.",
"Media resolution set to low (64 tokens).",
"Media resolution set to medium (256 tokens).",
"Media resolution set to high (zoomed reframing with 256 tokens)."
],
"type": "string"
},
"presencePenalty": {
"description": "Optional. Positive penalties.",
"format": "float",
Expand Down Expand Up @@ -26920,22 +26969,6 @@
"format": "float",
"type": "number"
},
"tokenResolution": {
"description": "Optional. If specified, the token resolution specified will be used.",
"enum": [
"TOKEN_RESOLUTION_UNSPECIFIED",
"TOKEN_RESOLUTION_LOW",
"TOKEN_RESOLUTION_MEDIUM",
"TOKEN_RESOLUTION_HIGH"
],
"enumDescriptions": [
"Token resolution has not been set.",
"Token resolution set to low (64 tokens).",
"Token resolution set to medium (256 tokens).",
"Token resolution set to high (P&S with 256 tokens)."
],
"type": "string"
},
"topK": {
"description": "Optional. If specified, top-k sampling will be used.",
"format": "float",
Expand Down Expand Up @@ -30070,6 +30103,10 @@
"description": "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.",
"type": "string"
},
"livenessProbe": {
"$ref": "GoogleCloudAiplatformV1Probe",
"description": "Immutable. Specification for Kubernetes liveness probe."
},
"ports": {
"description": "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).",
"items": {
Expand Down Expand Up @@ -33436,11 +33473,23 @@
"$ref": "GoogleCloudAiplatformV1ProbeExecAction",
"description": "ExecAction probes the health of a container by executing a command."
},
"grpc": {
"$ref": "GoogleCloudAiplatformV1ProbeGrpcAction",
"description": "GrpcAction probes the health of a container by sending a gRPC request."
},
"httpGet": {
"$ref": "GoogleCloudAiplatformV1ProbeHttpGetAction",
"description": "HttpGetAction probes the health of a container by sending an HTTP GET request."
},
"periodSeconds": {
"description": "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'.",
"format": "int32",
"type": "integer"
},
"tcpSocket": {
"$ref": "GoogleCloudAiplatformV1ProbeTcpSocketAction",
"description": "TcpSocketAction probes the health of a container by opening a TCP socket connection."
},
"timeoutSeconds": {
"description": "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'.",
"format": "int32",
Expand All @@ -33463,6 +33512,84 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1ProbeGrpcAction": {
"description": "GrpcAction checks the health of a container using a gRPC service.",
"id": "GoogleCloudAiplatformV1ProbeGrpcAction",
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
"format": "int32",
"type": "integer"
},
"service": {
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ProbeHttpGetAction": {
"description": "HttpGetAction describes an action based on HTTP Get requests.",
"id": "GoogleCloudAiplatformV1ProbeHttpGetAction",
"properties": {
"host": {
"description": "Host name to connect to, defaults to the model serving container's IP. You probably want to set \"Host\" in httpHeaders instead.",
"type": "string"
},
"httpHeaders": {
"description": "Custom headers to set in the request. HTTP allows repeated headers.",
"items": {
"$ref": "GoogleCloudAiplatformV1ProbeHttpHeader"
},
"type": "array"
},
"path": {
"description": "Path to access on the HTTP server.",
"type": "string"
},
"port": {
"description": "Number of the port to access on the container. Number must be in the range 1 to 65535.",
"format": "int32",
"type": "integer"
},
"scheme": {
"description": "Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are \"HTTP\" or \"HTTPS\".",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ProbeHttpHeader": {
"description": "HttpHeader describes a custom header to be used in HTTP probes",
"id": "GoogleCloudAiplatformV1ProbeHttpHeader",
"properties": {
"name": {
"description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.",
"type": "string"
},
"value": {
"description": "The header field value",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ProbeTcpSocketAction": {
"description": "TcpSocketAction probes the health of a container by opening a TCP socket connection.",
"id": "GoogleCloudAiplatformV1ProbeTcpSocketAction",
"properties": {
"host": {
"description": "Optional: Host name to connect to, defaults to the model serving container's IP.",
"type": "string"
},
"port": {
"description": "Number of the port to access on the container. Number must be in the range 1 to 65535.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1PscAutomatedEndpoints": {
"description": "PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each PscAutomationConfig.",
"id": "GoogleCloudAiplatformV1PscAutomatedEndpoints",
Expand Down Expand Up @@ -40750,6 +40877,25 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest": {
"description": "Request message for ReasoningEngineExecutionService.StreamQuery.",
"id": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest",
"properties": {
"classMethod": {
"description": "Optional. Class method to be used for the stream query. It is optional and defaults to \"stream_query\" if unspecified.",
"type": "string"
},
"input": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1StreamRawPredictRequest": {
"description": "Request message for PredictionService.StreamRawPredict.",
"id": "GoogleCloudAiplatformV1StreamRawPredictRequest",
Expand Down
Loading
Loading