@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20231218 → 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.
- package/index.d.ts +1149 -55
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 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;
|
|
@@ -2035,8 +2075,6 @@ declare namespace gapi.client {
|
|
|
2035
2075
|
interface GoogleCloudAiplatformV1GenerateContentRequest {
|
|
2036
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. */
|
|
2037
2077
|
contents?: GoogleCloudAiplatformV1Content[];
|
|
2038
|
-
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
2039
|
-
endpoint?: string;
|
|
2040
2078
|
/** Optional. Generation config. */
|
|
2041
2079
|
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2042
2080
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
@@ -3695,12 +3733,16 @@ declare namespace gapi.client {
|
|
|
3695
3733
|
openEvaluationPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
3696
3734
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
3697
3735
|
openFineTuningPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
3736
|
+
/** Optional. Open fine-tuning pipelines of the PublisherModel. */
|
|
3737
|
+
openFineTuningPipelines?: GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines;
|
|
3698
3738
|
/** Optional. Open in Generation AI Studio. */
|
|
3699
3739
|
openGenerationAiStudio?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
3700
3740
|
/** Optional. Open Genie / Playground. */
|
|
3701
3741
|
openGenie?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
3702
3742
|
/** Optional. Open notebook of the PublisherModel. */
|
|
3703
3743
|
openNotebook?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
3744
|
+
/** Optional. Open notebooks of the PublisherModel. */
|
|
3745
|
+
openNotebooks?: GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks;
|
|
3704
3746
|
/** Optional. Open prompt-tuning pipeline of the PublisherModel. */
|
|
3705
3747
|
openPromptTuningPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
3706
3748
|
/** Optional. Request for access. */
|
|
@@ -3728,12 +3770,26 @@ declare namespace gapi.client {
|
|
|
3728
3770
|
/** Required. The title of the regional resource reference. */
|
|
3729
3771
|
title?: string;
|
|
3730
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
|
+
}
|
|
3731
3781
|
interface GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences {
|
|
3732
3782
|
/** Required. */
|
|
3733
3783
|
references?: {
|
|
3734
3784
|
[P in string]: GoogleCloudAiplatformV1PublisherModelResourceReference;
|
|
3735
3785
|
};
|
|
3736
|
-
/**
|
|
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. */
|
|
3737
3793
|
title?: string;
|
|
3738
3794
|
}
|
|
3739
3795
|
interface GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi {
|
|
@@ -4484,7 +4540,7 @@ declare namespace gapi.client {
|
|
|
4484
4540
|
interface GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry {
|
|
4485
4541
|
/** The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead. */
|
|
4486
4542
|
enterpriseDatastore?: string;
|
|
4487
|
-
/** The grounding text passed inline with the Predict API. It can support up to 1 million
|
|
4543
|
+
/** The grounding text passed inline with the Predict API. It can support up to 1 million bytes. */
|
|
4488
4544
|
inlineContext?: string;
|
|
4489
4545
|
/** The type of the grounding checking source. */
|
|
4490
4546
|
type?: string;
|
|
@@ -6221,6 +6277,460 @@ declare namespace gapi.client {
|
|
|
6221
6277
|
/** One entry per metric name. The values must be aggregated per metric name. */
|
|
6222
6278
|
metricEntries?: IntelligenceCloudAutomlXpsMetricEntry[];
|
|
6223
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
|
+
}
|
|
6224
6734
|
interface BatchPredictionJobsResource {
|
|
6225
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. */
|
|
6226
6736
|
cancel(request: {
|
|
@@ -14765,6 +15275,151 @@ declare namespace gapi.client {
|
|
|
14765
15275
|
): Request<{}>;
|
|
14766
15276
|
operations: OperationsResource;
|
|
14767
15277
|
}
|
|
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?: {
|
|
15281
|
+
/** V1 error format. */
|
|
15282
|
+
'$.xgafv'?: string;
|
|
15283
|
+
/** OAuth access token. */
|
|
15284
|
+
access_token?: string;
|
|
15285
|
+
/** Data format for response. */
|
|
15286
|
+
alt?: string;
|
|
15287
|
+
/** JSONP */
|
|
15288
|
+
callback?: string;
|
|
15289
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15290
|
+
fields?: string;
|
|
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. */
|
|
15292
|
+
key?: string;
|
|
15293
|
+
/** The name of the operation resource to be cancelled. */
|
|
15294
|
+
name: string;
|
|
15295
|
+
/** OAuth 2.0 token for the current user. */
|
|
15296
|
+
oauth_token?: string;
|
|
15297
|
+
/** Returns response with indentations and line breaks. */
|
|
15298
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
15300
|
+
quotaUser?: string;
|
|
15301
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15302
|
+
upload_protocol?: string;
|
|
15303
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15304
|
+
uploadType?: string;
|
|
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`. */
|
|
15307
|
+
delete(request?: {
|
|
15308
|
+
/** V1 error format. */
|
|
15309
|
+
'$.xgafv'?: string;
|
|
15310
|
+
/** OAuth access token. */
|
|
15311
|
+
access_token?: string;
|
|
15312
|
+
/** Data format for response. */
|
|
15313
|
+
alt?: string;
|
|
15314
|
+
/** JSONP */
|
|
15315
|
+
callback?: string;
|
|
15316
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15317
|
+
fields?: string;
|
|
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. */
|
|
15319
|
+
key?: string;
|
|
15320
|
+
/** The name of the operation resource to be deleted. */
|
|
15321
|
+
name: string;
|
|
15322
|
+
/** OAuth 2.0 token for the current user. */
|
|
15323
|
+
oauth_token?: string;
|
|
15324
|
+
/** Returns response with indentations and line breaks. */
|
|
15325
|
+
prettyPrint?: boolean;
|
|
15326
|
+
/** 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. */
|
|
15327
|
+
quotaUser?: string;
|
|
15328
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15329
|
+
upload_protocol?: string;
|
|
15330
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15331
|
+
uploadType?: string;
|
|
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. */
|
|
15334
|
+
get(request?: {
|
|
15335
|
+
/** V1 error format. */
|
|
15336
|
+
'$.xgafv'?: string;
|
|
15337
|
+
/** OAuth access token. */
|
|
15338
|
+
access_token?: string;
|
|
15339
|
+
/** Data format for response. */
|
|
15340
|
+
alt?: string;
|
|
15341
|
+
/** JSONP */
|
|
15342
|
+
callback?: string;
|
|
15343
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15344
|
+
fields?: string;
|
|
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. */
|
|
15346
|
+
key?: string;
|
|
15347
|
+
/** The name of the operation resource. */
|
|
15348
|
+
name: string;
|
|
15349
|
+
/** OAuth 2.0 token for the current user. */
|
|
15350
|
+
oauth_token?: string;
|
|
15351
|
+
/** Returns response with indentations and line breaks. */
|
|
15352
|
+
prettyPrint?: boolean;
|
|
15353
|
+
/** 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. */
|
|
15354
|
+
quotaUser?: string;
|
|
15355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15356
|
+
upload_protocol?: string;
|
|
15357
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15358
|
+
uploadType?: string;
|
|
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`. */
|
|
15361
|
+
list(request?: {
|
|
15362
|
+
/** V1 error format. */
|
|
15363
|
+
'$.xgafv'?: string;
|
|
15364
|
+
/** OAuth access token. */
|
|
15365
|
+
access_token?: string;
|
|
15366
|
+
/** Data format for response. */
|
|
15367
|
+
alt?: string;
|
|
15368
|
+
/** JSONP */
|
|
15369
|
+
callback?: string;
|
|
15370
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15371
|
+
fields?: string;
|
|
15372
|
+
/** The standard list filter. */
|
|
15373
|
+
filter?: string;
|
|
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. */
|
|
15375
|
+
key?: string;
|
|
15376
|
+
/** The name of the operation's parent resource. */
|
|
15377
|
+
name: string;
|
|
15378
|
+
/** OAuth 2.0 token for the current user. */
|
|
15379
|
+
oauth_token?: string;
|
|
15380
|
+
/** The standard list page size. */
|
|
15381
|
+
pageSize?: number;
|
|
15382
|
+
/** The standard list page token. */
|
|
15383
|
+
pageToken?: string;
|
|
15384
|
+
/** Returns response with indentations and line breaks. */
|
|
15385
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
15387
|
+
quotaUser?: string;
|
|
15388
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15389
|
+
upload_protocol?: string;
|
|
15390
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15391
|
+
uploadType?: string;
|
|
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?: {
|
|
15395
|
+
/** V1 error format. */
|
|
15396
|
+
'$.xgafv'?: string;
|
|
15397
|
+
/** OAuth access token. */
|
|
15398
|
+
access_token?: string;
|
|
15399
|
+
/** Data format for response. */
|
|
15400
|
+
alt?: string;
|
|
15401
|
+
/** JSONP */
|
|
15402
|
+
callback?: string;
|
|
15403
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15404
|
+
fields?: string;
|
|
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. */
|
|
15406
|
+
key?: string;
|
|
15407
|
+
/** The name of the operation resource to wait on. */
|
|
15408
|
+
name: string;
|
|
15409
|
+
/** OAuth 2.0 token for the current user. */
|
|
15410
|
+
oauth_token?: string;
|
|
15411
|
+
/** Returns response with indentations and line breaks. */
|
|
15412
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
15414
|
+
quotaUser?: 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;
|
|
15417
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15418
|
+
upload_protocol?: string;
|
|
15419
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15420
|
+
uploadType?: string;
|
|
15421
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15422
|
+
}
|
|
14768
15423
|
interface ArtifactsResource {
|
|
14769
15424
|
/** Creates an Artifact associated with a MetadataStore. */
|
|
14770
15425
|
create(request: {
|
|
@@ -15074,10 +15729,11 @@ declare namespace gapi.client {
|
|
|
15074
15729
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15075
15730
|
uploadType?: string;
|
|
15076
15731
|
}): Request<GoogleCloudAiplatformV1LineageSubgraph>;
|
|
15732
|
+
operations: OperationsResource;
|
|
15077
15733
|
}
|
|
15078
|
-
interface
|
|
15079
|
-
/**
|
|
15080
|
-
|
|
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?: {
|
|
15081
15737
|
/** V1 error format. */
|
|
15082
15738
|
'$.xgafv'?: string;
|
|
15083
15739
|
/** OAuth access token. */
|
|
@@ -15086,12 +15742,12 @@ declare namespace gapi.client {
|
|
|
15086
15742
|
alt?: string;
|
|
15087
15743
|
/** JSONP */
|
|
15088
15744
|
callback?: string;
|
|
15089
|
-
/** Required. The resource name of the Context that the Artifacts and Executions belong to. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
15090
|
-
context: string;
|
|
15091
15745
|
/** Selector specifying which fields to include in a partial response. */
|
|
15092
15746
|
fields?: string;
|
|
15093
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. */
|
|
15094
15748
|
key?: string;
|
|
15749
|
+
/** The name of the operation resource to be cancelled. */
|
|
15750
|
+
name: string;
|
|
15095
15751
|
/** OAuth 2.0 token for the current user. */
|
|
15096
15752
|
oauth_token?: string;
|
|
15097
15753
|
/** Returns response with indentations and line breaks. */
|
|
@@ -15102,40 +15758,9 @@ declare namespace gapi.client {
|
|
|
15102
15758
|
upload_protocol?: string;
|
|
15103
15759
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15104
15760
|
uploadType?: string;
|
|
15105
|
-
/** Request body */
|
|
15106
|
-
resource: GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest;
|
|
15107
15761
|
}): Request<{}>;
|
|
15108
|
-
|
|
15109
|
-
|
|
15110
|
-
/** V1 error format. */
|
|
15111
|
-
'$.xgafv'?: string;
|
|
15112
|
-
/** OAuth access token. */
|
|
15113
|
-
access_token?: string;
|
|
15114
|
-
/** Data format for response. */
|
|
15115
|
-
alt?: string;
|
|
15116
|
-
/** JSONP */
|
|
15117
|
-
callback?: string;
|
|
15118
|
-
/** Required. The resource name of the Context that the Artifacts and Executions belong to. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
15119
|
-
context: string;
|
|
15120
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
15121
|
-
fields?: string;
|
|
15122
|
-
/** 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. */
|
|
15123
|
-
key?: string;
|
|
15124
|
-
/** OAuth 2.0 token for the current user. */
|
|
15125
|
-
oauth_token?: string;
|
|
15126
|
-
/** Returns response with indentations and line breaks. */
|
|
15127
|
-
prettyPrint?: boolean;
|
|
15128
|
-
/** 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. */
|
|
15129
|
-
quotaUser?: string;
|
|
15130
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15131
|
-
upload_protocol?: string;
|
|
15132
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15133
|
-
uploadType?: string;
|
|
15134
|
-
},
|
|
15135
|
-
body: GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest
|
|
15136
|
-
): Request<{}>;
|
|
15137
|
-
/** Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error. */
|
|
15138
|
-
addContextChildren(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?: {
|
|
15139
15764
|
/** V1 error format. */
|
|
15140
15765
|
'$.xgafv'?: string;
|
|
15141
15766
|
/** OAuth access token. */
|
|
@@ -15144,12 +15769,12 @@ declare namespace gapi.client {
|
|
|
15144
15769
|
alt?: string;
|
|
15145
15770
|
/** JSONP */
|
|
15146
15771
|
callback?: string;
|
|
15147
|
-
/** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
15148
|
-
context: string;
|
|
15149
15772
|
/** Selector specifying which fields to include in a partial response. */
|
|
15150
15773
|
fields?: string;
|
|
15151
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. */
|
|
15152
15775
|
key?: string;
|
|
15776
|
+
/** The name of the operation resource to be deleted. */
|
|
15777
|
+
name: string;
|
|
15153
15778
|
/** OAuth 2.0 token for the current user. */
|
|
15154
15779
|
oauth_token?: string;
|
|
15155
15780
|
/** Returns response with indentations and line breaks. */
|
|
@@ -15160,17 +15785,193 @@ declare namespace gapi.client {
|
|
|
15160
15785
|
upload_protocol?: string;
|
|
15161
15786
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15162
15787
|
uploadType?: string;
|
|
15163
|
-
/** Request body */
|
|
15164
|
-
resource: GoogleCloudAiplatformV1AddContextChildrenRequest;
|
|
15165
15788
|
}): Request<{}>;
|
|
15166
|
-
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
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;
|
|
15840
|
+
/** Returns response with indentations and line breaks. */
|
|
15841
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
15843
|
+
quotaUser?: string;
|
|
15844
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15845
|
+
upload_protocol?: string;
|
|
15846
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15847
|
+
uploadType?: string;
|
|
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?: {
|
|
15851
|
+
/** V1 error format. */
|
|
15852
|
+
'$.xgafv'?: string;
|
|
15853
|
+
/** OAuth access token. */
|
|
15854
|
+
access_token?: string;
|
|
15855
|
+
/** Data format for response. */
|
|
15856
|
+
alt?: string;
|
|
15857
|
+
/** JSONP */
|
|
15858
|
+
callback?: string;
|
|
15859
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15860
|
+
fields?: string;
|
|
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. */
|
|
15862
|
+
key?: string;
|
|
15863
|
+
/** The name of the operation resource to wait on. */
|
|
15864
|
+
name: string;
|
|
15865
|
+
/** OAuth 2.0 token for the current user. */
|
|
15866
|
+
oauth_token?: string;
|
|
15867
|
+
/** Returns response with indentations and line breaks. */
|
|
15868
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
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;
|
|
15873
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15874
|
+
upload_protocol?: string;
|
|
15875
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15876
|
+
uploadType?: string;
|
|
15877
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15878
|
+
}
|
|
15879
|
+
interface ContextsResource {
|
|
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. */
|
|
15881
|
+
addContextArtifactsAndExecutions(request: {
|
|
15882
|
+
/** V1 error format. */
|
|
15883
|
+
'$.xgafv'?: string;
|
|
15884
|
+
/** OAuth access token. */
|
|
15885
|
+
access_token?: string;
|
|
15886
|
+
/** Data format for response. */
|
|
15887
|
+
alt?: string;
|
|
15888
|
+
/** JSONP */
|
|
15889
|
+
callback?: string;
|
|
15890
|
+
/** Required. The resource name of the Context that the Artifacts and Executions belong to. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
15891
|
+
context: string;
|
|
15892
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15893
|
+
fields?: string;
|
|
15894
|
+
/** 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. */
|
|
15895
|
+
key?: string;
|
|
15896
|
+
/** OAuth 2.0 token for the current user. */
|
|
15897
|
+
oauth_token?: string;
|
|
15898
|
+
/** Returns response with indentations and line breaks. */
|
|
15899
|
+
prettyPrint?: boolean;
|
|
15900
|
+
/** 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. */
|
|
15901
|
+
quotaUser?: string;
|
|
15902
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15903
|
+
upload_protocol?: string;
|
|
15904
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15905
|
+
uploadType?: string;
|
|
15906
|
+
/** Request body */
|
|
15907
|
+
resource: GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest;
|
|
15908
|
+
}): Request<{}>;
|
|
15909
|
+
addContextArtifactsAndExecutions(
|
|
15910
|
+
request: {
|
|
15911
|
+
/** V1 error format. */
|
|
15912
|
+
'$.xgafv'?: string;
|
|
15913
|
+
/** OAuth access token. */
|
|
15914
|
+
access_token?: string;
|
|
15915
|
+
/** Data format for response. */
|
|
15916
|
+
alt?: string;
|
|
15917
|
+
/** JSONP */
|
|
15918
|
+
callback?: string;
|
|
15919
|
+
/** Required. The resource name of the Context that the Artifacts and Executions belong to. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
15920
|
+
context: string;
|
|
15921
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15922
|
+
fields?: string;
|
|
15923
|
+
/** 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. */
|
|
15924
|
+
key?: string;
|
|
15925
|
+
/** OAuth 2.0 token for the current user. */
|
|
15926
|
+
oauth_token?: string;
|
|
15927
|
+
/** Returns response with indentations and line breaks. */
|
|
15928
|
+
prettyPrint?: boolean;
|
|
15929
|
+
/** 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. */
|
|
15930
|
+
quotaUser?: string;
|
|
15931
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15932
|
+
upload_protocol?: string;
|
|
15933
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15934
|
+
uploadType?: string;
|
|
15935
|
+
},
|
|
15936
|
+
body: GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest
|
|
15937
|
+
): Request<{}>;
|
|
15938
|
+
/** Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error. */
|
|
15939
|
+
addContextChildren(request: {
|
|
15940
|
+
/** V1 error format. */
|
|
15941
|
+
'$.xgafv'?: string;
|
|
15942
|
+
/** OAuth access token. */
|
|
15943
|
+
access_token?: string;
|
|
15944
|
+
/** Data format for response. */
|
|
15945
|
+
alt?: string;
|
|
15946
|
+
/** JSONP */
|
|
15947
|
+
callback?: string;
|
|
15948
|
+
/** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
15949
|
+
context: string;
|
|
15950
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15951
|
+
fields?: string;
|
|
15952
|
+
/** 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. */
|
|
15953
|
+
key?: string;
|
|
15954
|
+
/** OAuth 2.0 token for the current user. */
|
|
15955
|
+
oauth_token?: string;
|
|
15956
|
+
/** Returns response with indentations and line breaks. */
|
|
15957
|
+
prettyPrint?: boolean;
|
|
15958
|
+
/** 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. */
|
|
15959
|
+
quotaUser?: string;
|
|
15960
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15961
|
+
upload_protocol?: string;
|
|
15962
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15963
|
+
uploadType?: string;
|
|
15964
|
+
/** Request body */
|
|
15965
|
+
resource: GoogleCloudAiplatformV1AddContextChildrenRequest;
|
|
15966
|
+
}): Request<{}>;
|
|
15967
|
+
addContextChildren(
|
|
15968
|
+
request: {
|
|
15969
|
+
/** V1 error format. */
|
|
15970
|
+
'$.xgafv'?: string;
|
|
15971
|
+
/** OAuth access token. */
|
|
15972
|
+
access_token?: string;
|
|
15973
|
+
/** Data format for response. */
|
|
15974
|
+
alt?: string;
|
|
15174
15975
|
/** JSONP */
|
|
15175
15976
|
callback?: string;
|
|
15176
15977
|
/** Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` */
|
|
@@ -15556,6 +16357,152 @@ declare namespace gapi.client {
|
|
|
15556
16357
|
},
|
|
15557
16358
|
body: GoogleCloudAiplatformV1RemoveContextChildrenRequest
|
|
15558
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;
|
|
16435
|
+
/** Returns response with indentations and line breaks. */
|
|
16436
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
16438
|
+
quotaUser?: string;
|
|
16439
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16440
|
+
upload_protocol?: string;
|
|
16441
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16442
|
+
uploadType?: string;
|
|
16443
|
+
}): Request<GoogleLongrunningOperation>;
|
|
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?: {
|
|
16446
|
+
/** V1 error format. */
|
|
16447
|
+
'$.xgafv'?: string;
|
|
16448
|
+
/** OAuth access token. */
|
|
16449
|
+
access_token?: string;
|
|
16450
|
+
/** Data format for response. */
|
|
16451
|
+
alt?: string;
|
|
16452
|
+
/** JSONP */
|
|
16453
|
+
callback?: string;
|
|
16454
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16455
|
+
fields?: string;
|
|
16456
|
+
/** The standard list filter. */
|
|
16457
|
+
filter?: string;
|
|
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. */
|
|
16459
|
+
key?: string;
|
|
16460
|
+
/** The name of the operation's parent resource. */
|
|
16461
|
+
name: string;
|
|
16462
|
+
/** OAuth 2.0 token for the current user. */
|
|
16463
|
+
oauth_token?: string;
|
|
16464
|
+
/** The standard list page size. */
|
|
16465
|
+
pageSize?: number;
|
|
16466
|
+
/** The standard list page token. */
|
|
16467
|
+
pageToken?: string;
|
|
16468
|
+
/** Returns response with indentations and line breaks. */
|
|
16469
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
16471
|
+
quotaUser?: string;
|
|
16472
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16473
|
+
upload_protocol?: string;
|
|
16474
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16475
|
+
uploadType?: string;
|
|
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?: {
|
|
16479
|
+
/** V1 error format. */
|
|
16480
|
+
'$.xgafv'?: string;
|
|
16481
|
+
/** OAuth access token. */
|
|
16482
|
+
access_token?: string;
|
|
16483
|
+
/** Data format for response. */
|
|
16484
|
+
alt?: string;
|
|
16485
|
+
/** JSONP */
|
|
16486
|
+
callback?: string;
|
|
16487
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16488
|
+
fields?: string;
|
|
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. */
|
|
16490
|
+
key?: string;
|
|
16491
|
+
/** The name of the operation resource to wait on. */
|
|
16492
|
+
name: string;
|
|
16493
|
+
/** OAuth 2.0 token for the current user. */
|
|
16494
|
+
oauth_token?: string;
|
|
16495
|
+
/** Returns response with indentations and line breaks. */
|
|
16496
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
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;
|
|
16501
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16502
|
+
upload_protocol?: string;
|
|
16503
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16504
|
+
uploadType?: string;
|
|
16505
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15559
16506
|
}
|
|
15560
16507
|
interface ExecutionsResource {
|
|
15561
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. */
|
|
@@ -15920,6 +16867,7 @@ declare namespace gapi.client {
|
|
|
15920
16867
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15921
16868
|
uploadType?: string;
|
|
15922
16869
|
}): Request<GoogleCloudAiplatformV1LineageSubgraph>;
|
|
16870
|
+
operations: OperationsResource;
|
|
15923
16871
|
}
|
|
15924
16872
|
interface MetadataSchemasResource {
|
|
15925
16873
|
/** Creates a MetadataSchema. */
|
|
@@ -16045,6 +16993,151 @@ declare namespace gapi.client {
|
|
|
16045
16993
|
uploadType?: string;
|
|
16046
16994
|
}): Request<GoogleCloudAiplatformV1ListMetadataSchemasResponse>;
|
|
16047
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. */
|
|
17095
|
+
name: string;
|
|
17096
|
+
/** OAuth 2.0 token for the current user. */
|
|
17097
|
+
oauth_token?: string;
|
|
17098
|
+
/** The standard list page size. */
|
|
17099
|
+
pageSize?: number;
|
|
17100
|
+
/** The standard list page token. */
|
|
17101
|
+
pageToken?: string;
|
|
17102
|
+
/** Returns response with indentations and line breaks. */
|
|
17103
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
17105
|
+
quotaUser?: string;
|
|
17106
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17107
|
+
upload_protocol?: string;
|
|
17108
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17109
|
+
uploadType?: string;
|
|
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?: {
|
|
17113
|
+
/** V1 error format. */
|
|
17114
|
+
'$.xgafv'?: string;
|
|
17115
|
+
/** OAuth access token. */
|
|
17116
|
+
access_token?: string;
|
|
17117
|
+
/** Data format for response. */
|
|
17118
|
+
alt?: string;
|
|
17119
|
+
/** JSONP */
|
|
17120
|
+
callback?: string;
|
|
17121
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17122
|
+
fields?: string;
|
|
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. */
|
|
17124
|
+
key?: string;
|
|
17125
|
+
/** The name of the operation resource to wait on. */
|
|
17126
|
+
name: string;
|
|
17127
|
+
/** OAuth 2.0 token for the current user. */
|
|
17128
|
+
oauth_token?: string;
|
|
17129
|
+
/** Returns response with indentations and line breaks. */
|
|
17130
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
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;
|
|
17135
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17136
|
+
upload_protocol?: string;
|
|
17137
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17138
|
+
uploadType?: string;
|
|
17139
|
+
}): Request<GoogleLongrunningOperation>;
|
|
17140
|
+
}
|
|
16048
17141
|
interface MetadataStoresResource {
|
|
16049
17142
|
/** Initializes a MetadataStore, including allocation of resources. */
|
|
16050
17143
|
create(request: {
|
|
@@ -16199,6 +17292,7 @@ declare namespace gapi.client {
|
|
|
16199
17292
|
contexts: ContextsResource;
|
|
16200
17293
|
executions: ExecutionsResource;
|
|
16201
17294
|
metadataSchemas: MetadataSchemasResource;
|
|
17295
|
+
operations: OperationsResource;
|
|
16202
17296
|
}
|
|
16203
17297
|
interface OperationsResource {
|
|
16204
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`. */
|