google-apis-bigquerydatatransfer_v1 0.41.0 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a2a15234210f4da0c4bd937a53df4df7c97edd9058d38a07964328148b9b4bd
4
- data.tar.gz: 6757ab1fa848352d6162f231702ef0663da6127f239e23b18003d6651f74abda
3
+ metadata.gz: '0629d26bebba2582757fed7efb9f16bbf36264bc7121878bd9dddf3c22056f47'
4
+ data.tar.gz: 9a7e50de6a2be97e39ae4bb298ab4d19a6d391c81da643c0c14bf8e265710c49
5
5
  SHA512:
6
- metadata.gz: 17f6cc19ec6b3c49a4291a629fe49a93817753c559bcafa42fee2caf691f82228e16ac46c3865da59b42499b6375747a808453757ad761cf014220a92873625c
7
- data.tar.gz: d42076cab94ab56de56273ed3045a48832323b209b2c9988e1a2944a8fc27f5d08c2cd7a1d6509b4ad235daa8eaedca881b572ebfa640ac58f97b11b9371141e
6
+ metadata.gz: 907a6a85dcd9a7a388373274fa91a2710b98d58c1b321755ef63940dac8f99c1201cc5b03dba4a8bbfa6c844c6334f47820493e5496c72fd2b95b9d53edffb44
7
+ data.tar.gz: 5aace50e8f754e0f5333756837806499602563f80c1088c439640dabc72d89ddb7cba567618c5a812e3ba6b3765f8fa80b6976c4b114b71d3a087142d27d5e24
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-bigquerydatatransfer_v1
2
2
 
3
+ ### v0.43.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240914
6
+
7
+ ### v0.42.0 (2024-08-11)
8
+
9
+ * Regenerated from discovery document revision 20240806
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.41.0 (2024-05-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20240512
@@ -385,6 +385,27 @@ module Google
385
385
  end
386
386
  end
387
387
 
388
+ # Options customizing EventDriven transfers schedule.
389
+ class EventDrivenSchedule
390
+ include Google::Apis::Core::Hashable
391
+
392
+ # Pub/Sub subscription name used to receive events. Only Google Cloud Storage
393
+ # data source support this option. Format: projects/`project`/subscriptions/`
394
+ # subscription`
395
+ # Corresponds to the JSON property `pubsubSubscription`
396
+ # @return [String]
397
+ attr_accessor :pubsub_subscription
398
+
399
+ def initialize(**args)
400
+ update!(**args)
401
+ end
402
+
403
+ # Update properties of this object
404
+ def update!(**args)
405
+ @pubsub_subscription = args[:pubsub_subscription] if args.key?(:pubsub_subscription)
406
+ end
407
+ end
408
+
388
409
  # Returns list of supported data sources and their metadata.
389
410
  class ListDataSourcesResponse
390
411
  include Google::Apis::Core::Hashable
@@ -565,6 +586,19 @@ module Google
565
586
  end
566
587
  end
567
588
 
589
+ # Options customizing manual transfers schedule.
590
+ class ManualSchedule
591
+ include Google::Apis::Core::Hashable
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ end
600
+ end
601
+
568
602
  # Options customizing the data transfer schedule.
569
603
  class ScheduleOptions
570
604
  include Google::Apis::Core::Hashable
@@ -606,6 +640,41 @@ module Google
606
640
  end
607
641
  end
608
642
 
643
+ # V2 options customizing different types of data transfer schedule. This field
644
+ # supports existing time-based and manual transfer schedule. Also supports Event-
645
+ # Driven transfer schedule. ScheduleOptionsV2 cannot be used together with
646
+ # ScheduleOptions/Schedule.
647
+ class ScheduleOptionsV2
648
+ include Google::Apis::Core::Hashable
649
+
650
+ # Options customizing EventDriven transfers schedule.
651
+ # Corresponds to the JSON property `eventDrivenSchedule`
652
+ # @return [Google::Apis::BigquerydatatransferV1::EventDrivenSchedule]
653
+ attr_accessor :event_driven_schedule
654
+
655
+ # Options customizing manual transfers schedule.
656
+ # Corresponds to the JSON property `manualSchedule`
657
+ # @return [Google::Apis::BigquerydatatransferV1::ManualSchedule]
658
+ attr_accessor :manual_schedule
659
+
660
+ # Options customizing the time based transfer schedule. Options are migrated
661
+ # from the original ScheduleOptions message.
662
+ # Corresponds to the JSON property `timeBasedSchedule`
663
+ # @return [Google::Apis::BigquerydatatransferV1::TimeBasedSchedule]
664
+ attr_accessor :time_based_schedule
665
+
666
+ def initialize(**args)
667
+ update!(**args)
668
+ end
669
+
670
+ # Update properties of this object
671
+ def update!(**args)
672
+ @event_driven_schedule = args[:event_driven_schedule] if args.key?(:event_driven_schedule)
673
+ @manual_schedule = args[:manual_schedule] if args.key?(:manual_schedule)
674
+ @time_based_schedule = args[:time_based_schedule] if args.key?(:time_based_schedule)
675
+ end
676
+ end
677
+
609
678
  # A request to schedule transfer runs for a time range.
610
679
  class ScheduleTransferRunsRequest
611
680
  include Google::Apis::Core::Hashable
@@ -738,6 +807,49 @@ module Google
738
807
  end
739
808
  end
740
809
 
810
+ # Options customizing the time based transfer schedule. Options are migrated
811
+ # from the original ScheduleOptions message.
812
+ class TimeBasedSchedule
813
+ include Google::Apis::Core::Hashable
814
+
815
+ # Defines time to stop scheduling transfer runs. A transfer run cannot be
816
+ # scheduled at or after the end time. The end time can be changed at any moment.
817
+ # Corresponds to the JSON property `endTime`
818
+ # @return [String]
819
+ attr_accessor :end_time
820
+
821
+ # Data transfer schedule. If the data source does not support a custom schedule,
822
+ # this should be empty. If it is empty, the default value for the data source
823
+ # will be used. The specified times are in UTC. Examples of valid format: `1st,
824
+ # 3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first
825
+ # sunday of quarter 00:00`. See more explanation about the format here: https://
826
+ # cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#
827
+ # the_schedule_format NOTE: The minimum interval time between recurring
828
+ # transfers depends on the data source; refer to the documentation for your data
829
+ # source.
830
+ # Corresponds to the JSON property `schedule`
831
+ # @return [String]
832
+ attr_accessor :schedule
833
+
834
+ # Specifies time to start scheduling transfer runs. The first run will be
835
+ # scheduled at or after the start time according to a recurrence pattern defined
836
+ # in the schedule string. The start time can be changed at any moment.
837
+ # Corresponds to the JSON property `startTime`
838
+ # @return [String]
839
+ attr_accessor :start_time
840
+
841
+ def initialize(**args)
842
+ update!(**args)
843
+ end
844
+
845
+ # Update properties of this object
846
+ def update!(**args)
847
+ @end_time = args[:end_time] if args.key?(:end_time)
848
+ @schedule = args[:schedule] if args.key?(:schedule)
849
+ @start_time = args[:start_time] if args.key?(:start_time)
850
+ end
851
+ end
852
+
741
853
  # A specification for a time range, this will request transfer runs with
742
854
  # run_time between start_time (inclusive) and end_time (exclusive).
743
855
  class TimeRange
@@ -828,6 +940,16 @@ module Google
828
940
  # @return [Google::Apis::BigquerydatatransferV1::EncryptionConfiguration]
829
941
  attr_accessor :encryption_configuration
830
942
 
943
+ # The `Status` type defines a logical error model that is suitable for different
944
+ # programming environments, including REST APIs and RPC APIs. It is used by [
945
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
946
+ # data: error code, error message, and error details. You can find out more
947
+ # about this error model and how to work with it in the [API Design Guide](https:
948
+ # //cloud.google.com/apis/design/errors).
949
+ # Corresponds to the JSON property `error`
950
+ # @return [Google::Apis::BigquerydatatransferV1::Status]
951
+ attr_accessor :error
952
+
831
953
  # Identifier. The resource name of the transfer config. Transfer config names
832
954
  # have the form either `projects/`project_id`/locations/`region`/transferConfigs/
833
955
  # `config_id`` or `projects/`project_id`/transferConfigs/`config_id``, where `
@@ -880,6 +1002,14 @@ module Google
880
1002
  # @return [Google::Apis::BigquerydatatransferV1::ScheduleOptions]
881
1003
  attr_accessor :schedule_options
882
1004
 
1005
+ # V2 options customizing different types of data transfer schedule. This field
1006
+ # supports existing time-based and manual transfer schedule. Also supports Event-
1007
+ # Driven transfer schedule. ScheduleOptionsV2 cannot be used together with
1008
+ # ScheduleOptions/Schedule.
1009
+ # Corresponds to the JSON property `scheduleOptionsV2`
1010
+ # @return [Google::Apis::BigquerydatatransferV1::ScheduleOptionsV2]
1011
+ attr_accessor :schedule_options_v2
1012
+
883
1013
  # Output only. State of the most recently updated transfer run.
884
1014
  # Corresponds to the JSON property `state`
885
1015
  # @return [String]
@@ -909,6 +1039,7 @@ module Google
909
1039
  @display_name = args[:display_name] if args.key?(:display_name)
910
1040
  @email_preferences = args[:email_preferences] if args.key?(:email_preferences)
911
1041
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
1042
+ @error = args[:error] if args.key?(:error)
912
1043
  @name = args[:name] if args.key?(:name)
913
1044
  @next_run_time = args[:next_run_time] if args.key?(:next_run_time)
914
1045
  @notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
@@ -916,6 +1047,7 @@ module Google
916
1047
  @params = args[:params] if args.key?(:params)
917
1048
  @schedule = args[:schedule] if args.key?(:schedule)
918
1049
  @schedule_options = args[:schedule_options] if args.key?(:schedule_options)
1050
+ @schedule_options_v2 = args[:schedule_options_v2] if args.key?(:schedule_options_v2)
919
1051
  @state = args[:state] if args.key?(:state)
920
1052
  @update_time = args[:update_time] if args.key?(:update_time)
921
1053
  @user_id = args[:user_id] if args.key?(:user_id)
@@ -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.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240512"
25
+ REVISION = "20240914"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class EventDrivenSchedule
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class ListDataSourcesResponse
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -106,12 +112,24 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class ManualSchedule
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class ScheduleOptions
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class ScheduleOptionsV2
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class ScheduleTransferRunsRequest
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -142,6 +160,12 @@ module Google
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class TimeBasedSchedule
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class TimeRange
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -266,6 +290,13 @@ module Google
266
290
  end
267
291
  end
268
292
 
293
+ class EventDrivenSchedule
294
+ # @private
295
+ class Representation < Google::Apis::Core::JsonRepresentation
296
+ property :pubsub_subscription, as: 'pubsubSubscription'
297
+ end
298
+ end
299
+
269
300
  class ListDataSourcesResponse
270
301
  # @private
271
302
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -322,6 +353,12 @@ module Google
322
353
  end
323
354
  end
324
355
 
356
+ class ManualSchedule
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ end
360
+ end
361
+
325
362
  class ScheduleOptions
326
363
  # @private
327
364
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -331,6 +368,18 @@ module Google
331
368
  end
332
369
  end
333
370
 
371
+ class ScheduleOptionsV2
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :event_driven_schedule, as: 'eventDrivenSchedule', class: Google::Apis::BigquerydatatransferV1::EventDrivenSchedule, decorator: Google::Apis::BigquerydatatransferV1::EventDrivenSchedule::Representation
375
+
376
+ property :manual_schedule, as: 'manualSchedule', class: Google::Apis::BigquerydatatransferV1::ManualSchedule, decorator: Google::Apis::BigquerydatatransferV1::ManualSchedule::Representation
377
+
378
+ property :time_based_schedule, as: 'timeBasedSchedule', class: Google::Apis::BigquerydatatransferV1::TimeBasedSchedule, decorator: Google::Apis::BigquerydatatransferV1::TimeBasedSchedule::Representation
379
+
380
+ end
381
+ end
382
+
334
383
  class ScheduleTransferRunsRequest
335
384
  # @private
336
385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -373,6 +422,15 @@ module Google
373
422
  end
374
423
  end
375
424
 
425
+ class TimeBasedSchedule
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :end_time, as: 'endTime'
429
+ property :schedule, as: 'schedule'
430
+ property :start_time, as: 'startTime'
431
+ end
432
+ end
433
+
376
434
  class TimeRange
377
435
  # @private
378
436
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -394,6 +452,8 @@ module Google
394
452
 
395
453
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigquerydatatransferV1::EncryptionConfiguration, decorator: Google::Apis::BigquerydatatransferV1::EncryptionConfiguration::Representation
396
454
 
455
+ property :error, as: 'error', class: Google::Apis::BigquerydatatransferV1::Status, decorator: Google::Apis::BigquerydatatransferV1::Status::Representation
456
+
397
457
  property :name, as: 'name'
398
458
  property :next_run_time, as: 'nextRunTime'
399
459
  property :notification_pubsub_topic, as: 'notificationPubsubTopic'
@@ -403,6 +463,8 @@ module Google
403
463
  property :schedule, as: 'schedule'
404
464
  property :schedule_options, as: 'scheduleOptions', class: Google::Apis::BigquerydatatransferV1::ScheduleOptions, decorator: Google::Apis::BigquerydatatransferV1::ScheduleOptions::Representation
405
465
 
466
+ property :schedule_options_v2, as: 'scheduleOptionsV2', class: Google::Apis::BigquerydatatransferV1::ScheduleOptionsV2, decorator: Google::Apis::BigquerydatatransferV1::ScheduleOptionsV2::Representation
467
+
406
468
  property :state, as: 'state'
407
469
  property :update_time, as: 'updateTime'
408
470
  property :user_id, :numeric_string => true, as: 'userId'
@@ -466,16 +466,19 @@ module Google
466
466
  # destination bigquery dataset do not match - the request will fail.
467
467
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
468
468
  # @param [String] authorization_code
469
- # Optional OAuth2 authorization code to use with this transfer configuration.
470
- # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
471
- # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
472
- # obtain authorization_code, make a request to the following URL: https://
473
- # bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:
474
- # oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=
475
- # data_source_scopes * The client_id is the OAuth client_id of the a data source
476
- # as returned by ListDataSources method. * data_source_scopes are the scopes
477
- # returned by ListDataSources method. Note that this should not be set when `
478
- # service_account_name` is used to create the transfer config.
469
+ # Deprecated: Authorization code was required when `transferConfig.dataSourceId`
470
+ # is 'youtube_channel' but it is no longer used in any data sources. Use `
471
+ # version_info` instead. Optional OAuth2 authorization code to use with this
472
+ # transfer configuration. This is required only if `transferConfig.dataSourceId`
473
+ # is 'youtube_channel' and new credentials are needed, as indicated by `
474
+ # CheckValidCreds`. In order to obtain authorization_code, make a request to the
475
+ # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
476
+ # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&
477
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
478
+ # client_id of the data source as returned by ListDataSources method. *
479
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
480
+ # that this should not be set when `service_account_name` is used to create the
481
+ # transfer config.
479
482
  # @param [String] service_account_name
480
483
  # Optional service account email. If this field is set, the transfer config will
481
484
  # be created with this service account's credentials. It requires that the
@@ -485,15 +488,17 @@ module Google
485
488
  # about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/
486
489
  # use-service-accounts).
487
490
  # @param [String] version_info
488
- # Optional version info. This is required only if `transferConfig.dataSourceId`
489
- # is not 'youtube_channel' and new credentials are needed, as indicated by `
490
- # CheckValidCreds`. In order to obtain version info, make a request to the
491
- # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
492
- # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=
493
- # client_id&scope=data_source_scopes * The client_id is the OAuth client_id of
494
- # the a data source as returned by ListDataSources method. * data_source_scopes
495
- # are the scopes returned by ListDataSources method. Note that this should not
496
- # be set when `service_account_name` is used to create the transfer config.
491
+ # Optional version info. This parameter replaces `authorization_code` which is
492
+ # no longer used in any data sources. This is required only if `transferConfig.
493
+ # dataSourceId` is 'youtube_channel' *or* new credentials are needed, as
494
+ # indicated by `CheckValidCreds`. In order to obtain version info, make a
495
+ # request to the following URL: https://bigquery.cloud.google.com/datatransfer/
496
+ # oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&
497
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
498
+ # client_id of the data source as returned by ListDataSources method. *
499
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
500
+ # that this should not be set when `service_account_name` is used to create the
501
+ # transfer config.
497
502
  # @param [String] fields
498
503
  # Selector specifying which fields to include in a partial response.
499
504
  # @param [String] quota_user
@@ -646,16 +651,19 @@ module Google
646
651
  # The name is ignored when creating a transfer config.
647
652
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
648
653
  # @param [String] authorization_code
649
- # Optional OAuth2 authorization code to use with this transfer configuration.
650
- # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
651
- # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
652
- # obtain authorization_code, make a request to the following URL: https://
653
- # bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:
654
- # oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=
655
- # data_source_scopes * The client_id is the OAuth client_id of the a data source
656
- # as returned by ListDataSources method. * data_source_scopes are the scopes
657
- # returned by ListDataSources method. Note that this should not be set when `
658
- # service_account_name` is used to update the transfer config.
654
+ # Deprecated: Authorization code was required when `transferConfig.dataSourceId`
655
+ # is 'youtube_channel' but it is no longer used in any data sources. Use `
656
+ # version_info` instead. Optional OAuth2 authorization code to use with this
657
+ # transfer configuration. This is required only if `transferConfig.dataSourceId`
658
+ # is 'youtube_channel' and new credentials are needed, as indicated by `
659
+ # CheckValidCreds`. In order to obtain authorization_code, make a request to the
660
+ # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
661
+ # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&
662
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
663
+ # client_id of the data source as returned by ListDataSources method. *
664
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
665
+ # that this should not be set when `service_account_name` is used to update the
666
+ # transfer config.
659
667
  # @param [String] service_account_name
660
668
  # Optional service account email. If this field is set, the transfer config will
661
669
  # be created with this service account's credentials. It requires that the
@@ -667,15 +675,17 @@ module Google
667
675
  # @param [String] update_mask
668
676
  # Required. Required list of fields to be updated in this request.
669
677
  # @param [String] version_info
670
- # Optional version info. This is required only if `transferConfig.dataSourceId`
671
- # is not 'youtube_channel' and new credentials are needed, as indicated by `
672
- # CheckValidCreds`. In order to obtain version info, make a request to the
673
- # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
674
- # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=
675
- # client_id&scope=data_source_scopes * The client_id is the OAuth client_id of
676
- # the a data source as returned by ListDataSources method. * data_source_scopes
677
- # are the scopes returned by ListDataSources method. Note that this should not
678
- # be set when `service_account_name` is used to update the transfer config.
678
+ # Optional version info. This parameter replaces `authorization_code` which is
679
+ # no longer used in any data sources. This is required only if `transferConfig.
680
+ # dataSourceId` is 'youtube_channel' *or* new credentials are needed, as
681
+ # indicated by `CheckValidCreds`. In order to obtain version info, make a
682
+ # request to the following URL: https://bigquery.cloud.google.com/datatransfer/
683
+ # oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&
684
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
685
+ # client_id of the data source as returned by ListDataSources method. *
686
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
687
+ # that this should not be set when `service_account_name` is used to update the
688
+ # transfer config.
679
689
  # @param [String] fields
680
690
  # Selector specifying which fields to include in a partial response.
681
691
  # @param [String] quota_user
@@ -950,16 +960,19 @@ module Google
950
960
  # destination bigquery dataset do not match - the request will fail.
951
961
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
952
962
  # @param [String] authorization_code
953
- # Optional OAuth2 authorization code to use with this transfer configuration.
954
- # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
955
- # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
956
- # obtain authorization_code, make a request to the following URL: https://
957
- # bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:
958
- # oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=
959
- # data_source_scopes * The client_id is the OAuth client_id of the a data source
960
- # as returned by ListDataSources method. * data_source_scopes are the scopes
961
- # returned by ListDataSources method. Note that this should not be set when `
962
- # service_account_name` is used to create the transfer config.
963
+ # Deprecated: Authorization code was required when `transferConfig.dataSourceId`
964
+ # is 'youtube_channel' but it is no longer used in any data sources. Use `
965
+ # version_info` instead. Optional OAuth2 authorization code to use with this
966
+ # transfer configuration. This is required only if `transferConfig.dataSourceId`
967
+ # is 'youtube_channel' and new credentials are needed, as indicated by `
968
+ # CheckValidCreds`. In order to obtain authorization_code, make a request to the
969
+ # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
970
+ # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&
971
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
972
+ # client_id of the data source as returned by ListDataSources method. *
973
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
974
+ # that this should not be set when `service_account_name` is used to create the
975
+ # transfer config.
963
976
  # @param [String] service_account_name
964
977
  # Optional service account email. If this field is set, the transfer config will
965
978
  # be created with this service account's credentials. It requires that the
@@ -969,15 +982,17 @@ module Google
969
982
  # about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/
970
983
  # use-service-accounts).
971
984
  # @param [String] version_info
972
- # Optional version info. This is required only if `transferConfig.dataSourceId`
973
- # is not 'youtube_channel' and new credentials are needed, as indicated by `
974
- # CheckValidCreds`. In order to obtain version info, make a request to the
975
- # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
976
- # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=
977
- # client_id&scope=data_source_scopes * The client_id is the OAuth client_id of
978
- # the a data source as returned by ListDataSources method. * data_source_scopes
979
- # are the scopes returned by ListDataSources method. Note that this should not
980
- # be set when `service_account_name` is used to create the transfer config.
985
+ # Optional version info. This parameter replaces `authorization_code` which is
986
+ # no longer used in any data sources. This is required only if `transferConfig.
987
+ # dataSourceId` is 'youtube_channel' *or* new credentials are needed, as
988
+ # indicated by `CheckValidCreds`. In order to obtain version info, make a
989
+ # request to the following URL: https://bigquery.cloud.google.com/datatransfer/
990
+ # oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&
991
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
992
+ # client_id of the data source as returned by ListDataSources method. *
993
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
994
+ # that this should not be set when `service_account_name` is used to create the
995
+ # transfer config.
981
996
  # @param [String] fields
982
997
  # Selector specifying which fields to include in a partial response.
983
998
  # @param [String] quota_user
@@ -1130,16 +1145,19 @@ module Google
1130
1145
  # The name is ignored when creating a transfer config.
1131
1146
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
1132
1147
  # @param [String] authorization_code
1133
- # Optional OAuth2 authorization code to use with this transfer configuration.
1134
- # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
1135
- # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
1136
- # obtain authorization_code, make a request to the following URL: https://
1137
- # bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:
1138
- # oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=
1139
- # data_source_scopes * The client_id is the OAuth client_id of the a data source
1140
- # as returned by ListDataSources method. * data_source_scopes are the scopes
1141
- # returned by ListDataSources method. Note that this should not be set when `
1142
- # service_account_name` is used to update the transfer config.
1148
+ # Deprecated: Authorization code was required when `transferConfig.dataSourceId`
1149
+ # is 'youtube_channel' but it is no longer used in any data sources. Use `
1150
+ # version_info` instead. Optional OAuth2 authorization code to use with this
1151
+ # transfer configuration. This is required only if `transferConfig.dataSourceId`
1152
+ # is 'youtube_channel' and new credentials are needed, as indicated by `
1153
+ # CheckValidCreds`. In order to obtain authorization_code, make a request to the
1154
+ # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
1155
+ # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&
1156
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
1157
+ # client_id of the data source as returned by ListDataSources method. *
1158
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
1159
+ # that this should not be set when `service_account_name` is used to update the
1160
+ # transfer config.
1143
1161
  # @param [String] service_account_name
1144
1162
  # Optional service account email. If this field is set, the transfer config will
1145
1163
  # be created with this service account's credentials. It requires that the
@@ -1151,15 +1169,17 @@ module Google
1151
1169
  # @param [String] update_mask
1152
1170
  # Required. Required list of fields to be updated in this request.
1153
1171
  # @param [String] version_info
1154
- # Optional version info. This is required only if `transferConfig.dataSourceId`
1155
- # is not 'youtube_channel' and new credentials are needed, as indicated by `
1156
- # CheckValidCreds`. In order to obtain version info, make a request to the
1157
- # following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?
1158
- # redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=
1159
- # client_id&scope=data_source_scopes * The client_id is the OAuth client_id of
1160
- # the a data source as returned by ListDataSources method. * data_source_scopes
1161
- # are the scopes returned by ListDataSources method. Note that this should not
1162
- # be set when `service_account_name` is used to update the transfer config.
1172
+ # Optional version info. This parameter replaces `authorization_code` which is
1173
+ # no longer used in any data sources. This is required only if `transferConfig.
1174
+ # dataSourceId` is 'youtube_channel' *or* new credentials are needed, as
1175
+ # indicated by `CheckValidCreds`. In order to obtain version info, make a
1176
+ # request to the following URL: https://bigquery.cloud.google.com/datatransfer/
1177
+ # oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&
1178
+ # client_id=client_id&scope=data_source_scopes * The client_id is the OAuth
1179
+ # client_id of the data source as returned by ListDataSources method. *
1180
+ # data_source_scopes are the scopes returned by ListDataSources method. Note
1181
+ # that this should not be set when `service_account_name` is used to update the
1182
+ # transfer config.
1163
1183
  # @param [String] fields
1164
1184
  # Selector specifying which fields to include in a partial response.
1165
1185
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquerydatatransfer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatatransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatatransfer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []