google-cloud-privileged_access_manager-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: b6b4a7c9721c4ec29adc3d13b03ee1d6f74fca63a325ce7878b22ef952be72e3
4
- data.tar.gz: f84277d39f036ab8b2dd3d21b03c507383f8ee4910c312e66591b892734d9f58
3
+ metadata.gz: 82ee31b2933e520d859dfe9d646220607a10c88dc9d77948c65beb532e1dd688
4
+ data.tar.gz: eb701817f2efa7d8fcb0a647fa09350fe078687052b4a966eb091bfb1871020e
5
5
  SHA512:
6
- metadata.gz: de9bdf2d05a956bb2d0950f497c5d08fe20425c9b3053c2088a7ba92e4854b8f50b69b7852b4707338749fa65f47e168e380f602c6ac5fc0f6dcce08b771ca65
7
- data.tar.gz: 06ddd6e3c5585cb3867b818e66b003fde8a033c9b1bd3cf87d30290bb142d30791562228bd4a6174e1954c8d8b7ec6ca39dbfe19336be24fe41d9b4343decf99
6
+ metadata.gz: 9cbe79f340938339c83321378d4834af611d6c5963bce383cad09fea34748bbfadfa5cd1a99d67baeaf7c0e1a93341d618564a9e1b77acf80830a2d0795cb227
7
+ data.tar.gz: ef4dc7f5a863c45de6fddf7273d5179ed65a368a3aed5614e083a48b02ed5de6791e140d2cecf8c7be201cb84a96950d5eae00773312fe1c75bac17211da8db5
@@ -1748,8 +1748,8 @@ module Google
1748
1748
 
1749
1749
  config_attr :endpoint, nil, ::String, nil
1750
1750
  config_attr :credentials, nil do |value|
1751
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1752
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1751
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1752
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1753
1753
  allowed.any? { |klass| klass === value }
1754
1754
  end
1755
1755
  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
@@ -341,10 +341,10 @@ module Google
341
341
  # @param order_by [::String]
342
342
  # Optional. Hint for how to order the results.
343
343
  # @yield [result, operation] Access the result along with the TransportOperation object
344
- # @yieldparam result [::Google::Cloud::PrivilegedAccessManager::V1::ListEntitlementsResponse]
344
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivilegedAccessManager::V1::Entitlement>]
345
345
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
346
346
  #
347
- # @return [::Google::Cloud::PrivilegedAccessManager::V1::ListEntitlementsResponse]
347
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivilegedAccessManager::V1::Entitlement>]
348
348
  #
349
349
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
350
350
  #
@@ -396,7 +396,9 @@ module Google
396
396
  retry_policy: @config.retry_policy
397
397
 
398
398
  @privileged_access_manager_stub.list_entitlements request, options do |result, operation|
399
+ result = ::Gapic::Rest::PagedEnumerable.new @privileged_access_manager_stub, :list_entitlements, "entitlements", request, result, options
399
400
  yield result, operation if block_given?
401
+ throw :response, result
400
402
  end
401
403
  rescue ::Gapic::Rest::Error => e
402
404
  raise ::Google::Cloud::Error.from_error(e)
@@ -947,10 +949,10 @@ module Google
947
949
  # @param order_by [::String]
948
950
  # Optional. Hint for how to order the results
949
951
  # @yield [result, operation] Access the result along with the TransportOperation object
950
- # @yieldparam result [::Google::Cloud::PrivilegedAccessManager::V1::ListGrantsResponse]
952
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivilegedAccessManager::V1::Grant>]
951
953
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
952
954
  #
953
- # @return [::Google::Cloud::PrivilegedAccessManager::V1::ListGrantsResponse]
955
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::PrivilegedAccessManager::V1::Grant>]
954
956
  #
955
957
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
956
958
  #
@@ -1002,7 +1004,9 @@ module Google
1002
1004
  retry_policy: @config.retry_policy
1003
1005
 
1004
1006
  @privileged_access_manager_stub.list_grants request, options do |result, operation|
1007
+ result = ::Gapic::Rest::PagedEnumerable.new @privileged_access_manager_stub, :list_grants, "grants", request, result, options
1005
1008
  yield result, operation if block_given?
1009
+ throw :response, result
1006
1010
  end
1007
1011
  rescue ::Gapic::Rest::Error => e
1008
1012
  raise ::Google::Cloud::Error.from_error(e)
@@ -1631,7 +1635,7 @@ module Google
1631
1635
 
1632
1636
  config_attr :endpoint, nil, ::String, nil
1633
1637
  config_attr :credentials, nil do |value|
1634
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1638
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1635
1639
  allowed.any? { |klass| klass === value }
1636
1640
  end
1637
1641
  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 PrivilegedAccessManager
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-privileged_access_manager-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
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.6.2
148
+ rubygems_version: 3.6.8
149
149
  specification_version: 4
150
150
  summary: Privileged Access Manager (PAM) helps you on your journey towards least privilege
151
151
  and helps mitigate risks tied to privileged access misuse or abuse. PAM allows you