google-apis-policysimulator_v1alpha 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module PolicysimulatorV1alpha
18
+ # Version of the google-apis-policysimulator_v1alpha gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.9.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220821"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,300 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PolicysimulatorV1alpha
24
+
25
+ class GoogleCloudPolicysimulatorV1Replay
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudPolicysimulatorV1ReplayConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudPolicysimulatorV1ReplayOperationMetadata
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudPolicysimulatorV1ReplayResultsSummary
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudPolicysimulatorV1beta1Replay
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudPolicysimulatorV1beta1ReplayConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleIamV1AuditConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleIamV1AuditLogConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleIamV1Binding
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleIamV1Policy
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleLongrunningListOperationsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleLongrunningOperation
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleRpcStatus
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleTypeDate
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleTypeExpr
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudPolicysimulatorV1Replay
128
+ # @private
129
+ class Representation < Google::Apis::Core::JsonRepresentation
130
+ property :config, as: 'config', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1ReplayConfig, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1ReplayConfig::Representation
131
+
132
+ property :name, as: 'name'
133
+ property :results_summary, as: 'resultsSummary', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1ReplayResultsSummary, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1ReplayResultsSummary::Representation
134
+
135
+ property :state, as: 'state'
136
+ end
137
+ end
138
+
139
+ class GoogleCloudPolicysimulatorV1ReplayConfig
140
+ # @private
141
+ class Representation < Google::Apis::Core::JsonRepresentation
142
+ property :log_source, as: 'logSource'
143
+ hash :policy_overlay, as: 'policyOverlay', class: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1Policy::Representation
144
+
145
+ end
146
+ end
147
+
148
+ class GoogleCloudPolicysimulatorV1ReplayOperationMetadata
149
+ # @private
150
+ class Representation < Google::Apis::Core::JsonRepresentation
151
+ property :start_time, as: 'startTime'
152
+ end
153
+ end
154
+
155
+ class GoogleCloudPolicysimulatorV1ReplayResultsSummary
156
+ # @private
157
+ class Representation < Google::Apis::Core::JsonRepresentation
158
+ property :difference_count, as: 'differenceCount'
159
+ property :error_count, as: 'errorCount'
160
+ property :log_count, as: 'logCount'
161
+ property :newest_date, as: 'newestDate', class: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate::Representation
162
+
163
+ property :oldest_date, as: 'oldestDate', class: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate::Representation
164
+
165
+ property :unchanged_count, as: 'unchangedCount'
166
+ end
167
+ end
168
+
169
+ class GoogleCloudPolicysimulatorV1beta1Replay
170
+ # @private
171
+ class Representation < Google::Apis::Core::JsonRepresentation
172
+ property :config, as: 'config', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1beta1ReplayConfig, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1beta1ReplayConfig::Representation
173
+
174
+ property :name, as: 'name'
175
+ property :results_summary, as: 'resultsSummary', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary::Representation
176
+
177
+ property :state, as: 'state'
178
+ end
179
+ end
180
+
181
+ class GoogleCloudPolicysimulatorV1beta1ReplayConfig
182
+ # @private
183
+ class Representation < Google::Apis::Core::JsonRepresentation
184
+ property :log_source, as: 'logSource'
185
+ hash :policy_overlay, as: 'policyOverlay', class: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1Policy::Representation
186
+
187
+ end
188
+ end
189
+
190
+ class GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata
191
+ # @private
192
+ class Representation < Google::Apis::Core::JsonRepresentation
193
+ property :start_time, as: 'startTime'
194
+ end
195
+ end
196
+
197
+ class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
198
+ # @private
199
+ class Representation < Google::Apis::Core::JsonRepresentation
200
+ property :difference_count, as: 'differenceCount'
201
+ property :error_count, as: 'errorCount'
202
+ property :log_count, as: 'logCount'
203
+ property :newest_date, as: 'newestDate', class: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate::Representation
204
+
205
+ property :oldest_date, as: 'oldestDate', class: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleTypeDate::Representation
206
+
207
+ property :unchanged_count, as: 'unchangedCount'
208
+ end
209
+ end
210
+
211
+ class GoogleIamV1AuditConfig
212
+ # @private
213
+ class Representation < Google::Apis::Core::JsonRepresentation
214
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1AuditLogConfig, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1AuditLogConfig::Representation
215
+
216
+ property :service, as: 'service'
217
+ end
218
+ end
219
+
220
+ class GoogleIamV1AuditLogConfig
221
+ # @private
222
+ class Representation < Google::Apis::Core::JsonRepresentation
223
+ collection :exempted_members, as: 'exemptedMembers'
224
+ property :log_type, as: 'logType'
225
+ end
226
+ end
227
+
228
+ class GoogleIamV1Binding
229
+ # @private
230
+ class Representation < Google::Apis::Core::JsonRepresentation
231
+ property :condition, as: 'condition', class: Google::Apis::PolicysimulatorV1alpha::GoogleTypeExpr, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleTypeExpr::Representation
232
+
233
+ collection :members, as: 'members'
234
+ property :role, as: 'role'
235
+ end
236
+ end
237
+
238
+ class GoogleIamV1Policy
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1AuditConfig, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1AuditConfig::Representation
242
+
243
+ collection :bindings, as: 'bindings', class: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1Binding, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleIamV1Binding::Representation
244
+
245
+ property :etag, :base64 => true, as: 'etag'
246
+ property :version, as: 'version'
247
+ end
248
+ end
249
+
250
+ class GoogleLongrunningListOperationsResponse
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ property :next_page_token, as: 'nextPageToken'
254
+ collection :operations, as: 'operations', class: Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
255
+
256
+ end
257
+ end
258
+
259
+ class GoogleLongrunningOperation
260
+ # @private
261
+ class Representation < Google::Apis::Core::JsonRepresentation
262
+ property :done, as: 'done'
263
+ property :error, as: 'error', class: Google::Apis::PolicysimulatorV1alpha::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleRpcStatus::Representation
264
+
265
+ hash :metadata, as: 'metadata'
266
+ property :name, as: 'name'
267
+ hash :response, as: 'response'
268
+ end
269
+ end
270
+
271
+ class GoogleRpcStatus
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ property :code, as: 'code'
275
+ collection :details, as: 'details'
276
+ property :message, as: 'message'
277
+ end
278
+ end
279
+
280
+ class GoogleTypeDate
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :day, as: 'day'
284
+ property :month, as: 'month'
285
+ property :year, as: 'year'
286
+ end
287
+ end
288
+
289
+ class GoogleTypeExpr
290
+ # @private
291
+ class Representation < Google::Apis::Core::JsonRepresentation
292
+ property :description, as: 'description'
293
+ property :expression, as: 'expression'
294
+ property :location, as: 'location'
295
+ property :title, as: 'title'
296
+ end
297
+ end
298
+ end
299
+ end
300
+ end
@@ -0,0 +1,144 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module PolicysimulatorV1alpha
23
+ # Policy Simulator API
24
+ #
25
+ # Policy Simulator is a collection of endpoints for creating, running, and
26
+ # viewing a Replay. A `Replay` is a type of simulation that lets you see how
27
+ # your members' access to resources might change if you changed your IAM policy.
28
+ # During a `Replay`, Policy Simulator re-evaluates, or replays, past access
29
+ # attempts under both the current policy and your proposed policy, and compares
30
+ # those results to determine how your members' access might change under the
31
+ # proposed policy.
32
+ #
33
+ # @example
34
+ # require 'google/apis/policysimulator_v1alpha'
35
+ #
36
+ # Policysimulator = Google::Apis::PolicysimulatorV1alpha # Alias the module
37
+ # service = Policysimulator::PolicySimulatorService.new
38
+ #
39
+ # @see https://cloud.google.com/iam/docs/simulating-access
40
+ class PolicySimulatorService < Google::Apis::Core::BaseService
41
+ # @return [String]
42
+ # API key. Your API key identifies your project and provides you with API access,
43
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
44
+ attr_accessor :key
45
+
46
+ # @return [String]
47
+ # Available to use for quota purposes for server-side applications. Can be any
48
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
49
+ attr_accessor :quota_user
50
+
51
+ def initialize
52
+ super('https://policysimulator.googleapis.com/', '',
53
+ client_name: 'google-apis-policysimulator_v1alpha',
54
+ client_version: Google::Apis::PolicysimulatorV1alpha::GEM_VERSION)
55
+ @batch_path = 'batch'
56
+ end
57
+
58
+ # Gets the latest state of a long-running operation. Clients can use this method
59
+ # to poll the operation result at intervals as recommended by the API service.
60
+ # @param [String] name
61
+ # The name of the operation resource.
62
+ # @param [String] fields
63
+ # Selector specifying which fields to include in a partial response.
64
+ # @param [String] quota_user
65
+ # Available to use for quota purposes for server-side applications. Can be any
66
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
+ # @param [Google::Apis::RequestOptions] options
68
+ # Request-specific options
69
+ #
70
+ # @yield [result, err] Result & error if block supplied
71
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
75
+ #
76
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
79
+ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
81
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
82
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation
83
+ command.params['name'] = name unless name.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
89
+ # Lists operations that match the specified filter in the request. If the server
90
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
91
+ # binding allows API services to override the binding to use different resource
92
+ # name schemes, such as `users/*/operations`. To override the binding, API
93
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
94
+ # service configuration. For backwards compatibility, the default name includes
95
+ # the operations collection id, however overriding users must ensure the name
96
+ # binding is the parent resource, without the operations collection id.
97
+ # @param [String] filter
98
+ # The standard list filter.
99
+ # @param [String] name
100
+ # The name of the operation's parent resource.
101
+ # @param [Fixnum] page_size
102
+ # The standard list page size.
103
+ # @param [String] page_token
104
+ # The standard list page token.
105
+ # @param [String] fields
106
+ # Selector specifying which fields to include in a partial response.
107
+ # @param [String] quota_user
108
+ # Available to use for quota purposes for server-side applications. Can be any
109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
110
+ # @param [Google::Apis::RequestOptions] options
111
+ # Request-specific options
112
+ #
113
+ # @yield [result, err] Result & error if block supplied
114
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
115
+ # @yieldparam err [StandardError] error object if request failed
116
+ #
117
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse]
118
+ #
119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
122
+ def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
123
+ command = make_simple_command(:get, 'v1alpha/operations', options)
124
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
125
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
126
+ command.query['filter'] = filter unless filter.nil?
127
+ command.query['name'] = name unless name.nil?
128
+ command.query['pageSize'] = page_size unless page_size.nil?
129
+ command.query['pageToken'] = page_token unless page_token.nil?
130
+ command.query['fields'] = fields unless fields.nil?
131
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
132
+ execute_or_queue_command(command, &block)
133
+ end
134
+
135
+ protected
136
+
137
+ def apply_command_defaults(command)
138
+ command.query['key'] = key unless key.nil?
139
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
140
+ end
141
+ end
142
+ end
143
+ end
144
+ end
@@ -0,0 +1,42 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/policysimulator_v1alpha/service.rb'
16
+ require 'google/apis/policysimulator_v1alpha/classes.rb'
17
+ require 'google/apis/policysimulator_v1alpha/representations.rb'
18
+ require 'google/apis/policysimulator_v1alpha/gem_version.rb'
19
+
20
+ module Google
21
+ module Apis
22
+ # Policy Simulator API
23
+ #
24
+ # Policy Simulator is a collection of endpoints for creating, running, and
25
+ # viewing a Replay. A `Replay` is a type of simulation that lets you see how
26
+ # your members' access to resources might change if you changed your IAM policy.
27
+ # During a `Replay`, Policy Simulator re-evaluates, or replays, past access
28
+ # attempts under both the current policy and your proposed policy, and compares
29
+ # those results to determine how your members' access might change under the
30
+ # proposed policy.
31
+ #
32
+ # @see https://cloud.google.com/iam/docs/simulating-access
33
+ module PolicysimulatorV1alpha
34
+ # Version of the Policy Simulator API this client connects to.
35
+ # This is NOT the gem version.
36
+ VERSION = 'V1alpha'
37
+
38
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
39
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,15 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require "google/apis/policysimulator_v1alpha"
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-apis-policysimulator_v1alpha
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Google LLC
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-apis-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.7'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.7'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 2.a
33
+ description: This is the simple REST client for Policy Simulator API V1alpha. Simple
34
+ REST clients are Ruby client libraries that provide access to Google services via
35
+ their HTTP REST API endpoints. These libraries are generated and updated automatically
36
+ based on the discovery documents published by the service, and they handle most
37
+ concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
+ use this client to access the Policy Simulator API, but note that some services
39
+ may provide a separate modern client that is easier to use.
40
+ email: googleapis-packages@google.com
41
+ executables: []
42
+ extensions: []
43
+ extra_rdoc_files: []
44
+ files:
45
+ - ".yardopts"
46
+ - CHANGELOG.md
47
+ - LICENSE.md
48
+ - OVERVIEW.md
49
+ - lib/google-apis-policysimulator_v1alpha.rb
50
+ - lib/google/apis/policysimulator_v1alpha.rb
51
+ - lib/google/apis/policysimulator_v1alpha/classes.rb
52
+ - lib/google/apis/policysimulator_v1alpha/gem_version.rb
53
+ - lib/google/apis/policysimulator_v1alpha/representations.rb
54
+ - lib/google/apis/policysimulator_v1alpha/service.rb
55
+ homepage: https://github.com/google/google-api-ruby-client
56
+ licenses:
57
+ - Apache-2.0
58
+ metadata:
59
+ bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.1.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '2.5'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubygems_version: 3.3.14
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Simple REST client for Policy Simulator API V1alpha
82
+ test_files: []