@maxim_mazurok/gapi.client.bigquerydatatransfer-v1 0.0.20230708 → 0.0.20230722
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 +20 -3
- package/package.json +1 -1
- package/tests.ts +13 -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://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230722
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -150,6 +150,11 @@ declare namespace gapi.client {
|
|
|
150
150
|
// tslint:disable-next-line:no-empty-interface
|
|
151
151
|
interface Empty {
|
|
152
152
|
}
|
|
153
|
+
interface EncryptionConfiguration {
|
|
154
|
+
/** The name of the KMS key used for encrypting BigQuery data. */
|
|
155
|
+
kmsKeyName?:
|
|
156
|
+
string;
|
|
157
|
+
}
|
|
153
158
|
interface EnrollDataSourcesRequest {
|
|
154
159
|
/** Data sources that are enrolled. It is required to provide at least one data source id. */
|
|
155
160
|
dataSourceIds?:
|
|
@@ -249,10 +254,16 @@ declare namespace gapi.client {
|
|
|
249
254
|
TransferRun[];
|
|
250
255
|
}
|
|
251
256
|
interface StartManualTransferRunsRequest {
|
|
252
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot
|
|
259
|
+
* include future time values.
|
|
260
|
+
*/
|
|
253
261
|
requestedRunTime?:
|
|
254
262
|
string;
|
|
255
|
-
/**
|
|
263
|
+
/**
|
|
264
|
+
* A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past
|
|
265
|
+
* time and cannot include future time values.
|
|
266
|
+
*/
|
|
256
267
|
requestedTimeRange?:
|
|
257
268
|
TimeRange;
|
|
258
269
|
}
|
|
@@ -317,6 +328,12 @@ declare namespace gapi.client {
|
|
|
317
328
|
/** Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config. */
|
|
318
329
|
emailPreferences?:
|
|
319
330
|
EmailPreferences;
|
|
331
|
+
/**
|
|
332
|
+
* The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key.
|
|
333
|
+
* Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent.
|
|
334
|
+
*/
|
|
335
|
+
encryptionConfiguration?:
|
|
336
|
+
EncryptionConfiguration;
|
|
320
337
|
/**
|
|
321
338
|
* The resource name of the transfer config. Transfer config names have the form `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually a
|
|
322
339
|
* uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer config.
|
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: 20230722
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -114,6 +114,9 @@ gapi.load('client', async () => {
|
|
|
114
114
|
emailPreferences: {
|
|
115
115
|
enableFailureEmail: true,
|
|
116
116
|
},
|
|
117
|
+
encryptionConfiguration: {
|
|
118
|
+
kmsKeyName: "Test string",
|
|
119
|
+
},
|
|
117
120
|
name: "Test string",
|
|
118
121
|
nextRunTime: "Test string",
|
|
119
122
|
notificationPubsubTopic: "Test string",
|
|
@@ -165,6 +168,9 @@ gapi.load('client', async () => {
|
|
|
165
168
|
emailPreferences: {
|
|
166
169
|
enableFailureEmail: true,
|
|
167
170
|
},
|
|
171
|
+
encryptionConfiguration: {
|
|
172
|
+
kmsKeyName: "Test string",
|
|
173
|
+
},
|
|
168
174
|
name: "Test string",
|
|
169
175
|
nextRunTime: "Test string",
|
|
170
176
|
notificationPubsubTopic: "Test string",
|
|
@@ -246,6 +252,9 @@ gapi.load('client', async () => {
|
|
|
246
252
|
emailPreferences: {
|
|
247
253
|
enableFailureEmail: true,
|
|
248
254
|
},
|
|
255
|
+
encryptionConfiguration: {
|
|
256
|
+
kmsKeyName: "Test string",
|
|
257
|
+
},
|
|
249
258
|
name: "Test string",
|
|
250
259
|
nextRunTime: "Test string",
|
|
251
260
|
notificationPubsubTopic: "Test string",
|
|
@@ -297,6 +306,9 @@ gapi.load('client', async () => {
|
|
|
297
306
|
emailPreferences: {
|
|
298
307
|
enableFailureEmail: true,
|
|
299
308
|
},
|
|
309
|
+
encryptionConfiguration: {
|
|
310
|
+
kmsKeyName: "Test string",
|
|
311
|
+
},
|
|
300
312
|
name: "Test string",
|
|
301
313
|
nextRunTime: "Test string",
|
|
302
314
|
notificationPubsubTopic: "Test string",
|