google-apis-bigquerydatatransfer_v1 0.42.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: '09fba1e68460a0e15dca87cd0f04bc593b69342967205280e5f77617047e1ec5'
4
- data.tar.gz: b410419284b408a7ba731f9d3f07f47fd60dc1dcd269be944c742e11e69049d5
3
+ metadata.gz: '0629d26bebba2582757fed7efb9f16bbf36264bc7121878bd9dddf3c22056f47'
4
+ data.tar.gz: 9a7e50de6a2be97e39ae4bb298ab4d19a6d391c81da643c0c14bf8e265710c49
5
5
  SHA512:
6
- metadata.gz: 5dc8654358962538d447d06c2b0dd533bd864383802ba6d62f44b637f5075f2b3b2c5724978e99d90651587a3f2adc182a9acfd566113f235c6216a6e8c1fa8d
7
- data.tar.gz: 33bf5d783c001d32c3a38e1036b8c89683d99f6875482c2f6c27cc860144876ac26a3b00ffe498680c4514988d24b3b45fe4bdc155473e2b970ac37c37c3b86d
6
+ metadata.gz: 907a6a85dcd9a7a388373274fa91a2710b98d58c1b321755ef63940dac8f99c1201cc5b03dba4a8bbfa6c844c6334f47820493e5496c72fd2b95b9d53edffb44
7
+ data.tar.gz: 5aace50e8f754e0f5333756837806499602563f80c1088c439640dabc72d89ddb7cba567618c5a812e3ba6b3765f8fa80b6976c4b114b71d3a087142d27d5e24
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.42.0 (2024-08-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240806
@@ -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.42.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240806"
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'
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.42.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-08-11 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.42.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: []