google-cloud-privileged_access_manager-v1 0.2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/client.rb +7 -0
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/operations.rb +7 -0
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/rest/client.rb +15 -4
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/rest/operations.rb +7 -0
- data/lib/google/cloud/privileged_access_manager/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/privilegedaccessmanager/v1/privilegedaccessmanager.rb +24 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dadbb5c16b03ae0f40d332e1b92f5681c3247c6f33babd9582db4d49b325743
|
4
|
+
data.tar.gz: 3dbf1366de82336bcd010de453696c9236daba3c4f52a44bf8f3fd0cd4260e55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b56e448cb9f685f8afa3af42e4c23f538b43acae5054c8d49cb66264daf41b083ddbc419aada73d4ba54943b2b3ecaa6498202cd43cb7914e362b6612c8325d
|
7
|
+
data.tar.gz: 41c4bb44c954172c81367c0b8426b708778aedb5d6999e496ea551625c8130a74862c71692fa3d9a6687a488d45ceb66209182404d3101bbb2c7a6eebf630622
|
data/README.md
CHANGED
@@ -133,7 +133,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
133
133
|
|
134
134
|
## Supported Ruby Versions
|
135
135
|
|
136
|
-
This library is supported on Ruby
|
136
|
+
This library is supported on Ruby 3.0+.
|
137
137
|
|
138
138
|
Google provides official support for Ruby versions that are actively supported
|
139
139
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1687,6 +1687,13 @@ module Google
|
|
1687
1687
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1688
1688
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1689
1689
|
# * (`nil`) indicating no credentials
|
1690
|
+
#
|
1691
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1692
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1693
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1694
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1695
|
+
# For more information, refer to [Validate credential configurations from external
|
1696
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1690
1697
|
# @return [::Object]
|
1691
1698
|
# @!attribute [rw] scope
|
1692
1699
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -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::
|
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::
|
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::
|
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::
|
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)
|
@@ -1577,6 +1581,13 @@ module Google
|
|
1577
1581
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1578
1582
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1579
1583
|
# * (`nil`) indicating no credentials
|
1584
|
+
#
|
1585
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1586
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1587
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1588
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1589
|
+
# For more information, refer to [Validate credential configurations from external
|
1590
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1580
1591
|
# @return [::Object]
|
1581
1592
|
# @!attribute [rw] scope
|
1582
1593
|
# The OAuth scopes
|
data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/rest/operations.rb
CHANGED
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -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
|
@@ -131,11 +131,15 @@ module Google
|
|
131
131
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Entitlement::RequesterJustificationConfig::NotMandatory]
|
132
132
|
# This option means the requester isn't required to provide a
|
133
133
|
# justification.
|
134
|
+
#
|
135
|
+
# Note: The following fields are mutually exclusive: `not_mandatory`, `unstructured`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
134
136
|
# @!attribute [rw] unstructured
|
135
137
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Entitlement::RequesterJustificationConfig::Unstructured]
|
136
138
|
# This option means the requester must provide a string as
|
137
139
|
# justification. If this is selected, the server allows the requester
|
138
140
|
# to provide a justification but doesn't validate it.
|
141
|
+
#
|
142
|
+
# Note: The following fields are mutually exclusive: `unstructured`, `not_mandatory`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
139
143
|
class RequesterJustificationConfig
|
140
144
|
include ::Google::Protobuf::MessageExts
|
141
145
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -563,35 +567,55 @@ module Google
|
|
563
567
|
# @!attribute [rw] requested
|
564
568
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Requested]
|
565
569
|
# The grant was requested.
|
570
|
+
#
|
571
|
+
# Note: The following fields are mutually exclusive: `requested`, `approved`, `denied`, `revoked`, `scheduled`, `activated`, `activation_failed`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
566
572
|
# @!attribute [rw] approved
|
567
573
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Approved]
|
568
574
|
# The grant was approved.
|
575
|
+
#
|
576
|
+
# Note: The following fields are mutually exclusive: `approved`, `requested`, `denied`, `revoked`, `scheduled`, `activated`, `activation_failed`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
569
577
|
# @!attribute [rw] denied
|
570
578
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Denied]
|
571
579
|
# The grant was denied.
|
580
|
+
#
|
581
|
+
# Note: The following fields are mutually exclusive: `denied`, `requested`, `approved`, `revoked`, `scheduled`, `activated`, `activation_failed`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
572
582
|
# @!attribute [rw] revoked
|
573
583
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Revoked]
|
574
584
|
# The grant was revoked.
|
585
|
+
#
|
586
|
+
# Note: The following fields are mutually exclusive: `revoked`, `requested`, `approved`, `denied`, `scheduled`, `activated`, `activation_failed`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
575
587
|
# @!attribute [rw] scheduled
|
576
588
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Scheduled]
|
577
589
|
# The grant has been scheduled to give access.
|
590
|
+
#
|
591
|
+
# Note: The following fields are mutually exclusive: `scheduled`, `requested`, `approved`, `denied`, `revoked`, `activated`, `activation_failed`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
578
592
|
# @!attribute [rw] activated
|
579
593
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Activated]
|
580
594
|
# The grant was successfully activated to give access.
|
595
|
+
#
|
596
|
+
# Note: The following fields are mutually exclusive: `activated`, `requested`, `approved`, `denied`, `revoked`, `scheduled`, `activation_failed`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
581
597
|
# @!attribute [rw] activation_failed
|
582
598
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::ActivationFailed]
|
583
599
|
# There was a non-retriable error while trying to give access.
|
600
|
+
#
|
601
|
+
# Note: The following fields are mutually exclusive: `activation_failed`, `requested`, `approved`, `denied`, `revoked`, `scheduled`, `activated`, `expired`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
584
602
|
# @!attribute [rw] expired
|
585
603
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Expired]
|
586
604
|
# The approval workflow did not complete in the necessary duration,
|
587
605
|
# and so the grant is expired.
|
606
|
+
#
|
607
|
+
# Note: The following fields are mutually exclusive: `expired`, `requested`, `approved`, `denied`, `revoked`, `scheduled`, `activated`, `activation_failed`, `ended`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
588
608
|
# @!attribute [rw] ended
|
589
609
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::Ended]
|
590
610
|
# Access given by the grant ended automatically as the approved
|
591
611
|
# duration was over.
|
612
|
+
#
|
613
|
+
# Note: The following fields are mutually exclusive: `ended`, `requested`, `approved`, `denied`, `revoked`, `scheduled`, `activated`, `activation_failed`, `expired`, `externally_modified`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
592
614
|
# @!attribute [rw] externally_modified
|
593
615
|
# @return [::Google::Cloud::PrivilegedAccessManager::V1::Grant::Timeline::Event::ExternallyModified]
|
594
616
|
# The policy bindings made by grant have been modified outside of PAM.
|
617
|
+
#
|
618
|
+
# Note: The following fields are mutually exclusive: `externally_modified`, `requested`, `approved`, `denied`, `revoked`, `scheduled`, `activated`, `activation_failed`, `expired`, `ended`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
595
619
|
# @!attribute [r] event_time
|
596
620
|
# @return [::Google::Protobuf::Timestamp]
|
597
621
|
# Output only. The time (as recorded at server) when this event occurred.
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +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.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -132,7 +131,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
132
131
|
licenses:
|
133
132
|
- Apache-2.0
|
134
133
|
metadata: {}
|
135
|
-
post_install_message:
|
136
134
|
rdoc_options: []
|
137
135
|
require_paths:
|
138
136
|
- lib
|
@@ -140,15 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
138
|
requirements:
|
141
139
|
- - ">="
|
142
140
|
- !ruby/object:Gem::Version
|
143
|
-
version: '
|
141
|
+
version: '3.0'
|
144
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
143
|
requirements:
|
146
144
|
- - ">="
|
147
145
|
- !ruby/object:Gem::Version
|
148
146
|
version: '0'
|
149
147
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
151
|
-
signing_key:
|
148
|
+
rubygems_version: 3.6.3
|
152
149
|
specification_version: 4
|
153
150
|
summary: Privileged Access Manager (PAM) helps you on your journey towards least privilege
|
154
151
|
and helps mitigate risks tied to privileged access misuse or abuse. PAM allows you
|