google-apis-managedidentities_v1alpha1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,841 @@
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 ManagedidentitiesV1alpha1
23
+ # Managed Service for Microsoft Active Directory API
24
+ #
25
+ # The Managed Service for Microsoft Active Directory API is used for managing a
26
+ # highly available, hardened service running Microsoft Active Directory (AD).
27
+ #
28
+ # @example
29
+ # require 'google/apis/managedidentities_v1alpha1'
30
+ #
31
+ # Managedidentities = Google::Apis::ManagedidentitiesV1alpha1 # Alias the module
32
+ # service = Managedidentities::ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService.new
33
+ #
34
+ # @see https://cloud.google.com/managed-microsoft-ad/
35
+ class ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
+ def initialize
47
+ super('https://managedidentities.googleapis.com/', '',
48
+ client_name: 'google-apis-managedidentities_v1alpha1',
49
+ client_version: Google::Apis::ManagedidentitiesV1alpha1::GEM_VERSION)
50
+ @batch_path = 'batch'
51
+ end
52
+
53
+ # Gets information about a location.
54
+ # @param [String] name
55
+ # Resource name for the location.
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
+ # @param [String] quota_user
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [Google::Apis::RequestOptions] options
62
+ # Request-specific options
63
+ #
64
+ # @yield [result, err] Result & error if block supplied
65
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Location] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Location]
69
+ #
70
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
73
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
75
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Location::Representation
76
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Location
77
+ command.params['name'] = name unless name.nil?
78
+ command.query['fields'] = fields unless fields.nil?
79
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
80
+ execute_or_queue_command(command, &block)
81
+ end
82
+
83
+ # Lists information about the supported locations for this service.
84
+ # @param [String] name
85
+ # The resource that owns the locations collection, if applicable.
86
+ # @param [String] filter
87
+ # The standard list filter.
88
+ # @param [Fixnum] page_size
89
+ # The standard list page size.
90
+ # @param [String] page_token
91
+ # The standard list page token.
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
111
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse::Representation
112
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse
113
+ command.params['name'] = name unless name.nil?
114
+ command.query['filter'] = filter unless filter.nil?
115
+ command.query['pageSize'] = page_size unless page_size.nil?
116
+ command.query['pageToken'] = page_token unless page_token.nil?
117
+ command.query['fields'] = fields unless fields.nil?
118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
119
+ execute_or_queue_command(command, &block)
120
+ end
121
+
122
+ # Adds AD trust in a given domain. Operation
123
+ # @param [String] name
124
+ # The resource domain name, project name and location using the form: `projects/`
125
+ # project_id`/locations/global/domains/`domain_name``
126
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::AttachTrustRequest] attach_trust_request_object
127
+ # @param [String] fields
128
+ # Selector specifying which fields to include in a partial response.
129
+ # @param [String] quota_user
130
+ # Available to use for quota purposes for server-side applications. Can be any
131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
132
+ # @param [Google::Apis::RequestOptions] options
133
+ # Request-specific options
134
+ #
135
+ # @yield [result, err] Result & error if block supplied
136
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
137
+ # @yieldparam err [StandardError] error object if request failed
138
+ #
139
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
140
+ #
141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
144
+ def attach_domain_trust(name, attach_trust_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
145
+ command = make_simple_command(:post, 'v1alpha1/{+name}:attachTrust', options)
146
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::AttachTrustRequest::Representation
147
+ command.request_object = attach_trust_request_object
148
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
149
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
150
+ command.params['name'] = name unless name.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
156
+ # Creates a Microsoft AD Domain in a given project. Operation
157
+ # @param [String] parent
158
+ # Resource project name and location using the form: `projects/`project_id`/
159
+ # locations/global`
160
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::Domain] domain_object
161
+ # @param [String] domain_name
162
+ # The fully qualified domain name. e.g. mydomain.myorganization.com, with the
163
+ # following restrictions: * Must contain only lowercase letters, numbers,
164
+ # periods and hyphens. * Must start with a letter. * Must contain between 2-64
165
+ # characters. * Must end with a number or a letter. * Must not start with period.
166
+ # * Must be unique within the project. * First segement length (mydomain form
167
+ # example above) shouldn't exceed 15 chars. * The last segment cannot be fully
168
+ # numeric.
169
+ # @param [String] fields
170
+ # Selector specifying which fields to include in a partial response.
171
+ # @param [String] quota_user
172
+ # Available to use for quota purposes for server-side applications. Can be any
173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
174
+ # @param [Google::Apis::RequestOptions] options
175
+ # Request-specific options
176
+ #
177
+ # @yield [result, err] Result & error if block supplied
178
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
179
+ # @yieldparam err [StandardError] error object if request failed
180
+ #
181
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
182
+ #
183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
186
+ def create_project_location_global_domain(parent, domain_object = nil, domain_name: nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/domains', options)
188
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Domain::Representation
189
+ command.request_object = domain_object
190
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
191
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
192
+ command.params['parent'] = parent unless parent.nil?
193
+ command.query['domainName'] = domain_name unless domain_name.nil?
194
+ command.query['fields'] = fields unless fields.nil?
195
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
196
+ execute_or_queue_command(command, &block)
197
+ end
198
+
199
+ # Deletes identified domain. Operation
200
+ # @param [String] name
201
+ # Domain resource name using the form: `projects/`project_id`/locations/global/
202
+ # domains/`domain_name``
203
+ # @param [String] fields
204
+ # Selector specifying which fields to include in a partial response.
205
+ # @param [String] quota_user
206
+ # Available to use for quota purposes for server-side applications. Can be any
207
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
208
+ # @param [Google::Apis::RequestOptions] options
209
+ # Request-specific options
210
+ #
211
+ # @yield [result, err] Result & error if block supplied
212
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
213
+ # @yieldparam err [StandardError] error object if request failed
214
+ #
215
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
216
+ #
217
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
218
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
219
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
220
+ def delete_project_location_global_domain(name, fields: nil, quota_user: nil, options: nil, &block)
221
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
222
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
223
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
224
+ command.params['name'] = name unless name.nil?
225
+ command.query['fields'] = fields unless fields.nil?
226
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
227
+ execute_or_queue_command(command, &block)
228
+ end
229
+
230
+ # Removes identified trust. Operation
231
+ # @param [String] name
232
+ # The resource domain name, project name, and location using the form: `projects/
233
+ # `project_id`/locations/global/domains/`domain_name``
234
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::DetachTrustRequest] detach_trust_request_object
235
+ # @param [String] fields
236
+ # Selector specifying which fields to include in a partial response.
237
+ # @param [String] quota_user
238
+ # Available to use for quota purposes for server-side applications. Can be any
239
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
240
+ # @param [Google::Apis::RequestOptions] options
241
+ # Request-specific options
242
+ #
243
+ # @yield [result, err] Result & error if block supplied
244
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
245
+ # @yieldparam err [StandardError] error object if request failed
246
+ #
247
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
248
+ #
249
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
250
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
251
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
252
+ def detach_domain_trust(name, detach_trust_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
253
+ command = make_simple_command(:post, 'v1alpha1/{+name}:detachTrust', options)
254
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::DetachTrustRequest::Representation
255
+ command.request_object = detach_trust_request_object
256
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
257
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
258
+ command.params['name'] = name unless name.nil?
259
+ command.query['fields'] = fields unless fields.nil?
260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
261
+ execute_or_queue_command(command, &block)
262
+ end
263
+
264
+ # Gets details of a single Domain.
265
+ # @param [String] name
266
+ # Domain resource name using the form: `projects/`project_id`/locations/global/
267
+ # domains/`domain_name``
268
+ # @param [String] fields
269
+ # Selector specifying which fields to include in a partial response.
270
+ # @param [String] quota_user
271
+ # Available to use for quota purposes for server-side applications. Can be any
272
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
273
+ # @param [Google::Apis::RequestOptions] options
274
+ # Request-specific options
275
+ #
276
+ # @yield [result, err] Result & error if block supplied
277
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Domain] parsed result object
278
+ # @yieldparam err [StandardError] error object if request failed
279
+ #
280
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Domain]
281
+ #
282
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
285
+ def get_project_location_global_domain(name, fields: nil, quota_user: nil, options: nil, &block)
286
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
287
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Domain::Representation
288
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Domain
289
+ command.params['name'] = name unless name.nil?
290
+ command.query['fields'] = fields unless fields.nil?
291
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
292
+ execute_or_queue_command(command, &block)
293
+ end
294
+
295
+ # Gets the access control policy for a resource. Returns an empty policy if the
296
+ # resource exists and does not have a policy set.
297
+ # @param [String] resource
298
+ # REQUIRED: The resource for which the policy is being requested. See the
299
+ # operation documentation for the appropriate value for this field.
300
+ # @param [Fixnum] options_requested_policy_version
301
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
302
+ # 3. Requests specifying an invalid value will be rejected. Requests for
303
+ # policies with any conditional bindings must specify version 3. Policies
304
+ # without any conditional bindings may specify any valid value or leave the
305
+ # field unset. To learn which resources support conditions in their IAM policies,
306
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
307
+ # resource-policies).
308
+ # @param [String] fields
309
+ # Selector specifying which fields to include in a partial response.
310
+ # @param [String] quota_user
311
+ # Available to use for quota purposes for server-side applications. Can be any
312
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
313
+ # @param [Google::Apis::RequestOptions] options
314
+ # Request-specific options
315
+ #
316
+ # @yield [result, err] Result & error if block supplied
317
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
318
+ # @yieldparam err [StandardError] error object if request failed
319
+ #
320
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
321
+ #
322
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
323
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
324
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
325
+ def get_project_location_global_domain_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
326
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
327
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
328
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
329
+ command.params['resource'] = resource unless resource.nil?
330
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
331
+ command.query['fields'] = fields unless fields.nil?
332
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
333
+ execute_or_queue_command(command, &block)
334
+ end
335
+
336
+ # Lists Domains in a given project.
337
+ # @param [String] parent
338
+ # Required. The resource name of the domain location using the form: `projects/`
339
+ # project_id`/locations/global`
340
+ # @param [String] filter
341
+ # Optional. Filter specifying constraints of a list operation. For example, `
342
+ # Domain.fqdn="mydomain.myorginization"`.
343
+ # @param [String] order_by
344
+ # Optional. Specifies the ordering of results following syntax at https://cloud.
345
+ # google.com/apis/design/design_patterns#sorting_order.
346
+ # @param [Fixnum] page_size
347
+ # If not specified, a default value of 1000 will be used by the service.
348
+ # Regardless of the page_size value, the response may include a partial list and
349
+ # a caller should only rely on response's next_page_token to determine if there
350
+ # are more instances left to be queried.
351
+ # @param [String] page_token
352
+ # The next_page_token value returned from a previous List request, if any.
353
+ # @param [String] fields
354
+ # Selector specifying which fields to include in a partial response.
355
+ # @param [String] quota_user
356
+ # Available to use for quota purposes for server-side applications. Can be any
357
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
358
+ # @param [Google::Apis::RequestOptions] options
359
+ # Request-specific options
360
+ #
361
+ # @yield [result, err] Result & error if block supplied
362
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListDomainsResponse] parsed result object
363
+ # @yieldparam err [StandardError] error object if request failed
364
+ #
365
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ListDomainsResponse]
366
+ #
367
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
368
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
369
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
370
+ def list_project_location_global_domains(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
371
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/domains', options)
372
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListDomainsResponse::Representation
373
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListDomainsResponse
374
+ command.params['parent'] = parent unless parent.nil?
375
+ command.query['filter'] = filter unless filter.nil?
376
+ command.query['orderBy'] = order_by unless order_by.nil?
377
+ command.query['pageSize'] = page_size unless page_size.nil?
378
+ command.query['pageToken'] = page_token unless page_token.nil?
379
+ command.query['fields'] = fields unless fields.nil?
380
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
381
+ execute_or_queue_command(command, &block)
382
+ end
383
+
384
+ # Updates the metadata and configuration of a specified domain. Operation
385
+ # @param [String] name
386
+ # Output only. Unique name of the domain in this scope including projects and
387
+ # location using the form: `projects/`project_id`/locations/global/domains/`
388
+ # domain_name``.
389
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::Domain] domain_object
390
+ # @param [String] update_mask
391
+ # Mask of fields to update. At least one path must be supplied in this field.
392
+ # The elements of the repeated paths field may only include these fields from
393
+ # Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
394
+ # @param [String] fields
395
+ # Selector specifying which fields to include in a partial response.
396
+ # @param [String] quota_user
397
+ # Available to use for quota purposes for server-side applications. Can be any
398
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
399
+ # @param [Google::Apis::RequestOptions] options
400
+ # Request-specific options
401
+ #
402
+ # @yield [result, err] Result & error if block supplied
403
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
404
+ # @yieldparam err [StandardError] error object if request failed
405
+ #
406
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
407
+ #
408
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
409
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
410
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
411
+ def patch_project_location_global_domain(name, domain_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
412
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
413
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Domain::Representation
414
+ command.request_object = domain_object
415
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
416
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
417
+ command.params['name'] = name unless name.nil?
418
+ command.query['updateMask'] = update_mask unless update_mask.nil?
419
+ command.query['fields'] = fields unless fields.nil?
420
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
421
+ execute_or_queue_command(command, &block)
422
+ end
423
+
424
+ # Updates the dns conditional forwarder. Operation
425
+ # @param [String] name
426
+ # The resource domain name, project name and location using the form: `projects/`
427
+ # project_id`/locations/global/domains/`domain_name``
428
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::ReconfigureTrustRequest] reconfigure_trust_request_object
429
+ # @param [String] fields
430
+ # Selector specifying which fields to include in a partial response.
431
+ # @param [String] quota_user
432
+ # Available to use for quota purposes for server-side applications. Can be any
433
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
434
+ # @param [Google::Apis::RequestOptions] options
435
+ # Request-specific options
436
+ #
437
+ # @yield [result, err] Result & error if block supplied
438
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
439
+ # @yieldparam err [StandardError] error object if request failed
440
+ #
441
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
442
+ #
443
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
444
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
445
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
446
+ def reconfigure_domain_trust(name, reconfigure_trust_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
447
+ command = make_simple_command(:post, 'v1alpha1/{+name}:reconfigureTrust', options)
448
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::ReconfigureTrustRequest::Representation
449
+ command.request_object = reconfigure_trust_request_object
450
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
451
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
452
+ command.params['name'] = name unless name.nil?
453
+ command.query['fields'] = fields unless fields.nil?
454
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
455
+ execute_or_queue_command(command, &block)
456
+ end
457
+
458
+ # Resets managed identities admin password identified by
459
+ # managed_identities_admin_name
460
+ # @param [String] name
461
+ # The domain resource name using the form: `projects/`project_id`/locations/
462
+ # global/domains/`domain_name``
463
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordRequest] reset_admin_password_request_object
464
+ # @param [String] fields
465
+ # Selector specifying which fields to include in a partial response.
466
+ # @param [String] quota_user
467
+ # Available to use for quota purposes for server-side applications. Can be any
468
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
469
+ # @param [Google::Apis::RequestOptions] options
470
+ # Request-specific options
471
+ #
472
+ # @yield [result, err] Result & error if block supplied
473
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordResponse] parsed result object
474
+ # @yieldparam err [StandardError] error object if request failed
475
+ #
476
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordResponse]
477
+ #
478
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
479
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
480
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
481
+ def reset_domain_admin_password(name, reset_admin_password_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
482
+ command = make_simple_command(:post, 'v1alpha1/{+name}:resetAdminPassword', options)
483
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordRequest::Representation
484
+ command.request_object = reset_admin_password_request_object
485
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordResponse::Representation
486
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordResponse
487
+ command.params['name'] = name unless name.nil?
488
+ command.query['fields'] = fields unless fields.nil?
489
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
490
+ execute_or_queue_command(command, &block)
491
+ end
492
+
493
+ # Sets the access control policy on the specified resource. Replaces any
494
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
495
+ # PERMISSION_DENIED` errors.
496
+ # @param [String] resource
497
+ # REQUIRED: The resource for which the policy is being specified. See the
498
+ # operation documentation for the appropriate value for this field.
499
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
500
+ # @param [String] fields
501
+ # Selector specifying which fields to include in a partial response.
502
+ # @param [String] quota_user
503
+ # Available to use for quota purposes for server-side applications. Can be any
504
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
505
+ # @param [Google::Apis::RequestOptions] options
506
+ # Request-specific options
507
+ #
508
+ # @yield [result, err] Result & error if block supplied
509
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
510
+ # @yieldparam err [StandardError] error object if request failed
511
+ #
512
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
513
+ #
514
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
515
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
517
+ def set_domain_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
518
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
519
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest::Representation
520
+ command.request_object = set_iam_policy_request_object
521
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
522
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
523
+ command.params['resource'] = resource unless resource.nil?
524
+ command.query['fields'] = fields unless fields.nil?
525
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
526
+ execute_or_queue_command(command, &block)
527
+ end
528
+
529
+ # Returns permissions that a caller has on the specified resource. If the
530
+ # resource does not exist, this will return an empty set of permissions, not a `
531
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
532
+ # permission-aware UIs and command-line tools, not for authorization checking.
533
+ # This operation may "fail open" without warning.
534
+ # @param [String] resource
535
+ # REQUIRED: The resource for which the policy detail is being requested. See the
536
+ # operation documentation for the appropriate value for this field.
537
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
538
+ # @param [String] fields
539
+ # Selector specifying which fields to include in a partial response.
540
+ # @param [String] quota_user
541
+ # Available to use for quota purposes for server-side applications. Can be any
542
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
543
+ # @param [Google::Apis::RequestOptions] options
544
+ # Request-specific options
545
+ #
546
+ # @yield [result, err] Result & error if block supplied
547
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse] parsed result object
548
+ # @yieldparam err [StandardError] error object if request failed
549
+ #
550
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse]
551
+ #
552
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
553
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
554
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
555
+ def test_domain_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
556
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
557
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest::Representation
558
+ command.request_object = test_iam_permissions_request_object
559
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse::Representation
560
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse
561
+ command.params['resource'] = resource unless resource.nil?
562
+ command.query['fields'] = fields unless fields.nil?
563
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
564
+ execute_or_queue_command(command, &block)
565
+ end
566
+
567
+ # Validate the trust state Operation
568
+ # @param [String] name
569
+ # The resource domain name, project name, and location using the form: `projects/
570
+ # `project_id`/locations/global/domains/`domain_name``
571
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::ValidateTrustRequest] validate_trust_request_object
572
+ # @param [String] fields
573
+ # Selector specifying which fields to include in a partial response.
574
+ # @param [String] quota_user
575
+ # Available to use for quota purposes for server-side applications. Can be any
576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
577
+ # @param [Google::Apis::RequestOptions] options
578
+ # Request-specific options
579
+ #
580
+ # @yield [result, err] Result & error if block supplied
581
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
582
+ # @yieldparam err [StandardError] error object if request failed
583
+ #
584
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
585
+ #
586
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
587
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
588
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
589
+ def validate_domain_trust(name, validate_trust_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
590
+ command = make_simple_command(:post, 'v1alpha1/{+name}:validateTrust', options)
591
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::ValidateTrustRequest::Representation
592
+ command.request_object = validate_trust_request_object
593
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
594
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
595
+ command.params['name'] = name unless name.nil?
596
+ command.query['fields'] = fields unless fields.nil?
597
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
598
+ execute_or_queue_command(command, &block)
599
+ end
600
+
601
+ # Gets details of a single sqlIntegration.
602
+ # @param [String] name
603
+ # Required. MangedOU resource name using the form: `projects/`project_id`/
604
+ # locations/global/domains/*/sqlIntegrations/`name``
605
+ # @param [String] fields
606
+ # Selector specifying which fields to include in a partial response.
607
+ # @param [String] quota_user
608
+ # Available to use for quota purposes for server-side applications. Can be any
609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
610
+ # @param [Google::Apis::RequestOptions] options
611
+ # Request-specific options
612
+ #
613
+ # @yield [result, err] Result & error if block supplied
614
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration] parsed result object
615
+ # @yieldparam err [StandardError] error object if request failed
616
+ #
617
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration]
618
+ #
619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
622
+ def get_project_location_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block)
623
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
624
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration::Representation
625
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration
626
+ command.params['name'] = name unless name.nil?
627
+ command.query['fields'] = fields unless fields.nil?
628
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
629
+ execute_or_queue_command(command, &block)
630
+ end
631
+
632
+ # Lists SQLIntegrations in a given domain.
633
+ # @param [String] parent
634
+ # Required. The resource name of the SqlIntegrations using the form: `projects/`
635
+ # project_id`/locations/global/domains/*`
636
+ # @param [String] filter
637
+ # Optional. Filter specifying constraints of a list operation. For example, `
638
+ # SqlIntegration.name="sql"`.
639
+ # @param [String] order_by
640
+ # Optional. Specifies the ordering of results following syntax at https://cloud.
641
+ # google.com/apis/design/design_patterns#sorting_order.
642
+ # @param [Fixnum] page_size
643
+ # Optional. The maximum number of items to return. If not specified, a default
644
+ # value of 1000 will be used by the service. Regardless of the page_size value,
645
+ # the response may include a partial list and a caller should only rely on
646
+ # response'ANIZATIONs next_page_token to determine if there are more instances
647
+ # left to be queried.
648
+ # @param [String] page_token
649
+ # Optional. The next_page_token value returned from a previous List request, if
650
+ # any.
651
+ # @param [String] fields
652
+ # Selector specifying which fields to include in a partial response.
653
+ # @param [String] quota_user
654
+ # Available to use for quota purposes for server-side applications. Can be any
655
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
656
+ # @param [Google::Apis::RequestOptions] options
657
+ # Request-specific options
658
+ #
659
+ # @yield [result, err] Result & error if block supplied
660
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse] parsed result object
661
+ # @yieldparam err [StandardError] error object if request failed
662
+ #
663
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse]
664
+ #
665
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
666
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
667
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
668
+ def list_project_location_global_domain_sql_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
669
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/sqlIntegrations', options)
670
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse::Representation
671
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse
672
+ command.params['parent'] = parent unless parent.nil?
673
+ command.query['filter'] = filter unless filter.nil?
674
+ command.query['orderBy'] = order_by unless order_by.nil?
675
+ command.query['pageSize'] = page_size unless page_size.nil?
676
+ command.query['pageToken'] = page_token unless page_token.nil?
677
+ command.query['fields'] = fields unless fields.nil?
678
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
679
+ execute_or_queue_command(command, &block)
680
+ end
681
+
682
+ # Starts asynchronous cancellation on a long-running operation. The server makes
683
+ # a best effort to cancel the operation, but success is not guaranteed. If the
684
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
685
+ # Clients can use Operations.GetOperation or other methods to check whether the
686
+ # cancellation succeeded or whether the operation completed despite cancellation.
687
+ # On successful cancellation, the operation is not deleted; instead, it becomes
688
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
689
+ # corresponding to `Code.CANCELLED`.
690
+ # @param [String] name
691
+ # The name of the operation resource to be cancelled.
692
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::CancelOperationRequest] cancel_operation_request_object
693
+ # @param [String] fields
694
+ # Selector specifying which fields to include in a partial response.
695
+ # @param [String] quota_user
696
+ # Available to use for quota purposes for server-side applications. Can be any
697
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
698
+ # @param [Google::Apis::RequestOptions] options
699
+ # Request-specific options
700
+ #
701
+ # @yield [result, err] Result & error if block supplied
702
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Empty] parsed result object
703
+ # @yieldparam err [StandardError] error object if request failed
704
+ #
705
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Empty]
706
+ #
707
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
708
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
709
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
710
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
711
+ command = make_simple_command(:post, 'v1alpha1/{+name}:cancel', options)
712
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::CancelOperationRequest::Representation
713
+ command.request_object = cancel_operation_request_object
714
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Empty::Representation
715
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Empty
716
+ command.params['name'] = name unless name.nil?
717
+ command.query['fields'] = fields unless fields.nil?
718
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
719
+ execute_or_queue_command(command, &block)
720
+ end
721
+
722
+ # Deletes a long-running operation. This method indicates that the client is no
723
+ # longer interested in the operation result. It does not cancel the operation.
724
+ # If the server doesn't support this method, it returns `google.rpc.Code.
725
+ # UNIMPLEMENTED`.
726
+ # @param [String] name
727
+ # The name of the operation resource to be deleted.
728
+ # @param [String] fields
729
+ # Selector specifying which fields to include in a partial response.
730
+ # @param [String] quota_user
731
+ # Available to use for quota purposes for server-side applications. Can be any
732
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
733
+ # @param [Google::Apis::RequestOptions] options
734
+ # Request-specific options
735
+ #
736
+ # @yield [result, err] Result & error if block supplied
737
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Empty] parsed result object
738
+ # @yieldparam err [StandardError] error object if request failed
739
+ #
740
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Empty]
741
+ #
742
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
743
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
744
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
745
+ def delete_project_location_global_operation(name, fields: nil, quota_user: nil, options: nil, &block)
746
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
747
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Empty::Representation
748
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Empty
749
+ command.params['name'] = name unless name.nil?
750
+ command.query['fields'] = fields unless fields.nil?
751
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
752
+ execute_or_queue_command(command, &block)
753
+ end
754
+
755
+ # Gets the latest state of a long-running operation. Clients can use this method
756
+ # to poll the operation result at intervals as recommended by the API service.
757
+ # @param [String] name
758
+ # The name of the operation resource.
759
+ # @param [String] fields
760
+ # Selector specifying which fields to include in a partial response.
761
+ # @param [String] quota_user
762
+ # Available to use for quota purposes for server-side applications. Can be any
763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
764
+ # @param [Google::Apis::RequestOptions] options
765
+ # Request-specific options
766
+ #
767
+ # @yield [result, err] Result & error if block supplied
768
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
769
+ # @yieldparam err [StandardError] error object if request failed
770
+ #
771
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
772
+ #
773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
776
+ def get_project_location_global_operation(name, fields: nil, quota_user: nil, options: nil, &block)
777
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
778
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
779
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
780
+ command.params['name'] = name unless name.nil?
781
+ command.query['fields'] = fields unless fields.nil?
782
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
783
+ execute_or_queue_command(command, &block)
784
+ end
785
+
786
+ # Lists operations that match the specified filter in the request. If the server
787
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
788
+ # binding allows API services to override the binding to use different resource
789
+ # name schemes, such as `users/*/operations`. To override the binding, API
790
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
791
+ # service configuration. For backwards compatibility, the default name includes
792
+ # the operations collection id, however overriding users must ensure the name
793
+ # binding is the parent resource, without the operations collection id.
794
+ # @param [String] name
795
+ # The name of the operation's parent resource.
796
+ # @param [String] filter
797
+ # The standard list filter.
798
+ # @param [Fixnum] page_size
799
+ # The standard list page size.
800
+ # @param [String] page_token
801
+ # The standard list page token.
802
+ # @param [String] fields
803
+ # Selector specifying which fields to include in a partial response.
804
+ # @param [String] quota_user
805
+ # Available to use for quota purposes for server-side applications. Can be any
806
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
807
+ # @param [Google::Apis::RequestOptions] options
808
+ # Request-specific options
809
+ #
810
+ # @yield [result, err] Result & error if block supplied
811
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListOperationsResponse] parsed result object
812
+ # @yieldparam err [StandardError] error object if request failed
813
+ #
814
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ListOperationsResponse]
815
+ #
816
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
817
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
818
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
819
+ def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
820
+ command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
821
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListOperationsResponse::Representation
822
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListOperationsResponse
823
+ command.params['name'] = name unless name.nil?
824
+ command.query['filter'] = filter unless filter.nil?
825
+ command.query['pageSize'] = page_size unless page_size.nil?
826
+ command.query['pageToken'] = page_token unless page_token.nil?
827
+ command.query['fields'] = fields unless fields.nil?
828
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
829
+ execute_or_queue_command(command, &block)
830
+ end
831
+
832
+ protected
833
+
834
+ def apply_command_defaults(command)
835
+ command.query['key'] = key unless key.nil?
836
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
837
+ end
838
+ end
839
+ end
840
+ end
841
+ end