@maxim_mazurok/gapi.client.bigquerydatatransfer-v1 0.0.20230715 → 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.
Files changed (3) hide show
  1. package/index.d.ts +12 -1
  2. package/package.json +1 -1
  3. 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: 20230715
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?:
@@ -323,6 +328,12 @@ declare namespace gapi.client {
323
328
  /** Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config. */
324
329
  emailPreferences?:
325
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;
326
337
  /**
327
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
328
339
  * uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquerydatatransfer-v1",
3
- "version": "0.0.20230715",
3
+ "version": "0.0.20230722",
4
4
  "description": "TypeScript typings for BigQuery Data Transfer API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230715
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",