You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
feat: add owner email to TransferConfig message feat: allow customer to enroll a datasource programmatically docs: improvements to various message and field descriptions (#1199)
Copy file name to clipboardExpand all lines: google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java
+81-39Lines changed: 81 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,7 @@
38
38
39
39
// AUTO-GENERATED DOCUMENTATION AND CLASS.
40
40
/**
41
-
* Service Description: The Google BigQuery Data Transfer Service API enables BigQuery users to
42
-
* configure the transfer of their data from other Google Products into BigQuery. This service
43
-
* contains methods that are end user exposed. It backs up the frontend.
41
+
* Service Description: This API allows users to manage their data transfers into BigQuery.
44
42
*
45
43
* <p>This class provides the ability to make remote calls to the backing service through method
46
44
* calls that map to API methods. Sample code to get started:
@@ -156,7 +154,7 @@ public DataTransferServiceStub getStub() {
156
154
157
155
// AUTO-GENERATED DOCUMENTATION AND METHOD.
158
156
/**
159
-
* Retrieves a supported data source and returns its settings, which can be used for UI rendering.
157
+
* Retrieves a supported data source and returns its settings.
160
158
*
161
159
* <p>Sample code:
162
160
*
@@ -180,7 +178,7 @@ public final DataSource getDataSource(DataSourceName name) {
180
178
181
179
// AUTO-GENERATED DOCUMENTATION AND METHOD.
182
180
/**
183
-
* Retrieves a supported data source and returns its settings, which can be used for UI rendering.
181
+
* Retrieves a supported data source and returns its settings.
184
182
*
185
183
* <p>Sample code:
186
184
*
@@ -203,7 +201,7 @@ public final DataSource getDataSource(String name) {
203
201
204
202
// AUTO-GENERATED DOCUMENTATION AND METHOD.
205
203
/**
206
-
* Retrieves a supported data source and returns its settings, which can be used for UI rendering.
204
+
* Retrieves a supported data source and returns its settings.
207
205
*
208
206
* <p>Sample code:
209
207
*
@@ -227,7 +225,7 @@ public final DataSource getDataSource(GetDataSourceRequest request) {
227
225
228
226
// AUTO-GENERATED DOCUMENTATION AND METHOD.
229
227
/**
230
-
* Retrieves a supported data source and returns its settings, which can be used for UI rendering.
228
+
* Retrieves a supported data source and returns its settings.
231
229
*
232
230
* <p>Sample code:
233
231
*
@@ -251,7 +249,7 @@ public final UnaryCallable<GetDataSourceRequest, DataSource> getDataSourceCallab
251
249
252
250
// AUTO-GENERATED DOCUMENTATION AND METHOD.
253
251
/**
254
-
* Lists supported data sources and returns their settings, which can be used for UI rendering.
252
+
* Lists supported data sources and returns their settings.
255
253
*
256
254
* <p>Sample code:
257
255
*
@@ -278,7 +276,7 @@ public final ListDataSourcesPagedResponse listDataSources(LocationName parent) {
278
276
279
277
// AUTO-GENERATED DOCUMENTATION AND METHOD.
280
278
/**
281
-
* Lists supported data sources and returns their settings, which can be used for UI rendering.
279
+
* Lists supported data sources and returns their settings.
282
280
*
283
281
* <p>Sample code:
284
282
*
@@ -305,7 +303,7 @@ public final ListDataSourcesPagedResponse listDataSources(ProjectName parent) {
305
303
306
304
// AUTO-GENERATED DOCUMENTATION AND METHOD.
307
305
/**
308
-
* Lists supported data sources and returns their settings, which can be used for UI rendering.
306
+
* Lists supported data sources and returns their settings.
309
307
*
310
308
* <p>Sample code:
311
309
*
@@ -329,7 +327,7 @@ public final ListDataSourcesPagedResponse listDataSources(String parent) {
329
327
330
328
// AUTO-GENERATED DOCUMENTATION AND METHOD.
331
329
/**
332
-
* Lists supported data sources and returns their settings, which can be used for UI rendering.
330
+
* Lists supported data sources and returns their settings.
333
331
*
334
332
* <p>Sample code:
335
333
*
@@ -356,7 +354,7 @@ public final ListDataSourcesPagedResponse listDataSources(ListDataSourcesRequest
356
354
357
355
// AUTO-GENERATED DOCUMENTATION AND METHOD.
358
356
/**
359
-
* Lists supported data sources and returns their settings, which can be used for UI rendering.
357
+
* Lists supported data sources and returns their settings.
360
358
*
361
359
* <p>Sample code:
362
360
*
@@ -384,7 +382,7 @@ public final ListDataSourcesPagedResponse listDataSources(ListDataSourcesRequest
384
382
385
383
// AUTO-GENERATED DOCUMENTATION AND METHOD.
386
384
/**
387
-
* Lists supported data sources and returns their settings, which can be used for UI rendering.
385
+
* Lists supported data sources and returns their settings.
388
386
*
389
387
* <p>Sample code:
390
388
*
@@ -1447,7 +1445,7 @@ public final UnaryCallable<DeleteTransferRunRequest, Empty> deleteTransferRunCal
1447
1445
1448
1446
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1449
1447
/**
1450
-
* Returns information about running and completed jobs.
1448
+
* Returns information about running and completed transfer runs.
1451
1449
*
1452
1450
* <p>Sample code:
1453
1451
*
@@ -1477,7 +1475,7 @@ public final ListTransferRunsPagedResponse listTransferRuns(TransferConfigName p
1477
1475
1478
1476
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1479
1477
/**
1480
-
* Returns information about running and completed jobs.
1478
+
* Returns information about running and completed transfer runs.
1481
1479
*
1482
1480
* <p>Sample code:
1483
1481
*
@@ -1506,7 +1504,7 @@ public final ListTransferRunsPagedResponse listTransferRuns(String parent) {
1506
1504
1507
1505
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1508
1506
/**
1509
-
* Returns information about running and completed jobs.
1507
+
* Returns information about running and completed transfer runs.
1510
1508
*
1511
1509
* <p>Sample code:
1512
1510
*
@@ -1536,7 +1534,7 @@ public final ListTransferRunsPagedResponse listTransferRuns(ListTransferRunsRequ
1536
1534
1537
1535
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1538
1536
/**
1539
-
* Returns information about running and completed jobs.
1537
+
* Returns information about running and completed transfer runs.
1540
1538
*
1541
1539
* <p>Sample code:
1542
1540
*
@@ -1567,7 +1565,7 @@ public final ListTransferRunsPagedResponse listTransferRuns(ListTransferRunsRequ
1567
1565
1568
1566
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1569
1567
/**
1570
-
* Returns information about running and completed jobs.
1568
+
* Returns information about running and completed transfer runs.
1571
1569
*
1572
1570
* <p>Sample code:
1573
1571
*
@@ -1605,7 +1603,7 @@ public final ListTransferRunsPagedResponse listTransferRuns(ListTransferRunsRequ
1605
1603
1606
1604
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1607
1605
/**
1608
-
* Returns user facing log messages for the data transfer run.
1606
+
* Returns log messages for the transfer run.
1609
1607
*
1610
1608
* <p>Sample code:
1611
1609
*
@@ -1635,7 +1633,7 @@ public final ListTransferLogsPagedResponse listTransferLogs(RunName parent) {
1635
1633
1636
1634
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1637
1635
/**
1638
-
* Returns user facing log messages for the data transfer run.
1636
+
* Returns log messages for the transfer run.
1639
1637
*
1640
1638
* <p>Sample code:
1641
1639
*
@@ -1664,7 +1662,7 @@ public final ListTransferLogsPagedResponse listTransferLogs(String parent) {
1664
1662
1665
1663
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1666
1664
/**
1667
-
* Returns user facing log messages for the data transfer run.
1665
+
* Returns log messages for the transfer run.
1668
1666
*
1669
1667
* <p>Sample code:
1670
1668
*
@@ -1695,7 +1693,7 @@ public final ListTransferLogsPagedResponse listTransferLogs(ListTransferLogsRequ
1695
1693
1696
1694
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1697
1695
/**
1698
-
* Returns user facing log messages for the data transfer run.
1696
+
* Returns log messages for the transfer run.
1699
1697
*
1700
1698
* <p>Sample code:
1701
1699
*
@@ -1726,7 +1724,7 @@ public final ListTransferLogsPagedResponse listTransferLogs(ListTransferLogsRequ
1726
1724
1727
1725
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1728
1726
/**
1729
-
* Returns user facing log messages for the data transfer run.
1727
+
* Returns log messages for the transfer run.
1730
1728
*
1731
1729
* <p>Sample code:
1732
1730
*
@@ -1764,10 +1762,7 @@ public final ListTransferLogsPagedResponse listTransferLogs(ListTransferLogsRequ
1764
1762
1765
1763
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1766
1764
/**
1767
-
* Returns true if valid credentials exist for the given data source and requesting user. Some
1768
-
* data sources doesn't support service account, so we need to talk to them on behalf of the end
1769
-
* user. This API just checks whether we have OAuth token for the particular user, which is a
1770
-
* pre-requisite before user can create a transfer config.
1765
+
* Returns true if valid credentials exist for the given data source and requesting user.
1771
1766
*
1772
1767
* <p>Sample code:
1773
1768
*
@@ -1791,10 +1786,7 @@ public final CheckValidCredsResponse checkValidCreds(DataSourceName name) {
1791
1786
1792
1787
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1793
1788
/**
1794
-
* Returns true if valid credentials exist for the given data source and requesting user. Some
1795
-
* data sources doesn't support service account, so we need to talk to them on behalf of the end
1796
-
* user. This API just checks whether we have OAuth token for the particular user, which is a
1797
-
* pre-requisite before user can create a transfer config.
1789
+
* Returns true if valid credentials exist for the given data source and requesting user.
1798
1790
*
1799
1791
* <p>Sample code:
1800
1792
*
@@ -1817,10 +1809,7 @@ public final CheckValidCredsResponse checkValidCreds(String name) {
1817
1809
1818
1810
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1819
1811
/**
1820
-
* Returns true if valid credentials exist for the given data source and requesting user. Some
1821
-
* data sources doesn't support service account, so we need to talk to them on behalf of the end
1822
-
* user. This API just checks whether we have OAuth token for the particular user, which is a
1823
-
* pre-requisite before user can create a transfer config.
1812
+
* Returns true if valid credentials exist for the given data source and requesting user.
1824
1813
*
1825
1814
* <p>Sample code:
1826
1815
*
@@ -1844,10 +1833,7 @@ public final CheckValidCredsResponse checkValidCreds(CheckValidCredsRequest requ
1844
1833
1845
1834
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1846
1835
/**
1847
-
* Returns true if valid credentials exist for the given data source and requesting user. Some
1848
-
* data sources doesn't support service account, so we need to talk to them on behalf of the end
1849
-
* user. This API just checks whether we have OAuth token for the particular user, which is a
1850
-
* pre-requisite before user can create a transfer config.
1836
+
* Returns true if valid credentials exist for the given data source and requesting user.
1851
1837
*
1852
1838
* <p>Sample code:
1853
1839
*
@@ -1870,6 +1856,62 @@ public final CheckValidCredsResponse checkValidCreds(CheckValidCredsRequest requ
1870
1856
returnstub.checkValidCredsCallable();
1871
1857
}
1872
1858
1859
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1860
+
/**
1861
+
* Enroll data sources in a user project. This allows users to create transfer configurations for
1862
+
* these data sources. They will also appear in the ListDataSources RPC and as such, will appear
1863
+
* in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at
1864
+
* https://cloud.google.com/bigquery/bigquery-web-ui and
Copy file name to clipboardExpand all lines: google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,11 @@ public UnaryCallSettings<DeleteTransferRunRequest, Empty> deleteTransferRunSetti
Copy file name to clipboardExpand all lines: google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/gapic_metadata.json
Copy file name to clipboardExpand all lines: google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java
Copy file name to clipboardExpand all lines: google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java
0 commit comments