@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240117 → 0.0.20240205
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 +218 -29
- 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: 20240205
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -132,6 +132,8 @@ declare namespace gapi.client {
|
|
|
132
132
|
finishMessage?: string;
|
|
133
133
|
/** The reason why the model stopped generating tokens. */
|
|
134
134
|
finishReason?: string;
|
|
135
|
+
/** Grounding metadata. Combine with the facts list from response to generate grounding citations for this choice. */
|
|
136
|
+
groundingMetadata?: LearningGenaiRootGroundingMetadata;
|
|
135
137
|
/** Index of the candidate. */
|
|
136
138
|
index?: number;
|
|
137
139
|
/** Safety ratings of the generated content. */
|
|
@@ -161,6 +163,16 @@ declare namespace gapi.client {
|
|
|
161
163
|
/** The role of the current conversation participant. */
|
|
162
164
|
role?: string;
|
|
163
165
|
}
|
|
166
|
+
interface CloudAiNlLlmProtoServiceFact {
|
|
167
|
+
/** Query that is used to retrieve this fact. */
|
|
168
|
+
query?: string;
|
|
169
|
+
/** If present, the summary/snippet of the fact. */
|
|
170
|
+
summary?: string;
|
|
171
|
+
/** If present, it refers to the title of this fact. */
|
|
172
|
+
title?: string;
|
|
173
|
+
/** If present, this URL links to the webpage of the fact. */
|
|
174
|
+
url?: string;
|
|
175
|
+
}
|
|
164
176
|
interface CloudAiNlLlmProtoServiceFunctionCall {
|
|
165
177
|
/** The function parameters and values in JSON format. */
|
|
166
178
|
args?: {[P in string]: any};
|
|
@@ -178,6 +190,8 @@ declare namespace gapi.client {
|
|
|
178
190
|
candidates?: CloudAiNlLlmProtoServiceCandidate[];
|
|
179
191
|
/** Debug information containing message metadata. Clients should not consume this field, and this is only populated for Flow Runner path. */
|
|
180
192
|
debugMetadata?: CloudAiNlLlmProtoServiceMessageMetadata;
|
|
193
|
+
/** External facts retrieved for factuality/grounding. */
|
|
194
|
+
facts?: CloudAiNlLlmProtoServiceFact[];
|
|
181
195
|
/** Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations. */
|
|
182
196
|
promptFeedback?: CloudAiNlLlmProtoServicePromptFeedback;
|
|
183
197
|
/** Billable prediction metrics. */
|
|
@@ -245,7 +259,7 @@ declare namespace gapi.client {
|
|
|
245
259
|
/** Whether the text should be filtered and not shown to the end user. This is determined based on a combination of `triggered_recitation`, `triggered_blocklist`, `language_filter_result`, and `triggered_safety_filter`. */
|
|
246
260
|
filtered?: boolean;
|
|
247
261
|
/** Language filter result from SAFT LangId. */
|
|
248
|
-
languageFilterResult?:
|
|
262
|
+
languageFilterResult?: LearningGenaiRootLanguageFilterResult;
|
|
249
263
|
/** The RAI signals for the text. */
|
|
250
264
|
raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
|
|
251
265
|
/** Whether the text triggered the blocklist. */
|
|
@@ -852,10 +866,6 @@ declare namespace gapi.client {
|
|
|
852
866
|
/** The common part of the operation metadata. */
|
|
853
867
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
854
868
|
}
|
|
855
|
-
interface GoogleCloudAiplatformV1beta1CreateExtensionDeploymentOperationMetadata {
|
|
856
|
-
/** The common part of the operation metadata. */
|
|
857
|
-
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
858
|
-
}
|
|
859
869
|
interface GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata {
|
|
860
870
|
/** Operation metadata for FeatureGroup. */
|
|
861
871
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -905,6 +915,8 @@ declare namespace gapi.client {
|
|
|
905
915
|
interface GoogleCloudAiplatformV1beta1CreatePersistentResourceOperationMetadata {
|
|
906
916
|
/** Operation metadata for PersistentResource. */
|
|
907
917
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
918
|
+
/** Progress Message for Create LRO */
|
|
919
|
+
progressMessage?: string;
|
|
908
920
|
}
|
|
909
921
|
interface GoogleCloudAiplatformV1beta1CreatePipelineJobRequest {
|
|
910
922
|
/** Required. The resource name of the Location to create the PipelineJob in. Format: `projects/{project}/locations/{location}` */
|
|
@@ -913,6 +925,8 @@ declare namespace gapi.client {
|
|
|
913
925
|
pipelineJob?: GoogleCloudAiplatformV1beta1PipelineJob;
|
|
914
926
|
/** The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`. */
|
|
915
927
|
pipelineJobId?: string;
|
|
928
|
+
/** Optional. Whether to do component level validations before job creation. Currently we only support Google First Party Component/Pipelines. */
|
|
929
|
+
preflightValidations?: boolean;
|
|
916
930
|
}
|
|
917
931
|
interface GoogleCloudAiplatformV1beta1CreateRegistryFeatureOperationMetadata {
|
|
918
932
|
/** Operation metadata for Feature. */
|
|
@@ -1535,7 +1549,7 @@ declare namespace gapi.client {
|
|
|
1535
1549
|
explanations?: GoogleCloudAiplatformV1beta1Explanation[];
|
|
1536
1550
|
}
|
|
1537
1551
|
interface GoogleCloudAiplatformV1beta1Explanation {
|
|
1538
|
-
/** Output only. Feature attributions grouped by predicted outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining. If users set ExplanationParameters.top_k, the attributions are sorted by instance_output_value in descending order. If ExplanationParameters.output_indices is specified, the attributions are stored by Attribution.output_index in the same order as they appear in the output_indices. */
|
|
1552
|
+
/** Output only. Feature attributions grouped by predicted outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining. By default, we provide Shapley values for the predicted class. However, you can configure the explanation request to generate Shapley values for any other classes too. For example, if a model predicts a probability of `0.4` for approving a loan application, the model's decision is to reject the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default Shapley values would be computed for rejection decision and not approval, even though the latter might be the positive class. If users set ExplanationParameters.top_k, the attributions are sorted by instance_output_value in descending order. If ExplanationParameters.output_indices is specified, the attributions are stored by Attribution.output_index in the same order as they appear in the output_indices. */
|
|
1539
1553
|
attributions?: GoogleCloudAiplatformV1beta1Attribution[];
|
|
1540
1554
|
/** Output only. List of the nearest neighbors for example-based explanations. For models deployed with the examples explanations feature enabled, the attributions field is empty and instead the neighbors field is populated. */
|
|
1541
1555
|
neighbors?: GoogleCloudAiplatformV1beta1Neighbor[];
|
|
@@ -2012,7 +2026,7 @@ declare namespace gapi.client {
|
|
|
2012
2026
|
syncConfig?: GoogleCloudAiplatformV1beta1FeatureViewSyncConfig;
|
|
2013
2027
|
/** Output only. Timestamp when this FeatureView was last updated. */
|
|
2014
2028
|
updateTime?: string;
|
|
2015
|
-
/** Optional.
|
|
2029
|
+
/** Optional. Deprecated: please use FeatureView.index_config instead. */
|
|
2016
2030
|
vectorSearchConfig?: GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig;
|
|
2017
2031
|
}
|
|
2018
2032
|
interface GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource {
|
|
@@ -2464,6 +2478,8 @@ declare namespace gapi.client {
|
|
|
2464
2478
|
interface GoogleCloudAiplatformV1beta1IndexPrivateEndpoints {
|
|
2465
2479
|
/** Output only. The ip address used to send match gRPC requests. */
|
|
2466
2480
|
matchGrpcAddress?: string;
|
|
2481
|
+
/** Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set. */
|
|
2482
|
+
pscAutomatedEndpoints?: GoogleCloudAiplatformV1beta1PscAutomatedEndpoints[];
|
|
2467
2483
|
/** Output only. The name of the service attachment resource. Populated if private service connect is enabled. */
|
|
2468
2484
|
serviceAttachment?: string;
|
|
2469
2485
|
}
|
|
@@ -2974,9 +2990,9 @@ declare namespace gapi.client {
|
|
|
2974
2990
|
model?: string;
|
|
2975
2991
|
}
|
|
2976
2992
|
interface GoogleCloudAiplatformV1beta1Model {
|
|
2977
|
-
/** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not
|
|
2993
|
+
/** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models. */
|
|
2978
2994
|
artifactUri?: string;
|
|
2979
|
-
/** Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not
|
|
2995
|
+
/** Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models. */
|
|
2980
2996
|
containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
|
|
2981
2997
|
/** Output only. Timestamp when this Model was uploaded into Vertex AI. */
|
|
2982
2998
|
createTime?: string;
|
|
@@ -3000,7 +3016,7 @@ declare namespace gapi.client {
|
|
|
3000
3016
|
metadataArtifact?: string;
|
|
3001
3017
|
/** Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Model, that is specific to it. Unset if the Model does not have any additional information. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). AutoML Models always have this field populated by Vertex AI, if no additional metadata is needed, this field is set to an empty string. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access. */
|
|
3002
3018
|
metadataSchemaUri?: string;
|
|
3003
|
-
/** Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or
|
|
3019
|
+
/** Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or saved and tuned from Genie or Model Garden. */
|
|
3004
3020
|
modelSourceInfo?: GoogleCloudAiplatformV1beta1ModelSourceInfo;
|
|
3005
3021
|
/** The resource name of the Model. */
|
|
3006
3022
|
name?: string;
|
|
@@ -3064,6 +3080,8 @@ declare namespace gapi.client {
|
|
|
3064
3080
|
logSource?: string;
|
|
3065
3081
|
/** The type of log. */
|
|
3066
3082
|
logType?: string;
|
|
3083
|
+
/** Output only. The schema version of the request/response logging BigQuery table. Default to v1 if unset. */
|
|
3084
|
+
requestResponseLoggingSchemaVersion?: string;
|
|
3067
3085
|
}
|
|
3068
3086
|
interface GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob {
|
|
3069
3087
|
/** YAML schema file uri describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze. If this field is empty, all the feature data types are inferred from predict_instance_schema_uri, meaning that TFDV will use the data in the exact format(data type) as prediction request/response. If there are any data type differences between predict instance and TFDV instance, this field can be used to override the schema. For models trained with Vertex AI, this field must be set as all the fields in predict instance formatted as string. */
|
|
@@ -3758,6 +3776,8 @@ declare namespace gapi.client {
|
|
|
3758
3776
|
taskDetails?: GoogleCloudAiplatformV1beta1PipelineTaskDetail[];
|
|
3759
3777
|
}
|
|
3760
3778
|
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;
|
|
3761
3781
|
/** 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. */
|
|
3762
3782
|
failurePolicy?: string;
|
|
3763
3783
|
/** 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. */
|
|
@@ -3771,10 +3791,18 @@ declare namespace gapi.client {
|
|
|
3771
3791
|
/** 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. */
|
|
3772
3792
|
parameterValues?: {[P in string]: any};
|
|
3773
3793
|
}
|
|
3794
|
+
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime {
|
|
3795
|
+
/** Persistent resource based runtime detail. */
|
|
3796
|
+
persistentResourceRuntimeDetail?: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail;
|
|
3797
|
+
}
|
|
3774
3798
|
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact {
|
|
3775
3799
|
/** 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. */
|
|
3776
3800
|
artifactId?: string;
|
|
3777
3801
|
}
|
|
3802
|
+
interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail {
|
|
3803
|
+
/** Persistent resource name. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` */
|
|
3804
|
+
persistentResourceName?: string;
|
|
3805
|
+
}
|
|
3778
3806
|
interface GoogleCloudAiplatformV1beta1PipelineTaskDetail {
|
|
3779
3807
|
/** Output only. Task create time. */
|
|
3780
3808
|
createTime?: string;
|
|
@@ -3923,6 +3951,14 @@ declare namespace gapi.client {
|
|
|
3923
3951
|
/** Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. */
|
|
3924
3952
|
command?: string[];
|
|
3925
3953
|
}
|
|
3954
|
+
interface GoogleCloudAiplatformV1beta1PscAutomatedEndpoints {
|
|
3955
|
+
/** Ip Address created by the automated forwarding rule. */
|
|
3956
|
+
matchAddress?: string;
|
|
3957
|
+
/** Corresponding network in pscAutomationConfigs. */
|
|
3958
|
+
network?: string;
|
|
3959
|
+
/** Corresponding project_id in pscAutomationConfigs */
|
|
3960
|
+
projectId?: string;
|
|
3961
|
+
}
|
|
3926
3962
|
interface GoogleCloudAiplatformV1beta1PublisherModel {
|
|
3927
3963
|
/** Optional. Additional information about the model's Frameworks. */
|
|
3928
3964
|
frameworks?: string[];
|
|
@@ -3950,6 +3986,8 @@ declare namespace gapi.client {
|
|
|
3950
3986
|
createApplication?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
3951
3987
|
/** Optional. Deploy the PublisherModel to Vertex Endpoint. */
|
|
3952
3988
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
3989
|
+
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
3990
|
+
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
3953
3991
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
3954
3992
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
3955
3993
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -3991,6 +4029,10 @@ declare namespace gapi.client {
|
|
|
3991
4029
|
/** Required. The title of the regional resource reference. */
|
|
3992
4030
|
title?: string;
|
|
3993
4031
|
}
|
|
4032
|
+
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke {
|
|
4033
|
+
/** Optional. GKE deployment configuration in yaml format. */
|
|
4034
|
+
gkeYamlConfigs?: string[];
|
|
4035
|
+
}
|
|
3994
4036
|
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines {
|
|
3995
4037
|
/** Required. Regional resource references to fine tuning pipelines. */
|
|
3996
4038
|
fineTuningPipelines?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences[];
|
|
@@ -4384,8 +4426,6 @@ declare namespace gapi.client {
|
|
|
4384
4426
|
interface GoogleCloudAiplatformV1beta1Scheduling {
|
|
4385
4427
|
/** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
|
|
4386
4428
|
disableRetries?: boolean;
|
|
4387
|
-
/** Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day */
|
|
4388
|
-
maxWaitDuration?: string;
|
|
4389
4429
|
/** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
|
|
4390
4430
|
restartJobOnWorkerRestart?: boolean;
|
|
4391
4431
|
/** The maximum job running time. The default is 7 days. */
|
|
@@ -6330,6 +6370,8 @@ declare namespace gapi.client {
|
|
|
6330
6370
|
interface GoogleCloudAiplatformV1beta1UpdatePersistentResourceOperationMetadata {
|
|
6331
6371
|
/** Operation metadata for PersistentResource. */
|
|
6332
6372
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
6373
|
+
/** Progress Message for Update LRO */
|
|
6374
|
+
progressMessage?: string;
|
|
6333
6375
|
}
|
|
6334
6376
|
interface GoogleCloudAiplatformV1beta1UpdateSpecialistPoolOperationMetadata {
|
|
6335
6377
|
/** The operation generic information. */
|
|
@@ -6371,6 +6413,8 @@ declare namespace gapi.client {
|
|
|
6371
6413
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsRequest {
|
|
6372
6414
|
/** A list of datapoints to be created/updated. */
|
|
6373
6415
|
datapoints?: GoogleCloudAiplatformV1beta1IndexDatapoint[];
|
|
6416
|
+
/** Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request. Updatable fields: * Use `all_restricts` to update both restricts and numeric_restricts. */
|
|
6417
|
+
updateMask?: string;
|
|
6374
6418
|
}
|
|
6375
6419
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsResponse {}
|
|
6376
6420
|
interface GoogleCloudAiplatformV1beta1UserActionReference {
|
|
@@ -6463,7 +6507,7 @@ declare namespace gapi.client {
|
|
|
6463
6507
|
condition?: GoogleTypeExpr;
|
|
6464
6508
|
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
6465
6509
|
members?: string[];
|
|
6466
|
-
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
6510
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
6467
6511
|
role?: string;
|
|
6468
6512
|
}
|
|
6469
6513
|
interface GoogleIamV1GetIamPolicyRequest {
|
|
@@ -6592,6 +6636,8 @@ declare namespace gapi.client {
|
|
|
6592
6636
|
arxivId?: string;
|
|
6593
6637
|
author?: string;
|
|
6594
6638
|
bibkey?: string;
|
|
6639
|
+
/** ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517 */
|
|
6640
|
+
biorxivId?: string;
|
|
6595
6641
|
bookTitle?: string;
|
|
6596
6642
|
/** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
|
|
6597
6643
|
bookVolumeId?: string;
|
|
@@ -6624,6 +6670,8 @@ declare namespace gapi.client {
|
|
|
6624
6670
|
volumeId?: string;
|
|
6625
6671
|
/** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
|
|
6626
6672
|
wikipediaArticleTitle?: string;
|
|
6673
|
+
/** The unique video id from Youtube. Example: AkoGsW52Ir0 */
|
|
6674
|
+
youtubeVideoId?: string;
|
|
6627
6675
|
}
|
|
6628
6676
|
interface LanguageLabsAidaTrustRecitationProtoRecitationResult {
|
|
6629
6677
|
dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
@@ -6662,6 +6710,8 @@ declare namespace gapi.client {
|
|
|
6662
6710
|
arxivId?: string;
|
|
6663
6711
|
author?: string;
|
|
6664
6712
|
bibkey?: string;
|
|
6713
|
+
/** ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517 */
|
|
6714
|
+
biorxivId?: string;
|
|
6665
6715
|
bookTitle?: string;
|
|
6666
6716
|
/** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
|
|
6667
6717
|
bookVolumeId?: string;
|
|
@@ -6694,6 +6744,7 @@ declare namespace gapi.client {
|
|
|
6694
6744
|
volumeId?: string;
|
|
6695
6745
|
/** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
|
|
6696
6746
|
wikipediaArticleTitle?: string;
|
|
6747
|
+
youtubeVideoId?: string;
|
|
6697
6748
|
}
|
|
6698
6749
|
interface LearningGenaiRecitationRecitationResult {
|
|
6699
6750
|
dynamicSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
@@ -6764,7 +6815,7 @@ declare namespace gapi.client {
|
|
|
6764
6815
|
interface LearningGenaiRootFilterMetadataFilterDebugInfo {
|
|
6765
6816
|
classifierOutput?: LearningGenaiRootClassifierOutput;
|
|
6766
6817
|
defaultMetadata?: string;
|
|
6767
|
-
languageFilterResult?:
|
|
6818
|
+
languageFilterResult?: LearningGenaiRootLanguageFilterResult;
|
|
6768
6819
|
/** Safety filter output information for LLM Root RAI harm check. */
|
|
6769
6820
|
raiOutput?: LearningGenaiRootRAIOutput;
|
|
6770
6821
|
raiResult?: CloudAiNlLlmProtoServiceRaiResult;
|
|
@@ -6773,6 +6824,22 @@ declare namespace gapi.client {
|
|
|
6773
6824
|
takedownResult?: LearningGenaiRootTakedownResult;
|
|
6774
6825
|
toxicityResult?: LearningGenaiRootToxicityResult;
|
|
6775
6826
|
}
|
|
6827
|
+
interface LearningGenaiRootGroundingMetadata {
|
|
6828
|
+
citations?: LearningGenaiRootGroundingMetadataCitation[];
|
|
6829
|
+
/** True if grounding is cancelled, for example, no facts being retrieved. */
|
|
6830
|
+
groundingCancelled?: boolean;
|
|
6831
|
+
searchQueries?: string[];
|
|
6832
|
+
}
|
|
6833
|
+
interface LearningGenaiRootGroundingMetadataCitation {
|
|
6834
|
+
/** Index in the prediction output where the citation ends (exclusive). Must be > start_index and < len(output). */
|
|
6835
|
+
endIndex?: number;
|
|
6836
|
+
/** Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse. */
|
|
6837
|
+
factIndex?: number;
|
|
6838
|
+
/** Confidence score of this entailment. Value is [0,1] with 1 is the most confidence. */
|
|
6839
|
+
score?: number;
|
|
6840
|
+
/** Index in the prediction output where the citation starts (inclusive). Must be >= 0 and < end_index. */
|
|
6841
|
+
startIndex?: number;
|
|
6842
|
+
}
|
|
6776
6843
|
interface LearningGenaiRootHarm {
|
|
6777
6844
|
/** Please do not use, this is still under development. */
|
|
6778
6845
|
contextualDangerous?: boolean;
|
|
@@ -6787,6 +6854,7 @@ declare namespace gapi.client {
|
|
|
6787
6854
|
imageViolence?: boolean;
|
|
6788
6855
|
pqc?: boolean;
|
|
6789
6856
|
safetycat?: LearningGenaiRootHarmSafetyCatCategories;
|
|
6857
|
+
/** Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 . */
|
|
6790
6858
|
spii?: LearningGenaiRootHarmSpiiFilter;
|
|
6791
6859
|
threshold?: number;
|
|
6792
6860
|
videoFrameCsam?: boolean;
|
|
@@ -6812,6 +6880,14 @@ declare namespace gapi.client {
|
|
|
6812
6880
|
interface LearningGenaiRootInternalMetadata {
|
|
6813
6881
|
scoredTokens?: LearningGenaiRootScoredToken[];
|
|
6814
6882
|
}
|
|
6883
|
+
interface LearningGenaiRootLanguageFilterResult {
|
|
6884
|
+
/** False when query or response should be filtered out due to unsupported language. */
|
|
6885
|
+
allowed?: boolean;
|
|
6886
|
+
/** Language of the query or response. */
|
|
6887
|
+
detectedLanguage?: string;
|
|
6888
|
+
/** Probability of the language predicted as returned by LangID. */
|
|
6889
|
+
detectedLanguageProbability?: number;
|
|
6890
|
+
}
|
|
6815
6891
|
interface LearningGenaiRootMetricOutput {
|
|
6816
6892
|
debug?: string;
|
|
6817
6893
|
/** Name of the metric. */
|
|
@@ -6946,14 +7022,6 @@ declare namespace gapi.client {
|
|
|
6946
7022
|
label?: string;
|
|
6947
7023
|
score?: number;
|
|
6948
7024
|
}
|
|
6949
|
-
interface LearningServingLlmLanguageFilterResult {
|
|
6950
|
-
/** False when query or response should be filtered out due to unsupported language. */
|
|
6951
|
-
allowed?: boolean;
|
|
6952
|
-
/** Language of the query or response. */
|
|
6953
|
-
detectedLanguage?: string;
|
|
6954
|
-
/** Probability of the language predicted as returned by LangID. */
|
|
6955
|
-
detectedLanguageProbability?: number;
|
|
6956
|
-
}
|
|
6957
7025
|
interface LearningServingLlmMessageMetadata {
|
|
6958
7026
|
/** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
|
|
6959
7027
|
classifierSummary?: LearningGenaiRootClassifierOutputSummary;
|
|
@@ -6966,6 +7034,7 @@ declare namespace gapi.client {
|
|
|
6966
7034
|
finalMessageScore?: LearningGenaiRootScore;
|
|
6967
7035
|
/** NOT YET IMPLEMENTED. */
|
|
6968
7036
|
finishReason?: string;
|
|
7037
|
+
groundingMetadata?: LearningGenaiRootGroundingMetadata;
|
|
6969
7038
|
/** Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty. */
|
|
6970
7039
|
isFallback?: boolean;
|
|
6971
7040
|
/** Result from nlp_saft DetectLanguage method. Currently the predicted language code and language probability is used. */
|
|
@@ -10309,7 +10378,7 @@ declare namespace gapi.client {
|
|
|
10309
10378
|
},
|
|
10310
10379
|
body: GoogleCloudAiplatformV1beta1DeployModelRequest
|
|
10311
10380
|
): Request<GoogleLongrunningOperation>;
|
|
10312
|
-
/** Perform an unary online prediction request for Vertex first-party products and frameworks. */
|
|
10381
|
+
/** Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks. */
|
|
10313
10382
|
directPredict(request: {
|
|
10314
10383
|
/** V1 error format. */
|
|
10315
10384
|
'$.xgafv'?: string;
|
|
@@ -10367,7 +10436,7 @@ declare namespace gapi.client {
|
|
|
10367
10436
|
},
|
|
10368
10437
|
body: GoogleCloudAiplatformV1beta1DirectPredictRequest
|
|
10369
10438
|
): Request<GoogleCloudAiplatformV1beta1DirectPredictResponse>;
|
|
10370
|
-
/** Perform an online prediction request
|
|
10439
|
+
/** Perform an unary online prediction request to a gRPC model server for custom containers. */
|
|
10371
10440
|
directRawPredict(request: {
|
|
10372
10441
|
/** V1 error format. */
|
|
10373
10442
|
'$.xgafv'?: string;
|
|
@@ -10483,6 +10552,64 @@ declare namespace gapi.client {
|
|
|
10483
10552
|
},
|
|
10484
10553
|
body: GoogleCloudAiplatformV1beta1ExplainRequest
|
|
10485
10554
|
): Request<GoogleCloudAiplatformV1beta1ExplainResponse>;
|
|
10555
|
+
/** Generate content with multimodal inputs. */
|
|
10556
|
+
generateContent(request: {
|
|
10557
|
+
/** V1 error format. */
|
|
10558
|
+
'$.xgafv'?: string;
|
|
10559
|
+
/** OAuth access token. */
|
|
10560
|
+
access_token?: string;
|
|
10561
|
+
/** Data format for response. */
|
|
10562
|
+
alt?: string;
|
|
10563
|
+
/** JSONP */
|
|
10564
|
+
callback?: string;
|
|
10565
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10566
|
+
fields?: string;
|
|
10567
|
+
/** 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. */
|
|
10568
|
+
key?: string;
|
|
10569
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
10570
|
+
model: string;
|
|
10571
|
+
/** OAuth 2.0 token for the current user. */
|
|
10572
|
+
oauth_token?: string;
|
|
10573
|
+
/** Returns response with indentations and line breaks. */
|
|
10574
|
+
prettyPrint?: boolean;
|
|
10575
|
+
/** 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. */
|
|
10576
|
+
quotaUser?: string;
|
|
10577
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10578
|
+
upload_protocol?: string;
|
|
10579
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10580
|
+
uploadType?: string;
|
|
10581
|
+
/** Request body */
|
|
10582
|
+
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
10583
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
10584
|
+
generateContent(
|
|
10585
|
+
request: {
|
|
10586
|
+
/** V1 error format. */
|
|
10587
|
+
'$.xgafv'?: string;
|
|
10588
|
+
/** OAuth access token. */
|
|
10589
|
+
access_token?: string;
|
|
10590
|
+
/** Data format for response. */
|
|
10591
|
+
alt?: string;
|
|
10592
|
+
/** JSONP */
|
|
10593
|
+
callback?: string;
|
|
10594
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10595
|
+
fields?: string;
|
|
10596
|
+
/** 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. */
|
|
10597
|
+
key?: string;
|
|
10598
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
10599
|
+
model: string;
|
|
10600
|
+
/** OAuth 2.0 token for the current user. */
|
|
10601
|
+
oauth_token?: string;
|
|
10602
|
+
/** Returns response with indentations and line breaks. */
|
|
10603
|
+
prettyPrint?: boolean;
|
|
10604
|
+
/** 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. */
|
|
10605
|
+
quotaUser?: string;
|
|
10606
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10607
|
+
upload_protocol?: string;
|
|
10608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10609
|
+
uploadType?: string;
|
|
10610
|
+
},
|
|
10611
|
+
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
10612
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
10486
10613
|
/** Gets an Endpoint. */
|
|
10487
10614
|
get(request?: {
|
|
10488
10615
|
/** V1 error format. */
|
|
@@ -13027,7 +13154,7 @@ declare namespace gapi.client {
|
|
|
13027
13154
|
key?: string;
|
|
13028
13155
|
/** OAuth 2.0 token for the current user. */
|
|
13029
13156
|
oauth_token?: string;
|
|
13030
|
-
/** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}
|
|
13157
|
+
/** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}` */
|
|
13031
13158
|
parent: string;
|
|
13032
13159
|
/** Returns response with indentations and line breaks. */
|
|
13033
13160
|
prettyPrint?: boolean;
|
|
@@ -13058,7 +13185,7 @@ declare namespace gapi.client {
|
|
|
13058
13185
|
key?: string;
|
|
13059
13186
|
/** OAuth 2.0 token for the current user. */
|
|
13060
13187
|
oauth_token?: string;
|
|
13061
|
-
/** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}
|
|
13188
|
+
/** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}` */
|
|
13062
13189
|
parent: string;
|
|
13063
13190
|
/** Returns response with indentations and line breaks. */
|
|
13064
13191
|
prettyPrint?: boolean;
|
|
@@ -13184,7 +13311,7 @@ declare namespace gapi.client {
|
|
|
13184
13311
|
prettyPrint?: boolean;
|
|
13185
13312
|
/** 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. */
|
|
13186
13313
|
quotaUser?: string;
|
|
13187
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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: * `big_query_source` * `labels` * `sync_config` */
|
|
13314
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
|
|
13188
13315
|
updateMask?: string;
|
|
13189
13316
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13190
13317
|
upload_protocol?: string;
|
|
@@ -13215,7 +13342,7 @@ declare namespace gapi.client {
|
|
|
13215
13342
|
prettyPrint?: boolean;
|
|
13216
13343
|
/** 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. */
|
|
13217
13344
|
quotaUser?: string;
|
|
13218
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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: * `big_query_source` * `labels` * `sync_config` */
|
|
13345
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
|
|
13219
13346
|
updateMask?: string;
|
|
13220
13347
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13221
13348
|
upload_protocol?: string;
|
|
@@ -22419,6 +22546,8 @@ declare namespace gapi.client {
|
|
|
22419
22546
|
parent: string;
|
|
22420
22547
|
/** The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`. */
|
|
22421
22548
|
pipelineJobId?: string;
|
|
22549
|
+
/** Optional. Whether to do component level validations before job creation. Currently we only support Google First Party Component/Pipelines. */
|
|
22550
|
+
preflightValidations?: boolean;
|
|
22422
22551
|
/** Returns response with indentations and line breaks. */
|
|
22423
22552
|
prettyPrint?: boolean;
|
|
22424
22553
|
/** 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. */
|
|
@@ -22450,6 +22579,8 @@ declare namespace gapi.client {
|
|
|
22450
22579
|
parent: string;
|
|
22451
22580
|
/** The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`. */
|
|
22452
22581
|
pipelineJobId?: string;
|
|
22582
|
+
/** Optional. Whether to do component level validations before job creation. Currently we only support Google First Party Component/Pipelines. */
|
|
22583
|
+
preflightValidations?: boolean;
|
|
22453
22584
|
/** Returns response with indentations and line breaks. */
|
|
22454
22585
|
prettyPrint?: boolean;
|
|
22455
22586
|
/** 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. */
|
|
@@ -22671,6 +22802,64 @@ declare namespace gapi.client {
|
|
|
22671
22802
|
},
|
|
22672
22803
|
body: GoogleCloudAiplatformV1beta1CountTokensRequest
|
|
22673
22804
|
): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
|
|
22805
|
+
/** Generate content with multimodal inputs. */
|
|
22806
|
+
generateContent(request: {
|
|
22807
|
+
/** V1 error format. */
|
|
22808
|
+
'$.xgafv'?: string;
|
|
22809
|
+
/** OAuth access token. */
|
|
22810
|
+
access_token?: string;
|
|
22811
|
+
/** Data format for response. */
|
|
22812
|
+
alt?: string;
|
|
22813
|
+
/** JSONP */
|
|
22814
|
+
callback?: string;
|
|
22815
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22816
|
+
fields?: string;
|
|
22817
|
+
/** 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. */
|
|
22818
|
+
key?: string;
|
|
22819
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
22820
|
+
model: string;
|
|
22821
|
+
/** OAuth 2.0 token for the current user. */
|
|
22822
|
+
oauth_token?: string;
|
|
22823
|
+
/** Returns response with indentations and line breaks. */
|
|
22824
|
+
prettyPrint?: boolean;
|
|
22825
|
+
/** 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. */
|
|
22826
|
+
quotaUser?: string;
|
|
22827
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22828
|
+
upload_protocol?: string;
|
|
22829
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22830
|
+
uploadType?: string;
|
|
22831
|
+
/** Request body */
|
|
22832
|
+
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
22833
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
22834
|
+
generateContent(
|
|
22835
|
+
request: {
|
|
22836
|
+
/** V1 error format. */
|
|
22837
|
+
'$.xgafv'?: string;
|
|
22838
|
+
/** OAuth access token. */
|
|
22839
|
+
access_token?: string;
|
|
22840
|
+
/** Data format for response. */
|
|
22841
|
+
alt?: string;
|
|
22842
|
+
/** JSONP */
|
|
22843
|
+
callback?: string;
|
|
22844
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22845
|
+
fields?: string;
|
|
22846
|
+
/** 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. */
|
|
22847
|
+
key?: string;
|
|
22848
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
22849
|
+
model: string;
|
|
22850
|
+
/** OAuth 2.0 token for the current user. */
|
|
22851
|
+
oauth_token?: string;
|
|
22852
|
+
/** Returns response with indentations and line breaks. */
|
|
22853
|
+
prettyPrint?: boolean;
|
|
22854
|
+
/** 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. */
|
|
22855
|
+
quotaUser?: string;
|
|
22856
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22857
|
+
upload_protocol?: string;
|
|
22858
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22859
|
+
uploadType?: string;
|
|
22860
|
+
},
|
|
22861
|
+
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
22862
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
22674
22863
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
22675
22864
|
getIamPolicy(request?: {
|
|
22676
22865
|
/** V1 error format. */
|