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/projects.ex
+144Lines changed: 144 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39172,6 +39172,80 @@ defmodule GoogleApi.AIPlatform.V1.Api.Projects do
39172
39172
)
39173
39173
end
39174
39174
39175
+
@doc """
39176
+
Rebase a TunedModel.
39177
+
39178
+
## Parameters
39179
+
39180
+
* `connection` (*type:* `GoogleApi.AIPlatform.V1.Connection.t`) - Connection to server
39181
+
* `parent` (*type:* `String.t`) - Required. The resource name of the Location into which to rebase the Model. Format: `projects/{project}/locations/{location}`
* `:alt` (*type:* `String.t`) - Data format for response.
39186
+
* `:callback` (*type:* `String.t`) - JSONP
39187
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
39188
+
* `: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.
39189
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
39190
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
39191
+
* `: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.
39192
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
39193
+
* `: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`.
39177
39251
@@ -39242,6 +39316,76 @@ defmodule GoogleApi.AIPlatform.V1.Api.Projects do
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
39321
+
39322
+
## Parameters
39323
+
39324
+
* `connection` (*type:* `GoogleApi.AIPlatform.V1.Connection.t`) - Connection to server
39325
+
* `name` (*type:* `String.t`) - The name of the operation resource to be deleted.
* `:alt` (*type:* `String.t`) - Data format for response.
39330
+
* `:callback` (*type:* `String.t`) - JSONP
39331
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
39332
+
* `: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.
39333
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
39334
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
39335
+
* `: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.
39336
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
39337
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
39338
+
* `opts` (*type:* `keyword()`) - Call options
39339
+
39340
+
## Returns
39341
+
39342
+
* `{:ok, %GoogleApi.AIPlatform.V1.Model.GoogleProtobufEmpty{}}` on success
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_candidate.ex
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Candidate do
28
28
* `finishReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
29
29
* `groundingMetadata` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingMetadata.t`, *default:* `nil`) - Output only. Metadata specifies sources used to ground generated content.
30
30
* `index` (*type:* `integer()`, *default:* `nil`) - Output only. Index of the candidate.
31
+
* `logprobsResult` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1LogprobsResult.t`, *default:* `nil`) - Output only. Log-likelihood scores for the response tokens and top tokens
31
32
* `safetyRatings` (*type:* `list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SafetyRating.t)`, *default:* `nil`) - Output only. List of ratings for the safety of a response candidate. There is at most one rating per category.
32
33
"""
33
34
@@ -43,6 +44,8 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Candidate do
Copy file name to clipboardExpand all lines: clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_generate_content_response.ex
* `modelVersion` (*type:* `String.t`, *default:* `nil`) - Output only. The model version used to generate the response.
25
26
* `promptFeedback` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback.t`, *default:* `nil`) - Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.
26
27
* `usageMetadata` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata.t`, *default:* `nil`) - Usage metadata about the response(s).
* `responseLogprobs` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, export the logprobs results in response.
28
30
* `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.
29
31
* `responseSchema` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Schema.t`, *default:* `nil`) - Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.
* `chosenCandidates` (*type:* `list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1LogprobsResultCandidate.t)`, *default:* `nil`) - Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
25
+
* `topCandidates` (*type:* `list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1LogprobsResultTopCandidates.t)`, *default:* `nil`) - Length = total number of decoding steps.
0 commit comments