@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20231214 → 0.0.20231229

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.
Files changed (2) hide show
  1. package/index.d.ts +1683 -308
  2. 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: 20231214
12
+ // Revision: 20231229
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -172,6 +172,8 @@ declare namespace gapi.client {
172
172
  interface CloudAiNlLlmProtoServiceGenerateMultiModalResponse {
173
173
  /** Possible candidate responses to the conversation up until this point. */
174
174
  candidates?: CloudAiNlLlmProtoServiceCandidate[];
175
+ /** Debug information containing message metadata. Clients should not consume this field, and this is only populated for Flow Runner path. */
176
+ debugMetadata?: CloudAiNlLlmProtoServiceMessageMetadata;
175
177
  /** 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. */
176
178
  promptFeedback?: CloudAiNlLlmProtoServicePromptFeedback;
177
179
  /** Billable prediction metrics. */
@@ -179,6 +181,14 @@ declare namespace gapi.client {
179
181
  /** Usage metadata about the response(s). */
180
182
  usageMetadata?: CloudAiNlLlmProtoServiceUsageMetadata;
181
183
  }
184
+ interface CloudAiNlLlmProtoServiceMessageMetadata {
185
+ /** Filter metadata of the input messages. */
186
+ inputFilterInfo?: LearningServingLlmMessageMetadata;
187
+ /** This score is generated by the router model to decide which model to use */
188
+ modelRoutingDecision?: LearningGenaiRootRoutingDecision;
189
+ /** Filter metadata of the output messages. */
190
+ outputFilterInfo?: LearningServingLlmMessageMetadata[];
191
+ }
182
192
  interface CloudAiNlLlmProtoServicePart {
183
193
  /** URI-based data. */
184
194
  fileData?: CloudAiNlLlmProtoServicePartFileData;
@@ -221,6 +231,36 @@ declare namespace gapi.client {
221
231
  /** Safety ratings. */
222
232
  safetyRatings?: CloudAiNlLlmProtoServiceSafetyRating[];
223
233
  }
234
+ interface CloudAiNlLlmProtoServiceRaiResult {
235
+ /** Recitation result from Aida recitation checker. */
236
+ aidaRecitationResult?: LanguageLabsAidaTrustRecitationProtoRecitationResult;
237
+ /** Use `triggered_blocklist`. */
238
+ blocked?: boolean;
239
+ /** The error codes indicate which RAI filters block the response. */
240
+ errorCodes?: number[];
241
+ /** Whether the text should be filtered and not shown to the end user. This is determined based on a combination of `triggered_recitation`, `triggered_blocklist`, `language_filter_result`, and `triggered_safety_filter`. */
242
+ filtered?: boolean;
243
+ /** Language filter result from SAFT LangId. */
244
+ languageFilterResult?: LearningServingLlmLanguageFilterResult;
245
+ /** The RAI signals for the text. */
246
+ raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
247
+ /** Whether the text triggered the blocklist. */
248
+ triggeredBlocklist?: boolean;
249
+ /** Whether the text should be blocked by the recitation result from Aida recitation checker. It is determined from aida_recitation_result. */
250
+ triggeredRecitation?: boolean;
251
+ /** Whether the text triggered the safety filter. Currently, this is due to CSAI triggering or one of four categories (derogatory, sexual, toxic, violent) having a score over the filter threshold. */
252
+ triggeredSafetyFilter?: boolean;
253
+ }
254
+ interface CloudAiNlLlmProtoServiceRaiSignal {
255
+ /** The confidence level for the RAI category. */
256
+ confidence?: string;
257
+ /** Whether the category is flagged as being present. Currently, this is set to true if score >= 0.5. */
258
+ flagged?: boolean;
259
+ /** The RAI category. */
260
+ raiCategory?: string;
261
+ /** The score for the category, in the range [0.0, 1.0]. */
262
+ score?: number;
263
+ }
224
264
  interface CloudAiNlLlmProtoServiceSafetyRating {
225
265
  /** Indicates whether the content was filtered out because of this rating. */
226
266
  blocked?: boolean;
@@ -607,6 +647,20 @@ declare namespace gapi.client {
607
647
  interface GoogleCloudAiplatformV1CancelNasJobRequest {}
608
648
  interface GoogleCloudAiplatformV1CancelPipelineJobRequest {}
609
649
  interface GoogleCloudAiplatformV1CancelTrainingPipelineRequest {}
650
+ interface GoogleCloudAiplatformV1Candidate {
651
+ /** Output only. Source attribution of the generated content. */
652
+ citationMetadata?: GoogleCloudAiplatformV1CitationMetadata;
653
+ /** Output only. Content parts of the candidate. */
654
+ content?: GoogleCloudAiplatformV1Content;
655
+ /** Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set. */
656
+ finishMessage?: string;
657
+ /** Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens. */
658
+ finishReason?: string;
659
+ /** Output only. Index of the candidate. */
660
+ index?: number;
661
+ /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
662
+ safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
663
+ }
610
664
  interface GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata {
611
665
  /** Operation metadata for suggesting Trials. */
612
666
  genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
@@ -620,6 +674,24 @@ declare namespace gapi.client {
620
674
  /** True if the Trial should stop. */
621
675
  shouldStop?: boolean;
622
676
  }
677
+ interface GoogleCloudAiplatformV1Citation {
678
+ /** Output only. End index into the content. */
679
+ endIndex?: number;
680
+ /** Output only. License of the attribution. */
681
+ license?: string;
682
+ /** Output only. Publication date of the attribution. */
683
+ publicationDate?: GoogleTypeDate;
684
+ /** Output only. Start index into the content. */
685
+ startIndex?: number;
686
+ /** Output only. Title of the attribution. */
687
+ title?: string;
688
+ /** Output only. Url reference of the attribution. */
689
+ uri?: string;
690
+ }
691
+ interface GoogleCloudAiplatformV1CitationMetadata {
692
+ /** Output only. List of citations. */
693
+ citations?: GoogleCloudAiplatformV1Citation[];
694
+ }
623
695
  interface GoogleCloudAiplatformV1CompleteTrialRequest {
624
696
  /** Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement */
625
697
  finalMeasurement?: GoogleCloudAiplatformV1Measurement;
@@ -1543,7 +1615,7 @@ declare namespace gapi.client {
1543
1615
  interface GoogleCloudAiplatformV1ExportDataResponse {
1544
1616
  /** Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation. */
1545
1617
  dataStats?: GoogleCloudAiplatformV1ModelDataStats;
1546
- /** All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) GCS paths in wildcard format are populated (e.g., gs://.../training-*). */
1618
+ /** All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*). */
1547
1619
  exportedFiles?: string[];
1548
1620
  }
1549
1621
  interface GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata {
@@ -1651,7 +1723,7 @@ declare namespace gapi.client {
1651
1723
  updateTime?: string;
1652
1724
  /** Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value. */
1653
1725
  valueType?: string;
1654
- /** Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id. */
1726
+ /** Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id. */
1655
1727
  versionColumnName?: string;
1656
1728
  }
1657
1729
  interface GoogleCloudAiplatformV1FeatureGroup {
@@ -1972,6 +2044,26 @@ declare namespace gapi.client {
1972
2044
  /** The fraction of the input data that is to be used to validate the Model. */
1973
2045
  validationFraction?: number;
1974
2046
  }
2047
+ interface GoogleCloudAiplatformV1FunctionCall {
2048
+ /** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
2049
+ args?: {[P in string]: any};
2050
+ /** Required. The name of the function to call. Matches [FunctionDeclaration.name]. */
2051
+ name?: string;
2052
+ }
2053
+ interface GoogleCloudAiplatformV1FunctionDeclaration {
2054
+ /** Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */
2055
+ description?: string;
2056
+ /** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */
2057
+ name?: string;
2058
+ /** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
2059
+ parameters?: GoogleCloudAiplatformV1Schema;
2060
+ }
2061
+ interface GoogleCloudAiplatformV1FunctionResponse {
2062
+ /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
2063
+ name?: string;
2064
+ /** Required. The function response in JSON object format. */
2065
+ response?: {[P in string]: any};
2066
+ }
1975
2067
  interface GoogleCloudAiplatformV1GcsDestination {
1976
2068
  /** Required. Google Cloud Storage URI to output directory. If the uri doesn't end with '/', a '/' will be automatically appended. The directory is created if it doesn't exist. */
1977
2069
  outputUriPrefix?: string;
@@ -1980,6 +2072,53 @@ declare namespace gapi.client {
1980
2072
  /** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. */
1981
2073
  uris?: string[];
1982
2074
  }
2075
+ interface GoogleCloudAiplatformV1GenerateContentRequest {
2076
+ /** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
2077
+ contents?: GoogleCloudAiplatformV1Content[];
2078
+ /** Optional. Generation config. */
2079
+ generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
2080
+ /** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
2081
+ safetySettings?: GoogleCloudAiplatformV1SafetySetting[];
2082
+ /** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. The only supported tool is currently `Function` */
2083
+ tools?: GoogleCloudAiplatformV1Tool[];
2084
+ }
2085
+ interface GoogleCloudAiplatformV1GenerateContentResponse {
2086
+ /** Output only. Generated candidates. */
2087
+ candidates?: GoogleCloudAiplatformV1Candidate[];
2088
+ /** 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. */
2089
+ promptFeedback?: GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback;
2090
+ /** Usage metadata about the response(s). */
2091
+ usageMetadata?: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata;
2092
+ }
2093
+ interface GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback {
2094
+ /** Output only. Blocked reason. */
2095
+ blockReason?: string;
2096
+ /** Output only. A readable block reason message. */
2097
+ blockReasonMessage?: string;
2098
+ /** Output only. Safety ratings. */
2099
+ safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
2100
+ }
2101
+ interface GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata {
2102
+ /** Number of tokens in the response(s). */
2103
+ candidatesTokenCount?: number;
2104
+ /** Number of tokens in the request. */
2105
+ promptTokenCount?: number;
2106
+ totalTokenCount?: number;
2107
+ }
2108
+ interface GoogleCloudAiplatformV1GenerationConfig {
2109
+ /** Optional. Number of candidates to generate. */
2110
+ candidateCount?: number;
2111
+ /** Optional. The maximum number of output tokens to generate per message. */
2112
+ maxOutputTokens?: number;
2113
+ /** Optional. Stop sequences. */
2114
+ stopSequences?: string[];
2115
+ /** Optional. Controls the randomness of predictions. */
2116
+ temperature?: number;
2117
+ /** Optional. If specified, top-k sampling will be used. */
2118
+ topK?: number;
2119
+ /** Optional. If specified, nucleus sampling will be used. */
2120
+ topP?: number;
2121
+ }
1983
2122
  interface GoogleCloudAiplatformV1GenericOperationMetadata {
1984
2123
  /** Output only. Time when the operation was created. */
1985
2124
  createTime?: string;
@@ -2876,7 +3015,7 @@ declare namespace gapi.client {
2876
3015
  displayName?: string;
2877
3016
  /** Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data. */
2878
3017
  explanationSpecs?: GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec[];
2879
- /** The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path". */
3018
+ /** The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path", "row_based_metrics_path". */
2880
3019
  metadata?: any;
2881
3020
  /** Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri */
2882
3021
  metrics?: any;
@@ -3241,6 +3380,14 @@ declare namespace gapi.client {
3241
3380
  /** Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60. */
3242
3381
  idleTimeout?: string;
3243
3382
  }
3383
+ interface GoogleCloudAiplatformV1NotebookReservationAffinity {
3384
+ /** Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples. */
3385
+ consumeReservationType?: string;
3386
+ /** Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value. */
3387
+ key?: string;
3388
+ /** Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation. */
3389
+ values?: string[];
3390
+ }
3244
3391
  interface GoogleCloudAiplatformV1NotebookRuntime {
3245
3392
  /** Output only. Timestamp when this NotebookRuntime was created. */
3246
3393
  createTime?: string;
@@ -3252,16 +3399,22 @@ declare namespace gapi.client {
3252
3399
  expirationTime?: string;
3253
3400
  /** Output only. The health state of the NotebookRuntime. */
3254
3401
  healthState?: string;
3402
+ /** Output only. Whether NotebookRuntime is upgradable. */
3403
+ isUpgradable?: boolean;
3255
3404
  /** The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. * "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex. */
3256
3405
  labels?: {[P in string]: string};
3257
3406
  /** Output only. The resource name of the NotebookRuntime. */
3258
3407
  name?: string;
3408
+ /** Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */
3409
+ networkTags?: string[];
3259
3410
  /** Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from. */
3260
3411
  notebookRuntimeTemplateRef?: GoogleCloudAiplatformV1NotebookRuntimeTemplateRef;
3261
3412
  /** Output only. The type of the notebook runtime. */
3262
3413
  notebookRuntimeType?: string;
3263
3414
  /** Output only. The proxy endpoint used to access the NotebookRuntime. */
3264
3415
  proxyUri?: string;
3416
+ /** Output only. Reservation Affinity of the notebook runtime. */
3417
+ reservationAffinity?: GoogleCloudAiplatformV1NotebookReservationAffinity;
3265
3418
  /** Output only. The runtime (instance) state of the NotebookRuntime. */
3266
3419
  runtimeState?: string;
3267
3420
  /** Required. The user email of the NotebookRuntime. */
@@ -3298,10 +3451,16 @@ declare namespace gapi.client {
3298
3451
  name?: string;
3299
3452
  /** Optional. Network spec. */
3300
3453
  networkSpec?: GoogleCloudAiplatformV1NetworkSpec;
3454
+ /** Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */
3455
+ networkTags?: string[];
3301
3456
  /** Optional. Immutable. The type of the notebook runtime template. */
3302
3457
  notebookRuntimeType?: string;
3458
+ /** Optional. Reservation Affinity of the notebook runtime template. */
3459
+ reservationAffinity?: GoogleCloudAiplatformV1NotebookReservationAffinity;
3303
3460
  /** The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
3304
3461
  serviceAccount?: string;
3462
+ /** Optional. Immutable. Runtime Shielded VM spec. */
3463
+ shieldedVmConfig?: GoogleCloudAiplatformV1ShieldedVmConfig;
3305
3464
  /** Output only. Timestamp when this NotebookRuntimeTemplate was most recently updated. */
3306
3465
  updateTime?: string;
3307
3466
  }
@@ -3312,6 +3471,10 @@ declare namespace gapi.client {
3312
3471
  interface GoogleCloudAiplatformV1Part {
3313
3472
  /** Optional. URI based data. */
3314
3473
  fileData?: GoogleCloudAiplatformV1FileData;
3474
+ /** Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values. */
3475
+ functionCall?: GoogleCloudAiplatformV1FunctionCall;
3476
+ /** Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model. */
3477
+ functionResponse?: GoogleCloudAiplatformV1FunctionResponse;
3315
3478
  /** Optional. Inlined bytes data. */
3316
3479
  inlineData?: GoogleCloudAiplatformV1Blob;
3317
3480
  /** Optional. Text part (can be code). */
@@ -3570,12 +3733,16 @@ declare namespace gapi.client {
3570
3733
  openEvaluationPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3571
3734
  /** Optional. Open fine-tuning pipeline of the PublisherModel. */
3572
3735
  openFineTuningPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3736
+ /** Optional. Open fine-tuning pipelines of the PublisherModel. */
3737
+ openFineTuningPipelines?: GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines;
3573
3738
  /** Optional. Open in Generation AI Studio. */
3574
3739
  openGenerationAiStudio?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3575
3740
  /** Optional. Open Genie / Playground. */
3576
3741
  openGenie?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3577
3742
  /** Optional. Open notebook of the PublisherModel. */
3578
3743
  openNotebook?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3744
+ /** Optional. Open notebooks of the PublisherModel. */
3745
+ openNotebooks?: GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks;
3579
3746
  /** Optional. Open prompt-tuning pipeline of the PublisherModel. */
3580
3747
  openPromptTuningPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3581
3748
  /** Optional. Request for access. */
@@ -3603,12 +3770,26 @@ declare namespace gapi.client {
3603
3770
  /** Required. The title of the regional resource reference. */
3604
3771
  title?: string;
3605
3772
  }
3773
+ interface GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines {
3774
+ /** Required. Regional resource references to fine tuning pipelines. */
3775
+ fineTuningPipelines?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences[];
3776
+ }
3777
+ interface GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks {
3778
+ /** Required. Regional resource references to notebooks. */
3779
+ notebooks?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences[];
3780
+ }
3606
3781
  interface GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences {
3607
3782
  /** Required. */
3608
3783
  references?: {
3609
3784
  [P in string]: GoogleCloudAiplatformV1PublisherModelResourceReference;
3610
3785
  };
3611
- /** Required. The title of the regional resource reference. */
3786
+ /** Optional. Description of the resource. */
3787
+ resourceDescription?: string;
3788
+ /** Optional. Title of the resource. */
3789
+ resourceTitle?: string;
3790
+ /** Optional. Use case (CUJ) of the resource. */
3791
+ resourceUseCase?: string;
3792
+ /** Required. */
3612
3793
  title?: string;
3613
3794
  }
3614
3795
  interface GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi {
@@ -3804,6 +3985,20 @@ declare namespace gapi.client {
3804
3985
  /** Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false. */
3805
3986
  catchUp?: boolean;
3806
3987
  }
3988
+ interface GoogleCloudAiplatformV1SafetyRating {
3989
+ /** Output only. Indicates whether the content was filtered out because of this rating. */
3990
+ blocked?: boolean;
3991
+ /** Output only. Harm category. */
3992
+ category?: string;
3993
+ /** Output only. Harm probability levels in the content. */
3994
+ probability?: string;
3995
+ }
3996
+ interface GoogleCloudAiplatformV1SafetySetting {
3997
+ /** Required. Harm category. */
3998
+ category?: string;
3999
+ /** Required. The harm block threshold. */
4000
+ threshold?: string;
4001
+ }
3807
4002
  interface GoogleCloudAiplatformV1SampleConfig {
3808
4003
  /** The percentage of data needed to be labeled in each following batch (except the first batch). */
3809
4004
  followingBatchSamplePercentage?: number;
@@ -3897,11 +4092,33 @@ declare namespace gapi.client {
3897
4092
  interface GoogleCloudAiplatformV1Scheduling {
3898
4093
  /** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
3899
4094
  disableRetries?: boolean;
4095
+ /** Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day */
4096
+ maxWaitDuration?: string;
3900
4097
  /** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
3901
4098
  restartJobOnWorkerRestart?: boolean;
3902
4099
  /** The maximum job running time. The default is 7 days. */
3903
4100
  timeout?: string;
3904
4101
  }
4102
+ interface GoogleCloudAiplatformV1Schema {
4103
+ /** Optional. The description of the data. */
4104
+ description?: string;
4105
+ /** Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} */
4106
+ enum?: string[];
4107
+ /** Optional. Example of the object. Will only populated when the object is the root. */
4108
+ example?: any;
4109
+ /** Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 */
4110
+ format?: string;
4111
+ /** Optional. Schema of the elements of Type.ARRAY. */
4112
+ items?: GoogleCloudAiplatformV1Schema;
4113
+ /** Optional. Indicates if the value may be null. */
4114
+ nullable?: boolean;
4115
+ /** Optional. Properties of Type.OBJECT. */
4116
+ properties?: {[P in string]: GoogleCloudAiplatformV1Schema};
4117
+ /** Optional. Required properties of Type.OBJECT. */
4118
+ required?: string[];
4119
+ /** Optional. The type of the data. */
4120
+ type?: string;
4121
+ }
3905
4122
  interface GoogleCloudAiplatformV1SchemaAnnotationSpecColor {
3906
4123
  /** The color of the AnnotationSpec in a segmentation mask. */
3907
4124
  color?: GoogleTypeColor;
@@ -4323,7 +4540,7 @@ declare namespace gapi.client {
4323
4540
  interface GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry {
4324
4541
  /** The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead. */
4325
4542
  enterpriseDatastore?: string;
4326
- /** The grounding text passed inline with the Predict API. It can support up to 1 million token context. */
4543
+ /** The grounding text passed inline with the Predict API. It can support up to 1 million bytes. */
4327
4544
  inlineContext?: string;
4328
4545
  /** The type of the grounding checking source. */
4329
4546
  type?: string;
@@ -5232,6 +5449,10 @@ declare namespace gapi.client {
5232
5449
  /** The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call. */
5233
5450
  nextPageToken?: string;
5234
5451
  }
5452
+ interface GoogleCloudAiplatformV1ShieldedVmConfig {
5453
+ /** Defines whether the instance has [Secure Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. */
5454
+ enableSecureBoot?: boolean;
5455
+ }
5235
5456
  interface GoogleCloudAiplatformV1SmoothGradConfig {
5236
5457
  /** This is similar to noise_sigma, but provides additional flexibility. A separate noise sigma can be provided for each feature, which is useful if their distributions are different. No noise is added to features that are not set. If this field is unset, noise_sigma will be used for all features. */
5237
5458
  featureNoiseSigma?: GoogleCloudAiplatformV1FeatureNoiseSigma;
@@ -5659,6 +5880,10 @@ declare namespace gapi.client {
5659
5880
  /** A list of tokens from the input. */
5660
5881
  tokens?: string[];
5661
5882
  }
5883
+ interface GoogleCloudAiplatformV1Tool {
5884
+ /** Optional. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided. */
5885
+ functionDeclarations?: GoogleCloudAiplatformV1FunctionDeclaration[];
5886
+ }
5662
5887
  interface GoogleCloudAiplatformV1TrainingConfig {
5663
5888
  /** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
5664
5889
  timeoutTrainingMilliHours?: string;
@@ -5938,7 +6163,7 @@ declare namespace gapi.client {
5938
6163
  interface GoogleIamV1Binding {
5939
6164
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
5940
6165
  condition?: GoogleTypeExpr;
5941
- /** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. */
6166
+ /** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
5942
6167
  members?: string[];
5943
6168
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
5944
6169
  role?: string;
@@ -6052,6 +6277,460 @@ declare namespace gapi.client {
6052
6277
  /** One entry per metric name. The values must be aggregated per metric name. */
6053
6278
  metricEntries?: IntelligenceCloudAutomlXpsMetricEntry[];
6054
6279
  }
6280
+ interface LanguageLabsAidaTrustRecitationProtoDocAttribution {
6281
+ amarnaId?: string;
6282
+ arxivId?: string;
6283
+ author?: string;
6284
+ bibkey?: string;
6285
+ bookTitle?: string;
6286
+ /** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
6287
+ bookVolumeId?: string;
6288
+ category?: string;
6289
+ conversationId?: string;
6290
+ /** The dataset this document comes from. */
6291
+ dataset?: string;
6292
+ filepath?: string;
6293
+ geminiId?: string;
6294
+ gnewsArticleTitle?: string;
6295
+ goodallExampleId?: string;
6296
+ /** Whether the document is opted out. */
6297
+ isOptOut?: boolean;
6298
+ isPrompt?: boolean;
6299
+ lamdaExampleId?: string;
6300
+ license?: string;
6301
+ meenaConversationId?: string;
6302
+ /** Natural (not programming) language of the document. Language code as defined by http://www.unicode.org/reports/tr35/#Identifiers and https://tools.ietf.org/html/bcp47. Currently applicable to full-view books. Use docinfo-util.h to set & read language fields. See go/iii. */
6303
+ naturalLanguageCode?: string;
6304
+ /** True if this doc has no attribution information available. We use an explicit field for this instead of just implicitly leaving all the DocAttribution fields blank to distinguish a case where a bug/oversight has left the attribution information empty vs when we really have no attribution information available. */
6305
+ noAttribution?: boolean;
6306
+ podcastUtteranceId?: string;
6307
+ publicationDate?: GoogleTypeDate;
6308
+ /** This field is for opt-out experiment only, MUST never be used during actual production/serving. */
6309
+ qualityScoreExperimentOnly?: number;
6310
+ /** Github repository */
6311
+ repo?: string;
6312
+ /** URL of a webdoc */
6313
+ url?: string;
6314
+ volumeId?: string;
6315
+ /** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
6316
+ wikipediaArticleTitle?: string;
6317
+ }
6318
+ interface LanguageLabsAidaTrustRecitationProtoRecitationResult {
6319
+ dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
6320
+ /** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. */
6321
+ recitationAction?: string;
6322
+ trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
6323
+ }
6324
+ interface LanguageLabsAidaTrustRecitationProtoSegmentResult {
6325
+ /** The dataset the segment came from. */
6326
+ attributionDataset?: string;
6327
+ /** human-friendly string that contains information from doc_attribution which could be shown by clients */
6328
+ displayAttributionMessage?: string;
6329
+ /** populated when recitation_action == CITE */
6330
+ docAttribution?: LanguageLabsAidaTrustRecitationProtoDocAttribution;
6331
+ /** number of documents that contained this segment */
6332
+ docOccurrences?: number;
6333
+ endIndex?: number;
6334
+ /** The raw text in the given input that is corresponding to the segment. It will be available only when 'return_segment_raw_text' is enabled in the request options. */
6335
+ rawText?: string;
6336
+ segmentRecitationAction?: string;
6337
+ /** The segment boundary start (inclusive) and end index (exclusive) in the given text. In the streaming RPC, the indexes always start from the beginning of the first text in the entire stream. The indexes are measured in UTF-16 code units. */
6338
+ startIndex?: number;
6339
+ }
6340
+ interface LanguageLabsAidaTrustRecitationProtoStreamRecitationResult {
6341
+ /** The recitation result against the given dynamic data source. */
6342
+ dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
6343
+ /** Last index of input text fully checked for recitation in the entire streaming context. Would return `-1` if no Input was checked for recitation. */
6344
+ fullyCheckedTextIndex?: number;
6345
+ /** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. */
6346
+ recitationAction?: string;
6347
+ /** The recitation result against model training data. */
6348
+ trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
6349
+ }
6350
+ interface LearningGenaiRecitationDocAttribution {
6351
+ amarnaId?: string;
6352
+ arxivId?: string;
6353
+ author?: string;
6354
+ bibkey?: string;
6355
+ bookTitle?: string;
6356
+ /** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
6357
+ bookVolumeId?: string;
6358
+ conversationId?: string;
6359
+ /** The dataset this document comes from. */
6360
+ dataset?: string;
6361
+ filepath?: string;
6362
+ geminiId?: string;
6363
+ gnewsArticleTitle?: string;
6364
+ goodallExampleId?: string;
6365
+ /** Whether the document is opted out. */
6366
+ isOptOut?: boolean;
6367
+ /** When true, this attribution came from the user's prompt. */
6368
+ isPrompt?: boolean;
6369
+ lamdaExampleId?: string;
6370
+ license?: string;
6371
+ meenaConversationId?: string;
6372
+ /** Natural (not programming) language of the document. Language code as defined by http://www.unicode.org/reports/tr35/#Identifiers and https://tools.ietf.org/html/bcp47. Currently applicable to full-view books. Use docinfo-util.h to set & read language fields. See go/iii. */
6373
+ naturalLanguageCode?: string;
6374
+ /** True if this doc has no attribution information available. We use an explicit field for this instead of just implicitly leaving all the DocAttribution fields blank to distinguish a case where a bug/oversight has left the attribution information empty vs when we really have no attribution information available. */
6375
+ noAttribution?: boolean;
6376
+ podcastUtteranceId?: string;
6377
+ publicationDate?: GoogleTypeDate;
6378
+ /** This field is for opt-out experiment only, MUST never be used during actual production/serving. */
6379
+ qualityScoreExperimentOnly?: number;
6380
+ /** Github repository */
6381
+ repo?: string;
6382
+ /** URL of a webdoc */
6383
+ url?: string;
6384
+ volumeId?: string;
6385
+ /** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
6386
+ wikipediaArticleTitle?: string;
6387
+ }
6388
+ interface LearningGenaiRecitationRecitationResult {
6389
+ dynamicSegmentResults?: LearningGenaiRecitationSegmentResult[];
6390
+ /** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. */
6391
+ recitationAction?: string;
6392
+ trainingSegmentResults?: LearningGenaiRecitationSegmentResult[];
6393
+ }
6394
+ interface LearningGenaiRecitationSegmentResult {
6395
+ /** The dataset the segment came from. */
6396
+ attributionDataset?: string;
6397
+ /** human-friendly string that contains information from doc_attribution which could be shown by clients */
6398
+ displayAttributionMessage?: string;
6399
+ /** populated when recitation_action == CITE */
6400
+ docAttribution?: LearningGenaiRecitationDocAttribution;
6401
+ /** number of documents that contained this segment */
6402
+ docOccurrences?: number;
6403
+ endIndex?: number;
6404
+ /** The raw text in the given input that is corresponding to the segment. It will be available only when 'return_segment_raw_text' is enabled in the request options. */
6405
+ rawText?: string;
6406
+ segmentRecitationAction?: string;
6407
+ /** The segment boundary start (inclusive) and end index (exclusive) in the given text. In the streaming RPC, the indexes always start from the beginning of the first text in the entire stream. The indexes are measured in UTF-16 code units. */
6408
+ startIndex?: number;
6409
+ }
6410
+ interface LearningGenaiRootCalculationType {
6411
+ scoreType?: string;
6412
+ weights?: number;
6413
+ }
6414
+ interface LearningGenaiRootClassifierOutput {
6415
+ /** If set, this is the output of the first matching rule. */
6416
+ ruleOutput?: LearningGenaiRootRuleOutput;
6417
+ /** outputs of all matching rule. */
6418
+ ruleOutputs?: LearningGenaiRootRuleOutput[];
6419
+ /** The results of data_providers and metrics. */
6420
+ state?: LearningGenaiRootClassifierState;
6421
+ }
6422
+ interface LearningGenaiRootClassifierOutputSummary {
6423
+ metrics?: LearningGenaiRootMetricOutput[];
6424
+ /** Output of the first matching rule. */
6425
+ ruleOutput?: LearningGenaiRootRuleOutput;
6426
+ /** outputs of all matching rule. */
6427
+ ruleOutputs?: LearningGenaiRootRuleOutput[];
6428
+ }
6429
+ interface LearningGenaiRootClassifierState {
6430
+ dataProviderOutput?: LearningGenaiRootDataProviderOutput[];
6431
+ metricOutput?: LearningGenaiRootMetricOutput[];
6432
+ }
6433
+ interface LearningGenaiRootDataProviderOutput {
6434
+ name?: string;
6435
+ /** If set, this DataProvider failed and this is the error message. */
6436
+ status?: UtilStatusProto;
6437
+ }
6438
+ interface LearningGenaiRootFilterMetadata {
6439
+ /** Filter confidence. */
6440
+ confidence?: string;
6441
+ /** Debug info for the message. */
6442
+ debugInfo?: LearningGenaiRootFilterMetadataFilterDebugInfo;
6443
+ /** A fallback message chosen by the applied filter. */
6444
+ fallback?: string;
6445
+ /** Additional info for the filter. */
6446
+ info?: string;
6447
+ /** Name of the filter that triggered. */
6448
+ name?: string;
6449
+ /** Filter reason. */
6450
+ reason?: string;
6451
+ /** The input query or generated response that is getting filtered. */
6452
+ text?: string;
6453
+ }
6454
+ interface LearningGenaiRootFilterMetadataFilterDebugInfo {
6455
+ classifierOutput?: LearningGenaiRootClassifierOutput;
6456
+ defaultMetadata?: string;
6457
+ languageFilterResult?: LearningServingLlmLanguageFilterResult;
6458
+ /** Safety filter output information for LLM Root RAI harm check. */
6459
+ raiOutput?: LearningGenaiRootRAIOutput;
6460
+ raiResult?: CloudAiNlLlmProtoServiceRaiResult;
6461
+ raiSignal?: CloudAiNlLlmProtoServiceRaiSignal;
6462
+ streamRecitationResult?: LanguageLabsAidaTrustRecitationProtoStreamRecitationResult;
6463
+ takedownResult?: LearningGenaiRootTakedownResult;
6464
+ toxicityResult?: LearningGenaiRootToxicityResult;
6465
+ }
6466
+ interface LearningGenaiRootHarm {
6467
+ /** Please do not use, this is still under development. */
6468
+ contextualDangerous?: boolean;
6469
+ csam?: boolean;
6470
+ fringe?: boolean;
6471
+ grailImageHarmType?: LearningGenaiRootHarmGrailImageHarmType;
6472
+ grailTextHarmType?: LearningGenaiRootHarmGrailTextHarmType;
6473
+ imageCsam?: boolean;
6474
+ imagePedo?: boolean;
6475
+ /** Image signals */
6476
+ imagePorn?: boolean;
6477
+ imageViolence?: boolean;
6478
+ pqc?: boolean;
6479
+ safetycat?: LearningGenaiRootHarmSafetyCatCategories;
6480
+ spii?: LearningGenaiRootHarmSpiiFilter;
6481
+ threshold?: number;
6482
+ videoFrameCsam?: boolean;
6483
+ videoFramePedo?: boolean;
6484
+ /** Video frame signals */
6485
+ videoFramePorn?: boolean;
6486
+ videoFrameViolence?: boolean;
6487
+ }
6488
+ interface LearningGenaiRootHarmGrailImageHarmType {
6489
+ imageHarmType?: string[];
6490
+ }
6491
+ interface LearningGenaiRootHarmGrailTextHarmType {
6492
+ harmType?: string[];
6493
+ }
6494
+ interface LearningGenaiRootHarmSafetyCatCategories {
6495
+ categories?: string[];
6496
+ }
6497
+ interface LearningGenaiRootHarmSpiiFilter {
6498
+ usBankRoutingMicr?: boolean;
6499
+ usEmployerIdentificationNumber?: boolean;
6500
+ usSocialSecurityNumber?: boolean;
6501
+ }
6502
+ interface LearningGenaiRootInternalMetadata {
6503
+ scoredTokens?: LearningGenaiRootScoredToken[];
6504
+ }
6505
+ interface LearningGenaiRootMetricOutput {
6506
+ debug?: string;
6507
+ /** Name of the metric. */
6508
+ name?: string;
6509
+ numericValue?: number;
6510
+ status?: UtilStatusProto;
6511
+ stringValue?: string;
6512
+ }
6513
+ interface LearningGenaiRootRAIOutput {
6514
+ allowed?: boolean;
6515
+ harm?: LearningGenaiRootHarm;
6516
+ name?: string;
6517
+ score?: number;
6518
+ }
6519
+ interface LearningGenaiRootRegexTakedownResult {
6520
+ /** False when query or response should be taken down due to match with a blocked regex, true otherwise. */
6521
+ allowed?: boolean;
6522
+ /** Regex used to decide that query or response should be taken down. Empty when query or response is kept. */
6523
+ takedownRegex?: string;
6524
+ }
6525
+ interface LearningGenaiRootRequestResponseTakedownResult {
6526
+ /** False when response has to be taken down per above config. */
6527
+ allowed?: boolean;
6528
+ /** Regex used to match the request. */
6529
+ requestTakedownRegex?: string;
6530
+ /** Regex used to decide that response should be taken down. Empty when response is kept. */
6531
+ responseTakedownRegex?: string;
6532
+ }
6533
+ interface LearningGenaiRootRoutingDecision {
6534
+ metadata?: LearningGenaiRootRoutingDecisionMetadata;
6535
+ /** The selected model to route traffic to. */
6536
+ modelConfigId?: string;
6537
+ }
6538
+ interface LearningGenaiRootRoutingDecisionMetadata {
6539
+ scoreBasedRoutingMetadata?: LearningGenaiRootRoutingDecisionMetadataScoreBased;
6540
+ tokenLengthBasedRoutingMetadata?: LearningGenaiRootRoutingDecisionMetadataTokenLengthBased;
6541
+ }
6542
+ interface LearningGenaiRootRoutingDecisionMetadataScoreBased {
6543
+ /** The rule that was matched. */
6544
+ matchedRule?: LearningGenaiRootScoreBasedRoutingConfigRule;
6545
+ /** The score that was generated by the router i.e. the model. */
6546
+ score?: LearningGenaiRootScore;
6547
+ /** No rules were matched & therefore used the default fallback. */
6548
+ usedDefaultFallback?: boolean;
6549
+ }
6550
+ interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBased {
6551
+ modelInputTokenMetadata?: LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata[];
6552
+ modelMaxTokenMetadata?: LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelMaxTokenMetadata[];
6553
+ }
6554
+ interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata {
6555
+ /** The length computed by backends using the formatter & tokenizer specific to the model */
6556
+ computedInputTokenLength?: number;
6557
+ modelId?: string;
6558
+ }
6559
+ interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelMaxTokenMetadata {
6560
+ maxNumInputTokens?: number;
6561
+ maxNumOutputTokens?: number;
6562
+ modelId?: string;
6563
+ }
6564
+ interface LearningGenaiRootRuleOutput {
6565
+ decision?: string;
6566
+ name?: string;
6567
+ }
6568
+ interface LearningGenaiRootScore {
6569
+ calculationType?: LearningGenaiRootCalculationType;
6570
+ /** The internal_metadata is intended to be used by internal processors and will be cleared before returns. */
6571
+ internalMetadata?: LearningGenaiRootInternalMetadata;
6572
+ thresholdType?: LearningGenaiRootThresholdType;
6573
+ /** Top candidate tokens and log probabilities at each decoding step. */
6574
+ tokensAndLogprobPerDecodingStep?: LearningGenaiRootTokensAndLogProbPerDecodingStep;
6575
+ value?: number;
6576
+ }
6577
+ interface LearningGenaiRootScoreBasedRoutingConfigRule {
6578
+ /** NOTE: Hardest examples have smaller values in their routing scores. */
6579
+ equalOrGreaterThan?: LearningGenaiRootScore;
6580
+ lessThan?: LearningGenaiRootScore;
6581
+ /** This model_config_id points to ModelConfig::id which allows us to find the ModelConfig to route to. This is part of the banks specified in the ModelBankConfig. */
6582
+ modelConfigId?: string;
6583
+ }
6584
+ interface LearningGenaiRootScoredSimilarityTakedownPhrase {
6585
+ phrase?: LearningGenaiRootSimilarityTakedownPhrase;
6586
+ similarityScore?: number;
6587
+ }
6588
+ interface LearningGenaiRootScoredToken {
6589
+ /** Each end_token_score is a logprob for how well the completion would end at a particular token. See http://google3/labs/language/aida/config/proto/model_config.proto;l=376;rcl=573039459 */
6590
+ endTokenScore?: number;
6591
+ /** Each score is the logprob for the token in model response. */
6592
+ score?: number;
6593
+ token?: string;
6594
+ }
6595
+ interface LearningGenaiRootSimilarityTakedownPhrase {
6596
+ blockedPhrase?: string;
6597
+ }
6598
+ interface LearningGenaiRootSimilarityTakedownResult {
6599
+ /** False when query or response should be taken down by any of the takedown rules, true otherwise. */
6600
+ allowed?: boolean;
6601
+ /** List of similar phrases with score. Set only if allowed=false. */
6602
+ scoredPhrases?: LearningGenaiRootScoredSimilarityTakedownPhrase[];
6603
+ }
6604
+ interface LearningGenaiRootTakedownResult {
6605
+ /** False when query or response should be taken down by any of the takedown rules, true otherwise. */
6606
+ allowed?: boolean;
6607
+ regexTakedownResult?: LearningGenaiRootRegexTakedownResult;
6608
+ requestResponseTakedownResult?: LearningGenaiRootRequestResponseTakedownResult;
6609
+ similarityTakedownResult?: LearningGenaiRootSimilarityTakedownResult;
6610
+ }
6611
+ interface LearningGenaiRootThresholdType {
6612
+ scoreType?: string;
6613
+ threshold?: number;
6614
+ }
6615
+ interface LearningGenaiRootTokensAndLogProbPerDecodingStep {
6616
+ /** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
6617
+ chosenCandidates?: LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate[];
6618
+ /** Length = total number of decoding steps. */
6619
+ topCandidates?: LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates[];
6620
+ }
6621
+ interface LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate {
6622
+ /** The candidate's log probability. */
6623
+ logProbability?: number;
6624
+ /** The candidate’s token value. */
6625
+ token?: string;
6626
+ }
6627
+ interface LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates {
6628
+ /** Sorted by log probability in descending order. */
6629
+ candidates?: LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate[];
6630
+ }
6631
+ interface LearningGenaiRootToxicityResult {
6632
+ signals?: LearningGenaiRootToxicitySignal[];
6633
+ }
6634
+ interface LearningGenaiRootToxicitySignal {
6635
+ allowed?: boolean;
6636
+ label?: string;
6637
+ score?: number;
6638
+ }
6639
+ interface LearningServingLlmLanguageFilterResult {
6640
+ /** False when query or response should be filtered out due to unsupported language. */
6641
+ allowed?: boolean;
6642
+ /** Language of the query or response. */
6643
+ detectedLanguage?: string;
6644
+ /** Probability of the language predicted as returned by LangID. */
6645
+ detectedLanguageProbability?: number;
6646
+ }
6647
+ interface LearningServingLlmMessageMetadata {
6648
+ /** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
6649
+ classifierSummary?: LearningGenaiRootClassifierOutputSummary;
6650
+ currentStreamTextLength?: number;
6651
+ /** Whether the corresponding message has been deleted. */
6652
+ deleted?: boolean;
6653
+ /** Metadata for filters that triggered. */
6654
+ filterMeta?: LearningGenaiRootFilterMetadata[];
6655
+ /** This score is finally used for ranking the message. This will be same as the score present in `Message.score` field. */
6656
+ finalMessageScore?: LearningGenaiRootScore;
6657
+ /** NOT YET IMPLEMENTED. */
6658
+ finishReason?: string;
6659
+ /** Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty. */
6660
+ isFallback?: boolean;
6661
+ /** Result from nlp_saft DetectLanguage method. Currently the predicted language code and language probability is used. */
6662
+ langidResult?: NlpSaftLangIdResult;
6663
+ /** Detected language. */
6664
+ language?: string;
6665
+ /** The LM prefix used to generate this response. */
6666
+ lmPrefix?: string;
6667
+ /** The original text generated by LLM. This is the raw output for debugging purposes. */
6668
+ originalText?: string;
6669
+ /** NOT YET IMPLEMENTED. Applies to streaming only. Number of tokens decoded / emitted by the model as part of this stream. This may be different from token_count, which contains number of tokens returned in this response after any response rewriting / truncation. */
6670
+ perStreamDecodedTokenCount?: number;
6671
+ /** Results of running RAI on the query or this response candidate. One output per rai_config. It will be populated regardless of whether the threshold is exceeded or not. */
6672
+ raiOutputs?: LearningGenaiRootRAIOutput[];
6673
+ /** Recitation Results. It will be populated as long as Recitation processing is enabled, regardless of recitation outcome. */
6674
+ recitationResult?: LearningGenaiRecitationRecitationResult;
6675
+ /** NOT YET IMPLEMENTED. Number of tokens returned as part of this candidate. */
6676
+ returnTokenCount?: number;
6677
+ /** All the different scores for a message are logged here. */
6678
+ scores?: LearningGenaiRootScore[];
6679
+ /** Whether the response is terminated during streaming return. Only used for streaming requests. */
6680
+ streamTerminated?: boolean;
6681
+ /** NOT YET IMPLEMENTED. Aggregated number of total tokens decoded so far. For streaming, this is sum of all the tokens decoded so far i.e. aggregated count. */
6682
+ totalDecodedTokenCount?: number;
6683
+ /** Translated user-prompt used for RAI post processing. This is for internal processing only. We will translate in pre-processor and pass the translated text to the post processor using this field. It will be empty if non of the signals requested need translation. */
6684
+ translatedUserPrompts?: string[];
6685
+ /** The metadata from Vertex SafetyCat processors */
6686
+ vertexRaiResult?: CloudAiNlLlmProtoServiceRaiResult;
6687
+ }
6688
+ interface NlpSaftLangIdLocalesResult {
6689
+ /** List of locales in which the text would be considered acceptable. Sorted in descending order according to each locale's respective likelihood. For example, if a Portuguese text is acceptable in both Brazil and Portugal, but is more strongly associated with Brazil, then the predictions would be ["pt-BR", "pt-PT"], in that order. May be empty, indicating that the model did not predict any acceptable locales. */
6690
+ predictions?: NlpSaftLangIdLocalesResultLocale[];
6691
+ }
6692
+ interface NlpSaftLangIdLocalesResultLocale {
6693
+ /** A BCP 47 language code that includes region information. For example, "pt-BR" or "pt-PT". This field will always be populated. */
6694
+ languageCode?: string;
6695
+ }
6696
+ interface NlpSaftLangIdResult {
6697
+ /** The version of the model used to create these annotations. */
6698
+ modelVersion?: string;
6699
+ /** This field stores the n-best list of possible BCP 47 language code strings for a given input sorted in descending order according to each code's respective probability. */
6700
+ predictions?: NlpSaftLanguageSpan[];
6701
+ /** This field stores language predictions of subspans of the input, when available. Each LanguageSpanSequence is a sequence of LanguageSpans. A particular sequence of LanguageSpans has an associated probability, and need not necessarily cover the entire input. If no language could be predicted for any span, then this field may be empty. */
6702
+ spanPredictions?: NlpSaftLanguageSpanSequence[];
6703
+ }
6704
+ interface NlpSaftLanguageSpan {
6705
+ end?: number;
6706
+ /** A BCP 47 language code for this span. */
6707
+ languageCode?: string;
6708
+ /** Optional field containing any information that was predicted about the specific locale(s) of the span. */
6709
+ locales?: NlpSaftLangIdLocalesResult;
6710
+ /** A probability associated with this prediction. */
6711
+ probability?: number;
6712
+ /** Start and end byte offsets, inclusive, within the given input string. A value of -1 implies that this field is not set. Both fields must either be set with a nonnegative value or both are unset. If both are unset then this LanguageSpan applies to the entire input. */
6713
+ start?: number;
6714
+ }
6715
+ interface NlpSaftLanguageSpanSequence {
6716
+ /** A sequence of LanguageSpan objects, each assigning a language to a subspan of the input. */
6717
+ languageSpans?: NlpSaftLanguageSpan[];
6718
+ /** The probability of this sequence of LanguageSpans. */
6719
+ probability?: number;
6720
+ }
6721
+ interface Proto2BridgeMessageSet {}
6722
+ interface UtilStatusProto {
6723
+ /** The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be. */
6724
+ canonicalCode?: number;
6725
+ /** Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto */
6726
+ code?: number;
6727
+ /** Detail message */
6728
+ message?: string;
6729
+ /** message_set associates an arbitrary proto message with the status. */
6730
+ messageSet?: any;
6731
+ /** The following are usually only present when code != 0 Space to which this status belongs */
6732
+ space?: string;
6733
+ }
6055
6734
  interface BatchPredictionJobsResource {
6056
6735
  /** Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted. */
6057
6736
  cancel(request: {
@@ -9704,6 +10383,64 @@ declare namespace gapi.client {
9704
10383
  },
9705
10384
  body: GoogleCloudAiplatformV1StreamingPredictRequest
9706
10385
  ): Request<GoogleCloudAiplatformV1StreamingPredictResponse>;
10386
+ /** Generate content with multimodal inputs with streaming support. */
10387
+ streamGenerateContent(request: {
10388
+ /** V1 error format. */
10389
+ '$.xgafv'?: string;
10390
+ /** OAuth access token. */
10391
+ access_token?: string;
10392
+ /** Data format for response. */
10393
+ alt?: string;
10394
+ /** JSONP */
10395
+ callback?: string;
10396
+ /** Selector specifying which fields to include in a partial response. */
10397
+ fields?: string;
10398
+ /** 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. */
10399
+ key?: string;
10400
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
10401
+ model: string;
10402
+ /** OAuth 2.0 token for the current user. */
10403
+ oauth_token?: string;
10404
+ /** Returns response with indentations and line breaks. */
10405
+ prettyPrint?: boolean;
10406
+ /** 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. */
10407
+ quotaUser?: string;
10408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10409
+ upload_protocol?: string;
10410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10411
+ uploadType?: string;
10412
+ /** Request body */
10413
+ resource: GoogleCloudAiplatformV1GenerateContentRequest;
10414
+ }): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
10415
+ streamGenerateContent(
10416
+ request: {
10417
+ /** V1 error format. */
10418
+ '$.xgafv'?: string;
10419
+ /** OAuth access token. */
10420
+ access_token?: string;
10421
+ /** Data format for response. */
10422
+ alt?: string;
10423
+ /** JSONP */
10424
+ callback?: string;
10425
+ /** Selector specifying which fields to include in a partial response. */
10426
+ fields?: string;
10427
+ /** 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. */
10428
+ key?: string;
10429
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
10430
+ model: string;
10431
+ /** OAuth 2.0 token for the current user. */
10432
+ oauth_token?: string;
10433
+ /** Returns response with indentations and line breaks. */
10434
+ prettyPrint?: boolean;
10435
+ /** 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. */
10436
+ quotaUser?: string;
10437
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10438
+ upload_protocol?: string;
10439
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10440
+ uploadType?: string;
10441
+ },
10442
+ body: GoogleCloudAiplatformV1GenerateContentRequest
10443
+ ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
9707
10444
  /** Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using. */
9708
10445
  undeployModel(request: {
9709
10446
  /** V1 error format. */
@@ -14538,27 +15275,25 @@ declare namespace gapi.client {
14538
15275
  ): Request<{}>;
14539
15276
  operations: OperationsResource;
14540
15277
  }
14541
- interface ArtifactsResource {
14542
- /** Creates an Artifact associated with a MetadataStore. */
14543
- create(request: {
15278
+ interface OperationsResource {
15279
+ /** 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`. */
15280
+ cancel(request?: {
14544
15281
  /** V1 error format. */
14545
15282
  '$.xgafv'?: string;
14546
15283
  /** OAuth access token. */
14547
15284
  access_token?: string;
14548
15285
  /** Data format for response. */
14549
15286
  alt?: string;
14550
- /** The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.) */
14551
- artifactId?: string;
14552
15287
  /** JSONP */
14553
15288
  callback?: string;
14554
15289
  /** Selector specifying which fields to include in a partial response. */
14555
15290
  fields?: string;
14556
15291
  /** 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. */
14557
15292
  key?: string;
15293
+ /** The name of the operation resource to be cancelled. */
15294
+ name: string;
14558
15295
  /** OAuth 2.0 token for the current user. */
14559
15296
  oauth_token?: string;
14560
- /** Required. The resource name of the MetadataStore where the Artifact should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
14561
- parent: string;
14562
15297
  /** Returns response with indentations and line breaks. */
14563
15298
  prettyPrint?: boolean;
14564
15299
  /** 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. */
@@ -14567,41 +15302,8 @@ declare namespace gapi.client {
14567
15302
  upload_protocol?: string;
14568
15303
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14569
15304
  uploadType?: string;
14570
- /** Request body */
14571
- resource: GoogleCloudAiplatformV1Artifact;
14572
- }): Request<GoogleCloudAiplatformV1Artifact>;
14573
- create(
14574
- request: {
14575
- /** V1 error format. */
14576
- '$.xgafv'?: string;
14577
- /** OAuth access token. */
14578
- access_token?: string;
14579
- /** Data format for response. */
14580
- alt?: string;
14581
- /** The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.) */
14582
- artifactId?: string;
14583
- /** JSONP */
14584
- callback?: string;
14585
- /** Selector specifying which fields to include in a partial response. */
14586
- fields?: string;
14587
- /** 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. */
14588
- key?: string;
14589
- /** OAuth 2.0 token for the current user. */
14590
- oauth_token?: string;
14591
- /** Required. The resource name of the MetadataStore where the Artifact should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
14592
- parent: string;
14593
- /** Returns response with indentations and line breaks. */
14594
- prettyPrint?: boolean;
14595
- /** 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. */
14596
- quotaUser?: string;
14597
- /** Upload protocol for media (e.g. "raw", "multipart"). */
14598
- upload_protocol?: string;
14599
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14600
- uploadType?: string;
14601
- },
14602
- body: GoogleCloudAiplatformV1Artifact
14603
- ): Request<GoogleCloudAiplatformV1Artifact>;
14604
- /** Deletes an Artifact. */
15305
+ }): Request<{}>;
15306
+ /** 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`. */
14605
15307
  delete(request?: {
14606
15308
  /** V1 error format. */
14607
15309
  '$.xgafv'?: string;
@@ -14611,13 +15313,11 @@ declare namespace gapi.client {
14611
15313
  alt?: string;
14612
15314
  /** JSONP */
14613
15315
  callback?: string;
14614
- /** Optional. The etag of the Artifact to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION. */
14615
- etag?: string;
14616
15316
  /** Selector specifying which fields to include in a partial response. */
14617
15317
  fields?: string;
14618
15318
  /** 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. */
14619
15319
  key?: string;
14620
- /** Required. The resource name of the Artifact to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` */
15320
+ /** The name of the operation resource to be deleted. */
14621
15321
  name: string;
14622
15322
  /** OAuth 2.0 token for the current user. */
14623
15323
  oauth_token?: string;
@@ -14629,8 +15329,8 @@ declare namespace gapi.client {
14629
15329
  upload_protocol?: string;
14630
15330
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14631
15331
  uploadType?: string;
14632
- }): Request<GoogleLongrunningOperation>;
14633
- /** Retrieves a specific Artifact. */
15332
+ }): Request<{}>;
15333
+ /** 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. */
14634
15334
  get(request?: {
14635
15335
  /** V1 error format. */
14636
15336
  '$.xgafv'?: string;
@@ -14644,7 +15344,7 @@ declare namespace gapi.client {
14644
15344
  fields?: string;
14645
15345
  /** 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. */
14646
15346
  key?: string;
14647
- /** Required. The resource name of the Artifact to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` */
15347
+ /** The name of the operation resource. */
14648
15348
  name: string;
14649
15349
  /** OAuth 2.0 token for the current user. */
14650
15350
  oauth_token?: string;
@@ -14656,8 +15356,8 @@ declare namespace gapi.client {
14656
15356
  upload_protocol?: string;
14657
15357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14658
15358
  uploadType?: string;
14659
- }): Request<GoogleCloudAiplatformV1Artifact>;
14660
- /** Lists Artifacts in the MetadataStore. */
15359
+ }): Request<GoogleLongrunningOperation>;
15360
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
14661
15361
  list(request?: {
14662
15362
  /** V1 error format. */
14663
15363
  '$.xgafv'?: string;
@@ -14669,20 +15369,18 @@ declare namespace gapi.client {
14669
15369
  callback?: string;
14670
15370
  /** Selector specifying which fields to include in a partial response. */
14671
15371
  fields?: string;
14672
- /** Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = "test"`. Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00"` * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` * **Context based filtering**: To filter Artifacts based on the contexts to which they belong, use the function operator with the full resource name `in_context()`. For example: `in_context("projects//locations//metadataStores//contexts/")` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`. */
15372
+ /** The standard list filter. */
14673
15373
  filter?: string;
14674
15374
  /** 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. */
14675
15375
  key?: string;
15376
+ /** The name of the operation's parent resource. */
15377
+ name: string;
14676
15378
  /** OAuth 2.0 token for the current user. */
14677
15379
  oauth_token?: string;
14678
- /** How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a " desc" suffix; for example: "foo desc, bar". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details. */
14679
- orderBy?: string;
14680
- /** The maximum number of Artifacts to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100. */
15380
+ /** The standard list page size. */
14681
15381
  pageSize?: number;
14682
- /** A page token, received from a previous MetadataService.ListArtifacts call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.) */
15382
+ /** The standard list page token. */
14683
15383
  pageToken?: string;
14684
- /** Required. The MetadataStore whose Artifacts should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
14685
- parent: string;
14686
15384
  /** Returns response with indentations and line breaks. */
14687
15385
  prettyPrint?: boolean;
14688
15386
  /** 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. */
@@ -14691,15 +15389,13 @@ declare namespace gapi.client {
14691
15389
  upload_protocol?: string;
14692
15390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14693
15391
  uploadType?: string;
14694
- }): Request<GoogleCloudAiplatformV1ListArtifactsResponse>;
14695
- /** Updates a stored Artifact. */
14696
- patch(request: {
15392
+ }): Request<GoogleLongrunningListOperationsResponse>;
15393
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
15394
+ wait(request?: {
14697
15395
  /** V1 error format. */
14698
15396
  '$.xgafv'?: string;
14699
15397
  /** OAuth access token. */
14700
15398
  access_token?: string;
14701
- /** If set to true, and the Artifact is not found, a new Artifact is created. */
14702
- allowMissing?: boolean;
14703
15399
  /** Data format for response. */
14704
15400
  alt?: string;
14705
15401
  /** JSONP */
@@ -14708,7 +15404,7 @@ declare namespace gapi.client {
14708
15404
  fields?: string;
14709
15405
  /** 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. */
14710
15406
  key?: string;
14711
- /** Output only. The resource name of the Artifact. */
15407
+ /** The name of the operation resource to wait on. */
14712
15408
  name: string;
14713
15409
  /** OAuth 2.0 token for the current user. */
14714
15410
  oauth_token?: string;
@@ -14716,27 +15412,213 @@ declare namespace gapi.client {
14716
15412
  prettyPrint?: boolean;
14717
15413
  /** 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. */
14718
15414
  quotaUser?: string;
14719
- /** Optional. A FieldMask indicating which fields should be updated. */
14720
- updateMask?: string;
15415
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
15416
+ timeout?: string;
14721
15417
  /** Upload protocol for media (e.g. "raw", "multipart"). */
14722
15418
  upload_protocol?: string;
14723
15419
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14724
15420
  uploadType?: string;
14725
- /** Request body */
14726
- resource: GoogleCloudAiplatformV1Artifact;
14727
- }): Request<GoogleCloudAiplatformV1Artifact>;
14728
- patch(
14729
- request: {
14730
- /** V1 error format. */
14731
- '$.xgafv'?: string;
14732
- /** OAuth access token. */
14733
- access_token?: string;
14734
- /** If set to true, and the Artifact is not found, a new Artifact is created. */
14735
- allowMissing?: boolean;
14736
- /** Data format for response. */
14737
- alt?: string;
14738
- /** JSONP */
14739
- callback?: string;
15421
+ }): Request<GoogleLongrunningOperation>;
15422
+ }
15423
+ interface ArtifactsResource {
15424
+ /** Creates an Artifact associated with a MetadataStore. */
15425
+ create(request: {
15426
+ /** V1 error format. */
15427
+ '$.xgafv'?: string;
15428
+ /** OAuth access token. */
15429
+ access_token?: string;
15430
+ /** Data format for response. */
15431
+ alt?: string;
15432
+ /** The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.) */
15433
+ artifactId?: string;
15434
+ /** JSONP */
15435
+ callback?: string;
15436
+ /** Selector specifying which fields to include in a partial response. */
15437
+ fields?: string;
15438
+ /** 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. */
15439
+ key?: string;
15440
+ /** OAuth 2.0 token for the current user. */
15441
+ oauth_token?: string;
15442
+ /** Required. The resource name of the MetadataStore where the Artifact should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15443
+ parent: string;
15444
+ /** Returns response with indentations and line breaks. */
15445
+ prettyPrint?: boolean;
15446
+ /** 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. */
15447
+ quotaUser?: string;
15448
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15449
+ upload_protocol?: string;
15450
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15451
+ uploadType?: string;
15452
+ /** Request body */
15453
+ resource: GoogleCloudAiplatformV1Artifact;
15454
+ }): Request<GoogleCloudAiplatformV1Artifact>;
15455
+ create(
15456
+ request: {
15457
+ /** V1 error format. */
15458
+ '$.xgafv'?: string;
15459
+ /** OAuth access token. */
15460
+ access_token?: string;
15461
+ /** Data format for response. */
15462
+ alt?: string;
15463
+ /** The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.) */
15464
+ artifactId?: string;
15465
+ /** JSONP */
15466
+ callback?: string;
15467
+ /** Selector specifying which fields to include in a partial response. */
15468
+ fields?: string;
15469
+ /** 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. */
15470
+ key?: string;
15471
+ /** OAuth 2.0 token for the current user. */
15472
+ oauth_token?: string;
15473
+ /** Required. The resource name of the MetadataStore where the Artifact should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15474
+ parent: string;
15475
+ /** Returns response with indentations and line breaks. */
15476
+ prettyPrint?: boolean;
15477
+ /** 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. */
15478
+ quotaUser?: string;
15479
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15480
+ upload_protocol?: string;
15481
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15482
+ uploadType?: string;
15483
+ },
15484
+ body: GoogleCloudAiplatformV1Artifact
15485
+ ): Request<GoogleCloudAiplatformV1Artifact>;
15486
+ /** Deletes an Artifact. */
15487
+ delete(request?: {
15488
+ /** V1 error format. */
15489
+ '$.xgafv'?: string;
15490
+ /** OAuth access token. */
15491
+ access_token?: string;
15492
+ /** Data format for response. */
15493
+ alt?: string;
15494
+ /** JSONP */
15495
+ callback?: string;
15496
+ /** Optional. The etag of the Artifact to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION. */
15497
+ etag?: string;
15498
+ /** Selector specifying which fields to include in a partial response. */
15499
+ fields?: string;
15500
+ /** 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. */
15501
+ key?: string;
15502
+ /** Required. The resource name of the Artifact to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` */
15503
+ name: string;
15504
+ /** OAuth 2.0 token for the current user. */
15505
+ oauth_token?: string;
15506
+ /** Returns response with indentations and line breaks. */
15507
+ prettyPrint?: boolean;
15508
+ /** 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. */
15509
+ quotaUser?: string;
15510
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15511
+ upload_protocol?: string;
15512
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15513
+ uploadType?: string;
15514
+ }): Request<GoogleLongrunningOperation>;
15515
+ /** Retrieves a specific Artifact. */
15516
+ get(request?: {
15517
+ /** V1 error format. */
15518
+ '$.xgafv'?: string;
15519
+ /** OAuth access token. */
15520
+ access_token?: string;
15521
+ /** Data format for response. */
15522
+ alt?: string;
15523
+ /** JSONP */
15524
+ callback?: string;
15525
+ /** Selector specifying which fields to include in a partial response. */
15526
+ fields?: string;
15527
+ /** 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. */
15528
+ key?: string;
15529
+ /** Required. The resource name of the Artifact to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` */
15530
+ name: string;
15531
+ /** OAuth 2.0 token for the current user. */
15532
+ oauth_token?: string;
15533
+ /** Returns response with indentations and line breaks. */
15534
+ prettyPrint?: boolean;
15535
+ /** 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. */
15536
+ quotaUser?: string;
15537
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15538
+ upload_protocol?: string;
15539
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15540
+ uploadType?: string;
15541
+ }): Request<GoogleCloudAiplatformV1Artifact>;
15542
+ /** Lists Artifacts in the MetadataStore. */
15543
+ list(request?: {
15544
+ /** V1 error format. */
15545
+ '$.xgafv'?: string;
15546
+ /** OAuth access token. */
15547
+ access_token?: string;
15548
+ /** Data format for response. */
15549
+ alt?: string;
15550
+ /** JSONP */
15551
+ callback?: string;
15552
+ /** Selector specifying which fields to include in a partial response. */
15553
+ fields?: string;
15554
+ /** Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = "test"`. Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00"` * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` * **Context based filtering**: To filter Artifacts based on the contexts to which they belong, use the function operator with the full resource name `in_context()`. For example: `in_context("projects//locations//metadataStores//contexts/")` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`. */
15555
+ filter?: string;
15556
+ /** 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. */
15557
+ key?: string;
15558
+ /** OAuth 2.0 token for the current user. */
15559
+ oauth_token?: string;
15560
+ /** How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a " desc" suffix; for example: "foo desc, bar". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details. */
15561
+ orderBy?: string;
15562
+ /** The maximum number of Artifacts to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100. */
15563
+ pageSize?: number;
15564
+ /** A page token, received from a previous MetadataService.ListArtifacts call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.) */
15565
+ pageToken?: string;
15566
+ /** Required. The MetadataStore whose Artifacts should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15567
+ parent: string;
15568
+ /** Returns response with indentations and line breaks. */
15569
+ prettyPrint?: boolean;
15570
+ /** 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. */
15571
+ quotaUser?: string;
15572
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15573
+ upload_protocol?: string;
15574
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15575
+ uploadType?: string;
15576
+ }): Request<GoogleCloudAiplatformV1ListArtifactsResponse>;
15577
+ /** Updates a stored Artifact. */
15578
+ patch(request: {
15579
+ /** V1 error format. */
15580
+ '$.xgafv'?: string;
15581
+ /** OAuth access token. */
15582
+ access_token?: string;
15583
+ /** If set to true, and the Artifact is not found, a new Artifact is created. */
15584
+ allowMissing?: boolean;
15585
+ /** Data format for response. */
15586
+ alt?: string;
15587
+ /** JSONP */
15588
+ callback?: string;
15589
+ /** Selector specifying which fields to include in a partial response. */
15590
+ fields?: string;
15591
+ /** 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. */
15592
+ key?: string;
15593
+ /** Output only. The resource name of the Artifact. */
15594
+ name: string;
15595
+ /** OAuth 2.0 token for the current user. */
15596
+ oauth_token?: string;
15597
+ /** Returns response with indentations and line breaks. */
15598
+ prettyPrint?: boolean;
15599
+ /** 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. */
15600
+ quotaUser?: string;
15601
+ /** Optional. A FieldMask indicating which fields should be updated. */
15602
+ updateMask?: string;
15603
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15604
+ upload_protocol?: string;
15605
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15606
+ uploadType?: string;
15607
+ /** Request body */
15608
+ resource: GoogleCloudAiplatformV1Artifact;
15609
+ }): Request<GoogleCloudAiplatformV1Artifact>;
15610
+ patch(
15611
+ request: {
15612
+ /** V1 error format. */
15613
+ '$.xgafv'?: string;
15614
+ /** OAuth access token. */
15615
+ access_token?: string;
15616
+ /** If set to true, and the Artifact is not found, a new Artifact is created. */
15617
+ allowMissing?: boolean;
15618
+ /** Data format for response. */
15619
+ alt?: string;
15620
+ /** JSONP */
15621
+ callback?: string;
14740
15622
  /** Selector specifying which fields to include in a partial response. */
14741
15623
  fields?: string;
14742
15624
  /** 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. */
@@ -14774,8 +15656,187 @@ declare namespace gapi.client {
14774
15656
  key?: string;
14775
15657
  /** OAuth 2.0 token for the current user. */
14776
15658
  oauth_token?: string;
14777
- /** Required. The metadata store to purge Artifacts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
14778
- parent: string;
15659
+ /** Required. The metadata store to purge Artifacts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15660
+ parent: string;
15661
+ /** Returns response with indentations and line breaks. */
15662
+ prettyPrint?: boolean;
15663
+ /** 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. */
15664
+ quotaUser?: string;
15665
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15666
+ upload_protocol?: string;
15667
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15668
+ uploadType?: string;
15669
+ /** Request body */
15670
+ resource: GoogleCloudAiplatformV1PurgeArtifactsRequest;
15671
+ }): Request<GoogleLongrunningOperation>;
15672
+ purge(
15673
+ request: {
15674
+ /** V1 error format. */
15675
+ '$.xgafv'?: string;
15676
+ /** OAuth access token. */
15677
+ access_token?: string;
15678
+ /** Data format for response. */
15679
+ alt?: string;
15680
+ /** JSONP */
15681
+ callback?: string;
15682
+ /** Selector specifying which fields to include in a partial response. */
15683
+ fields?: string;
15684
+ /** 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. */
15685
+ key?: string;
15686
+ /** OAuth 2.0 token for the current user. */
15687
+ oauth_token?: string;
15688
+ /** Required. The metadata store to purge Artifacts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15689
+ parent: string;
15690
+ /** Returns response with indentations and line breaks. */
15691
+ prettyPrint?: boolean;
15692
+ /** 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. */
15693
+ quotaUser?: string;
15694
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15695
+ upload_protocol?: string;
15696
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15697
+ uploadType?: string;
15698
+ },
15699
+ body: GoogleCloudAiplatformV1PurgeArtifactsRequest
15700
+ ): Request<GoogleLongrunningOperation>;
15701
+ /** Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph. */
15702
+ queryArtifactLineageSubgraph(request?: {
15703
+ /** V1 error format. */
15704
+ '$.xgafv'?: string;
15705
+ /** OAuth access token. */
15706
+ access_token?: string;
15707
+ /** Data format for response. */
15708
+ alt?: string;
15709
+ /** Required. The resource name of the Artifact whose Lineage needs to be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000. */
15710
+ artifact: string;
15711
+ /** JSONP */
15712
+ callback?: string;
15713
+ /** Selector specifying which fields to include in a partial response. */
15714
+ fields?: string;
15715
+ /** Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the Lineage Subgraph. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = "test"` Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00"` * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`. */
15716
+ filter?: string;
15717
+ /** 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. */
15718
+ key?: string;
15719
+ /** Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph. */
15720
+ maxHops?: number;
15721
+ /** OAuth 2.0 token for the current user. */
15722
+ oauth_token?: string;
15723
+ /** Returns response with indentations and line breaks. */
15724
+ prettyPrint?: boolean;
15725
+ /** 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. */
15726
+ quotaUser?: string;
15727
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15728
+ upload_protocol?: string;
15729
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15730
+ uploadType?: string;
15731
+ }): Request<GoogleCloudAiplatformV1LineageSubgraph>;
15732
+ operations: OperationsResource;
15733
+ }
15734
+ interface OperationsResource {
15735
+ /** 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`. */
15736
+ cancel(request?: {
15737
+ /** V1 error format. */
15738
+ '$.xgafv'?: string;
15739
+ /** OAuth access token. */
15740
+ access_token?: string;
15741
+ /** Data format for response. */
15742
+ alt?: string;
15743
+ /** JSONP */
15744
+ callback?: string;
15745
+ /** Selector specifying which fields to include in a partial response. */
15746
+ fields?: string;
15747
+ /** 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. */
15748
+ key?: string;
15749
+ /** The name of the operation resource to be cancelled. */
15750
+ name: string;
15751
+ /** OAuth 2.0 token for the current user. */
15752
+ oauth_token?: string;
15753
+ /** Returns response with indentations and line breaks. */
15754
+ prettyPrint?: boolean;
15755
+ /** 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. */
15756
+ quotaUser?: string;
15757
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15758
+ upload_protocol?: string;
15759
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15760
+ uploadType?: string;
15761
+ }): Request<{}>;
15762
+ /** 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`. */
15763
+ delete(request?: {
15764
+ /** V1 error format. */
15765
+ '$.xgafv'?: string;
15766
+ /** OAuth access token. */
15767
+ access_token?: string;
15768
+ /** Data format for response. */
15769
+ alt?: string;
15770
+ /** JSONP */
15771
+ callback?: string;
15772
+ /** Selector specifying which fields to include in a partial response. */
15773
+ fields?: string;
15774
+ /** 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. */
15775
+ key?: string;
15776
+ /** The name of the operation resource to be deleted. */
15777
+ name: string;
15778
+ /** OAuth 2.0 token for the current user. */
15779
+ oauth_token?: string;
15780
+ /** Returns response with indentations and line breaks. */
15781
+ prettyPrint?: boolean;
15782
+ /** 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. */
15783
+ quotaUser?: string;
15784
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15785
+ upload_protocol?: string;
15786
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15787
+ uploadType?: string;
15788
+ }): Request<{}>;
15789
+ /** 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. */
15790
+ get(request?: {
15791
+ /** V1 error format. */
15792
+ '$.xgafv'?: string;
15793
+ /** OAuth access token. */
15794
+ access_token?: string;
15795
+ /** Data format for response. */
15796
+ alt?: string;
15797
+ /** JSONP */
15798
+ callback?: string;
15799
+ /** Selector specifying which fields to include in a partial response. */
15800
+ fields?: string;
15801
+ /** 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. */
15802
+ key?: string;
15803
+ /** The name of the operation resource. */
15804
+ name: string;
15805
+ /** OAuth 2.0 token for the current user. */
15806
+ oauth_token?: string;
15807
+ /** Returns response with indentations and line breaks. */
15808
+ prettyPrint?: boolean;
15809
+ /** 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. */
15810
+ quotaUser?: string;
15811
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15812
+ upload_protocol?: string;
15813
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15814
+ uploadType?: string;
15815
+ }): Request<GoogleLongrunningOperation>;
15816
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
15817
+ list(request?: {
15818
+ /** V1 error format. */
15819
+ '$.xgafv'?: string;
15820
+ /** OAuth access token. */
15821
+ access_token?: string;
15822
+ /** Data format for response. */
15823
+ alt?: string;
15824
+ /** JSONP */
15825
+ callback?: string;
15826
+ /** Selector specifying which fields to include in a partial response. */
15827
+ fields?: string;
15828
+ /** The standard list filter. */
15829
+ filter?: string;
15830
+ /** 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. */
15831
+ key?: string;
15832
+ /** The name of the operation's parent resource. */
15833
+ name: string;
15834
+ /** OAuth 2.0 token for the current user. */
15835
+ oauth_token?: string;
15836
+ /** The standard list page size. */
15837
+ pageSize?: number;
15838
+ /** The standard list page token. */
15839
+ pageToken?: string;
14779
15840
  /** Returns response with indentations and line breaks. */
14780
15841
  prettyPrint?: boolean;
14781
15842
  /** 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. */
@@ -14784,69 +15845,36 @@ declare namespace gapi.client {
14784
15845
  upload_protocol?: string;
14785
15846
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14786
15847
  uploadType?: string;
14787
- /** Request body */
14788
- resource: GoogleCloudAiplatformV1PurgeArtifactsRequest;
14789
- }): Request<GoogleLongrunningOperation>;
14790
- purge(
14791
- request: {
14792
- /** V1 error format. */
14793
- '$.xgafv'?: string;
14794
- /** OAuth access token. */
14795
- access_token?: string;
14796
- /** Data format for response. */
14797
- alt?: string;
14798
- /** JSONP */
14799
- callback?: string;
14800
- /** Selector specifying which fields to include in a partial response. */
14801
- fields?: string;
14802
- /** 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. */
14803
- key?: string;
14804
- /** OAuth 2.0 token for the current user. */
14805
- oauth_token?: string;
14806
- /** Required. The metadata store to purge Artifacts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
14807
- parent: string;
14808
- /** Returns response with indentations and line breaks. */
14809
- prettyPrint?: boolean;
14810
- /** 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. */
14811
- quotaUser?: string;
14812
- /** Upload protocol for media (e.g. "raw", "multipart"). */
14813
- upload_protocol?: string;
14814
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14815
- uploadType?: string;
14816
- },
14817
- body: GoogleCloudAiplatformV1PurgeArtifactsRequest
14818
- ): Request<GoogleLongrunningOperation>;
14819
- /** Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph. */
14820
- queryArtifactLineageSubgraph(request?: {
15848
+ }): Request<GoogleLongrunningListOperationsResponse>;
15849
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
15850
+ wait(request?: {
14821
15851
  /** V1 error format. */
14822
15852
  '$.xgafv'?: string;
14823
15853
  /** OAuth access token. */
14824
15854
  access_token?: string;
14825
15855
  /** Data format for response. */
14826
15856
  alt?: string;
14827
- /** Required. The resource name of the Artifact whose Lineage needs to be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000. */
14828
- artifact: string;
14829
15857
  /** JSONP */
14830
15858
  callback?: string;
14831
15859
  /** Selector specifying which fields to include in a partial response. */
14832
15860
  fields?: string;
14833
- /** Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the Lineage Subgraph. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = "test"` Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00"` * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`. */
14834
- filter?: string;
14835
15861
  /** 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. */
14836
15862
  key?: string;
14837
- /** Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph. */
14838
- maxHops?: number;
15863
+ /** The name of the operation resource to wait on. */
15864
+ name: string;
14839
15865
  /** OAuth 2.0 token for the current user. */
14840
15866
  oauth_token?: string;
14841
15867
  /** Returns response with indentations and line breaks. */
14842
15868
  prettyPrint?: boolean;
14843
15869
  /** 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. */
14844
15870
  quotaUser?: string;
15871
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
15872
+ timeout?: string;
14845
15873
  /** Upload protocol for media (e.g. "raw", "multipart"). */
14846
15874
  upload_protocol?: string;
14847
15875
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14848
15876
  uploadType?: string;
14849
- }): Request<GoogleCloudAiplatformV1LineageSubgraph>;
15877
+ }): Request<GoogleLongrunningOperation>;
14850
15878
  }
14851
15879
  interface ContextsResource {
14852
15880
  /** Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped. */
@@ -15202,8 +16230,208 @@ declare namespace gapi.client {
15202
16230
  key?: string;
15203
16231
  /** OAuth 2.0 token for the current user. */
15204
16232
  oauth_token?: string;
15205
- /** Required. The metadata store to purge Contexts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15206
- parent: string;
16233
+ /** Required. The metadata store to purge Contexts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
16234
+ parent: string;
16235
+ /** Returns response with indentations and line breaks. */
16236
+ prettyPrint?: boolean;
16237
+ /** 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. */
16238
+ quotaUser?: string;
16239
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16240
+ upload_protocol?: string;
16241
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16242
+ uploadType?: string;
16243
+ /** Request body */
16244
+ resource: GoogleCloudAiplatformV1PurgeContextsRequest;
16245
+ }): Request<GoogleLongrunningOperation>;
16246
+ purge(
16247
+ request: {
16248
+ /** V1 error format. */
16249
+ '$.xgafv'?: string;
16250
+ /** OAuth access token. */
16251
+ access_token?: string;
16252
+ /** Data format for response. */
16253
+ alt?: string;
16254
+ /** JSONP */
16255
+ callback?: string;
16256
+ /** Selector specifying which fields to include in a partial response. */
16257
+ fields?: string;
16258
+ /** 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. */
16259
+ key?: string;
16260
+ /** OAuth 2.0 token for the current user. */
16261
+ oauth_token?: string;
16262
+ /** Required. The metadata store to purge Contexts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
16263
+ parent: string;
16264
+ /** Returns response with indentations and line breaks. */
16265
+ prettyPrint?: boolean;
16266
+ /** 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. */
16267
+ quotaUser?: string;
16268
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16269
+ upload_protocol?: string;
16270
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16271
+ uploadType?: string;
16272
+ },
16273
+ body: GoogleCloudAiplatformV1PurgeContextsRequest
16274
+ ): Request<GoogleLongrunningOperation>;
16275
+ /** Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. */
16276
+ queryContextLineageSubgraph(request?: {
16277
+ /** V1 error format. */
16278
+ '$.xgafv'?: string;
16279
+ /** OAuth access token. */
16280
+ access_token?: string;
16281
+ /** Data format for response. */
16282
+ alt?: string;
16283
+ /** JSONP */
16284
+ callback?: string;
16285
+ /** Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000. */
16286
+ context: string;
16287
+ /** Selector specifying which fields to include in a partial response. */
16288
+ fields?: string;
16289
+ /** 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. */
16290
+ key?: string;
16291
+ /** OAuth 2.0 token for the current user. */
16292
+ oauth_token?: string;
16293
+ /** Returns response with indentations and line breaks. */
16294
+ prettyPrint?: boolean;
16295
+ /** 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. */
16296
+ quotaUser?: string;
16297
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16298
+ upload_protocol?: string;
16299
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16300
+ uploadType?: string;
16301
+ }): Request<GoogleCloudAiplatformV1LineageSubgraph>;
16302
+ /** Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped. */
16303
+ removeContextChildren(request: {
16304
+ /** V1 error format. */
16305
+ '$.xgafv'?: string;
16306
+ /** OAuth access token. */
16307
+ access_token?: string;
16308
+ /** Data format for response. */
16309
+ alt?: string;
16310
+ /** JSONP */
16311
+ callback?: string;
16312
+ /** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
16313
+ context: string;
16314
+ /** Selector specifying which fields to include in a partial response. */
16315
+ fields?: string;
16316
+ /** 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. */
16317
+ key?: string;
16318
+ /** OAuth 2.0 token for the current user. */
16319
+ oauth_token?: string;
16320
+ /** Returns response with indentations and line breaks. */
16321
+ prettyPrint?: boolean;
16322
+ /** 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. */
16323
+ quotaUser?: string;
16324
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16325
+ upload_protocol?: string;
16326
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16327
+ uploadType?: string;
16328
+ /** Request body */
16329
+ resource: GoogleCloudAiplatformV1RemoveContextChildrenRequest;
16330
+ }): Request<{}>;
16331
+ removeContextChildren(
16332
+ request: {
16333
+ /** V1 error format. */
16334
+ '$.xgafv'?: string;
16335
+ /** OAuth access token. */
16336
+ access_token?: string;
16337
+ /** Data format for response. */
16338
+ alt?: string;
16339
+ /** JSONP */
16340
+ callback?: string;
16341
+ /** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
16342
+ context: string;
16343
+ /** Selector specifying which fields to include in a partial response. */
16344
+ fields?: string;
16345
+ /** 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. */
16346
+ key?: string;
16347
+ /** OAuth 2.0 token for the current user. */
16348
+ oauth_token?: string;
16349
+ /** Returns response with indentations and line breaks. */
16350
+ prettyPrint?: boolean;
16351
+ /** 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. */
16352
+ quotaUser?: string;
16353
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16354
+ upload_protocol?: string;
16355
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16356
+ uploadType?: string;
16357
+ },
16358
+ body: GoogleCloudAiplatformV1RemoveContextChildrenRequest
16359
+ ): Request<{}>;
16360
+ operations: OperationsResource;
16361
+ }
16362
+ interface OperationsResource {
16363
+ /** 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`. */
16364
+ cancel(request?: {
16365
+ /** V1 error format. */
16366
+ '$.xgafv'?: string;
16367
+ /** OAuth access token. */
16368
+ access_token?: string;
16369
+ /** Data format for response. */
16370
+ alt?: string;
16371
+ /** JSONP */
16372
+ callback?: string;
16373
+ /** Selector specifying which fields to include in a partial response. */
16374
+ fields?: string;
16375
+ /** 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. */
16376
+ key?: string;
16377
+ /** The name of the operation resource to be cancelled. */
16378
+ name: string;
16379
+ /** OAuth 2.0 token for the current user. */
16380
+ oauth_token?: string;
16381
+ /** Returns response with indentations and line breaks. */
16382
+ prettyPrint?: boolean;
16383
+ /** 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. */
16384
+ quotaUser?: string;
16385
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16386
+ upload_protocol?: string;
16387
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16388
+ uploadType?: string;
16389
+ }): Request<{}>;
16390
+ /** 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`. */
16391
+ delete(request?: {
16392
+ /** V1 error format. */
16393
+ '$.xgafv'?: string;
16394
+ /** OAuth access token. */
16395
+ access_token?: string;
16396
+ /** Data format for response. */
16397
+ alt?: string;
16398
+ /** JSONP */
16399
+ callback?: string;
16400
+ /** Selector specifying which fields to include in a partial response. */
16401
+ fields?: string;
16402
+ /** 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. */
16403
+ key?: string;
16404
+ /** The name of the operation resource to be deleted. */
16405
+ name: string;
16406
+ /** OAuth 2.0 token for the current user. */
16407
+ oauth_token?: string;
16408
+ /** Returns response with indentations and line breaks. */
16409
+ prettyPrint?: boolean;
16410
+ /** 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. */
16411
+ quotaUser?: string;
16412
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16413
+ upload_protocol?: string;
16414
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16415
+ uploadType?: string;
16416
+ }): Request<{}>;
16417
+ /** 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. */
16418
+ get(request?: {
16419
+ /** V1 error format. */
16420
+ '$.xgafv'?: string;
16421
+ /** OAuth access token. */
16422
+ access_token?: string;
16423
+ /** Data format for response. */
16424
+ alt?: string;
16425
+ /** JSONP */
16426
+ callback?: string;
16427
+ /** Selector specifying which fields to include in a partial response. */
16428
+ fields?: string;
16429
+ /** 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. */
16430
+ key?: string;
16431
+ /** The name of the operation resource. */
16432
+ name: string;
16433
+ /** OAuth 2.0 token for the current user. */
16434
+ oauth_token?: string;
15207
16435
  /** Returns response with indentations and line breaks. */
15208
16436
  prettyPrint?: boolean;
15209
16437
  /** 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. */
@@ -15212,40 +16440,9 @@ declare namespace gapi.client {
15212
16440
  upload_protocol?: string;
15213
16441
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15214
16442
  uploadType?: string;
15215
- /** Request body */
15216
- resource: GoogleCloudAiplatformV1PurgeContextsRequest;
15217
16443
  }): Request<GoogleLongrunningOperation>;
15218
- purge(
15219
- request: {
15220
- /** V1 error format. */
15221
- '$.xgafv'?: string;
15222
- /** OAuth access token. */
15223
- access_token?: string;
15224
- /** Data format for response. */
15225
- alt?: string;
15226
- /** JSONP */
15227
- callback?: string;
15228
- /** Selector specifying which fields to include in a partial response. */
15229
- fields?: string;
15230
- /** 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. */
15231
- key?: string;
15232
- /** OAuth 2.0 token for the current user. */
15233
- oauth_token?: string;
15234
- /** Required. The metadata store to purge Contexts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15235
- parent: string;
15236
- /** Returns response with indentations and line breaks. */
15237
- prettyPrint?: boolean;
15238
- /** 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. */
15239
- quotaUser?: string;
15240
- /** Upload protocol for media (e.g. "raw", "multipart"). */
15241
- upload_protocol?: string;
15242
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15243
- uploadType?: string;
15244
- },
15245
- body: GoogleCloudAiplatformV1PurgeContextsRequest
15246
- ): Request<GoogleLongrunningOperation>;
15247
- /** Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. */
15248
- queryContextLineageSubgraph(request?: {
16444
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
16445
+ list(request?: {
15249
16446
  /** V1 error format. */
15250
16447
  '$.xgafv'?: string;
15251
16448
  /** OAuth access token. */
@@ -15254,14 +16451,20 @@ declare namespace gapi.client {
15254
16451
  alt?: string;
15255
16452
  /** JSONP */
15256
16453
  callback?: string;
15257
- /** Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000. */
15258
- context: string;
15259
16454
  /** Selector specifying which fields to include in a partial response. */
15260
16455
  fields?: string;
16456
+ /** The standard list filter. */
16457
+ filter?: string;
15261
16458
  /** 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. */
15262
16459
  key?: string;
16460
+ /** The name of the operation's parent resource. */
16461
+ name: string;
15263
16462
  /** OAuth 2.0 token for the current user. */
15264
16463
  oauth_token?: string;
16464
+ /** The standard list page size. */
16465
+ pageSize?: number;
16466
+ /** The standard list page token. */
16467
+ pageToken?: string;
15265
16468
  /** Returns response with indentations and line breaks. */
15266
16469
  prettyPrint?: boolean;
15267
16470
  /** 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. */
@@ -15270,9 +16473,9 @@ declare namespace gapi.client {
15270
16473
  upload_protocol?: string;
15271
16474
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15272
16475
  uploadType?: string;
15273
- }): Request<GoogleCloudAiplatformV1LineageSubgraph>;
15274
- /** Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped. */
15275
- removeContextChildren(request: {
16476
+ }): Request<GoogleLongrunningListOperationsResponse>;
16477
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
16478
+ wait(request?: {
15276
16479
  /** V1 error format. */
15277
16480
  '$.xgafv'?: string;
15278
16481
  /** OAuth access token. */
@@ -15281,54 +16484,25 @@ declare namespace gapi.client {
15281
16484
  alt?: string;
15282
16485
  /** JSONP */
15283
16486
  callback?: string;
15284
- /** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
15285
- context: string;
15286
16487
  /** Selector specifying which fields to include in a partial response. */
15287
16488
  fields?: string;
15288
16489
  /** 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. */
15289
16490
  key?: string;
16491
+ /** The name of the operation resource to wait on. */
16492
+ name: string;
15290
16493
  /** OAuth 2.0 token for the current user. */
15291
16494
  oauth_token?: string;
15292
16495
  /** Returns response with indentations and line breaks. */
15293
16496
  prettyPrint?: boolean;
15294
16497
  /** 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. */
15295
16498
  quotaUser?: string;
16499
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
16500
+ timeout?: string;
15296
16501
  /** Upload protocol for media (e.g. "raw", "multipart"). */
15297
16502
  upload_protocol?: string;
15298
16503
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15299
16504
  uploadType?: string;
15300
- /** Request body */
15301
- resource: GoogleCloudAiplatformV1RemoveContextChildrenRequest;
15302
- }): Request<{}>;
15303
- removeContextChildren(
15304
- request: {
15305
- /** V1 error format. */
15306
- '$.xgafv'?: string;
15307
- /** OAuth access token. */
15308
- access_token?: string;
15309
- /** Data format for response. */
15310
- alt?: string;
15311
- /** JSONP */
15312
- callback?: string;
15313
- /** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
15314
- context: string;
15315
- /** Selector specifying which fields to include in a partial response. */
15316
- fields?: string;
15317
- /** 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. */
15318
- key?: string;
15319
- /** OAuth 2.0 token for the current user. */
15320
- oauth_token?: string;
15321
- /** Returns response with indentations and line breaks. */
15322
- prettyPrint?: boolean;
15323
- /** 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. */
15324
- quotaUser?: string;
15325
- /** Upload protocol for media (e.g. "raw", "multipart"). */
15326
- upload_protocol?: string;
15327
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15328
- uploadType?: string;
15329
- },
15330
- body: GoogleCloudAiplatformV1RemoveContextChildrenRequest
15331
- ): Request<{}>;
16505
+ }): Request<GoogleLongrunningOperation>;
15332
16506
  }
15333
16507
  interface ExecutionsResource {
15334
16508
  /** Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped. */
@@ -15693,6 +16867,7 @@ declare namespace gapi.client {
15693
16867
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15694
16868
  uploadType?: string;
15695
16869
  }): Request<GoogleCloudAiplatformV1LineageSubgraph>;
16870
+ operations: OperationsResource;
15696
16871
  }
15697
16872
  interface MetadataSchemasResource {
15698
16873
  /** Creates a MetadataSchema. */
@@ -15771,10 +16946,159 @@ declare namespace gapi.client {
15771
16946
  fields?: string;
15772
16947
  /** 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. */
15773
16948
  key?: string;
15774
- /** Required. The resource name of the MetadataSchema to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` */
16949
+ /** Required. The resource name of the MetadataSchema to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` */
16950
+ name: string;
16951
+ /** OAuth 2.0 token for the current user. */
16952
+ oauth_token?: string;
16953
+ /** Returns response with indentations and line breaks. */
16954
+ prettyPrint?: boolean;
16955
+ /** 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. */
16956
+ quotaUser?: string;
16957
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16958
+ upload_protocol?: string;
16959
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16960
+ uploadType?: string;
16961
+ }): Request<GoogleCloudAiplatformV1MetadataSchema>;
16962
+ /** Lists MetadataSchemas. */
16963
+ list(request?: {
16964
+ /** V1 error format. */
16965
+ '$.xgafv'?: string;
16966
+ /** OAuth access token. */
16967
+ access_token?: string;
16968
+ /** Data format for response. */
16969
+ alt?: string;
16970
+ /** JSONP */
16971
+ callback?: string;
16972
+ /** Selector specifying which fields to include in a partial response. */
16973
+ fields?: string;
16974
+ /** A query to filter available MetadataSchemas for matching results. */
16975
+ filter?: string;
16976
+ /** 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. */
16977
+ key?: string;
16978
+ /** OAuth 2.0 token for the current user. */
16979
+ oauth_token?: string;
16980
+ /** The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100. */
16981
+ pageSize?: number;
16982
+ /** A page token, received from a previous MetadataService.ListMetadataSchemas call. Provide this to retrieve the next page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.) */
16983
+ pageToken?: string;
16984
+ /** Required. The MetadataStore whose MetadataSchemas should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
16985
+ parent: string;
16986
+ /** Returns response with indentations and line breaks. */
16987
+ prettyPrint?: boolean;
16988
+ /** 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. */
16989
+ quotaUser?: string;
16990
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16991
+ upload_protocol?: string;
16992
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16993
+ uploadType?: string;
16994
+ }): Request<GoogleCloudAiplatformV1ListMetadataSchemasResponse>;
16995
+ }
16996
+ interface OperationsResource {
16997
+ /** 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`. */
16998
+ cancel(request?: {
16999
+ /** V1 error format. */
17000
+ '$.xgafv'?: string;
17001
+ /** OAuth access token. */
17002
+ access_token?: string;
17003
+ /** Data format for response. */
17004
+ alt?: string;
17005
+ /** JSONP */
17006
+ callback?: string;
17007
+ /** Selector specifying which fields to include in a partial response. */
17008
+ fields?: string;
17009
+ /** 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. */
17010
+ key?: string;
17011
+ /** The name of the operation resource to be cancelled. */
17012
+ name: string;
17013
+ /** OAuth 2.0 token for the current user. */
17014
+ oauth_token?: string;
17015
+ /** Returns response with indentations and line breaks. */
17016
+ prettyPrint?: boolean;
17017
+ /** 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. */
17018
+ quotaUser?: string;
17019
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17020
+ upload_protocol?: string;
17021
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17022
+ uploadType?: string;
17023
+ }): Request<{}>;
17024
+ /** 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`. */
17025
+ delete(request?: {
17026
+ /** V1 error format. */
17027
+ '$.xgafv'?: string;
17028
+ /** OAuth access token. */
17029
+ access_token?: string;
17030
+ /** Data format for response. */
17031
+ alt?: string;
17032
+ /** JSONP */
17033
+ callback?: string;
17034
+ /** Selector specifying which fields to include in a partial response. */
17035
+ fields?: string;
17036
+ /** 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. */
17037
+ key?: string;
17038
+ /** The name of the operation resource to be deleted. */
17039
+ name: string;
17040
+ /** OAuth 2.0 token for the current user. */
17041
+ oauth_token?: string;
17042
+ /** Returns response with indentations and line breaks. */
17043
+ prettyPrint?: boolean;
17044
+ /** 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. */
17045
+ quotaUser?: string;
17046
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17047
+ upload_protocol?: string;
17048
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17049
+ uploadType?: string;
17050
+ }): Request<{}>;
17051
+ /** 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. */
17052
+ get(request?: {
17053
+ /** V1 error format. */
17054
+ '$.xgafv'?: string;
17055
+ /** OAuth access token. */
17056
+ access_token?: string;
17057
+ /** Data format for response. */
17058
+ alt?: string;
17059
+ /** JSONP */
17060
+ callback?: string;
17061
+ /** Selector specifying which fields to include in a partial response. */
17062
+ fields?: string;
17063
+ /** 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. */
17064
+ key?: string;
17065
+ /** The name of the operation resource. */
17066
+ name: string;
17067
+ /** OAuth 2.0 token for the current user. */
17068
+ oauth_token?: string;
17069
+ /** Returns response with indentations and line breaks. */
17070
+ prettyPrint?: boolean;
17071
+ /** 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. */
17072
+ quotaUser?: string;
17073
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17074
+ upload_protocol?: string;
17075
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17076
+ uploadType?: string;
17077
+ }): Request<GoogleLongrunningOperation>;
17078
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
17079
+ list(request?: {
17080
+ /** V1 error format. */
17081
+ '$.xgafv'?: string;
17082
+ /** OAuth access token. */
17083
+ access_token?: string;
17084
+ /** Data format for response. */
17085
+ alt?: string;
17086
+ /** JSONP */
17087
+ callback?: string;
17088
+ /** Selector specifying which fields to include in a partial response. */
17089
+ fields?: string;
17090
+ /** The standard list filter. */
17091
+ filter?: string;
17092
+ /** 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. */
17093
+ key?: string;
17094
+ /** The name of the operation's parent resource. */
15775
17095
  name: string;
15776
17096
  /** OAuth 2.0 token for the current user. */
15777
17097
  oauth_token?: string;
17098
+ /** The standard list page size. */
17099
+ pageSize?: number;
17100
+ /** The standard list page token. */
17101
+ pageToken?: string;
15778
17102
  /** Returns response with indentations and line breaks. */
15779
17103
  prettyPrint?: boolean;
15780
17104
  /** 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. */
@@ -15783,9 +17107,9 @@ declare namespace gapi.client {
15783
17107
  upload_protocol?: string;
15784
17108
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15785
17109
  uploadType?: string;
15786
- }): Request<GoogleCloudAiplatformV1MetadataSchema>;
15787
- /** Lists MetadataSchemas. */
15788
- list(request?: {
17110
+ }): Request<GoogleLongrunningListOperationsResponse>;
17111
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
17112
+ wait(request?: {
15789
17113
  /** V1 error format. */
15790
17114
  '$.xgafv'?: string;
15791
17115
  /** OAuth access token. */
@@ -15796,27 +17120,23 @@ declare namespace gapi.client {
15796
17120
  callback?: string;
15797
17121
  /** Selector specifying which fields to include in a partial response. */
15798
17122
  fields?: string;
15799
- /** A query to filter available MetadataSchemas for matching results. */
15800
- filter?: string;
15801
17123
  /** 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. */
15802
17124
  key?: string;
17125
+ /** The name of the operation resource to wait on. */
17126
+ name: string;
15803
17127
  /** OAuth 2.0 token for the current user. */
15804
17128
  oauth_token?: string;
15805
- /** The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100. */
15806
- pageSize?: number;
15807
- /** A page token, received from a previous MetadataService.ListMetadataSchemas call. Provide this to retrieve the next page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.) */
15808
- pageToken?: string;
15809
- /** Required. The MetadataStore whose MetadataSchemas should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` */
15810
- parent: string;
15811
17129
  /** Returns response with indentations and line breaks. */
15812
17130
  prettyPrint?: boolean;
15813
17131
  /** 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. */
15814
17132
  quotaUser?: string;
17133
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
17134
+ timeout?: string;
15815
17135
  /** Upload protocol for media (e.g. "raw", "multipart"). */
15816
17136
  upload_protocol?: string;
15817
17137
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15818
17138
  uploadType?: string;
15819
- }): Request<GoogleCloudAiplatformV1ListMetadataSchemasResponse>;
17139
+ }): Request<GoogleLongrunningOperation>;
15820
17140
  }
15821
17141
  interface MetadataStoresResource {
15822
17142
  /** Initializes a MetadataStore, including allocation of resources. */
@@ -15972,6 +17292,7 @@ declare namespace gapi.client {
15972
17292
  contexts: ContextsResource;
15973
17293
  executions: ExecutionsResource;
15974
17294
  metadataSchemas: MetadataSchemasResource;
17295
+ operations: OperationsResource;
15975
17296
  }
15976
17297
  interface OperationsResource {
15977
17298
  /** 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`. */
@@ -19388,6 +20709,64 @@ declare namespace gapi.client {
19388
20709
  },
19389
20710
  body: GoogleCloudAiplatformV1StreamingPredictRequest
19390
20711
  ): Request<GoogleCloudAiplatformV1StreamingPredictResponse>;
20712
+ /** Generate content with multimodal inputs with streaming support. */
20713
+ streamGenerateContent(request: {
20714
+ /** V1 error format. */
20715
+ '$.xgafv'?: string;
20716
+ /** OAuth access token. */
20717
+ access_token?: string;
20718
+ /** Data format for response. */
20719
+ alt?: string;
20720
+ /** JSONP */
20721
+ callback?: string;
20722
+ /** Selector specifying which fields to include in a partial response. */
20723
+ fields?: string;
20724
+ /** 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. */
20725
+ key?: string;
20726
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
20727
+ model: string;
20728
+ /** OAuth 2.0 token for the current user. */
20729
+ oauth_token?: string;
20730
+ /** Returns response with indentations and line breaks. */
20731
+ prettyPrint?: boolean;
20732
+ /** 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. */
20733
+ quotaUser?: string;
20734
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20735
+ upload_protocol?: string;
20736
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20737
+ uploadType?: string;
20738
+ /** Request body */
20739
+ resource: GoogleCloudAiplatformV1GenerateContentRequest;
20740
+ }): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
20741
+ streamGenerateContent(
20742
+ request: {
20743
+ /** V1 error format. */
20744
+ '$.xgafv'?: string;
20745
+ /** OAuth access token. */
20746
+ access_token?: string;
20747
+ /** Data format for response. */
20748
+ alt?: string;
20749
+ /** JSONP */
20750
+ callback?: string;
20751
+ /** Selector specifying which fields to include in a partial response. */
20752
+ fields?: string;
20753
+ /** 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. */
20754
+ key?: string;
20755
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
20756
+ model: string;
20757
+ /** OAuth 2.0 token for the current user. */
20758
+ oauth_token?: string;
20759
+ /** Returns response with indentations and line breaks. */
20760
+ prettyPrint?: boolean;
20761
+ /** 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. */
20762
+ quotaUser?: string;
20763
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20764
+ upload_protocol?: string;
20765
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20766
+ uploadType?: string;
20767
+ },
20768
+ body: GoogleCloudAiplatformV1GenerateContentRequest
20769
+ ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
19391
20770
  }
19392
20771
  interface PublishersResource {
19393
20772
  models: ModelsResource;
@@ -21647,97 +23026,6 @@ declare namespace gapi.client {
21647
23026
  }): Request<GoogleLongrunningOperation>;
21648
23027
  }
21649
23028
  interface TimeSeriesResource {
21650
- /** Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. */
21651
- batchCreate(request: {
21652
- /** V1 error format. */
21653
- '$.xgafv'?: string;
21654
- /** OAuth access token. */
21655
- access_token?: string;
21656
- /** Data format for response. */
21657
- alt?: string;
21658
- /** JSONP */
21659
- callback?: string;
21660
- /** Selector specifying which fields to include in a partial response. */
21661
- fields?: string;
21662
- /** 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. */
21663
- key?: string;
21664
- /** OAuth 2.0 token for the current user. */
21665
- oauth_token?: string;
21666
- /** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
21667
- parent: string;
21668
- /** Returns response with indentations and line breaks. */
21669
- prettyPrint?: boolean;
21670
- /** 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. */
21671
- quotaUser?: string;
21672
- runsId: string;
21673
- /** Upload protocol for media (e.g. "raw", "multipart"). */
21674
- upload_protocol?: string;
21675
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21676
- uploadType?: string;
21677
- /** Request body */
21678
- resource: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest;
21679
- }): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
21680
- batchCreate(
21681
- request: {
21682
- /** V1 error format. */
21683
- '$.xgafv'?: string;
21684
- /** OAuth access token. */
21685
- access_token?: string;
21686
- /** Data format for response. */
21687
- alt?: string;
21688
- /** JSONP */
21689
- callback?: string;
21690
- /** Selector specifying which fields to include in a partial response. */
21691
- fields?: string;
21692
- /** 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. */
21693
- key?: string;
21694
- /** OAuth 2.0 token for the current user. */
21695
- oauth_token?: string;
21696
- /** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
21697
- parent: string;
21698
- /** Returns response with indentations and line breaks. */
21699
- prettyPrint?: boolean;
21700
- /** 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. */
21701
- quotaUser?: string;
21702
- runsId: string;
21703
- /** Upload protocol for media (e.g. "raw", "multipart"). */
21704
- upload_protocol?: string;
21705
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21706
- uploadType?: string;
21707
- },
21708
- body: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest
21709
- ): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
21710
- /** Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned. */
21711
- batchRead(request?: {
21712
- /** V1 error format. */
21713
- '$.xgafv'?: string;
21714
- /** OAuth access token. */
21715
- access_token?: string;
21716
- /** Data format for response. */
21717
- alt?: string;
21718
- /** JSONP */
21719
- callback?: string;
21720
- experimentsId: string;
21721
- /** Selector specifying which fields to include in a partial response. */
21722
- fields?: string;
21723
- /** 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. */
21724
- key?: string;
21725
- /** OAuth 2.0 token for the current user. */
21726
- oauth_token?: string;
21727
- /** Returns response with indentations and line breaks. */
21728
- prettyPrint?: boolean;
21729
- /** 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. */
21730
- quotaUser?: string;
21731
- runsId: string;
21732
- /** Required. The resource name of the Tensorboard containing TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The TensorboardTimeSeries referenced by time_series must be sub resources of this Tensorboard. */
21733
- tensorboard: string;
21734
- /** Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` */
21735
- timeSeries?: string | string[];
21736
- /** Upload protocol for media (e.g. "raw", "multipart"). */
21737
- upload_protocol?: string;
21738
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21739
- uploadType?: string;
21740
- }): Request<GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse>;
21741
23029
  /** Creates a TensorboardTimeSeries. */
21742
23030
  create(request: {
21743
23031
  /** V1 error format. */
@@ -22409,6 +23697,64 @@ declare namespace gapi.client {
22409
23697
  timeSeries: TimeSeriesResource;
22410
23698
  }
22411
23699
  interface ExperimentsResource {
23700
+ /** Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. */
23701
+ batchCreate(request: {
23702
+ /** V1 error format. */
23703
+ '$.xgafv'?: string;
23704
+ /** OAuth access token. */
23705
+ access_token?: string;
23706
+ /** Data format for response. */
23707
+ alt?: string;
23708
+ /** JSONP */
23709
+ callback?: string;
23710
+ /** Selector specifying which fields to include in a partial response. */
23711
+ fields?: string;
23712
+ /** 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. */
23713
+ key?: string;
23714
+ /** OAuth 2.0 token for the current user. */
23715
+ oauth_token?: string;
23716
+ /** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
23717
+ parent: string;
23718
+ /** Returns response with indentations and line breaks. */
23719
+ prettyPrint?: boolean;
23720
+ /** 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. */
23721
+ quotaUser?: string;
23722
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23723
+ upload_protocol?: string;
23724
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23725
+ uploadType?: string;
23726
+ /** Request body */
23727
+ resource: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest;
23728
+ }): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
23729
+ batchCreate(
23730
+ request: {
23731
+ /** V1 error format. */
23732
+ '$.xgafv'?: string;
23733
+ /** OAuth access token. */
23734
+ access_token?: string;
23735
+ /** Data format for response. */
23736
+ alt?: string;
23737
+ /** JSONP */
23738
+ callback?: string;
23739
+ /** Selector specifying which fields to include in a partial response. */
23740
+ fields?: string;
23741
+ /** 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. */
23742
+ key?: string;
23743
+ /** OAuth 2.0 token for the current user. */
23744
+ oauth_token?: string;
23745
+ /** Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment. */
23746
+ parent: string;
23747
+ /** Returns response with indentations and line breaks. */
23748
+ prettyPrint?: boolean;
23749
+ /** 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. */
23750
+ quotaUser?: string;
23751
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23752
+ upload_protocol?: string;
23753
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23754
+ uploadType?: string;
23755
+ },
23756
+ body: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest
23757
+ ): Request<GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse>;
22412
23758
  /** Creates a TensorboardExperiment. */
22413
23759
  create(request: {
22414
23760
  /** V1 error format. */
@@ -22831,6 +24177,35 @@ declare namespace gapi.client {
22831
24177
  }): Request<GoogleLongrunningOperation>;
22832
24178
  }
22833
24179
  interface TensorboardsResource {
24180
+ /** Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned. */
24181
+ batchRead(request?: {
24182
+ /** V1 error format. */
24183
+ '$.xgafv'?: string;
24184
+ /** OAuth access token. */
24185
+ access_token?: string;
24186
+ /** Data format for response. */
24187
+ alt?: string;
24188
+ /** JSONP */
24189
+ callback?: string;
24190
+ /** Selector specifying which fields to include in a partial response. */
24191
+ fields?: string;
24192
+ /** 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. */
24193
+ key?: string;
24194
+ /** OAuth 2.0 token for the current user. */
24195
+ oauth_token?: string;
24196
+ /** Returns response with indentations and line breaks. */
24197
+ prettyPrint?: boolean;
24198
+ /** 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. */
24199
+ quotaUser?: string;
24200
+ /** Required. The resource name of the Tensorboard containing TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The TensorboardTimeSeries referenced by time_series must be sub resources of this Tensorboard. */
24201
+ tensorboard: string;
24202
+ /** Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` */
24203
+ timeSeries?: string | string[];
24204
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24205
+ upload_protocol?: string;
24206
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24207
+ uploadType?: string;
24208
+ }): Request<GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse>;
22834
24209
  /** Creates a Tensorboard. */
22835
24210
  create(request: {
22836
24211
  /** V1 error format. */