google-apis-dataform_v1beta1 0.46.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 472a7654f28d48e5cb9808c38d10b3ffca45229d69a910c730083617904efc45
4
- data.tar.gz: eb890502958cf0d803408304287f7905f5924ac2ec35456ed1ad8c036dd3d652
3
+ metadata.gz: 23926075243a531d99d50b5355d39a6ef59445a27b94d7320bd8cd5d53fa3a6b
4
+ data.tar.gz: 1db2656394137ccb63bb20e05205552af1e71412575b22c0ecc0a875acf60a9e
5
5
  SHA512:
6
- metadata.gz: c41fdf66a71220d04750bf95c824a9a343bbd4d96a32b198871ffb9c752c65e43c6760f956461d593d108ebf823c3560a763bd62d035d94ac18600917a35f288
7
- data.tar.gz: 2f8aa1afefd0189f4ee4dd3f447de7e5306f906d73c2f3f7296ab2e12ff655fc10f06fa0e8274d613ee29fffa6dca8b45b60d83155be12fb5f995d6aa59ceac1
6
+ metadata.gz: bddbc3024add8e1867c43e5509a812eb7ae407f0ed18db3c5e814d0912d2e6e28626876b33e40522c2a0dc0ff8118b7ca1dd345a0c1a5bea871bbc59fe4c9250
7
+ data.tar.gz: 859be984f31eb40dd158e8c91b3efc355ba44ae7c0740a71edbd167a16a846a81d4a831da56bfa54ebbf01641e38ec0c3352a5c7ed16ab65e0d2c0ba94e64791
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.47.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250817
6
+
3
7
  ### v0.46.0 (2025-07-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20250708
@@ -328,6 +328,19 @@ module Google
328
328
  end
329
329
  end
330
330
 
331
+ # The request message for Operations.CancelOperation.
332
+ class CancelOperationRequest
333
+ include Google::Apis::Core::Hashable
334
+
335
+ def initialize(**args)
336
+ update!(**args)
337
+ end
338
+
339
+ # Update properties of this object
340
+ def update!(**args)
341
+ end
342
+ end
343
+
331
344
  # `CancelWorkflowInvocation` request message.
332
345
  class CancelWorkflowInvocationRequest
333
346
  include Google::Apis::Core::Hashable
@@ -1647,6 +1660,31 @@ module Google
1647
1660
  end
1648
1661
  end
1649
1662
 
1663
+ # The response message for Operations.ListOperations.
1664
+ class ListOperationsResponse
1665
+ include Google::Apis::Core::Hashable
1666
+
1667
+ # The standard List next-page token.
1668
+ # Corresponds to the JSON property `nextPageToken`
1669
+ # @return [String]
1670
+ attr_accessor :next_page_token
1671
+
1672
+ # A list of operations that matches the specified filter in the request.
1673
+ # Corresponds to the JSON property `operations`
1674
+ # @return [Array<Google::Apis::DataformV1beta1::Operation>]
1675
+ attr_accessor :operations
1676
+
1677
+ def initialize(**args)
1678
+ update!(**args)
1679
+ end
1680
+
1681
+ # Update properties of this object
1682
+ def update!(**args)
1683
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1684
+ @operations = args[:operations] if args.key?(:operations)
1685
+ end
1686
+ end
1687
+
1650
1688
  # `ListReleaseConfigs` response message.
1651
1689
  class ListReleaseConfigsResponse
1652
1690
  include Google::Apis::Core::Hashable
@@ -2098,6 +2136,68 @@ module Google
2098
2136
  end
2099
2137
  end
2100
2138
 
2139
+ # This resource represents a long-running operation that is the result of a
2140
+ # network API call.
2141
+ class Operation
2142
+ include Google::Apis::Core::Hashable
2143
+
2144
+ # If the value is `false`, it means the operation is still in progress. If `true`
2145
+ # , the operation is completed, and either `error` or `response` is available.
2146
+ # Corresponds to the JSON property `done`
2147
+ # @return [Boolean]
2148
+ attr_accessor :done
2149
+ alias_method :done?, :done
2150
+
2151
+ # The `Status` type defines a logical error model that is suitable for different
2152
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2153
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2154
+ # data: error code, error message, and error details. You can find out more
2155
+ # about this error model and how to work with it in the [API Design Guide](https:
2156
+ # //cloud.google.com/apis/design/errors).
2157
+ # Corresponds to the JSON property `error`
2158
+ # @return [Google::Apis::DataformV1beta1::Status]
2159
+ attr_accessor :error
2160
+
2161
+ # Service-specific metadata associated with the operation. It typically contains
2162
+ # progress information and common metadata such as create time. Some services
2163
+ # might not provide such metadata. Any method that returns a long-running
2164
+ # operation should document the metadata type, if any.
2165
+ # Corresponds to the JSON property `metadata`
2166
+ # @return [Hash<String,Object>]
2167
+ attr_accessor :metadata
2168
+
2169
+ # The server-assigned name, which is only unique within the same service that
2170
+ # originally returns it. If you use the default HTTP mapping, the `name` should
2171
+ # be a resource name ending with `operations/`unique_id``.
2172
+ # Corresponds to the JSON property `name`
2173
+ # @return [String]
2174
+ attr_accessor :name
2175
+
2176
+ # The normal, successful response of the operation. If the original method
2177
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
2178
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
2179
+ # response should be the resource. For other methods, the response should have
2180
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
2181
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
2182
+ # `TakeSnapshotResponse`.
2183
+ # Corresponds to the JSON property `response`
2184
+ # @return [Hash<String,Object>]
2185
+ attr_accessor :response
2186
+
2187
+ def initialize(**args)
2188
+ update!(**args)
2189
+ end
2190
+
2191
+ # Update properties of this object
2192
+ def update!(**args)
2193
+ @done = args[:done] if args.key?(:done)
2194
+ @error = args[:error] if args.key?(:error)
2195
+ @metadata = args[:metadata] if args.key?(:metadata)
2196
+ @name = args[:name] if args.key?(:name)
2197
+ @response = args[:response] if args.key?(:response)
2198
+ end
2199
+ end
2200
+
2101
2201
  # Represents the metadata of the long-running operation.
2102
2202
  class OperationMetadata
2103
2203
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataformV1beta1
18
18
  # Version of the google-apis-dataform_v1beta1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250708"
25
+ REVISION = "20250817"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class CancelOperationRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class CancelWorkflowInvocationRequest
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -328,6 +334,12 @@ module Google
328
334
  include Google::Apis::Core::JsonObjectSupport
329
335
  end
330
336
 
337
+ class ListOperationsResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
331
343
  class ListReleaseConfigsResponse
332
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
345
 
@@ -424,6 +436,12 @@ module Google
424
436
  include Google::Apis::Core::JsonObjectSupport
425
437
  end
426
438
 
439
+ class Operation
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
427
445
  class OperationMetadata
428
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
447
 
@@ -774,6 +792,12 @@ module Google
774
792
  end
775
793
  end
776
794
 
795
+ class CancelOperationRequest
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ end
799
+ end
800
+
777
801
  class CancelWorkflowInvocationRequest
778
802
  # @private
779
803
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1177,6 +1201,15 @@ module Google
1177
1201
  end
1178
1202
  end
1179
1203
 
1204
+ class ListOperationsResponse
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ property :next_page_token, as: 'nextPageToken'
1208
+ collection :operations, as: 'operations', class: Google::Apis::DataformV1beta1::Operation, decorator: Google::Apis::DataformV1beta1::Operation::Representation
1209
+
1210
+ end
1211
+ end
1212
+
1180
1213
  class ListReleaseConfigsResponse
1181
1214
  # @private
1182
1215
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1320,6 +1353,18 @@ module Google
1320
1353
  end
1321
1354
  end
1322
1355
 
1356
+ class Operation
1357
+ # @private
1358
+ class Representation < Google::Apis::Core::JsonRepresentation
1359
+ property :done, as: 'done'
1360
+ property :error, as: 'error', class: Google::Apis::DataformV1beta1::Status, decorator: Google::Apis::DataformV1beta1::Status::Representation
1361
+
1362
+ hash :metadata, as: 'metadata'
1363
+ property :name, as: 'name'
1364
+ hash :response, as: 'response'
1365
+ end
1366
+ end
1367
+
1323
1368
  class OperationMetadata
1324
1369
  # @private
1325
1370
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -116,8 +116,8 @@ module Google
116
116
  # @param [String] name
117
117
  # The resource that owns the locations collection, if applicable.
118
118
  # @param [Array<String>, String] extra_location_types
119
- # Optional. A list of extra location types that should be used as conditions for
120
- # controlling the visibility of the locations.
119
+ # Optional. Do not use this field. It is unsupported and is ignored unless
120
+ # explicitly documented otherwise. This is primarily for internal usage.
121
121
  # @param [String] filter
122
122
  # A filter to narrow down results to a preferred subset. The filtering language
123
123
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -198,6 +198,271 @@ module Google
198
198
  execute_or_queue_command(command, &block)
199
199
  end
200
200
 
201
+ # Gets the access control policy for a resource. Returns an empty policy if the
202
+ # resource exists and does not have a policy set.
203
+ # @param [String] resource
204
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
205
+ # names](https://cloud.google.com/apis/design/resource_names) for the
206
+ # appropriate value for this field.
207
+ # @param [Fixnum] options_requested_policy_version
208
+ # Optional. The maximum policy version that will be used to format the policy.
209
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
210
+ # rejected. Requests for policies with any conditional role bindings must
211
+ # specify version 3. Policies with no conditional role bindings may specify any
212
+ # valid value or leave the field unset. The policy in the response might use the
213
+ # policy version that you specified, or it might use a lower policy version. For
214
+ # example, if you specify version 3, but the policy has no conditional role
215
+ # bindings, the response uses version 1. To learn which resources support
216
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
217
+ # google.com/iam/help/conditions/resource-policies).
218
+ # @param [String] fields
219
+ # Selector specifying which fields to include in a partial response.
220
+ # @param [String] quota_user
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # @param [Google::Apis::RequestOptions] options
224
+ # Request-specific options
225
+ #
226
+ # @yield [result, err] Result & error if block supplied
227
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
228
+ # @yieldparam err [StandardError] error object if request failed
229
+ #
230
+ # @return [Google::Apis::DataformV1beta1::Policy]
231
+ #
232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
235
+ def get_project_location_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
236
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
237
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
238
+ command.response_class = Google::Apis::DataformV1beta1::Policy
239
+ command.params['resource'] = resource unless resource.nil?
240
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
241
+ command.query['fields'] = fields unless fields.nil?
242
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
243
+ execute_or_queue_command(command, &block)
244
+ end
245
+
246
+ # Sets the access control policy on the specified resource. Replaces any
247
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
248
+ # PERMISSION_DENIED` errors.
249
+ # @param [String] resource
250
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
251
+ # names](https://cloud.google.com/apis/design/resource_names) for the
252
+ # appropriate value for this field.
253
+ # @param [Google::Apis::DataformV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
254
+ # @param [String] fields
255
+ # Selector specifying which fields to include in a partial response.
256
+ # @param [String] quota_user
257
+ # Available to use for quota purposes for server-side applications. Can be any
258
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
259
+ # @param [Google::Apis::RequestOptions] options
260
+ # Request-specific options
261
+ #
262
+ # @yield [result, err] Result & error if block supplied
263
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
264
+ # @yieldparam err [StandardError] error object if request failed
265
+ #
266
+ # @return [Google::Apis::DataformV1beta1::Policy]
267
+ #
268
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
269
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
270
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
271
+ def set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
272
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
273
+ command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation
274
+ command.request_object = set_iam_policy_request_object
275
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
276
+ command.response_class = Google::Apis::DataformV1beta1::Policy
277
+ command.params['resource'] = resource unless resource.nil?
278
+ command.query['fields'] = fields unless fields.nil?
279
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
280
+ execute_or_queue_command(command, &block)
281
+ end
282
+
283
+ # Returns permissions that a caller has on the specified resource. If the
284
+ # resource does not exist, this will return an empty set of permissions, not a `
285
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
286
+ # permission-aware UIs and command-line tools, not for authorization checking.
287
+ # This operation may "fail open" without warning.
288
+ # @param [String] resource
289
+ # REQUIRED: The resource for which the policy detail is being requested. See [
290
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
291
+ # appropriate value for this field.
292
+ # @param [Google::Apis::DataformV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
293
+ # @param [String] fields
294
+ # Selector specifying which fields to include in a partial response.
295
+ # @param [String] quota_user
296
+ # Available to use for quota purposes for server-side applications. Can be any
297
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
298
+ # @param [Google::Apis::RequestOptions] options
299
+ # Request-specific options
300
+ #
301
+ # @yield [result, err] Result & error if block supplied
302
+ # @yieldparam result [Google::Apis::DataformV1beta1::TestIamPermissionsResponse] parsed result object
303
+ # @yieldparam err [StandardError] error object if request failed
304
+ #
305
+ # @return [Google::Apis::DataformV1beta1::TestIamPermissionsResponse]
306
+ #
307
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
308
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
309
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
310
+ def test_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
311
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
312
+ command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation
313
+ command.request_object = test_iam_permissions_request_object
314
+ command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation
315
+ command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse
316
+ command.params['resource'] = resource unless resource.nil?
317
+ command.query['fields'] = fields unless fields.nil?
318
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
319
+ execute_or_queue_command(command, &block)
320
+ end
321
+
322
+ # Starts asynchronous cancellation on a long-running operation. The server makes
323
+ # a best effort to cancel the operation, but success is not guaranteed. If the
324
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
325
+ # Clients can use Operations.GetOperation or other methods to check whether the
326
+ # cancellation succeeded or whether the operation completed despite cancellation.
327
+ # On successful cancellation, the operation is not deleted; instead, it becomes
328
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
329
+ # , corresponding to `Code.CANCELLED`.
330
+ # @param [String] name
331
+ # The name of the operation resource to be cancelled.
332
+ # @param [Google::Apis::DataformV1beta1::CancelOperationRequest] cancel_operation_request_object
333
+ # @param [String] fields
334
+ # Selector specifying which fields to include in a partial response.
335
+ # @param [String] quota_user
336
+ # Available to use for quota purposes for server-side applications. Can be any
337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
338
+ # @param [Google::Apis::RequestOptions] options
339
+ # Request-specific options
340
+ #
341
+ # @yield [result, err] Result & error if block supplied
342
+ # @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
343
+ # @yieldparam err [StandardError] error object if request failed
344
+ #
345
+ # @return [Google::Apis::DataformV1beta1::Empty]
346
+ #
347
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
348
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
349
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
350
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
351
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
352
+ command.request_representation = Google::Apis::DataformV1beta1::CancelOperationRequest::Representation
353
+ command.request_object = cancel_operation_request_object
354
+ command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
355
+ command.response_class = Google::Apis::DataformV1beta1::Empty
356
+ command.params['name'] = name unless name.nil?
357
+ command.query['fields'] = fields unless fields.nil?
358
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
359
+ execute_or_queue_command(command, &block)
360
+ end
361
+
362
+ # Deletes a long-running operation. This method indicates that the client is no
363
+ # longer interested in the operation result. It does not cancel the operation.
364
+ # If the server doesn't support this method, it returns `google.rpc.Code.
365
+ # UNIMPLEMENTED`.
366
+ # @param [String] name
367
+ # The name of the operation resource to be deleted.
368
+ # @param [String] fields
369
+ # Selector specifying which fields to include in a partial response.
370
+ # @param [String] quota_user
371
+ # Available to use for quota purposes for server-side applications. Can be any
372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
373
+ # @param [Google::Apis::RequestOptions] options
374
+ # Request-specific options
375
+ #
376
+ # @yield [result, err] Result & error if block supplied
377
+ # @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
378
+ # @yieldparam err [StandardError] error object if request failed
379
+ #
380
+ # @return [Google::Apis::DataformV1beta1::Empty]
381
+ #
382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
385
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
386
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
387
+ command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
388
+ command.response_class = Google::Apis::DataformV1beta1::Empty
389
+ command.params['name'] = name unless name.nil?
390
+ command.query['fields'] = fields unless fields.nil?
391
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
392
+ execute_or_queue_command(command, &block)
393
+ end
394
+
395
+ # Gets the latest state of a long-running operation. Clients can use this method
396
+ # to poll the operation result at intervals as recommended by the API service.
397
+ # @param [String] name
398
+ # The name of the operation resource.
399
+ # @param [String] fields
400
+ # Selector specifying which fields to include in a partial response.
401
+ # @param [String] quota_user
402
+ # Available to use for quota purposes for server-side applications. Can be any
403
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
404
+ # @param [Google::Apis::RequestOptions] options
405
+ # Request-specific options
406
+ #
407
+ # @yield [result, err] Result & error if block supplied
408
+ # @yieldparam result [Google::Apis::DataformV1beta1::Operation] parsed result object
409
+ # @yieldparam err [StandardError] error object if request failed
410
+ #
411
+ # @return [Google::Apis::DataformV1beta1::Operation]
412
+ #
413
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
414
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
415
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
416
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
417
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
418
+ command.response_representation = Google::Apis::DataformV1beta1::Operation::Representation
419
+ command.response_class = Google::Apis::DataformV1beta1::Operation
420
+ command.params['name'] = name unless name.nil?
421
+ command.query['fields'] = fields unless fields.nil?
422
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
423
+ execute_or_queue_command(command, &block)
424
+ end
425
+
426
+ # Lists operations that match the specified filter in the request. If the server
427
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
428
+ # @param [String] name
429
+ # The name of the operation's parent resource.
430
+ # @param [String] filter
431
+ # The standard list filter.
432
+ # @param [Fixnum] page_size
433
+ # The standard list page size.
434
+ # @param [String] page_token
435
+ # The standard list page token.
436
+ # @param [String] fields
437
+ # Selector specifying which fields to include in a partial response.
438
+ # @param [String] quota_user
439
+ # Available to use for quota purposes for server-side applications. Can be any
440
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
441
+ # @param [Google::Apis::RequestOptions] options
442
+ # Request-specific options
443
+ #
444
+ # @yield [result, err] Result & error if block supplied
445
+ # @yieldparam result [Google::Apis::DataformV1beta1::ListOperationsResponse] parsed result object
446
+ # @yieldparam err [StandardError] error object if request failed
447
+ #
448
+ # @return [Google::Apis::DataformV1beta1::ListOperationsResponse]
449
+ #
450
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
451
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
452
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
453
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
454
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
455
+ command.response_representation = Google::Apis::DataformV1beta1::ListOperationsResponse::Representation
456
+ command.response_class = Google::Apis::DataformV1beta1::ListOperationsResponse
457
+ command.params['name'] = name unless name.nil?
458
+ command.query['filter'] = filter unless filter.nil?
459
+ command.query['pageSize'] = page_size unless page_size.nil?
460
+ command.query['pageToken'] = page_token unless page_token.nil?
461
+ command.query['fields'] = fields unless fields.nil?
462
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
463
+ execute_or_queue_command(command, &block)
464
+ end
465
+
201
466
  # Applies a Git commit to a Repository. The Repository must not have a value for
202
467
  # `git_remote_settings.url`.
203
468
  # @param [String] name
@@ -2337,6 +2602,127 @@ module Google
2337
2602
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2338
2603
  execute_or_queue_command(command, &block)
2339
2604
  end
2605
+
2606
+ # Gets the access control policy for a resource. Returns an empty policy if the
2607
+ # resource exists and does not have a policy set.
2608
+ # @param [String] resource
2609
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2610
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2611
+ # appropriate value for this field.
2612
+ # @param [Fixnum] options_requested_policy_version
2613
+ # Optional. The maximum policy version that will be used to format the policy.
2614
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2615
+ # rejected. Requests for policies with any conditional role bindings must
2616
+ # specify version 3. Policies with no conditional role bindings may specify any
2617
+ # valid value or leave the field unset. The policy in the response might use the
2618
+ # policy version that you specified, or it might use a lower policy version. For
2619
+ # example, if you specify version 3, but the policy has no conditional role
2620
+ # bindings, the response uses version 1. To learn which resources support
2621
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2622
+ # google.com/iam/help/conditions/resource-policies).
2623
+ # @param [String] fields
2624
+ # Selector specifying which fields to include in a partial response.
2625
+ # @param [String] quota_user
2626
+ # Available to use for quota purposes for server-side applications. Can be any
2627
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2628
+ # @param [Google::Apis::RequestOptions] options
2629
+ # Request-specific options
2630
+ #
2631
+ # @yield [result, err] Result & error if block supplied
2632
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
2633
+ # @yieldparam err [StandardError] error object if request failed
2634
+ #
2635
+ # @return [Google::Apis::DataformV1beta1::Policy]
2636
+ #
2637
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2638
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2639
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2640
+ def get_project_location_team_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2641
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
2642
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
2643
+ command.response_class = Google::Apis::DataformV1beta1::Policy
2644
+ command.params['resource'] = resource unless resource.nil?
2645
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2646
+ command.query['fields'] = fields unless fields.nil?
2647
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2648
+ execute_or_queue_command(command, &block)
2649
+ end
2650
+
2651
+ # Sets the access control policy on the specified resource. Replaces any
2652
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2653
+ # PERMISSION_DENIED` errors.
2654
+ # @param [String] resource
2655
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2656
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2657
+ # appropriate value for this field.
2658
+ # @param [Google::Apis::DataformV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
2659
+ # @param [String] fields
2660
+ # Selector specifying which fields to include in a partial response.
2661
+ # @param [String] quota_user
2662
+ # Available to use for quota purposes for server-side applications. Can be any
2663
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2664
+ # @param [Google::Apis::RequestOptions] options
2665
+ # Request-specific options
2666
+ #
2667
+ # @yield [result, err] Result & error if block supplied
2668
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
2669
+ # @yieldparam err [StandardError] error object if request failed
2670
+ #
2671
+ # @return [Google::Apis::DataformV1beta1::Policy]
2672
+ #
2673
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2674
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2675
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2676
+ def set_team_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2677
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
2678
+ command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation
2679
+ command.request_object = set_iam_policy_request_object
2680
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
2681
+ command.response_class = Google::Apis::DataformV1beta1::Policy
2682
+ command.params['resource'] = resource unless resource.nil?
2683
+ command.query['fields'] = fields unless fields.nil?
2684
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2685
+ execute_or_queue_command(command, &block)
2686
+ end
2687
+
2688
+ # Returns permissions that a caller has on the specified resource. If the
2689
+ # resource does not exist, this will return an empty set of permissions, not a `
2690
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2691
+ # permission-aware UIs and command-line tools, not for authorization checking.
2692
+ # This operation may "fail open" without warning.
2693
+ # @param [String] resource
2694
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2695
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2696
+ # appropriate value for this field.
2697
+ # @param [Google::Apis::DataformV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
2698
+ # @param [String] fields
2699
+ # Selector specifying which fields to include in a partial response.
2700
+ # @param [String] quota_user
2701
+ # Available to use for quota purposes for server-side applications. Can be any
2702
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2703
+ # @param [Google::Apis::RequestOptions] options
2704
+ # Request-specific options
2705
+ #
2706
+ # @yield [result, err] Result & error if block supplied
2707
+ # @yieldparam result [Google::Apis::DataformV1beta1::TestIamPermissionsResponse] parsed result object
2708
+ # @yieldparam err [StandardError] error object if request failed
2709
+ #
2710
+ # @return [Google::Apis::DataformV1beta1::TestIamPermissionsResponse]
2711
+ #
2712
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2713
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2714
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2715
+ def test_team_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2716
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
2717
+ command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation
2718
+ command.request_object = test_iam_permissions_request_object
2719
+ command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation
2720
+ command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse
2721
+ command.params['resource'] = resource unless resource.nil?
2722
+ command.query['fields'] = fields unless fields.nil?
2723
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2724
+ execute_or_queue_command(command, &block)
2725
+ end
2340
2726
 
2341
2727
  protected
2342
2728
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.47.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: