google-apis-bigquerydatatransfer_v1 0.50.0 → 0.52.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38414c364212f10c82bd5250f0c39efbdcece8723b6b2a05d0d9c66e66e1b84d
4
- data.tar.gz: 138223487273945923182b63dcc9c1512d54775d556ad5e3b84d0223c66568ee
3
+ metadata.gz: 46d59173d6b0bb2e2474f6351d34c37fc383be3a6c3e3071620ee19e554edeba
4
+ data.tar.gz: 4c57ebd27a9802a2a8f362a3a76d424926c8c13094be4105a73e15ad5a27a45a
5
5
  SHA512:
6
- metadata.gz: 01431d4bf5edd20d80815ce1b85c2b4b11246ce02067d2a5f501b877cc67fb7662e720a673ada52acde3d546d1806d96a005e43a999e0bceb52dd1dc7e7fc4c5
7
- data.tar.gz: 8b71b12596b1d6889e4530334c247670a6f3610bd80a9a5e4af9914b776f64493518ce1952dad00061af55e5265b56da7a0309080aeca3144f77086380f48160
6
+ metadata.gz: 88e8762c4bde1bf30fffd7daea24e52bc17b5fea1597d694a2cd7d2c916e2aa22377842e4190a255cbc93e551046d61b93227ffcd174ee260c0a1b2b633044af
7
+ data.tar.gz: fb6800527d5ce6dfdf0bbb4d6b26f44a682a5a1677607cf33dbd17e41246e014c7a97290ea3622420c216aa321fe3869c439d8e3a3ac242a578dd93b48a75e75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquerydatatransfer_v1
2
2
 
3
+ ### v0.52.0 (2026-05-03)
4
+
5
+ * Regenerated from discovery document revision 20260423
6
+
7
+ ### v0.51.0 (2026-04-19)
8
+
9
+ * Regenerated from discovery document revision 20260406
10
+
3
11
  ### v0.50.0 (2026-02-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20260201
@@ -412,6 +412,31 @@ module Google
412
412
  end
413
413
  end
414
414
 
415
+ # Details about the hierarchy.
416
+ class HierarchyDetail
417
+ include Google::Apis::Core::Hashable
418
+
419
+ # Partition details related to hierarchy.
420
+ # Corresponds to the JSON property `partitionDetail`
421
+ # @return [Google::Apis::BigquerydatatransferV1::PartitionDetail]
422
+ attr_accessor :partition_detail
423
+
424
+ # Table details related to hierarchy.
425
+ # Corresponds to the JSON property `tableDetail`
426
+ # @return [Google::Apis::BigquerydatatransferV1::TableDetail]
427
+ attr_accessor :table_detail
428
+
429
+ def initialize(**args)
430
+ update!(**args)
431
+ end
432
+
433
+ # Update properties of this object
434
+ def update!(**args)
435
+ @partition_detail = args[:partition_detail] if args.key?(:partition_detail)
436
+ @table_detail = args[:table_detail] if args.key?(:table_detail)
437
+ end
438
+ end
439
+
415
440
  # Returns list of supported data sources and their metadata.
416
441
  class ListDataSourcesResponse
417
442
  include Google::Apis::Core::Hashable
@@ -518,6 +543,32 @@ module Google
518
543
  end
519
544
  end
520
545
 
546
+ # Response for the `ListTransferResources` RPC.
547
+ class ListTransferResourcesResponse
548
+ include Google::Apis::Core::Hashable
549
+
550
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
551
+ # page. If this field is omitted, there are no subsequent pages.
552
+ # Corresponds to the JSON property `nextPageToken`
553
+ # @return [String]
554
+ attr_accessor :next_page_token
555
+
556
+ # Output only. The transfer resources.
557
+ # Corresponds to the JSON property `transferResources`
558
+ # @return [Array<Google::Apis::BigquerydatatransferV1::TransferResource>]
559
+ attr_accessor :transfer_resources
560
+
561
+ def initialize(**args)
562
+ update!(**args)
563
+ end
564
+
565
+ # Update properties of this object
566
+ def update!(**args)
567
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
568
+ @transfer_resources = args[:transfer_resources] if args.key?(:transfer_resources)
569
+ end
570
+ end
571
+
521
572
  # The returned list of pipelines in the project.
522
573
  class ListTransferRunsResponse
523
574
  include Google::Apis::Core::Hashable
@@ -605,6 +656,25 @@ module Google
605
656
  end
606
657
  end
607
658
 
659
+ # Partition details related to hierarchy.
660
+ class PartitionDetail
661
+ include Google::Apis::Core::Hashable
662
+
663
+ # Optional. Name of the table which has the partitions.
664
+ # Corresponds to the JSON property `table`
665
+ # @return [String]
666
+ attr_accessor :table
667
+
668
+ def initialize(**args)
669
+ update!(**args)
670
+ end
671
+
672
+ # Update properties of this object
673
+ def update!(**args)
674
+ @table = args[:table] if args.key?(:table)
675
+ end
676
+ end
677
+
608
678
  # Options customizing the data transfer schedule.
609
679
  class ScheduleOptions
610
680
  include Google::Apis::Core::Hashable
@@ -813,6 +883,25 @@ module Google
813
883
  end
814
884
  end
815
885
 
886
+ # Table details related to hierarchy.
887
+ class TableDetail
888
+ include Google::Apis::Core::Hashable
889
+
890
+ # Optional. Total number of partitions being tracked within the table.
891
+ # Corresponds to the JSON property `partitionCount`
892
+ # @return [Fixnum]
893
+ attr_accessor :partition_count
894
+
895
+ def initialize(**args)
896
+ update!(**args)
897
+ end
898
+
899
+ # Update properties of this object
900
+ def update!(**args)
901
+ @partition_count = args[:partition_count] if args.key?(:partition_count)
902
+ end
903
+ end
904
+
816
905
  # Options customizing the time based transfer schedule. Options are migrated
817
906
  # from the original ScheduleOptions message.
818
907
  class TimeBasedSchedule
@@ -1097,6 +1186,109 @@ module Google
1097
1186
  end
1098
1187
  end
1099
1188
 
1189
+ # Resource (table/partition) that is being transferred.
1190
+ class TransferResource
1191
+ include Google::Apis::Core::Hashable
1192
+
1193
+ # Optional. Resource destination.
1194
+ # Corresponds to the JSON property `destination`
1195
+ # @return [String]
1196
+ attr_accessor :destination
1197
+
1198
+ # Details about the hierarchy.
1199
+ # Corresponds to the JSON property `hierarchyDetail`
1200
+ # @return [Google::Apis::BigquerydatatransferV1::HierarchyDetail]
1201
+ attr_accessor :hierarchy_detail
1202
+
1203
+ # Basic information about a transfer run.
1204
+ # Corresponds to the JSON property `lastSuccessfulRun`
1205
+ # @return [Google::Apis::BigquerydatatransferV1::TransferRunBrief]
1206
+ attr_accessor :last_successful_run
1207
+
1208
+ # Basic information about a transfer run.
1209
+ # Corresponds to the JSON property `latestRun`
1210
+ # @return [Google::Apis::BigquerydatatransferV1::TransferRunBrief]
1211
+ attr_accessor :latest_run
1212
+
1213
+ # Status details of the resource being transferred.
1214
+ # Corresponds to the JSON property `latestStatusDetail`
1215
+ # @return [Google::Apis::BigquerydatatransferV1::TransferResourceStatusDetail]
1216
+ attr_accessor :latest_status_detail
1217
+
1218
+ # Identifier. Resource name.
1219
+ # Corresponds to the JSON property `name`
1220
+ # @return [String]
1221
+ attr_accessor :name
1222
+
1223
+ # Optional. Resource type.
1224
+ # Corresponds to the JSON property `type`
1225
+ # @return [String]
1226
+ attr_accessor :type
1227
+
1228
+ # Output only. Time when the resource was last updated.
1229
+ # Corresponds to the JSON property `updateTime`
1230
+ # @return [String]
1231
+ attr_accessor :update_time
1232
+
1233
+ def initialize(**args)
1234
+ update!(**args)
1235
+ end
1236
+
1237
+ # Update properties of this object
1238
+ def update!(**args)
1239
+ @destination = args[:destination] if args.key?(:destination)
1240
+ @hierarchy_detail = args[:hierarchy_detail] if args.key?(:hierarchy_detail)
1241
+ @last_successful_run = args[:last_successful_run] if args.key?(:last_successful_run)
1242
+ @latest_run = args[:latest_run] if args.key?(:latest_run)
1243
+ @latest_status_detail = args[:latest_status_detail] if args.key?(:latest_status_detail)
1244
+ @name = args[:name] if args.key?(:name)
1245
+ @type = args[:type] if args.key?(:type)
1246
+ @update_time = args[:update_time] if args.key?(:update_time)
1247
+ end
1248
+ end
1249
+
1250
+ # Status details of the resource being transferred.
1251
+ class TransferResourceStatusDetail
1252
+ include Google::Apis::Core::Hashable
1253
+
1254
+ # Output only. Percentage of the transfer completed. Valid values: 0-100.
1255
+ # Corresponds to the JSON property `completedPercentage`
1256
+ # @return [Float]
1257
+ attr_accessor :completed_percentage
1258
+
1259
+ # The `Status` type defines a logical error model that is suitable for different
1260
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1261
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1262
+ # data: error code, error message, and error details. You can find out more
1263
+ # about this error model and how to work with it in the [API Design Guide](https:
1264
+ # //cloud.google.com/apis/design/errors).
1265
+ # Corresponds to the JSON property `error`
1266
+ # @return [Google::Apis::BigquerydatatransferV1::Status]
1267
+ attr_accessor :error
1268
+
1269
+ # Optional. Transfer state of the resource.
1270
+ # Corresponds to the JSON property `state`
1271
+ # @return [String]
1272
+ attr_accessor :state
1273
+
1274
+ # Status summary of the resource being transferred.
1275
+ # Corresponds to the JSON property `summary`
1276
+ # @return [Google::Apis::BigquerydatatransferV1::TransferStatusSummary]
1277
+ attr_accessor :summary
1278
+
1279
+ def initialize(**args)
1280
+ update!(**args)
1281
+ end
1282
+
1283
+ # Update properties of this object
1284
+ def update!(**args)
1285
+ @completed_percentage = args[:completed_percentage] if args.key?(:completed_percentage)
1286
+ @error = args[:error] if args.key?(:error)
1287
+ @state = args[:state] if args.key?(:state)
1288
+ @summary = args[:summary] if args.key?(:summary)
1289
+ end
1290
+ end
1291
+
1100
1292
  # Represents a data transfer run.
1101
1293
  class TransferRun
1102
1294
  include Google::Apis::Core::Hashable
@@ -1218,6 +1410,100 @@ module Google
1218
1410
  end
1219
1411
  end
1220
1412
 
1413
+ # Basic information about a transfer run.
1414
+ class TransferRunBrief
1415
+ include Google::Apis::Core::Hashable
1416
+
1417
+ # Optional. Run URI. The format must be: `projects/`project`/locations/`location`
1418
+ # /transferConfigs/`transfer_config`/run/`run``
1419
+ # Corresponds to the JSON property `run`
1420
+ # @return [String]
1421
+ attr_accessor :run
1422
+
1423
+ # Optional. Start time of the transfer run.
1424
+ # Corresponds to the JSON property `startTime`
1425
+ # @return [String]
1426
+ attr_accessor :start_time
1427
+
1428
+ def initialize(**args)
1429
+ update!(**args)
1430
+ end
1431
+
1432
+ # Update properties of this object
1433
+ def update!(**args)
1434
+ @run = args[:run] if args.key?(:run)
1435
+ @start_time = args[:start_time] if args.key?(:start_time)
1436
+ end
1437
+ end
1438
+
1439
+ # Metrics for tracking the transfer status.
1440
+ class TransferStatusMetric
1441
+ include Google::Apis::Core::Hashable
1442
+
1443
+ # Optional. Number of units transferred successfully.
1444
+ # Corresponds to the JSON property `completed`
1445
+ # @return [Fixnum]
1446
+ attr_accessor :completed
1447
+
1448
+ # Optional. Number of units that failed to transfer.
1449
+ # Corresponds to the JSON property `failed`
1450
+ # @return [Fixnum]
1451
+ attr_accessor :failed
1452
+
1453
+ # Optional. Number of units pending transfer.
1454
+ # Corresponds to the JSON property `pending`
1455
+ # @return [Fixnum]
1456
+ attr_accessor :pending
1457
+
1458
+ # Optional. Total number of units for the transfer.
1459
+ # Corresponds to the JSON property `total`
1460
+ # @return [Fixnum]
1461
+ attr_accessor :total
1462
+
1463
+ # Optional. Unit for measuring progress (e.g., BYTES).
1464
+ # Corresponds to the JSON property `unit`
1465
+ # @return [String]
1466
+ attr_accessor :unit
1467
+
1468
+ def initialize(**args)
1469
+ update!(**args)
1470
+ end
1471
+
1472
+ # Update properties of this object
1473
+ def update!(**args)
1474
+ @completed = args[:completed] if args.key?(:completed)
1475
+ @failed = args[:failed] if args.key?(:failed)
1476
+ @pending = args[:pending] if args.key?(:pending)
1477
+ @total = args[:total] if args.key?(:total)
1478
+ @unit = args[:unit] if args.key?(:unit)
1479
+ end
1480
+ end
1481
+
1482
+ # Status summary of the resource being transferred.
1483
+ class TransferStatusSummary
1484
+ include Google::Apis::Core::Hashable
1485
+
1486
+ # Optional. List of transfer status metrics.
1487
+ # Corresponds to the JSON property `metrics`
1488
+ # @return [Array<Google::Apis::BigquerydatatransferV1::TransferStatusMetric>]
1489
+ attr_accessor :metrics
1490
+
1491
+ # Input only. Unit based on which transfer status progress should be calculated.
1492
+ # Corresponds to the JSON property `progressUnit`
1493
+ # @return [String]
1494
+ attr_accessor :progress_unit
1495
+
1496
+ def initialize(**args)
1497
+ update!(**args)
1498
+ end
1499
+
1500
+ # Update properties of this object
1501
+ def update!(**args)
1502
+ @metrics = args[:metrics] if args.key?(:metrics)
1503
+ @progress_unit = args[:progress_unit] if args.key?(:progress_unit)
1504
+ end
1505
+ end
1506
+
1221
1507
  # A request to unenroll a set of data sources so they are no longer visible in
1222
1508
  # the BigQuery UI's `Transfer` tab.
1223
1509
  class UnenrollDataSourcesRequest
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigquerydatatransferV1
18
18
  # Version of the google-apis-bigquerydatatransfer_v1 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260201"
25
+ REVISION = "20260423"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class HierarchyDetail
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class ListDataSourcesResponse
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -100,6 +106,12 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class ListTransferResourcesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class ListTransferRunsResponse
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -118,6 +130,12 @@ module Google
118
130
  include Google::Apis::Core::JsonObjectSupport
119
131
  end
120
132
 
133
+ class PartitionDetail
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
121
139
  class ScheduleOptions
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
@@ -160,6 +178,12 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class TableDetail
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
163
187
  class TimeBasedSchedule
164
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
189
 
@@ -184,12 +208,42 @@ module Google
184
208
  include Google::Apis::Core::JsonObjectSupport
185
209
  end
186
210
 
211
+ class TransferResource
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class TransferResourceStatusDetail
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
187
223
  class TransferRun
188
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
225
 
190
226
  include Google::Apis::Core::JsonObjectSupport
191
227
  end
192
228
 
229
+ class TransferRunBrief
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class TransferStatusMetric
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class TransferStatusSummary
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
193
247
  class UnenrollDataSourcesRequest
194
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
249
 
@@ -298,6 +352,16 @@ module Google
298
352
  end
299
353
  end
300
354
 
355
+ class HierarchyDetail
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :partition_detail, as: 'partitionDetail', class: Google::Apis::BigquerydatatransferV1::PartitionDetail, decorator: Google::Apis::BigquerydatatransferV1::PartitionDetail::Representation
359
+
360
+ property :table_detail, as: 'tableDetail', class: Google::Apis::BigquerydatatransferV1::TableDetail, decorator: Google::Apis::BigquerydatatransferV1::TableDetail::Representation
361
+
362
+ end
363
+ end
364
+
301
365
  class ListDataSourcesResponse
302
366
  # @private
303
367
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -334,6 +398,15 @@ module Google
334
398
  end
335
399
  end
336
400
 
401
+ class ListTransferResourcesResponse
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :next_page_token, as: 'nextPageToken'
405
+ collection :transfer_resources, as: 'transferResources', class: Google::Apis::BigquerydatatransferV1::TransferResource, decorator: Google::Apis::BigquerydatatransferV1::TransferResource::Representation
406
+
407
+ end
408
+ end
409
+
337
410
  class ListTransferRunsResponse
338
411
  # @private
339
412
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -360,6 +433,13 @@ module Google
360
433
  end
361
434
  end
362
435
 
436
+ class PartitionDetail
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :table, as: 'table'
440
+ end
441
+ end
442
+
363
443
  class ScheduleOptions
364
444
  # @private
365
445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -423,6 +503,13 @@ module Google
423
503
  end
424
504
  end
425
505
 
506
+ class TableDetail
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ property :partition_count, :numeric_string => true, as: 'partitionCount'
510
+ end
511
+ end
512
+
426
513
  class TimeBasedSchedule
427
514
  # @private
428
515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -482,6 +569,36 @@ module Google
482
569
  end
483
570
  end
484
571
 
572
+ class TransferResource
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :destination, as: 'destination'
576
+ property :hierarchy_detail, as: 'hierarchyDetail', class: Google::Apis::BigquerydatatransferV1::HierarchyDetail, decorator: Google::Apis::BigquerydatatransferV1::HierarchyDetail::Representation
577
+
578
+ property :last_successful_run, as: 'lastSuccessfulRun', class: Google::Apis::BigquerydatatransferV1::TransferRunBrief, decorator: Google::Apis::BigquerydatatransferV1::TransferRunBrief::Representation
579
+
580
+ property :latest_run, as: 'latestRun', class: Google::Apis::BigquerydatatransferV1::TransferRunBrief, decorator: Google::Apis::BigquerydatatransferV1::TransferRunBrief::Representation
581
+
582
+ property :latest_status_detail, as: 'latestStatusDetail', class: Google::Apis::BigquerydatatransferV1::TransferResourceStatusDetail, decorator: Google::Apis::BigquerydatatransferV1::TransferResourceStatusDetail::Representation
583
+
584
+ property :name, as: 'name'
585
+ property :type, as: 'type'
586
+ property :update_time, as: 'updateTime'
587
+ end
588
+ end
589
+
590
+ class TransferResourceStatusDetail
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :completed_percentage, as: 'completedPercentage'
594
+ property :error, as: 'error', class: Google::Apis::BigquerydatatransferV1::Status, decorator: Google::Apis::BigquerydatatransferV1::Status::Representation
595
+
596
+ property :state, as: 'state'
597
+ property :summary, as: 'summary', class: Google::Apis::BigquerydatatransferV1::TransferStatusSummary, decorator: Google::Apis::BigquerydatatransferV1::TransferStatusSummary::Representation
598
+
599
+ end
600
+ end
601
+
485
602
  class TransferRun
486
603
  # @private
487
604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -505,6 +622,34 @@ module Google
505
622
  end
506
623
  end
507
624
 
625
+ class TransferRunBrief
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :run, as: 'run'
629
+ property :start_time, as: 'startTime'
630
+ end
631
+ end
632
+
633
+ class TransferStatusMetric
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :completed, :numeric_string => true, as: 'completed'
637
+ property :failed, :numeric_string => true, as: 'failed'
638
+ property :pending, :numeric_string => true, as: 'pending'
639
+ property :total, :numeric_string => true, as: 'total'
640
+ property :unit, as: 'unit'
641
+ end
642
+ end
643
+
644
+ class TransferStatusSummary
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ collection :metrics, as: 'metrics', class: Google::Apis::BigquerydatatransferV1::TransferStatusMetric, decorator: Google::Apis::BigquerydatatransferV1::TransferStatusMetric::Representation
648
+
649
+ property :progress_unit, as: 'progressUnit'
650
+ end
651
+ end
652
+
508
653
  class UnenrollDataSourcesRequest
509
654
  # @private
510
655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -274,15 +274,20 @@ module Google
274
274
  end
275
275
 
276
276
  # Lists information about the supported locations for this service. This method
277
- # can be called in two ways: * **List all public locations:** Use the path `GET /
278
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
279
- # projects/`project_id`/locations`. This may include public locations as well as
280
- # private or other locations specifically visible to the project.
277
+ # lists locations based on the resource scope provided in the
278
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
279
+ # the method lists the public locations available to all projects. * **Project-
280
+ # specific locations**: If `name` follows the format `projects/`project``, the
281
+ # method lists locations visible to that specific project. This includes public,
282
+ # private, or other project-specific locations enabled for the project. For gRPC
283
+ # and client library implementations, the resource name is passed as the `name`
284
+ # field. For direct service calls, the resource name is incorporated into the
285
+ # request path based on the specific service implementation and version.
281
286
  # @param [String] name
282
287
  # The resource that owns the locations collection, if applicable.
283
288
  # @param [Array<String>, String] extra_location_types
284
- # Optional. Do not use this field. It is unsupported and is ignored unless
285
- # explicitly documented otherwise. This is primarily for internal usage.
289
+ # Optional. Do not use this field unless explicitly documented otherwise. This
290
+ # is primarily for internal usage.
286
291
  # @param [String] filter
287
292
  # A filter to narrow down results to a preferred subset. The filtering language
288
293
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -991,6 +996,94 @@ module Google
991
996
  execute_or_queue_command(command, &block)
992
997
  end
993
998
 
999
+ # Returns a transfer resource.
1000
+ # @param [String] name
1001
+ # Required. The name of the transfer resource in the form of: * `projects/`
1002
+ # project`/transferConfigs/`transfer_config`/transferResources/`
1003
+ # transfer_resource`` * `projects/`project`/locations/`location`/transferConfigs/
1004
+ # `transfer_config`/transferResources/`transfer_resource``
1005
+ # @param [String] fields
1006
+ # Selector specifying which fields to include in a partial response.
1007
+ # @param [String] quota_user
1008
+ # Available to use for quota purposes for server-side applications. Can be any
1009
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1010
+ # @param [Google::Apis::RequestOptions] options
1011
+ # Request-specific options
1012
+ #
1013
+ # @yield [result, err] Result & error if block supplied
1014
+ # @yieldparam result [Google::Apis::BigquerydatatransferV1::TransferResource] parsed result object
1015
+ # @yieldparam err [StandardError] error object if request failed
1016
+ #
1017
+ # @return [Google::Apis::BigquerydatatransferV1::TransferResource]
1018
+ #
1019
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1020
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1021
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1022
+ def get_project_location_transfer_config_transfer_resource(name, fields: nil, quota_user: nil, options: nil, &block)
1023
+ command = make_simple_command(:get, 'v1/{+name}', options)
1024
+ command.response_representation = Google::Apis::BigquerydatatransferV1::TransferResource::Representation
1025
+ command.response_class = Google::Apis::BigquerydatatransferV1::TransferResource
1026
+ command.params['name'] = name unless name.nil?
1027
+ command.query['fields'] = fields unless fields.nil?
1028
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1029
+ execute_or_queue_command(command, &block)
1030
+ end
1031
+
1032
+ # Returns information about transfer resources.
1033
+ # @param [String] parent
1034
+ # Required. Name of transfer configuration for which transfer resources should
1035
+ # be retrieved. The name should be in one of the following forms: * `projects/`
1036
+ # project`/transferConfigs/`transfer_config`` * `projects/`project`/locations/`
1037
+ # location_id`/transferConfigs/`transfer_config``
1038
+ # @param [String] filter
1039
+ # Optional. Filter for the transfer resources. Currently supported filters
1040
+ # include: * Resource name: `name` - Wildcard supported * Resource type: `type` *
1041
+ # Resource destination: `destination` * Latest resource state: `
1042
+ # latest_status_detail.state` * Last update time: `update_time` - RFC-3339
1043
+ # format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple
1044
+ # filters can be applied using the `AND/OR` operator. Examples: * `name="*123"
1045
+ # AND (type="TABLE" OR latest_status_detail.state="SUCCEEDED")` * `update_time >=
1046
+ # "2012-04-21T11:30:00-04:00"` * `hierarchy_detail.partition_detail.table = "
1047
+ # table1"`
1048
+ # @param [Fixnum] page_size
1049
+ # Optional. The maximum number of transfer resources to return. The maximum
1050
+ # value is 1000; values above 1000 will be coerced to 1000. The default page
1051
+ # size is the maximum value of 1000 results.
1052
+ # @param [String] page_token
1053
+ # Optional. A page token, received from a previous `ListTransferResources` call.
1054
+ # Provide this to retrieve the subsequent page. When paginating, all other
1055
+ # parameters provided to `ListTransferResources` must match the call that
1056
+ # provided the page token.
1057
+ # @param [String] fields
1058
+ # Selector specifying which fields to include in a partial response.
1059
+ # @param [String] quota_user
1060
+ # Available to use for quota purposes for server-side applications. Can be any
1061
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1062
+ # @param [Google::Apis::RequestOptions] options
1063
+ # Request-specific options
1064
+ #
1065
+ # @yield [result, err] Result & error if block supplied
1066
+ # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse] parsed result object
1067
+ # @yieldparam err [StandardError] error object if request failed
1068
+ #
1069
+ # @return [Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse]
1070
+ #
1071
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1072
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1073
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1074
+ def list_project_location_transfer_config_transfer_resources(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1075
+ command = make_simple_command(:get, 'v1/{+parent}/transferResources', options)
1076
+ command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse::Representation
1077
+ command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse
1078
+ command.params['parent'] = parent unless parent.nil?
1079
+ command.query['filter'] = filter unless filter.nil?
1080
+ command.query['pageSize'] = page_size unless page_size.nil?
1081
+ command.query['pageToken'] = page_token unless page_token.nil?
1082
+ command.query['fields'] = fields unless fields.nil?
1083
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1084
+ execute_or_queue_command(command, &block)
1085
+ end
1086
+
994
1087
  # Creates a new data transfer configuration.
995
1088
  # @param [String] parent
996
1089
  # Required. The BigQuery project id where the transfer configuration should be
@@ -1507,6 +1600,94 @@ module Google
1507
1600
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1508
1601
  execute_or_queue_command(command, &block)
1509
1602
  end
1603
+
1604
+ # Returns a transfer resource.
1605
+ # @param [String] name
1606
+ # Required. The name of the transfer resource in the form of: * `projects/`
1607
+ # project`/transferConfigs/`transfer_config`/transferResources/`
1608
+ # transfer_resource`` * `projects/`project`/locations/`location`/transferConfigs/
1609
+ # `transfer_config`/transferResources/`transfer_resource``
1610
+ # @param [String] fields
1611
+ # Selector specifying which fields to include in a partial response.
1612
+ # @param [String] quota_user
1613
+ # Available to use for quota purposes for server-side applications. Can be any
1614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1615
+ # @param [Google::Apis::RequestOptions] options
1616
+ # Request-specific options
1617
+ #
1618
+ # @yield [result, err] Result & error if block supplied
1619
+ # @yieldparam result [Google::Apis::BigquerydatatransferV1::TransferResource] parsed result object
1620
+ # @yieldparam err [StandardError] error object if request failed
1621
+ #
1622
+ # @return [Google::Apis::BigquerydatatransferV1::TransferResource]
1623
+ #
1624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1627
+ def get_project_transfer_config_transfer_resource(name, fields: nil, quota_user: nil, options: nil, &block)
1628
+ command = make_simple_command(:get, 'v1/{+name}', options)
1629
+ command.response_representation = Google::Apis::BigquerydatatransferV1::TransferResource::Representation
1630
+ command.response_class = Google::Apis::BigquerydatatransferV1::TransferResource
1631
+ command.params['name'] = name unless name.nil?
1632
+ command.query['fields'] = fields unless fields.nil?
1633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1634
+ execute_or_queue_command(command, &block)
1635
+ end
1636
+
1637
+ # Returns information about transfer resources.
1638
+ # @param [String] parent
1639
+ # Required. Name of transfer configuration for which transfer resources should
1640
+ # be retrieved. The name should be in one of the following forms: * `projects/`
1641
+ # project`/transferConfigs/`transfer_config`` * `projects/`project`/locations/`
1642
+ # location_id`/transferConfigs/`transfer_config``
1643
+ # @param [String] filter
1644
+ # Optional. Filter for the transfer resources. Currently supported filters
1645
+ # include: * Resource name: `name` - Wildcard supported * Resource type: `type` *
1646
+ # Resource destination: `destination` * Latest resource state: `
1647
+ # latest_status_detail.state` * Last update time: `update_time` - RFC-3339
1648
+ # format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple
1649
+ # filters can be applied using the `AND/OR` operator. Examples: * `name="*123"
1650
+ # AND (type="TABLE" OR latest_status_detail.state="SUCCEEDED")` * `update_time >=
1651
+ # "2012-04-21T11:30:00-04:00"` * `hierarchy_detail.partition_detail.table = "
1652
+ # table1"`
1653
+ # @param [Fixnum] page_size
1654
+ # Optional. The maximum number of transfer resources to return. The maximum
1655
+ # value is 1000; values above 1000 will be coerced to 1000. The default page
1656
+ # size is the maximum value of 1000 results.
1657
+ # @param [String] page_token
1658
+ # Optional. A page token, received from a previous `ListTransferResources` call.
1659
+ # Provide this to retrieve the subsequent page. When paginating, all other
1660
+ # parameters provided to `ListTransferResources` must match the call that
1661
+ # provided the page token.
1662
+ # @param [String] fields
1663
+ # Selector specifying which fields to include in a partial response.
1664
+ # @param [String] quota_user
1665
+ # Available to use for quota purposes for server-side applications. Can be any
1666
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1667
+ # @param [Google::Apis::RequestOptions] options
1668
+ # Request-specific options
1669
+ #
1670
+ # @yield [result, err] Result & error if block supplied
1671
+ # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse] parsed result object
1672
+ # @yieldparam err [StandardError] error object if request failed
1673
+ #
1674
+ # @return [Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse]
1675
+ #
1676
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1677
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1678
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1679
+ def list_project_transfer_config_transfer_resources(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1680
+ command = make_simple_command(:get, 'v1/{+parent}/transferResources', options)
1681
+ command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse::Representation
1682
+ command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse
1683
+ command.params['parent'] = parent unless parent.nil?
1684
+ command.query['filter'] = filter unless filter.nil?
1685
+ command.query['pageSize'] = page_size unless page_size.nil?
1686
+ command.query['pageToken'] = page_token unless page_token.nil?
1687
+ command.query['fields'] = fields unless fields.nil?
1688
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1689
+ execute_or_queue_command(command, &block)
1690
+ end
1510
1691
 
1511
1692
  protected
1512
1693
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquerydatatransfer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatatransfer_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.52.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatatransfer_v1
62
62
  rdoc_options: []
63
63
  require_paths: