google-cloud-policy_simulator-v1 1.2.1 → 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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/client.rb +848 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/credentials.rb +47 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/operations.rb +813 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/paths.rb +138 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/client.rb +794 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/operations.rb +998 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest/service_stub.rb +326 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/rest.rb +63 -0
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service.rb +66 -0
- data/lib/google/cloud/policy_simulator/v1/rest.rb +2 -1
- data/lib/google/cloud/policy_simulator/v1/simulator/rest/operations.rb +42 -0
- data/lib/google/cloud/policy_simulator/v1/version.rb +1 -1
- data/lib/google/cloud/policy_simulator/v1.rb +3 -2
- data/lib/google/cloud/policysimulator/v1/explanations_pb.rb +1 -1
- data/lib/google/cloud/policysimulator/v1/orgpolicy_pb.rb +70 -0
- data/lib/google/cloud/policysimulator/v1/orgpolicy_services_pb.rb +76 -0
- data/lib/google/cloud/policysimulator/v1/simulator_pb.rb +1 -1
- data/proto_docs/google/cloud/orgpolicy/v2/constraint.rb +370 -0
- data/proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb +454 -0
- data/proto_docs/google/cloud/policysimulator/v1/explanations.rb +3 -3
- data/proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb +380 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- metadata +39 -15
@@ -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.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -13,22 +13,16 @@ dependencies:
|
|
13
13
|
name: gapic-common
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: 0.25.0
|
19
|
-
- - "<"
|
16
|
+
- - "~>"
|
20
17
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
18
|
+
version: '1.0'
|
22
19
|
type: :runtime
|
23
20
|
prerelease: false
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
25
22
|
requirements:
|
26
|
-
- - "
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: 0.25.0
|
29
|
-
- - "<"
|
23
|
+
- - "~>"
|
30
24
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
25
|
+
version: '1.0'
|
32
26
|
- !ruby/object:Gem::Dependency
|
33
27
|
name: google-cloud-errors
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,20 +37,34 @@ dependencies:
|
|
43
37
|
- - "~>"
|
44
38
|
- !ruby/object:Gem::Version
|
45
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'
|
46
54
|
- !ruby/object:Gem::Dependency
|
47
55
|
name: grpc-google-iam-v1
|
48
56
|
requirement: !ruby/object:Gem::Requirement
|
49
57
|
requirements:
|
50
58
|
- - "~>"
|
51
59
|
- !ruby/object:Gem::Version
|
52
|
-
version: '1.
|
60
|
+
version: '1.11'
|
53
61
|
type: :runtime
|
54
62
|
prerelease: false
|
55
63
|
version_requirements: !ruby/object:Gem::Requirement
|
56
64
|
requirements:
|
57
65
|
- - "~>"
|
58
66
|
- !ruby/object:Gem::Version
|
59
|
-
version: '1.
|
67
|
+
version: '1.11'
|
60
68
|
description: Policy Simulator is a collection of endpoints for creating, running,
|
61
69
|
and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a
|
62
70
|
type of simulation that lets you see how your members' access to resources might
|
@@ -77,6 +85,15 @@ files:
|
|
77
85
|
- README.md
|
78
86
|
- lib/google-cloud-policy_simulator-v1.rb
|
79
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
|
80
97
|
- lib/google/cloud/policy_simulator/v1/rest.rb
|
81
98
|
- lib/google/cloud/policy_simulator/v1/simulator.rb
|
82
99
|
- lib/google/cloud/policy_simulator/v1/simulator/client.rb
|
@@ -89,6 +106,8 @@ files:
|
|
89
106
|
- lib/google/cloud/policy_simulator/v1/simulator/rest/service_stub.rb
|
90
107
|
- lib/google/cloud/policy_simulator/v1/version.rb
|
91
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
|
92
111
|
- lib/google/cloud/policysimulator/v1/simulator_pb.rb
|
93
112
|
- lib/google/cloud/policysimulator/v1/simulator_services_pb.rb
|
94
113
|
- proto_docs/README.md
|
@@ -96,13 +115,18 @@ files:
|
|
96
115
|
- proto_docs/google/api/field_behavior.rb
|
97
116
|
- proto_docs/google/api/launch_stage.rb
|
98
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
|
99
120
|
- proto_docs/google/cloud/policysimulator/v1/explanations.rb
|
121
|
+
- proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb
|
100
122
|
- proto_docs/google/cloud/policysimulator/v1/simulator.rb
|
101
123
|
- proto_docs/google/iam/v1/policy.rb
|
102
124
|
- proto_docs/google/longrunning/operations.rb
|
103
125
|
- proto_docs/google/protobuf/any.rb
|
104
126
|
- proto_docs/google/protobuf/duration.rb
|
105
127
|
- proto_docs/google/protobuf/empty.rb
|
128
|
+
- proto_docs/google/protobuf/field_mask.rb
|
129
|
+
- proto_docs/google/protobuf/struct.rb
|
106
130
|
- proto_docs/google/protobuf/timestamp.rb
|
107
131
|
- proto_docs/google/rpc/status.rb
|
108
132
|
- proto_docs/google/type/date.rb
|
@@ -118,14 +142,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
142
|
requirements:
|
119
143
|
- - ">="
|
120
144
|
- !ruby/object:Gem::Version
|
121
|
-
version: '3.
|
145
|
+
version: '3.1'
|
122
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
147
|
requirements:
|
124
148
|
- - ">="
|
125
149
|
- !ruby/object:Gem::Version
|
126
150
|
version: '0'
|
127
151
|
requirements: []
|
128
|
-
rubygems_version: 3.6.
|
152
|
+
rubygems_version: 3.6.9
|
129
153
|
specification_version: 4
|
130
154
|
summary: Policy Simulator is a collection of endpoints for creating, running, and
|
131
155
|
viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type
|