google-cloud-connectors-v1 0.3.0 → 1.0.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: b93699e172b422a2faf3803ba631ad17d7287636d870f560a9c9a7f03d39bcf3
4
- data.tar.gz: 1f269a52bbc67e8458355a5f2ff40ec15102af082b6959bd937ce1c92a868813
3
+ metadata.gz: b9229bd5bbdd81bebd5b1a7cd764f0ebf447212e43509221cc006b87986a73e5
4
+ data.tar.gz: 54cc522e077a47292c56b1d780b008dc256cbd89594f0ac1d5b5b8d8f41f8af8
5
5
  SHA512:
6
- metadata.gz: e705a1a146ed9a67e0312a86b5c202d0eacd5393060309a9f35dbd7338bc93e143fa52469c849cf0faf91b9a52ffd1d904eb80b8ad8dbb228c0d805a3fbf9486
7
- data.tar.gz: 0b974b0d7bcc5443fdc22f715d34f23bfd07664a41fd68b0d3c9479ff54fc11f0c74f0bd73d463731d3da66de3601d551011e5a0e28c2034c2a2dce5f6461d81
6
+ metadata.gz: 1437048c22921aa5f7f93107d8bc79e1217abe4d8beba3605474f25c5af43ab0f50dc49113495be92e5c15432e711bc2362d7037a7301e221818289ea90a555e
7
+ data.tar.gz: b2d13e71d83614f72be02d62e0e50108defb7f06e503eb24d31bce6d4b1d83ddbaa5bf0e988e4d013f1a68833bf05394429a87a7aa6ab8f0eee14ed7cba89c9f
@@ -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)
@@ -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.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  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.0
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: 2025-02-07 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.3
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.