google-cloud-policy_simulator-v1 1.8.1 → 1.10.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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/client.rb +3 -1
  4. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/credentials.rb +1 -1
  5. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/operations.rb +3 -1
  6. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/paths.rb +1 -1
  7. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/client.rb +3 -1
  8. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/operations.rb +15 -13
  9. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/service_stub.rb +1 -1
  10. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest.rb +1 -1
  11. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service.rb +1 -1
  12. data/lib/google/cloud/policy_simulator/v1/rest.rb +1 -1
  13. data/lib/google/cloud/policy_simulator/v1/simulator/client.rb +3 -1
  14. data/lib/google/cloud/policy_simulator/v1/simulator/credentials.rb +1 -1
  15. data/lib/google/cloud/policy_simulator/v1/simulator/operations.rb +3 -1
  16. data/lib/google/cloud/policy_simulator/v1/simulator/paths.rb +1 -1
  17. data/lib/google/cloud/policy_simulator/v1/simulator/rest/client.rb +3 -1
  18. data/lib/google/cloud/policy_simulator/v1/simulator/rest/operations.rb +15 -13
  19. data/lib/google/cloud/policy_simulator/v1/simulator/rest/service_stub.rb +1 -1
  20. data/lib/google/cloud/policy_simulator/v1/simulator/rest.rb +1 -1
  21. data/lib/google/cloud/policy_simulator/v1/simulator.rb +1 -1
  22. data/lib/google/cloud/policy_simulator/v1/version.rb +1 -1
  23. data/lib/google/cloud/policy_simulator/v1.rb +1 -1
  24. data/lib/google/cloud/policysimulator/v1/explanations_pb.rb +1 -1
  25. data/lib/google/cloud/policysimulator/v1/orgpolicy_pb.rb +1 -1
  26. data/lib/google/cloud/policysimulator/v1/simulator_pb.rb +1 -1
  27. data/lib/google/cloud/policysimulator/v1/simulator_services_pb.rb +1 -1
  28. data/lib/google-cloud-policy_simulator-v1.rb +1 -1
  29. data/proto_docs/google/api/client.rb +1 -1
  30. data/proto_docs/google/api/field_behavior.rb +1 -1
  31. data/proto_docs/google/api/launch_stage.rb +1 -1
  32. data/proto_docs/google/api/resource.rb +1 -1
  33. data/proto_docs/google/cloud/orgpolicy/v2/constraint.rb +1 -1
  34. data/proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb +1 -1
  35. data/proto_docs/google/cloud/policysimulator/v1/explanations.rb +1 -1
  36. data/proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb +1 -1
  37. data/proto_docs/google/cloud/policysimulator/v1/simulator.rb +1 -1
  38. data/proto_docs/google/iam/v1/policy.rb +1 -1
  39. data/proto_docs/google/longrunning/operations.rb +1 -1
  40. data/proto_docs/google/protobuf/any.rb +1 -1
  41. data/proto_docs/google/protobuf/duration.rb +1 -1
  42. data/proto_docs/google/protobuf/empty.rb +1 -1
  43. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  44. data/proto_docs/google/protobuf/struct.rb +1 -1
  45. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  46. data/proto_docs/google/rpc/status.rb +1 -1
  47. data/proto_docs/google/type/date.rb +1 -1
  48. data/proto_docs/google/type/expr.rb +1 -1
  49. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00c541b5da6274a33793ba9a0ce59f9dc86aa6c423d85748b399e45d01aa04b5
4
- data.tar.gz: 0c74f17ba690ef59fc17b37b90133a31d7b63867f25ab8a2a8d7c16f6bab1716
3
+ metadata.gz: e9d66b4e6f2f1897e053365eb4c0e18532e726077e9d07ac6ee7f070657903c6
4
+ data.tar.gz: 18331635a991aa6bca59a1f7bb12fac410a837c003702b692a3e949e04c59d3a
5
5
  SHA512:
6
- metadata.gz: cc1957ae28ec31f2c7d1960b6d9dbafe143e0eb2f533f842b072ca84d30370711206e8d5034520c9ee07eaa779db0c0281bf90fbc6d9b9985ac8ffc375e2eb00
7
- data.tar.gz: e1fa25783f3feeccbff009b41a24e9ce12a43ef49b90e55c3ef0509c8a88adfc3d00dc82225c46b1a8e44a455faafe9cf515d570a647b3c8884b5a8e2d0b3ebd
6
+ metadata.gz: 2e65c5ca9ea9431f77c0c7746c0b93700d29e28bebb7e2be779bbc5019a14f71f58aef75634e6c9edbb0134c83eaf9290adccb514657509bad7d9d88f42290da
7
+ data.tar.gz: adf124ceeece529ef8fe883c9319ce950195a110a555416733f65e7d8a3dc0bad2233df3bf6d4cf839c25e7510845704ac3710d2a71b1fe853d0f9b6b8717e6f
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
4
4
 
5
- Policy Simulator is a collection of endpoints for creating, running, and viewing a {::Google::Cloud::PolicySimulator::V1::Replay Replay}. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -86,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
85
 
87
86
  ## Supported Ruby Versions
88
87
 
89
- This library is supported on Ruby 3.0+.
88
+ This library is supported on Ruby 3.2+.
90
89
 
91
90
  Google provides official support for Ruby versions that are actively supported
92
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -734,6 +734,7 @@ module Google
734
734
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
735
735
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
736
736
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
737
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
737
738
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
738
739
  # trigger a retry.
739
740
  # @return [::Hash]
@@ -817,6 +818,7 @@ module Google
817
818
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
818
819
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
819
820
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
821
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
820
822
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
821
823
  # trigger a retry.
822
824
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -673,6 +673,7 @@ module Google
673
673
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
674
674
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
675
675
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
676
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
676
677
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
677
678
  # trigger a retry.
678
679
  # @return [::Hash]
@@ -745,6 +746,7 @@ module Google
745
746
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
746
747
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
747
748
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
749
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
748
750
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
749
751
  # trigger a retry.
750
752
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -889,70 +891,70 @@ module Google
889
891
  uri_method: :get,
890
892
  uri_template: "/v1/{name}",
891
893
  matches: [
892
- ["name", %r{^operations(?:/.*)?$}, true]
894
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
893
895
  ]
894
896
  )
895
897
  .with_bindings(
896
898
  uri_method: :get,
897
899
  uri_template: "/v1/{name}",
898
900
  matches: [
899
- ["name", %r{^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/.*)?$}, true]
901
+ ["name", %r{^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
900
902
  ]
901
903
  )
902
904
  .with_bindings(
903
905
  uri_method: :get,
904
906
  uri_template: "/v1/{name}",
905
907
  matches: [
906
- ["name", %r{^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/.*)?$}, true]
908
+ ["name", %r{^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
907
909
  ]
908
910
  )
909
911
  .with_bindings(
910
912
  uri_method: :get,
911
913
  uri_template: "/v1/{name}",
912
914
  matches: [
913
- ["name", %r{^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/.*)?$}, true]
915
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
914
916
  ]
915
917
  )
916
918
  .with_bindings(
917
919
  uri_method: :get,
918
920
  uri_template: "/v1/{name}",
919
921
  matches: [
920
- ["name", %r{^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/.*)?$}, true]
922
+ ["name", %r{^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
921
923
  ]
922
924
  )
923
925
  .with_bindings(
924
926
  uri_method: :get,
925
927
  uri_template: "/v1/{name}",
926
928
  matches: [
927
- ["name", %r{^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/.*)?$}, true]
929
+ ["name", %r{^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
928
930
  ]
929
931
  )
930
932
  .with_bindings(
931
933
  uri_method: :get,
932
934
  uri_template: "/v1/{name}",
933
935
  matches: [
934
- ["name", %r{^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/.*)?$}, true]
936
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
935
937
  ]
936
938
  )
937
939
  .with_bindings(
938
940
  uri_method: :get,
939
941
  uri_template: "/v1/{name}",
940
942
  matches: [
941
- ["name", %r{^projects/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/.*)?$}, true]
943
+ ["name", %r{^projects/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
942
944
  ]
943
945
  )
944
946
  .with_bindings(
945
947
  uri_method: :get,
946
948
  uri_template: "/v1/{name}",
947
949
  matches: [
948
- ["name", %r{^folders/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/.*)?$}, true]
950
+ ["name", %r{^folders/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
949
951
  ]
950
952
  )
951
953
  .with_bindings(
952
954
  uri_method: :get,
953
955
  uri_template: "/v1/{name}",
954
956
  matches: [
955
- ["name", %r{^organizations/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/.*)?$}, true]
957
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
956
958
  ]
957
959
  )
958
960
  transcoder.transcode request_pb
@@ -973,7 +975,7 @@ module Google
973
975
  uri_method: :delete,
974
976
  uri_template: "/v1/{name}",
975
977
  matches: [
976
- ["name", %r{^operations(?:/.*)?$}, true]
978
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
977
979
  ]
978
980
  )
979
981
  transcoder.transcode request_pb
@@ -995,7 +997,7 @@ module Google
995
997
  uri_template: "/v1/{name}:cancel",
996
998
  body: "*",
997
999
  matches: [
998
- ["name", %r{^operations(?:/.*)?$}, true]
1000
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
999
1001
  ]
1000
1002
  )
1001
1003
  transcoder.transcode request_pb
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -624,6 +624,7 @@ module Google
624
624
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
625
625
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
626
626
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
627
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
627
628
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
628
629
  # trigger a retry.
629
630
  # @return [::Hash]
@@ -707,6 +708,7 @@ module Google
707
708
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
708
709
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
709
710
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
711
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
710
712
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
711
713
  # trigger a retry.
712
714
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -570,6 +570,7 @@ module Google
570
570
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
571
571
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
572
572
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
573
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
573
574
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
574
575
  # trigger a retry.
575
576
  # @return [::Hash]
@@ -642,6 +643,7 @@ module Google
642
643
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
643
644
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
644
645
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
646
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
645
647
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
646
648
  # trigger a retry.
647
649
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -889,70 +891,70 @@ module Google
889
891
  uri_method: :get,
890
892
  uri_template: "/v1/{name}",
891
893
  matches: [
892
- ["name", %r{^operations(?:/.*)?$}, true]
894
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
893
895
  ]
894
896
  )
895
897
  .with_bindings(
896
898
  uri_method: :get,
897
899
  uri_template: "/v1/{name}",
898
900
  matches: [
899
- ["name", %r{^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/.*)?$}, true]
901
+ ["name", %r{^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
900
902
  ]
901
903
  )
902
904
  .with_bindings(
903
905
  uri_method: :get,
904
906
  uri_template: "/v1/{name}",
905
907
  matches: [
906
- ["name", %r{^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/.*)?$}, true]
908
+ ["name", %r{^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
907
909
  ]
908
910
  )
909
911
  .with_bindings(
910
912
  uri_method: :get,
911
913
  uri_template: "/v1/{name}",
912
914
  matches: [
913
- ["name", %r{^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/.*)?$}, true]
915
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
914
916
  ]
915
917
  )
916
918
  .with_bindings(
917
919
  uri_method: :get,
918
920
  uri_template: "/v1/{name}",
919
921
  matches: [
920
- ["name", %r{^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/.*)?$}, true]
922
+ ["name", %r{^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
921
923
  ]
922
924
  )
923
925
  .with_bindings(
924
926
  uri_method: :get,
925
927
  uri_template: "/v1/{name}",
926
928
  matches: [
927
- ["name", %r{^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/.*)?$}, true]
929
+ ["name", %r{^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
928
930
  ]
929
931
  )
930
932
  .with_bindings(
931
933
  uri_method: :get,
932
934
  uri_template: "/v1/{name}",
933
935
  matches: [
934
- ["name", %r{^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/.*)?$}, true]
936
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
935
937
  ]
936
938
  )
937
939
  .with_bindings(
938
940
  uri_method: :get,
939
941
  uri_template: "/v1/{name}",
940
942
  matches: [
941
- ["name", %r{^projects/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/.*)?$}, true]
943
+ ["name", %r{^projects/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
942
944
  ]
943
945
  )
944
946
  .with_bindings(
945
947
  uri_method: :get,
946
948
  uri_template: "/v1/{name}",
947
949
  matches: [
948
- ["name", %r{^folders/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/.*)?$}, true]
950
+ ["name", %r{^folders/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
949
951
  ]
950
952
  )
951
953
  .with_bindings(
952
954
  uri_method: :get,
953
955
  uri_template: "/v1/{name}",
954
956
  matches: [
955
- ["name", %r{^organizations/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/.*)?$}, true]
957
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations(?:/(?<__wildcard__>.*))?$}, true]
956
958
  ]
957
959
  )
958
960
  transcoder.transcode request_pb
@@ -973,7 +975,7 @@ module Google
973
975
  uri_method: :delete,
974
976
  uri_template: "/v1/{name}",
975
977
  matches: [
976
- ["name", %r{^operations(?:/.*)?$}, true]
978
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
977
979
  ]
978
980
  )
979
981
  transcoder.transcode request_pb
@@ -995,7 +997,7 @@ module Google
995
997
  uri_template: "/v1/{name}:cancel",
996
998
  body: "*",
997
999
  matches: [
998
- ["name", %r{^operations(?:/.*)?$}, true]
1000
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
999
1001
  ]
1000
1002
  )
1001
1003
  transcoder.transcode request_pb
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PolicySimulator
23
23
  module V1
24
- VERSION = "1.8.1"
24
+ VERSION = "1.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -9,7 +9,7 @@ require 'google/iam/v1/policy_pb'
9
9
  require 'google/type/expr_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n2google/cloud/policysimulator/v1/explanations.proto\x12\x1fgoogle.cloud.policysimulator.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x16google/type/expr.proto\"_\n\x0b\x41\x63\x63\x65ssTuple\x12\x16\n\tprincipal\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x66ull_resource_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\npermission\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xad\x02\n\x0f\x45xplainedPolicy\x12<\n\x06\x61\x63\x63\x65ss\x18\x01 \x01(\x0e\x32,.google.cloud.policysimulator.v1.AccessState\x12\x1a\n\x12\x66ull_resource_name\x18\x02 \x01(\t\x12%\n\x06policy\x18\x03 \x01(\x0b\x32\x15.google.iam.v1.Policy\x12Q\n\x14\x62inding_explanations\x18\x04 \x03(\x0b\x32\x33.google.cloud.policysimulator.v1.BindingExplanation\x12\x46\n\trelevance\x18\x05 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\"\xda\x08\n\x12\x42indingExplanation\x12\x41\n\x06\x61\x63\x63\x65ss\x18\x01 \x01(\x0e\x32,.google.cloud.policysimulator.v1.AccessStateB\x03\xe0\x41\x02\x12\x0c\n\x04role\x18\x02 \x01(\t\x12[\n\x0frole_permission\x18\x03 \x01(\x0e\x32\x42.google.cloud.policysimulator.v1.BindingExplanation.RolePermission\x12V\n\x19role_permission_relevance\x18\x04 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\x12Y\n\x0bmemberships\x18\x05 \x03(\x0b\x32\x44.google.cloud.policysimulator.v1.BindingExplanation.MembershipsEntry\x12\x46\n\trelevance\x18\x06 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\x12$\n\tcondition\x18\x07 \x01(\x0b\x32\x11.google.type.Expr\x1a\xb1\x01\n\x13\x41nnotatedMembership\x12R\n\nmembership\x18\x01 \x01(\x0e\x32>.google.cloud.policysimulator.v1.BindingExplanation.Membership\x12\x46\n\trelevance\x18\x02 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\x1a{\n\x10MembershipsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12V\n\x05value\x18\x02 \x01(\x0b\x32G.google.cloud.policysimulator.v1.BindingExplanation.AnnotatedMembership:\x02\x38\x01\"\x9a\x01\n\x0eRolePermission\x12\x1f\n\x1bROLE_PERMISSION_UNSPECIFIED\x10\x00\x12\x1c\n\x18ROLE_PERMISSION_INCLUDED\x10\x01\x12 \n\x1cROLE_PERMISSION_NOT_INCLUDED\x10\x02\x12\'\n#ROLE_PERMISSION_UNKNOWN_INFO_DENIED\x10\x03\"\xa6\x01\n\nMembership\x12\x1a\n\x16MEMBERSHIP_UNSPECIFIED\x10\x00\x12\x17\n\x13MEMBERSHIP_INCLUDED\x10\x01\x12\x1b\n\x17MEMBERSHIP_NOT_INCLUDED\x10\x02\x12\"\n\x1eMEMBERSHIP_UNKNOWN_INFO_DENIED\x10\x03\x12\"\n\x1eMEMBERSHIP_UNKNOWN_UNSUPPORTED\x10\x04*{\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GRANTED\x10\x01\x12\x0f\n\x0bNOT_GRANTED\x10\x02\x12\x17\n\x13UNKNOWN_CONDITIONAL\x10\x03\x12\x17\n\x13UNKNOWN_INFO_DENIED\x10\x04*O\n\x12HeuristicRelevance\x12#\n\x1fHEURISTIC_RELEVANCE_UNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x42\xf2\x01\n#com.google.cloud.policysimulator.v1B\x11\x45xplanationsProtoP\x01ZMcloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb\xaa\x02\x1fGoogle.Cloud.PolicySimulator.V1\xca\x02\x1fGoogle\\Cloud\\PolicySimulator\\V1\xea\x02\"Google::Cloud::PolicySimulator::V1b\x06proto3"
12
+ descriptor_data = "\n2google/cloud/policysimulator/v1/explanations.proto\x12\x1fgoogle.cloud.policysimulator.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x16google/type/expr.proto\"b\n\x0b\x41\x63\x63\x65ssTuple\x12\x17\n\tprincipal\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12 \n\x12\x66ull_resource_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\npermission\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"\xad\x02\n\x0f\x45xplainedPolicy\x12<\n\x06\x61\x63\x63\x65ss\x18\x01 \x01(\x0e\x32,.google.cloud.policysimulator.v1.AccessState\x12\x1a\n\x12\x66ull_resource_name\x18\x02 \x01(\t\x12%\n\x06policy\x18\x03 \x01(\x0b\x32\x15.google.iam.v1.Policy\x12Q\n\x14\x62inding_explanations\x18\x04 \x03(\x0b\x32\x33.google.cloud.policysimulator.v1.BindingExplanation\x12\x46\n\trelevance\x18\x05 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\"\xdb\x08\n\x12\x42indingExplanation\x12\x42\n\x06\x61\x63\x63\x65ss\x18\x01 \x01(\x0e\x32,.google.cloud.policysimulator.v1.AccessStateB\x04\xe2\x41\x01\x02\x12\x0c\n\x04role\x18\x02 \x01(\t\x12[\n\x0frole_permission\x18\x03 \x01(\x0e\x32\x42.google.cloud.policysimulator.v1.BindingExplanation.RolePermission\x12V\n\x19role_permission_relevance\x18\x04 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\x12Y\n\x0bmemberships\x18\x05 \x03(\x0b\x32\x44.google.cloud.policysimulator.v1.BindingExplanation.MembershipsEntry\x12\x46\n\trelevance\x18\x06 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\x12$\n\tcondition\x18\x07 \x01(\x0b\x32\x11.google.type.Expr\x1a\xb1\x01\n\x13\x41nnotatedMembership\x12R\n\nmembership\x18\x01 \x01(\x0e\x32>.google.cloud.policysimulator.v1.BindingExplanation.Membership\x12\x46\n\trelevance\x18\x02 \x01(\x0e\x32\x33.google.cloud.policysimulator.v1.HeuristicRelevance\x1a{\n\x10MembershipsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12V\n\x05value\x18\x02 \x01(\x0b\x32G.google.cloud.policysimulator.v1.BindingExplanation.AnnotatedMembership:\x02\x38\x01\"\x9a\x01\n\x0eRolePermission\x12\x1f\n\x1bROLE_PERMISSION_UNSPECIFIED\x10\x00\x12\x1c\n\x18ROLE_PERMISSION_INCLUDED\x10\x01\x12 \n\x1cROLE_PERMISSION_NOT_INCLUDED\x10\x02\x12\'\n#ROLE_PERMISSION_UNKNOWN_INFO_DENIED\x10\x03\"\xa6\x01\n\nMembership\x12\x1a\n\x16MEMBERSHIP_UNSPECIFIED\x10\x00\x12\x17\n\x13MEMBERSHIP_INCLUDED\x10\x01\x12\x1b\n\x17MEMBERSHIP_NOT_INCLUDED\x10\x02\x12\"\n\x1eMEMBERSHIP_UNKNOWN_INFO_DENIED\x10\x03\x12\"\n\x1eMEMBERSHIP_UNKNOWN_UNSUPPORTED\x10\x04*{\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GRANTED\x10\x01\x12\x0f\n\x0bNOT_GRANTED\x10\x02\x12\x17\n\x13UNKNOWN_CONDITIONAL\x10\x03\x12\x17\n\x13UNKNOWN_INFO_DENIED\x10\x04*O\n\x12HeuristicRelevance\x12#\n\x1fHEURISTIC_RELEVANCE_UNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x42\xf2\x01\n#com.google.cloud.policysimulator.v1B\x11\x45xplanationsProtoP\x01ZMcloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb\xaa\x02\x1fGoogle.Cloud.PolicySimulator.V1\xca\x02\x1fGoogle\\Cloud\\PolicySimulator\\V1\xea\x02\"Google::Cloud::PolicySimulator::V1b\x06proto3"
13
13
 
14
14
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
15
  pool.add_serialized_file(descriptor_data)
@@ -15,7 +15,7 @@ require 'google/protobuf/timestamp_pb'
15
15
  require 'google/rpc/status_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n/google/cloud/policysimulator/v1/orgpolicy.proto\x12\x1fgoogle.cloud.policysimulator.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/orgpolicy/v2/constraint.proto\x1a)google/cloud/orgpolicy/v2/orgpolicy.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xbd\x06\n\x1aOrgPolicyViolationsPreview\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.policysimulator.v1.PreviewStateB\x03\xe0\x41\x03\x12G\n\x07overlay\x18\x03 \x01(\x0b\x32\x31.google.cloud.policysimulator.v1.OrgPolicyOverlayB\x03\xe0\x41\x02\x12\x1d\n\x10violations_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12h\n\x0fresource_counts\x18\x05 \x01(\x0b\x32J.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview.ResourceCountsB\x03\xe0\x41\x03\x12M\n\x12\x63ustom_constraints\x18\x06 \x03(\tB1\xe0\x41\x03\xfa\x41+\n)orgpolicy.googleapis.com/CustomConstraint\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x87\x01\n\x0eResourceCounts\x12\x14\n\x07scanned\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cnoncompliant\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tcompliant\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nunenforced\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x13\n\x06\x65rrors\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03:\xe7\x01\xea\x41\xe3\x01\n9policysimulator.googleapis.com/OrgPolicyViolationsPreview\x12morganizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{org_policy_violations_preview}*\x1borgPolicyViolationsPreviews2\x1aorgPolicyViolationsPreview\"\xcf\x03\n\x12OrgPolicyViolation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x08resource\x18\x02 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.ResourceContext\x12\x46\n\x11\x63ustom_constraint\x18\x03 \x01(\x0b\x32+.google.cloud.orgpolicy.v2.CustomConstraint\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status:\xfb\x01\xea\x41\xf7\x01\n1policysimulator.googleapis.com/OrgPolicyViolation\x12\x98\x01organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{org_policy_violations_preview}/orgPolicyViolations/{org_policy_violation}*\x13orgPolicyViolations2\x12orgPolicyViolation\"J\n\x0fResourceContext\x12\x10\n\x08resource\x18\x01 \x01(\t\x12\x12\n\nasset_type\x18\x02 \x01(\t\x12\x11\n\tancestors\x18\x03 \x03(\t\"\xcb\x03\n\x10OrgPolicyOverlay\x12V\n\x08policies\x18\x01 \x03(\x0b\x32?.google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlayB\x03\xe0\x41\x01\x12j\n\x12\x63ustom_constraints\x18\x02 \x03(\x0b\x32I.google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlayB\x03\xe0\x41\x01\x1a\x63\n\rPolicyOverlay\x12\x1a\n\rpolicy_parent\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x36\n\x06policy\x18\x02 \x01(\x0b\x32!.google.cloud.orgpolicy.v2.PolicyB\x03\xe0\x41\x01\x1a\x8d\x01\n\x17\x43ustomConstraintOverlay\x12%\n\x18\x63ustom_constraint_parent\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12K\n\x11\x63ustom_constraint\x18\x02 \x01(\x0b\x32+.google.cloud.orgpolicy.v2.CustomConstraintB\x03\xe0\x41\x01\"\xa7\x02\n1CreateOrgPolicyViolationsPreviewOperationMetadata\x12\x30\n\x0crequest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.policysimulator.v1.PreviewStateB\x03\xe0\x41\x03\x12\x17\n\x0fresources_found\x18\x04 \x01(\x05\x12\x19\n\x11resources_scanned\x18\x05 \x01(\x05\x12\x19\n\x11resources_pending\x18\x06 \x01(\x05\"\xac\x01\n&ListOrgPolicyViolationsPreviewsRequest\x12Q\n\x06parent\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\x12\x39policysimulator.googleapis.com/OrgPolicyViolationsPreview\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\'ListOrgPolicyViolationsPreviewsResponse\x12\x63\n\x1eorg_policy_violations_previews\x18\x01 \x03(\x0b\x32;.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"w\n$GetOrgPolicyViolationsPreviewRequest\x12O\n\x04name\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\n9policysimulator.googleapis.com/OrgPolicyViolationsPreview\"\x94\x02\n\'CreateOrgPolicyViolationsPreviewRequest\x12Q\n\x06parent\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\x12\x39policysimulator.googleapis.com/OrgPolicyViolationsPreview\x12g\n\x1dorg_policy_violations_preview\x18\x02 \x01(\x0b\x32;.google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewB\x03\xe0\x41\x02\x12-\n org_policy_violations_preview_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9c\x01\n\x1eListOrgPolicyViolationsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31policysimulator.googleapis.com/OrgPolicyViolation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8e\x01\n\x1fListOrgPolicyViolationsResponse\x12R\n\x15org_policy_violations\x18\x01 \x03(\x0b\x32\x33.google.cloud.policysimulator.v1.OrgPolicyViolation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t*\x82\x01\n\x0cPreviewState\x12\x1d\n\x19PREVIEW_STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fPREVIEW_PENDING\x10\x01\x12\x13\n\x0fPREVIEW_RUNNING\x10\x02\x12\x15\n\x11PREVIEW_SUCCEEDED\x10\x03\x12\x12\n\x0ePREVIEW_FAILED\x10\x04\x32\xa2\n\n!OrgPolicyViolationsPreviewService\x12\x8b\x02\n\x1fListOrgPolicyViolationsPreviews\x12G.google.cloud.policysimulator.v1.ListOrgPolicyViolationsPreviewsRequest\x1aH.google.cloud.policysimulator.v1.ListOrgPolicyViolationsPreviewsResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=organizations/*/locations/*}/orgPolicyViolationsPreviews\x12\xf8\x01\n\x1dGetOrgPolicyViolationsPreview\x12\x45.google.cloud.policysimulator.v1.GetOrgPolicyViolationsPreviewRequest\x1a;.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=organizations/*/locations/*/orgPolicyViolationsPreviews/*}\x12\x93\x03\n CreateOrgPolicyViolationsPreview\x12H.google.cloud.policysimulator.v1.CreateOrgPolicyViolationsPreviewRequest\x1a\x1d.google.longrunning.Operation\"\x85\x02\xca\x41O\n\x1aOrgPolicyViolationsPreview\x12\x31\x43reateOrgPolicyViolationsPreviewOperationMetadata\xda\x41\x45parent,org_policy_violations_preview,org_policy_violations_preview_id\x82\xd3\xe4\x93\x02\x65\"D/v1/{parent=organizations/*/locations/*}/orgPolicyViolationsPreviews:\x1dorg_policy_violations_preview\x12\x89\x02\n\x17ListOrgPolicyViolations\x12?.google.cloud.policysimulator.v1.ListOrgPolicyViolationsRequest\x1a@.google.cloud.policysimulator.v1.ListOrgPolicyViolationsResponse\"k\xda\x41\x06parent\x82\xd3\xe4\x93\x02\\\x12Z/v1/{parent=organizations/*/locations/*/orgPolicyViolationsPreviews/*}/orgPolicyViolations\x1aR\xca\x41\x1epolicysimulator.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9b\x03\n#com.google.cloud.policysimulator.v1B\x0eOrgpolicyProtoP\x01ZMcloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb\xaa\x02\x1fGoogle.Cloud.PolicySimulator.V1\xca\x02\x1fGoogle\\Cloud\\PolicySimulator\\V1\xea\x02\"Google::Cloud::PolicySimulator::V1\xea\x41\\\n\'iam.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41J\n!iam.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}b\x06proto3"
18
+ descriptor_data = "\n/google/cloud/policysimulator/v1/orgpolicy.proto\x12\x1fgoogle.cloud.policysimulator.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/orgpolicy/v2/constraint.proto\x1a)google/cloud/orgpolicy/v2/orgpolicy.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xc9\x06\n\x1aOrgPolicyViolationsPreview\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x42\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.policysimulator.v1.PreviewStateB\x04\xe2\x41\x01\x03\x12H\n\x07overlay\x18\x03 \x01(\x0b\x32\x31.google.cloud.policysimulator.v1.OrgPolicyOverlayB\x04\xe2\x41\x01\x02\x12\x1e\n\x10violations_count\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12i\n\x0fresource_counts\x18\x05 \x01(\x0b\x32J.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview.ResourceCountsB\x04\xe2\x41\x01\x03\x12N\n\x12\x63ustom_constraints\x18\x06 \x03(\tB2\xe2\x41\x01\x03\xfa\x41+\n)orgpolicy.googleapis.com/CustomConstraint\x12\x35\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x1a\x8c\x01\n\x0eResourceCounts\x12\x15\n\x07scanned\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1a\n\x0cnoncompliant\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x17\n\tcompliant\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x18\n\nunenforced\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x14\n\x06\x65rrors\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03:\xe7\x01\xea\x41\xe3\x01\n9policysimulator.googleapis.com/OrgPolicyViolationsPreview\x12morganizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{org_policy_violations_preview}*\x1borgPolicyViolationsPreviews2\x1aorgPolicyViolationsPreview\"\xcf\x03\n\x12OrgPolicyViolation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x08resource\x18\x02 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.ResourceContext\x12\x46\n\x11\x63ustom_constraint\x18\x03 \x01(\x0b\x32+.google.cloud.orgpolicy.v2.CustomConstraint\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status:\xfb\x01\xea\x41\xf7\x01\n1policysimulator.googleapis.com/OrgPolicyViolation\x12\x98\x01organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{org_policy_violations_preview}/orgPolicyViolations/{org_policy_violation}*\x13orgPolicyViolations2\x12orgPolicyViolation\"J\n\x0fResourceContext\x12\x10\n\x08resource\x18\x01 \x01(\t\x12\x12\n\nasset_type\x18\x02 \x01(\t\x12\x11\n\tancestors\x18\x03 \x03(\t\"\xd1\x03\n\x10OrgPolicyOverlay\x12W\n\x08policies\x18\x01 \x03(\x0b\x32?.google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlayB\x04\xe2\x41\x01\x01\x12k\n\x12\x63ustom_constraints\x18\x02 \x03(\x0b\x32I.google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlayB\x04\xe2\x41\x01\x01\x1a\x65\n\rPolicyOverlay\x12\x1b\n\rpolicy_parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x37\n\x06policy\x18\x02 \x01(\x0b\x32!.google.cloud.orgpolicy.v2.PolicyB\x04\xe2\x41\x01\x01\x1a\x8f\x01\n\x17\x43ustomConstraintOverlay\x12&\n\x18\x63ustom_constraint_parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x11\x63ustom_constraint\x18\x02 \x01(\x0b\x32+.google.cloud.orgpolicy.v2.CustomConstraintB\x04\xe2\x41\x01\x01\"\xa8\x02\n1CreateOrgPolicyViolationsPreviewOperationMetadata\x12\x30\n\x0crequest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.policysimulator.v1.PreviewStateB\x04\xe2\x41\x01\x03\x12\x17\n\x0fresources_found\x18\x04 \x01(\x05\x12\x19\n\x11resources_scanned\x18\x05 \x01(\x05\x12\x19\n\x11resources_pending\x18\x06 \x01(\x05\"\xaf\x01\n&ListOrgPolicyViolationsPreviewsRequest\x12R\n\x06parent\x18\x01 \x01(\tBB\xe2\x41\x01\x02\xfa\x41;\x12\x39policysimulator.googleapis.com/OrgPolicyViolationsPreview\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xa7\x01\n\'ListOrgPolicyViolationsPreviewsResponse\x12\x63\n\x1eorg_policy_violations_previews\x18\x01 \x03(\x0b\x32;.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n$GetOrgPolicyViolationsPreviewRequest\x12P\n\x04name\x18\x01 \x01(\tBB\xe2\x41\x01\x02\xfa\x41;\n9policysimulator.googleapis.com/OrgPolicyViolationsPreview\"\x97\x02\n\'CreateOrgPolicyViolationsPreviewRequest\x12R\n\x06parent\x18\x01 \x01(\tBB\xe2\x41\x01\x02\xfa\x41;\x12\x39policysimulator.googleapis.com/OrgPolicyViolationsPreview\x12h\n\x1dorg_policy_violations_preview\x18\x02 \x01(\x0b\x32;.google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewB\x04\xe2\x41\x01\x02\x12.\n org_policy_violations_preview_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x9f\x01\n\x1eListOrgPolicyViolationsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe2\x41\x01\x02\xfa\x41\x33\x12\x31policysimulator.googleapis.com/OrgPolicyViolation\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x8e\x01\n\x1fListOrgPolicyViolationsResponse\x12R\n\x15org_policy_violations\x18\x01 \x03(\x0b\x32\x33.google.cloud.policysimulator.v1.OrgPolicyViolation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t*\x82\x01\n\x0cPreviewState\x12\x1d\n\x19PREVIEW_STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fPREVIEW_PENDING\x10\x01\x12\x13\n\x0fPREVIEW_RUNNING\x10\x02\x12\x15\n\x11PREVIEW_SUCCEEDED\x10\x03\x12\x12\n\x0ePREVIEW_FAILED\x10\x04\x32\xa2\n\n!OrgPolicyViolationsPreviewService\x12\x8b\x02\n\x1fListOrgPolicyViolationsPreviews\x12G.google.cloud.policysimulator.v1.ListOrgPolicyViolationsPreviewsRequest\x1aH.google.cloud.policysimulator.v1.ListOrgPolicyViolationsPreviewsResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=organizations/*/locations/*}/orgPolicyViolationsPreviews\x12\xf8\x01\n\x1dGetOrgPolicyViolationsPreview\x12\x45.google.cloud.policysimulator.v1.GetOrgPolicyViolationsPreviewRequest\x1a;.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=organizations/*/locations/*/orgPolicyViolationsPreviews/*}\x12\x93\x03\n CreateOrgPolicyViolationsPreview\x12H.google.cloud.policysimulator.v1.CreateOrgPolicyViolationsPreviewRequest\x1a\x1d.google.longrunning.Operation\"\x85\x02\xca\x41O\n\x1aOrgPolicyViolationsPreview\x12\x31\x43reateOrgPolicyViolationsPreviewOperationMetadata\xda\x41\x45parent,org_policy_violations_preview,org_policy_violations_preview_id\x82\xd3\xe4\x93\x02\x65\"D/v1/{parent=organizations/*/locations/*}/orgPolicyViolationsPreviews:\x1dorg_policy_violations_preview\x12\x89\x02\n\x17ListOrgPolicyViolations\x12?.google.cloud.policysimulator.v1.ListOrgPolicyViolationsRequest\x1a@.google.cloud.policysimulator.v1.ListOrgPolicyViolationsResponse\"k\xda\x41\x06parent\x82\xd3\xe4\x93\x02\\\x12Z/v1/{parent=organizations/*/locations/*/orgPolicyViolationsPreviews/*}/orgPolicyViolations\x1aR\xca\x41\x1epolicysimulator.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9b\x03\n#com.google.cloud.policysimulator.v1B\x0eOrgpolicyProtoP\x01ZMcloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb\xaa\x02\x1fGoogle.Cloud.PolicySimulator.V1\xca\x02\x1fGoogle\\Cloud\\PolicySimulator\\V1\xea\x02\"Google::Cloud::PolicySimulator::V1\xea\x41\\\n\'iam.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41J\n!iam.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}b\x06proto3"
19
19
 
20
20
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
21
21
  pool.add_serialized_file(descriptor_data)
@@ -16,7 +16,7 @@ require 'google/rpc/status_pb'
16
16
  require 'google/type/date_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n/google/cloud/policysimulator/v1/simulator.proto\x12\x1fgoogle.cloud.policysimulator.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/policysimulator/v1/explanations.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"\xef\x05\n\x06Replay\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.policysimulator.v1.Replay.StateB\x03\xe0\x41\x03\x12\x42\n\x06\x63onfig\x18\x03 \x01(\x0b\x32-.google.cloud.policysimulator.v1.ReplayConfigB\x03\xe0\x41\x02\x12T\n\x0fresults_summary\x18\x05 \x01(\x0b\x32\x36.google.cloud.policysimulator.v1.Replay.ResultsSummaryB\x03\xe0\x41\x03\x1a\xbb\x01\n\x0eResultsSummary\x12\x11\n\tlog_count\x18\x01 \x01(\x05\x12\x17\n\x0funchanged_count\x18\x02 \x01(\x05\x12\x18\n\x10\x64ifference_count\x18\x03 \x01(\x05\x12\x13\n\x0b\x65rror_count\x18\x04 \x01(\x05\x12&\n\x0boldest_date\x18\x05 \x01(\x0b\x32\x11.google.type.Date\x12&\n\x0bnewest_date\x18\x06 \x01(\x0b\x32\x11.google.type.Date\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\xe1\x01\xea\x41\xdd\x01\n%policysimulator.googleapis.com/Replay\x12\x38projects/{project}/locations/{location}/replays/{replay}\x12\x36\x66olders/{folder}/locations/{location}/replays/{replay}\x12\x42organizations/{organization}/locations/{location}/replays/{replay}\"\xe5\x04\n\x0cReplayResult\x12;\n\x04\x64iff\x18\x05 \x01(\x0b\x32+.google.cloud.policysimulator.v1.ReplayDiffH\x00\x12#\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x06parent\x18\x02 \x01(\tB*\xfa\x41\'\n%policysimulator.googleapis.com/Replay\x12\x42\n\x0c\x61\x63\x63\x65ss_tuple\x18\x03 \x01(\x0b\x32,.google.cloud.policysimulator.v1.AccessTuple\x12)\n\x0elast_seen_date\x18\x04 \x01(\x0b\x32\x11.google.type.Date:\xaf\x02\xea\x41\xab\x02\n+policysimulator.googleapis.com/ReplayResult\x12Pprojects/{project}/locations/{location}/replays/{replay}/results/{replay_result}\x12Nfolders/{folder}/locations/{location}/replays/{replay}/results/{replay_result}\x12Zorganizations/{organization}/locations/{location}/replays/{replay}/results/{replay_result}B\x08\n\x06result\"h\n\x13\x43reateReplayRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12<\n\x06replay\x18\x02 \x01(\x0b\x32\'.google.cloud.policysimulator.v1.ReplayB\x03\xe0\x41\x02\"I\n\x17ReplayOperationMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"O\n\x10GetReplayRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%policysimulator.googleapis.com/Replay\"\x80\x01\n\x18ListReplayResultsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%policysimulator.googleapis.com/Replay\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"{\n\x19ListReplayResultsResponse\x12\x45\n\x0ereplay_results\x18\x01 \x03(\x0b\x32-.google.cloud.policysimulator.v1.ReplayResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc0\x02\n\x0cReplayConfig\x12X\n\x0epolicy_overlay\x18\x01 \x03(\x0b\x32@.google.cloud.policysimulator.v1.ReplayConfig.PolicyOverlayEntry\x12K\n\nlog_source\x18\x02 \x01(\x0e\x32\x37.google.cloud.policysimulator.v1.ReplayConfig.LogSource\x1aK\n\x12PolicyOverlayEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.Policy:\x02\x38\x01\"<\n\tLogSource\x12\x1a\n\x16LOG_SOURCE_UNSPECIFIED\x10\x00\x12\x13\n\x0fRECENT_ACCESSES\x10\x01\"S\n\nReplayDiff\x12\x45\n\x0b\x61\x63\x63\x65ss_diff\x18\x02 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.AccessStateDiff\"\xaa\x03\n\x0f\x41\x63\x63\x65ssStateDiff\x12\x42\n\x08\x62\x61seline\x18\x01 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.ExplainedAccess\x12\x43\n\tsimulated\x18\x02 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.ExplainedAccess\x12X\n\raccess_change\x18\x03 \x01(\x0e\x32\x41.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType\"\xb3\x01\n\x10\x41\x63\x63\x65ssChangeType\x12\"\n\x1e\x41\x43\x43\x45SS_CHANGE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tNO_CHANGE\x10\x01\x12\x12\n\x0eUNKNOWN_CHANGE\x10\x02\x12\x12\n\x0e\x41\x43\x43\x45SS_REVOKED\x10\x03\x12\x11\n\rACCESS_GAINED\x10\x04\x12\x18\n\x14\x41\x43\x43\x45SS_MAYBE_REVOKED\x10\x05\x12\x17\n\x13\x41\x43\x43\x45SS_MAYBE_GAINED\x10\x06\"\xbd\x01\n\x0f\x45xplainedAccess\x12\x42\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32,.google.cloud.policysimulator.v1.AccessState\x12\x42\n\x08policies\x18\x02 \x03(\x0b\x32\x30.google.cloud.policysimulator.v1.ExplainedPolicy\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.google.rpc.Status2\x81\x08\n\tSimulator\x12\x87\x02\n\tGetReplay\x12\x31.google.cloud.policysimulator.v1.GetReplayRequest\x1a\'.google.cloud.policysimulator.v1.Replay\"\x9d\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8f\x01\x12+/v1/{name=projects/*/locations/*/replays/*}Z,\x12*/v1/{name=folders/*/locations/*/replays/*}Z2\x12\x30/v1/{name=organizations/*/locations/*/replays/*}\x12\xc8\x02\n\x0c\x43reateReplay\x12\x34.google.cloud.policysimulator.v1.CreateReplayRequest\x1a\x1d.google.longrunning.Operation\"\xe2\x01\xca\x41!\n\x06Replay\x12\x17ReplayOperationMetadata\xda\x41\rparent,replay\x82\xd3\xe4\x93\x02\xa7\x01\"+/v1/{parent=projects/*/locations/*}/replays:\x06replayZ4\"*/v1/{parent=folders/*/locations/*}/replays:\x06replayZ:\"0/v1/{parent=organizations/*/locations/*}/replays:\x06replay\x12\xca\x02\n\x11ListReplayResults\x12\x39.google.cloud.policysimulator.v1.ListReplayResultsRequest\x1a:.google.cloud.policysimulator.v1.ListReplayResultsResponse\"\xbd\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xad\x01\x12\x35/v1/{parent=projects/*/locations/*/replays/*}/resultsZ6\x12\x34/v1/{parent=folders/*/locations/*/replays/*}/resultsZ<\x12:/v1/{parent=organizations/*/locations/*/replays/*}/results\x1aR\xca\x41\x1epolicysimulator.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xef\x01\n#com.google.cloud.policysimulator.v1B\x0eSimulatorProtoP\x01ZMcloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb\xaa\x02\x1fGoogle.Cloud.PolicySimulator.V1\xca\x02\x1fGoogle\\Cloud\\PolicySimulator\\V1\xea\x02\"Google::Cloud::PolicySimulator::V1b\x06proto3"
19
+ descriptor_data = "\n/google/cloud/policysimulator/v1/simulator.proto\x12\x1fgoogle.cloud.policysimulator.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/policysimulator/v1/explanations.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"\xf3\x05\n\x06Replay\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x42\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.policysimulator.v1.Replay.StateB\x04\xe2\x41\x01\x03\x12\x43\n\x06\x63onfig\x18\x03 \x01(\x0b\x32-.google.cloud.policysimulator.v1.ReplayConfigB\x04\xe2\x41\x01\x02\x12U\n\x0fresults_summary\x18\x05 \x01(\x0b\x32\x36.google.cloud.policysimulator.v1.Replay.ResultsSummaryB\x04\xe2\x41\x01\x03\x1a\xbb\x01\n\x0eResultsSummary\x12\x11\n\tlog_count\x18\x01 \x01(\x05\x12\x17\n\x0funchanged_count\x18\x02 \x01(\x05\x12\x18\n\x10\x64ifference_count\x18\x03 \x01(\x05\x12\x13\n\x0b\x65rror_count\x18\x04 \x01(\x05\x12&\n\x0boldest_date\x18\x05 \x01(\x0b\x32\x11.google.type.Date\x12&\n\x0bnewest_date\x18\x06 \x01(\x0b\x32\x11.google.type.Date\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\xe1\x01\xea\x41\xdd\x01\n%policysimulator.googleapis.com/Replay\x12\x38projects/{project}/locations/{location}/replays/{replay}\x12\x36\x66olders/{folder}/locations/{location}/replays/{replay}\x12\x42organizations/{organization}/locations/{location}/replays/{replay}\"\xe5\x04\n\x0cReplayResult\x12;\n\x04\x64iff\x18\x05 \x01(\x0b\x32+.google.cloud.policysimulator.v1.ReplayDiffH\x00\x12#\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x06parent\x18\x02 \x01(\tB*\xfa\x41\'\n%policysimulator.googleapis.com/Replay\x12\x42\n\x0c\x61\x63\x63\x65ss_tuple\x18\x03 \x01(\x0b\x32,.google.cloud.policysimulator.v1.AccessTuple\x12)\n\x0elast_seen_date\x18\x04 \x01(\x0b\x32\x11.google.type.Date:\xaf\x02\xea\x41\xab\x02\n+policysimulator.googleapis.com/ReplayResult\x12Pprojects/{project}/locations/{location}/replays/{replay}/results/{replay_result}\x12Nfolders/{folder}/locations/{location}/replays/{replay}/results/{replay_result}\x12Zorganizations/{organization}/locations/{location}/replays/{replay}/results/{replay_result}B\x08\n\x06result\"j\n\x13\x43reateReplayRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12=\n\x06replay\x18\x02 \x01(\x0b\x32\'.google.cloud.policysimulator.v1.ReplayB\x04\xe2\x41\x01\x02\"I\n\x17ReplayOperationMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"P\n\x10GetReplayRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe2\x41\x01\x02\xfa\x41\'\n%policysimulator.googleapis.com/Replay\"\x81\x01\n\x18ListReplayResultsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe2\x41\x01\x02\xfa\x41\'\n%policysimulator.googleapis.com/Replay\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"{\n\x19ListReplayResultsResponse\x12\x45\n\x0ereplay_results\x18\x01 \x03(\x0b\x32-.google.cloud.policysimulator.v1.ReplayResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc0\x02\n\x0cReplayConfig\x12X\n\x0epolicy_overlay\x18\x01 \x03(\x0b\x32@.google.cloud.policysimulator.v1.ReplayConfig.PolicyOverlayEntry\x12K\n\nlog_source\x18\x02 \x01(\x0e\x32\x37.google.cloud.policysimulator.v1.ReplayConfig.LogSource\x1aK\n\x12PolicyOverlayEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.Policy:\x02\x38\x01\"<\n\tLogSource\x12\x1a\n\x16LOG_SOURCE_UNSPECIFIED\x10\x00\x12\x13\n\x0fRECENT_ACCESSES\x10\x01\"S\n\nReplayDiff\x12\x45\n\x0b\x61\x63\x63\x65ss_diff\x18\x02 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.AccessStateDiff\"\xaa\x03\n\x0f\x41\x63\x63\x65ssStateDiff\x12\x42\n\x08\x62\x61seline\x18\x01 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.ExplainedAccess\x12\x43\n\tsimulated\x18\x02 \x01(\x0b\x32\x30.google.cloud.policysimulator.v1.ExplainedAccess\x12X\n\raccess_change\x18\x03 \x01(\x0e\x32\x41.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType\"\xb3\x01\n\x10\x41\x63\x63\x65ssChangeType\x12\"\n\x1e\x41\x43\x43\x45SS_CHANGE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tNO_CHANGE\x10\x01\x12\x12\n\x0eUNKNOWN_CHANGE\x10\x02\x12\x12\n\x0e\x41\x43\x43\x45SS_REVOKED\x10\x03\x12\x11\n\rACCESS_GAINED\x10\x04\x12\x18\n\x14\x41\x43\x43\x45SS_MAYBE_REVOKED\x10\x05\x12\x17\n\x13\x41\x43\x43\x45SS_MAYBE_GAINED\x10\x06\"\xbd\x01\n\x0f\x45xplainedAccess\x12\x42\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32,.google.cloud.policysimulator.v1.AccessState\x12\x42\n\x08policies\x18\x02 \x03(\x0b\x32\x30.google.cloud.policysimulator.v1.ExplainedPolicy\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.google.rpc.Status2\x81\x08\n\tSimulator\x12\x87\x02\n\tGetReplay\x12\x31.google.cloud.policysimulator.v1.GetReplayRequest\x1a\'.google.cloud.policysimulator.v1.Replay\"\x9d\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8f\x01\x12+/v1/{name=projects/*/locations/*/replays/*}Z,\x12*/v1/{name=folders/*/locations/*/replays/*}Z2\x12\x30/v1/{name=organizations/*/locations/*/replays/*}\x12\xc8\x02\n\x0c\x43reateReplay\x12\x34.google.cloud.policysimulator.v1.CreateReplayRequest\x1a\x1d.google.longrunning.Operation\"\xe2\x01\xca\x41!\n\x06Replay\x12\x17ReplayOperationMetadata\xda\x41\rparent,replay\x82\xd3\xe4\x93\x02\xa7\x01\"+/v1/{parent=projects/*/locations/*}/replays:\x06replayZ4\"*/v1/{parent=folders/*/locations/*}/replays:\x06replayZ:\"0/v1/{parent=organizations/*/locations/*}/replays:\x06replay\x12\xca\x02\n\x11ListReplayResults\x12\x39.google.cloud.policysimulator.v1.ListReplayResultsRequest\x1a:.google.cloud.policysimulator.v1.ListReplayResultsResponse\"\xbd\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xad\x01\x12\x35/v1/{parent=projects/*/locations/*/replays/*}/resultsZ6\x12\x34/v1/{parent=folders/*/locations/*/replays/*}/resultsZ<\x12:/v1/{parent=organizations/*/locations/*/replays/*}/results\x1aR\xca\x41\x1epolicysimulator.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xef\x01\n#com.google.cloud.policysimulator.v1B\x0eSimulatorProtoP\x01ZMcloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb\xaa\x02\x1fGoogle.Cloud.PolicySimulator.V1\xca\x02\x1fGoogle\\Cloud\\PolicySimulator\\V1\xea\x02\"Google::Cloud::PolicySimulator::V1b\x06proto3"
20
20
 
21
21
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
22
22
  pool.add_serialized_file(descriptor_data)
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/cloud/policysimulator/v1/simulator.proto for package 'Google.Cloud.PolicySimulator.V1'
3
3
  # Original file comments:
4
- # Copyright 2023 Google LLC
4
+ # Copyright 2025 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-policy_simulator-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.6'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.6'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement