@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240609 → 0.0.20240628
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 +707 -210
- 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240628
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -35,6 +35,8 @@ declare namespace gapi.client {
|
|
|
35
35
|
raiMediaFilteredCount?: number;
|
|
36
36
|
/** Returns rai failure reasons if any. */
|
|
37
37
|
raiMediaFilteredReasons?: string[];
|
|
38
|
+
/** Billable prediction metrics. */
|
|
39
|
+
reportingMetrics?: IntelligenceCloudAutomlXpsReportingMetrics;
|
|
38
40
|
}
|
|
39
41
|
interface CloudAiLargeModelsVisionImage {
|
|
40
42
|
/** Image encoding, encoded as "image/png" or "image/jpg". */
|
|
@@ -74,6 +76,8 @@ declare namespace gapi.client {
|
|
|
74
76
|
interface CloudAiLargeModelsVisionRaiInfo {
|
|
75
77
|
/** The list of detected labels for different rai categories. */
|
|
76
78
|
detectedLabels?: CloudAiLargeModelsVisionRaiInfoDetectedLabels[];
|
|
79
|
+
/** The model name used to indexing into the RaiFilterConfig map. Would either be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal names used for mapping to different filter configs (genselfie, ai_watermark) than its api endpoint. */
|
|
80
|
+
modelName?: string;
|
|
77
81
|
/** List of rai categories' information to return */
|
|
78
82
|
raiCategories?: string[];
|
|
79
83
|
/** List of rai scores mapping to the rai categories. Rounded to 1 decimal place. */
|
|
@@ -543,7 +547,7 @@ declare namespace gapi.client {
|
|
|
543
547
|
/** Required. Repeated bleu instances. */
|
|
544
548
|
instances?: GoogleCloudAiplatformV1beta1BleuInstance[];
|
|
545
549
|
/** Required. Spec for bleu score metric. */
|
|
546
|
-
metricSpec?:
|
|
550
|
+
metricSpec?: GoogleCloudAiplatformV1beta1BleuSpec;
|
|
547
551
|
}
|
|
548
552
|
interface GoogleCloudAiplatformV1beta1BleuInstance {
|
|
549
553
|
/** Required. Output of the evaluated model. */
|
|
@@ -559,7 +563,10 @@ declare namespace gapi.client {
|
|
|
559
563
|
/** Output only. Bleu metric values. */
|
|
560
564
|
bleuMetricValues?: GoogleCloudAiplatformV1beta1BleuMetricValue[];
|
|
561
565
|
}
|
|
562
|
-
interface GoogleCloudAiplatformV1beta1BleuSpec {
|
|
566
|
+
interface GoogleCloudAiplatformV1beta1BleuSpec {
|
|
567
|
+
/** Optional. Whether to use_effective_order to compute bleu score. */
|
|
568
|
+
useEffectiveOrder?: boolean;
|
|
569
|
+
}
|
|
563
570
|
interface GoogleCloudAiplatformV1beta1Blob {
|
|
564
571
|
/** Required. Raw bytes. */
|
|
565
572
|
data?: string;
|
|
@@ -585,11 +592,13 @@ declare namespace gapi.client {
|
|
|
585
592
|
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
586
593
|
/** Output only. Creatation time of the cache entry. */
|
|
587
594
|
createTime?: string;
|
|
595
|
+
/** Optional. Immutable. The user-generated meaningful display name of the cached content. */
|
|
596
|
+
displayName?: string;
|
|
588
597
|
/** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
|
|
589
598
|
expireTime?: string;
|
|
590
599
|
/** Immutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} */
|
|
591
600
|
model?: string;
|
|
592
|
-
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
601
|
+
/** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
593
602
|
name?: string;
|
|
594
603
|
/** Optional. Input only. Immutable. Developer set system instruction. Currently, text only */
|
|
595
604
|
systemInstruction?: GoogleCloudAiplatformV1beta1Content;
|
|
@@ -698,8 +707,12 @@ declare namespace gapi.client {
|
|
|
698
707
|
successfulForecastPointCount?: string;
|
|
699
708
|
}
|
|
700
709
|
interface GoogleCloudAiplatformV1beta1ComputeTokensRequest {
|
|
710
|
+
/** Required. Input content. */
|
|
711
|
+
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
701
712
|
/** Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models. */
|
|
702
713
|
instances?: any[];
|
|
714
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*/models/* */
|
|
715
|
+
model?: string;
|
|
703
716
|
}
|
|
704
717
|
interface GoogleCloudAiplatformV1beta1ComputeTokensResponse {
|
|
705
718
|
/** Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances. */
|
|
@@ -1085,50 +1098,6 @@ declare namespace gapi.client {
|
|
|
1085
1098
|
/** Output only. Timestamp when this Dataset was last updated. */
|
|
1086
1099
|
updateTime?: string;
|
|
1087
1100
|
}
|
|
1088
|
-
interface GoogleCloudAiplatformV1beta1DatasetDistribution {
|
|
1089
|
-
/** Output only. Defines the histogram bucket. */
|
|
1090
|
-
buckets?: GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket[];
|
|
1091
|
-
/** Output only. The maximum of the population values. */
|
|
1092
|
-
max?: number;
|
|
1093
|
-
/** Output only. The arithmetic mean of the values in the population. */
|
|
1094
|
-
mean?: number;
|
|
1095
|
-
/** Output only. The median of the values in the population. */
|
|
1096
|
-
median?: number;
|
|
1097
|
-
/** Output only. The minimum of the population values. */
|
|
1098
|
-
min?: number;
|
|
1099
|
-
/** Output only. The 5th percentile of the values in the population. */
|
|
1100
|
-
p5?: number;
|
|
1101
|
-
/** Output only. The 95th percentile of the values in the population. */
|
|
1102
|
-
p95?: number;
|
|
1103
|
-
/** Output only. Sum of a given population of values. */
|
|
1104
|
-
sum?: number;
|
|
1105
|
-
}
|
|
1106
|
-
interface GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket {
|
|
1107
|
-
/** Output only. Number of values in the bucket. */
|
|
1108
|
-
count?: string;
|
|
1109
|
-
/** Output only. Left bound of the bucket. */
|
|
1110
|
-
left?: number;
|
|
1111
|
-
/** Output only. Right bound of the bucket. */
|
|
1112
|
-
right?: number;
|
|
1113
|
-
}
|
|
1114
|
-
interface GoogleCloudAiplatformV1beta1DatasetStats {
|
|
1115
|
-
/** Output only. Number of billable characters in the tuning dataset. */
|
|
1116
|
-
totalBillableCharacterCount?: string;
|
|
1117
|
-
/** Output only. Number of tuning characters in the tuning dataset. */
|
|
1118
|
-
totalTuningCharacterCount?: string;
|
|
1119
|
-
/** Output only. Number of examples in the tuning dataset. */
|
|
1120
|
-
tuningDatasetExampleCount?: string;
|
|
1121
|
-
/** Output only. Number of tuning steps for this Tuning Job. */
|
|
1122
|
-
tuningStepCount?: string;
|
|
1123
|
-
/** Output only. Sample user messages in the training dataset uri. */
|
|
1124
|
-
userDatasetExamples?: GoogleCloudAiplatformV1beta1Content[];
|
|
1125
|
-
/** Output only. Dataset distributions for the user input tokens. */
|
|
1126
|
-
userInputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
1127
|
-
/** Output only. Dataset distributions for the messages per example. */
|
|
1128
|
-
userMessagePerExampleDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
1129
|
-
/** Output only. Dataset distributions for the user output tokens. */
|
|
1130
|
-
userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
1131
|
-
}
|
|
1132
1101
|
interface GoogleCloudAiplatformV1beta1DatasetVersion {
|
|
1133
1102
|
/** Output only. Name of the associated BigQuery dataset. */
|
|
1134
1103
|
bigQueryDatasetName?: string;
|
|
@@ -1368,34 +1337,6 @@ declare namespace gapi.client {
|
|
|
1368
1337
|
/** Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). */
|
|
1369
1338
|
bootDiskType?: string;
|
|
1370
1339
|
}
|
|
1371
|
-
interface GoogleCloudAiplatformV1beta1DistillationDataStats {
|
|
1372
|
-
/** Output only. Statistics computed for the training dataset. */
|
|
1373
|
-
trainingDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
1374
|
-
}
|
|
1375
|
-
interface GoogleCloudAiplatformV1beta1DistillationHyperParameters {
|
|
1376
|
-
/** Optional. Adapter size for distillation. */
|
|
1377
|
-
adapterSize?: string;
|
|
1378
|
-
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
1379
|
-
epochCount?: string;
|
|
1380
|
-
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
1381
|
-
learningRateMultiplier?: number;
|
|
1382
|
-
}
|
|
1383
|
-
interface GoogleCloudAiplatformV1beta1DistillationSpec {
|
|
1384
|
-
/** The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002". */
|
|
1385
|
-
baseTeacherModel?: string;
|
|
1386
|
-
/** Optional. Hyperparameters for Distillation. */
|
|
1387
|
-
hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
|
|
1388
|
-
/** Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
|
|
1389
|
-
pipelineRootDirectory?: string;
|
|
1390
|
-
/** The student model that is being tuned, e.g., "google/gemma-2b-it". */
|
|
1391
|
-
studentModel?: string;
|
|
1392
|
-
/** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
1393
|
-
trainingDatasetUri?: string;
|
|
1394
|
-
/** The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. */
|
|
1395
|
-
tunedTeacherModelSource?: string;
|
|
1396
|
-
/** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
1397
|
-
validationDatasetUri?: string;
|
|
1398
|
-
}
|
|
1399
1340
|
interface GoogleCloudAiplatformV1beta1DoubleArray {
|
|
1400
1341
|
/** A list of double values. */
|
|
1401
1342
|
values?: number[];
|
|
@@ -2650,7 +2591,53 @@ declare namespace gapi.client {
|
|
|
2650
2591
|
/** Optional. Which version to use for evaluation. */
|
|
2651
2592
|
version?: number;
|
|
2652
2593
|
}
|
|
2594
|
+
interface GoogleCloudAiplatformV1beta1GroundingAttribution {
|
|
2595
|
+
/** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
|
|
2596
|
+
confidenceScore?: number;
|
|
2597
|
+
/** Optional. Attribution from context retrieved by the retrieval tools. */
|
|
2598
|
+
retrievedContext?: GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext;
|
|
2599
|
+
/** Output only. Segment of the content this attribution belongs to. */
|
|
2600
|
+
segment?: GoogleCloudAiplatformV1beta1Segment;
|
|
2601
|
+
/** Optional. Attribution from the web. */
|
|
2602
|
+
web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
|
|
2603
|
+
}
|
|
2604
|
+
interface GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext {
|
|
2605
|
+
/** Output only. Title of the attribution. */
|
|
2606
|
+
title?: string;
|
|
2607
|
+
/** Output only. URI reference of the attribution. */
|
|
2608
|
+
uri?: string;
|
|
2609
|
+
}
|
|
2610
|
+
interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
|
|
2611
|
+
/** Output only. Title of the attribution. */
|
|
2612
|
+
title?: string;
|
|
2613
|
+
/** Output only. URI reference of the attribution. */
|
|
2614
|
+
uri?: string;
|
|
2615
|
+
}
|
|
2616
|
+
interface GoogleCloudAiplatformV1beta1GroundingChunk {
|
|
2617
|
+
/** Grounding chunk from context retrieved by the retrieval tools. */
|
|
2618
|
+
retrievedContext?: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext;
|
|
2619
|
+
/** Grounding chunk from the web. */
|
|
2620
|
+
web?: GoogleCloudAiplatformV1beta1GroundingChunkWeb;
|
|
2621
|
+
}
|
|
2622
|
+
interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
|
|
2623
|
+
/** Title of the attribution. */
|
|
2624
|
+
title?: string;
|
|
2625
|
+
/** URI reference of the attribution. */
|
|
2626
|
+
uri?: string;
|
|
2627
|
+
}
|
|
2628
|
+
interface GoogleCloudAiplatformV1beta1GroundingChunkWeb {
|
|
2629
|
+
/** Title of the chunk. */
|
|
2630
|
+
title?: string;
|
|
2631
|
+
/** URI reference of the chunk. */
|
|
2632
|
+
uri?: string;
|
|
2633
|
+
}
|
|
2653
2634
|
interface GoogleCloudAiplatformV1beta1GroundingMetadata {
|
|
2635
|
+
/** Optional. List of grounding attributions. */
|
|
2636
|
+
groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
|
|
2637
|
+
/** List of supporting references retrieved from specified grounding source. */
|
|
2638
|
+
groundingChunks?: GoogleCloudAiplatformV1beta1GroundingChunk[];
|
|
2639
|
+
/** Optional. List of grounding support. */
|
|
2640
|
+
groundingSupports?: GoogleCloudAiplatformV1beta1GroundingSupport[];
|
|
2654
2641
|
/** Optional. Queries executed by the retrieval tools. */
|
|
2655
2642
|
retrievalQueries?: string[];
|
|
2656
2643
|
/** Optional. Google search entry for the following-up web searches. */
|
|
@@ -2658,9 +2645,13 @@ declare namespace gapi.client {
|
|
|
2658
2645
|
/** Optional. Web search queries for the following-up web search. */
|
|
2659
2646
|
webSearchQueries?: string[];
|
|
2660
2647
|
}
|
|
2661
|
-
interface
|
|
2662
|
-
/**
|
|
2663
|
-
|
|
2648
|
+
interface GoogleCloudAiplatformV1beta1GroundingSupport {
|
|
2649
|
+
/** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices. */
|
|
2650
|
+
confidenceScores?: number[];
|
|
2651
|
+
/** A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. */
|
|
2652
|
+
groundingChunkIndices?: number[];
|
|
2653
|
+
/** Segment of the content this support belongs to. */
|
|
2654
|
+
segment?: GoogleCloudAiplatformV1beta1Segment;
|
|
2664
2655
|
}
|
|
2665
2656
|
interface GoogleCloudAiplatformV1beta1HyperparameterTuningJob {
|
|
2666
2657
|
/** Output only. Time when the HyperparameterTuningJob was created. */
|
|
@@ -3507,6 +3498,10 @@ declare namespace gapi.client {
|
|
|
3507
3498
|
originalModelInfo?: GoogleCloudAiplatformV1beta1ModelOriginalModelInfo;
|
|
3508
3499
|
/** The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain. */
|
|
3509
3500
|
predictSchemata?: GoogleCloudAiplatformV1beta1PredictSchemata;
|
|
3501
|
+
/** Output only. A read only boolean field reflecting Zone Isolation status of the model. It's false by default. Since Model is a type ZICY 4.2 resource, the field is an aggregated value of ZI status of its underlying dependencies. */
|
|
3502
|
+
satisfiesPzi?: boolean;
|
|
3503
|
+
/** Output only. A read only boolean field reflecting ZS status of the model. It's false by default. Since Model is a type ZICY 4.2 resource, the field is an aggregated value of ZS status of its underlying dependencies. */
|
|
3504
|
+
satisfiesPzs?: boolean;
|
|
3510
3505
|
/** Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats. */
|
|
3511
3506
|
supportedDeploymentResourcesTypes?: string[];
|
|
3512
3507
|
/** Output only. The formats in which this Model may be exported. If empty, this Model is not available for export. */
|
|
@@ -4903,6 +4898,8 @@ declare namespace gapi.client {
|
|
|
4903
4898
|
containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
|
|
4904
4899
|
/** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
|
|
4905
4900
|
dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
|
|
4901
|
+
/** Optional. Metadata information about this deployment config. */
|
|
4902
|
+
deployMetadata?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata;
|
|
4906
4903
|
/** Optional. The name of the deploy task (e.g., "text to image generation"). */
|
|
4907
4904
|
deployTaskName?: string;
|
|
4908
4905
|
/** Optional. Large model reference. When this is set, model_artifact_spec is not needed. */
|
|
@@ -4916,6 +4913,10 @@ declare namespace gapi.client {
|
|
|
4916
4913
|
/** Required. The title of the regional resource reference. */
|
|
4917
4914
|
title?: string;
|
|
4918
4915
|
}
|
|
4916
|
+
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata {
|
|
4917
|
+
/** Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc. */
|
|
4918
|
+
labels?: {[P in string]: string};
|
|
4919
|
+
}
|
|
4919
4920
|
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke {
|
|
4920
4921
|
/** Optional. GKE deployment configuration in yaml format. */
|
|
4921
4922
|
gkeYamlConfigs?: string[];
|
|
@@ -5381,32 +5382,6 @@ declare namespace gapi.client {
|
|
|
5381
5382
|
progressMessage?: string;
|
|
5382
5383
|
}
|
|
5383
5384
|
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest {}
|
|
5384
|
-
interface GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats {
|
|
5385
|
-
/** Output only. Statistics computed for the preference dataset. This can be either a human preference dataset or a preference dataset generated from AI feedback. */
|
|
5386
|
-
preferenceDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
5387
|
-
/** Output only. Statistics computed for the prompt dataset used during reinforcement learning. */
|
|
5388
|
-
promptDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
5389
|
-
}
|
|
5390
|
-
interface GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters {
|
|
5391
|
-
/** Optional. Number of training epoches for the tuning job. */
|
|
5392
|
-
epochCount?: string;
|
|
5393
|
-
/** Configures Reinforcement Learning to use human feedback for preference data during tuning. */
|
|
5394
|
-
humanFeedbackConfig?: GoogleCloudAiplatformV1beta1HumanFeedbackConfig;
|
|
5395
|
-
/** Optional. KL divergence coefficient for Reinforcement Learning. */
|
|
5396
|
-
klCoefficient?: number;
|
|
5397
|
-
/** Optional. Learning rate multiplier for Reinforcement Learning. */
|
|
5398
|
-
learningRateMultiplier?: number;
|
|
5399
|
-
/** Configures Reinforcement Learning to train a reward model to learn preference. */
|
|
5400
|
-
rewardModelTrainingConfig?: GoogleCloudAiplatformV1beta1RewardModelTrainingConfig;
|
|
5401
|
-
}
|
|
5402
|
-
interface GoogleCloudAiplatformV1beta1ReinforcementLearningSpec {
|
|
5403
|
-
/** Optional. Additional hyper-parameters to use during tuning. */
|
|
5404
|
-
hyperParameters?: GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters;
|
|
5405
|
-
/** Required. Cloud Storage path to the prompt dataset to use during Reinforcement Learning. */
|
|
5406
|
-
promptDatasetUri?: string;
|
|
5407
|
-
/** Optional. Cloud Storage path to the validation dataset to use during Reinforcement Learning. */
|
|
5408
|
-
validationDatasetUri?: string;
|
|
5409
|
-
}
|
|
5410
5385
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
5411
5386
|
/** The resource names of the child Contexts. */
|
|
5412
5387
|
childContexts?: string[];
|
|
@@ -5519,12 +5494,6 @@ declare namespace gapi.client {
|
|
|
5519
5494
|
/** The contexts of the query. */
|
|
5520
5495
|
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
5521
5496
|
}
|
|
5522
|
-
interface GoogleCloudAiplatformV1beta1RewardModelTrainingConfig {
|
|
5523
|
-
/** Optional. Number of training epoches for the reward model training job. */
|
|
5524
|
-
epochCount?: string;
|
|
5525
|
-
/** Optional. Learning rate multiplier for reward model training. */
|
|
5526
|
-
learningRateMultiplier?: number;
|
|
5527
|
-
}
|
|
5528
5497
|
interface GoogleCloudAiplatformV1beta1RougeInput {
|
|
5529
5498
|
/** Required. Repeated rouge instances. */
|
|
5530
5499
|
instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
|
|
@@ -5558,7 +5527,7 @@ declare namespace gapi.client {
|
|
|
5558
5527
|
codeInterpreterRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig;
|
|
5559
5528
|
/** Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time. The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}. */
|
|
5560
5529
|
defaultParams?: {[P in string]: any};
|
|
5561
|
-
/** Runtime configuration for
|
|
5530
|
+
/** Runtime configuration for Vertex AI Search extension. */
|
|
5562
5531
|
vertexAiSearchRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig;
|
|
5563
5532
|
}
|
|
5564
5533
|
interface GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig {
|
|
@@ -7149,6 +7118,16 @@ declare namespace gapi.client {
|
|
|
7149
7118
|
/** The nearest neighbors of the query entity. */
|
|
7150
7119
|
nearestNeighbors?: GoogleCloudAiplatformV1beta1NearestNeighbors;
|
|
7151
7120
|
}
|
|
7121
|
+
interface GoogleCloudAiplatformV1beta1Segment {
|
|
7122
|
+
/** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
|
|
7123
|
+
endIndex?: number;
|
|
7124
|
+
/** Output only. The index of a Part object within its parent Content object. */
|
|
7125
|
+
partIndex?: number;
|
|
7126
|
+
/** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
|
|
7127
|
+
startIndex?: number;
|
|
7128
|
+
/** Output only. The text corresponding to the segment from the response. */
|
|
7129
|
+
text?: string;
|
|
7130
|
+
}
|
|
7152
7131
|
interface GoogleCloudAiplatformV1beta1ServiceAccountSpec {
|
|
7153
7132
|
/** Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). */
|
|
7154
7133
|
enableCustomServiceAccount?: boolean;
|
|
@@ -7549,6 +7528,8 @@ declare namespace gapi.client {
|
|
|
7549
7528
|
learningRateMultiplier?: number;
|
|
7550
7529
|
}
|
|
7551
7530
|
interface GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution {
|
|
7531
|
+
/** Output only. Sum of a given population of values that are billable. */
|
|
7532
|
+
billableSum?: string;
|
|
7552
7533
|
/** Output only. Defines the histogram bucket. */
|
|
7553
7534
|
buckets?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket[];
|
|
7554
7535
|
/** Output only. The maximum of the population values. */
|
|
@@ -7778,6 +7759,8 @@ declare namespace gapi.client {
|
|
|
7778
7759
|
validationFraction?: number;
|
|
7779
7760
|
}
|
|
7780
7761
|
interface GoogleCloudAiplatformV1beta1TokensInfo {
|
|
7762
|
+
/** Optional. Optional fields for the role from the corresponding Content. */
|
|
7763
|
+
role?: string;
|
|
7781
7764
|
/** A list of token ids from the input. */
|
|
7782
7765
|
tokenIds?: string[];
|
|
7783
7766
|
/** A list of tokens from the input. */
|
|
@@ -7989,10 +7972,6 @@ declare namespace gapi.client {
|
|
|
7989
7972
|
model?: string;
|
|
7990
7973
|
}
|
|
7991
7974
|
interface GoogleCloudAiplatformV1beta1TuningDataStats {
|
|
7992
|
-
/** Statistics for distillation. */
|
|
7993
|
-
distillationDataStats?: GoogleCloudAiplatformV1beta1DistillationDataStats;
|
|
7994
|
-
/** Statistics for reinforcement learning. */
|
|
7995
|
-
reinforcementLearningDataStats?: GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats;
|
|
7996
7975
|
/** The SFT Tuning data stats. */
|
|
7997
7976
|
supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
|
|
7998
7977
|
}
|
|
@@ -8003,8 +7982,6 @@ declare namespace gapi.client {
|
|
|
8003
7982
|
createTime?: string;
|
|
8004
7983
|
/** Optional. The description of the TuningJob. */
|
|
8005
7984
|
description?: string;
|
|
8006
|
-
/** Tuning Spec for Distillation. */
|
|
8007
|
-
distillationSpec?: GoogleCloudAiplatformV1beta1DistillationSpec;
|
|
8008
7985
|
/** Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. */
|
|
8009
7986
|
encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
|
|
8010
7987
|
/** Output only. Time when the TuningJob entered any of the following JobStates: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`. */
|
|
@@ -8017,10 +7994,6 @@ declare namespace gapi.client {
|
|
|
8017
7994
|
labels?: {[P in string]: string};
|
|
8018
7995
|
/** Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
|
|
8019
7996
|
name?: string;
|
|
8020
|
-
/** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
|
|
8021
|
-
pipelineJob?: string;
|
|
8022
|
-
/** Tuning Spec for Reinforcement Learning. */
|
|
8023
|
-
reinforcementLearningSpec?: GoogleCloudAiplatformV1beta1ReinforcementLearningSpec;
|
|
8024
7997
|
/** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
|
|
8025
7998
|
startTime?: string;
|
|
8026
7999
|
/** Output only. The detailed state of the job. */
|
|
@@ -8391,6 +8364,30 @@ declare namespace gapi.client {
|
|
|
8391
8364
|
/** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
|
|
8392
8365
|
units?: string;
|
|
8393
8366
|
}
|
|
8367
|
+
interface IntelligenceCloudAutomlXpsMetricEntry {
|
|
8368
|
+
/** For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/argentum_metric_id" label. Otherwise leave empty. */
|
|
8369
|
+
argentumMetricId?: string;
|
|
8370
|
+
/** A double value. */
|
|
8371
|
+
doubleValue?: number;
|
|
8372
|
+
/** A signed 64-bit integer value. */
|
|
8373
|
+
int64Value?: string;
|
|
8374
|
+
/** The metric name defined in the service configuration. */
|
|
8375
|
+
metricName?: string;
|
|
8376
|
+
/** Billing system labels for this (metric, value) pair. */
|
|
8377
|
+
systemLabels?: IntelligenceCloudAutomlXpsMetricEntryLabel[];
|
|
8378
|
+
}
|
|
8379
|
+
interface IntelligenceCloudAutomlXpsMetricEntryLabel {
|
|
8380
|
+
/** The name of the label. */
|
|
8381
|
+
labelName?: string;
|
|
8382
|
+
/** The value of the label. */
|
|
8383
|
+
labelValue?: string;
|
|
8384
|
+
}
|
|
8385
|
+
interface IntelligenceCloudAutomlXpsReportingMetrics {
|
|
8386
|
+
/** The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set. */
|
|
8387
|
+
effectiveTrainingDuration?: string;
|
|
8388
|
+
/** One entry per metric name. The values must be aggregated per metric name. */
|
|
8389
|
+
metricEntries?: IntelligenceCloudAutomlXpsMetricEntry[];
|
|
8390
|
+
}
|
|
8394
8391
|
interface MediaResource {
|
|
8395
8392
|
/** Upload a file into a RagCorpus. */
|
|
8396
8393
|
upload(request: {
|
|
@@ -9112,7 +9109,7 @@ declare namespace gapi.client {
|
|
|
9112
9109
|
fields?: string;
|
|
9113
9110
|
/** 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. */
|
|
9114
9111
|
key?: string;
|
|
9115
|
-
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9112
|
+
/** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9116
9113
|
name: string;
|
|
9117
9114
|
/** OAuth 2.0 token for the current user. */
|
|
9118
9115
|
oauth_token?: string;
|
|
@@ -9143,7 +9140,7 @@ declare namespace gapi.client {
|
|
|
9143
9140
|
fields?: string;
|
|
9144
9141
|
/** 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. */
|
|
9145
9142
|
key?: string;
|
|
9146
|
-
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9143
|
+
/** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9147
9144
|
name: string;
|
|
9148
9145
|
/** OAuth 2.0 token for the current user. */
|
|
9149
9146
|
oauth_token?: string;
|
|
@@ -11694,6 +11691,68 @@ declare namespace gapi.client {
|
|
|
11694
11691
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11695
11692
|
uploadType?: string;
|
|
11696
11693
|
}): Request<GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponse>;
|
|
11694
|
+
/** Update a DeploymentResourcePool. */
|
|
11695
|
+
patch(request: {
|
|
11696
|
+
/** V1 error format. */
|
|
11697
|
+
'$.xgafv'?: string;
|
|
11698
|
+
/** OAuth access token. */
|
|
11699
|
+
access_token?: string;
|
|
11700
|
+
/** Data format for response. */
|
|
11701
|
+
alt?: string;
|
|
11702
|
+
/** JSONP */
|
|
11703
|
+
callback?: string;
|
|
11704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11705
|
+
fields?: string;
|
|
11706
|
+
/** 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. */
|
|
11707
|
+
key?: string;
|
|
11708
|
+
/** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
|
|
11709
|
+
name: string;
|
|
11710
|
+
/** OAuth 2.0 token for the current user. */
|
|
11711
|
+
oauth_token?: string;
|
|
11712
|
+
/** Returns response with indentations and line breaks. */
|
|
11713
|
+
prettyPrint?: boolean;
|
|
11714
|
+
/** 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. */
|
|
11715
|
+
quotaUser?: string;
|
|
11716
|
+
/** Required. The list of fields to update. */
|
|
11717
|
+
updateMask?: string;
|
|
11718
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11719
|
+
upload_protocol?: string;
|
|
11720
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11721
|
+
uploadType?: string;
|
|
11722
|
+
/** Request body */
|
|
11723
|
+
resource: GoogleCloudAiplatformV1beta1DeploymentResourcePool;
|
|
11724
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11725
|
+
patch(
|
|
11726
|
+
request: {
|
|
11727
|
+
/** V1 error format. */
|
|
11728
|
+
'$.xgafv'?: string;
|
|
11729
|
+
/** OAuth access token. */
|
|
11730
|
+
access_token?: string;
|
|
11731
|
+
/** Data format for response. */
|
|
11732
|
+
alt?: string;
|
|
11733
|
+
/** JSONP */
|
|
11734
|
+
callback?: string;
|
|
11735
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11736
|
+
fields?: string;
|
|
11737
|
+
/** 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. */
|
|
11738
|
+
key?: string;
|
|
11739
|
+
/** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
|
|
11740
|
+
name: string;
|
|
11741
|
+
/** OAuth 2.0 token for the current user. */
|
|
11742
|
+
oauth_token?: string;
|
|
11743
|
+
/** Returns response with indentations and line breaks. */
|
|
11744
|
+
prettyPrint?: boolean;
|
|
11745
|
+
/** 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. */
|
|
11746
|
+
quotaUser?: string;
|
|
11747
|
+
/** Required. The list of fields to update. */
|
|
11748
|
+
updateMask?: string;
|
|
11749
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11750
|
+
upload_protocol?: string;
|
|
11751
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11752
|
+
uploadType?: string;
|
|
11753
|
+
},
|
|
11754
|
+
body: GoogleCloudAiplatformV1beta1DeploymentResourcePool
|
|
11755
|
+
): Request<GoogleLongrunningOperation>;
|
|
11697
11756
|
/** List DeployedModels that have been deployed on this DeploymentResourcePool. */
|
|
11698
11757
|
queryDeployedModels(request?: {
|
|
11699
11758
|
/** V1 error format. */
|
|
@@ -24003,9 +24062,9 @@ declare namespace gapi.client {
|
|
|
24003
24062
|
}): Request<GoogleCloudAiplatformV1beta1ListNasJobsResponse>;
|
|
24004
24063
|
nasTrialDetails: NasTrialDetailsResource;
|
|
24005
24064
|
}
|
|
24006
|
-
interface
|
|
24007
|
-
/**
|
|
24008
|
-
|
|
24065
|
+
interface OperationsResource {
|
|
24066
|
+
/** 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`. */
|
|
24067
|
+
cancel(request?: {
|
|
24009
24068
|
/** V1 error format. */
|
|
24010
24069
|
'$.xgafv'?: string;
|
|
24011
24070
|
/** OAuth access token. */
|
|
@@ -24018,12 +24077,10 @@ declare namespace gapi.client {
|
|
|
24018
24077
|
fields?: string;
|
|
24019
24078
|
/** 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. */
|
|
24020
24079
|
key?: string;
|
|
24021
|
-
/**
|
|
24022
|
-
|
|
24080
|
+
/** The name of the operation resource to be cancelled. */
|
|
24081
|
+
name: string;
|
|
24023
24082
|
/** OAuth 2.0 token for the current user. */
|
|
24024
24083
|
oauth_token?: string;
|
|
24025
|
-
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24026
|
-
parent: string;
|
|
24027
24084
|
/** Returns response with indentations and line breaks. */
|
|
24028
24085
|
prettyPrint?: boolean;
|
|
24029
24086
|
/** 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. */
|
|
@@ -24032,41 +24089,8 @@ declare namespace gapi.client {
|
|
|
24032
24089
|
upload_protocol?: string;
|
|
24033
24090
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24034
24091
|
uploadType?: string;
|
|
24035
|
-
|
|
24036
|
-
|
|
24037
|
-
}): Request<GoogleLongrunningOperation>;
|
|
24038
|
-
create(
|
|
24039
|
-
request: {
|
|
24040
|
-
/** V1 error format. */
|
|
24041
|
-
'$.xgafv'?: string;
|
|
24042
|
-
/** OAuth access token. */
|
|
24043
|
-
access_token?: string;
|
|
24044
|
-
/** Data format for response. */
|
|
24045
|
-
alt?: string;
|
|
24046
|
-
/** JSONP */
|
|
24047
|
-
callback?: string;
|
|
24048
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24049
|
-
fields?: string;
|
|
24050
|
-
/** 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. */
|
|
24051
|
-
key?: string;
|
|
24052
|
-
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
24053
|
-
notebookExecutionJobId?: string;
|
|
24054
|
-
/** OAuth 2.0 token for the current user. */
|
|
24055
|
-
oauth_token?: string;
|
|
24056
|
-
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24057
|
-
parent: string;
|
|
24058
|
-
/** Returns response with indentations and line breaks. */
|
|
24059
|
-
prettyPrint?: boolean;
|
|
24060
|
-
/** 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. */
|
|
24061
|
-
quotaUser?: string;
|
|
24062
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24063
|
-
upload_protocol?: string;
|
|
24064
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24065
|
-
uploadType?: string;
|
|
24066
|
-
},
|
|
24067
|
-
body: GoogleCloudAiplatformV1beta1NotebookExecutionJob
|
|
24068
|
-
): Request<GoogleLongrunningOperation>;
|
|
24069
|
-
/** Deletes a NotebookExecutionJob. */
|
|
24092
|
+
}): Request<{}>;
|
|
24093
|
+
/** 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`. */
|
|
24070
24094
|
delete(request?: {
|
|
24071
24095
|
/** V1 error format. */
|
|
24072
24096
|
'$.xgafv'?: string;
|
|
@@ -24080,7 +24104,7 @@ declare namespace gapi.client {
|
|
|
24080
24104
|
fields?: string;
|
|
24081
24105
|
/** 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. */
|
|
24082
24106
|
key?: string;
|
|
24083
|
-
/**
|
|
24107
|
+
/** The name of the operation resource to be deleted. */
|
|
24084
24108
|
name: string;
|
|
24085
24109
|
/** OAuth 2.0 token for the current user. */
|
|
24086
24110
|
oauth_token?: string;
|
|
@@ -24092,9 +24116,9 @@ declare namespace gapi.client {
|
|
|
24092
24116
|
upload_protocol?: string;
|
|
24093
24117
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24094
24118
|
uploadType?: string;
|
|
24095
|
-
}): Request<
|
|
24096
|
-
/**
|
|
24097
|
-
|
|
24119
|
+
}): Request<{}>;
|
|
24120
|
+
/** 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. */
|
|
24121
|
+
get(request?: {
|
|
24098
24122
|
/** V1 error format. */
|
|
24099
24123
|
'$.xgafv'?: string;
|
|
24100
24124
|
/** OAuth access token. */
|
|
@@ -24107,7 +24131,7 @@ declare namespace gapi.client {
|
|
|
24107
24131
|
fields?: string;
|
|
24108
24132
|
/** 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. */
|
|
24109
24133
|
key?: string;
|
|
24110
|
-
/**
|
|
24134
|
+
/** The name of the operation resource. */
|
|
24111
24135
|
name: string;
|
|
24112
24136
|
/** OAuth 2.0 token for the current user. */
|
|
24113
24137
|
oauth_token?: string;
|
|
@@ -24119,40 +24143,9 @@ declare namespace gapi.client {
|
|
|
24119
24143
|
upload_protocol?: string;
|
|
24120
24144
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24121
24145
|
uploadType?: string;
|
|
24122
|
-
|
|
24123
|
-
|
|
24124
|
-
|
|
24125
|
-
generateAccessToken(
|
|
24126
|
-
request: {
|
|
24127
|
-
/** V1 error format. */
|
|
24128
|
-
'$.xgafv'?: string;
|
|
24129
|
-
/** OAuth access token. */
|
|
24130
|
-
access_token?: string;
|
|
24131
|
-
/** Data format for response. */
|
|
24132
|
-
alt?: string;
|
|
24133
|
-
/** JSONP */
|
|
24134
|
-
callback?: string;
|
|
24135
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24136
|
-
fields?: string;
|
|
24137
|
-
/** 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. */
|
|
24138
|
-
key?: string;
|
|
24139
|
-
/** Required. The name of the resource requesting the OAuth2 token. Format: `projects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}` `projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}` */
|
|
24140
|
-
name: string;
|
|
24141
|
-
/** OAuth 2.0 token for the current user. */
|
|
24142
|
-
oauth_token?: string;
|
|
24143
|
-
/** Returns response with indentations and line breaks. */
|
|
24144
|
-
prettyPrint?: boolean;
|
|
24145
|
-
/** 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. */
|
|
24146
|
-
quotaUser?: string;
|
|
24147
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24148
|
-
upload_protocol?: string;
|
|
24149
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24150
|
-
uploadType?: string;
|
|
24151
|
-
},
|
|
24152
|
-
body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest
|
|
24153
|
-
): Request<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>;
|
|
24154
|
-
/** Gets a NotebookExecutionJob. */
|
|
24155
|
-
get(request?: {
|
|
24146
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24147
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
24148
|
+
list(request?: {
|
|
24156
24149
|
/** V1 error format. */
|
|
24157
24150
|
'$.xgafv'?: string;
|
|
24158
24151
|
/** OAuth access token. */
|
|
@@ -24163,12 +24156,18 @@ declare namespace gapi.client {
|
|
|
24163
24156
|
callback?: string;
|
|
24164
24157
|
/** Selector specifying which fields to include in a partial response. */
|
|
24165
24158
|
fields?: string;
|
|
24159
|
+
/** The standard list filter. */
|
|
24160
|
+
filter?: string;
|
|
24166
24161
|
/** 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. */
|
|
24167
24162
|
key?: string;
|
|
24168
|
-
/**
|
|
24163
|
+
/** The name of the operation's parent resource. */
|
|
24169
24164
|
name: string;
|
|
24170
24165
|
/** OAuth 2.0 token for the current user. */
|
|
24171
24166
|
oauth_token?: string;
|
|
24167
|
+
/** The standard list page size. */
|
|
24168
|
+
pageSize?: number;
|
|
24169
|
+
/** The standard list page token. */
|
|
24170
|
+
pageToken?: string;
|
|
24172
24171
|
/** Returns response with indentations and line breaks. */
|
|
24173
24172
|
prettyPrint?: boolean;
|
|
24174
24173
|
/** 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. */
|
|
@@ -24177,10 +24176,215 @@ declare namespace gapi.client {
|
|
|
24177
24176
|
upload_protocol?: string;
|
|
24178
24177
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24179
24178
|
uploadType?: string;
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24179
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
24180
|
+
/** 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. */
|
|
24181
|
+
wait(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
|
+
/** The name of the operation resource to wait on. */
|
|
24195
|
+
name: string;
|
|
24196
|
+
/** OAuth 2.0 token for the current user. */
|
|
24197
|
+
oauth_token?: string;
|
|
24198
|
+
/** Returns response with indentations and line breaks. */
|
|
24199
|
+
prettyPrint?: boolean;
|
|
24200
|
+
/** 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. */
|
|
24201
|
+
quotaUser?: string;
|
|
24202
|
+
/** 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. */
|
|
24203
|
+
timeout?: 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<GoogleLongrunningOperation>;
|
|
24209
|
+
}
|
|
24210
|
+
interface NotebookExecutionJobsResource {
|
|
24211
|
+
/** Creates a NotebookExecutionJob. */
|
|
24212
|
+
create(request: {
|
|
24213
|
+
/** V1 error format. */
|
|
24214
|
+
'$.xgafv'?: string;
|
|
24215
|
+
/** OAuth access token. */
|
|
24216
|
+
access_token?: string;
|
|
24217
|
+
/** Data format for response. */
|
|
24218
|
+
alt?: string;
|
|
24219
|
+
/** JSONP */
|
|
24220
|
+
callback?: string;
|
|
24221
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24222
|
+
fields?: string;
|
|
24223
|
+
/** 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. */
|
|
24224
|
+
key?: string;
|
|
24225
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
24226
|
+
notebookExecutionJobId?: string;
|
|
24227
|
+
/** OAuth 2.0 token for the current user. */
|
|
24228
|
+
oauth_token?: string;
|
|
24229
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24230
|
+
parent: string;
|
|
24231
|
+
/** Returns response with indentations and line breaks. */
|
|
24232
|
+
prettyPrint?: boolean;
|
|
24233
|
+
/** 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. */
|
|
24234
|
+
quotaUser?: string;
|
|
24235
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24236
|
+
upload_protocol?: string;
|
|
24237
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24238
|
+
uploadType?: string;
|
|
24239
|
+
/** Request body */
|
|
24240
|
+
resource: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
|
|
24241
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24242
|
+
create(
|
|
24243
|
+
request: {
|
|
24244
|
+
/** V1 error format. */
|
|
24245
|
+
'$.xgafv'?: string;
|
|
24246
|
+
/** OAuth access token. */
|
|
24247
|
+
access_token?: string;
|
|
24248
|
+
/** Data format for response. */
|
|
24249
|
+
alt?: string;
|
|
24250
|
+
/** JSONP */
|
|
24251
|
+
callback?: string;
|
|
24252
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24253
|
+
fields?: string;
|
|
24254
|
+
/** 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. */
|
|
24255
|
+
key?: string;
|
|
24256
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
24257
|
+
notebookExecutionJobId?: string;
|
|
24258
|
+
/** OAuth 2.0 token for the current user. */
|
|
24259
|
+
oauth_token?: string;
|
|
24260
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24261
|
+
parent: string;
|
|
24262
|
+
/** Returns response with indentations and line breaks. */
|
|
24263
|
+
prettyPrint?: boolean;
|
|
24264
|
+
/** 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. */
|
|
24265
|
+
quotaUser?: string;
|
|
24266
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24267
|
+
upload_protocol?: string;
|
|
24268
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24269
|
+
uploadType?: string;
|
|
24270
|
+
},
|
|
24271
|
+
body: GoogleCloudAiplatformV1beta1NotebookExecutionJob
|
|
24272
|
+
): Request<GoogleLongrunningOperation>;
|
|
24273
|
+
/** Deletes a NotebookExecutionJob. */
|
|
24274
|
+
delete(request?: {
|
|
24275
|
+
/** V1 error format. */
|
|
24276
|
+
'$.xgafv'?: string;
|
|
24277
|
+
/** OAuth access token. */
|
|
24278
|
+
access_token?: string;
|
|
24279
|
+
/** Data format for response. */
|
|
24280
|
+
alt?: string;
|
|
24281
|
+
/** JSONP */
|
|
24282
|
+
callback?: string;
|
|
24283
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24284
|
+
fields?: string;
|
|
24285
|
+
/** 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. */
|
|
24286
|
+
key?: string;
|
|
24287
|
+
/** Required. The name of the NotebookExecutionJob resource to be deleted. */
|
|
24288
|
+
name: string;
|
|
24289
|
+
/** OAuth 2.0 token for the current user. */
|
|
24290
|
+
oauth_token?: string;
|
|
24291
|
+
/** Returns response with indentations and line breaks. */
|
|
24292
|
+
prettyPrint?: boolean;
|
|
24293
|
+
/** 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. */
|
|
24294
|
+
quotaUser?: string;
|
|
24295
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24296
|
+
upload_protocol?: string;
|
|
24297
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24298
|
+
uploadType?: string;
|
|
24299
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24300
|
+
/** Internal only: Called from Compute Engine instance to obtain EUC for owner Anonymous access: authenticates caller using VM identity JWT. Design doc: go/colab-on-vertex-euc-dd */
|
|
24301
|
+
generateAccessToken(request: {
|
|
24302
|
+
/** V1 error format. */
|
|
24303
|
+
'$.xgafv'?: string;
|
|
24304
|
+
/** OAuth access token. */
|
|
24305
|
+
access_token?: string;
|
|
24306
|
+
/** Data format for response. */
|
|
24307
|
+
alt?: string;
|
|
24308
|
+
/** JSONP */
|
|
24309
|
+
callback?: string;
|
|
24310
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24311
|
+
fields?: string;
|
|
24312
|
+
/** 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. */
|
|
24313
|
+
key?: string;
|
|
24314
|
+
/** Required. The name of the resource requesting the OAuth2 token. Format: `projects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}` `projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}` */
|
|
24315
|
+
name: string;
|
|
24316
|
+
/** OAuth 2.0 token for the current user. */
|
|
24317
|
+
oauth_token?: string;
|
|
24318
|
+
/** Returns response with indentations and line breaks. */
|
|
24319
|
+
prettyPrint?: boolean;
|
|
24320
|
+
/** 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. */
|
|
24321
|
+
quotaUser?: string;
|
|
24322
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24323
|
+
upload_protocol?: string;
|
|
24324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24325
|
+
uploadType?: string;
|
|
24326
|
+
/** Request body */
|
|
24327
|
+
resource: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest;
|
|
24328
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>;
|
|
24329
|
+
generateAccessToken(
|
|
24330
|
+
request: {
|
|
24331
|
+
/** V1 error format. */
|
|
24332
|
+
'$.xgafv'?: string;
|
|
24333
|
+
/** OAuth access token. */
|
|
24334
|
+
access_token?: string;
|
|
24335
|
+
/** Data format for response. */
|
|
24336
|
+
alt?: string;
|
|
24337
|
+
/** JSONP */
|
|
24338
|
+
callback?: string;
|
|
24339
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24340
|
+
fields?: string;
|
|
24341
|
+
/** 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. */
|
|
24342
|
+
key?: string;
|
|
24343
|
+
/** Required. The name of the resource requesting the OAuth2 token. Format: `projects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}` `projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}` */
|
|
24344
|
+
name: string;
|
|
24345
|
+
/** OAuth 2.0 token for the current user. */
|
|
24346
|
+
oauth_token?: string;
|
|
24347
|
+
/** Returns response with indentations and line breaks. */
|
|
24348
|
+
prettyPrint?: boolean;
|
|
24349
|
+
/** 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. */
|
|
24350
|
+
quotaUser?: string;
|
|
24351
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24352
|
+
upload_protocol?: string;
|
|
24353
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24354
|
+
uploadType?: string;
|
|
24355
|
+
},
|
|
24356
|
+
body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest
|
|
24357
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>;
|
|
24358
|
+
/** Gets a NotebookExecutionJob. */
|
|
24359
|
+
get(request?: {
|
|
24360
|
+
/** V1 error format. */
|
|
24361
|
+
'$.xgafv'?: string;
|
|
24362
|
+
/** OAuth access token. */
|
|
24363
|
+
access_token?: string;
|
|
24364
|
+
/** Data format for response. */
|
|
24365
|
+
alt?: string;
|
|
24366
|
+
/** JSONP */
|
|
24367
|
+
callback?: string;
|
|
24368
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24369
|
+
fields?: string;
|
|
24370
|
+
/** 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. */
|
|
24371
|
+
key?: string;
|
|
24372
|
+
/** Required. The name of the NotebookExecutionJob resource. */
|
|
24373
|
+
name: string;
|
|
24374
|
+
/** OAuth 2.0 token for the current user. */
|
|
24375
|
+
oauth_token?: string;
|
|
24376
|
+
/** Returns response with indentations and line breaks. */
|
|
24377
|
+
prettyPrint?: boolean;
|
|
24378
|
+
/** 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. */
|
|
24379
|
+
quotaUser?: string;
|
|
24380
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24381
|
+
upload_protocol?: string;
|
|
24382
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24383
|
+
uploadType?: string;
|
|
24384
|
+
/** Optional. The NotebookExecutionJob view. Defaults to BASIC. */
|
|
24385
|
+
view?: string;
|
|
24386
|
+
}): Request<GoogleCloudAiplatformV1beta1NotebookExecutionJob>;
|
|
24387
|
+
/** Lists NotebookExecutionJobs in a Location. */
|
|
24184
24388
|
list(request?: {
|
|
24185
24389
|
/** V1 error format. */
|
|
24186
24390
|
'$.xgafv'?: string;
|
|
@@ -24274,6 +24478,152 @@ declare namespace gapi.client {
|
|
|
24274
24478
|
},
|
|
24275
24479
|
body: GoogleCloudAiplatformV1beta1ReportExecutionEventRequest
|
|
24276
24480
|
): Request<{}>;
|
|
24481
|
+
operations: OperationsResource;
|
|
24482
|
+
}
|
|
24483
|
+
interface OperationsResource {
|
|
24484
|
+
/** 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`. */
|
|
24485
|
+
cancel(request?: {
|
|
24486
|
+
/** V1 error format. */
|
|
24487
|
+
'$.xgafv'?: string;
|
|
24488
|
+
/** OAuth access token. */
|
|
24489
|
+
access_token?: string;
|
|
24490
|
+
/** Data format for response. */
|
|
24491
|
+
alt?: string;
|
|
24492
|
+
/** JSONP */
|
|
24493
|
+
callback?: string;
|
|
24494
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24495
|
+
fields?: string;
|
|
24496
|
+
/** 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. */
|
|
24497
|
+
key?: string;
|
|
24498
|
+
/** The name of the operation resource to be cancelled. */
|
|
24499
|
+
name: string;
|
|
24500
|
+
/** OAuth 2.0 token for the current user. */
|
|
24501
|
+
oauth_token?: string;
|
|
24502
|
+
/** Returns response with indentations and line breaks. */
|
|
24503
|
+
prettyPrint?: boolean;
|
|
24504
|
+
/** 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. */
|
|
24505
|
+
quotaUser?: string;
|
|
24506
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24507
|
+
upload_protocol?: string;
|
|
24508
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24509
|
+
uploadType?: string;
|
|
24510
|
+
}): Request<{}>;
|
|
24511
|
+
/** 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`. */
|
|
24512
|
+
delete(request?: {
|
|
24513
|
+
/** V1 error format. */
|
|
24514
|
+
'$.xgafv'?: string;
|
|
24515
|
+
/** OAuth access token. */
|
|
24516
|
+
access_token?: string;
|
|
24517
|
+
/** Data format for response. */
|
|
24518
|
+
alt?: string;
|
|
24519
|
+
/** JSONP */
|
|
24520
|
+
callback?: string;
|
|
24521
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24522
|
+
fields?: string;
|
|
24523
|
+
/** 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. */
|
|
24524
|
+
key?: string;
|
|
24525
|
+
/** The name of the operation resource to be deleted. */
|
|
24526
|
+
name: string;
|
|
24527
|
+
/** OAuth 2.0 token for the current user. */
|
|
24528
|
+
oauth_token?: string;
|
|
24529
|
+
/** Returns response with indentations and line breaks. */
|
|
24530
|
+
prettyPrint?: boolean;
|
|
24531
|
+
/** 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. */
|
|
24532
|
+
quotaUser?: string;
|
|
24533
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24534
|
+
upload_protocol?: string;
|
|
24535
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24536
|
+
uploadType?: string;
|
|
24537
|
+
}): Request<{}>;
|
|
24538
|
+
/** 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. */
|
|
24539
|
+
get(request?: {
|
|
24540
|
+
/** V1 error format. */
|
|
24541
|
+
'$.xgafv'?: string;
|
|
24542
|
+
/** OAuth access token. */
|
|
24543
|
+
access_token?: string;
|
|
24544
|
+
/** Data format for response. */
|
|
24545
|
+
alt?: string;
|
|
24546
|
+
/** JSONP */
|
|
24547
|
+
callback?: string;
|
|
24548
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24549
|
+
fields?: string;
|
|
24550
|
+
/** 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. */
|
|
24551
|
+
key?: string;
|
|
24552
|
+
/** The name of the operation resource. */
|
|
24553
|
+
name: string;
|
|
24554
|
+
/** OAuth 2.0 token for the current user. */
|
|
24555
|
+
oauth_token?: string;
|
|
24556
|
+
/** Returns response with indentations and line breaks. */
|
|
24557
|
+
prettyPrint?: boolean;
|
|
24558
|
+
/** 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. */
|
|
24559
|
+
quotaUser?: string;
|
|
24560
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24561
|
+
upload_protocol?: string;
|
|
24562
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24563
|
+
uploadType?: string;
|
|
24564
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24565
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
24566
|
+
list(request?: {
|
|
24567
|
+
/** V1 error format. */
|
|
24568
|
+
'$.xgafv'?: string;
|
|
24569
|
+
/** OAuth access token. */
|
|
24570
|
+
access_token?: string;
|
|
24571
|
+
/** Data format for response. */
|
|
24572
|
+
alt?: string;
|
|
24573
|
+
/** JSONP */
|
|
24574
|
+
callback?: string;
|
|
24575
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24576
|
+
fields?: string;
|
|
24577
|
+
/** The standard list filter. */
|
|
24578
|
+
filter?: string;
|
|
24579
|
+
/** 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. */
|
|
24580
|
+
key?: string;
|
|
24581
|
+
/** The name of the operation's parent resource. */
|
|
24582
|
+
name: string;
|
|
24583
|
+
/** OAuth 2.0 token for the current user. */
|
|
24584
|
+
oauth_token?: string;
|
|
24585
|
+
/** The standard list page size. */
|
|
24586
|
+
pageSize?: number;
|
|
24587
|
+
/** The standard list page token. */
|
|
24588
|
+
pageToken?: string;
|
|
24589
|
+
/** Returns response with indentations and line breaks. */
|
|
24590
|
+
prettyPrint?: boolean;
|
|
24591
|
+
/** 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. */
|
|
24592
|
+
quotaUser?: string;
|
|
24593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24594
|
+
upload_protocol?: string;
|
|
24595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24596
|
+
uploadType?: string;
|
|
24597
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
24598
|
+
/** 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. */
|
|
24599
|
+
wait(request?: {
|
|
24600
|
+
/** V1 error format. */
|
|
24601
|
+
'$.xgafv'?: string;
|
|
24602
|
+
/** OAuth access token. */
|
|
24603
|
+
access_token?: string;
|
|
24604
|
+
/** Data format for response. */
|
|
24605
|
+
alt?: string;
|
|
24606
|
+
/** JSONP */
|
|
24607
|
+
callback?: string;
|
|
24608
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24609
|
+
fields?: string;
|
|
24610
|
+
/** 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. */
|
|
24611
|
+
key?: string;
|
|
24612
|
+
/** The name of the operation resource to wait on. */
|
|
24613
|
+
name: string;
|
|
24614
|
+
/** OAuth 2.0 token for the current user. */
|
|
24615
|
+
oauth_token?: string;
|
|
24616
|
+
/** Returns response with indentations and line breaks. */
|
|
24617
|
+
prettyPrint?: boolean;
|
|
24618
|
+
/** 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. */
|
|
24619
|
+
quotaUser?: string;
|
|
24620
|
+
/** 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. */
|
|
24621
|
+
timeout?: string;
|
|
24622
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24623
|
+
upload_protocol?: string;
|
|
24624
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24625
|
+
uploadType?: string;
|
|
24626
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24277
24627
|
}
|
|
24278
24628
|
interface NotebookRuntimesResource {
|
|
24279
24629
|
/** Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one. */
|
|
@@ -24656,6 +25006,152 @@ declare namespace gapi.client {
|
|
|
24656
25006
|
},
|
|
24657
25007
|
body: GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest
|
|
24658
25008
|
): Request<GoogleLongrunningOperation>;
|
|
25009
|
+
operations: OperationsResource;
|
|
25010
|
+
}
|
|
25011
|
+
interface OperationsResource {
|
|
25012
|
+
/** 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`. */
|
|
25013
|
+
cancel(request?: {
|
|
25014
|
+
/** V1 error format. */
|
|
25015
|
+
'$.xgafv'?: string;
|
|
25016
|
+
/** OAuth access token. */
|
|
25017
|
+
access_token?: string;
|
|
25018
|
+
/** Data format for response. */
|
|
25019
|
+
alt?: string;
|
|
25020
|
+
/** JSONP */
|
|
25021
|
+
callback?: string;
|
|
25022
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25023
|
+
fields?: string;
|
|
25024
|
+
/** 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. */
|
|
25025
|
+
key?: string;
|
|
25026
|
+
/** The name of the operation resource to be cancelled. */
|
|
25027
|
+
name: string;
|
|
25028
|
+
/** OAuth 2.0 token for the current user. */
|
|
25029
|
+
oauth_token?: string;
|
|
25030
|
+
/** Returns response with indentations and line breaks. */
|
|
25031
|
+
prettyPrint?: boolean;
|
|
25032
|
+
/** 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. */
|
|
25033
|
+
quotaUser?: string;
|
|
25034
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25035
|
+
upload_protocol?: string;
|
|
25036
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25037
|
+
uploadType?: string;
|
|
25038
|
+
}): Request<{}>;
|
|
25039
|
+
/** 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`. */
|
|
25040
|
+
delete(request?: {
|
|
25041
|
+
/** V1 error format. */
|
|
25042
|
+
'$.xgafv'?: string;
|
|
25043
|
+
/** OAuth access token. */
|
|
25044
|
+
access_token?: string;
|
|
25045
|
+
/** Data format for response. */
|
|
25046
|
+
alt?: string;
|
|
25047
|
+
/** JSONP */
|
|
25048
|
+
callback?: string;
|
|
25049
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25050
|
+
fields?: string;
|
|
25051
|
+
/** 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. */
|
|
25052
|
+
key?: string;
|
|
25053
|
+
/** The name of the operation resource to be deleted. */
|
|
25054
|
+
name: string;
|
|
25055
|
+
/** OAuth 2.0 token for the current user. */
|
|
25056
|
+
oauth_token?: string;
|
|
25057
|
+
/** Returns response with indentations and line breaks. */
|
|
25058
|
+
prettyPrint?: boolean;
|
|
25059
|
+
/** 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. */
|
|
25060
|
+
quotaUser?: string;
|
|
25061
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25062
|
+
upload_protocol?: string;
|
|
25063
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25064
|
+
uploadType?: string;
|
|
25065
|
+
}): Request<{}>;
|
|
25066
|
+
/** 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. */
|
|
25067
|
+
get(request?: {
|
|
25068
|
+
/** V1 error format. */
|
|
25069
|
+
'$.xgafv'?: string;
|
|
25070
|
+
/** OAuth access token. */
|
|
25071
|
+
access_token?: string;
|
|
25072
|
+
/** Data format for response. */
|
|
25073
|
+
alt?: string;
|
|
25074
|
+
/** JSONP */
|
|
25075
|
+
callback?: string;
|
|
25076
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25077
|
+
fields?: string;
|
|
25078
|
+
/** 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. */
|
|
25079
|
+
key?: string;
|
|
25080
|
+
/** The name of the operation resource. */
|
|
25081
|
+
name: string;
|
|
25082
|
+
/** OAuth 2.0 token for the current user. */
|
|
25083
|
+
oauth_token?: string;
|
|
25084
|
+
/** Returns response with indentations and line breaks. */
|
|
25085
|
+
prettyPrint?: boolean;
|
|
25086
|
+
/** 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. */
|
|
25087
|
+
quotaUser?: string;
|
|
25088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25089
|
+
upload_protocol?: string;
|
|
25090
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25091
|
+
uploadType?: string;
|
|
25092
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25093
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
25094
|
+
list(request?: {
|
|
25095
|
+
/** V1 error format. */
|
|
25096
|
+
'$.xgafv'?: string;
|
|
25097
|
+
/** OAuth access token. */
|
|
25098
|
+
access_token?: string;
|
|
25099
|
+
/** Data format for response. */
|
|
25100
|
+
alt?: string;
|
|
25101
|
+
/** JSONP */
|
|
25102
|
+
callback?: string;
|
|
25103
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25104
|
+
fields?: string;
|
|
25105
|
+
/** The standard list filter. */
|
|
25106
|
+
filter?: string;
|
|
25107
|
+
/** 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. */
|
|
25108
|
+
key?: string;
|
|
25109
|
+
/** The name of the operation's parent resource. */
|
|
25110
|
+
name: string;
|
|
25111
|
+
/** OAuth 2.0 token for the current user. */
|
|
25112
|
+
oauth_token?: string;
|
|
25113
|
+
/** The standard list page size. */
|
|
25114
|
+
pageSize?: number;
|
|
25115
|
+
/** The standard list page token. */
|
|
25116
|
+
pageToken?: string;
|
|
25117
|
+
/** Returns response with indentations and line breaks. */
|
|
25118
|
+
prettyPrint?: boolean;
|
|
25119
|
+
/** 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. */
|
|
25120
|
+
quotaUser?: string;
|
|
25121
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25122
|
+
upload_protocol?: string;
|
|
25123
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25124
|
+
uploadType?: string;
|
|
25125
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
25126
|
+
/** 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. */
|
|
25127
|
+
wait(request?: {
|
|
25128
|
+
/** V1 error format. */
|
|
25129
|
+
'$.xgafv'?: string;
|
|
25130
|
+
/** OAuth access token. */
|
|
25131
|
+
access_token?: string;
|
|
25132
|
+
/** Data format for response. */
|
|
25133
|
+
alt?: string;
|
|
25134
|
+
/** JSONP */
|
|
25135
|
+
callback?: string;
|
|
25136
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25137
|
+
fields?: string;
|
|
25138
|
+
/** 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. */
|
|
25139
|
+
key?: string;
|
|
25140
|
+
/** The name of the operation resource to wait on. */
|
|
25141
|
+
name: string;
|
|
25142
|
+
/** OAuth 2.0 token for the current user. */
|
|
25143
|
+
oauth_token?: string;
|
|
25144
|
+
/** Returns response with indentations and line breaks. */
|
|
25145
|
+
prettyPrint?: boolean;
|
|
25146
|
+
/** 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. */
|
|
25147
|
+
quotaUser?: string;
|
|
25148
|
+
/** 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. */
|
|
25149
|
+
timeout?: string;
|
|
25150
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25151
|
+
upload_protocol?: string;
|
|
25152
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25153
|
+
uploadType?: string;
|
|
25154
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24659
25155
|
}
|
|
24660
25156
|
interface NotebookRuntimeTemplatesResource {
|
|
24661
25157
|
/** Creates a NotebookRuntimeTemplate. */
|
|
@@ -24961,6 +25457,7 @@ declare namespace gapi.client {
|
|
|
24961
25457
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24962
25458
|
uploadType?: string;
|
|
24963
25459
|
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
25460
|
+
operations: OperationsResource;
|
|
24964
25461
|
}
|
|
24965
25462
|
interface OperationsResource {
|
|
24966
25463
|
/** 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`. */
|