@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20241207 → 0.0.20241214
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 +151 -11
- 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: 20241214
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -320,8 +320,10 @@ declare namespace gapi.client {
|
|
|
320
320
|
oidcConfig?: GoogleCloudAiplatformV1beta1AuthConfigOidcConfig;
|
|
321
321
|
}
|
|
322
322
|
interface GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig {
|
|
323
|
-
/**
|
|
323
|
+
/** Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. */
|
|
324
324
|
apiKeySecret?: string;
|
|
325
|
+
/** Optional. The API key to be used in the request directly. */
|
|
326
|
+
apiKeyString?: string;
|
|
325
327
|
/** Required. The location of the API key. */
|
|
326
328
|
httpElementLocation?: string;
|
|
327
329
|
/** Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. */
|
|
@@ -1250,7 +1252,7 @@ declare namespace gapi.client {
|
|
|
1250
1252
|
metadataSchemaUri?: string;
|
|
1251
1253
|
/** Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets. */
|
|
1252
1254
|
modelReference?: string;
|
|
1253
|
-
/** Output only. Identifier. The resource name of the Dataset. */
|
|
1255
|
+
/** Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
1254
1256
|
name?: string;
|
|
1255
1257
|
/** Output only. Reserved for future use. */
|
|
1256
1258
|
satisfiesPzi?: boolean;
|
|
@@ -1603,11 +1605,11 @@ declare namespace gapi.client {
|
|
|
1603
1605
|
baseTeacherModel?: string;
|
|
1604
1606
|
/** Optional. Hyperparameters for Distillation. */
|
|
1605
1607
|
hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
|
|
1606
|
-
/**
|
|
1608
|
+
/** Deprecated. 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. */
|
|
1607
1609
|
pipelineRootDirectory?: string;
|
|
1608
1610
|
/** The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. */
|
|
1609
1611
|
studentModel?: string;
|
|
1610
|
-
/**
|
|
1612
|
+
/** Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
1611
1613
|
trainingDatasetUri?: string;
|
|
1612
1614
|
/** The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. */
|
|
1613
1615
|
tunedTeacherModelSource?: string;
|
|
@@ -3047,6 +3049,8 @@ declare namespace gapi.client {
|
|
|
3047
3049
|
logprobs?: number;
|
|
3048
3050
|
/** Optional. The maximum number of output tokens to generate per message. */
|
|
3049
3051
|
maxOutputTokens?: number;
|
|
3052
|
+
/** Optional. If specified, the media resolution specified will be used. */
|
|
3053
|
+
mediaResolution?: string;
|
|
3050
3054
|
/** Optional. Positive penalties. */
|
|
3051
3055
|
presencePenalty?: number;
|
|
3052
3056
|
/** Optional. If true, export the logprobs results in response. */
|
|
@@ -3067,8 +3071,6 @@ declare namespace gapi.client {
|
|
|
3067
3071
|
stopSequences?: string[];
|
|
3068
3072
|
/** Optional. Controls the randomness of predictions. */
|
|
3069
3073
|
temperature?: number;
|
|
3070
|
-
/** Optional. If specified, the token resolution specified will be used. */
|
|
3071
|
-
tokenResolution?: string;
|
|
3072
3074
|
/** Optional. If specified, top-k sampling will be used. */
|
|
3073
3075
|
topK?: number;
|
|
3074
3076
|
/** Optional. If specified, nucleus sampling will be used. */
|
|
@@ -4175,6 +4177,8 @@ declare namespace gapi.client {
|
|
|
4175
4177
|
healthRoute?: string;
|
|
4176
4178
|
/** Required. Immutable. URI of the Docker image to be used as the custom container for serving predictions. This URI must identify an image in Artifact Registry or Container Registry. Learn more about the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon ModelService.UploadModel, stored internally, and this original path is afterwards not used. To learn about the requirements for the Docker image itself, see [Custom container requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). You can use the URI to one of Vertex AI's [pre-built container images for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) in this field. */
|
|
4177
4179
|
imageUri?: string;
|
|
4180
|
+
/** Immutable. Specification for Kubernetes liveness probe. */
|
|
4181
|
+
livenessProbe?: GoogleCloudAiplatformV1beta1Probe;
|
|
4178
4182
|
/** Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) to this port. If you do not specify this field, it defaults to following value: ```json [ { "containerPort": 8080 } ] ``` Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). */
|
|
4179
4183
|
ports?: GoogleCloudAiplatformV1beta1Port[];
|
|
4180
4184
|
/** Immutable. HTTP path on the container to send prediction requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict to this path on the container's IP address and port. Vertex AI then returns the container's response in the API response. For example, if you set this field to `/foo`, then when Vertex AI receives a prediction request, it forwards the request body in a POST request to the `/foo` path on the port of your container specified by the first value of this `ModelContainerSpec`'s ports field. If you don't specify this field, it defaults to the following value when you deploy this Model to an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict The placeholders in this value are replaced as follows: * ENDPOINT: The last segment (following `endpoints/`)of the Endpoint.name][] field of the Endpoint where this Model has been deployed. (Vertex AI makes this value available to your container code as the [`AIP_ENDPOINT_ID` environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID` environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) */
|
|
@@ -5278,6 +5282,8 @@ declare namespace gapi.client {
|
|
|
5278
5282
|
inlineData?: GoogleCloudAiplatformV1beta1Blob;
|
|
5279
5283
|
/** Optional. Text part (can be code). */
|
|
5280
5284
|
text?: string;
|
|
5285
|
+
/** Optional. Indicates if the part is thought from the model. */
|
|
5286
|
+
thought?: boolean;
|
|
5281
5287
|
/** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
5282
5288
|
videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
|
|
5283
5289
|
}
|
|
@@ -5627,8 +5633,14 @@ declare namespace gapi.client {
|
|
|
5627
5633
|
interface GoogleCloudAiplatformV1beta1Probe {
|
|
5628
5634
|
/** ExecAction probes the health of a container by executing a command. */
|
|
5629
5635
|
exec?: GoogleCloudAiplatformV1beta1ProbeExecAction;
|
|
5636
|
+
/** GrpcAction probes the health of a container by sending a gRPC request. */
|
|
5637
|
+
grpc?: GoogleCloudAiplatformV1beta1ProbeGrpcAction;
|
|
5638
|
+
/** HttpGetAction probes the health of a container by sending an HTTP GET request. */
|
|
5639
|
+
httpGet?: GoogleCloudAiplatformV1beta1ProbeHttpGetAction;
|
|
5630
5640
|
/** How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. */
|
|
5631
5641
|
periodSeconds?: number;
|
|
5642
|
+
/** TcpSocketAction probes the health of a container by opening a TCP socket connection. */
|
|
5643
|
+
tcpSocket?: GoogleCloudAiplatformV1beta1ProbeTcpSocketAction;
|
|
5632
5644
|
/** Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'. */
|
|
5633
5645
|
timeoutSeconds?: number;
|
|
5634
5646
|
}
|
|
@@ -5636,6 +5648,36 @@ declare namespace gapi.client {
|
|
|
5636
5648
|
/** 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. */
|
|
5637
5649
|
command?: string[];
|
|
5638
5650
|
}
|
|
5651
|
+
interface GoogleCloudAiplatformV1beta1ProbeGrpcAction {
|
|
5652
|
+
/** Port number of the gRPC service. Number must be in the range 1 to 65535. */
|
|
5653
|
+
port?: number;
|
|
5654
|
+
/** Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. */
|
|
5655
|
+
service?: string;
|
|
5656
|
+
}
|
|
5657
|
+
interface GoogleCloudAiplatformV1beta1ProbeHttpGetAction {
|
|
5658
|
+
/** Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in httpHeaders instead. */
|
|
5659
|
+
host?: string;
|
|
5660
|
+
/** Custom headers to set in the request. HTTP allows repeated headers. */
|
|
5661
|
+
httpHeaders?: GoogleCloudAiplatformV1beta1ProbeHttpHeader[];
|
|
5662
|
+
/** Path to access on the HTTP server. */
|
|
5663
|
+
path?: string;
|
|
5664
|
+
/** Number of the port to access on the container. Number must be in the range 1 to 65535. */
|
|
5665
|
+
port?: number;
|
|
5666
|
+
/** Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS". */
|
|
5667
|
+
scheme?: string;
|
|
5668
|
+
}
|
|
5669
|
+
interface GoogleCloudAiplatformV1beta1ProbeHttpHeader {
|
|
5670
|
+
/** The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. */
|
|
5671
|
+
name?: string;
|
|
5672
|
+
/** The header field value */
|
|
5673
|
+
value?: string;
|
|
5674
|
+
}
|
|
5675
|
+
interface GoogleCloudAiplatformV1beta1ProbeTcpSocketAction {
|
|
5676
|
+
/** Optional: Host name to connect to, defaults to the model serving container's IP. */
|
|
5677
|
+
host?: string;
|
|
5678
|
+
/** Number of the port to access on the container. Number must be in the range 1 to 65535. */
|
|
5679
|
+
port?: number;
|
|
5680
|
+
}
|
|
5639
5681
|
interface GoogleCloudAiplatformV1beta1PscAutomatedEndpoints {
|
|
5640
5682
|
/** Ip Address created by the automated forwarding rule. */
|
|
5641
5683
|
matchAddress?: string;
|
|
@@ -6127,6 +6169,8 @@ declare namespace gapi.client {
|
|
|
6127
6169
|
advancedParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser;
|
|
6128
6170
|
/** The Layout Parser to use for RagFiles. */
|
|
6129
6171
|
layoutParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser;
|
|
6172
|
+
/** The LLM Parser to use for RagFiles. */
|
|
6173
|
+
llmParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser;
|
|
6130
6174
|
/** Whether to use advanced PDF parsing. */
|
|
6131
6175
|
useAdvancedPdfParsing?: boolean;
|
|
6132
6176
|
}
|
|
@@ -6140,6 +6184,14 @@ declare namespace gapi.client {
|
|
|
6140
6184
|
/** The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}` */
|
|
6141
6185
|
processorName?: string;
|
|
6142
6186
|
}
|
|
6187
|
+
interface GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser {
|
|
6188
|
+
/** The prompt to use for parsing. If not specified, a default prompt will be used. */
|
|
6189
|
+
customParsingPrompt?: string;
|
|
6190
|
+
/** The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used. */
|
|
6191
|
+
maxParsingRequestsPerMin?: number;
|
|
6192
|
+
/** The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002` */
|
|
6193
|
+
modelName?: string;
|
|
6194
|
+
}
|
|
6143
6195
|
interface GoogleCloudAiplatformV1beta1RagFileTransformationConfig {
|
|
6144
6196
|
/** Specifies the chunking config for RagFiles. */
|
|
6145
6197
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
@@ -10214,7 +10266,7 @@ declare namespace gapi.client {
|
|
|
10214
10266
|
fields?: string;
|
|
10215
10267
|
/** 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. */
|
|
10216
10268
|
key?: string;
|
|
10217
|
-
/** Output only. Identifier. The resource name of the Dataset. */
|
|
10269
|
+
/** Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
10218
10270
|
name: string;
|
|
10219
10271
|
/** OAuth 2.0 token for the current user. */
|
|
10220
10272
|
oauth_token?: string;
|
|
@@ -10245,7 +10297,7 @@ declare namespace gapi.client {
|
|
|
10245
10297
|
fields?: string;
|
|
10246
10298
|
/** 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. */
|
|
10247
10299
|
key?: string;
|
|
10248
|
-
/** Output only. Identifier. The resource name of the Dataset. */
|
|
10300
|
+
/** Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
10249
10301
|
name: string;
|
|
10250
10302
|
/** OAuth 2.0 token for the current user. */
|
|
10251
10303
|
oauth_token?: string;
|
|
@@ -13405,7 +13457,7 @@ declare namespace gapi.client {
|
|
|
13405
13457
|
fields?: string;
|
|
13406
13458
|
/** 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. */
|
|
13407
13459
|
key?: string;
|
|
13408
|
-
/** Output only. Identifier. The resource name of the Dataset. */
|
|
13460
|
+
/** Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
13409
13461
|
name: string;
|
|
13410
13462
|
/** OAuth 2.0 token for the current user. */
|
|
13411
13463
|
oauth_token?: string;
|
|
@@ -13436,7 +13488,7 @@ declare namespace gapi.client {
|
|
|
13436
13488
|
fields?: string;
|
|
13437
13489
|
/** 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. */
|
|
13438
13490
|
key?: string;
|
|
13439
|
-
/** Output only. Identifier. The resource name of the Dataset. */
|
|
13491
|
+
/** Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
13440
13492
|
name: string;
|
|
13441
13493
|
/** OAuth 2.0 token for the current user. */
|
|
13442
13494
|
oauth_token?: string;
|
|
@@ -17467,6 +17519,35 @@ declare namespace gapi.client {
|
|
|
17467
17519
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17468
17520
|
uploadType?: string;
|
|
17469
17521
|
}): Request<GoogleCloudAiplatformV1beta1FeatureGroup>;
|
|
17522
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
17523
|
+
getIamPolicy(request?: {
|
|
17524
|
+
/** V1 error format. */
|
|
17525
|
+
'$.xgafv'?: string;
|
|
17526
|
+
/** OAuth access token. */
|
|
17527
|
+
access_token?: string;
|
|
17528
|
+
/** Data format for response. */
|
|
17529
|
+
alt?: string;
|
|
17530
|
+
/** JSONP */
|
|
17531
|
+
callback?: string;
|
|
17532
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17533
|
+
fields?: string;
|
|
17534
|
+
/** 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. */
|
|
17535
|
+
key?: string;
|
|
17536
|
+
/** OAuth 2.0 token for the current user. */
|
|
17537
|
+
oauth_token?: string;
|
|
17538
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
17539
|
+
'options.requestedPolicyVersion'?: number;
|
|
17540
|
+
/** Returns response with indentations and line breaks. */
|
|
17541
|
+
prettyPrint?: boolean;
|
|
17542
|
+
/** 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. */
|
|
17543
|
+
quotaUser?: string;
|
|
17544
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
17545
|
+
resource: string;
|
|
17546
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17547
|
+
upload_protocol?: string;
|
|
17548
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17549
|
+
uploadType?: string;
|
|
17550
|
+
}): Request<GoogleIamV1Policy>;
|
|
17470
17551
|
/** Lists FeatureGroups in a given project and location. */
|
|
17471
17552
|
list(request?: {
|
|
17472
17553
|
/** V1 error format. */
|
|
@@ -17564,6 +17645,65 @@ declare namespace gapi.client {
|
|
|
17564
17645
|
},
|
|
17565
17646
|
body: GoogleCloudAiplatformV1beta1FeatureGroup
|
|
17566
17647
|
): Request<GoogleLongrunningOperation>;
|
|
17648
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
17649
|
+
setIamPolicy(
|
|
17650
|
+
request: {
|
|
17651
|
+
/** V1 error format. */
|
|
17652
|
+
'$.xgafv'?: string;
|
|
17653
|
+
/** OAuth access token. */
|
|
17654
|
+
access_token?: string;
|
|
17655
|
+
/** Data format for response. */
|
|
17656
|
+
alt?: string;
|
|
17657
|
+
/** JSONP */
|
|
17658
|
+
callback?: string;
|
|
17659
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17660
|
+
fields?: string;
|
|
17661
|
+
/** 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. */
|
|
17662
|
+
key?: string;
|
|
17663
|
+
/** OAuth 2.0 token for the current user. */
|
|
17664
|
+
oauth_token?: string;
|
|
17665
|
+
/** Returns response with indentations and line breaks. */
|
|
17666
|
+
prettyPrint?: boolean;
|
|
17667
|
+
/** 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. */
|
|
17668
|
+
quotaUser?: string;
|
|
17669
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
17670
|
+
resource: string;
|
|
17671
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17672
|
+
upload_protocol?: string;
|
|
17673
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17674
|
+
uploadType?: string;
|
|
17675
|
+
},
|
|
17676
|
+
body: GoogleIamV1SetIamPolicyRequest
|
|
17677
|
+
): Request<GoogleIamV1Policy>;
|
|
17678
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
17679
|
+
testIamPermissions(request?: {
|
|
17680
|
+
/** V1 error format. */
|
|
17681
|
+
'$.xgafv'?: string;
|
|
17682
|
+
/** OAuth access token. */
|
|
17683
|
+
access_token?: string;
|
|
17684
|
+
/** Data format for response. */
|
|
17685
|
+
alt?: string;
|
|
17686
|
+
/** JSONP */
|
|
17687
|
+
callback?: string;
|
|
17688
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17689
|
+
fields?: string;
|
|
17690
|
+
/** 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. */
|
|
17691
|
+
key?: string;
|
|
17692
|
+
/** OAuth 2.0 token for the current user. */
|
|
17693
|
+
oauth_token?: string;
|
|
17694
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
17695
|
+
permissions?: string | string[];
|
|
17696
|
+
/** Returns response with indentations and line breaks. */
|
|
17697
|
+
prettyPrint?: boolean;
|
|
17698
|
+
/** 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. */
|
|
17699
|
+
quotaUser?: string;
|
|
17700
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
17701
|
+
resource: string;
|
|
17702
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17703
|
+
upload_protocol?: string;
|
|
17704
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17705
|
+
uploadType?: string;
|
|
17706
|
+
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
17567
17707
|
featureMonitors: FeatureMonitorsResource;
|
|
17568
17708
|
features: FeaturesResource;
|
|
17569
17709
|
operations: OperationsResource;
|