@maxim_mazurok/gapi.client.bigquerydatatransfer-v1 0.0.20220910 → 0.0.20220927
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 +65 -58
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20220927
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -736,10 +735,10 @@ declare namespace gapi.client {
|
|
|
736
735
|
alt?: string;
|
|
737
736
|
/**
|
|
738
737
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
739
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
740
|
-
*
|
|
741
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
742
|
-
* used to create the transfer config.
|
|
738
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
739
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
740
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
741
|
+
* that this should not be set when `service_account_name` is used to create the transfer config.
|
|
743
742
|
*/
|
|
744
743
|
authorizationCode?: string;
|
|
745
744
|
/** JSONP */
|
|
@@ -771,9 +770,10 @@ declare namespace gapi.client {
|
|
|
771
770
|
uploadType?: string;
|
|
772
771
|
/**
|
|
773
772
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
774
|
-
* order to obtain version info, make a request to the following URL:
|
|
775
|
-
*
|
|
776
|
-
*
|
|
773
|
+
* order to obtain version info, make a request to the following URL:
|
|
774
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
775
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
776
|
+
* this should not be set when `service_account_name` is used to create the transfer config.
|
|
777
777
|
*/
|
|
778
778
|
versionInfo?: string;
|
|
779
779
|
/** Request body */
|
|
@@ -788,10 +788,10 @@ declare namespace gapi.client {
|
|
|
788
788
|
alt?: string;
|
|
789
789
|
/**
|
|
790
790
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
791
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
792
|
-
*
|
|
793
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
794
|
-
* used to create the transfer config.
|
|
791
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
792
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
793
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
794
|
+
* that this should not be set when `service_account_name` is used to create the transfer config.
|
|
795
795
|
*/
|
|
796
796
|
authorizationCode?: string;
|
|
797
797
|
/** JSONP */
|
|
@@ -823,9 +823,10 @@ declare namespace gapi.client {
|
|
|
823
823
|
uploadType?: string;
|
|
824
824
|
/**
|
|
825
825
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
826
|
-
* order to obtain version info, make a request to the following URL:
|
|
827
|
-
*
|
|
828
|
-
*
|
|
826
|
+
* order to obtain version info, make a request to the following URL:
|
|
827
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
828
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
829
|
+
* this should not be set when `service_account_name` is used to create the transfer config.
|
|
829
830
|
*/
|
|
830
831
|
versionInfo?: string;
|
|
831
832
|
},
|
|
@@ -936,10 +937,10 @@ declare namespace gapi.client {
|
|
|
936
937
|
alt?: string;
|
|
937
938
|
/**
|
|
938
939
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
939
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
940
|
-
*
|
|
941
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
942
|
-
* used to update the transfer config.
|
|
940
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
941
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
942
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
943
|
+
* that this should not be set when `service_account_name` is used to update the transfer config.
|
|
943
944
|
*/
|
|
944
945
|
authorizationCode?: string;
|
|
945
946
|
/** JSONP */
|
|
@@ -973,9 +974,10 @@ declare namespace gapi.client {
|
|
|
973
974
|
uploadType?: string;
|
|
974
975
|
/**
|
|
975
976
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
976
|
-
* order to obtain version info, make a request to the following URL:
|
|
977
|
-
*
|
|
978
|
-
*
|
|
977
|
+
* order to obtain version info, make a request to the following URL:
|
|
978
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
979
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
980
|
+
* this should not be set when `service_account_name` is used to update the transfer config.
|
|
979
981
|
*/
|
|
980
982
|
versionInfo?: string;
|
|
981
983
|
/** Request body */
|
|
@@ -990,10 +992,10 @@ declare namespace gapi.client {
|
|
|
990
992
|
alt?: string;
|
|
991
993
|
/**
|
|
992
994
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
993
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
994
|
-
*
|
|
995
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
996
|
-
* used to update the transfer config.
|
|
995
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
996
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
997
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
998
|
+
* that this should not be set when `service_account_name` is used to update the transfer config.
|
|
997
999
|
*/
|
|
998
1000
|
authorizationCode?: string;
|
|
999
1001
|
/** JSONP */
|
|
@@ -1027,9 +1029,10 @@ declare namespace gapi.client {
|
|
|
1027
1029
|
uploadType?: string;
|
|
1028
1030
|
/**
|
|
1029
1031
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
1030
|
-
* order to obtain version info, make a request to the following URL:
|
|
1031
|
-
*
|
|
1032
|
-
*
|
|
1032
|
+
* order to obtain version info, make a request to the following URL:
|
|
1033
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
1034
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
1035
|
+
* this should not be set when `service_account_name` is used to update the transfer config.
|
|
1033
1036
|
*/
|
|
1034
1037
|
versionInfo?: string;
|
|
1035
1038
|
},
|
|
@@ -1443,10 +1446,10 @@ declare namespace gapi.client {
|
|
|
1443
1446
|
alt?: string;
|
|
1444
1447
|
/**
|
|
1445
1448
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
1446
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1447
|
-
*
|
|
1448
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1449
|
-
* used to create the transfer config.
|
|
1449
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1450
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
1451
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1452
|
+
* that this should not be set when `service_account_name` is used to create the transfer config.
|
|
1450
1453
|
*/
|
|
1451
1454
|
authorizationCode?: string;
|
|
1452
1455
|
/** JSONP */
|
|
@@ -1478,9 +1481,10 @@ declare namespace gapi.client {
|
|
|
1478
1481
|
uploadType?: string;
|
|
1479
1482
|
/**
|
|
1480
1483
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
1481
|
-
* order to obtain version info, make a request to the following URL:
|
|
1482
|
-
*
|
|
1483
|
-
*
|
|
1484
|
+
* order to obtain version info, make a request to the following URL:
|
|
1485
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
1486
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
1487
|
+
* this should not be set when `service_account_name` is used to create the transfer config.
|
|
1484
1488
|
*/
|
|
1485
1489
|
versionInfo?: string;
|
|
1486
1490
|
/** Request body */
|
|
@@ -1495,10 +1499,10 @@ declare namespace gapi.client {
|
|
|
1495
1499
|
alt?: string;
|
|
1496
1500
|
/**
|
|
1497
1501
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
1498
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1499
|
-
*
|
|
1500
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1501
|
-
* used to create the transfer config.
|
|
1502
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1503
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
1504
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1505
|
+
* that this should not be set when `service_account_name` is used to create the transfer config.
|
|
1502
1506
|
*/
|
|
1503
1507
|
authorizationCode?: string;
|
|
1504
1508
|
/** JSONP */
|
|
@@ -1530,9 +1534,10 @@ declare namespace gapi.client {
|
|
|
1530
1534
|
uploadType?: string;
|
|
1531
1535
|
/**
|
|
1532
1536
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
1533
|
-
* order to obtain version info, make a request to the following URL:
|
|
1534
|
-
*
|
|
1535
|
-
*
|
|
1537
|
+
* order to obtain version info, make a request to the following URL:
|
|
1538
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
1539
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
1540
|
+
* this should not be set when `service_account_name` is used to create the transfer config.
|
|
1536
1541
|
*/
|
|
1537
1542
|
versionInfo?: string;
|
|
1538
1543
|
},
|
|
@@ -1643,10 +1648,10 @@ declare namespace gapi.client {
|
|
|
1643
1648
|
alt?: string;
|
|
1644
1649
|
/**
|
|
1645
1650
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
1646
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1647
|
-
*
|
|
1648
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1649
|
-
* used to update the transfer config.
|
|
1651
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1652
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
1653
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1654
|
+
* that this should not be set when `service_account_name` is used to update the transfer config.
|
|
1650
1655
|
*/
|
|
1651
1656
|
authorizationCode?: string;
|
|
1652
1657
|
/** JSONP */
|
|
@@ -1680,9 +1685,10 @@ declare namespace gapi.client {
|
|
|
1680
1685
|
uploadType?: string;
|
|
1681
1686
|
/**
|
|
1682
1687
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
1683
|
-
* order to obtain version info, make a request to the following URL:
|
|
1684
|
-
*
|
|
1685
|
-
*
|
|
1688
|
+
* order to obtain version info, make a request to the following URL:
|
|
1689
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
1690
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
1691
|
+
* this should not be set when `service_account_name` is used to update the transfer config.
|
|
1686
1692
|
*/
|
|
1687
1693
|
versionInfo?: string;
|
|
1688
1694
|
/** Request body */
|
|
@@ -1697,10 +1703,10 @@ declare namespace gapi.client {
|
|
|
1697
1703
|
alt?: string;
|
|
1698
1704
|
/**
|
|
1699
1705
|
* Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are
|
|
1700
|
-
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1701
|
-
*
|
|
1702
|
-
* as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1703
|
-
* used to update the transfer config.
|
|
1706
|
+
* needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL:
|
|
1707
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes *
|
|
1708
|
+
* The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note
|
|
1709
|
+
* that this should not be set when `service_account_name` is used to update the transfer config.
|
|
1704
1710
|
*/
|
|
1705
1711
|
authorizationCode?: string;
|
|
1706
1712
|
/** JSONP */
|
|
@@ -1734,9 +1740,10 @@ declare namespace gapi.client {
|
|
|
1734
1740
|
uploadType?: string;
|
|
1735
1741
|
/**
|
|
1736
1742
|
* Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In
|
|
1737
|
-
* order to obtain version info, make a request to the following URL:
|
|
1738
|
-
*
|
|
1739
|
-
*
|
|
1743
|
+
* order to obtain version info, make a request to the following URL:
|
|
1744
|
+
* https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The
|
|
1745
|
+
* client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that
|
|
1746
|
+
* this should not be set when `service_account_name` is used to update the transfer config.
|
|
1740
1747
|
*/
|
|
1741
1748
|
versionInfo?: string;
|
|
1742
1749
|
},
|
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: 20220927
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|