google-cloud-bigquery-data_transfer-v1 1.2.0 → 1.3.1

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: 377cf1942af81576fa35b00e713c46e0bfc57fe5407b43bdfcd5f5d938c3c63b
4
- data.tar.gz: 27c3295ab715984bd9ad471abd04772aa413c2b54c59691c7fc4b9ddb6a0ea47
3
+ metadata.gz: a080bc97e4197b803ddb8d4b1f0800904f753959dba6f52688435fec7360465b
4
+ data.tar.gz: dcdfdcaf0487b22ca12d0b6c513125c34fb47eecafe386a3fdc5c3b91d77776b
5
5
  SHA512:
6
- metadata.gz: 2dda68ef56e409bc8aaed8bca330dfdec95ac557e349d0b9fadbd2a518719a6cd838a4a29e94c4ba72f2fc8deb765d57740170cf8974fca4d1df1bf5291e3ed7
7
- data.tar.gz: 013c125a03eaa2c6ad64a456e52db307a91d1e46d0dc2bb0cecc557c4e1dd601b654faef1c527b50167dc717188e731f6959a40f51bcfb45d0845b1a79e0ae74
6
+ metadata.gz: 8c9f13416fae46c5c1308c7ad572038633264eb81eea15cf2d909d309f0948d9e2f4d9fb0b5a65982dd8d61ab93cc807efb1bf921c0c0314c76c95490d6ff767
7
+ data.tar.gz: fbce65e510f63e8473f57e37ab8a56dfc0e1780fdcc13c11e2dc2f8d03ee3a962e08978ca635917e61c4ca279da8c48475ef5eb50b54773bcfddcff35ee3ed77
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1121,12 +1121,16 @@ module Google
1121
1121
  # that are scheduled to be transferred by the scheduled transfer run.
1122
1122
  # requested_time_range must be a past time and cannot include future time
1123
1123
  # values.
1124
+ #
1125
+ # Note: The following fields are mutually exclusive: `requested_time_range`, `requested_run_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1124
1126
  # @param requested_run_time [::Google::Protobuf::Timestamp, ::Hash]
1125
1127
  # A run_time timestamp for historical data files or reports
1126
1128
  # that are scheduled to be transferred by the scheduled transfer run.
1127
1129
  # requested_run_time must be a past time and cannot include future time
1128
1130
  # values.
1129
1131
  #
1132
+ # Note: The following fields are mutually exclusive: `requested_run_time`, `requested_time_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1133
+ #
1130
1134
  # @yield [response, operation] Access the result along with the RPC operation
1131
1135
  # @yieldparam response [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
1132
1136
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
@@ -1898,6 +1902,13 @@ module Google
1898
1902
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1899
1903
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1900
1904
  # * (`nil`) indicating no credentials
1905
+ #
1906
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1907
+ # external source for authentication to Google Cloud, you must validate it before
1908
+ # providing it to a Google API client library. Providing an unvalidated credential
1909
+ # configuration to Google APIs can compromise the security of your systems and data.
1910
+ # For more information, refer to [Validate credential configurations from external
1911
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1901
1912
  # @return [::Object]
1902
1913
  # @!attribute [rw] scope
1903
1914
  # The OAuth scopes
@@ -1952,8 +1963,8 @@ module Google
1952
1963
 
1953
1964
  config_attr :endpoint, nil, ::String, nil
1954
1965
  config_attr :credentials, nil do |value|
1955
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1956
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1966
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1967
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1957
1968
  allowed.any? { |klass| klass === value }
1958
1969
  end
1959
1970
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1057,11 +1057,15 @@ module Google
1057
1057
  # that are scheduled to be transferred by the scheduled transfer run.
1058
1058
  # requested_time_range must be a past time and cannot include future time
1059
1059
  # values.
1060
+ #
1061
+ # Note: The following fields are mutually exclusive: `requested_time_range`, `requested_run_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1060
1062
  # @param requested_run_time [::Google::Protobuf::Timestamp, ::Hash]
1061
1063
  # A run_time timestamp for historical data files or reports
1062
1064
  # that are scheduled to be transferred by the scheduled transfer run.
1063
1065
  # requested_run_time must be a past time and cannot include future time
1064
1066
  # values.
1067
+ #
1068
+ # Note: The following fields are mutually exclusive: `requested_run_time`, `requested_time_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1065
1069
  # @yield [result, operation] Access the result along with the TransportOperation object
1066
1070
  # @yieldparam result [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
1067
1071
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1776,6 +1780,13 @@ module Google
1776
1780
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1777
1781
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1778
1782
  # * (`nil`) indicating no credentials
1783
+ #
1784
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1785
+ # external source for authentication to Google Cloud, you must validate it before
1786
+ # providing it to a Google API client library. Providing an unvalidated credential
1787
+ # configuration to Google APIs can compromise the security of your systems and data.
1788
+ # For more information, refer to [Validate credential configurations from external
1789
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1779
1790
  # @return [::Object]
1780
1791
  # @!attribute [rw] scope
1781
1792
  # The OAuth scopes
@@ -1823,7 +1834,7 @@ module Google
1823
1834
 
1824
1835
  config_attr :endpoint, nil, ::String, nil
1825
1836
  config_attr :credentials, nil do |value|
1826
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1837
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1827
1838
  allowed.any? { |klass| klass === value }
1828
1839
  end
1829
1840
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataTransfer
24
24
  module V1
25
- VERSION = "1.2.0"
25
+ VERSION = "1.3.1"
26
26
  end
27
27
  end
28
28
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -647,12 +647,16 @@ module Google
647
647
  # that are scheduled to be transferred by the scheduled transfer run.
648
648
  # requested_time_range must be a past time and cannot include future time
649
649
  # values.
650
+ #
651
+ # Note: The following fields are mutually exclusive: `requested_time_range`, `requested_run_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
650
652
  # @!attribute [rw] requested_run_time
651
653
  # @return [::Google::Protobuf::Timestamp]
652
654
  # A run_time timestamp for historical data files or reports
653
655
  # that are scheduled to be transferred by the scheduled transfer run.
654
656
  # requested_run_time must be a past time and cannot include future time
655
657
  # values.
658
+ #
659
+ # Note: The following fields are mutually exclusive: `requested_run_time`, `requested_time_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
656
660
  class StartManualTransferRunsRequest
657
661
  include ::Google::Protobuf::MessageExts
658
662
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -65,16 +65,22 @@ module Google
65
65
  # @return [::Google::Cloud::Bigquery::DataTransfer::V1::TimeBasedSchedule]
66
66
  # Time based transfer schedule options. This is the default schedule
67
67
  # option.
68
+ #
69
+ # Note: The following fields are mutually exclusive: `time_based_schedule`, `manual_schedule`, `event_driven_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
70
  # @!attribute [rw] manual_schedule
69
71
  # @return [::Google::Cloud::Bigquery::DataTransfer::V1::ManualSchedule]
70
72
  # Manual transfer schedule. If set, the transfer run will not be
71
73
  # auto-scheduled by the system, unless the client invokes
72
74
  # StartManualTransferRuns. This is equivalent to
73
75
  # disable_auto_scheduling = true.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `manual_schedule`, `time_based_schedule`, `event_driven_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
74
78
  # @!attribute [rw] event_driven_schedule
75
79
  # @return [::Google::Cloud::Bigquery::DataTransfer::V1::EventDrivenSchedule]
76
80
  # Event driven transfer schedule options. If set, the transfer will be
77
81
  # scheduled upon events arrial.
82
+ #
83
+ # Note: The following fields are mutually exclusive: `event_driven_schedule`, `time_based_schedule`, `manual_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
84
  class ScheduleOptionsV2
79
85
  include ::Google::Protobuf::MessageExts
80
86
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_transfer-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
112
111
  licenses:
113
112
  - Apache-2.0
114
113
  metadata: {}
115
- post_install_message:
116
114
  rdoc_options: []
117
115
  require_paths:
118
116
  - lib
@@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
118
  requirements:
121
119
  - - ">="
122
120
  - !ruby/object:Gem::Version
123
- version: '2.7'
121
+ version: '3.0'
124
122
  required_rubygems_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
124
  - - ">="
127
125
  - !ruby/object:Gem::Version
128
126
  version: '0'
129
127
  requirements: []
130
- rubygems_version: 3.5.23
131
- signing_key:
128
+ rubygems_version: 3.6.8
132
129
  specification_version: 4
133
130
  summary: Schedule queries or transfer external data from SaaS applications to Google
134
131
  BigQuery on a regular basis.