google-apis-chromepolicy_v1 0.27.0 → 0.29.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.
@@ -56,7 +56,7 @@ module Google
|
|
56
56
|
# @param [String] customer
|
57
57
|
# ID of the G Suite account or literal "my_customer" for the customer associated
|
58
58
|
# to the request.
|
59
|
-
# @param [Google::Apis::ChromepolicyV1::
|
59
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveRequest] google_chrome_policy_versions_v1_resolve_request_object
|
60
60
|
# @param [String] fields
|
61
61
|
# Selector specifying which fields to include in a partial response.
|
62
62
|
# @param [String] quota_user
|
@@ -66,20 +66,20 @@ module Google
|
|
66
66
|
# Request-specific options
|
67
67
|
#
|
68
68
|
# @yield [result, err] Result & error if block supplied
|
69
|
-
# @yieldparam result [Google::Apis::ChromepolicyV1::
|
69
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveResponse] parsed result object
|
70
70
|
# @yieldparam err [StandardError] error object if request failed
|
71
71
|
#
|
72
|
-
# @return [Google::Apis::ChromepolicyV1::
|
72
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveResponse]
|
73
73
|
#
|
74
74
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
-
def resolve_customer_policy(customer,
|
77
|
+
def resolve_customer_policy(customer, google_chrome_policy_versions_v1_resolve_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
78
|
command = make_simple_command(:post, 'v1/{+customer}/policies:resolve', options)
|
79
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
80
|
-
command.request_object =
|
81
|
-
command.response_representation = Google::Apis::ChromepolicyV1::
|
82
|
-
command.response_class = Google::Apis::ChromepolicyV1::
|
79
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveRequest::Representation
|
80
|
+
command.request_object = google_chrome_policy_versions_v1_resolve_request_object
|
81
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveResponse::Representation
|
82
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveResponse
|
83
83
|
command.params['customer'] = customer unless customer.nil?
|
84
84
|
command.query['fields'] = fields unless fields.nil?
|
85
85
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -95,7 +95,7 @@ module Google
|
|
95
95
|
# @param [String] customer
|
96
96
|
# ID of the Google Workspace account or literal "my_customer" for the customer
|
97
97
|
# associated to the request.
|
98
|
-
# @param [Google::Apis::ChromepolicyV1::
|
98
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest] google_chrome_policy_versions_v1_batch_delete_group_policies_request_object
|
99
99
|
# @param [String] fields
|
100
100
|
# Selector specifying which fields to include in a partial response.
|
101
101
|
# @param [String] quota_user
|
@@ -113,10 +113,10 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def batch_customer_policy_group_delete(customer,
|
116
|
+
def batch_customer_policy_group_delete(customer, google_chrome_policy_versions_v1_batch_delete_group_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
117
|
command = make_simple_command(:post, 'v1/{+customer}/policies/groups:batchDelete', options)
|
118
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
119
|
-
command.request_object =
|
118
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest::Representation
|
119
|
+
command.request_object = google_chrome_policy_versions_v1_batch_delete_group_policies_request_object
|
120
120
|
command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
|
121
121
|
command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
|
122
122
|
command.params['customer'] = customer unless customer.nil?
|
@@ -134,7 +134,7 @@ module Google
|
|
134
134
|
# @param [String] customer
|
135
135
|
# ID of the Google Workspace account or literal "my_customer" for the customer
|
136
136
|
# associated to the request.
|
137
|
-
# @param [Google::Apis::ChromepolicyV1::
|
137
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest] google_chrome_policy_versions_v1_batch_modify_group_policies_request_object
|
138
138
|
# @param [String] fields
|
139
139
|
# Selector specifying which fields to include in a partial response.
|
140
140
|
# @param [String] quota_user
|
@@ -152,10 +152,10 @@ module Google
|
|
152
152
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
153
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
154
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
155
|
-
def batch_customer_policy_group_modify(customer,
|
155
|
+
def batch_customer_policy_group_modify(customer, google_chrome_policy_versions_v1_batch_modify_group_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
156
156
|
command = make_simple_command(:post, 'v1/{+customer}/policies/groups:batchModify', options)
|
157
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
158
|
-
command.request_object =
|
157
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest::Representation
|
158
|
+
command.request_object = google_chrome_policy_versions_v1_batch_modify_group_policies_request_object
|
159
159
|
command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
|
160
160
|
command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
|
161
161
|
command.params['customer'] = customer unless customer.nil?
|
@@ -170,7 +170,7 @@ module Google
|
|
170
170
|
# @param [String] customer
|
171
171
|
# Required. ID of the Google Workspace account or literal "my_customer" for the
|
172
172
|
# customer associated to the request.
|
173
|
-
# @param [Google::Apis::ChromepolicyV1::
|
173
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest] google_chrome_policy_versions_v1_list_group_priority_ordering_request_object
|
174
174
|
# @param [String] fields
|
175
175
|
# Selector specifying which fields to include in a partial response.
|
176
176
|
# @param [String] quota_user
|
@@ -180,20 +180,20 @@ module Google
|
|
180
180
|
# Request-specific options
|
181
181
|
#
|
182
182
|
# @yield [result, err] Result & error if block supplied
|
183
|
-
# @yieldparam result [Google::Apis::ChromepolicyV1::
|
183
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse] parsed result object
|
184
184
|
# @yieldparam err [StandardError] error object if request failed
|
185
185
|
#
|
186
|
-
# @return [Google::Apis::ChromepolicyV1::
|
186
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse]
|
187
187
|
#
|
188
188
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
189
189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
190
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
|
-
def list_customer_policy_group_group_priority_ordering(customer,
|
191
|
+
def list_customer_policy_group_group_priority_ordering(customer, google_chrome_policy_versions_v1_list_group_priority_ordering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
192
192
|
command = make_simple_command(:post, 'v1/{+customer}/policies/groups:listGroupPriorityOrdering', options)
|
193
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
194
|
-
command.request_object =
|
195
|
-
command.response_representation = Google::Apis::ChromepolicyV1::
|
196
|
-
command.response_class = Google::Apis::ChromepolicyV1::
|
193
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest::Representation
|
194
|
+
command.request_object = google_chrome_policy_versions_v1_list_group_priority_ordering_request_object
|
195
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse::Representation
|
196
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse
|
197
197
|
command.params['customer'] = customer unless customer.nil?
|
198
198
|
command.query['fields'] = fields unless fields.nil?
|
199
199
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
# @param [String] customer
|
207
207
|
# Required. ID of the Google Workspace account or literal "my_customer" for the
|
208
208
|
# customer associated to the request.
|
209
|
-
# @param [Google::Apis::ChromepolicyV1::
|
209
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest] google_chrome_policy_versions_v1_update_group_priority_ordering_request_object
|
210
210
|
# @param [String] fields
|
211
211
|
# Selector specifying which fields to include in a partial response.
|
212
212
|
# @param [String] quota_user
|
@@ -224,10 +224,10 @@ module Google
|
|
224
224
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
225
225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
226
226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
227
|
-
def update_customer_policy_group_group_priority_ordering(customer,
|
227
|
+
def update_customer_policy_group_group_priority_ordering(customer, google_chrome_policy_versions_v1_update_group_priority_ordering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
228
|
command = make_simple_command(:post, 'v1/{+customer}/policies/groups:updateGroupPriorityOrdering', options)
|
229
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
230
|
-
command.request_object =
|
229
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest::Representation
|
230
|
+
command.request_object = google_chrome_policy_versions_v1_update_group_priority_ordering_request_object
|
231
231
|
command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
|
232
232
|
command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
|
233
233
|
command.params['customer'] = customer unless customer.nil?
|
@@ -236,6 +236,138 @@ module Google
|
|
236
236
|
execute_or_queue_command(command, &block)
|
237
237
|
end
|
238
238
|
|
239
|
+
# Creates a certificate at a specified OU for a customer.
|
240
|
+
# @param [String] customer
|
241
|
+
# Required. The customer for which the certificate will apply.
|
242
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateRequest] google_chrome_policy_versions_v1_define_certificate_request_object
|
243
|
+
# @param [String] fields
|
244
|
+
# Selector specifying which fields to include in a partial response.
|
245
|
+
# @param [String] quota_user
|
246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
248
|
+
# @param [Google::Apis::RequestOptions] options
|
249
|
+
# Request-specific options
|
250
|
+
#
|
251
|
+
# @yield [result, err] Result & error if block supplied
|
252
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateResponse] parsed result object
|
253
|
+
# @yieldparam err [StandardError] error object if request failed
|
254
|
+
#
|
255
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateResponse]
|
256
|
+
#
|
257
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
258
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
|
+
def define_customer_policy_network_certificate(customer, google_chrome_policy_versions_v1_define_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
261
|
+
command = make_simple_command(:post, 'v1/{+customer}/policies/networks:defineCertificate', options)
|
262
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateRequest::Representation
|
263
|
+
command.request_object = google_chrome_policy_versions_v1_define_certificate_request_object
|
264
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateResponse::Representation
|
265
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateResponse
|
266
|
+
command.params['customer'] = customer unless customer.nil?
|
267
|
+
command.query['fields'] = fields unless fields.nil?
|
268
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
269
|
+
execute_or_queue_command(command, &block)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Define a new network.
|
273
|
+
# @param [String] customer
|
274
|
+
# Required. The customer who will own this new network.
|
275
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkRequest] google_chrome_policy_versions_v1_define_network_request_object
|
276
|
+
# @param [String] fields
|
277
|
+
# Selector specifying which fields to include in a partial response.
|
278
|
+
# @param [String] quota_user
|
279
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
280
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
281
|
+
# @param [Google::Apis::RequestOptions] options
|
282
|
+
# Request-specific options
|
283
|
+
#
|
284
|
+
# @yield [result, err] Result & error if block supplied
|
285
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkResponse] parsed result object
|
286
|
+
# @yieldparam err [StandardError] error object if request failed
|
287
|
+
#
|
288
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkResponse]
|
289
|
+
#
|
290
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
291
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
292
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
293
|
+
def define_customer_policy_network_network(customer, google_chrome_policy_versions_v1_define_network_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
294
|
+
command = make_simple_command(:post, 'v1/{+customer}/policies/networks:defineNetwork', options)
|
295
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkRequest::Representation
|
296
|
+
command.request_object = google_chrome_policy_versions_v1_define_network_request_object
|
297
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkResponse::Representation
|
298
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkResponse
|
299
|
+
command.params['customer'] = customer unless customer.nil?
|
300
|
+
command.query['fields'] = fields unless fields.nil?
|
301
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
302
|
+
execute_or_queue_command(command, &block)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Remove an existing certificate by guid.
|
306
|
+
# @param [String] customer
|
307
|
+
# Required. The customer whose certificate will be removed.
|
308
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateRequest] google_chrome_policy_versions_v1_remove_certificate_request_object
|
309
|
+
# @param [String] fields
|
310
|
+
# Selector specifying which fields to include in a partial response.
|
311
|
+
# @param [String] quota_user
|
312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
314
|
+
# @param [Google::Apis::RequestOptions] options
|
315
|
+
# Request-specific options
|
316
|
+
#
|
317
|
+
# @yield [result, err] Result & error if block supplied
|
318
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateResponse] parsed result object
|
319
|
+
# @yieldparam err [StandardError] error object if request failed
|
320
|
+
#
|
321
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateResponse]
|
322
|
+
#
|
323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
+
def remove_customer_policy_network_certificate(customer, google_chrome_policy_versions_v1_remove_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
|
+
command = make_simple_command(:post, 'v1/{+customer}/policies/networks:removeCertificate', options)
|
328
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateRequest::Representation
|
329
|
+
command.request_object = google_chrome_policy_versions_v1_remove_certificate_request_object
|
330
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateResponse::Representation
|
331
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateResponse
|
332
|
+
command.params['customer'] = customer unless customer.nil?
|
333
|
+
command.query['fields'] = fields unless fields.nil?
|
334
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
335
|
+
execute_or_queue_command(command, &block)
|
336
|
+
end
|
337
|
+
|
338
|
+
# Remove an existing network by guid.
|
339
|
+
# @param [String] customer
|
340
|
+
# Required. The customer whose network will be removed.
|
341
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkRequest] google_chrome_policy_versions_v1_remove_network_request_object
|
342
|
+
# @param [String] fields
|
343
|
+
# Selector specifying which fields to include in a partial response.
|
344
|
+
# @param [String] quota_user
|
345
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
346
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
347
|
+
# @param [Google::Apis::RequestOptions] options
|
348
|
+
# Request-specific options
|
349
|
+
#
|
350
|
+
# @yield [result, err] Result & error if block supplied
|
351
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkResponse] parsed result object
|
352
|
+
# @yieldparam err [StandardError] error object if request failed
|
353
|
+
#
|
354
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkResponse]
|
355
|
+
#
|
356
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
357
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
358
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
359
|
+
def remove_customer_policy_network_network(customer, google_chrome_policy_versions_v1_remove_network_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
360
|
+
command = make_simple_command(:post, 'v1/{+customer}/policies/networks:removeNetwork', options)
|
361
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkRequest::Representation
|
362
|
+
command.request_object = google_chrome_policy_versions_v1_remove_network_request_object
|
363
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkResponse::Representation
|
364
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkResponse
|
365
|
+
command.params['customer'] = customer unless customer.nil?
|
366
|
+
command.query['fields'] = fields unless fields.nil?
|
367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
368
|
+
execute_or_queue_command(command, &block)
|
369
|
+
end
|
370
|
+
|
239
371
|
# Modify multiple policy values that are applied to a specific org unit so that
|
240
372
|
# they now inherit the value from a parent (if applicable). All targets must
|
241
373
|
# have the same target format. That is to say that they must point to the same
|
@@ -246,7 +378,7 @@ module Google
|
|
246
378
|
# @param [String] customer
|
247
379
|
# ID of the G Suite account or literal "my_customer" for the customer associated
|
248
380
|
# to the request.
|
249
|
-
# @param [Google::Apis::ChromepolicyV1::
|
381
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest] google_chrome_policy_versions_v1_batch_inherit_org_unit_policies_request_object
|
250
382
|
# @param [String] fields
|
251
383
|
# Selector specifying which fields to include in a partial response.
|
252
384
|
# @param [String] quota_user
|
@@ -264,10 +396,10 @@ module Google
|
|
264
396
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
265
397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
266
398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
267
|
-
def batch_customer_policy_orgunit_inherit(customer,
|
399
|
+
def batch_customer_policy_orgunit_inherit(customer, google_chrome_policy_versions_v1_batch_inherit_org_unit_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
268
400
|
command = make_simple_command(:post, 'v1/{+customer}/policies/orgunits:batchInherit', options)
|
269
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
270
|
-
command.request_object =
|
401
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest::Representation
|
402
|
+
command.request_object = google_chrome_policy_versions_v1_batch_inherit_org_unit_policies_request_object
|
271
403
|
command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
|
272
404
|
command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
|
273
405
|
command.params['customer'] = customer unless customer.nil?
|
@@ -285,7 +417,7 @@ module Google
|
|
285
417
|
# @param [String] customer
|
286
418
|
# ID of the G Suite account or literal "my_customer" for the customer associated
|
287
419
|
# to the request.
|
288
|
-
# @param [Google::Apis::ChromepolicyV1::
|
420
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest] google_chrome_policy_versions_v1_batch_modify_org_unit_policies_request_object
|
289
421
|
# @param [String] fields
|
290
422
|
# Selector specifying which fields to include in a partial response.
|
291
423
|
# @param [String] quota_user
|
@@ -303,10 +435,10 @@ module Google
|
|
303
435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
304
436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
|
-
def batch_customer_policy_orgunit_modify(customer,
|
438
|
+
def batch_customer_policy_orgunit_modify(customer, google_chrome_policy_versions_v1_batch_modify_org_unit_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
307
439
|
command = make_simple_command(:post, 'v1/{+customer}/policies/orgunits:batchModify', options)
|
308
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
309
|
-
command.request_object =
|
440
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest::Representation
|
441
|
+
command.request_object = google_chrome_policy_versions_v1_batch_modify_org_unit_policies_request_object
|
310
442
|
command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
|
311
443
|
command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
|
312
444
|
command.params['customer'] = customer unless customer.nil?
|
@@ -327,18 +459,18 @@ module Google
|
|
327
459
|
# Request-specific options
|
328
460
|
#
|
329
461
|
# @yield [result, err] Result & error if block supplied
|
330
|
-
# @yieldparam result [Google::Apis::ChromepolicyV1::
|
462
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema] parsed result object
|
331
463
|
# @yieldparam err [StandardError] error object if request failed
|
332
464
|
#
|
333
|
-
# @return [Google::Apis::ChromepolicyV1::
|
465
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema]
|
334
466
|
#
|
335
467
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
336
468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
337
469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
338
470
|
def get_customer_policy_schema(name, fields: nil, quota_user: nil, options: nil, &block)
|
339
471
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
340
|
-
command.response_representation = Google::Apis::ChromepolicyV1::
|
341
|
-
command.response_class = Google::Apis::ChromepolicyV1::
|
472
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema::Representation
|
473
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema
|
342
474
|
command.params['name'] = name unless name.nil?
|
343
475
|
command.query['fields'] = fields unless fields.nil?
|
344
476
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -353,7 +485,8 @@ module Google
|
|
353
485
|
# The schema filter used to find a particular schema based on fields like its
|
354
486
|
# resource name, description and `additionalTargetKeyNames`.
|
355
487
|
# @param [Fixnum] page_size
|
356
|
-
# The maximum number of policy schemas to return
|
488
|
+
# The maximum number of policy schemas to return, defaults to 100 and has a
|
489
|
+
# maximum of 1000.
|
357
490
|
# @param [String] page_token
|
358
491
|
# The page token used to retrieve a specific page of the listing request.
|
359
492
|
# @param [String] fields
|
@@ -365,18 +498,18 @@ module Google
|
|
365
498
|
# Request-specific options
|
366
499
|
#
|
367
500
|
# @yield [result, err] Result & error if block supplied
|
368
|
-
# @yieldparam result [Google::Apis::ChromepolicyV1::
|
501
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListPolicySchemasResponse] parsed result object
|
369
502
|
# @yieldparam err [StandardError] error object if request failed
|
370
503
|
#
|
371
|
-
# @return [Google::Apis::ChromepolicyV1::
|
504
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListPolicySchemasResponse]
|
372
505
|
#
|
373
506
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
374
507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
375
508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
376
509
|
def list_customer_policy_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
377
510
|
command = make_simple_command(:get, 'v1/{+parent}/policySchemas', options)
|
378
|
-
command.response_representation = Google::Apis::ChromepolicyV1::
|
379
|
-
command.response_class = Google::Apis::ChromepolicyV1::
|
511
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListPolicySchemasResponse::Representation
|
512
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListPolicySchemasResponse
|
380
513
|
command.params['parent'] = parent unless parent.nil?
|
381
514
|
command.query['filter'] = filter unless filter.nil?
|
382
515
|
command.query['pageSize'] = page_size unless page_size.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chromepolicy_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.29.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|