google-apis-dataform_v1beta1 0.49.0 → 0.50.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: 0ad4ca2ac6c49e1350e63431cdb3064ce5553720a8e29a351eec77a0869ba3af
4
- data.tar.gz: 89d46a1e721b000aa7738156c5100a440df044b993a1628ed97b929e8d7497fc
3
+ metadata.gz: 5a5b56eebd8f489a10aea85d0ba3c168392112c2bc91a495376383c70fb49d9e
4
+ data.tar.gz: 70647ac7ece7399f1e2426e3fcc750ae2fe7361bbe03498860d22b88c62e56c7
5
5
  SHA512:
6
- metadata.gz: 65197c23358f923e943fef1d8c499d3a838a983bb00fdd709319fea466ad6788c1d3a65ced29f6822d0d58633e21faa664dcf9614c0c2d957929d6f51727827b
7
- data.tar.gz: 36b018a2af4a4eee9fb1bb095d73a617cb65b5e5685e35160d554ec1d4af398f83a3adb1d0d699804322c363fbba28bed3aba0ae302b94eaf2dd12752f927e22
6
+ metadata.gz: 27b10d46d0443c8abe4fa9305a9b9e2017d45aeef059bfef306557547cd83b3caa3f7a46e454defcb700de31a9236ff8c09619b5fcd7e10b2fee04992ad14778
7
+ data.tar.gz: 98b572220303c2b888151f2ed6757a8302347eff287aac68b952e86a03ff3156f21b8a0d009ca618c6eadad4c164dd32e3e0bb72bd701cd1966b15470a417486
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.50.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251007
6
+
3
7
  ### v0.49.0 (2025-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20250917
@@ -227,6 +227,107 @@ module Google
227
227
  end
228
228
  end
229
229
 
230
+ # Associates `members`, or principals, with a `role`.
231
+ class Binding
232
+ include Google::Apis::Core::Hashable
233
+
234
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
235
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
236
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
237
+ # "Summary size limit" description: "Determines if a summary is less than 100
238
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
239
+ # Requestor is owner" description: "Determines if requestor is the document
240
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
241
+ # Logic): title: "Public documents" description: "Determine whether the document
242
+ # should be publicly visible" expression: "document.type != 'private' &&
243
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
244
+ # string" description: "Create a notification string with a timestamp."
245
+ # expression: "'New message received at ' + string(document.create_time)" The
246
+ # exact variables and functions that may be referenced within an expression are
247
+ # determined by the service that evaluates it. See the service documentation for
248
+ # additional information.
249
+ # Corresponds to the JSON property `condition`
250
+ # @return [Google::Apis::DataformV1beta1::Expr]
251
+ attr_accessor :condition
252
+
253
+ # Specifies the principals requesting access for a Google Cloud resource. `
254
+ # members` can have the following values: * `allUsers`: A special identifier
255
+ # that represents anyone who is on the internet; with or without a Google
256
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
257
+ # anyone who is authenticated with a Google account or a service account. Does
258
+ # not include identities that come from external identity providers (IdPs)
259
+ # through identity federation. * `user:`emailid``: An email address that
260
+ # represents a specific Google account. For example, `alice@example.com` . * `
261
+ # serviceAccount:`emailid``: An email address that represents a Google service
262
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
263
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
264
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
265
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
266
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
267
+ # email address that represents a Google group. For example, `admins@example.com`
268
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
269
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
270
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
271
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
272
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
273
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
274
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
275
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
276
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
277
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
278
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
279
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
280
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
281
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
282
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
283
+ # googleapis.com/projects/`project_number`/locations/global/
284
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
285
+ # All identities in a workload identity pool with a certain attribute. * `
286
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
287
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
288
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
289
+ # identifier) representing a user that has been recently deleted. For example, `
290
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
291
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
292
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
293
+ # address (plus unique identifier) representing a service account that has been
294
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
295
+ # 123456789012345678901`. If the service account is undeleted, this value
296
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
297
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
298
+ # An email address (plus unique identifier) representing a Google group that has
299
+ # been recently deleted. For example, `admins@example.com?uid=
300
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
301
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
302
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
303
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
304
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
305
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
306
+ # Corresponds to the JSON property `members`
307
+ # @return [Array<String>]
308
+ attr_accessor :members
309
+
310
+ # Role that is assigned to the list of `members`, or principals. For example, `
311
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
312
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
313
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
314
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
315
+ # Corresponds to the JSON property `role`
316
+ # @return [String]
317
+ attr_accessor :role
318
+
319
+ def initialize(**args)
320
+ update!(**args)
321
+ end
322
+
323
+ # Update properties of this object
324
+ def update!(**args)
325
+ @condition = args[:condition] if args.key?(:condition)
326
+ @members = args[:members] if args.key?(:members)
327
+ @role = args[:role] if args.key?(:role)
328
+ end
329
+ end
330
+
230
331
  # The request message for Operations.CancelOperation.
231
332
  class CancelOperationRequest
232
333
  include Google::Apis::Core::Hashable
@@ -794,6 +895,13 @@ module Google
794
895
  # @return [String]
795
896
  attr_accessor :default_kms_key_name
796
897
 
898
+ # Output only. All the metadata information that is used internally to serve the
899
+ # resource. For example: timestamps, flags, status fields, etc. The format of
900
+ # this field is a JSON string.
901
+ # Corresponds to the JSON property `internalMetadata`
902
+ # @return [String]
903
+ attr_accessor :internal_metadata
904
+
797
905
  # Identifier. The config name.
798
906
  # Corresponds to the JSON property `name`
799
907
  # @return [String]
@@ -806,6 +914,7 @@ module Google
806
914
  # Update properties of this object
807
915
  def update!(**args)
808
916
  @default_kms_key_name = args[:default_kms_key_name] if args.key?(:default_kms_key_name)
917
+ @internal_metadata = args[:internal_metadata] if args.key?(:internal_metadata)
809
918
  @name = args[:name] if args.key?(:name)
810
919
  end
811
920
  end
@@ -1032,6 +1141,60 @@ module Google
1032
1141
  end
1033
1142
  end
1034
1143
 
1144
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1145
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1146
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1147
+ # "Summary size limit" description: "Determines if a summary is less than 100
1148
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1149
+ # Requestor is owner" description: "Determines if requestor is the document
1150
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1151
+ # Logic): title: "Public documents" description: "Determine whether the document
1152
+ # should be publicly visible" expression: "document.type != 'private' &&
1153
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1154
+ # string" description: "Create a notification string with a timestamp."
1155
+ # expression: "'New message received at ' + string(document.create_time)" The
1156
+ # exact variables and functions that may be referenced within an expression are
1157
+ # determined by the service that evaluates it. See the service documentation for
1158
+ # additional information.
1159
+ class Expr
1160
+ include Google::Apis::Core::Hashable
1161
+
1162
+ # Optional. Description of the expression. This is a longer text which describes
1163
+ # the expression, e.g. when hovered over it in a UI.
1164
+ # Corresponds to the JSON property `description`
1165
+ # @return [String]
1166
+ attr_accessor :description
1167
+
1168
+ # Textual representation of an expression in Common Expression Language syntax.
1169
+ # Corresponds to the JSON property `expression`
1170
+ # @return [String]
1171
+ attr_accessor :expression
1172
+
1173
+ # Optional. String indicating the location of the expression for error reporting,
1174
+ # e.g. a file name and a position in the file.
1175
+ # Corresponds to the JSON property `location`
1176
+ # @return [String]
1177
+ attr_accessor :location
1178
+
1179
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
1180
+ # This can be used e.g. in UIs which allow to enter the expression.
1181
+ # Corresponds to the JSON property `title`
1182
+ # @return [String]
1183
+ attr_accessor :title
1184
+
1185
+ def initialize(**args)
1186
+ update!(**args)
1187
+ end
1188
+
1189
+ # Update properties of this object
1190
+ def update!(**args)
1191
+ @description = args[:description] if args.key?(:description)
1192
+ @expression = args[:expression] if args.key?(:expression)
1193
+ @location = args[:location] if args.key?(:location)
1194
+ @title = args[:title] if args.key?(:title)
1195
+ end
1196
+ end
1197
+
1035
1198
  # `FetchFileDiff` response message.
1036
1199
  class FetchFileDiffResponse
1037
1200
  include Google::Apis::Core::Hashable
@@ -1414,6 +1577,13 @@ module Google
1414
1577
  # @return [Array<Google::Apis::DataformV1beta1::Target>]
1415
1578
  attr_accessor :included_targets
1416
1579
 
1580
+ # Optional. Specifies the priority for query execution in BigQuery. More
1581
+ # information can be found at https://cloud.google.com/bigquery/docs/running-
1582
+ # queries#queries.
1583
+ # Corresponds to the JSON property `queryPriority`
1584
+ # @return [String]
1585
+ attr_accessor :query_priority
1586
+
1417
1587
  # Optional. The service account to run workflow invocations under.
1418
1588
  # Corresponds to the JSON property `serviceAccount`
1419
1589
  # @return [String]
@@ -1442,6 +1612,7 @@ module Google
1442
1612
  @fully_refresh_incremental_tables_enabled = args[:fully_refresh_incremental_tables_enabled] if args.key?(:fully_refresh_incremental_tables_enabled)
1443
1613
  @included_tags = args[:included_tags] if args.key?(:included_tags)
1444
1614
  @included_targets = args[:included_targets] if args.key?(:included_targets)
1615
+ @query_priority = args[:query_priority] if args.key?(:query_priority)
1445
1616
  @service_account = args[:service_account] if args.key?(:service_account)
1446
1617
  @transitive_dependencies_included = args[:transitive_dependencies_included] if args.key?(:transitive_dependencies_included)
1447
1618
  @transitive_dependents_included = args[:transitive_dependents_included] if args.key?(:transitive_dependents_included)
@@ -1519,6 +1690,13 @@ module Google
1519
1690
  # @return [Array<Google::Apis::DataformV1beta1::Operation>]
1520
1691
  attr_accessor :operations
1521
1692
 
1693
+ # Unordered list. Unreachable resources. Populated when the request sets `
1694
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1695
+ # when attempting to list all resources across all supported locations.
1696
+ # Corresponds to the JSON property `unreachable`
1697
+ # @return [Array<String>]
1698
+ attr_accessor :unreachable
1699
+
1522
1700
  def initialize(**args)
1523
1701
  update!(**args)
1524
1702
  end
@@ -1527,6 +1705,7 @@ module Google
1527
1705
  def update!(**args)
1528
1706
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1529
1707
  @operations = args[:operations] if args.key?(:operations)
1708
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1530
1709
  end
1531
1710
  end
1532
1711
 
@@ -2153,6 +2332,95 @@ module Google
2153
2332
  end
2154
2333
  end
2155
2334
 
2335
+ # An Identity and Access Management (IAM) policy, which specifies access
2336
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2337
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2338
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2339
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2340
+ # an IAM predefined role or a user-created custom role. For some types of Google
2341
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2342
+ # logical expression that allows access to a resource only if the expression
2343
+ # evaluates to `true`. A condition can add constraints based on attributes of
2344
+ # the request, the resource, or both. To learn which resources support
2345
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2346
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
2347
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2348
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2349
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2350
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2351
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2352
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2353
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
2354
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
2355
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
2356
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
2357
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
2358
+ # title: expirable access description: Does not grant access after Sep 2020
2359
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
2360
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2361
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2362
+ class Policy
2363
+ include Google::Apis::Core::Hashable
2364
+
2365
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
2366
+ # specify a `condition` that determines how and when the `bindings` are applied.
2367
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
2368
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
2369
+ # can be Google groups. Each occurrence of a principal counts towards these
2370
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
2371
+ # example.com`, and not to any other principal, then you can add another 1,450
2372
+ # principals to the `bindings` in the `Policy`.
2373
+ # Corresponds to the JSON property `bindings`
2374
+ # @return [Array<Google::Apis::DataformV1beta1::Binding>]
2375
+ attr_accessor :bindings
2376
+
2377
+ # `etag` is used for optimistic concurrency control as a way to help prevent
2378
+ # simultaneous updates of a policy from overwriting each other. It is strongly
2379
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
2380
+ # to perform policy updates in order to avoid race conditions: An `etag` is
2381
+ # returned in the response to `getIamPolicy`, and systems are expected to put
2382
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
2383
+ # applied to the same version of the policy. **Important:** If you use IAM
2384
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
2385
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
2386
+ # with a version `1` policy, and all of the conditions in the version `3` policy
2387
+ # are lost.
2388
+ # Corresponds to the JSON property `etag`
2389
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2390
+ # @return [String]
2391
+ attr_accessor :etag
2392
+
2393
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
2394
+ # Requests that specify an invalid value are rejected. Any operation that
2395
+ # affects conditional role bindings must specify version `3`. This requirement
2396
+ # applies to the following operations: * Getting a policy that includes a
2397
+ # conditional role binding * Adding a conditional role binding to a policy *
2398
+ # Changing a conditional role binding in a policy * Removing any role binding,
2399
+ # with or without a condition, from a policy that includes conditions **
2400
+ # Important:** If you use IAM Conditions, you must include the `etag` field
2401
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
2402
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
2403
+ # conditions in the version `3` policy are lost. If a policy does not include
2404
+ # any conditions, operations on that policy may specify any valid version or
2405
+ # leave the field unset. To learn which resources support conditions in their
2406
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
2407
+ # conditions/resource-policies).
2408
+ # Corresponds to the JSON property `version`
2409
+ # @return [Fixnum]
2410
+ attr_accessor :version
2411
+
2412
+ def initialize(**args)
2413
+ update!(**args)
2414
+ end
2415
+
2416
+ # Update properties of this object
2417
+ def update!(**args)
2418
+ @bindings = args[:bindings] if args.key?(:bindings)
2419
+ @etag = args[:etag] if args.key?(:etag)
2420
+ @version = args[:version] if args.key?(:version)
2421
+ end
2422
+ end
2423
+
2156
2424
  # An internal name for an IAM policy, based on the resource to which the policy
2157
2425
  # applies. Not to be confused with a resource's external full resource name. For
2158
2426
  # more information on this distinction, see go/iam-full-resource-names.
@@ -2965,6 +3233,51 @@ module Google
2965
3233
  end
2966
3234
  end
2967
3235
 
3236
+ # Request message for `SetIamPolicy` method.
3237
+ class SetIamPolicyRequest
3238
+ include Google::Apis::Core::Hashable
3239
+
3240
+ # An Identity and Access Management (IAM) policy, which specifies access
3241
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3242
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
3243
+ # Principals can be user accounts, service accounts, Google groups, and domains (
3244
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
3245
+ # an IAM predefined role or a user-created custom role. For some types of Google
3246
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
3247
+ # logical expression that allows access to a resource only if the expression
3248
+ # evaluates to `true`. A condition can add constraints based on attributes of
3249
+ # the request, the resource, or both. To learn which resources support
3250
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3251
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
3252
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
3253
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
3254
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
3255
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
3256
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
3257
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
3258
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
3259
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
3260
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
3261
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
3262
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
3263
+ # title: expirable access description: Does not grant access after Sep 2020
3264
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
3265
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
3266
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
3267
+ # Corresponds to the JSON property `policy`
3268
+ # @return [Google::Apis::DataformV1beta1::Policy]
3269
+ attr_accessor :policy
3270
+
3271
+ def initialize(**args)
3272
+ update!(**args)
3273
+ end
3274
+
3275
+ # Update properties of this object
3276
+ def update!(**args)
3277
+ @policy = args[:policy] if args.key?(:policy)
3278
+ end
3279
+ end
3280
+
2968
3281
  # Simple load definition
2969
3282
  class SimpleLoadMode
2970
3283
  include Google::Apis::Core::Hashable
@@ -3109,6 +3422,46 @@ module Google
3109
3422
  end
3110
3423
  end
3111
3424
 
3425
+ # Request message for `TestIamPermissions` method.
3426
+ class TestIamPermissionsRequest
3427
+ include Google::Apis::Core::Hashable
3428
+
3429
+ # The set of permissions to check for the `resource`. Permissions with wildcards
3430
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
3431
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
3432
+ # Corresponds to the JSON property `permissions`
3433
+ # @return [Array<String>]
3434
+ attr_accessor :permissions
3435
+
3436
+ def initialize(**args)
3437
+ update!(**args)
3438
+ end
3439
+
3440
+ # Update properties of this object
3441
+ def update!(**args)
3442
+ @permissions = args[:permissions] if args.key?(:permissions)
3443
+ end
3444
+ end
3445
+
3446
+ # Response message for `TestIamPermissions` method.
3447
+ class TestIamPermissionsResponse
3448
+ include Google::Apis::Core::Hashable
3449
+
3450
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
3451
+ # Corresponds to the JSON property `permissions`
3452
+ # @return [Array<String>]
3453
+ attr_accessor :permissions
3454
+
3455
+ def initialize(**args)
3456
+ update!(**args)
3457
+ end
3458
+
3459
+ # Update properties of this object
3460
+ def update!(**args)
3461
+ @permissions = args[:permissions] if args.key?(:permissions)
3462
+ end
3463
+ end
3464
+
3112
3465
  # Represents the Git state of a file with uncommitted changes.
3113
3466
  class UncommittedFileChange
3114
3467
  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.49.0"
19
+ GEM_VERSION = "0.50.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 = "20250917"
25
+ REVISION = "20251007"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class Binding
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class CancelOperationRequest
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class Expr
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class FetchFileDiffResponse
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -442,6 +454,12 @@ module Google
442
454
  include Google::Apis::Core::JsonObjectSupport
443
455
  end
444
456
 
457
+ class Policy
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
445
463
  class PolicyName
446
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
465
 
@@ -592,6 +610,12 @@ module Google
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class SetIamPolicyRequest
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class SimpleLoadMode
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -622,6 +646,18 @@ module Google
622
646
  include Google::Apis::Core::JsonObjectSupport
623
647
  end
624
648
 
649
+ class TestIamPermissionsRequest
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class TestIamPermissionsResponse
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
625
661
  class UncommittedFileChange
626
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
663
 
@@ -746,6 +782,16 @@ module Google
746
782
  end
747
783
  end
748
784
 
785
+ class Binding
786
+ # @private
787
+ class Representation < Google::Apis::Core::JsonRepresentation
788
+ property :condition, as: 'condition', class: Google::Apis::DataformV1beta1::Expr, decorator: Google::Apis::DataformV1beta1::Expr::Representation
789
+
790
+ collection :members, as: 'members'
791
+ property :role, as: 'role'
792
+ end
793
+ end
794
+
749
795
  class CancelOperationRequest
750
796
  # @private
751
797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -918,6 +964,7 @@ module Google
918
964
  # @private
919
965
  class Representation < Google::Apis::Core::JsonRepresentation
920
966
  property :default_kms_key_name, as: 'defaultKmsKeyName'
967
+ property :internal_metadata, as: 'internalMetadata'
921
968
  property :name, as: 'name'
922
969
  end
923
970
  end
@@ -997,6 +1044,16 @@ module Google
997
1044
  end
998
1045
  end
999
1046
 
1047
+ class Expr
1048
+ # @private
1049
+ class Representation < Google::Apis::Core::JsonRepresentation
1050
+ property :description, as: 'description'
1051
+ property :expression, as: 'expression'
1052
+ property :location, as: 'location'
1053
+ property :title, as: 'title'
1054
+ end
1055
+ end
1056
+
1000
1057
  class FetchFileDiffResponse
1001
1058
  # @private
1002
1059
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1120,6 +1177,7 @@ module Google
1120
1177
  collection :included_tags, as: 'includedTags'
1121
1178
  collection :included_targets, as: 'includedTargets', class: Google::Apis::DataformV1beta1::Target, decorator: Google::Apis::DataformV1beta1::Target::Representation
1122
1179
 
1180
+ property :query_priority, as: 'queryPriority'
1123
1181
  property :service_account, as: 'serviceAccount'
1124
1182
  property :transitive_dependencies_included, as: 'transitiveDependenciesIncluded'
1125
1183
  property :transitive_dependents_included, as: 'transitiveDependentsIncluded'
@@ -1151,6 +1209,7 @@ module Google
1151
1209
  property :next_page_token, as: 'nextPageToken'
1152
1210
  collection :operations, as: 'operations', class: Google::Apis::DataformV1beta1::Operation, decorator: Google::Apis::DataformV1beta1::Operation::Representation
1153
1211
 
1212
+ collection :unreachable, as: 'unreachable'
1154
1213
  end
1155
1214
  end
1156
1215
 
@@ -1336,6 +1395,16 @@ module Google
1336
1395
  end
1337
1396
  end
1338
1397
 
1398
+ class Policy
1399
+ # @private
1400
+ class Representation < Google::Apis::Core::JsonRepresentation
1401
+ collection :bindings, as: 'bindings', class: Google::Apis::DataformV1beta1::Binding, decorator: Google::Apis::DataformV1beta1::Binding::Representation
1402
+
1403
+ property :etag, :base64 => true, as: 'etag'
1404
+ property :version, as: 'version'
1405
+ end
1406
+ end
1407
+
1339
1408
  class PolicyName
1340
1409
  # @private
1341
1410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1573,6 +1642,14 @@ module Google
1573
1642
  end
1574
1643
  end
1575
1644
 
1645
+ class SetIamPolicyRequest
1646
+ # @private
1647
+ class Representation < Google::Apis::Core::JsonRepresentation
1648
+ property :policy, as: 'policy', class: Google::Apis::DataformV1beta1::Policy, decorator: Google::Apis::DataformV1beta1::Policy::Representation
1649
+
1650
+ end
1651
+ end
1652
+
1576
1653
  class SimpleLoadMode
1577
1654
  # @private
1578
1655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1616,6 +1693,20 @@ module Google
1616
1693
  end
1617
1694
  end
1618
1695
 
1696
+ class TestIamPermissionsRequest
1697
+ # @private
1698
+ class Representation < Google::Apis::Core::JsonRepresentation
1699
+ collection :permissions, as: 'permissions'
1700
+ end
1701
+ end
1702
+
1703
+ class TestIamPermissionsResponse
1704
+ # @private
1705
+ class Representation < Google::Apis::Core::JsonRepresentation
1706
+ collection :permissions, as: 'permissions'
1707
+ end
1708
+ end
1709
+
1619
1710
  class UncommittedFileChange
1620
1711
  # @private
1621
1712
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -198,6 +198,127 @@ 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
+
201
322
  # Starts asynchronous cancellation on a long-running operation. The server makes
202
323
  # a best effort to cancel the operation, but success is not guaranteed. If the
203
324
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -312,6 +433,13 @@ module Google
312
433
  # The standard list page size.
313
434
  # @param [String] page_token
314
435
  # The standard list page token.
436
+ # @param [Boolean] return_partial_success
437
+ # When set to `true`, operations that are reachable are returned as normal, and
438
+ # those that are unreachable are returned in the [ListOperationsResponse.
439
+ # unreachable] field. This can only be `true` when reading across collections e.
440
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
441
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
442
+ # explicitly documented otherwise in service or product specific documentation.
315
443
  # @param [String] fields
316
444
  # Selector specifying which fields to include in a partial response.
317
445
  # @param [String] quota_user
@@ -329,7 +457,7 @@ module Google
329
457
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
330
458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
331
459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
332
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
460
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
333
461
  command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
334
462
  command.response_representation = Google::Apis::DataformV1beta1::ListOperationsResponse::Representation
335
463
  command.response_class = Google::Apis::DataformV1beta1::ListOperationsResponse
@@ -337,6 +465,7 @@ module Google
337
465
  command.query['filter'] = filter unless filter.nil?
338
466
  command.query['pageSize'] = page_size unless page_size.nil?
339
467
  command.query['pageToken'] = page_token unless page_token.nil?
468
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
340
469
  command.query['fields'] = fields unless fields.nil?
341
470
  command.query['quotaUser'] = quota_user unless quota_user.nil?
342
471
  execute_or_queue_command(command, &block)
@@ -584,6 +713,51 @@ module Google
584
713
  execute_or_queue_command(command, &block)
585
714
  end
586
715
 
716
+ # Gets the access control policy for a resource. Returns an empty policy if the
717
+ # resource exists and does not have a policy set.
718
+ # @param [String] resource
719
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
720
+ # names](https://cloud.google.com/apis/design/resource_names) for the
721
+ # appropriate value for this field.
722
+ # @param [Fixnum] options_requested_policy_version
723
+ # Optional. The maximum policy version that will be used to format the policy.
724
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
725
+ # rejected. Requests for policies with any conditional role bindings must
726
+ # specify version 3. Policies with no conditional role bindings may specify any
727
+ # valid value or leave the field unset. The policy in the response might use the
728
+ # policy version that you specified, or it might use a lower policy version. For
729
+ # example, if you specify version 3, but the policy has no conditional role
730
+ # bindings, the response uses version 1. To learn which resources support
731
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
732
+ # google.com/iam/help/conditions/resource-policies).
733
+ # @param [String] fields
734
+ # Selector specifying which fields to include in a partial response.
735
+ # @param [String] quota_user
736
+ # Available to use for quota purposes for server-side applications. Can be any
737
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
738
+ # @param [Google::Apis::RequestOptions] options
739
+ # Request-specific options
740
+ #
741
+ # @yield [result, err] Result & error if block supplied
742
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
743
+ # @yieldparam err [StandardError] error object if request failed
744
+ #
745
+ # @return [Google::Apis::DataformV1beta1::Policy]
746
+ #
747
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
750
+ def get_project_location_repository_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
751
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
752
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
753
+ command.response_class = Google::Apis::DataformV1beta1::Policy
754
+ command.params['resource'] = resource unless resource.nil?
755
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
756
+ command.query['fields'] = fields unless fields.nil?
757
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
758
+ execute_or_queue_command(command, &block)
759
+ end
760
+
587
761
  # Lists Repositories in a given project and location. **Note:** *This method can
588
762
  # return repositories not shown in the [Dataform UI](https://console.cloud.
589
763
  # google.com/bigquery/dataform)*.
@@ -764,6 +938,82 @@ module Google
764
938
  execute_or_queue_command(command, &block)
765
939
  end
766
940
 
941
+ # Sets the access control policy on the specified resource. Replaces any
942
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
943
+ # PERMISSION_DENIED` errors.
944
+ # @param [String] resource
945
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
946
+ # names](https://cloud.google.com/apis/design/resource_names) for the
947
+ # appropriate value for this field.
948
+ # @param [Google::Apis::DataformV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
949
+ # @param [String] fields
950
+ # Selector specifying which fields to include in a partial response.
951
+ # @param [String] quota_user
952
+ # Available to use for quota purposes for server-side applications. Can be any
953
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
954
+ # @param [Google::Apis::RequestOptions] options
955
+ # Request-specific options
956
+ #
957
+ # @yield [result, err] Result & error if block supplied
958
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
959
+ # @yieldparam err [StandardError] error object if request failed
960
+ #
961
+ # @return [Google::Apis::DataformV1beta1::Policy]
962
+ #
963
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
964
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
965
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
966
+ def set_repository_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
967
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
968
+ command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation
969
+ command.request_object = set_iam_policy_request_object
970
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
971
+ command.response_class = Google::Apis::DataformV1beta1::Policy
972
+ command.params['resource'] = resource unless resource.nil?
973
+ command.query['fields'] = fields unless fields.nil?
974
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
975
+ execute_or_queue_command(command, &block)
976
+ end
977
+
978
+ # Returns permissions that a caller has on the specified resource. If the
979
+ # resource does not exist, this will return an empty set of permissions, not a `
980
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
981
+ # permission-aware UIs and command-line tools, not for authorization checking.
982
+ # This operation may "fail open" without warning.
983
+ # @param [String] resource
984
+ # REQUIRED: The resource for which the policy detail is being requested. See [
985
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
986
+ # appropriate value for this field.
987
+ # @param [Google::Apis::DataformV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
988
+ # @param [String] fields
989
+ # Selector specifying which fields to include in a partial response.
990
+ # @param [String] quota_user
991
+ # Available to use for quota purposes for server-side applications. Can be any
992
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
993
+ # @param [Google::Apis::RequestOptions] options
994
+ # Request-specific options
995
+ #
996
+ # @yield [result, err] Result & error if block supplied
997
+ # @yieldparam result [Google::Apis::DataformV1beta1::TestIamPermissionsResponse] parsed result object
998
+ # @yieldparam err [StandardError] error object if request failed
999
+ #
1000
+ # @return [Google::Apis::DataformV1beta1::TestIamPermissionsResponse]
1001
+ #
1002
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1003
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1004
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1005
+ def test_repository_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1006
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
1007
+ command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation
1008
+ command.request_object = test_iam_permissions_request_object
1009
+ command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation
1010
+ command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse
1011
+ command.params['resource'] = resource unless resource.nil?
1012
+ command.query['fields'] = fields unless fields.nil?
1013
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1014
+ execute_or_queue_command(command, &block)
1015
+ end
1016
+
767
1017
  # Creates a new CompilationResult in a given project and location.
768
1018
  # @param [String] parent
769
1019
  # Required. The repository in which to create the compilation result. Must be in
@@ -1731,6 +1981,51 @@ module Google
1731
1981
  execute_or_queue_command(command, &block)
1732
1982
  end
1733
1983
 
1984
+ # Gets the access control policy for a resource. Returns an empty policy if the
1985
+ # resource exists and does not have a policy set.
1986
+ # @param [String] resource
1987
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1988
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1989
+ # appropriate value for this field.
1990
+ # @param [Fixnum] options_requested_policy_version
1991
+ # Optional. The maximum policy version that will be used to format the policy.
1992
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1993
+ # rejected. Requests for policies with any conditional role bindings must
1994
+ # specify version 3. Policies with no conditional role bindings may specify any
1995
+ # valid value or leave the field unset. The policy in the response might use the
1996
+ # policy version that you specified, or it might use a lower policy version. For
1997
+ # example, if you specify version 3, but the policy has no conditional role
1998
+ # bindings, the response uses version 1. To learn which resources support
1999
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2000
+ # google.com/iam/help/conditions/resource-policies).
2001
+ # @param [String] fields
2002
+ # Selector specifying which fields to include in a partial response.
2003
+ # @param [String] quota_user
2004
+ # Available to use for quota purposes for server-side applications. Can be any
2005
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2006
+ # @param [Google::Apis::RequestOptions] options
2007
+ # Request-specific options
2008
+ #
2009
+ # @yield [result, err] Result & error if block supplied
2010
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
2011
+ # @yieldparam err [StandardError] error object if request failed
2012
+ #
2013
+ # @return [Google::Apis::DataformV1beta1::Policy]
2014
+ #
2015
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2016
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2017
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2018
+ def get_project_location_repository_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2019
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
2020
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
2021
+ command.response_class = Google::Apis::DataformV1beta1::Policy
2022
+ command.params['resource'] = resource unless resource.nil?
2023
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2024
+ command.query['fields'] = fields unless fields.nil?
2025
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2026
+ execute_or_queue_command(command, &block)
2027
+ end
2028
+
1734
2029
  # Installs dependency NPM packages (inside a Workspace).
1735
2030
  # @param [String] workspace
1736
2031
  # Required. The workspace's name.
@@ -2207,6 +2502,82 @@ module Google
2207
2502
  execute_or_queue_command(command, &block)
2208
2503
  end
2209
2504
 
2505
+ # Sets the access control policy on the specified resource. Replaces any
2506
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2507
+ # PERMISSION_DENIED` errors.
2508
+ # @param [String] resource
2509
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2510
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2511
+ # appropriate value for this field.
2512
+ # @param [Google::Apis::DataformV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
2513
+ # @param [String] fields
2514
+ # Selector specifying which fields to include in a partial response.
2515
+ # @param [String] quota_user
2516
+ # Available to use for quota purposes for server-side applications. Can be any
2517
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2518
+ # @param [Google::Apis::RequestOptions] options
2519
+ # Request-specific options
2520
+ #
2521
+ # @yield [result, err] Result & error if block supplied
2522
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
2523
+ # @yieldparam err [StandardError] error object if request failed
2524
+ #
2525
+ # @return [Google::Apis::DataformV1beta1::Policy]
2526
+ #
2527
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2528
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2529
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2530
+ def set_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2531
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
2532
+ command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation
2533
+ command.request_object = set_iam_policy_request_object
2534
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
2535
+ command.response_class = Google::Apis::DataformV1beta1::Policy
2536
+ command.params['resource'] = resource unless resource.nil?
2537
+ command.query['fields'] = fields unless fields.nil?
2538
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2539
+ execute_or_queue_command(command, &block)
2540
+ end
2541
+
2542
+ # Returns permissions that a caller has on the specified resource. If the
2543
+ # resource does not exist, this will return an empty set of permissions, not a `
2544
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2545
+ # permission-aware UIs and command-line tools, not for authorization checking.
2546
+ # This operation may "fail open" without warning.
2547
+ # @param [String] resource
2548
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2549
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2550
+ # appropriate value for this field.
2551
+ # @param [Google::Apis::DataformV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
2552
+ # @param [String] fields
2553
+ # Selector specifying which fields to include in a partial response.
2554
+ # @param [String] quota_user
2555
+ # Available to use for quota purposes for server-side applications. Can be any
2556
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2557
+ # @param [Google::Apis::RequestOptions] options
2558
+ # Request-specific options
2559
+ #
2560
+ # @yield [result, err] Result & error if block supplied
2561
+ # @yieldparam result [Google::Apis::DataformV1beta1::TestIamPermissionsResponse] parsed result object
2562
+ # @yieldparam err [StandardError] error object if request failed
2563
+ #
2564
+ # @return [Google::Apis::DataformV1beta1::TestIamPermissionsResponse]
2565
+ #
2566
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2567
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2568
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2569
+ def test_workspace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2570
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
2571
+ command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation
2572
+ command.request_object = test_iam_permissions_request_object
2573
+ command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation
2574
+ command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse
2575
+ command.params['resource'] = resource unless resource.nil?
2576
+ command.query['fields'] = fields unless fields.nil?
2577
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2578
+ execute_or_queue_command(command, &block)
2579
+ end
2580
+
2210
2581
  # Writes to a file (inside a Workspace).
2211
2582
  # @param [String] workspace
2212
2583
  # Required. The workspace's name.
@@ -2239,6 +2610,127 @@ module Google
2239
2610
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2240
2611
  execute_or_queue_command(command, &block)
2241
2612
  end
2613
+
2614
+ # Gets the access control policy for a resource. Returns an empty policy if the
2615
+ # resource exists and does not have a policy set.
2616
+ # @param [String] resource
2617
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2618
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2619
+ # appropriate value for this field.
2620
+ # @param [Fixnum] options_requested_policy_version
2621
+ # Optional. The maximum policy version that will be used to format the policy.
2622
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2623
+ # rejected. Requests for policies with any conditional role bindings must
2624
+ # specify version 3. Policies with no conditional role bindings may specify any
2625
+ # valid value or leave the field unset. The policy in the response might use the
2626
+ # policy version that you specified, or it might use a lower policy version. For
2627
+ # example, if you specify version 3, but the policy has no conditional role
2628
+ # bindings, the response uses version 1. To learn which resources support
2629
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2630
+ # google.com/iam/help/conditions/resource-policies).
2631
+ # @param [String] fields
2632
+ # Selector specifying which fields to include in a partial response.
2633
+ # @param [String] quota_user
2634
+ # Available to use for quota purposes for server-side applications. Can be any
2635
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2636
+ # @param [Google::Apis::RequestOptions] options
2637
+ # Request-specific options
2638
+ #
2639
+ # @yield [result, err] Result & error if block supplied
2640
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
2641
+ # @yieldparam err [StandardError] error object if request failed
2642
+ #
2643
+ # @return [Google::Apis::DataformV1beta1::Policy]
2644
+ #
2645
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2646
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2647
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2648
+ def get_project_location_team_folder_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2649
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
2650
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
2651
+ command.response_class = Google::Apis::DataformV1beta1::Policy
2652
+ command.params['resource'] = resource unless resource.nil?
2653
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2654
+ command.query['fields'] = fields unless fields.nil?
2655
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2656
+ execute_or_queue_command(command, &block)
2657
+ end
2658
+
2659
+ # Sets the access control policy on the specified resource. Replaces any
2660
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2661
+ # PERMISSION_DENIED` errors.
2662
+ # @param [String] resource
2663
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2664
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2665
+ # appropriate value for this field.
2666
+ # @param [Google::Apis::DataformV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
2667
+ # @param [String] fields
2668
+ # Selector specifying which fields to include in a partial response.
2669
+ # @param [String] quota_user
2670
+ # Available to use for quota purposes for server-side applications. Can be any
2671
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2672
+ # @param [Google::Apis::RequestOptions] options
2673
+ # Request-specific options
2674
+ #
2675
+ # @yield [result, err] Result & error if block supplied
2676
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
2677
+ # @yieldparam err [StandardError] error object if request failed
2678
+ #
2679
+ # @return [Google::Apis::DataformV1beta1::Policy]
2680
+ #
2681
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2682
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2683
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2684
+ def set_team_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2685
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
2686
+ command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation
2687
+ command.request_object = set_iam_policy_request_object
2688
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
2689
+ command.response_class = Google::Apis::DataformV1beta1::Policy
2690
+ command.params['resource'] = resource unless resource.nil?
2691
+ command.query['fields'] = fields unless fields.nil?
2692
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2693
+ execute_or_queue_command(command, &block)
2694
+ end
2695
+
2696
+ # Returns permissions that a caller has on the specified resource. If the
2697
+ # resource does not exist, this will return an empty set of permissions, not a `
2698
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2699
+ # permission-aware UIs and command-line tools, not for authorization checking.
2700
+ # This operation may "fail open" without warning.
2701
+ # @param [String] resource
2702
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2703
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2704
+ # appropriate value for this field.
2705
+ # @param [Google::Apis::DataformV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
2706
+ # @param [String] fields
2707
+ # Selector specifying which fields to include in a partial response.
2708
+ # @param [String] quota_user
2709
+ # Available to use for quota purposes for server-side applications. Can be any
2710
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2711
+ # @param [Google::Apis::RequestOptions] options
2712
+ # Request-specific options
2713
+ #
2714
+ # @yield [result, err] Result & error if block supplied
2715
+ # @yieldparam result [Google::Apis::DataformV1beta1::TestIamPermissionsResponse] parsed result object
2716
+ # @yieldparam err [StandardError] error object if request failed
2717
+ #
2718
+ # @return [Google::Apis::DataformV1beta1::TestIamPermissionsResponse]
2719
+ #
2720
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2721
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2722
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2723
+ def test_team_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2724
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
2725
+ command.request_representation = Google::Apis::DataformV1beta1::TestIamPermissionsRequest::Representation
2726
+ command.request_object = test_iam_permissions_request_object
2727
+ command.response_representation = Google::Apis::DataformV1beta1::TestIamPermissionsResponse::Representation
2728
+ command.response_class = Google::Apis::DataformV1beta1::TestIamPermissionsResponse
2729
+ command.params['resource'] = resource unless resource.nil?
2730
+ command.query['fields'] = fields unless fields.nil?
2731
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2732
+ execute_or_queue_command(command, &block)
2733
+ end
2242
2734
 
2243
2735
  protected
2244
2736
 
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.49.0
4
+ version: 0.50.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.49.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.50.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: