google-cloud-policy_simulator-v1 1.1.0 → 1.2.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: 1ff11d1cdef210a3cddc89dcb1021f40faf7b82ae264869a1dd913efe6e1b240
4
- data.tar.gz: b635b5d7b43e24eca8586fbe17aa12d125d3f1b2602826dfd7a5132052444c70
3
+ metadata.gz: a99fb0f7bf09debdcdbb5df5e608f20fd6a6323e9af3c0bc558c9b7023dda88c
4
+ data.tar.gz: 2ec281c312ba506ff07c885a331cb5e902c33278f7a7d4a337d8016e6ed9a8a4
5
5
  SHA512:
6
- metadata.gz: 1cdcadf367cef25a9d6d62771035d8d842e7c5d1ee426eeba100292884aa27f5d1c4c360cd7728f36b35e1bb3cc6e3248bece72a6c8f9b8a94119d437e0f6aea
7
- data.tar.gz: f790a795851e2a45efcfe016dba0564a1ec82f6e7a5d879fb93adc164404a91974728e4a574cbbc6e13471b071590cbac364ee1b3db4e53fb0de06d0d62939a1
6
+ metadata.gz: 13bc968067157930d061e07dda54b1226d53cb2e39109aa2be575372aeb1f826a1bbb94efff290b8119333579e6c94d0687f9ccbb95d7d28000cf00bce952b1b
7
+ data.tar.gz: cf79d6487caf4fa5927bb539fbc035fa534aaa6c4f50e088a87d8967765e85fca3c9e78c0df8b2194fd73dfef2040a9ded3ed9027e0476f625134fc1320ef12c
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -572,6 +572,13 @@ module Google
572
572
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
573
573
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
574
574
  # * (`nil`) indicating no credentials
575
+ #
576
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
577
+ # external source for authentication to Google Cloud, you must validate it before
578
+ # providing it to a Google API client library. Providing an unvalidated credential
579
+ # configuration to Google APIs can compromise the security of your systems and data.
580
+ # For more information, refer to [Validate credential configurations from external
581
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
575
582
  # @return [::Object]
576
583
  # @!attribute [rw] scope
577
584
  # 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
@@ -542,6 +542,13 @@ module Google
542
542
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
543
543
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
544
544
  # * (`nil`) indicating no credentials
545
+ #
546
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
547
+ # external source for authentication to Google Cloud, you must validate it before
548
+ # providing it to a Google API client library. Providing an unvalidated credential
549
+ # configuration to Google APIs can compromise the security of your systems and data.
550
+ # For more information, refer to [Validate credential configurations from external
551
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
545
552
  # @return [::Object]
546
553
  # @!attribute [rw] scope
547
554
  # The OAuth scopes
@@ -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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PolicySimulator
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -101,12 +101,16 @@ module Google
101
101
  # This field is only included for access tuples that were successfully
102
102
  # replayed and had different results under the current policies and the
103
103
  # proposed policies.
104
+ #
105
+ # Note: The following fields are mutually exclusive: `diff`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
104
106
  # @!attribute [rw] error
105
107
  # @return [::Google::Rpc::Status]
106
108
  # The error that caused the access tuple replay to fail.
107
109
  #
108
110
  # This field is only included for access tuples that were not replayed
109
111
  # successfully.
112
+ #
113
+ # Note: The following fields are mutually exclusive: `error`, `diff`. If a field in that set is populated, all other fields in the set will automatically be cleared.
110
114
  # @!attribute [rw] name
111
115
  # @return [::String]
112
116
  # The resource name of the `ReplayResult`, in the following format:
@@ -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-policy_simulator-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 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.24.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.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
112
111
  licenses:
113
112
  - Apache-2.0
114
113
  metadata: {}
115
- post_install_message:
116
114
  rdoc_options: []
117
115
  require_paths:
118
116
  - lib
@@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
118
  requirements:
121
119
  - - ">="
122
120
  - !ruby/object:Gem::Version
123
- version: '2.7'
121
+ version: '3.0'
124
122
  required_rubygems_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
124
  - - ">="
127
125
  - !ruby/object:Gem::Version
128
126
  version: '0'
129
127
  requirements: []
130
- rubygems_version: 3.5.23
131
- signing_key:
128
+ rubygems_version: 3.6.2
132
129
  specification_version: 4
133
130
  summary: Policy Simulator is a collection of endpoints for creating, running, and
134
131
  viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type