google-cloud-secure_source_manager-v1 1.3.0 → 2.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: c23dcf560a0f54d12c661e7140b3e43a930b35a6cdda8e3b3bc20b883063b94b
4
- data.tar.gz: c5ea6f11916ff8f2a36be980650d278a017df474c11b62104a1c6b745724533d
3
+ metadata.gz: 7ac98367924cc423ec96c661f63e876b9c73faaa84c4a227e32b83d77dbe181e
4
+ data.tar.gz: 1f85cd07db2907e4151b1b41ed5f74cd056b9e8fee5949a60c62ba00d5ea1edc
5
5
  SHA512:
6
- metadata.gz: 66b6fc9da1782eae05bfb9c214a81a97e4dea9cae7a2ec9df4ddfabab2ec116513411f153b37cd1f27b8f519dec41f5fb77906f31f50492a2e68647911c2dd4b
7
- data.tar.gz: a2b659431f39b330e79a2de34f29739b022a46ebe675041addd462925c20f9a29defdcab2a6d6f81c5a8ff82742011cac75ffaec179bdc8be4fcd56c9ea210f4
6
+ metadata.gz: a56e884c9341587b9e66b590f6ce49679861007232ae87478660bb9267b05f9a5ca6e491277653f9cab0e5fc3abe0fe6c8cf05fde1b51edbcafba78033b3a539
7
+ data.tar.gz: 569f31ef4dc52d4d30a03019fb25bda027fa8e35c80151d6c676420573c0f2b3efddf51161e573147a6366f24bfc46559bcc18a9fd70e211c2cb840b51c95f09
@@ -1934,8 +1934,8 @@ module Google
1934
1934
 
1935
1935
  config_attr :endpoint, nil, ::String, nil
1936
1936
  config_attr :credentials, nil do |value|
1937
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1938
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1937
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1938
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1939
1939
  allowed.any? { |klass| klass === value }
1940
1940
  end
1941
1941
  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
@@ -298,10 +298,10 @@ module Google
298
298
  # @param order_by [::String]
299
299
  # Hint for how to order the results.
300
300
  # @yield [result, operation] Access the result along with the TransportOperation object
301
- # @yieldparam result [::Google::Cloud::SecureSourceManager::V1::ListInstancesResponse]
301
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::SecureSourceManager::V1::Instance>]
302
302
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
303
303
  #
304
- # @return [::Google::Cloud::SecureSourceManager::V1::ListInstancesResponse]
304
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::SecureSourceManager::V1::Instance>]
305
305
  #
306
306
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
307
307
  #
@@ -353,7 +353,9 @@ module Google
353
353
  retry_policy: @config.retry_policy
354
354
 
355
355
  @secure_source_manager_stub.list_instances request, options do |result, operation|
356
+ result = ::Gapic::Rest::PagedEnumerable.new @secure_source_manager_stub, :list_instances, "instances", request, result, options
356
357
  yield result, operation if block_given?
358
+ throw :response, result
357
359
  end
358
360
  rescue ::Gapic::Rest::Error => e
359
361
  raise ::Google::Cloud::Error.from_error(e)
@@ -1806,7 +1808,7 @@ module Google
1806
1808
 
1807
1809
  config_attr :endpoint, nil, ::String, nil
1808
1810
  config_attr :credentials, nil do |value|
1809
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1811
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1810
1812
  allowed.any? { |klass| klass === value }
1811
1813
  end
1812
1814
  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 SecureSourceManager
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "2.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-secure_source_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.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
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.6.2
147
+ rubygems_version: 3.6.8
148
148
  specification_version: 4
149
149
  summary: Regionally deployed, single-tenant managed source code repository hosted
150
150
  on Google Cloud.