@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240205 → 0.0.20240213
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 +214 -28
- 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: 20240213
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -284,8 +284,26 @@ declare namespace gapi.client {
|
|
|
284
284
|
blocked?: boolean;
|
|
285
285
|
/** Harm category. */
|
|
286
286
|
category?: string;
|
|
287
|
+
/** The influential terms that could potentially block the response. */
|
|
288
|
+
influentialTerms?: CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm[];
|
|
287
289
|
/** Harm probability levels in the content. */
|
|
288
290
|
probability?: string;
|
|
291
|
+
/** Harm probability score. */
|
|
292
|
+
probabilityScore?: number;
|
|
293
|
+
/** Harm severity levels in the content. */
|
|
294
|
+
severity?: string;
|
|
295
|
+
/** Harm severity score. */
|
|
296
|
+
severityScore?: number;
|
|
297
|
+
}
|
|
298
|
+
interface CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm {
|
|
299
|
+
/** The beginning offset of the influential term. */
|
|
300
|
+
beginOffset?: number;
|
|
301
|
+
/** The confidence score of the influential term. */
|
|
302
|
+
confidence?: number;
|
|
303
|
+
/** The source of the influential term, prompt or response. */
|
|
304
|
+
source?: string;
|
|
305
|
+
/** The influential term. */
|
|
306
|
+
term?: string;
|
|
289
307
|
}
|
|
290
308
|
interface CloudAiNlLlmProtoServiceUsageMetadata {
|
|
291
309
|
/** Number of tokens in the response(s). */
|
|
@@ -696,6 +714,8 @@ declare namespace gapi.client {
|
|
|
696
714
|
finishMessage?: string;
|
|
697
715
|
/** Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens. */
|
|
698
716
|
finishReason?: string;
|
|
717
|
+
/** Output only. Metadata specifies sources used to ground generated content. */
|
|
718
|
+
groundingMetadata?: GoogleCloudAiplatformV1beta1GroundingMetadata;
|
|
699
719
|
/** Output only. Index of the candidate. */
|
|
700
720
|
index?: number;
|
|
701
721
|
/** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
|
|
@@ -1371,6 +1391,8 @@ declare namespace gapi.client {
|
|
|
1371
1391
|
network?: string;
|
|
1372
1392
|
/** Configures the request-response logging for online prediction. */
|
|
1373
1393
|
predictRequestResponseLoggingConfig?: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig;
|
|
1394
|
+
/** Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive. */
|
|
1395
|
+
privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
|
|
1374
1396
|
/** A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. */
|
|
1375
1397
|
trafficSplit?: {[P in string]: number};
|
|
1376
1398
|
/** Output only. Timestamp when this Endpoint was last updated. */
|
|
@@ -1686,18 +1708,6 @@ declare namespace gapi.client {
|
|
|
1686
1708
|
/** All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*). */
|
|
1687
1709
|
exportedFiles?: string[];
|
|
1688
1710
|
}
|
|
1689
|
-
interface GoogleCloudAiplatformV1beta1ExportEndpointOperationMetadata {
|
|
1690
|
-
/** The common part of the operation metadata. */
|
|
1691
|
-
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
1692
|
-
}
|
|
1693
|
-
interface GoogleCloudAiplatformV1beta1ExportEndpointResponse {
|
|
1694
|
-
/** Information further describing the output of this Endpoint export. */
|
|
1695
|
-
outputInfo?: GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo;
|
|
1696
|
-
}
|
|
1697
|
-
interface GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo {
|
|
1698
|
-
/** If the Endpoint is being exported to BigQuery this is the full path of the BigQuery ML model created. */
|
|
1699
|
-
bigQueryDestination?: GoogleCloudAiplatformV1beta1BigQueryDestination;
|
|
1700
|
-
}
|
|
1701
1711
|
interface GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata {
|
|
1702
1712
|
/** Operation metadata for Featurestore export Feature values. */
|
|
1703
1713
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -2042,6 +2052,8 @@ declare namespace gapi.client {
|
|
|
2042
2052
|
interface GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource {
|
|
2043
2053
|
/** Required. List of features that need to be synced to Online Store. */
|
|
2044
2054
|
featureGroups?: GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup[];
|
|
2055
|
+
/** Optional. The project number of the parent project of the Feature Groups. */
|
|
2056
|
+
projectNumber?: string;
|
|
2045
2057
|
}
|
|
2046
2058
|
interface GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup {
|
|
2047
2059
|
/** Required. Identifier of the feature group. */
|
|
@@ -2058,11 +2070,19 @@ declare namespace gapi.client {
|
|
|
2058
2070
|
name?: string;
|
|
2059
2071
|
/** Output only. Time when this FeatureViewSync is finished. */
|
|
2060
2072
|
runTime?: GoogleTypeInterval;
|
|
2073
|
+
/** Output only. Summary of the sync job. */
|
|
2074
|
+
syncSummary?: GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary;
|
|
2061
2075
|
}
|
|
2062
2076
|
interface GoogleCloudAiplatformV1beta1FeatureViewSyncConfig {
|
|
2063
2077
|
/** Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *". */
|
|
2064
2078
|
cron?: string;
|
|
2065
2079
|
}
|
|
2080
|
+
interface GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary {
|
|
2081
|
+
/** Output only. Total number of rows synced. */
|
|
2082
|
+
rowSynced?: string;
|
|
2083
|
+
/** Output only. BigQuery slot milliseconds consumed for the sync job. */
|
|
2084
|
+
totalSlot?: string;
|
|
2085
|
+
}
|
|
2066
2086
|
interface GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig {
|
|
2067
2087
|
/** Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search. */
|
|
2068
2088
|
bruteForceConfig?: any;
|
|
@@ -2217,7 +2237,7 @@ declare namespace gapi.client {
|
|
|
2217
2237
|
generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
|
|
2218
2238
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
2219
2239
|
safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
|
|
2220
|
-
/** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
|
|
2240
|
+
/** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
|
|
2221
2241
|
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
2222
2242
|
}
|
|
2223
2243
|
interface GoogleCloudAiplatformV1beta1GenerateContentResponse {
|
|
@@ -2265,6 +2285,30 @@ declare namespace gapi.client {
|
|
|
2265
2285
|
/** Output only. Time when the operation was updated for the last time. If the operation has finished (successfully or not), this is the finish time. */
|
|
2266
2286
|
updateTime?: string;
|
|
2267
2287
|
}
|
|
2288
|
+
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
2289
|
+
/** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
|
|
2290
|
+
disableAttribution?: boolean;
|
|
2291
|
+
}
|
|
2292
|
+
interface GoogleCloudAiplatformV1beta1GroundingAttribution {
|
|
2293
|
+
/** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
|
|
2294
|
+
confidenceScore?: number;
|
|
2295
|
+
/** Output only. Segment of the content this attribution belongs to. */
|
|
2296
|
+
segment?: GoogleCloudAiplatformV1beta1Segment;
|
|
2297
|
+
/** Optional. Attribution from the web. */
|
|
2298
|
+
web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
|
|
2299
|
+
}
|
|
2300
|
+
interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
|
|
2301
|
+
/** Output only. Title of the attribution. */
|
|
2302
|
+
title?: string;
|
|
2303
|
+
/** Output only. URI reference of the attribution. */
|
|
2304
|
+
uri?: string;
|
|
2305
|
+
}
|
|
2306
|
+
interface GoogleCloudAiplatformV1beta1GroundingMetadata {
|
|
2307
|
+
/** Optional. List of grounding attributions. */
|
|
2308
|
+
groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
|
|
2309
|
+
/** Optional. Web search queries for the following-up web search. */
|
|
2310
|
+
webSearchQueries?: string[];
|
|
2311
|
+
}
|
|
2268
2312
|
interface GoogleCloudAiplatformV1beta1HyperparameterTuningJob {
|
|
2269
2313
|
/** Output only. Time when the HyperparameterTuningJob was created. */
|
|
2270
2314
|
createTime?: string;
|
|
@@ -3776,8 +3820,6 @@ declare namespace gapi.client {
|
|
|
3776
3820
|
taskDetails?: GoogleCloudAiplatformV1beta1PipelineTaskDetail[];
|
|
3777
3821
|
}
|
|
3778
3822
|
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig {
|
|
3779
|
-
/** Optional. The default runtime for the PipelineJob. If not provided, Vertex Custom Job is used as the runtime. For Vertex Custom Job, please refer to https://cloud.google.com/vertex-ai/docs/training/overview */
|
|
3780
|
-
defaultRuntime?: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime;
|
|
3781
3823
|
/** Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion. */
|
|
3782
3824
|
failurePolicy?: string;
|
|
3783
3825
|
/** Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket. */
|
|
@@ -3791,18 +3833,10 @@ declare namespace gapi.client {
|
|
|
3791
3833
|
/** The runtime parameters of the PipelineJob. The parameters will be passed into PipelineJob.pipeline_spec to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. */
|
|
3792
3834
|
parameterValues?: {[P in string]: any};
|
|
3793
3835
|
}
|
|
3794
|
-
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime {
|
|
3795
|
-
/** Persistent resource based runtime detail. */
|
|
3796
|
-
persistentResourceRuntimeDetail?: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail;
|
|
3797
|
-
}
|
|
3798
3836
|
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact {
|
|
3799
3837
|
/** Artifact resource id from MLMD. Which is the last portion of an artifact resource name: `projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}`. The artifact must stay within the same project, location and default metadatastore as the pipeline. */
|
|
3800
3838
|
artifactId?: string;
|
|
3801
3839
|
}
|
|
3802
|
-
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail {
|
|
3803
|
-
/** Persistent resource name. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` */
|
|
3804
|
-
persistentResourceName?: string;
|
|
3805
|
-
}
|
|
3806
3840
|
interface GoogleCloudAiplatformV1beta1PipelineTaskDetail {
|
|
3807
3841
|
/** Output only. Task create time. */
|
|
3808
3842
|
createTime?: string;
|
|
@@ -4159,11 +4193,17 @@ declare namespace gapi.client {
|
|
|
4159
4193
|
/** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
|
|
4160
4194
|
httpBody?: GoogleApiHttpBody;
|
|
4161
4195
|
}
|
|
4196
|
+
interface GoogleCloudAiplatformV1beta1RayMetricSpec {
|
|
4197
|
+
/** Optional. Flag to disable the Ray metrics collection. */
|
|
4198
|
+
disabled?: boolean;
|
|
4199
|
+
}
|
|
4162
4200
|
interface GoogleCloudAiplatformV1beta1RaySpec {
|
|
4163
4201
|
/** Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set. */
|
|
4164
4202
|
headNodeResourcePoolId?: string;
|
|
4165
4203
|
/** Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field. */
|
|
4166
4204
|
imageUri?: string;
|
|
4205
|
+
/** Optional. Ray metrics configurations. */
|
|
4206
|
+
rayMetricSpec?: GoogleCloudAiplatformV1beta1RayMetricSpec;
|
|
4167
4207
|
/** Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another worker image" } */
|
|
4168
4208
|
resourcePoolImages?: {[P in string]: string};
|
|
4169
4209
|
}
|
|
@@ -4319,6 +4359,12 @@ declare namespace gapi.client {
|
|
|
4319
4359
|
/** Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false. */
|
|
4320
4360
|
catchUp?: boolean;
|
|
4321
4361
|
}
|
|
4362
|
+
interface GoogleCloudAiplatformV1beta1Retrieval {
|
|
4363
|
+
/** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
|
|
4364
|
+
disableAttribution?: boolean;
|
|
4365
|
+
/** Set to use data source powered by Vertex AI Search. */
|
|
4366
|
+
vertexAiSearch?: GoogleCloudAiplatformV1beta1VertexAISearch;
|
|
4367
|
+
}
|
|
4322
4368
|
interface GoogleCloudAiplatformV1beta1SafetyRating {
|
|
4323
4369
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
4324
4370
|
blocked?: boolean;
|
|
@@ -5751,6 +5797,14 @@ declare namespace gapi.client {
|
|
|
5751
5797
|
/** The nearest neighbors of the query entity. */
|
|
5752
5798
|
nearestNeighbors?: GoogleCloudAiplatformV1beta1NearestNeighbors;
|
|
5753
5799
|
}
|
|
5800
|
+
interface GoogleCloudAiplatformV1beta1Segment {
|
|
5801
|
+
/** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
|
|
5802
|
+
endIndex?: number;
|
|
5803
|
+
/** Output only. The index of a Part object within its parent Content object. */
|
|
5804
|
+
partIndex?: number;
|
|
5805
|
+
/** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
|
|
5806
|
+
startIndex?: number;
|
|
5807
|
+
}
|
|
5754
5808
|
interface GoogleCloudAiplatformV1beta1ServiceAccountSpec {
|
|
5755
5809
|
/** 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). */
|
|
5756
5810
|
enableCustomServiceAccount?: boolean;
|
|
@@ -6213,6 +6267,10 @@ declare namespace gapi.client {
|
|
|
6213
6267
|
interface GoogleCloudAiplatformV1beta1Tool {
|
|
6214
6268
|
/** Optional. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided. */
|
|
6215
6269
|
functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
|
|
6270
|
+
/** Optional. Specialized retrieval tool that is powered by Google search. */
|
|
6271
|
+
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
|
|
6272
|
+
/** Optional. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
|
|
6273
|
+
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
6216
6274
|
}
|
|
6217
6275
|
interface GoogleCloudAiplatformV1beta1TrainingConfig {
|
|
6218
6276
|
/** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
|
|
@@ -6433,6 +6491,10 @@ declare namespace gapi.client {
|
|
|
6433
6491
|
/** A string value. */
|
|
6434
6492
|
stringValue?: string;
|
|
6435
6493
|
}
|
|
6494
|
+
interface GoogleCloudAiplatformV1beta1VertexAISearch {
|
|
6495
|
+
/** Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>/locations/<>/collections/<>/dataStores/<> */
|
|
6496
|
+
datastore?: string;
|
|
6497
|
+
}
|
|
6436
6498
|
interface GoogleCloudAiplatformV1beta1VideoMetadata {
|
|
6437
6499
|
/** Optional. The end offset of the video. */
|
|
6438
6500
|
endOffset?: string;
|
|
@@ -6675,7 +6737,7 @@ declare namespace gapi.client {
|
|
|
6675
6737
|
}
|
|
6676
6738
|
interface LanguageLabsAidaTrustRecitationProtoRecitationResult {
|
|
6677
6739
|
dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
6678
|
-
/** 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. */
|
|
6740
|
+
/** 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. When the given input is not found in any source, the recitation action will not be specified. */
|
|
6679
6741
|
recitationAction?: string;
|
|
6680
6742
|
trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
6681
6743
|
}
|
|
@@ -6748,7 +6810,7 @@ declare namespace gapi.client {
|
|
|
6748
6810
|
}
|
|
6749
6811
|
interface LearningGenaiRecitationRecitationResult {
|
|
6750
6812
|
dynamicSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
6751
|
-
/** 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. */
|
|
6813
|
+
/** 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. When the given input is not found in any source, the recitation action will be NO_ACTION. */
|
|
6752
6814
|
recitationAction?: string;
|
|
6753
6815
|
trainingSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
6754
6816
|
}
|
|
@@ -7035,6 +7097,8 @@ declare namespace gapi.client {
|
|
|
7035
7097
|
/** NOT YET IMPLEMENTED. */
|
|
7036
7098
|
finishReason?: string;
|
|
7037
7099
|
groundingMetadata?: LearningGenaiRootGroundingMetadata;
|
|
7100
|
+
/** Applies to streaming response message only. Whether the message is a code. */
|
|
7101
|
+
isCode?: boolean;
|
|
7038
7102
|
/** Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty. */
|
|
7039
7103
|
isFallback?: boolean;
|
|
7040
7104
|
/** Result from nlp_saft DetectLanguage method. Currently the predicted language code and language probability is used. */
|
|
@@ -11172,6 +11236,127 @@ declare namespace gapi.client {
|
|
|
11172
11236
|
): Request<GoogleLongrunningOperation>;
|
|
11173
11237
|
operations: OperationsResource;
|
|
11174
11238
|
}
|
|
11239
|
+
interface OperationsResource {
|
|
11240
|
+
/** 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`. */
|
|
11241
|
+
delete(request?: {
|
|
11242
|
+
/** V1 error format. */
|
|
11243
|
+
'$.xgafv'?: string;
|
|
11244
|
+
/** OAuth access token. */
|
|
11245
|
+
access_token?: string;
|
|
11246
|
+
/** Data format for response. */
|
|
11247
|
+
alt?: string;
|
|
11248
|
+
/** JSONP */
|
|
11249
|
+
callback?: string;
|
|
11250
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11251
|
+
fields?: string;
|
|
11252
|
+
/** 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. */
|
|
11253
|
+
key?: string;
|
|
11254
|
+
/** The name of the operation resource to be deleted. */
|
|
11255
|
+
name: string;
|
|
11256
|
+
/** OAuth 2.0 token for the current user. */
|
|
11257
|
+
oauth_token?: string;
|
|
11258
|
+
/** Returns response with indentations and line breaks. */
|
|
11259
|
+
prettyPrint?: boolean;
|
|
11260
|
+
/** 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. */
|
|
11261
|
+
quotaUser?: string;
|
|
11262
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11263
|
+
upload_protocol?: string;
|
|
11264
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11265
|
+
uploadType?: string;
|
|
11266
|
+
}): Request<{}>;
|
|
11267
|
+
/** 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. */
|
|
11268
|
+
get(request?: {
|
|
11269
|
+
/** V1 error format. */
|
|
11270
|
+
'$.xgafv'?: string;
|
|
11271
|
+
/** OAuth access token. */
|
|
11272
|
+
access_token?: string;
|
|
11273
|
+
/** Data format for response. */
|
|
11274
|
+
alt?: string;
|
|
11275
|
+
/** JSONP */
|
|
11276
|
+
callback?: string;
|
|
11277
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11278
|
+
fields?: string;
|
|
11279
|
+
/** 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. */
|
|
11280
|
+
key?: string;
|
|
11281
|
+
/** The name of the operation resource. */
|
|
11282
|
+
name: string;
|
|
11283
|
+
/** OAuth 2.0 token for the current user. */
|
|
11284
|
+
oauth_token?: string;
|
|
11285
|
+
/** Returns response with indentations and line breaks. */
|
|
11286
|
+
prettyPrint?: boolean;
|
|
11287
|
+
/** 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. */
|
|
11288
|
+
quotaUser?: string;
|
|
11289
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11290
|
+
upload_protocol?: string;
|
|
11291
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11292
|
+
uploadType?: string;
|
|
11293
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11294
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
11295
|
+
list(request?: {
|
|
11296
|
+
/** V1 error format. */
|
|
11297
|
+
'$.xgafv'?: string;
|
|
11298
|
+
/** OAuth access token. */
|
|
11299
|
+
access_token?: string;
|
|
11300
|
+
/** Data format for response. */
|
|
11301
|
+
alt?: string;
|
|
11302
|
+
/** JSONP */
|
|
11303
|
+
callback?: string;
|
|
11304
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11305
|
+
fields?: string;
|
|
11306
|
+
/** The standard list filter. */
|
|
11307
|
+
filter?: string;
|
|
11308
|
+
/** 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. */
|
|
11309
|
+
key?: string;
|
|
11310
|
+
/** The name of the operation's parent resource. */
|
|
11311
|
+
name: string;
|
|
11312
|
+
/** OAuth 2.0 token for the current user. */
|
|
11313
|
+
oauth_token?: string;
|
|
11314
|
+
/** The standard list page size. */
|
|
11315
|
+
pageSize?: number;
|
|
11316
|
+
/** The standard list page token. */
|
|
11317
|
+
pageToken?: string;
|
|
11318
|
+
/** Returns response with indentations and line breaks. */
|
|
11319
|
+
prettyPrint?: boolean;
|
|
11320
|
+
/** 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. */
|
|
11321
|
+
quotaUser?: string;
|
|
11322
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11323
|
+
upload_protocol?: string;
|
|
11324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11325
|
+
uploadType?: string;
|
|
11326
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
11327
|
+
/** 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. */
|
|
11328
|
+
wait(request?: {
|
|
11329
|
+
/** V1 error format. */
|
|
11330
|
+
'$.xgafv'?: string;
|
|
11331
|
+
/** OAuth access token. */
|
|
11332
|
+
access_token?: string;
|
|
11333
|
+
/** Data format for response. */
|
|
11334
|
+
alt?: string;
|
|
11335
|
+
/** JSONP */
|
|
11336
|
+
callback?: string;
|
|
11337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11338
|
+
fields?: string;
|
|
11339
|
+
/** 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. */
|
|
11340
|
+
key?: string;
|
|
11341
|
+
/** The name of the operation resource to wait on. */
|
|
11342
|
+
name: string;
|
|
11343
|
+
/** OAuth 2.0 token for the current user. */
|
|
11344
|
+
oauth_token?: string;
|
|
11345
|
+
/** Returns response with indentations and line breaks. */
|
|
11346
|
+
prettyPrint?: boolean;
|
|
11347
|
+
/** 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. */
|
|
11348
|
+
quotaUser?: string;
|
|
11349
|
+
/** 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. */
|
|
11350
|
+
timeout?: string;
|
|
11351
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11352
|
+
upload_protocol?: string;
|
|
11353
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11354
|
+
uploadType?: string;
|
|
11355
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11356
|
+
}
|
|
11357
|
+
interface EvaluationTasksResource {
|
|
11358
|
+
operations: OperationsResource;
|
|
11359
|
+
}
|
|
11175
11360
|
interface OperationsResource {
|
|
11176
11361
|
/** 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`. */
|
|
11177
11362
|
cancel(request?: {
|
|
@@ -12858,7 +13043,7 @@ declare namespace gapi.client {
|
|
|
12858
13043
|
prettyPrint?: boolean;
|
|
12859
13044
|
/** 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. */
|
|
12860
13045
|
quotaUser?: string;
|
|
12861
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` */
|
|
13046
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType` */
|
|
12862
13047
|
updateMask?: string;
|
|
12863
13048
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12864
13049
|
upload_protocol?: string;
|
|
@@ -12889,7 +13074,7 @@ declare namespace gapi.client {
|
|
|
12889
13074
|
prettyPrint?: boolean;
|
|
12890
13075
|
/** 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. */
|
|
12891
13076
|
quotaUser?: string;
|
|
12892
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` */
|
|
13077
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType` */
|
|
12893
13078
|
updateMask?: string;
|
|
12894
13079
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12895
13080
|
upload_protocol?: string;
|
|
@@ -27489,6 +27674,7 @@ declare namespace gapi.client {
|
|
|
27489
27674
|
deploymentResourcePools: DeploymentResourcePoolsResource;
|
|
27490
27675
|
edgeDevices: EdgeDevicesResource;
|
|
27491
27676
|
endpoints: EndpointsResource;
|
|
27677
|
+
evaluationTasks: EvaluationTasksResource;
|
|
27492
27678
|
exampleStores: ExampleStoresResource;
|
|
27493
27679
|
extensionControllers: ExtensionControllersResource;
|
|
27494
27680
|
extensions: ExtensionsResource;
|