google-cloud-privileged_access_manager-v1 0.3.0 → 1.0.0

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: 9dadbb5c16b03ae0f40d332e1b92f5681c3247c6f33babd9582db4d49b325743
4
+ data.tar.gz: 3dbf1366de82336bcd010de453696c9236daba3c4f52a44bf8f3fd0cd4260e55
5
5
  SHA512:
6
- metadata.gz: de9bdf2d05a956bb2d0950f497c5d08fe20425c9b3053c2088a7ba92e4854b8f50b69b7852b4707338749fa65f47e168e380f602c6ac5fc0f6dcce08b771ca65
7
- data.tar.gz: 06ddd6e3c5585cb3867b818e66b003fde8a033c9b1bd3cf87d30290bb142d30791562228bd4a6174e1954c8d8b7ec6ca39dbfe19336be24fe41d9b4343decf99
6
+ metadata.gz: 0b56e448cb9f685f8afa3af42e4c23f538b43acae5054c8d49cb66264daf41b083ddbc419aada73d4ba54943b2b3ecaa6498202cd43cb7914e362b6612c8325d
7
+ data.tar.gz: 41c4bb44c954172c81367c0b8426b708778aedb5d6999e496ea551625c8130a74862c71692fa3d9a6687a488d45ceb66209182404d3101bbb2c7a6eebf630622
@@ -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)
@@ -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.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-privileged_access_manager-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
@@ -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.3
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