@maxim_mazurok/gapi.client.dataproc-v1 0.0.20240130 → 0.0.20240209
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 +89 -5
- 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://dataproc.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240209
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -30,6 +30,24 @@ declare namespace gapi.client {
|
|
|
30
30
|
/** Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80. */
|
|
31
31
|
acceleratorTypeUri?: string;
|
|
32
32
|
}
|
|
33
|
+
interface AnalyzeOperationMetadata {
|
|
34
|
+
/** Output only. name of the workload being analyzed. */
|
|
35
|
+
analyzedWorkloadName?: string;
|
|
36
|
+
/** Output only. Type of the workload being analyzed. */
|
|
37
|
+
analyzedWorkloadType?: string;
|
|
38
|
+
/** Output only. unique identifier of the workload typically generated by control plane. E.g. batch uuid. */
|
|
39
|
+
analyzedWorkloadUuid?: string;
|
|
40
|
+
/** Output only. The time when the operation was created. */
|
|
41
|
+
createTime?: string;
|
|
42
|
+
/** Output only. Short description of the operation. */
|
|
43
|
+
description?: string;
|
|
44
|
+
/** Output only. The time when the operation finished. */
|
|
45
|
+
doneTime?: string;
|
|
46
|
+
/** Output only. Labels associated with the operation. */
|
|
47
|
+
labels?: {[P in string]: string};
|
|
48
|
+
/** Output only. Warnings encountered during operation execution. */
|
|
49
|
+
warnings?: string[];
|
|
50
|
+
}
|
|
33
51
|
interface AutoscalingConfig {
|
|
34
52
|
/** Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region. */
|
|
35
53
|
policyUri?: string;
|
|
@@ -138,7 +156,7 @@ declare namespace gapi.client {
|
|
|
138
156
|
condition?: Expr;
|
|
139
157
|
/** 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. */
|
|
140
158
|
members?: string[];
|
|
141
|
-
/** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner. */
|
|
159
|
+
/** 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). */
|
|
142
160
|
role?: string;
|
|
143
161
|
}
|
|
144
162
|
interface CancelJobRequest {}
|
|
@@ -1015,6 +1033,14 @@ declare namespace gapi.client {
|
|
|
1015
1033
|
/** Optional. A unique ID used to identify the request. If the server receives two RepairClusterRequests with the same ID, the second request is ignored, and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
|
|
1016
1034
|
requestId?: string;
|
|
1017
1035
|
}
|
|
1036
|
+
interface RepairNodeGroupRequest {
|
|
1037
|
+
/** Required. Name of instances to be repaired. These instances must belong to specified node pool. */
|
|
1038
|
+
instanceNames?: string[];
|
|
1039
|
+
/** Required. Repair action to take on specified resources of the node pool. */
|
|
1040
|
+
repairAction?: string;
|
|
1041
|
+
/** Optional. A unique ID used to identify the request. If the server receives two RepairNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
|
|
1042
|
+
requestId?: string;
|
|
1043
|
+
}
|
|
1018
1044
|
interface RepositoryConfig {
|
|
1019
1045
|
/** Optional. Configuration for PyPi repository. */
|
|
1020
1046
|
pypiRepositoryConfig?: PyPiRepositoryConfig;
|
|
@@ -3191,7 +3217,7 @@ declare namespace gapi.client {
|
|
|
3191
3217
|
prettyPrint?: boolean;
|
|
3192
3218
|
/** 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. */
|
|
3193
3219
|
quotaUser?: string;
|
|
3194
|
-
/** Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.
|
|
3220
|
+
/** Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
|
|
3195
3221
|
requestId?: string;
|
|
3196
3222
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3197
3223
|
upload_protocol?: string;
|
|
@@ -3226,7 +3252,7 @@ declare namespace gapi.client {
|
|
|
3226
3252
|
prettyPrint?: boolean;
|
|
3227
3253
|
/** 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. */
|
|
3228
3254
|
quotaUser?: string;
|
|
3229
|
-
/** Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.
|
|
3255
|
+
/** Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
|
|
3230
3256
|
requestId?: string;
|
|
3231
3257
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3232
3258
|
upload_protocol?: string;
|
|
@@ -3262,6 +3288,64 @@ declare namespace gapi.client {
|
|
|
3262
3288
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3263
3289
|
uploadType?: string;
|
|
3264
3290
|
}): Request<NodeGroup>;
|
|
3291
|
+
/** Repair nodes in a node group. */
|
|
3292
|
+
repair(request: {
|
|
3293
|
+
/** V1 error format. */
|
|
3294
|
+
'$.xgafv'?: string;
|
|
3295
|
+
/** OAuth access token. */
|
|
3296
|
+
access_token?: string;
|
|
3297
|
+
/** Data format for response. */
|
|
3298
|
+
alt?: string;
|
|
3299
|
+
/** JSONP */
|
|
3300
|
+
callback?: string;
|
|
3301
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3302
|
+
fields?: string;
|
|
3303
|
+
/** 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. */
|
|
3304
|
+
key?: string;
|
|
3305
|
+
/** Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} */
|
|
3306
|
+
name: string;
|
|
3307
|
+
/** OAuth 2.0 token for the current user. */
|
|
3308
|
+
oauth_token?: string;
|
|
3309
|
+
/** Returns response with indentations and line breaks. */
|
|
3310
|
+
prettyPrint?: boolean;
|
|
3311
|
+
/** 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. */
|
|
3312
|
+
quotaUser?: string;
|
|
3313
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3314
|
+
upload_protocol?: string;
|
|
3315
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3316
|
+
uploadType?: string;
|
|
3317
|
+
/** Request body */
|
|
3318
|
+
resource: RepairNodeGroupRequest;
|
|
3319
|
+
}): Request<Operation>;
|
|
3320
|
+
repair(
|
|
3321
|
+
request: {
|
|
3322
|
+
/** V1 error format. */
|
|
3323
|
+
'$.xgafv'?: string;
|
|
3324
|
+
/** OAuth access token. */
|
|
3325
|
+
access_token?: string;
|
|
3326
|
+
/** Data format for response. */
|
|
3327
|
+
alt?: string;
|
|
3328
|
+
/** JSONP */
|
|
3329
|
+
callback?: string;
|
|
3330
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3331
|
+
fields?: string;
|
|
3332
|
+
/** 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. */
|
|
3333
|
+
key?: string;
|
|
3334
|
+
/** Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} */
|
|
3335
|
+
name: string;
|
|
3336
|
+
/** OAuth 2.0 token for the current user. */
|
|
3337
|
+
oauth_token?: string;
|
|
3338
|
+
/** Returns response with indentations and line breaks. */
|
|
3339
|
+
prettyPrint?: boolean;
|
|
3340
|
+
/** 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. */
|
|
3341
|
+
quotaUser?: string;
|
|
3342
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3343
|
+
upload_protocol?: string;
|
|
3344
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3345
|
+
uploadType?: string;
|
|
3346
|
+
},
|
|
3347
|
+
body: RepairNodeGroupRequest
|
|
3348
|
+
): Request<Operation>;
|
|
3265
3349
|
/** Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). */
|
|
3266
3350
|
resize(request: {
|
|
3267
3351
|
/** V1 error format. */
|
|
@@ -3634,7 +3718,7 @@ declare namespace gapi.client {
|
|
|
3634
3718
|
callback?: string;
|
|
3635
3719
|
/** Selector specifying which fields to include in a partial response. */
|
|
3636
3720
|
fields?: string;
|
|
3637
|
-
/** Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or
|
|
3721
|
+
/** Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = * */
|
|
3638
3722
|
filter?: string;
|
|
3639
3723
|
/** 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. */
|
|
3640
3724
|
key?: string;
|