@googleapis/dataform 10.0.0 → 11.0.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.
@@ -177,23 +177,6 @@ export declare namespace dataform_v1beta1 {
177
177
  */
178
178
  sqlScript?: string | null;
179
179
  }
180
- /**
181
- * Associates `members`, or principals, with a `role`.
182
- */
183
- export interface Schema$Binding {
184
- /**
185
- * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
186
- */
187
- condition?: Schema$Expr;
188
- /**
189
- * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
190
- */
191
- members?: string[] | null;
192
- /**
193
- * Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
194
- */
195
- role?: string | null;
196
- }
197
180
  /**
198
181
  * The request message for Operations.CancelOperation.
199
182
  */
@@ -616,27 +599,6 @@ export declare namespace dataform_v1beta1 {
616
599
  */
617
600
  target?: Schema$Target;
618
601
  }
619
- /**
620
- * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
621
- */
622
- export interface Schema$Expr {
623
- /**
624
- * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
625
- */
626
- description?: string | null;
627
- /**
628
- * Textual representation of an expression in Common Expression Language syntax.
629
- */
630
- expression?: string | null;
631
- /**
632
- * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
633
- */
634
- location?: string | null;
635
- /**
636
- * Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
637
- */
638
- title?: string | null;
639
- }
640
602
  /**
641
603
  * `FetchFileDiff` response message.
642
604
  */
@@ -1206,23 +1168,6 @@ export declare namespace dataform_v1beta1 {
1206
1168
  */
1207
1169
  tags?: string[] | null;
1208
1170
  }
1209
- /**
1210
- * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
1211
- */
1212
- export interface Schema$Policy {
1213
- /**
1214
- * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
1215
- */
1216
- bindings?: Schema$Binding[];
1217
- /**
1218
- * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
1219
- */
1220
- etag?: string | null;
1221
- /**
1222
- * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1223
- */
1224
- version?: number | null;
1225
- }
1226
1171
  /**
1227
1172
  * An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource's external full resource name. For more information on this distinction, see go/iam-full-resource-names.
1228
1173
  */
@@ -1626,15 +1571,6 @@ export declare namespace dataform_v1beta1 {
1626
1571
  */
1627
1572
  file?: Schema$FileSearchResult;
1628
1573
  }
1629
- /**
1630
- * Request message for `SetIamPolicy` method.
1631
- */
1632
- export interface Schema$SetIamPolicyRequest {
1633
- /**
1634
- * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
1635
- */
1636
- policy?: Schema$Policy;
1637
- }
1638
1574
  /**
1639
1575
  * Simple load definition
1640
1576
  */
@@ -1706,24 +1642,6 @@ export declare namespace dataform_v1beta1 {
1706
1642
  */
1707
1643
  schema?: string | null;
1708
1644
  }
1709
- /**
1710
- * Request message for `TestIamPermissions` method.
1711
- */
1712
- export interface Schema$TestIamPermissionsRequest {
1713
- /**
1714
- * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1715
- */
1716
- permissions?: string[] | null;
1717
- }
1718
- /**
1719
- * Response message for `TestIamPermissions` method.
1720
- */
1721
- export interface Schema$TestIamPermissionsResponse {
1722
- /**
1723
- * A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1724
- */
1725
- permissions?: string[] | null;
1726
- }
1727
1645
  /**
1728
1646
  * Represents the Git state of a file with uncommitted changes.
1729
1647
  */
@@ -1936,10 +1854,8 @@ export declare namespace dataform_v1beta1 {
1936
1854
  }
1937
1855
  export class Resource$Projects$Locations {
1938
1856
  context: APIRequestContext;
1939
- folders: Resource$Projects$Locations$Folders;
1940
1857
  operations: Resource$Projects$Locations$Operations;
1941
1858
  repositories: Resource$Projects$Locations$Repositories;
1942
- teamFolders: Resource$Projects$Locations$Teamfolders;
1943
1859
  constructor(context: APIRequestContext);
1944
1860
  /**
1945
1861
  * Gets information about a location.
@@ -2106,7 +2022,7 @@ export declare namespace dataform_v1beta1 {
2106
2022
  *
2107
2023
  * // Do the magic
2108
2024
  * const res = await dataform.projects.locations.list({
2109
- * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2025
+ * // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2110
2026
  * extraLocationTypes: 'placeholder-value',
2111
2027
  * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2112
2028
  * filter: 'placeholder-value',
@@ -2234,7 +2150,7 @@ export declare namespace dataform_v1beta1 {
2234
2150
  }
2235
2151
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2236
2152
  /**
2237
- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2153
+ * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2238
2154
  */
2239
2155
  extraLocationTypes?: string[];
2240
2156
  /**
@@ -2268,251 +2184,6 @@ export declare namespace dataform_v1beta1 {
2268
2184
  */
2269
2185
  requestBody?: Schema$Config;
2270
2186
  }
2271
- export class Resource$Projects$Locations$Folders {
2272
- context: APIRequestContext;
2273
- constructor(context: APIRequestContext);
2274
- /**
2275
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2276
- * @example
2277
- * ```js
2278
- * // Before running the sample:
2279
- * // - Enable the API at:
2280
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
2281
- * // - Login into gcloud by running:
2282
- * // ```sh
2283
- * // $ gcloud auth application-default login
2284
- * // ```
2285
- * // - Install the npm module by running:
2286
- * // ```sh
2287
- * // $ npm install googleapis
2288
- * // ```
2289
- *
2290
- * const {google} = require('googleapis');
2291
- * const dataform = google.dataform('v1beta1');
2292
- *
2293
- * async function main() {
2294
- * const auth = new google.auth.GoogleAuth({
2295
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2296
- * scopes: [
2297
- * 'https://www.googleapis.com/auth/bigquery',
2298
- * 'https://www.googleapis.com/auth/cloud-platform',
2299
- * ],
2300
- * });
2301
- *
2302
- * // Acquire an auth client, and bind it to all future calls
2303
- * const authClient = await auth.getClient();
2304
- * google.options({auth: authClient});
2305
- *
2306
- * // Do the magic
2307
- * const res = await dataform.projects.locations.folders.getIamPolicy({
2308
- * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2309
- * 'options.requestedPolicyVersion': 'placeholder-value',
2310
- * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2311
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2312
- * });
2313
- * console.log(res.data);
2314
- *
2315
- * // Example response
2316
- * // {
2317
- * // "bindings": [],
2318
- * // "etag": "my_etag",
2319
- * // "version": 0
2320
- * // }
2321
- * }
2322
- *
2323
- * main().catch(e => {
2324
- * console.error(e);
2325
- * throw e;
2326
- * });
2327
- *
2328
- * ```
2329
- *
2330
- * @param params - Parameters for request
2331
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2332
- * @param callback - Optional callback that handles the response.
2333
- * @returns A promise if used with async/await, or void if used with a callback.
2334
- */
2335
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2336
- getIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2337
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2338
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2339
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2340
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2341
- /**
2342
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
2343
- * @example
2344
- * ```js
2345
- * // Before running the sample:
2346
- * // - Enable the API at:
2347
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
2348
- * // - Login into gcloud by running:
2349
- * // ```sh
2350
- * // $ gcloud auth application-default login
2351
- * // ```
2352
- * // - Install the npm module by running:
2353
- * // ```sh
2354
- * // $ npm install googleapis
2355
- * // ```
2356
- *
2357
- * const {google} = require('googleapis');
2358
- * const dataform = google.dataform('v1beta1');
2359
- *
2360
- * async function main() {
2361
- * const auth = new google.auth.GoogleAuth({
2362
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2363
- * scopes: [
2364
- * 'https://www.googleapis.com/auth/bigquery',
2365
- * 'https://www.googleapis.com/auth/cloud-platform',
2366
- * ],
2367
- * });
2368
- *
2369
- * // Acquire an auth client, and bind it to all future calls
2370
- * const authClient = await auth.getClient();
2371
- * google.options({auth: authClient});
2372
- *
2373
- * // Do the magic
2374
- * const res = await dataform.projects.locations.folders.setIamPolicy({
2375
- * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2376
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2377
- *
2378
- * // Request body metadata
2379
- * requestBody: {
2380
- * // request body parameters
2381
- * // {
2382
- * // "policy": {}
2383
- * // }
2384
- * },
2385
- * });
2386
- * console.log(res.data);
2387
- *
2388
- * // Example response
2389
- * // {
2390
- * // "bindings": [],
2391
- * // "etag": "my_etag",
2392
- * // "version": 0
2393
- * // }
2394
- * }
2395
- *
2396
- * main().catch(e => {
2397
- * console.error(e);
2398
- * throw e;
2399
- * });
2400
- *
2401
- * ```
2402
- *
2403
- * @param params - Parameters for request
2404
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2405
- * @param callback - Optional callback that handles the response.
2406
- * @returns A promise if used with async/await, or void if used with a callback.
2407
- */
2408
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2409
- setIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2410
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2411
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2412
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2413
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2414
- /**
2415
- * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
2416
- * @example
2417
- * ```js
2418
- * // Before running the sample:
2419
- * // - Enable the API at:
2420
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
2421
- * // - Login into gcloud by running:
2422
- * // ```sh
2423
- * // $ gcloud auth application-default login
2424
- * // ```
2425
- * // - Install the npm module by running:
2426
- * // ```sh
2427
- * // $ npm install googleapis
2428
- * // ```
2429
- *
2430
- * const {google} = require('googleapis');
2431
- * const dataform = google.dataform('v1beta1');
2432
- *
2433
- * async function main() {
2434
- * const auth = new google.auth.GoogleAuth({
2435
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2436
- * scopes: [
2437
- * 'https://www.googleapis.com/auth/bigquery',
2438
- * 'https://www.googleapis.com/auth/cloud-platform',
2439
- * ],
2440
- * });
2441
- *
2442
- * // Acquire an auth client, and bind it to all future calls
2443
- * const authClient = await auth.getClient();
2444
- * google.options({auth: authClient});
2445
- *
2446
- * // Do the magic
2447
- * const res = await dataform.projects.locations.folders.testIamPermissions({
2448
- * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2449
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2450
- *
2451
- * // Request body metadata
2452
- * requestBody: {
2453
- * // request body parameters
2454
- * // {
2455
- * // "permissions": []
2456
- * // }
2457
- * },
2458
- * });
2459
- * console.log(res.data);
2460
- *
2461
- * // Example response
2462
- * // {
2463
- * // "permissions": []
2464
- * // }
2465
- * }
2466
- *
2467
- * main().catch(e => {
2468
- * console.error(e);
2469
- * throw e;
2470
- * });
2471
- *
2472
- * ```
2473
- *
2474
- * @param params - Parameters for request
2475
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2476
- * @param callback - Optional callback that handles the response.
2477
- * @returns A promise if used with async/await, or void if used with a callback.
2478
- */
2479
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2480
- testIamPermissions(params?: Params$Resource$Projects$Locations$Folders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
2481
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2482
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2483
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2484
- testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2485
- }
2486
- export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
2487
- /**
2488
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2489
- */
2490
- 'options.requestedPolicyVersion'?: number;
2491
- /**
2492
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2493
- */
2494
- resource?: string;
2495
- }
2496
- export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
2497
- /**
2498
- * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2499
- */
2500
- resource?: string;
2501
- /**
2502
- * Request body metadata
2503
- */
2504
- requestBody?: Schema$SetIamPolicyRequest;
2505
- }
2506
- export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
2507
- /**
2508
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2509
- */
2510
- resource?: string;
2511
- /**
2512
- * Request body metadata
2513
- */
2514
- requestBody?: Schema$TestIamPermissionsRequest;
2515
- }
2516
2187
  export class Resource$Projects$Locations$Operations {
2517
2188
  context: APIRequestContext;
2518
2189
  constructor(context: APIRequestContext);
@@ -3332,7 +3003,7 @@ export declare namespace dataform_v1beta1 {
3332
3003
  get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
3333
3004
  get(callback: BodyResponseCallback<Schema$Repository>): void;
3334
3005
  /**
3335
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3006
+ * Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.
3336
3007
  * @example
3337
3008
  * ```js
3338
3009
  * // Before running the sample:
@@ -3364,93 +3035,25 @@ export declare namespace dataform_v1beta1 {
3364
3035
  * google.options({auth: authClient});
3365
3036
  *
3366
3037
  * // Do the magic
3367
- * const res = await dataform.projects.locations.repositories.getIamPolicy({
3368
- * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3369
- * 'options.requestedPolicyVersion': 'placeholder-value',
3370
- * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
3371
- * resource:
3372
- * 'projects/my-project/locations/my-location/repositories/my-repositorie',
3038
+ * const res = await dataform.projects.locations.repositories.list({
3039
+ * // Optional. Filter for the returned list.
3040
+ * filter: 'placeholder-value',
3041
+ * // Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
3042
+ * orderBy: 'placeholder-value',
3043
+ * // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3044
+ * pageSize: 'placeholder-value',
3045
+ * // Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.
3046
+ * pageToken: 'placeholder-value',
3047
+ * // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
3048
+ * parent: 'projects/my-project/locations/my-location',
3373
3049
  * });
3374
3050
  * console.log(res.data);
3375
3051
  *
3376
3052
  * // Example response
3377
3053
  * // {
3378
- * // "bindings": [],
3379
- * // "etag": "my_etag",
3380
- * // "version": 0
3381
- * // }
3382
- * }
3383
- *
3384
- * main().catch(e => {
3385
- * console.error(e);
3386
- * throw e;
3387
- * });
3388
- *
3389
- * ```
3390
- *
3391
- * @param params - Parameters for request
3392
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3393
- * @param callback - Optional callback that handles the response.
3394
- * @returns A promise if used with async/await, or void if used with a callback.
3395
- */
3396
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3397
- getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3398
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3399
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3400
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3401
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3402
- /**
3403
- * Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.
3404
- * @example
3405
- * ```js
3406
- * // Before running the sample:
3407
- * // - Enable the API at:
3408
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
3409
- * // - Login into gcloud by running:
3410
- * // ```sh
3411
- * // $ gcloud auth application-default login
3412
- * // ```
3413
- * // - Install the npm module by running:
3414
- * // ```sh
3415
- * // $ npm install googleapis
3416
- * // ```
3417
- *
3418
- * const {google} = require('googleapis');
3419
- * const dataform = google.dataform('v1beta1');
3420
- *
3421
- * async function main() {
3422
- * const auth = new google.auth.GoogleAuth({
3423
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3424
- * scopes: [
3425
- * 'https://www.googleapis.com/auth/bigquery',
3426
- * 'https://www.googleapis.com/auth/cloud-platform',
3427
- * ],
3428
- * });
3429
- *
3430
- * // Acquire an auth client, and bind it to all future calls
3431
- * const authClient = await auth.getClient();
3432
- * google.options({auth: authClient});
3433
- *
3434
- * // Do the magic
3435
- * const res = await dataform.projects.locations.repositories.list({
3436
- * // Optional. Filter for the returned list.
3437
- * filter: 'placeholder-value',
3438
- * // Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
3439
- * orderBy: 'placeholder-value',
3440
- * // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3441
- * pageSize: 'placeholder-value',
3442
- * // Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.
3443
- * pageToken: 'placeholder-value',
3444
- * // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
3445
- * parent: 'projects/my-project/locations/my-location',
3446
- * });
3447
- * console.log(res.data);
3448
- *
3449
- * // Example response
3450
- * // {
3451
- * // "nextPageToken": "my_nextPageToken",
3452
- * // "repositories": [],
3453
- * // "unreachable": []
3054
+ * // "nextPageToken": "my_nextPageToken",
3055
+ * // "repositories": [],
3056
+ * // "unreachable": []
3454
3057
  * // }
3455
3058
  * }
3456
3059
  *
@@ -3707,154 +3310,6 @@ export declare namespace dataform_v1beta1 {
3707
3310
  readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: MethodOptions | BodyResponseCallback<Schema$ReadRepositoryFileResponse>, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
3708
3311
  readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
3709
3312
  readFile(callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
3710
- /**
3711
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
3712
- * @example
3713
- * ```js
3714
- * // Before running the sample:
3715
- * // - Enable the API at:
3716
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
3717
- * // - Login into gcloud by running:
3718
- * // ```sh
3719
- * // $ gcloud auth application-default login
3720
- * // ```
3721
- * // - Install the npm module by running:
3722
- * // ```sh
3723
- * // $ npm install googleapis
3724
- * // ```
3725
- *
3726
- * const {google} = require('googleapis');
3727
- * const dataform = google.dataform('v1beta1');
3728
- *
3729
- * async function main() {
3730
- * const auth = new google.auth.GoogleAuth({
3731
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3732
- * scopes: [
3733
- * 'https://www.googleapis.com/auth/bigquery',
3734
- * 'https://www.googleapis.com/auth/cloud-platform',
3735
- * ],
3736
- * });
3737
- *
3738
- * // Acquire an auth client, and bind it to all future calls
3739
- * const authClient = await auth.getClient();
3740
- * google.options({auth: authClient});
3741
- *
3742
- * // Do the magic
3743
- * const res = await dataform.projects.locations.repositories.setIamPolicy({
3744
- * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
3745
- * resource:
3746
- * 'projects/my-project/locations/my-location/repositories/my-repositorie',
3747
- *
3748
- * // Request body metadata
3749
- * requestBody: {
3750
- * // request body parameters
3751
- * // {
3752
- * // "policy": {}
3753
- * // }
3754
- * },
3755
- * });
3756
- * console.log(res.data);
3757
- *
3758
- * // Example response
3759
- * // {
3760
- * // "bindings": [],
3761
- * // "etag": "my_etag",
3762
- * // "version": 0
3763
- * // }
3764
- * }
3765
- *
3766
- * main().catch(e => {
3767
- * console.error(e);
3768
- * throw e;
3769
- * });
3770
- *
3771
- * ```
3772
- *
3773
- * @param params - Parameters for request
3774
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3775
- * @param callback - Optional callback that handles the response.
3776
- * @returns A promise if used with async/await, or void if used with a callback.
3777
- */
3778
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3779
- setIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3780
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3781
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3782
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3783
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3784
- /**
3785
- * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
3786
- * @example
3787
- * ```js
3788
- * // Before running the sample:
3789
- * // - Enable the API at:
3790
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
3791
- * // - Login into gcloud by running:
3792
- * // ```sh
3793
- * // $ gcloud auth application-default login
3794
- * // ```
3795
- * // - Install the npm module by running:
3796
- * // ```sh
3797
- * // $ npm install googleapis
3798
- * // ```
3799
- *
3800
- * const {google} = require('googleapis');
3801
- * const dataform = google.dataform('v1beta1');
3802
- *
3803
- * async function main() {
3804
- * const auth = new google.auth.GoogleAuth({
3805
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3806
- * scopes: [
3807
- * 'https://www.googleapis.com/auth/bigquery',
3808
- * 'https://www.googleapis.com/auth/cloud-platform',
3809
- * ],
3810
- * });
3811
- *
3812
- * // Acquire an auth client, and bind it to all future calls
3813
- * const authClient = await auth.getClient();
3814
- * google.options({auth: authClient});
3815
- *
3816
- * // Do the magic
3817
- * const res = await dataform.projects.locations.repositories.testIamPermissions(
3818
- * {
3819
- * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
3820
- * resource:
3821
- * 'projects/my-project/locations/my-location/repositories/my-repositorie',
3822
- *
3823
- * // Request body metadata
3824
- * requestBody: {
3825
- * // request body parameters
3826
- * // {
3827
- * // "permissions": []
3828
- * // }
3829
- * },
3830
- * },
3831
- * );
3832
- * console.log(res.data);
3833
- *
3834
- * // Example response
3835
- * // {
3836
- * // "permissions": []
3837
- * // }
3838
- * }
3839
- *
3840
- * main().catch(e => {
3841
- * console.error(e);
3842
- * throw e;
3843
- * });
3844
- *
3845
- * ```
3846
- *
3847
- * @param params - Parameters for request
3848
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3849
- * @param callback - Optional callback that handles the response.
3850
- * @returns A promise if used with async/await, or void if used with a callback.
3851
- */
3852
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3853
- testIamPermissions(params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
3854
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3855
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3856
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3857
- testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3858
3313
  }
3859
3314
  export interface Params$Resource$Projects$Locations$Repositories$Commit extends StandardParameters {
3860
3315
  /**
@@ -3922,16 +3377,6 @@ export declare namespace dataform_v1beta1 {
3922
3377
  */
3923
3378
  name?: string;
3924
3379
  }
3925
- export interface Params$Resource$Projects$Locations$Repositories$Getiampolicy extends StandardParameters {
3926
- /**
3927
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3928
- */
3929
- 'options.requestedPolicyVersion'?: number;
3930
- /**
3931
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
3932
- */
3933
- resource?: string;
3934
- }
3935
3380
  export interface Params$Resource$Projects$Locations$Repositories$List extends StandardParameters {
3936
3381
  /**
3937
3382
  * Optional. Filter for the returned list.
@@ -4004,26 +3449,6 @@ export declare namespace dataform_v1beta1 {
4004
3449
  */
4005
3450
  path?: string;
4006
3451
  }
4007
- export interface Params$Resource$Projects$Locations$Repositories$Setiampolicy extends StandardParameters {
4008
- /**
4009
- * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
4010
- */
4011
- resource?: string;
4012
- /**
4013
- * Request body metadata
4014
- */
4015
- requestBody?: Schema$SetIamPolicyRequest;
4016
- }
4017
- export interface Params$Resource$Projects$Locations$Repositories$Testiampermissions extends StandardParameters {
4018
- /**
4019
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
4020
- */
4021
- resource?: string;
4022
- /**
4023
- * Request body metadata
4024
- */
4025
- requestBody?: Schema$TestIamPermissionsRequest;
4026
- }
4027
3452
  export class Resource$Projects$Locations$Repositories$Compilationresults {
4028
3453
  context: APIRequestContext;
4029
3454
  constructor(context: APIRequestContext);
@@ -6281,75 +5706,6 @@ export declare namespace dataform_v1beta1 {
6281
5706
  get(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, options: MethodOptions | BodyResponseCallback<Schema$Workspace>, callback: BodyResponseCallback<Schema$Workspace>): void;
6282
5707
  get(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, callback: BodyResponseCallback<Schema$Workspace>): void;
6283
5708
  get(callback: BodyResponseCallback<Schema$Workspace>): void;
6284
- /**
6285
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
6286
- * @example
6287
- * ```js
6288
- * // Before running the sample:
6289
- * // - Enable the API at:
6290
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
6291
- * // - Login into gcloud by running:
6292
- * // ```sh
6293
- * // $ gcloud auth application-default login
6294
- * // ```
6295
- * // - Install the npm module by running:
6296
- * // ```sh
6297
- * // $ npm install googleapis
6298
- * // ```
6299
- *
6300
- * const {google} = require('googleapis');
6301
- * const dataform = google.dataform('v1beta1');
6302
- *
6303
- * async function main() {
6304
- * const auth = new google.auth.GoogleAuth({
6305
- * // Scopes can be specified either as an array or as a single, space-delimited string.
6306
- * scopes: [
6307
- * 'https://www.googleapis.com/auth/bigquery',
6308
- * 'https://www.googleapis.com/auth/cloud-platform',
6309
- * ],
6310
- * });
6311
- *
6312
- * // Acquire an auth client, and bind it to all future calls
6313
- * const authClient = await auth.getClient();
6314
- * google.options({auth: authClient});
6315
- *
6316
- * // Do the magic
6317
- * const res =
6318
- * await dataform.projects.locations.repositories.workspaces.getIamPolicy({
6319
- * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
6320
- * 'options.requestedPolicyVersion': 'placeholder-value',
6321
- * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
6322
- * resource:
6323
- * 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
6324
- * });
6325
- * console.log(res.data);
6326
- *
6327
- * // Example response
6328
- * // {
6329
- * // "bindings": [],
6330
- * // "etag": "my_etag",
6331
- * // "version": 0
6332
- * // }
6333
- * }
6334
- *
6335
- * main().catch(e => {
6336
- * console.error(e);
6337
- * throw e;
6338
- * });
6339
- *
6340
- * ```
6341
- *
6342
- * @param params - Parameters for request
6343
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6344
- * @param callback - Optional callback that handles the response.
6345
- * @returns A promise if used with async/await, or void if used with a callback.
6346
- */
6347
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6348
- getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
6349
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6350
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
6351
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
6352
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
6353
5709
  /**
6354
5710
  * Installs dependency NPM packages (inside a Workspace).
6355
5711
  * @example
@@ -7277,157 +6633,7 @@ export declare namespace dataform_v1beta1 {
7277
6633
  searchFiles(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Searchfiles, callback: BodyResponseCallback<Schema$SearchFilesResponse>): void;
7278
6634
  searchFiles(callback: BodyResponseCallback<Schema$SearchFilesResponse>): void;
7279
6635
  /**
7280
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
7281
- * @example
7282
- * ```js
7283
- * // Before running the sample:
7284
- * // - Enable the API at:
7285
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
7286
- * // - Login into gcloud by running:
7287
- * // ```sh
7288
- * // $ gcloud auth application-default login
7289
- * // ```
7290
- * // - Install the npm module by running:
7291
- * // ```sh
7292
- * // $ npm install googleapis
7293
- * // ```
7294
- *
7295
- * const {google} = require('googleapis');
7296
- * const dataform = google.dataform('v1beta1');
7297
- *
7298
- * async function main() {
7299
- * const auth = new google.auth.GoogleAuth({
7300
- * // Scopes can be specified either as an array or as a single, space-delimited string.
7301
- * scopes: [
7302
- * 'https://www.googleapis.com/auth/bigquery',
7303
- * 'https://www.googleapis.com/auth/cloud-platform',
7304
- * ],
7305
- * });
7306
- *
7307
- * // Acquire an auth client, and bind it to all future calls
7308
- * const authClient = await auth.getClient();
7309
- * google.options({auth: authClient});
7310
- *
7311
- * // Do the magic
7312
- * const res =
7313
- * await dataform.projects.locations.repositories.workspaces.setIamPolicy({
7314
- * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7315
- * resource:
7316
- * 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
7317
- *
7318
- * // Request body metadata
7319
- * requestBody: {
7320
- * // request body parameters
7321
- * // {
7322
- * // "policy": {}
7323
- * // }
7324
- * },
7325
- * });
7326
- * console.log(res.data);
7327
- *
7328
- * // Example response
7329
- * // {
7330
- * // "bindings": [],
7331
- * // "etag": "my_etag",
7332
- * // "version": 0
7333
- * // }
7334
- * }
7335
- *
7336
- * main().catch(e => {
7337
- * console.error(e);
7338
- * throw e;
7339
- * });
7340
- *
7341
- * ```
7342
- *
7343
- * @param params - Parameters for request
7344
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7345
- * @param callback - Optional callback that handles the response.
7346
- * @returns A promise if used with async/await, or void if used with a callback.
7347
- */
7348
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7349
- setIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
7350
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7351
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
7352
- setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
7353
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
7354
- /**
7355
- * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
7356
- * @example
7357
- * ```js
7358
- * // Before running the sample:
7359
- * // - Enable the API at:
7360
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
7361
- * // - Login into gcloud by running:
7362
- * // ```sh
7363
- * // $ gcloud auth application-default login
7364
- * // ```
7365
- * // - Install the npm module by running:
7366
- * // ```sh
7367
- * // $ npm install googleapis
7368
- * // ```
7369
- *
7370
- * const {google} = require('googleapis');
7371
- * const dataform = google.dataform('v1beta1');
7372
- *
7373
- * async function main() {
7374
- * const auth = new google.auth.GoogleAuth({
7375
- * // Scopes can be specified either as an array or as a single, space-delimited string.
7376
- * scopes: [
7377
- * 'https://www.googleapis.com/auth/bigquery',
7378
- * 'https://www.googleapis.com/auth/cloud-platform',
7379
- * ],
7380
- * });
7381
- *
7382
- * // Acquire an auth client, and bind it to all future calls
7383
- * const authClient = await auth.getClient();
7384
- * google.options({auth: authClient});
7385
- *
7386
- * // Do the magic
7387
- * const res =
7388
- * await dataform.projects.locations.repositories.workspaces.testIamPermissions(
7389
- * {
7390
- * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7391
- * resource:
7392
- * 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
7393
- *
7394
- * // Request body metadata
7395
- * requestBody: {
7396
- * // request body parameters
7397
- * // {
7398
- * // "permissions": []
7399
- * // }
7400
- * },
7401
- * },
7402
- * );
7403
- * console.log(res.data);
7404
- *
7405
- * // Example response
7406
- * // {
7407
- * // "permissions": []
7408
- * // }
7409
- * }
7410
- *
7411
- * main().catch(e => {
7412
- * console.error(e);
7413
- * throw e;
7414
- * });
7415
- *
7416
- * ```
7417
- *
7418
- * @param params - Parameters for request
7419
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7420
- * @param callback - Optional callback that handles the response.
7421
- * @returns A promise if used with async/await, or void if used with a callback.
7422
- */
7423
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7424
- testIamPermissions(params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
7425
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7426
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
7427
- testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
7428
- testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
7429
- /**
7430
- * Writes to a file (inside a Workspace).
6636
+ * Writes to a file (inside a Workspace).
7431
6637
  * @example
7432
6638
  * ```js
7433
6639
  * // Before running the sample:
@@ -7561,16 +6767,6 @@ export declare namespace dataform_v1beta1 {
7561
6767
  */
7562
6768
  name?: string;
7563
6769
  }
7564
- export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy extends StandardParameters {
7565
- /**
7566
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
7567
- */
7568
- 'options.requestedPolicyVersion'?: number;
7569
- /**
7570
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7571
- */
7572
- resource?: string;
7573
- }
7574
6770
  export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Installnpmpackages extends StandardParameters {
7575
6771
  /**
7576
6772
  * Required. The workspace's name.
@@ -7733,26 +6929,6 @@ export declare namespace dataform_v1beta1 {
7733
6929
  */
7734
6930
  workspace?: string;
7735
6931
  }
7736
- export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy extends StandardParameters {
7737
- /**
7738
- * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7739
- */
7740
- resource?: string;
7741
- /**
7742
- * Request body metadata
7743
- */
7744
- requestBody?: Schema$SetIamPolicyRequest;
7745
- }
7746
- export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions extends StandardParameters {
7747
- /**
7748
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7749
- */
7750
- resource?: string;
7751
- /**
7752
- * Request body metadata
7753
- */
7754
- requestBody?: Schema$TestIamPermissionsRequest;
7755
- }
7756
6932
  export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Writefile extends StandardParameters {
7757
6933
  /**
7758
6934
  * Required. The workspace's name.
@@ -7763,253 +6939,5 @@ export declare namespace dataform_v1beta1 {
7763
6939
  */
7764
6940
  requestBody?: Schema$WriteFileRequest;
7765
6941
  }
7766
- export class Resource$Projects$Locations$Teamfolders {
7767
- context: APIRequestContext;
7768
- constructor(context: APIRequestContext);
7769
- /**
7770
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
7771
- * @example
7772
- * ```js
7773
- * // Before running the sample:
7774
- * // - Enable the API at:
7775
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
7776
- * // - Login into gcloud by running:
7777
- * // ```sh
7778
- * // $ gcloud auth application-default login
7779
- * // ```
7780
- * // - Install the npm module by running:
7781
- * // ```sh
7782
- * // $ npm install googleapis
7783
- * // ```
7784
- *
7785
- * const {google} = require('googleapis');
7786
- * const dataform = google.dataform('v1beta1');
7787
- *
7788
- * async function main() {
7789
- * const auth = new google.auth.GoogleAuth({
7790
- * // Scopes can be specified either as an array or as a single, space-delimited string.
7791
- * scopes: [
7792
- * 'https://www.googleapis.com/auth/bigquery',
7793
- * 'https://www.googleapis.com/auth/cloud-platform',
7794
- * ],
7795
- * });
7796
- *
7797
- * // Acquire an auth client, and bind it to all future calls
7798
- * const authClient = await auth.getClient();
7799
- * google.options({auth: authClient});
7800
- *
7801
- * // Do the magic
7802
- * const res = await dataform.projects.locations.teamFolders.getIamPolicy({
7803
- * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
7804
- * 'options.requestedPolicyVersion': 'placeholder-value',
7805
- * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7806
- * resource:
7807
- * 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
7808
- * });
7809
- * console.log(res.data);
7810
- *
7811
- * // Example response
7812
- * // {
7813
- * // "bindings": [],
7814
- * // "etag": "my_etag",
7815
- * // "version": 0
7816
- * // }
7817
- * }
7818
- *
7819
- * main().catch(e => {
7820
- * console.error(e);
7821
- * throw e;
7822
- * });
7823
- *
7824
- * ```
7825
- *
7826
- * @param params - Parameters for request
7827
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7828
- * @param callback - Optional callback that handles the response.
7829
- * @returns A promise if used with async/await, or void if used with a callback.
7830
- */
7831
- getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7832
- getIamPolicy(params?: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
7833
- getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7834
- getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
7835
- getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
7836
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
7837
- /**
7838
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
7839
- * @example
7840
- * ```js
7841
- * // Before running the sample:
7842
- * // - Enable the API at:
7843
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
7844
- * // - Login into gcloud by running:
7845
- * // ```sh
7846
- * // $ gcloud auth application-default login
7847
- * // ```
7848
- * // - Install the npm module by running:
7849
- * // ```sh
7850
- * // $ npm install googleapis
7851
- * // ```
7852
- *
7853
- * const {google} = require('googleapis');
7854
- * const dataform = google.dataform('v1beta1');
7855
- *
7856
- * async function main() {
7857
- * const auth = new google.auth.GoogleAuth({
7858
- * // Scopes can be specified either as an array or as a single, space-delimited string.
7859
- * scopes: [
7860
- * 'https://www.googleapis.com/auth/bigquery',
7861
- * 'https://www.googleapis.com/auth/cloud-platform',
7862
- * ],
7863
- * });
7864
- *
7865
- * // Acquire an auth client, and bind it to all future calls
7866
- * const authClient = await auth.getClient();
7867
- * google.options({auth: authClient});
7868
- *
7869
- * // Do the magic
7870
- * const res = await dataform.projects.locations.teamFolders.setIamPolicy({
7871
- * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7872
- * resource:
7873
- * 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
7874
- *
7875
- * // Request body metadata
7876
- * requestBody: {
7877
- * // request body parameters
7878
- * // {
7879
- * // "policy": {}
7880
- * // }
7881
- * },
7882
- * });
7883
- * console.log(res.data);
7884
- *
7885
- * // Example response
7886
- * // {
7887
- * // "bindings": [],
7888
- * // "etag": "my_etag",
7889
- * // "version": 0
7890
- * // }
7891
- * }
7892
- *
7893
- * main().catch(e => {
7894
- * console.error(e);
7895
- * throw e;
7896
- * });
7897
- *
7898
- * ```
7899
- *
7900
- * @param params - Parameters for request
7901
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7902
- * @param callback - Optional callback that handles the response.
7903
- * @returns A promise if used with async/await, or void if used with a callback.
7904
- */
7905
- setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7906
- setIamPolicy(params?: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
7907
- setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7908
- setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
7909
- setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
7910
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
7911
- /**
7912
- * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
7913
- * @example
7914
- * ```js
7915
- * // Before running the sample:
7916
- * // - Enable the API at:
7917
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
7918
- * // - Login into gcloud by running:
7919
- * // ```sh
7920
- * // $ gcloud auth application-default login
7921
- * // ```
7922
- * // - Install the npm module by running:
7923
- * // ```sh
7924
- * // $ npm install googleapis
7925
- * // ```
7926
- *
7927
- * const {google} = require('googleapis');
7928
- * const dataform = google.dataform('v1beta1');
7929
- *
7930
- * async function main() {
7931
- * const auth = new google.auth.GoogleAuth({
7932
- * // Scopes can be specified either as an array or as a single, space-delimited string.
7933
- * scopes: [
7934
- * 'https://www.googleapis.com/auth/bigquery',
7935
- * 'https://www.googleapis.com/auth/cloud-platform',
7936
- * ],
7937
- * });
7938
- *
7939
- * // Acquire an auth client, and bind it to all future calls
7940
- * const authClient = await auth.getClient();
7941
- * google.options({auth: authClient});
7942
- *
7943
- * // Do the magic
7944
- * const res = await dataform.projects.locations.teamFolders.testIamPermissions({
7945
- * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7946
- * resource:
7947
- * 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
7948
- *
7949
- * // Request body metadata
7950
- * requestBody: {
7951
- * // request body parameters
7952
- * // {
7953
- * // "permissions": []
7954
- * // }
7955
- * },
7956
- * });
7957
- * console.log(res.data);
7958
- *
7959
- * // Example response
7960
- * // {
7961
- * // "permissions": []
7962
- * // }
7963
- * }
7964
- *
7965
- * main().catch(e => {
7966
- * console.error(e);
7967
- * throw e;
7968
- * });
7969
- *
7970
- * ```
7971
- *
7972
- * @param params - Parameters for request
7973
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7974
- * @param callback - Optional callback that handles the response.
7975
- * @returns A promise if used with async/await, or void if used with a callback.
7976
- */
7977
- testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7978
- testIamPermissions(params?: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
7979
- testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7980
- testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
7981
- testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
7982
- testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
7983
- }
7984
- export interface Params$Resource$Projects$Locations$Teamfolders$Getiampolicy extends StandardParameters {
7985
- /**
7986
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
7987
- */
7988
- 'options.requestedPolicyVersion'?: number;
7989
- /**
7990
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7991
- */
7992
- resource?: string;
7993
- }
7994
- export interface Params$Resource$Projects$Locations$Teamfolders$Setiampolicy extends StandardParameters {
7995
- /**
7996
- * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
7997
- */
7998
- resource?: string;
7999
- /**
8000
- * Request body metadata
8001
- */
8002
- requestBody?: Schema$SetIamPolicyRequest;
8003
- }
8004
- export interface Params$Resource$Projects$Locations$Teamfolders$Testiampermissions extends StandardParameters {
8005
- /**
8006
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
8007
- */
8008
- resource?: string;
8009
- /**
8010
- * Request body metadata
8011
- */
8012
- requestBody?: Schema$TestIamPermissionsRequest;
8013
- }
8014
6942
  export {};
8015
6943
  }