@googleapis/storagetransfer 3.0.0 → 4.0.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/storagetransfer-v3.2.0...storagetransfer-v4.0.0) (2022-10-28)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **build:** This release has breaking changes.
9
+
10
+ ### Features
11
+
12
+ * **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
13
+
14
+ ## [3.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/storagetransfer-v3.1.0...storagetransfer-v3.2.0) (2022-09-21)
15
+
16
+
17
+ ### Features
18
+
19
+ * **storagetransfer:** update the API ([2f866d5](https://github.com/googleapis/google-api-nodejs-client/commit/2f866d5f535543e962373fe472488116189d027d))
20
+
21
+ ## [3.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/storagetransfer-v3.0.1...storagetransfer-v3.1.0) (2022-08-19)
22
+
23
+
24
+ ### Features
25
+
26
+ * **storagetransfer:** update the API ([5146aaa](https://github.com/googleapis/google-api-nodejs-client/commit/5146aaa3367d5f4a4d814c41ff6821c472a50564))
27
+
28
+ ## [3.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/storagetransfer-v3.0.0...storagetransfer-v3.0.1) (2022-06-21)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **storagetransfer:** update the API ([6c6020d](https://github.com/googleapis/google-api-nodejs-client/commit/6c6020d880b50edd6197f2ff9bbcc30d62342b15))
34
+
3
35
  ## [3.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/storagetransfer-v2.7.0...storagetransfer-v3.0.0) (2022-06-15)
4
36
 
5
37
 
package/build/index.js CHANGED
@@ -12,19 +12,20 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AuthPlus = exports.storagetransfer_v1 = exports.auth = exports.storagetransfer = exports.VERSIONS = void 0;
15
16
  /*! THIS FILE IS AUTO-GENERATED */
16
17
  const googleapis_common_1 = require("googleapis-common");
17
18
  const v1_1 = require("./v1");
18
- exports.storagetransfer_v1 = v1_1.storagetransfer_v1;
19
+ Object.defineProperty(exports, "storagetransfer_v1", { enumerable: true, get: function () { return v1_1.storagetransfer_v1; } });
19
20
  exports.VERSIONS = {
20
21
  v1: v1_1.storagetransfer_v1.Storagetransfer,
21
22
  };
22
23
  function storagetransfer(versionOrOptions) {
23
- return googleapis_common_1.getAPI('storagetransfer', versionOrOptions, exports.VERSIONS, this);
24
+ return (0, googleapis_common_1.getAPI)('storagetransfer', versionOrOptions, exports.VERSIONS, this);
24
25
  }
25
26
  exports.storagetransfer = storagetransfer;
26
27
  const auth = new googleapis_common_1.AuthPlus();
27
28
  exports.auth = auth;
28
29
  var googleapis_common_2 = require("googleapis-common");
29
- exports.AuthPlus = googleapis_common_2.AuthPlus;
30
+ Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAwC;AAqBhC,6BArBA,uBAAkB,CAqBA;AAnBb,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,uBAAkB,CAAC,eAAe;CACvC,CAAC;AAQF,SAAgB,eAAe,CAE7B,gBAAmD;IAEnD,OAAO,0BAAM,CAAI,iBAAiB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACxE,CAAC;AALD,0CAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,uCAAA,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAwC;AAqBhC,mGArBA,uBAAkB,OAqBA;AAnBb,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,uBAAkB,CAAC,eAAe;CACvC,CAAC;AAQF,SAAgB,eAAe,CAE7B,gBAAmD;IAEnD,OAAO,IAAA,0BAAM,EAAI,iBAAiB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACxE,CAAC;AALD,0CAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
package/build/v1.d.ts CHANGED
@@ -108,6 +108,31 @@ export declare namespace storagetransfer_v1 {
108
108
  */
109
109
  secretAccessKey?: string | null;
110
110
  }
111
+ /**
112
+ * An AwsS3CompatibleData resource.
113
+ */
114
+ export interface Schema$AwsS3CompatibleData {
115
+ /**
116
+ * Required. Specifies the name of the bucket.
117
+ */
118
+ bucketName?: string | null;
119
+ /**
120
+ * Required. Specifies the endpoint of the storage service.
121
+ */
122
+ endpoint?: string | null;
123
+ /**
124
+ * Specifies the root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
125
+ */
126
+ path?: string | null;
127
+ /**
128
+ * Specifies the region to sign requests with. This can be left blank if requests should be signed with an empty region.
129
+ */
130
+ region?: string | null;
131
+ /**
132
+ * A S3 compatible metadata.
133
+ */
134
+ s3Metadata?: Schema$S3CompatibleMetadata;
135
+ }
111
136
  /**
112
137
  * An AwsS3Data resource can be a data source, but not a data sink. In an AwsS3Data resource, an object's name is the S3 object's key name.
113
138
  */
@@ -460,6 +485,27 @@ export declare namespace storagetransfer_v1 {
460
485
  */
461
486
  projectId?: string | null;
462
487
  }
488
+ /**
489
+ * S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.
490
+ */
491
+ export interface Schema$S3CompatibleMetadata {
492
+ /**
493
+ * Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
494
+ */
495
+ authMethod?: string | null;
496
+ /**
497
+ * The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
498
+ */
499
+ listApi?: string | null;
500
+ /**
501
+ * Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
502
+ */
503
+ protocol?: string | null;
504
+ /**
505
+ * Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
506
+ */
507
+ requestModel?: string | null;
508
+ }
463
509
  /**
464
510
  * Transfers can be scheduled to recur or to run just once.
465
511
  */
@@ -734,7 +780,7 @@ export declare namespace storagetransfer_v1 {
734
780
  */
735
781
  deleteObjectsUniqueInSink?: boolean | null;
736
782
  /**
737
- * Represents the selected metadata options for a transfer job. This feature is in Preview.
783
+ * Represents the selected metadata options for a transfer job.
738
784
  */
739
785
  metadataOptions?: Schema$MetadataOptions;
740
786
  /**
@@ -750,6 +796,10 @@ export declare namespace storagetransfer_v1 {
750
796
  * Configuration for running a transfer.
751
797
  */
752
798
  export interface Schema$TransferSpec {
799
+ /**
800
+ * An AWS S3 compatible data source.
801
+ */
802
+ awsS3CompatibleDataSource?: Schema$AwsS3CompatibleData;
753
803
  /**
754
804
  * An AWS S3 data source.
755
805
  */
@@ -812,7 +862,7 @@ export declare namespace storagetransfer_v1 {
812
862
  */
813
863
  projectId?: string | null;
814
864
  /**
815
- * Required. The job to update. `transferJob` is expected to specify one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires `storagetransfer.jobs.delete` permissions.
865
+ * Required. The job to update. `transferJob` is expected to specify one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires `storagetransfer.jobs.delete` permission.
816
866
  */
817
867
  transferJob?: Schema$TransferJob;
818
868
  /**
@@ -1360,6 +1410,62 @@ export declare namespace storagetransfer_v1 {
1360
1410
  create(params: Params$Resource$Transferjobs$Create, options: MethodOptions | BodyResponseCallback<Schema$TransferJob>, callback: BodyResponseCallback<Schema$TransferJob>): void;
1361
1411
  create(params: Params$Resource$Transferjobs$Create, callback: BodyResponseCallback<Schema$TransferJob>): void;
1362
1412
  create(callback: BodyResponseCallback<Schema$TransferJob>): void;
1413
+ /**
1414
+ * Deletes a transfer job. Deleting a transfer job sets its status to DELETED.
1415
+ * @example
1416
+ * ```js
1417
+ * // Before running the sample:
1418
+ * // - Enable the API at:
1419
+ * // https://console.developers.google.com/apis/api/storagetransfer.googleapis.com
1420
+ * // - Login into gcloud by running:
1421
+ * // `$ gcloud auth application-default login`
1422
+ * // - Install the npm module by running:
1423
+ * // `$ npm install googleapis`
1424
+ *
1425
+ * const {google} = require('googleapis');
1426
+ * const storagetransfer = google.storagetransfer('v1');
1427
+ *
1428
+ * async function main() {
1429
+ * const auth = new google.auth.GoogleAuth({
1430
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1431
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1432
+ * });
1433
+ *
1434
+ * // Acquire an auth client, and bind it to all future calls
1435
+ * const authClient = await auth.getClient();
1436
+ * google.options({auth: authClient});
1437
+ *
1438
+ * // Do the magic
1439
+ * const res = await storagetransfer.transferJobs.delete({
1440
+ * // Required. The job to delete.
1441
+ * jobName: 'transferJobs/.*',
1442
+ * // Required. The ID of the Google Cloud project that owns the job.
1443
+ * projectId: 'placeholder-value',
1444
+ * });
1445
+ * console.log(res.data);
1446
+ *
1447
+ * // Example response
1448
+ * // {}
1449
+ * }
1450
+ *
1451
+ * main().catch(e => {
1452
+ * console.error(e);
1453
+ * throw e;
1454
+ * });
1455
+ *
1456
+ * ```
1457
+ *
1458
+ * @param params - Parameters for request
1459
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1460
+ * @param callback - Optional callback that handles the response.
1461
+ * @returns A promise if used with async/await, or void if used with a callback.
1462
+ */
1463
+ delete(params: Params$Resource$Transferjobs$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1464
+ delete(params?: Params$Resource$Transferjobs$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
1465
+ delete(params: Params$Resource$Transferjobs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1466
+ delete(params: Params$Resource$Transferjobs$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1467
+ delete(params: Params$Resource$Transferjobs$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
1468
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
1363
1469
  /**
1364
1470
  * Gets a transfer job.
1365
1471
  * @example
@@ -1568,7 +1674,7 @@ export declare namespace storagetransfer_v1 {
1568
1674
  patch(params: Params$Resource$Transferjobs$Patch, callback: BodyResponseCallback<Schema$TransferJob>): void;
1569
1675
  patch(callback: BodyResponseCallback<Schema$TransferJob>): void;
1570
1676
  /**
1571
- * Attempts to start a new TransferOperation for the current TransferJob. A TransferJob has a maximum of one active TransferOperation. If this method is called while a TransferOperation is active, an error will be returned.
1677
+ * Starts a new operation for the specified transfer job. A `TransferJob` has a maximum of one active `TransferOperation`. If this method is called while a `TransferOperation` is active, an error is returned.
1572
1678
  * @example
1573
1679
  * ```js
1574
1680
  * // Before running the sample:
@@ -1642,6 +1748,16 @@ export declare namespace storagetransfer_v1 {
1642
1748
  */
1643
1749
  requestBody?: Schema$TransferJob;
1644
1750
  }
1751
+ export interface Params$Resource$Transferjobs$Delete extends StandardParameters {
1752
+ /**
1753
+ * Required. The job to delete.
1754
+ */
1755
+ jobName?: string;
1756
+ /**
1757
+ * Required. The ID of the Google Cloud project that owns the job.
1758
+ */
1759
+ projectId?: string;
1760
+ }
1645
1761
  export interface Params$Resource$Transferjobs$Get extends StandardParameters {
1646
1762
  /**
1647
1763
  * Required. The job to get.
package/build/v1.js CHANGED
@@ -12,8 +12,8 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.storagetransfer_v1 = void 0;
15
16
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
- /* eslint-disable @typescript-eslint/class-name-casing */
17
17
  /* eslint-disable @typescript-eslint/no-unused-vars */
18
18
  /* eslint-disable @typescript-eslint/no-empty-interface */
19
19
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -74,10 +74,10 @@ var storagetransfer_v1;
74
74
  context: this.context,
75
75
  };
76
76
  if (callback) {
77
- googleapis_common_1.createAPIRequest(parameters, callback);
77
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
78
78
  }
79
79
  else {
80
- return googleapis_common_1.createAPIRequest(parameters);
80
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
81
81
  }
82
82
  }
83
83
  }
@@ -118,10 +118,10 @@ var storagetransfer_v1;
118
118
  context: this.context,
119
119
  };
120
120
  if (callback) {
121
- googleapis_common_1.createAPIRequest(parameters, callback);
121
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
122
122
  }
123
123
  else {
124
- return googleapis_common_1.createAPIRequest(parameters);
124
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
125
125
  }
126
126
  }
127
127
  delete(paramsOrCallback, optionsOrCallback, callback) {
@@ -149,10 +149,10 @@ var storagetransfer_v1;
149
149
  context: this.context,
150
150
  };
151
151
  if (callback) {
152
- googleapis_common_1.createAPIRequest(parameters, callback);
152
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
153
153
  }
154
154
  else {
155
- return googleapis_common_1.createAPIRequest(parameters);
155
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
156
156
  }
157
157
  }
158
158
  get(paramsOrCallback, optionsOrCallback, callback) {
@@ -180,10 +180,10 @@ var storagetransfer_v1;
180
180
  context: this.context,
181
181
  };
182
182
  if (callback) {
183
- googleapis_common_1.createAPIRequest(parameters, callback);
183
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
184
184
  }
185
185
  else {
186
- return googleapis_common_1.createAPIRequest(parameters);
186
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
187
187
  }
188
188
  }
189
189
  list(paramsOrCallback, optionsOrCallback, callback) {
@@ -211,10 +211,10 @@ var storagetransfer_v1;
211
211
  context: this.context,
212
212
  };
213
213
  if (callback) {
214
- googleapis_common_1.createAPIRequest(parameters, callback);
214
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
215
215
  }
216
216
  else {
217
- return googleapis_common_1.createAPIRequest(parameters);
217
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
218
218
  }
219
219
  }
220
220
  patch(paramsOrCallback, optionsOrCallback, callback) {
@@ -242,10 +242,10 @@ var storagetransfer_v1;
242
242
  context: this.context,
243
243
  };
244
244
  if (callback) {
245
- googleapis_common_1.createAPIRequest(parameters, callback);
245
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
246
246
  }
247
247
  else {
248
- return googleapis_common_1.createAPIRequest(parameters);
248
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
249
249
  }
250
250
  }
251
251
  }
@@ -279,10 +279,41 @@ var storagetransfer_v1;
279
279
  context: this.context,
280
280
  };
281
281
  if (callback) {
282
- googleapis_common_1.createAPIRequest(parameters, callback);
282
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
283
283
  }
284
284
  else {
285
- return googleapis_common_1.createAPIRequest(parameters);
285
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
286
+ }
287
+ }
288
+ delete(paramsOrCallback, optionsOrCallback, callback) {
289
+ let params = (paramsOrCallback ||
290
+ {});
291
+ let options = (optionsOrCallback || {});
292
+ if (typeof paramsOrCallback === 'function') {
293
+ callback = paramsOrCallback;
294
+ params = {};
295
+ options = {};
296
+ }
297
+ if (typeof optionsOrCallback === 'function') {
298
+ callback = optionsOrCallback;
299
+ options = {};
300
+ }
301
+ const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';
302
+ const parameters = {
303
+ options: Object.assign({
304
+ url: (rootUrl + '/v1/{+jobName}').replace(/([^:]\/)\/+/g, '$1'),
305
+ method: 'DELETE',
306
+ }, options),
307
+ params,
308
+ requiredParams: ['jobName', 'projectId'],
309
+ pathParams: ['jobName'],
310
+ context: this.context,
311
+ };
312
+ if (callback) {
313
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
314
+ }
315
+ else {
316
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
286
317
  }
287
318
  }
288
319
  get(paramsOrCallback, optionsOrCallback, callback) {
@@ -309,10 +340,10 @@ var storagetransfer_v1;
309
340
  context: this.context,
310
341
  };
311
342
  if (callback) {
312
- googleapis_common_1.createAPIRequest(parameters, callback);
343
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
313
344
  }
314
345
  else {
315
- return googleapis_common_1.createAPIRequest(parameters);
346
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
316
347
  }
317
348
  }
318
349
  list(paramsOrCallback, optionsOrCallback, callback) {
@@ -340,10 +371,10 @@ var storagetransfer_v1;
340
371
  context: this.context,
341
372
  };
342
373
  if (callback) {
343
- googleapis_common_1.createAPIRequest(parameters, callback);
374
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
344
375
  }
345
376
  else {
346
- return googleapis_common_1.createAPIRequest(parameters);
377
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
347
378
  }
348
379
  }
349
380
  patch(paramsOrCallback, optionsOrCallback, callback) {
@@ -371,10 +402,10 @@ var storagetransfer_v1;
371
402
  context: this.context,
372
403
  };
373
404
  if (callback) {
374
- googleapis_common_1.createAPIRequest(parameters, callback);
405
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
375
406
  }
376
407
  else {
377
- return googleapis_common_1.createAPIRequest(parameters);
408
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
378
409
  }
379
410
  }
380
411
  run(paramsOrCallback, optionsOrCallback, callback) {
@@ -401,10 +432,10 @@ var storagetransfer_v1;
401
432
  context: this.context,
402
433
  };
403
434
  if (callback) {
404
- googleapis_common_1.createAPIRequest(parameters, callback);
435
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
405
436
  }
406
437
  else {
407
- return googleapis_common_1.createAPIRequest(parameters);
438
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
408
439
  }
409
440
  }
410
441
  }
@@ -438,10 +469,10 @@ var storagetransfer_v1;
438
469
  context: this.context,
439
470
  };
440
471
  if (callback) {
441
- googleapis_common_1.createAPIRequest(parameters, callback);
472
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
442
473
  }
443
474
  else {
444
- return googleapis_common_1.createAPIRequest(parameters);
475
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
445
476
  }
446
477
  }
447
478
  get(paramsOrCallback, optionsOrCallback, callback) {
@@ -469,10 +500,10 @@ var storagetransfer_v1;
469
500
  context: this.context,
470
501
  };
471
502
  if (callback) {
472
- googleapis_common_1.createAPIRequest(parameters, callback);
503
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
473
504
  }
474
505
  else {
475
- return googleapis_common_1.createAPIRequest(parameters);
506
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
476
507
  }
477
508
  }
478
509
  list(paramsOrCallback, optionsOrCallback, callback) {
@@ -500,10 +531,10 @@ var storagetransfer_v1;
500
531
  context: this.context,
501
532
  };
502
533
  if (callback) {
503
- googleapis_common_1.createAPIRequest(parameters, callback);
534
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
504
535
  }
505
536
  else {
506
- return googleapis_common_1.createAPIRequest(parameters);
537
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
507
538
  }
508
539
  }
509
540
  pause(paramsOrCallback, optionsOrCallback, callback) {
@@ -531,10 +562,10 @@ var storagetransfer_v1;
531
562
  context: this.context,
532
563
  };
533
564
  if (callback) {
534
- googleapis_common_1.createAPIRequest(parameters, callback);
565
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
535
566
  }
536
567
  else {
537
- return googleapis_common_1.createAPIRequest(parameters);
568
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
538
569
  }
539
570
  }
540
571
  resume(paramsOrCallback, optionsOrCallback, callback) {
@@ -562,10 +593,10 @@ var storagetransfer_v1;
562
593
  context: this.context,
563
594
  };
564
595
  if (callback) {
565
- googleapis_common_1.createAPIRequest(parameters, callback);
596
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
566
597
  }
567
598
  else {
568
- return googleapis_common_1.createAPIRequest(parameters);
599
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
569
600
  }
570
601
  }
571
602
  }
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACp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AC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAA+C,CAAC;gBACzD,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,yCAAyC,CAAC;YAC/D,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,oBAAoB,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBACnE,MAAM,EAAE,MAAM;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,MAAM,CAAC;gBACxB,UAAU,EAAE,CAAC,MAAM,CAAC;gBACpB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAe,UAAU,CAAC,CAAC;aACnD;QACH,CAAC;KACF;IA5pBY,8CAA2B,8BA4pBvC,CAAA;AAgEH,CAAC,EA53GgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA43GlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/storagetransfer",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "storagetransfer",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "url": "https://github.com/googleapis/google-api-nodejs-client.git"
19
19
  },
20
20
  "engines": {
21
- "node": ">=10.0.0"
21
+ "node": ">=12.0.0"
22
22
  },
23
23
  "scripts": {
24
24
  "fix": "gts fix",
@@ -28,15 +28,15 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^5.0.1"
31
+ "googleapis-common": "^6.0.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
- "gts": "^2.0.0",
36
+ "gts": "^3.1.1",
37
37
  "null-loader": "^4.0.0",
38
38
  "ts-loader": "^9.0.0",
39
- "typescript": "~3.7.0",
39
+ "typescript": "~4.8.4",
40
40
  "webpack": "^5.0.0",
41
41
  "webpack-cli": "^4.0.0"
42
42
  }
package/v1.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  // limitations under the License.
13
13
 
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
- /* eslint-disable @typescript-eslint/class-name-casing */
16
15
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
16
  /* eslint-disable @typescript-eslint/no-empty-interface */
18
17
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -167,6 +166,31 @@ export namespace storagetransfer_v1 {
167
166
  */
168
167
  secretAccessKey?: string | null;
169
168
  }
169
+ /**
170
+ * An AwsS3CompatibleData resource.
171
+ */
172
+ export interface Schema$AwsS3CompatibleData {
173
+ /**
174
+ * Required. Specifies the name of the bucket.
175
+ */
176
+ bucketName?: string | null;
177
+ /**
178
+ * Required. Specifies the endpoint of the storage service.
179
+ */
180
+ endpoint?: string | null;
181
+ /**
182
+ * Specifies the root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
183
+ */
184
+ path?: string | null;
185
+ /**
186
+ * Specifies the region to sign requests with. This can be left blank if requests should be signed with an empty region.
187
+ */
188
+ region?: string | null;
189
+ /**
190
+ * A S3 compatible metadata.
191
+ */
192
+ s3Metadata?: Schema$S3CompatibleMetadata;
193
+ }
170
194
  /**
171
195
  * An AwsS3Data resource can be a data source, but not a data sink. In an AwsS3Data resource, an object's name is the S3 object's key name.
172
196
  */
@@ -511,6 +535,27 @@ export namespace storagetransfer_v1 {
511
535
  */
512
536
  projectId?: string | null;
513
537
  }
538
+ /**
539
+ * S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.
540
+ */
541
+ export interface Schema$S3CompatibleMetadata {
542
+ /**
543
+ * Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
544
+ */
545
+ authMethod?: string | null;
546
+ /**
547
+ * The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
548
+ */
549
+ listApi?: string | null;
550
+ /**
551
+ * Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
552
+ */
553
+ protocol?: string | null;
554
+ /**
555
+ * Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
556
+ */
557
+ requestModel?: string | null;
558
+ }
514
559
  /**
515
560
  * Transfers can be scheduled to recur or to run just once.
516
561
  */
@@ -783,7 +828,7 @@ export namespace storagetransfer_v1 {
783
828
  */
784
829
  deleteObjectsUniqueInSink?: boolean | null;
785
830
  /**
786
- * Represents the selected metadata options for a transfer job. This feature is in Preview.
831
+ * Represents the selected metadata options for a transfer job.
787
832
  */
788
833
  metadataOptions?: Schema$MetadataOptions;
789
834
  /**
@@ -799,6 +844,10 @@ export namespace storagetransfer_v1 {
799
844
  * Configuration for running a transfer.
800
845
  */
801
846
  export interface Schema$TransferSpec {
847
+ /**
848
+ * An AWS S3 compatible data source.
849
+ */
850
+ awsS3CompatibleDataSource?: Schema$AwsS3CompatibleData;
802
851
  /**
803
852
  * An AWS S3 data source.
804
853
  */
@@ -861,7 +910,7 @@ export namespace storagetransfer_v1 {
861
910
  */
862
911
  projectId?: string | null;
863
912
  /**
864
- * Required. The job to update. `transferJob` is expected to specify one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires `storagetransfer.jobs.delete` permissions.
913
+ * Required. The job to update. `transferJob` is expected to specify one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires `storagetransfer.jobs.delete` permission.
865
914
  */
866
915
  transferJob?: Schema$TransferJob;
867
916
  /**
@@ -1949,6 +1998,133 @@ export namespace storagetransfer_v1 {
1949
1998
  }
1950
1999
  }
1951
2000
 
2001
+ /**
2002
+ * Deletes a transfer job. Deleting a transfer job sets its status to DELETED.
2003
+ * @example
2004
+ * ```js
2005
+ * // Before running the sample:
2006
+ * // - Enable the API at:
2007
+ * // https://console.developers.google.com/apis/api/storagetransfer.googleapis.com
2008
+ * // - Login into gcloud by running:
2009
+ * // `$ gcloud auth application-default login`
2010
+ * // - Install the npm module by running:
2011
+ * // `$ npm install googleapis`
2012
+ *
2013
+ * const {google} = require('googleapis');
2014
+ * const storagetransfer = google.storagetransfer('v1');
2015
+ *
2016
+ * async function main() {
2017
+ * const auth = new google.auth.GoogleAuth({
2018
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2019
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2020
+ * });
2021
+ *
2022
+ * // Acquire an auth client, and bind it to all future calls
2023
+ * const authClient = await auth.getClient();
2024
+ * google.options({auth: authClient});
2025
+ *
2026
+ * // Do the magic
2027
+ * const res = await storagetransfer.transferJobs.delete({
2028
+ * // Required. The job to delete.
2029
+ * jobName: 'transferJobs/.*',
2030
+ * // Required. The ID of the Google Cloud project that owns the job.
2031
+ * projectId: 'placeholder-value',
2032
+ * });
2033
+ * console.log(res.data);
2034
+ *
2035
+ * // Example response
2036
+ * // {}
2037
+ * }
2038
+ *
2039
+ * main().catch(e => {
2040
+ * console.error(e);
2041
+ * throw e;
2042
+ * });
2043
+ *
2044
+ * ```
2045
+ *
2046
+ * @param params - Parameters for request
2047
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2048
+ * @param callback - Optional callback that handles the response.
2049
+ * @returns A promise if used with async/await, or void if used with a callback.
2050
+ */
2051
+ delete(
2052
+ params: Params$Resource$Transferjobs$Delete,
2053
+ options: StreamMethodOptions
2054
+ ): GaxiosPromise<Readable>;
2055
+ delete(
2056
+ params?: Params$Resource$Transferjobs$Delete,
2057
+ options?: MethodOptions
2058
+ ): GaxiosPromise<Schema$Empty>;
2059
+ delete(
2060
+ params: Params$Resource$Transferjobs$Delete,
2061
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2062
+ callback: BodyResponseCallback<Readable>
2063
+ ): void;
2064
+ delete(
2065
+ params: Params$Resource$Transferjobs$Delete,
2066
+ options: MethodOptions | BodyResponseCallback<Schema$Empty>,
2067
+ callback: BodyResponseCallback<Schema$Empty>
2068
+ ): void;
2069
+ delete(
2070
+ params: Params$Resource$Transferjobs$Delete,
2071
+ callback: BodyResponseCallback<Schema$Empty>
2072
+ ): void;
2073
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
2074
+ delete(
2075
+ paramsOrCallback?:
2076
+ | Params$Resource$Transferjobs$Delete
2077
+ | BodyResponseCallback<Schema$Empty>
2078
+ | BodyResponseCallback<Readable>,
2079
+ optionsOrCallback?:
2080
+ | MethodOptions
2081
+ | StreamMethodOptions
2082
+ | BodyResponseCallback<Schema$Empty>
2083
+ | BodyResponseCallback<Readable>,
2084
+ callback?:
2085
+ | BodyResponseCallback<Schema$Empty>
2086
+ | BodyResponseCallback<Readable>
2087
+ ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
2088
+ let params = (paramsOrCallback ||
2089
+ {}) as Params$Resource$Transferjobs$Delete;
2090
+ let options = (optionsOrCallback || {}) as MethodOptions;
2091
+
2092
+ if (typeof paramsOrCallback === 'function') {
2093
+ callback = paramsOrCallback;
2094
+ params = {} as Params$Resource$Transferjobs$Delete;
2095
+ options = {};
2096
+ }
2097
+
2098
+ if (typeof optionsOrCallback === 'function') {
2099
+ callback = optionsOrCallback;
2100
+ options = {};
2101
+ }
2102
+
2103
+ const rootUrl =
2104
+ options.rootUrl || 'https://storagetransfer.googleapis.com/';
2105
+ const parameters = {
2106
+ options: Object.assign(
2107
+ {
2108
+ url: (rootUrl + '/v1/{+jobName}').replace(/([^:]\/)\/+/g, '$1'),
2109
+ method: 'DELETE',
2110
+ },
2111
+ options
2112
+ ),
2113
+ params,
2114
+ requiredParams: ['jobName', 'projectId'],
2115
+ pathParams: ['jobName'],
2116
+ context: this.context,
2117
+ };
2118
+ if (callback) {
2119
+ createAPIRequest<Schema$Empty>(
2120
+ parameters,
2121
+ callback as BodyResponseCallback<unknown>
2122
+ );
2123
+ } else {
2124
+ return createAPIRequest<Schema$Empty>(parameters);
2125
+ }
2126
+ }
2127
+
1952
2128
  /**
1953
2129
  * Gets a transfer job.
1954
2130
  * @example
@@ -2374,7 +2550,7 @@ export namespace storagetransfer_v1 {
2374
2550
  }
2375
2551
 
2376
2552
  /**
2377
- * Attempts to start a new TransferOperation for the current TransferJob. A TransferJob has a maximum of one active TransferOperation. If this method is called while a TransferOperation is active, an error will be returned.
2553
+ * Starts a new operation for the specified transfer job. A `TransferJob` has a maximum of one active `TransferOperation`. If this method is called while a `TransferOperation` is active, an error is returned.
2378
2554
  * @example
2379
2555
  * ```js
2380
2556
  * // Before running the sample:
@@ -2519,6 +2695,17 @@ export namespace storagetransfer_v1 {
2519
2695
  */
2520
2696
  requestBody?: Schema$TransferJob;
2521
2697
  }
2698
+ export interface Params$Resource$Transferjobs$Delete
2699
+ extends StandardParameters {
2700
+ /**
2701
+ * Required. The job to delete.
2702
+ */
2703
+ jobName?: string;
2704
+ /**
2705
+ * Required. The ID of the Google Cloud project that owns the job.
2706
+ */
2707
+ projectId?: string;
2708
+ }
2522
2709
  export interface Params$Resource$Transferjobs$Get extends StandardParameters {
2523
2710
  /**
2524
2711
  * Required. The job to get.