@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240224 → 0.0.20240301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +224 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240301
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -206,6 +206,8 @@ declare namespace gapi.client {
|
|
|
206
206
|
outputFilterInfo?: LearningServingLlmMessageMetadata[];
|
|
207
207
|
}
|
|
208
208
|
interface CloudAiNlLlmProtoServicePart {
|
|
209
|
+
/** Document metadata. The metadata should only be used by the Cloud LLM when supporting document mime types. It will only be populated when this image input part is converted from a document input part. */
|
|
210
|
+
documentMetadata?: CloudAiNlLlmProtoServicePartDocumentMetadata;
|
|
209
211
|
/** URI-based data. */
|
|
210
212
|
fileData?: CloudAiNlLlmProtoServicePartFileData;
|
|
211
213
|
/** Function call data. */
|
|
@@ -227,6 +229,12 @@ declare namespace gapi.client {
|
|
|
227
229
|
/** Original file data where the blob comes from. */
|
|
228
230
|
originalFileData?: CloudAiNlLlmProtoServicePartFileData;
|
|
229
231
|
}
|
|
232
|
+
interface CloudAiNlLlmProtoServicePartDocumentMetadata {
|
|
233
|
+
/** The original document blob. */
|
|
234
|
+
originalDocumentBlob?: CloudAiNlLlmProtoServicePartBlob;
|
|
235
|
+
/** The (1-indexed) page number of the image in the original document. The first page carries the original document content and mime type. */
|
|
236
|
+
pageNumber?: number;
|
|
237
|
+
}
|
|
230
238
|
interface CloudAiNlLlmProtoServicePartFileData {
|
|
231
239
|
/** Inline data. */
|
|
232
240
|
fileUri?: string;
|
|
@@ -272,11 +280,23 @@ declare namespace gapi.client {
|
|
|
272
280
|
confidence?: string;
|
|
273
281
|
/** Whether the category is flagged as being present. Currently, this is set to true if score >= 0.5. */
|
|
274
282
|
flagged?: boolean;
|
|
283
|
+
/** The influential terms that could potentially block the response. */
|
|
284
|
+
influentialTerms?: CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm[];
|
|
275
285
|
/** The RAI category. */
|
|
276
286
|
raiCategory?: string;
|
|
277
287
|
/** The score for the category, in the range [0.0, 1.0]. */
|
|
278
288
|
score?: number;
|
|
279
289
|
}
|
|
290
|
+
interface CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm {
|
|
291
|
+
/** The beginning offset of the influential term. */
|
|
292
|
+
beginOffset?: number;
|
|
293
|
+
/** The confidence score of the influential term. */
|
|
294
|
+
confidence?: number;
|
|
295
|
+
/** The source of the influential term, prompt or response. */
|
|
296
|
+
source?: string;
|
|
297
|
+
/** The influential term. */
|
|
298
|
+
term?: string;
|
|
299
|
+
}
|
|
280
300
|
interface CloudAiNlLlmProtoServiceSafetyRating {
|
|
281
301
|
/** Indicates whether the content was filtered out because of this rating. */
|
|
282
302
|
blocked?: boolean;
|
|
@@ -451,6 +471,10 @@ declare namespace gapi.client {
|
|
|
451
471
|
/** Required. Google Cloud Storage location. */
|
|
452
472
|
gcsSource?: GoogleCloudAiplatformV1GcsSource;
|
|
453
473
|
}
|
|
474
|
+
interface GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest {
|
|
475
|
+
/** Required. The names of the PipelineJobs to cancel. A maximum of 32 PipelineJobs can be cancelled in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` */
|
|
476
|
+
names?: string[];
|
|
477
|
+
}
|
|
454
478
|
interface GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata {
|
|
455
479
|
/** Operation metadata for Feature. */
|
|
456
480
|
genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
@@ -487,6 +511,10 @@ declare namespace gapi.client {
|
|
|
487
511
|
/** Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count */
|
|
488
512
|
startingReplicaCount?: number;
|
|
489
513
|
}
|
|
514
|
+
interface GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest {
|
|
515
|
+
/** Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` */
|
|
516
|
+
names?: string[];
|
|
517
|
+
}
|
|
490
518
|
interface GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest {
|
|
491
519
|
/** Required. Evaluated annotations resource to be imported. */
|
|
492
520
|
evaluatedAnnotations?: GoogleCloudAiplatformV1EvaluatedAnnotation[];
|
|
@@ -1099,7 +1127,7 @@ declare namespace gapi.client {
|
|
|
1099
1127
|
displayName?: string;
|
|
1100
1128
|
/** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1101
1129
|
etag?: string;
|
|
1102
|
-
/** Required. Additional information about the DatasetVersion. */
|
|
1130
|
+
/** Required. Output only. Additional information about the DatasetVersion. */
|
|
1103
1131
|
metadata?: any;
|
|
1104
1132
|
/** Output only. The resource name of the DatasetVersion. */
|
|
1105
1133
|
name?: string;
|
|
@@ -2187,6 +2215,10 @@ declare namespace gapi.client {
|
|
|
2187
2215
|
/** Output only. Time when the operation was updated for the last time. If the operation has finished (successfully or not), this is the finish time. */
|
|
2188
2216
|
updateTime?: string;
|
|
2189
2217
|
}
|
|
2218
|
+
interface GoogleCloudAiplatformV1GenieSource {
|
|
2219
|
+
/** Required. The public base model URI. */
|
|
2220
|
+
baseModelUri?: string;
|
|
2221
|
+
}
|
|
2190
2222
|
interface GoogleCloudAiplatformV1GroundingAttribution {
|
|
2191
2223
|
/** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
|
|
2192
2224
|
confidenceScore?: number;
|
|
@@ -2913,6 +2945,8 @@ declare namespace gapi.client {
|
|
|
2913
2945
|
interface GoogleCloudAiplatformV1Model {
|
|
2914
2946
|
/** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models. */
|
|
2915
2947
|
artifactUri?: string;
|
|
2948
|
+
/** Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models. */
|
|
2949
|
+
baseModelSource?: GoogleCloudAiplatformV1ModelBaseModelSource;
|
|
2916
2950
|
/** Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models. */
|
|
2917
2951
|
containerSpec?: GoogleCloudAiplatformV1ModelContainerSpec;
|
|
2918
2952
|
/** Output only. Timestamp when this Model was uploaded into Vertex AI. */
|
|
@@ -2972,6 +3006,12 @@ declare namespace gapi.client {
|
|
|
2972
3006
|
/** Output only. Timestamp when this version was most recently updated. */
|
|
2973
3007
|
versionUpdateTime?: string;
|
|
2974
3008
|
}
|
|
3009
|
+
interface GoogleCloudAiplatformV1ModelBaseModelSource {
|
|
3010
|
+
/** Information about the base model of Genie models. */
|
|
3011
|
+
genieSource?: GoogleCloudAiplatformV1GenieSource;
|
|
3012
|
+
/** Source information of Model Garden models. */
|
|
3013
|
+
modelGardenSource?: GoogleCloudAiplatformV1ModelGardenSource;
|
|
3014
|
+
}
|
|
2975
3015
|
interface GoogleCloudAiplatformV1ModelContainerSpec {
|
|
2976
3016
|
/** Immutable. Specifies arguments for the command that runs when the container starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd). Specify this field as an array of executable and arguments, similar to a Docker `CMD`'s "default parameters" form. If you don't specify this field but do specify the command field, then the command from the `command` field runs without any additional arguments. See the [Kubernetes documentation about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). If you don't specify this field and don't specify the `command` field, then the container's [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `CMD` determine what runs based on their default behavior. See the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In this field, you can reference [environment variables set by Vertex AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables) and environment variables set in the env field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `args` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). */
|
|
2977
3017
|
args?: string[];
|
|
@@ -3176,6 +3216,10 @@ declare namespace gapi.client {
|
|
|
3176
3216
|
/** Output only. The ID of the export format. The possible format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite` Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js` A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * `core-ml` Used for iOS mobile devices. * `custom-trained` A Model that was uploaded or trained by custom code. */
|
|
3177
3217
|
id?: string;
|
|
3178
3218
|
}
|
|
3219
|
+
interface GoogleCloudAiplatformV1ModelGardenSource {
|
|
3220
|
+
/** Required. The model garden source model resource name. */
|
|
3221
|
+
publicModelName?: string;
|
|
3222
|
+
}
|
|
3179
3223
|
interface GoogleCloudAiplatformV1ModelMonitoringAlertConfig {
|
|
3180
3224
|
/** Email alert config. */
|
|
3181
3225
|
emailAlertConfig?: GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig;
|
|
@@ -10346,7 +10390,7 @@ declare namespace gapi.client {
|
|
|
10346
10390
|
callback?: string;
|
|
10347
10391
|
/** Selector specifying which fields to include in a partial response. */
|
|
10348
10392
|
fields?: string;
|
|
10349
|
-
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
|
|
10393
|
+
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
|
|
10350
10394
|
filter?: string;
|
|
10351
10395
|
/** 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. */
|
|
10352
10396
|
key?: string;
|
|
@@ -19262,7 +19306,7 @@ declare namespace gapi.client {
|
|
|
19262
19306
|
callback?: string;
|
|
19263
19307
|
/** Selector specifying which fields to include in a partial response. */
|
|
19264
19308
|
fields?: string;
|
|
19265
|
-
/** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
|
|
19309
|
+
/** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
|
|
19266
19310
|
filter?: string;
|
|
19267
19311
|
/** 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. */
|
|
19268
19312
|
key?: string;
|
|
@@ -20691,6 +20735,122 @@ declare namespace gapi.client {
|
|
|
20691
20735
|
}): Request<GoogleLongrunningOperation>;
|
|
20692
20736
|
}
|
|
20693
20737
|
interface PipelineJobsResource {
|
|
20738
|
+
/** Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO. */
|
|
20739
|
+
batchCancel(request: {
|
|
20740
|
+
/** V1 error format. */
|
|
20741
|
+
'$.xgafv'?: string;
|
|
20742
|
+
/** OAuth access token. */
|
|
20743
|
+
access_token?: string;
|
|
20744
|
+
/** Data format for response. */
|
|
20745
|
+
alt?: string;
|
|
20746
|
+
/** JSONP */
|
|
20747
|
+
callback?: string;
|
|
20748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20749
|
+
fields?: string;
|
|
20750
|
+
/** 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. */
|
|
20751
|
+
key?: string;
|
|
20752
|
+
/** OAuth 2.0 token for the current user. */
|
|
20753
|
+
oauth_token?: string;
|
|
20754
|
+
/** Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}` */
|
|
20755
|
+
parent: string;
|
|
20756
|
+
/** Returns response with indentations and line breaks. */
|
|
20757
|
+
prettyPrint?: boolean;
|
|
20758
|
+
/** 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. */
|
|
20759
|
+
quotaUser?: string;
|
|
20760
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20761
|
+
upload_protocol?: string;
|
|
20762
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20763
|
+
uploadType?: string;
|
|
20764
|
+
/** Request body */
|
|
20765
|
+
resource: GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest;
|
|
20766
|
+
}): Request<GoogleLongrunningOperation>;
|
|
20767
|
+
batchCancel(
|
|
20768
|
+
request: {
|
|
20769
|
+
/** V1 error format. */
|
|
20770
|
+
'$.xgafv'?: string;
|
|
20771
|
+
/** OAuth access token. */
|
|
20772
|
+
access_token?: string;
|
|
20773
|
+
/** Data format for response. */
|
|
20774
|
+
alt?: string;
|
|
20775
|
+
/** JSONP */
|
|
20776
|
+
callback?: string;
|
|
20777
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20778
|
+
fields?: string;
|
|
20779
|
+
/** 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. */
|
|
20780
|
+
key?: string;
|
|
20781
|
+
/** OAuth 2.0 token for the current user. */
|
|
20782
|
+
oauth_token?: string;
|
|
20783
|
+
/** Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}` */
|
|
20784
|
+
parent: string;
|
|
20785
|
+
/** Returns response with indentations and line breaks. */
|
|
20786
|
+
prettyPrint?: boolean;
|
|
20787
|
+
/** 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. */
|
|
20788
|
+
quotaUser?: string;
|
|
20789
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20790
|
+
upload_protocol?: string;
|
|
20791
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20792
|
+
uploadType?: string;
|
|
20793
|
+
},
|
|
20794
|
+
body: GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
|
|
20795
|
+
): Request<GoogleLongrunningOperation>;
|
|
20796
|
+
/** Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted. */
|
|
20797
|
+
batchDelete(request: {
|
|
20798
|
+
/** V1 error format. */
|
|
20799
|
+
'$.xgafv'?: string;
|
|
20800
|
+
/** OAuth access token. */
|
|
20801
|
+
access_token?: string;
|
|
20802
|
+
/** Data format for response. */
|
|
20803
|
+
alt?: string;
|
|
20804
|
+
/** JSONP */
|
|
20805
|
+
callback?: string;
|
|
20806
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20807
|
+
fields?: string;
|
|
20808
|
+
/** 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. */
|
|
20809
|
+
key?: string;
|
|
20810
|
+
/** OAuth 2.0 token for the current user. */
|
|
20811
|
+
oauth_token?: string;
|
|
20812
|
+
/** Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}` */
|
|
20813
|
+
parent: string;
|
|
20814
|
+
/** Returns response with indentations and line breaks. */
|
|
20815
|
+
prettyPrint?: boolean;
|
|
20816
|
+
/** 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. */
|
|
20817
|
+
quotaUser?: string;
|
|
20818
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20819
|
+
upload_protocol?: string;
|
|
20820
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20821
|
+
uploadType?: string;
|
|
20822
|
+
/** Request body */
|
|
20823
|
+
resource: GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest;
|
|
20824
|
+
}): Request<GoogleLongrunningOperation>;
|
|
20825
|
+
batchDelete(
|
|
20826
|
+
request: {
|
|
20827
|
+
/** V1 error format. */
|
|
20828
|
+
'$.xgafv'?: string;
|
|
20829
|
+
/** OAuth access token. */
|
|
20830
|
+
access_token?: string;
|
|
20831
|
+
/** Data format for response. */
|
|
20832
|
+
alt?: string;
|
|
20833
|
+
/** JSONP */
|
|
20834
|
+
callback?: string;
|
|
20835
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20836
|
+
fields?: string;
|
|
20837
|
+
/** 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. */
|
|
20838
|
+
key?: string;
|
|
20839
|
+
/** OAuth 2.0 token for the current user. */
|
|
20840
|
+
oauth_token?: string;
|
|
20841
|
+
/** Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}` */
|
|
20842
|
+
parent: string;
|
|
20843
|
+
/** Returns response with indentations and line breaks. */
|
|
20844
|
+
prettyPrint?: boolean;
|
|
20845
|
+
/** 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. */
|
|
20846
|
+
quotaUser?: string;
|
|
20847
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20848
|
+
upload_protocol?: string;
|
|
20849
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20850
|
+
uploadType?: string;
|
|
20851
|
+
},
|
|
20852
|
+
body: GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
|
|
20853
|
+
): Request<GoogleLongrunningOperation>;
|
|
20694
20854
|
/** Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a PipelineJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and PipelineJob.state is set to `CANCELLED`. */
|
|
20695
20855
|
cancel(request: {
|
|
20696
20856
|
/** V1 error format. */
|
|
@@ -25429,6 +25589,65 @@ declare namespace gapi.client {
|
|
|
25429
25589
|
}): Request<GoogleCloudAiplatformV1ListTrainingPipelinesResponse>;
|
|
25430
25590
|
operations: OperationsResource;
|
|
25431
25591
|
}
|
|
25592
|
+
interface OperationsResource {
|
|
25593
|
+
/** 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`. */
|
|
25594
|
+
cancel(request?: {
|
|
25595
|
+
/** V1 error format. */
|
|
25596
|
+
'$.xgafv'?: string;
|
|
25597
|
+
/** OAuth access token. */
|
|
25598
|
+
access_token?: string;
|
|
25599
|
+
/** Data format for response. */
|
|
25600
|
+
alt?: string;
|
|
25601
|
+
/** JSONP */
|
|
25602
|
+
callback?: string;
|
|
25603
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25604
|
+
fields?: string;
|
|
25605
|
+
/** 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. */
|
|
25606
|
+
key?: string;
|
|
25607
|
+
/** The name of the operation resource to be cancelled. */
|
|
25608
|
+
name: string;
|
|
25609
|
+
/** OAuth 2.0 token for the current user. */
|
|
25610
|
+
oauth_token?: string;
|
|
25611
|
+
/** Returns response with indentations and line breaks. */
|
|
25612
|
+
prettyPrint?: boolean;
|
|
25613
|
+
/** 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. */
|
|
25614
|
+
quotaUser?: string;
|
|
25615
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25616
|
+
upload_protocol?: string;
|
|
25617
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25618
|
+
uploadType?: string;
|
|
25619
|
+
}): Request<{}>;
|
|
25620
|
+
/** 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. */
|
|
25621
|
+
get(request?: {
|
|
25622
|
+
/** V1 error format. */
|
|
25623
|
+
'$.xgafv'?: string;
|
|
25624
|
+
/** OAuth access token. */
|
|
25625
|
+
access_token?: string;
|
|
25626
|
+
/** Data format for response. */
|
|
25627
|
+
alt?: string;
|
|
25628
|
+
/** JSONP */
|
|
25629
|
+
callback?: string;
|
|
25630
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25631
|
+
fields?: string;
|
|
25632
|
+
/** 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. */
|
|
25633
|
+
key?: string;
|
|
25634
|
+
/** The name of the operation resource. */
|
|
25635
|
+
name: string;
|
|
25636
|
+
/** OAuth 2.0 token for the current user. */
|
|
25637
|
+
oauth_token?: string;
|
|
25638
|
+
/** Returns response with indentations and line breaks. */
|
|
25639
|
+
prettyPrint?: boolean;
|
|
25640
|
+
/** 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. */
|
|
25641
|
+
quotaUser?: string;
|
|
25642
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25643
|
+
upload_protocol?: string;
|
|
25644
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25645
|
+
uploadType?: string;
|
|
25646
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25647
|
+
}
|
|
25648
|
+
interface TuningJobsResource {
|
|
25649
|
+
operations: OperationsResource;
|
|
25650
|
+
}
|
|
25432
25651
|
interface LocationsResource {
|
|
25433
25652
|
/** Gets information about a location. */
|
|
25434
25653
|
get(request?: {
|
|
@@ -25517,6 +25736,7 @@ declare namespace gapi.client {
|
|
|
25517
25736
|
studies: StudiesResource;
|
|
25518
25737
|
tensorboards: TensorboardsResource;
|
|
25519
25738
|
trainingPipelines: TrainingPipelinesResource;
|
|
25739
|
+
tuningJobs: TuningJobsResource;
|
|
25520
25740
|
}
|
|
25521
25741
|
interface ProjectsResource {
|
|
25522
25742
|
locations: LocationsResource;
|