google-cloud-policy_simulator-v1 1.3.0 → 1.4.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 (27) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/client.rb +848 -0
  5. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/credentials.rb +47 -0
  6. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/operations.rb +813 -0
  7. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/paths.rb +138 -0
  8. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/client.rb +794 -0
  9. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/operations.rb +998 -0
  10. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/service_stub.rb +326 -0
  11. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest.rb +63 -0
  12. data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service.rb +66 -0
  13. data/lib/google/cloud/policy_simulator/v1/rest.rb +2 -1
  14. data/lib/google/cloud/policy_simulator/v1/simulator/rest/operations.rb +42 -0
  15. data/lib/google/cloud/policy_simulator/v1/version.rb +1 -1
  16. data/lib/google/cloud/policy_simulator/v1.rb +3 -2
  17. data/lib/google/cloud/policysimulator/v1/explanations_pb.rb +1 -1
  18. data/lib/google/cloud/policysimulator/v1/orgpolicy_pb.rb +70 -0
  19. data/lib/google/cloud/policysimulator/v1/orgpolicy_services_pb.rb +76 -0
  20. data/lib/google/cloud/policysimulator/v1/simulator_pb.rb +1 -1
  21. data/proto_docs/google/cloud/orgpolicy/v2/constraint.rb +370 -0
  22. data/proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb +454 -0
  23. data/proto_docs/google/cloud/policysimulator/v1/explanations.rb +3 -3
  24. data/proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb +380 -0
  25. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  26. data/proto_docs/google/protobuf/struct.rb +108 -0
  27. metadata +32 -2
@@ -0,0 +1,108 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # `Struct` represents a structured data value, consisting of fields
23
+ # which map to dynamically typed values. In some languages, `Struct`
24
+ # might be supported by a native representation. For example, in
25
+ # scripting languages like JS a struct is represented as an
26
+ # object. The details of that representation are described together
27
+ # with the proto support for the language.
28
+ #
29
+ # The JSON representation for `Struct` is JSON object.
30
+ # @!attribute [rw] fields
31
+ # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
32
+ # Unordered map of dynamically typed values.
33
+ class Struct
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+
37
+ # @!attribute [rw] key
38
+ # @return [::String]
39
+ # @!attribute [rw] value
40
+ # @return [::Google::Protobuf::Value]
41
+ class FieldsEntry
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+ end
46
+
47
+ # `Value` represents a dynamically typed value which can be either
48
+ # null, a number, a string, a boolean, a recursive struct value, or a
49
+ # list of values. A producer of value is expected to set one of these
50
+ # variants. Absence of any variant indicates an error.
51
+ #
52
+ # The JSON representation for `Value` is JSON value.
53
+ # @!attribute [rw] null_value
54
+ # @return [::Google::Protobuf::NullValue]
55
+ # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
58
+ # @!attribute [rw] number_value
59
+ # @return [::Float]
60
+ # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
63
+ # @!attribute [rw] string_value
64
+ # @return [::String]
65
+ # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
+ # @!attribute [rw] bool_value
69
+ # @return [::Boolean]
70
+ # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
73
+ # @!attribute [rw] struct_value
74
+ # @return [::Google::Protobuf::Struct]
75
+ # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
+ # @!attribute [rw] list_value
79
+ # @return [::Google::Protobuf::ListValue]
80
+ # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
83
+ class Value
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # `ListValue` is a wrapper around a repeated field of values.
89
+ #
90
+ # The JSON representation for `ListValue` is JSON array.
91
+ # @!attribute [rw] values
92
+ # @return [::Array<::Google::Protobuf::Value>]
93
+ # Repeated field of dynamically typed values.
94
+ class ListValue
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # `NullValue` is a singleton enumeration to represent the null value for the
100
+ # `Value` type union.
101
+ #
102
+ # The JSON representation for `NullValue` is JSON `null`.
103
+ module NullValue
104
+ # Null value.
105
+ NULL_VALUE = 0
106
+ end
107
+ end
108
+ end
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.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -37,6 +37,20 @@ dependencies:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '1.0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: google-cloud-org_policy-v2
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.0'
40
54
  - !ruby/object:Gem::Dependency
41
55
  name: grpc-google-iam-v1
42
56
  requirement: !ruby/object:Gem::Requirement
@@ -71,6 +85,15 @@ files:
71
85
  - README.md
72
86
  - lib/google-cloud-policy_simulator-v1.rb
73
87
  - lib/google/cloud/policy_simulator/v1.rb
88
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service.rb
89
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/client.rb
90
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/credentials.rb
91
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/operations.rb
92
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/paths.rb
93
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest.rb
94
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/client.rb
95
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/operations.rb
96
+ - lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/service_stub.rb
74
97
  - lib/google/cloud/policy_simulator/v1/rest.rb
75
98
  - lib/google/cloud/policy_simulator/v1/simulator.rb
76
99
  - lib/google/cloud/policy_simulator/v1/simulator/client.rb
@@ -83,6 +106,8 @@ files:
83
106
  - lib/google/cloud/policy_simulator/v1/simulator/rest/service_stub.rb
84
107
  - lib/google/cloud/policy_simulator/v1/version.rb
85
108
  - lib/google/cloud/policysimulator/v1/explanations_pb.rb
109
+ - lib/google/cloud/policysimulator/v1/orgpolicy_pb.rb
110
+ - lib/google/cloud/policysimulator/v1/orgpolicy_services_pb.rb
86
111
  - lib/google/cloud/policysimulator/v1/simulator_pb.rb
87
112
  - lib/google/cloud/policysimulator/v1/simulator_services_pb.rb
88
113
  - proto_docs/README.md
@@ -90,13 +115,18 @@ files:
90
115
  - proto_docs/google/api/field_behavior.rb
91
116
  - proto_docs/google/api/launch_stage.rb
92
117
  - proto_docs/google/api/resource.rb
118
+ - proto_docs/google/cloud/orgpolicy/v2/constraint.rb
119
+ - proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb
93
120
  - proto_docs/google/cloud/policysimulator/v1/explanations.rb
121
+ - proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb
94
122
  - proto_docs/google/cloud/policysimulator/v1/simulator.rb
95
123
  - proto_docs/google/iam/v1/policy.rb
96
124
  - proto_docs/google/longrunning/operations.rb
97
125
  - proto_docs/google/protobuf/any.rb
98
126
  - proto_docs/google/protobuf/duration.rb
99
127
  - proto_docs/google/protobuf/empty.rb
128
+ - proto_docs/google/protobuf/field_mask.rb
129
+ - proto_docs/google/protobuf/struct.rb
100
130
  - proto_docs/google/protobuf/timestamp.rb
101
131
  - proto_docs/google/rpc/status.rb
102
132
  - proto_docs/google/type/date.rb
@@ -119,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
149
  - !ruby/object:Gem::Version
120
150
  version: '0'
121
151
  requirements: []
122
- rubygems_version: 3.6.8
152
+ rubygems_version: 3.6.9
123
153
  specification_version: 4
124
154
  summary: Policy Simulator is a collection of endpoints for creating, running, and
125
155
  viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type