@maxim_mazurok/gapi.client.dataproc-v1 0.0.20230117 → 0.0.20230202
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 +34 -8
- package/package.json +1 -1
- package/tests.ts +5 -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: 20230202
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -191,13 +191,14 @@ declare namespace gapi.client {
|
|
|
191
191
|
* example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com.
|
|
192
192
|
* serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account
|
|
193
193
|
* (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
|
|
194
|
-
* address that represents a Google group. For example, admins@example.com.
|
|
195
|
-
*
|
|
196
|
-
* the
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
194
|
+
* 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,
|
|
195
|
+
* google.com or example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
|
|
196
|
+
* 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.
|
|
197
|
+
* deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
|
|
198
|
+
* my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service
|
|
199
|
+
* 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
|
|
200
|
+
* 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
|
|
201
|
+
* binding.
|
|
201
202
|
*/
|
|
202
203
|
members?: string[];
|
|
203
204
|
/** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner. */
|
|
@@ -437,8 +438,21 @@ declare namespace gapi.client {
|
|
|
437
438
|
networkUri?: string;
|
|
438
439
|
/** Optional. Service account that used to execute workload. */
|
|
439
440
|
serviceAccount?: string;
|
|
441
|
+
/**
|
|
442
|
+
* Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not
|
|
443
|
+
* specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level,
|
|
444
|
+
* per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.
|
|
445
|
+
*/
|
|
446
|
+
stagingBucket?: string;
|
|
440
447
|
/** Optional. Subnetwork URI to connect workload to. */
|
|
441
448
|
subnetworkUri?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Optional. The duration after which the workload will be terminated. When the workload passes this ttl, it will be unconditionally killed without waiting for ongoing work to finish.
|
|
451
|
+
* Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and
|
|
452
|
+
* idle_ttl are specified, the conditions are treated as and OR: the workload will be terminated when it has been idle for idle_ttl or when the ttl has passed, whichever comes first.
|
|
453
|
+
* If ttl is not specified for a session, it defaults to 24h.
|
|
454
|
+
*/
|
|
455
|
+
ttl?: string;
|
|
442
456
|
}
|
|
443
457
|
interface Expr {
|
|
444
458
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
@@ -2244,10 +2258,22 @@ declare namespace gapi.client {
|
|
|
2244
2258
|
callback?: string;
|
|
2245
2259
|
/** Selector specifying which fields to include in a partial response. */
|
|
2246
2260
|
fields?: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* Optional. A filter for the batches to return in the response.A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case
|
|
2263
|
+
* sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are batch_id, batch_uuid, state, and create_time.e.g. state = RUNNING and
|
|
2264
|
+
* create_time < "2023-01-01T00:00:00Z" filters for batches in state RUNNING that were created before 2023-01-01See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a
|
|
2265
|
+
* detailed description of the filter syntax and a list of supported comparisons.
|
|
2266
|
+
*/
|
|
2267
|
+
filter?: string;
|
|
2247
2268
|
/** 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. */
|
|
2248
2269
|
key?: string;
|
|
2249
2270
|
/** OAuth 2.0 token for the current user. */
|
|
2250
2271
|
oauth_token?: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* Optional. Field(s) on which to sort the list of batches.Currently the only supported sort orders are unspecified (empty) and create_time desc to sort by most recently created
|
|
2274
|
+
* batches first.See https://google.aip.dev/132#ordering for more details.
|
|
2275
|
+
*/
|
|
2276
|
+
orderBy?: string;
|
|
2251
2277
|
/** Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000. */
|
|
2252
2278
|
pageSize?: number;
|
|
2253
2279
|
/** Optional. A page token received from a previous ListBatches call. Provide this token to retrieve the subsequent page. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230202
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -176,7 +176,9 @@ gapi.load('client', async () => {
|
|
|
176
176
|
],
|
|
177
177
|
networkUri: "Test string",
|
|
178
178
|
serviceAccount: "Test string",
|
|
179
|
+
stagingBucket: "Test string",
|
|
179
180
|
subnetworkUri: "Test string",
|
|
181
|
+
ttl: "Test string",
|
|
180
182
|
},
|
|
181
183
|
peripheralsConfig: {
|
|
182
184
|
metastoreService: "Test string",
|
|
@@ -290,6 +292,8 @@ gapi.load('client', async () => {
|
|
|
290
292
|
});
|
|
291
293
|
/** Lists batch workloads. */
|
|
292
294
|
await gapi.client.dataproc.projects.locations.batches.list({
|
|
295
|
+
filter: "Test string",
|
|
296
|
+
orderBy: "Test string",
|
|
293
297
|
pageSize: 42,
|
|
294
298
|
pageToken: "Test string",
|
|
295
299
|
parent: "Test string",
|