google-cloud-connectors-v1 0.3.0 → 1.0.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: b93699e172b422a2faf3803ba631ad17d7287636d870f560a9c9a7f03d39bcf3
4
- data.tar.gz: 1f269a52bbc67e8458355a5f2ff40ec15102af082b6959bd937ce1c92a868813
3
+ metadata.gz: 48132a990bfe552ce48fdee19cfe1546a878d066588a3fe2316389812f7f7698
4
+ data.tar.gz: 9c05333781ced864d3588718218191b48b5280c0a42eaf229584bbc66e539d2a
5
5
  SHA512:
6
- metadata.gz: e705a1a146ed9a67e0312a86b5c202d0eacd5393060309a9f35dbd7338bc93e143fa52469c849cf0faf91b9a52ffd1d904eb80b8ad8dbb228c0d805a3fbf9486
7
- data.tar.gz: 0b974b0d7bcc5443fdc22f715d34f23bfd07664a41fd68b0d3c9479ff54fc11f0c74f0bd73d463731d3da66de3601d551011e5a0e28c2034c2a2dce5f6461d81
6
+ metadata.gz: e564305a50e9718cc864af5315c4428390d5affeb6005806e32f914ae88c8d841b052db1b30897f684f60725818779cccfe089081724e720762fd270ce945cf8
7
+ data.tar.gz: bfa51edfcf5e8b5ba6c58b782cf75e0a9d58158757f446ae07b3710f2379af974c4724d47b382dfaa68f77f836596d019b8422cbc1b389390fccd183a1c421e0
@@ -2021,8 +2021,8 @@ module Google
2021
2021
 
2022
2022
  config_attr :endpoint, nil, ::String, nil
2023
2023
  config_attr :credentials, nil do |value|
2024
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2025
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2024
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2025
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2026
2026
  allowed.any? { |klass| klass === value }
2027
2027
  end
2028
2028
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -323,10 +323,10 @@ module Google
323
323
  # Specifies which fields of the Connection are returned in the response.
324
324
  # Defaults to `BASIC` view.
325
325
  # @yield [result, operation] Access the result along with the TransportOperation object
326
- # @yieldparam result [::Google::Cloud::Connectors::V1::ListConnectionsResponse]
326
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::Connection>]
327
327
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
328
328
  #
329
- # @return [::Google::Cloud::Connectors::V1::ListConnectionsResponse]
329
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::Connection>]
330
330
  #
331
331
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
332
332
  #
@@ -378,7 +378,9 @@ module Google
378
378
  retry_policy: @config.retry_policy
379
379
 
380
380
  @connectors_stub.list_connections request, options do |result, operation|
381
+ result = ::Gapic::Rest::PagedEnumerable.new @connectors_stub, :list_connections, "connections", request, result, options
381
382
  yield result, operation if block_given?
383
+ throw :response, result
382
384
  end
383
385
  rescue ::Gapic::Rest::Error => e
384
386
  raise ::Google::Cloud::Error.from_error(e)
@@ -778,10 +780,10 @@ module Google
778
780
  # @param page_token [::String]
779
781
  # Page token.
780
782
  # @yield [result, operation] Access the result along with the TransportOperation object
781
- # @yieldparam result [::Google::Cloud::Connectors::V1::ListProvidersResponse]
783
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::Provider>]
782
784
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
783
785
  #
784
- # @return [::Google::Cloud::Connectors::V1::ListProvidersResponse]
786
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::Provider>]
785
787
  #
786
788
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
787
789
  #
@@ -833,7 +835,9 @@ module Google
833
835
  retry_policy: @config.retry_policy
834
836
 
835
837
  @connectors_stub.list_providers request, options do |result, operation|
838
+ result = ::Gapic::Rest::PagedEnumerable.new @connectors_stub, :list_providers, "providers", request, result, options
836
839
  yield result, operation if block_given?
840
+ throw :response, result
837
841
  end
838
842
  rescue ::Gapic::Rest::Error => e
839
843
  raise ::Google::Cloud::Error.from_error(e)
@@ -946,10 +950,10 @@ module Google
946
950
  # @param page_token [::String]
947
951
  # Page token.
948
952
  # @yield [result, operation] Access the result along with the TransportOperation object
949
- # @yieldparam result [::Google::Cloud::Connectors::V1::ListConnectorsResponse]
953
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::Connector>]
950
954
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
951
955
  #
952
- # @return [::Google::Cloud::Connectors::V1::ListConnectorsResponse]
956
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::Connector>]
953
957
  #
954
958
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
955
959
  #
@@ -1001,7 +1005,9 @@ module Google
1001
1005
  retry_policy: @config.retry_policy
1002
1006
 
1003
1007
  @connectors_stub.list_connectors request, options do |result, operation|
1008
+ result = ::Gapic::Rest::PagedEnumerable.new @connectors_stub, :list_connectors, "connectors", request, result, options
1004
1009
  yield result, operation if block_given?
1010
+ throw :response, result
1005
1011
  end
1006
1012
  rescue ::Gapic::Rest::Error => e
1007
1013
  raise ::Google::Cloud::Error.from_error(e)
@@ -1117,10 +1123,10 @@ module Google
1117
1123
  # Specifies which fields of the ConnectorVersion are returned in the
1118
1124
  # response. Defaults to `BASIC` view.
1119
1125
  # @yield [result, operation] Access the result along with the TransportOperation object
1120
- # @yieldparam result [::Google::Cloud::Connectors::V1::ListConnectorVersionsResponse]
1126
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::ConnectorVersion>]
1121
1127
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1122
1128
  #
1123
- # @return [::Google::Cloud::Connectors::V1::ListConnectorVersionsResponse]
1129
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Connectors::V1::ConnectorVersion>]
1124
1130
  #
1125
1131
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1126
1132
  #
@@ -1172,7 +1178,9 @@ module Google
1172
1178
  retry_policy: @config.retry_policy
1173
1179
 
1174
1180
  @connectors_stub.list_connector_versions request, options do |result, operation|
1181
+ result = ::Gapic::Rest::PagedEnumerable.new @connectors_stub, :list_connector_versions, "connector_versions", request, result, options
1175
1182
  yield result, operation if block_given?
1183
+ throw :response, result
1176
1184
  end
1177
1185
  rescue ::Gapic::Rest::Error => e
1178
1186
  raise ::Google::Cloud::Error.from_error(e)
@@ -1880,7 +1888,7 @@ module Google
1880
1888
 
1881
1889
  config_attr :endpoint, nil, ::String, nil
1882
1890
  config_attr :credentials, nil do |value|
1883
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1891
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1884
1892
  allowed.any? { |klass| klass === value }
1885
1893
  end
1886
1894
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Connectors
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  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
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-connectors-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubygems_version: 3.6.2
168
+ rubygems_version: 3.6.8
169
169
  specification_version: 4
170
170
  summary: Enables users to create and manage connections to Google Cloud services and
171
171
  third-party business applications using the Connectors interface.