@googleapis/dataform 11.0.0 → 12.0.1
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.
- package/CHANGELOG.md +20 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +4 -1
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +8037 -0
- package/build/v1.js +2508 -0
- package/build/v1.js.map +1 -0
- package/build/v1beta1.d.ts +1105 -11
- package/build/v1beta1.js +412 -0
- package/build/v1beta1.js.map +1 -1
- package/index.ts +11 -2
- package/package.json +1 -1
- package/v1.ts +13911 -0
- package/v1beta1.ts +5406 -3330
package/build/v1beta1.d.ts
CHANGED
|
@@ -177,6 +177,23 @@ 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
|
+
}
|
|
180
197
|
/**
|
|
181
198
|
* The request message for Operations.CancelOperation.
|
|
182
199
|
*/
|
|
@@ -485,6 +502,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
485
502
|
* Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
|
|
486
503
|
*/
|
|
487
504
|
defaultKmsKeyName?: string | null;
|
|
505
|
+
/**
|
|
506
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
507
|
+
*/
|
|
508
|
+
internalMetadata?: string | null;
|
|
488
509
|
/**
|
|
489
510
|
* Identifier. The config name.
|
|
490
511
|
*/
|
|
@@ -599,6 +620,27 @@ export declare namespace dataform_v1beta1 {
|
|
|
599
620
|
*/
|
|
600
621
|
target?: Schema$Target;
|
|
601
622
|
}
|
|
623
|
+
/**
|
|
624
|
+
* 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.
|
|
625
|
+
*/
|
|
626
|
+
export interface Schema$Expr {
|
|
627
|
+
/**
|
|
628
|
+
* Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
|
|
629
|
+
*/
|
|
630
|
+
description?: string | null;
|
|
631
|
+
/**
|
|
632
|
+
* Textual representation of an expression in Common Expression Language syntax.
|
|
633
|
+
*/
|
|
634
|
+
expression?: string | null;
|
|
635
|
+
/**
|
|
636
|
+
* Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
|
|
637
|
+
*/
|
|
638
|
+
location?: string | null;
|
|
639
|
+
/**
|
|
640
|
+
* 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.
|
|
641
|
+
*/
|
|
642
|
+
title?: string | null;
|
|
643
|
+
}
|
|
602
644
|
/**
|
|
603
645
|
* `FetchFileDiff` response message.
|
|
604
646
|
*/
|
|
@@ -789,6 +831,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
789
831
|
* Optional. The set of action identifiers to include.
|
|
790
832
|
*/
|
|
791
833
|
includedTargets?: Schema$Target[];
|
|
834
|
+
/**
|
|
835
|
+
* Optional. Specifies the priority for query execution in BigQuery. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries.
|
|
836
|
+
*/
|
|
837
|
+
queryPriority?: string | null;
|
|
792
838
|
/**
|
|
793
839
|
* Optional. The service account to run workflow invocations under.
|
|
794
840
|
*/
|
|
@@ -844,6 +890,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
844
890
|
* A list of operations that matches the specified filter in the request.
|
|
845
891
|
*/
|
|
846
892
|
operations?: Schema$Operation[];
|
|
893
|
+
/**
|
|
894
|
+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
|
|
895
|
+
*/
|
|
896
|
+
unreachable?: string[] | null;
|
|
847
897
|
}
|
|
848
898
|
/**
|
|
849
899
|
* `ListReleaseConfigs` response message.
|
|
@@ -1168,6 +1218,23 @@ export declare namespace dataform_v1beta1 {
|
|
|
1168
1218
|
*/
|
|
1169
1219
|
tags?: string[] | null;
|
|
1170
1220
|
}
|
|
1221
|
+
/**
|
|
1222
|
+
* 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/).
|
|
1223
|
+
*/
|
|
1224
|
+
export interface Schema$Policy {
|
|
1225
|
+
/**
|
|
1226
|
+
* 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`.
|
|
1227
|
+
*/
|
|
1228
|
+
bindings?: Schema$Binding[];
|
|
1229
|
+
/**
|
|
1230
|
+
* `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.
|
|
1231
|
+
*/
|
|
1232
|
+
etag?: string | null;
|
|
1233
|
+
/**
|
|
1234
|
+
* 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).
|
|
1235
|
+
*/
|
|
1236
|
+
version?: number | null;
|
|
1237
|
+
}
|
|
1171
1238
|
/**
|
|
1172
1239
|
* 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.
|
|
1173
1240
|
*/
|
|
@@ -1571,6 +1638,15 @@ export declare namespace dataform_v1beta1 {
|
|
|
1571
1638
|
*/
|
|
1572
1639
|
file?: Schema$FileSearchResult;
|
|
1573
1640
|
}
|
|
1641
|
+
/**
|
|
1642
|
+
* Request message for `SetIamPolicy` method.
|
|
1643
|
+
*/
|
|
1644
|
+
export interface Schema$SetIamPolicyRequest {
|
|
1645
|
+
/**
|
|
1646
|
+
* 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.
|
|
1647
|
+
*/
|
|
1648
|
+
policy?: Schema$Policy;
|
|
1649
|
+
}
|
|
1574
1650
|
/**
|
|
1575
1651
|
* Simple load definition
|
|
1576
1652
|
*/
|
|
@@ -1642,6 +1718,24 @@ export declare namespace dataform_v1beta1 {
|
|
|
1642
1718
|
*/
|
|
1643
1719
|
schema?: string | null;
|
|
1644
1720
|
}
|
|
1721
|
+
/**
|
|
1722
|
+
* Request message for `TestIamPermissions` method.
|
|
1723
|
+
*/
|
|
1724
|
+
export interface Schema$TestIamPermissionsRequest {
|
|
1725
|
+
/**
|
|
1726
|
+
* 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).
|
|
1727
|
+
*/
|
|
1728
|
+
permissions?: string[] | null;
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Response message for `TestIamPermissions` method.
|
|
1732
|
+
*/
|
|
1733
|
+
export interface Schema$TestIamPermissionsResponse {
|
|
1734
|
+
/**
|
|
1735
|
+
* A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
1736
|
+
*/
|
|
1737
|
+
permissions?: string[] | null;
|
|
1738
|
+
}
|
|
1645
1739
|
/**
|
|
1646
1740
|
* Represents the Git state of a file with uncommitted changes.
|
|
1647
1741
|
*/
|
|
@@ -1854,8 +1948,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
1854
1948
|
}
|
|
1855
1949
|
export class Resource$Projects$Locations {
|
|
1856
1950
|
context: APIRequestContext;
|
|
1951
|
+
folders: Resource$Projects$Locations$Folders;
|
|
1857
1952
|
operations: Resource$Projects$Locations$Operations;
|
|
1858
1953
|
repositories: Resource$Projects$Locations$Repositories;
|
|
1954
|
+
teamFolders: Resource$Projects$Locations$Teamfolders;
|
|
1859
1955
|
constructor(context: APIRequestContext);
|
|
1860
1956
|
/**
|
|
1861
1957
|
* Gets information about a location.
|
|
@@ -1966,6 +2062,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
1966
2062
|
* // Example response
|
|
1967
2063
|
* // {
|
|
1968
2064
|
* // "defaultKmsKeyName": "my_defaultKmsKeyName",
|
|
2065
|
+
* // "internalMetadata": "my_internalMetadata",
|
|
1969
2066
|
* // "name": "my_name"
|
|
1970
2067
|
* // }
|
|
1971
2068
|
* }
|
|
@@ -2104,6 +2201,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
2104
2201
|
* // request body parameters
|
|
2105
2202
|
* // {
|
|
2106
2203
|
* // "defaultKmsKeyName": "my_defaultKmsKeyName",
|
|
2204
|
+
* // "internalMetadata": "my_internalMetadata",
|
|
2107
2205
|
* // "name": "my_name"
|
|
2108
2206
|
* // }
|
|
2109
2207
|
* },
|
|
@@ -2113,6 +2211,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
2113
2211
|
* // Example response
|
|
2114
2212
|
* // {
|
|
2115
2213
|
* // "defaultKmsKeyName": "my_defaultKmsKeyName",
|
|
2214
|
+
* // "internalMetadata": "my_internalMetadata",
|
|
2116
2215
|
* // "name": "my_name"
|
|
2117
2216
|
* // }
|
|
2118
2217
|
* }
|
|
@@ -2184,6 +2283,251 @@ export declare namespace dataform_v1beta1 {
|
|
|
2184
2283
|
*/
|
|
2185
2284
|
requestBody?: Schema$Config;
|
|
2186
2285
|
}
|
|
2286
|
+
export class Resource$Projects$Locations$Folders {
|
|
2287
|
+
context: APIRequestContext;
|
|
2288
|
+
constructor(context: APIRequestContext);
|
|
2289
|
+
/**
|
|
2290
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
2291
|
+
* @example
|
|
2292
|
+
* ```js
|
|
2293
|
+
* // Before running the sample:
|
|
2294
|
+
* // - Enable the API at:
|
|
2295
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
2296
|
+
* // - Login into gcloud by running:
|
|
2297
|
+
* // ```sh
|
|
2298
|
+
* // $ gcloud auth application-default login
|
|
2299
|
+
* // ```
|
|
2300
|
+
* // - Install the npm module by running:
|
|
2301
|
+
* // ```sh
|
|
2302
|
+
* // $ npm install googleapis
|
|
2303
|
+
* // ```
|
|
2304
|
+
*
|
|
2305
|
+
* const {google} = require('googleapis');
|
|
2306
|
+
* const dataform = google.dataform('v1beta1');
|
|
2307
|
+
*
|
|
2308
|
+
* async function main() {
|
|
2309
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2310
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2311
|
+
* scopes: [
|
|
2312
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
2313
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2314
|
+
* ],
|
|
2315
|
+
* });
|
|
2316
|
+
*
|
|
2317
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2318
|
+
* const authClient = await auth.getClient();
|
|
2319
|
+
* google.options({auth: authClient});
|
|
2320
|
+
*
|
|
2321
|
+
* // Do the magic
|
|
2322
|
+
* const res = await dataform.projects.locations.folders.getIamPolicy({
|
|
2323
|
+
* // 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).
|
|
2324
|
+
* 'options.requestedPolicyVersion': 'placeholder-value',
|
|
2325
|
+
* // 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.
|
|
2326
|
+
* resource: 'projects/my-project/locations/my-location/folders/my-folder',
|
|
2327
|
+
* });
|
|
2328
|
+
* console.log(res.data);
|
|
2329
|
+
*
|
|
2330
|
+
* // Example response
|
|
2331
|
+
* // {
|
|
2332
|
+
* // "bindings": [],
|
|
2333
|
+
* // "etag": "my_etag",
|
|
2334
|
+
* // "version": 0
|
|
2335
|
+
* // }
|
|
2336
|
+
* }
|
|
2337
|
+
*
|
|
2338
|
+
* main().catch(e => {
|
|
2339
|
+
* console.error(e);
|
|
2340
|
+
* throw e;
|
|
2341
|
+
* });
|
|
2342
|
+
*
|
|
2343
|
+
* ```
|
|
2344
|
+
*
|
|
2345
|
+
* @param params - Parameters for request
|
|
2346
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2347
|
+
* @param callback - Optional callback that handles the response.
|
|
2348
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2349
|
+
*/
|
|
2350
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2351
|
+
getIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
2352
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2353
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2354
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2355
|
+
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2356
|
+
/**
|
|
2357
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
2358
|
+
* @example
|
|
2359
|
+
* ```js
|
|
2360
|
+
* // Before running the sample:
|
|
2361
|
+
* // - Enable the API at:
|
|
2362
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
2363
|
+
* // - Login into gcloud by running:
|
|
2364
|
+
* // ```sh
|
|
2365
|
+
* // $ gcloud auth application-default login
|
|
2366
|
+
* // ```
|
|
2367
|
+
* // - Install the npm module by running:
|
|
2368
|
+
* // ```sh
|
|
2369
|
+
* // $ npm install googleapis
|
|
2370
|
+
* // ```
|
|
2371
|
+
*
|
|
2372
|
+
* const {google} = require('googleapis');
|
|
2373
|
+
* const dataform = google.dataform('v1beta1');
|
|
2374
|
+
*
|
|
2375
|
+
* async function main() {
|
|
2376
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2377
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2378
|
+
* scopes: [
|
|
2379
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
2380
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2381
|
+
* ],
|
|
2382
|
+
* });
|
|
2383
|
+
*
|
|
2384
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2385
|
+
* const authClient = await auth.getClient();
|
|
2386
|
+
* google.options({auth: authClient});
|
|
2387
|
+
*
|
|
2388
|
+
* // Do the magic
|
|
2389
|
+
* const res = await dataform.projects.locations.folders.setIamPolicy({
|
|
2390
|
+
* // 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.
|
|
2391
|
+
* resource: 'projects/my-project/locations/my-location/folders/my-folder',
|
|
2392
|
+
*
|
|
2393
|
+
* // Request body metadata
|
|
2394
|
+
* requestBody: {
|
|
2395
|
+
* // request body parameters
|
|
2396
|
+
* // {
|
|
2397
|
+
* // "policy": {}
|
|
2398
|
+
* // }
|
|
2399
|
+
* },
|
|
2400
|
+
* });
|
|
2401
|
+
* console.log(res.data);
|
|
2402
|
+
*
|
|
2403
|
+
* // Example response
|
|
2404
|
+
* // {
|
|
2405
|
+
* // "bindings": [],
|
|
2406
|
+
* // "etag": "my_etag",
|
|
2407
|
+
* // "version": 0
|
|
2408
|
+
* // }
|
|
2409
|
+
* }
|
|
2410
|
+
*
|
|
2411
|
+
* main().catch(e => {
|
|
2412
|
+
* console.error(e);
|
|
2413
|
+
* throw e;
|
|
2414
|
+
* });
|
|
2415
|
+
*
|
|
2416
|
+
* ```
|
|
2417
|
+
*
|
|
2418
|
+
* @param params - Parameters for request
|
|
2419
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2420
|
+
* @param callback - Optional callback that handles the response.
|
|
2421
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2422
|
+
*/
|
|
2423
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2424
|
+
setIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
2425
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2426
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2427
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2428
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2429
|
+
/**
|
|
2430
|
+
* 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.
|
|
2431
|
+
* @example
|
|
2432
|
+
* ```js
|
|
2433
|
+
* // Before running the sample:
|
|
2434
|
+
* // - Enable the API at:
|
|
2435
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
2436
|
+
* // - Login into gcloud by running:
|
|
2437
|
+
* // ```sh
|
|
2438
|
+
* // $ gcloud auth application-default login
|
|
2439
|
+
* // ```
|
|
2440
|
+
* // - Install the npm module by running:
|
|
2441
|
+
* // ```sh
|
|
2442
|
+
* // $ npm install googleapis
|
|
2443
|
+
* // ```
|
|
2444
|
+
*
|
|
2445
|
+
* const {google} = require('googleapis');
|
|
2446
|
+
* const dataform = google.dataform('v1beta1');
|
|
2447
|
+
*
|
|
2448
|
+
* async function main() {
|
|
2449
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2450
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2451
|
+
* scopes: [
|
|
2452
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
2453
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2454
|
+
* ],
|
|
2455
|
+
* });
|
|
2456
|
+
*
|
|
2457
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2458
|
+
* const authClient = await auth.getClient();
|
|
2459
|
+
* google.options({auth: authClient});
|
|
2460
|
+
*
|
|
2461
|
+
* // Do the magic
|
|
2462
|
+
* const res = await dataform.projects.locations.folders.testIamPermissions({
|
|
2463
|
+
* // 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.
|
|
2464
|
+
* resource: 'projects/my-project/locations/my-location/folders/my-folder',
|
|
2465
|
+
*
|
|
2466
|
+
* // Request body metadata
|
|
2467
|
+
* requestBody: {
|
|
2468
|
+
* // request body parameters
|
|
2469
|
+
* // {
|
|
2470
|
+
* // "permissions": []
|
|
2471
|
+
* // }
|
|
2472
|
+
* },
|
|
2473
|
+
* });
|
|
2474
|
+
* console.log(res.data);
|
|
2475
|
+
*
|
|
2476
|
+
* // Example response
|
|
2477
|
+
* // {
|
|
2478
|
+
* // "permissions": []
|
|
2479
|
+
* // }
|
|
2480
|
+
* }
|
|
2481
|
+
*
|
|
2482
|
+
* main().catch(e => {
|
|
2483
|
+
* console.error(e);
|
|
2484
|
+
* throw e;
|
|
2485
|
+
* });
|
|
2486
|
+
*
|
|
2487
|
+
* ```
|
|
2488
|
+
*
|
|
2489
|
+
* @param params - Parameters for request
|
|
2490
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2491
|
+
* @param callback - Optional callback that handles the response.
|
|
2492
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2493
|
+
*/
|
|
2494
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2495
|
+
testIamPermissions(params?: Params$Resource$Projects$Locations$Folders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
2496
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2497
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2498
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2499
|
+
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2500
|
+
}
|
|
2501
|
+
export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
|
|
2502
|
+
/**
|
|
2503
|
+
* 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).
|
|
2504
|
+
*/
|
|
2505
|
+
'options.requestedPolicyVersion'?: number;
|
|
2506
|
+
/**
|
|
2507
|
+
* 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.
|
|
2508
|
+
*/
|
|
2509
|
+
resource?: string;
|
|
2510
|
+
}
|
|
2511
|
+
export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
|
|
2512
|
+
/**
|
|
2513
|
+
* 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.
|
|
2514
|
+
*/
|
|
2515
|
+
resource?: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* Request body metadata
|
|
2518
|
+
*/
|
|
2519
|
+
requestBody?: Schema$SetIamPolicyRequest;
|
|
2520
|
+
}
|
|
2521
|
+
export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
|
|
2522
|
+
/**
|
|
2523
|
+
* 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.
|
|
2524
|
+
*/
|
|
2525
|
+
resource?: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* Request body metadata
|
|
2528
|
+
*/
|
|
2529
|
+
requestBody?: Schema$TestIamPermissionsRequest;
|
|
2530
|
+
}
|
|
2187
2531
|
export class Resource$Projects$Locations$Operations {
|
|
2188
2532
|
context: APIRequestContext;
|
|
2189
2533
|
constructor(context: APIRequestContext);
|
|
@@ -2424,13 +2768,16 @@ export declare namespace dataform_v1beta1 {
|
|
|
2424
2768
|
* pageSize: 'placeholder-value',
|
|
2425
2769
|
* // The standard list page token.
|
|
2426
2770
|
* pageToken: 'placeholder-value',
|
|
2771
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
2772
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
2427
2773
|
* });
|
|
2428
2774
|
* console.log(res.data);
|
|
2429
2775
|
*
|
|
2430
2776
|
* // Example response
|
|
2431
2777
|
* // {
|
|
2432
2778
|
* // "nextPageToken": "my_nextPageToken",
|
|
2433
|
-
* // "operations": []
|
|
2779
|
+
* // "operations": [],
|
|
2780
|
+
* // "unreachable": []
|
|
2434
2781
|
* // }
|
|
2435
2782
|
* }
|
|
2436
2783
|
*
|
|
@@ -2492,6 +2839,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
2492
2839
|
* The standard list page token.
|
|
2493
2840
|
*/
|
|
2494
2841
|
pageToken?: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
2844
|
+
*/
|
|
2845
|
+
returnPartialSuccess?: boolean;
|
|
2495
2846
|
}
|
|
2496
2847
|
export class Resource$Projects$Locations$Repositories {
|
|
2497
2848
|
context: APIRequestContext;
|
|
@@ -3003,7 +3354,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
3003
3354
|
get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
|
|
3004
3355
|
get(callback: BodyResponseCallback<Schema$Repository>): void;
|
|
3005
3356
|
/**
|
|
3006
|
-
*
|
|
3357
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3007
3358
|
* @example
|
|
3008
3359
|
* ```js
|
|
3009
3360
|
* // Before running the sample:
|
|
@@ -3035,11 +3386,79 @@ export declare namespace dataform_v1beta1 {
|
|
|
3035
3386
|
* google.options({auth: authClient});
|
|
3036
3387
|
*
|
|
3037
3388
|
* // Do the magic
|
|
3038
|
-
* const res = await dataform.projects.locations.repositories.
|
|
3039
|
-
* // Optional.
|
|
3040
|
-
*
|
|
3041
|
-
* //
|
|
3042
|
-
*
|
|
3389
|
+
* const res = await dataform.projects.locations.repositories.getIamPolicy({
|
|
3390
|
+
* // 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).
|
|
3391
|
+
* 'options.requestedPolicyVersion': 'placeholder-value',
|
|
3392
|
+
* // 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.
|
|
3393
|
+
* resource:
|
|
3394
|
+
* 'projects/my-project/locations/my-location/repositories/my-repositorie',
|
|
3395
|
+
* });
|
|
3396
|
+
* console.log(res.data);
|
|
3397
|
+
*
|
|
3398
|
+
* // Example response
|
|
3399
|
+
* // {
|
|
3400
|
+
* // "bindings": [],
|
|
3401
|
+
* // "etag": "my_etag",
|
|
3402
|
+
* // "version": 0
|
|
3403
|
+
* // }
|
|
3404
|
+
* }
|
|
3405
|
+
*
|
|
3406
|
+
* main().catch(e => {
|
|
3407
|
+
* console.error(e);
|
|
3408
|
+
* throw e;
|
|
3409
|
+
* });
|
|
3410
|
+
*
|
|
3411
|
+
* ```
|
|
3412
|
+
*
|
|
3413
|
+
* @param params - Parameters for request
|
|
3414
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3415
|
+
* @param callback - Optional callback that handles the response.
|
|
3416
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3417
|
+
*/
|
|
3418
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3419
|
+
getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3420
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3421
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3422
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3423
|
+
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3424
|
+
/**
|
|
3425
|
+
* 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)*.
|
|
3426
|
+
* @example
|
|
3427
|
+
* ```js
|
|
3428
|
+
* // Before running the sample:
|
|
3429
|
+
* // - Enable the API at:
|
|
3430
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
3431
|
+
* // - Login into gcloud by running:
|
|
3432
|
+
* // ```sh
|
|
3433
|
+
* // $ gcloud auth application-default login
|
|
3434
|
+
* // ```
|
|
3435
|
+
* // - Install the npm module by running:
|
|
3436
|
+
* // ```sh
|
|
3437
|
+
* // $ npm install googleapis
|
|
3438
|
+
* // ```
|
|
3439
|
+
*
|
|
3440
|
+
* const {google} = require('googleapis');
|
|
3441
|
+
* const dataform = google.dataform('v1beta1');
|
|
3442
|
+
*
|
|
3443
|
+
* async function main() {
|
|
3444
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3445
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3446
|
+
* scopes: [
|
|
3447
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
3448
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
3449
|
+
* ],
|
|
3450
|
+
* });
|
|
3451
|
+
*
|
|
3452
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3453
|
+
* const authClient = await auth.getClient();
|
|
3454
|
+
* google.options({auth: authClient});
|
|
3455
|
+
*
|
|
3456
|
+
* // Do the magic
|
|
3457
|
+
* const res = await dataform.projects.locations.repositories.list({
|
|
3458
|
+
* // Optional. Filter for the returned list.
|
|
3459
|
+
* filter: 'placeholder-value',
|
|
3460
|
+
* // 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.
|
|
3461
|
+
* orderBy: 'placeholder-value',
|
|
3043
3462
|
* // 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
3463
|
* pageSize: 'placeholder-value',
|
|
3045
3464
|
* // 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.
|
|
@@ -3310,6 +3729,154 @@ export declare namespace dataform_v1beta1 {
|
|
|
3310
3729
|
readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: MethodOptions | BodyResponseCallback<Schema$ReadRepositoryFileResponse>, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
|
|
3311
3730
|
readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
|
|
3312
3731
|
readFile(callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
|
|
3732
|
+
/**
|
|
3733
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3734
|
+
* @example
|
|
3735
|
+
* ```js
|
|
3736
|
+
* // Before running the sample:
|
|
3737
|
+
* // - Enable the API at:
|
|
3738
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
3739
|
+
* // - Login into gcloud by running:
|
|
3740
|
+
* // ```sh
|
|
3741
|
+
* // $ gcloud auth application-default login
|
|
3742
|
+
* // ```
|
|
3743
|
+
* // - Install the npm module by running:
|
|
3744
|
+
* // ```sh
|
|
3745
|
+
* // $ npm install googleapis
|
|
3746
|
+
* // ```
|
|
3747
|
+
*
|
|
3748
|
+
* const {google} = require('googleapis');
|
|
3749
|
+
* const dataform = google.dataform('v1beta1');
|
|
3750
|
+
*
|
|
3751
|
+
* async function main() {
|
|
3752
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3753
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3754
|
+
* scopes: [
|
|
3755
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
3756
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
3757
|
+
* ],
|
|
3758
|
+
* });
|
|
3759
|
+
*
|
|
3760
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3761
|
+
* const authClient = await auth.getClient();
|
|
3762
|
+
* google.options({auth: authClient});
|
|
3763
|
+
*
|
|
3764
|
+
* // Do the magic
|
|
3765
|
+
* const res = await dataform.projects.locations.repositories.setIamPolicy({
|
|
3766
|
+
* // 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.
|
|
3767
|
+
* resource:
|
|
3768
|
+
* 'projects/my-project/locations/my-location/repositories/my-repositorie',
|
|
3769
|
+
*
|
|
3770
|
+
* // Request body metadata
|
|
3771
|
+
* requestBody: {
|
|
3772
|
+
* // request body parameters
|
|
3773
|
+
* // {
|
|
3774
|
+
* // "policy": {}
|
|
3775
|
+
* // }
|
|
3776
|
+
* },
|
|
3777
|
+
* });
|
|
3778
|
+
* console.log(res.data);
|
|
3779
|
+
*
|
|
3780
|
+
* // Example response
|
|
3781
|
+
* // {
|
|
3782
|
+
* // "bindings": [],
|
|
3783
|
+
* // "etag": "my_etag",
|
|
3784
|
+
* // "version": 0
|
|
3785
|
+
* // }
|
|
3786
|
+
* }
|
|
3787
|
+
*
|
|
3788
|
+
* main().catch(e => {
|
|
3789
|
+
* console.error(e);
|
|
3790
|
+
* throw e;
|
|
3791
|
+
* });
|
|
3792
|
+
*
|
|
3793
|
+
* ```
|
|
3794
|
+
*
|
|
3795
|
+
* @param params - Parameters for request
|
|
3796
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3797
|
+
* @param callback - Optional callback that handles the response.
|
|
3798
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3799
|
+
*/
|
|
3800
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3801
|
+
setIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3802
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3803
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3804
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3805
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3806
|
+
/**
|
|
3807
|
+
* 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.
|
|
3808
|
+
* @example
|
|
3809
|
+
* ```js
|
|
3810
|
+
* // Before running the sample:
|
|
3811
|
+
* // - Enable the API at:
|
|
3812
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
3813
|
+
* // - Login into gcloud by running:
|
|
3814
|
+
* // ```sh
|
|
3815
|
+
* // $ gcloud auth application-default login
|
|
3816
|
+
* // ```
|
|
3817
|
+
* // - Install the npm module by running:
|
|
3818
|
+
* // ```sh
|
|
3819
|
+
* // $ npm install googleapis
|
|
3820
|
+
* // ```
|
|
3821
|
+
*
|
|
3822
|
+
* const {google} = require('googleapis');
|
|
3823
|
+
* const dataform = google.dataform('v1beta1');
|
|
3824
|
+
*
|
|
3825
|
+
* async function main() {
|
|
3826
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3827
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3828
|
+
* scopes: [
|
|
3829
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
3830
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
3831
|
+
* ],
|
|
3832
|
+
* });
|
|
3833
|
+
*
|
|
3834
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3835
|
+
* const authClient = await auth.getClient();
|
|
3836
|
+
* google.options({auth: authClient});
|
|
3837
|
+
*
|
|
3838
|
+
* // Do the magic
|
|
3839
|
+
* const res = await dataform.projects.locations.repositories.testIamPermissions(
|
|
3840
|
+
* {
|
|
3841
|
+
* // 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.
|
|
3842
|
+
* resource:
|
|
3843
|
+
* 'projects/my-project/locations/my-location/repositories/my-repositorie',
|
|
3844
|
+
*
|
|
3845
|
+
* // Request body metadata
|
|
3846
|
+
* requestBody: {
|
|
3847
|
+
* // request body parameters
|
|
3848
|
+
* // {
|
|
3849
|
+
* // "permissions": []
|
|
3850
|
+
* // }
|
|
3851
|
+
* },
|
|
3852
|
+
* },
|
|
3853
|
+
* );
|
|
3854
|
+
* console.log(res.data);
|
|
3855
|
+
*
|
|
3856
|
+
* // Example response
|
|
3857
|
+
* // {
|
|
3858
|
+
* // "permissions": []
|
|
3859
|
+
* // }
|
|
3860
|
+
* }
|
|
3861
|
+
*
|
|
3862
|
+
* main().catch(e => {
|
|
3863
|
+
* console.error(e);
|
|
3864
|
+
* throw e;
|
|
3865
|
+
* });
|
|
3866
|
+
*
|
|
3867
|
+
* ```
|
|
3868
|
+
*
|
|
3869
|
+
* @param params - Parameters for request
|
|
3870
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3871
|
+
* @param callback - Optional callback that handles the response.
|
|
3872
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3873
|
+
*/
|
|
3874
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3875
|
+
testIamPermissions(params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
3876
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3877
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3878
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3879
|
+
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3313
3880
|
}
|
|
3314
3881
|
export interface Params$Resource$Projects$Locations$Repositories$Commit extends StandardParameters {
|
|
3315
3882
|
/**
|
|
@@ -3377,6 +3944,16 @@ export declare namespace dataform_v1beta1 {
|
|
|
3377
3944
|
*/
|
|
3378
3945
|
name?: string;
|
|
3379
3946
|
}
|
|
3947
|
+
export interface Params$Resource$Projects$Locations$Repositories$Getiampolicy extends StandardParameters {
|
|
3948
|
+
/**
|
|
3949
|
+
* 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).
|
|
3950
|
+
*/
|
|
3951
|
+
'options.requestedPolicyVersion'?: number;
|
|
3952
|
+
/**
|
|
3953
|
+
* 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.
|
|
3954
|
+
*/
|
|
3955
|
+
resource?: string;
|
|
3956
|
+
}
|
|
3380
3957
|
export interface Params$Resource$Projects$Locations$Repositories$List extends StandardParameters {
|
|
3381
3958
|
/**
|
|
3382
3959
|
* Optional. Filter for the returned list.
|
|
@@ -3449,6 +4026,26 @@ export declare namespace dataform_v1beta1 {
|
|
|
3449
4026
|
*/
|
|
3450
4027
|
path?: string;
|
|
3451
4028
|
}
|
|
4029
|
+
export interface Params$Resource$Projects$Locations$Repositories$Setiampolicy extends StandardParameters {
|
|
4030
|
+
/**
|
|
4031
|
+
* 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.
|
|
4032
|
+
*/
|
|
4033
|
+
resource?: string;
|
|
4034
|
+
/**
|
|
4035
|
+
* Request body metadata
|
|
4036
|
+
*/
|
|
4037
|
+
requestBody?: Schema$SetIamPolicyRequest;
|
|
4038
|
+
}
|
|
4039
|
+
export interface Params$Resource$Projects$Locations$Repositories$Testiampermissions extends StandardParameters {
|
|
4040
|
+
/**
|
|
4041
|
+
* 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.
|
|
4042
|
+
*/
|
|
4043
|
+
resource?: string;
|
|
4044
|
+
/**
|
|
4045
|
+
* Request body metadata
|
|
4046
|
+
*/
|
|
4047
|
+
requestBody?: Schema$TestIamPermissionsRequest;
|
|
4048
|
+
}
|
|
3452
4049
|
export class Resource$Projects$Locations$Repositories$Compilationresults {
|
|
3453
4050
|
context: APIRequestContext;
|
|
3454
4051
|
constructor(context: APIRequestContext);
|
|
@@ -5706,6 +6303,75 @@ export declare namespace dataform_v1beta1 {
|
|
|
5706
6303
|
get(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, options: MethodOptions | BodyResponseCallback<Schema$Workspace>, callback: BodyResponseCallback<Schema$Workspace>): void;
|
|
5707
6304
|
get(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, callback: BodyResponseCallback<Schema$Workspace>): void;
|
|
5708
6305
|
get(callback: BodyResponseCallback<Schema$Workspace>): void;
|
|
6306
|
+
/**
|
|
6307
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
6308
|
+
* @example
|
|
6309
|
+
* ```js
|
|
6310
|
+
* // Before running the sample:
|
|
6311
|
+
* // - Enable the API at:
|
|
6312
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
6313
|
+
* // - Login into gcloud by running:
|
|
6314
|
+
* // ```sh
|
|
6315
|
+
* // $ gcloud auth application-default login
|
|
6316
|
+
* // ```
|
|
6317
|
+
* // - Install the npm module by running:
|
|
6318
|
+
* // ```sh
|
|
6319
|
+
* // $ npm install googleapis
|
|
6320
|
+
* // ```
|
|
6321
|
+
*
|
|
6322
|
+
* const {google} = require('googleapis');
|
|
6323
|
+
* const dataform = google.dataform('v1beta1');
|
|
6324
|
+
*
|
|
6325
|
+
* async function main() {
|
|
6326
|
+
* const auth = new google.auth.GoogleAuth({
|
|
6327
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6328
|
+
* scopes: [
|
|
6329
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
6330
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
6331
|
+
* ],
|
|
6332
|
+
* });
|
|
6333
|
+
*
|
|
6334
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
6335
|
+
* const authClient = await auth.getClient();
|
|
6336
|
+
* google.options({auth: authClient});
|
|
6337
|
+
*
|
|
6338
|
+
* // Do the magic
|
|
6339
|
+
* const res =
|
|
6340
|
+
* await dataform.projects.locations.repositories.workspaces.getIamPolicy({
|
|
6341
|
+
* // 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).
|
|
6342
|
+
* 'options.requestedPolicyVersion': 'placeholder-value',
|
|
6343
|
+
* // 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.
|
|
6344
|
+
* resource:
|
|
6345
|
+
* 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
|
|
6346
|
+
* });
|
|
6347
|
+
* console.log(res.data);
|
|
6348
|
+
*
|
|
6349
|
+
* // Example response
|
|
6350
|
+
* // {
|
|
6351
|
+
* // "bindings": [],
|
|
6352
|
+
* // "etag": "my_etag",
|
|
6353
|
+
* // "version": 0
|
|
6354
|
+
* // }
|
|
6355
|
+
* }
|
|
6356
|
+
*
|
|
6357
|
+
* main().catch(e => {
|
|
6358
|
+
* console.error(e);
|
|
6359
|
+
* throw e;
|
|
6360
|
+
* });
|
|
6361
|
+
*
|
|
6362
|
+
* ```
|
|
6363
|
+
*
|
|
6364
|
+
* @param params - Parameters for request
|
|
6365
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6366
|
+
* @param callback - Optional callback that handles the response.
|
|
6367
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6368
|
+
*/
|
|
6369
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6370
|
+
getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
6371
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6372
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
6373
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
6374
|
+
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
5709
6375
|
/**
|
|
5710
6376
|
* Installs dependency NPM packages (inside a Workspace).
|
|
5711
6377
|
* @example
|
|
@@ -6633,7 +7299,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
6633
7299
|
searchFiles(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Searchfiles, callback: BodyResponseCallback<Schema$SearchFilesResponse>): void;
|
|
6634
7300
|
searchFiles(callback: BodyResponseCallback<Schema$SearchFilesResponse>): void;
|
|
6635
7301
|
/**
|
|
6636
|
-
*
|
|
7302
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
6637
7303
|
* @example
|
|
6638
7304
|
* ```js
|
|
6639
7305
|
* // Before running the sample:
|
|
@@ -6666,9 +7332,159 @@ export declare namespace dataform_v1beta1 {
|
|
|
6666
7332
|
*
|
|
6667
7333
|
* // Do the magic
|
|
6668
7334
|
* const res =
|
|
6669
|
-
* await dataform.projects.locations.repositories.workspaces.
|
|
6670
|
-
* //
|
|
6671
|
-
*
|
|
7335
|
+
* await dataform.projects.locations.repositories.workspaces.setIamPolicy({
|
|
7336
|
+
* // 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.
|
|
7337
|
+
* resource:
|
|
7338
|
+
* 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
|
|
7339
|
+
*
|
|
7340
|
+
* // Request body metadata
|
|
7341
|
+
* requestBody: {
|
|
7342
|
+
* // request body parameters
|
|
7343
|
+
* // {
|
|
7344
|
+
* // "policy": {}
|
|
7345
|
+
* // }
|
|
7346
|
+
* },
|
|
7347
|
+
* });
|
|
7348
|
+
* console.log(res.data);
|
|
7349
|
+
*
|
|
7350
|
+
* // Example response
|
|
7351
|
+
* // {
|
|
7352
|
+
* // "bindings": [],
|
|
7353
|
+
* // "etag": "my_etag",
|
|
7354
|
+
* // "version": 0
|
|
7355
|
+
* // }
|
|
7356
|
+
* }
|
|
7357
|
+
*
|
|
7358
|
+
* main().catch(e => {
|
|
7359
|
+
* console.error(e);
|
|
7360
|
+
* throw e;
|
|
7361
|
+
* });
|
|
7362
|
+
*
|
|
7363
|
+
* ```
|
|
7364
|
+
*
|
|
7365
|
+
* @param params - Parameters for request
|
|
7366
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7367
|
+
* @param callback - Optional callback that handles the response.
|
|
7368
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7369
|
+
*/
|
|
7370
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7371
|
+
setIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
7372
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7373
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7374
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7375
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7376
|
+
/**
|
|
7377
|
+
* 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.
|
|
7378
|
+
* @example
|
|
7379
|
+
* ```js
|
|
7380
|
+
* // Before running the sample:
|
|
7381
|
+
* // - Enable the API at:
|
|
7382
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
7383
|
+
* // - Login into gcloud by running:
|
|
7384
|
+
* // ```sh
|
|
7385
|
+
* // $ gcloud auth application-default login
|
|
7386
|
+
* // ```
|
|
7387
|
+
* // - Install the npm module by running:
|
|
7388
|
+
* // ```sh
|
|
7389
|
+
* // $ npm install googleapis
|
|
7390
|
+
* // ```
|
|
7391
|
+
*
|
|
7392
|
+
* const {google} = require('googleapis');
|
|
7393
|
+
* const dataform = google.dataform('v1beta1');
|
|
7394
|
+
*
|
|
7395
|
+
* async function main() {
|
|
7396
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7397
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7398
|
+
* scopes: [
|
|
7399
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
7400
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
7401
|
+
* ],
|
|
7402
|
+
* });
|
|
7403
|
+
*
|
|
7404
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7405
|
+
* const authClient = await auth.getClient();
|
|
7406
|
+
* google.options({auth: authClient});
|
|
7407
|
+
*
|
|
7408
|
+
* // Do the magic
|
|
7409
|
+
* const res =
|
|
7410
|
+
* await dataform.projects.locations.repositories.workspaces.testIamPermissions(
|
|
7411
|
+
* {
|
|
7412
|
+
* // 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.
|
|
7413
|
+
* resource:
|
|
7414
|
+
* 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
|
|
7415
|
+
*
|
|
7416
|
+
* // Request body metadata
|
|
7417
|
+
* requestBody: {
|
|
7418
|
+
* // request body parameters
|
|
7419
|
+
* // {
|
|
7420
|
+
* // "permissions": []
|
|
7421
|
+
* // }
|
|
7422
|
+
* },
|
|
7423
|
+
* },
|
|
7424
|
+
* );
|
|
7425
|
+
* console.log(res.data);
|
|
7426
|
+
*
|
|
7427
|
+
* // Example response
|
|
7428
|
+
* // {
|
|
7429
|
+
* // "permissions": []
|
|
7430
|
+
* // }
|
|
7431
|
+
* }
|
|
7432
|
+
*
|
|
7433
|
+
* main().catch(e => {
|
|
7434
|
+
* console.error(e);
|
|
7435
|
+
* throw e;
|
|
7436
|
+
* });
|
|
7437
|
+
*
|
|
7438
|
+
* ```
|
|
7439
|
+
*
|
|
7440
|
+
* @param params - Parameters for request
|
|
7441
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7442
|
+
* @param callback - Optional callback that handles the response.
|
|
7443
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7444
|
+
*/
|
|
7445
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7446
|
+
testIamPermissions(params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
7447
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7448
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
7449
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
7450
|
+
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
7451
|
+
/**
|
|
7452
|
+
* Writes to a file (inside a Workspace).
|
|
7453
|
+
* @example
|
|
7454
|
+
* ```js
|
|
7455
|
+
* // Before running the sample:
|
|
7456
|
+
* // - Enable the API at:
|
|
7457
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
7458
|
+
* // - Login into gcloud by running:
|
|
7459
|
+
* // ```sh
|
|
7460
|
+
* // $ gcloud auth application-default login
|
|
7461
|
+
* // ```
|
|
7462
|
+
* // - Install the npm module by running:
|
|
7463
|
+
* // ```sh
|
|
7464
|
+
* // $ npm install googleapis
|
|
7465
|
+
* // ```
|
|
7466
|
+
*
|
|
7467
|
+
* const {google} = require('googleapis');
|
|
7468
|
+
* const dataform = google.dataform('v1beta1');
|
|
7469
|
+
*
|
|
7470
|
+
* async function main() {
|
|
7471
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7472
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7473
|
+
* scopes: [
|
|
7474
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
7475
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
7476
|
+
* ],
|
|
7477
|
+
* });
|
|
7478
|
+
*
|
|
7479
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7480
|
+
* const authClient = await auth.getClient();
|
|
7481
|
+
* google.options({auth: authClient});
|
|
7482
|
+
*
|
|
7483
|
+
* // Do the magic
|
|
7484
|
+
* const res =
|
|
7485
|
+
* await dataform.projects.locations.repositories.workspaces.writeFile({
|
|
7486
|
+
* // Required. The workspace's name.
|
|
7487
|
+
* workspace:
|
|
6672
7488
|
* 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
|
|
6673
7489
|
*
|
|
6674
7490
|
* // Request body metadata
|
|
@@ -6767,6 +7583,16 @@ export declare namespace dataform_v1beta1 {
|
|
|
6767
7583
|
*/
|
|
6768
7584
|
name?: string;
|
|
6769
7585
|
}
|
|
7586
|
+
export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy extends StandardParameters {
|
|
7587
|
+
/**
|
|
7588
|
+
* 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).
|
|
7589
|
+
*/
|
|
7590
|
+
'options.requestedPolicyVersion'?: number;
|
|
7591
|
+
/**
|
|
7592
|
+
* 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.
|
|
7593
|
+
*/
|
|
7594
|
+
resource?: string;
|
|
7595
|
+
}
|
|
6770
7596
|
export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Installnpmpackages extends StandardParameters {
|
|
6771
7597
|
/**
|
|
6772
7598
|
* Required. The workspace's name.
|
|
@@ -6929,6 +7755,26 @@ export declare namespace dataform_v1beta1 {
|
|
|
6929
7755
|
*/
|
|
6930
7756
|
workspace?: string;
|
|
6931
7757
|
}
|
|
7758
|
+
export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy extends StandardParameters {
|
|
7759
|
+
/**
|
|
7760
|
+
* 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.
|
|
7761
|
+
*/
|
|
7762
|
+
resource?: string;
|
|
7763
|
+
/**
|
|
7764
|
+
* Request body metadata
|
|
7765
|
+
*/
|
|
7766
|
+
requestBody?: Schema$SetIamPolicyRequest;
|
|
7767
|
+
}
|
|
7768
|
+
export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions extends StandardParameters {
|
|
7769
|
+
/**
|
|
7770
|
+
* 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.
|
|
7771
|
+
*/
|
|
7772
|
+
resource?: string;
|
|
7773
|
+
/**
|
|
7774
|
+
* Request body metadata
|
|
7775
|
+
*/
|
|
7776
|
+
requestBody?: Schema$TestIamPermissionsRequest;
|
|
7777
|
+
}
|
|
6932
7778
|
export interface Params$Resource$Projects$Locations$Repositories$Workspaces$Writefile extends StandardParameters {
|
|
6933
7779
|
/**
|
|
6934
7780
|
* Required. The workspace's name.
|
|
@@ -6939,5 +7785,253 @@ export declare namespace dataform_v1beta1 {
|
|
|
6939
7785
|
*/
|
|
6940
7786
|
requestBody?: Schema$WriteFileRequest;
|
|
6941
7787
|
}
|
|
7788
|
+
export class Resource$Projects$Locations$Teamfolders {
|
|
7789
|
+
context: APIRequestContext;
|
|
7790
|
+
constructor(context: APIRequestContext);
|
|
7791
|
+
/**
|
|
7792
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
7793
|
+
* @example
|
|
7794
|
+
* ```js
|
|
7795
|
+
* // Before running the sample:
|
|
7796
|
+
* // - Enable the API at:
|
|
7797
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
7798
|
+
* // - Login into gcloud by running:
|
|
7799
|
+
* // ```sh
|
|
7800
|
+
* // $ gcloud auth application-default login
|
|
7801
|
+
* // ```
|
|
7802
|
+
* // - Install the npm module by running:
|
|
7803
|
+
* // ```sh
|
|
7804
|
+
* // $ npm install googleapis
|
|
7805
|
+
* // ```
|
|
7806
|
+
*
|
|
7807
|
+
* const {google} = require('googleapis');
|
|
7808
|
+
* const dataform = google.dataform('v1beta1');
|
|
7809
|
+
*
|
|
7810
|
+
* async function main() {
|
|
7811
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7812
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7813
|
+
* scopes: [
|
|
7814
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
7815
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
7816
|
+
* ],
|
|
7817
|
+
* });
|
|
7818
|
+
*
|
|
7819
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7820
|
+
* const authClient = await auth.getClient();
|
|
7821
|
+
* google.options({auth: authClient});
|
|
7822
|
+
*
|
|
7823
|
+
* // Do the magic
|
|
7824
|
+
* const res = await dataform.projects.locations.teamFolders.getIamPolicy({
|
|
7825
|
+
* // 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).
|
|
7826
|
+
* 'options.requestedPolicyVersion': 'placeholder-value',
|
|
7827
|
+
* // 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.
|
|
7828
|
+
* resource:
|
|
7829
|
+
* 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
|
|
7830
|
+
* });
|
|
7831
|
+
* console.log(res.data);
|
|
7832
|
+
*
|
|
7833
|
+
* // Example response
|
|
7834
|
+
* // {
|
|
7835
|
+
* // "bindings": [],
|
|
7836
|
+
* // "etag": "my_etag",
|
|
7837
|
+
* // "version": 0
|
|
7838
|
+
* // }
|
|
7839
|
+
* }
|
|
7840
|
+
*
|
|
7841
|
+
* main().catch(e => {
|
|
7842
|
+
* console.error(e);
|
|
7843
|
+
* throw e;
|
|
7844
|
+
* });
|
|
7845
|
+
*
|
|
7846
|
+
* ```
|
|
7847
|
+
*
|
|
7848
|
+
* @param params - Parameters for request
|
|
7849
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7850
|
+
* @param callback - Optional callback that handles the response.
|
|
7851
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7852
|
+
*/
|
|
7853
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7854
|
+
getIamPolicy(params?: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
7855
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7856
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7857
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7858
|
+
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7859
|
+
/**
|
|
7860
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
7861
|
+
* @example
|
|
7862
|
+
* ```js
|
|
7863
|
+
* // Before running the sample:
|
|
7864
|
+
* // - Enable the API at:
|
|
7865
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
7866
|
+
* // - Login into gcloud by running:
|
|
7867
|
+
* // ```sh
|
|
7868
|
+
* // $ gcloud auth application-default login
|
|
7869
|
+
* // ```
|
|
7870
|
+
* // - Install the npm module by running:
|
|
7871
|
+
* // ```sh
|
|
7872
|
+
* // $ npm install googleapis
|
|
7873
|
+
* // ```
|
|
7874
|
+
*
|
|
7875
|
+
* const {google} = require('googleapis');
|
|
7876
|
+
* const dataform = google.dataform('v1beta1');
|
|
7877
|
+
*
|
|
7878
|
+
* async function main() {
|
|
7879
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7880
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7881
|
+
* scopes: [
|
|
7882
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
7883
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
7884
|
+
* ],
|
|
7885
|
+
* });
|
|
7886
|
+
*
|
|
7887
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7888
|
+
* const authClient = await auth.getClient();
|
|
7889
|
+
* google.options({auth: authClient});
|
|
7890
|
+
*
|
|
7891
|
+
* // Do the magic
|
|
7892
|
+
* const res = await dataform.projects.locations.teamFolders.setIamPolicy({
|
|
7893
|
+
* // 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.
|
|
7894
|
+
* resource:
|
|
7895
|
+
* 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
|
|
7896
|
+
*
|
|
7897
|
+
* // Request body metadata
|
|
7898
|
+
* requestBody: {
|
|
7899
|
+
* // request body parameters
|
|
7900
|
+
* // {
|
|
7901
|
+
* // "policy": {}
|
|
7902
|
+
* // }
|
|
7903
|
+
* },
|
|
7904
|
+
* });
|
|
7905
|
+
* console.log(res.data);
|
|
7906
|
+
*
|
|
7907
|
+
* // Example response
|
|
7908
|
+
* // {
|
|
7909
|
+
* // "bindings": [],
|
|
7910
|
+
* // "etag": "my_etag",
|
|
7911
|
+
* // "version": 0
|
|
7912
|
+
* // }
|
|
7913
|
+
* }
|
|
7914
|
+
*
|
|
7915
|
+
* main().catch(e => {
|
|
7916
|
+
* console.error(e);
|
|
7917
|
+
* throw e;
|
|
7918
|
+
* });
|
|
7919
|
+
*
|
|
7920
|
+
* ```
|
|
7921
|
+
*
|
|
7922
|
+
* @param params - Parameters for request
|
|
7923
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7924
|
+
* @param callback - Optional callback that handles the response.
|
|
7925
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7926
|
+
*/
|
|
7927
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7928
|
+
setIamPolicy(params?: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
7929
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7930
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7931
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7932
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7933
|
+
/**
|
|
7934
|
+
* 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.
|
|
7935
|
+
* @example
|
|
7936
|
+
* ```js
|
|
7937
|
+
* // Before running the sample:
|
|
7938
|
+
* // - Enable the API at:
|
|
7939
|
+
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
7940
|
+
* // - Login into gcloud by running:
|
|
7941
|
+
* // ```sh
|
|
7942
|
+
* // $ gcloud auth application-default login
|
|
7943
|
+
* // ```
|
|
7944
|
+
* // - Install the npm module by running:
|
|
7945
|
+
* // ```sh
|
|
7946
|
+
* // $ npm install googleapis
|
|
7947
|
+
* // ```
|
|
7948
|
+
*
|
|
7949
|
+
* const {google} = require('googleapis');
|
|
7950
|
+
* const dataform = google.dataform('v1beta1');
|
|
7951
|
+
*
|
|
7952
|
+
* async function main() {
|
|
7953
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7954
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7955
|
+
* scopes: [
|
|
7956
|
+
* 'https://www.googleapis.com/auth/bigquery',
|
|
7957
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
7958
|
+
* ],
|
|
7959
|
+
* });
|
|
7960
|
+
*
|
|
7961
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7962
|
+
* const authClient = await auth.getClient();
|
|
7963
|
+
* google.options({auth: authClient});
|
|
7964
|
+
*
|
|
7965
|
+
* // Do the magic
|
|
7966
|
+
* const res = await dataform.projects.locations.teamFolders.testIamPermissions({
|
|
7967
|
+
* // 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.
|
|
7968
|
+
* resource:
|
|
7969
|
+
* 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
|
|
7970
|
+
*
|
|
7971
|
+
* // Request body metadata
|
|
7972
|
+
* requestBody: {
|
|
7973
|
+
* // request body parameters
|
|
7974
|
+
* // {
|
|
7975
|
+
* // "permissions": []
|
|
7976
|
+
* // }
|
|
7977
|
+
* },
|
|
7978
|
+
* });
|
|
7979
|
+
* console.log(res.data);
|
|
7980
|
+
*
|
|
7981
|
+
* // Example response
|
|
7982
|
+
* // {
|
|
7983
|
+
* // "permissions": []
|
|
7984
|
+
* // }
|
|
7985
|
+
* }
|
|
7986
|
+
*
|
|
7987
|
+
* main().catch(e => {
|
|
7988
|
+
* console.error(e);
|
|
7989
|
+
* throw e;
|
|
7990
|
+
* });
|
|
7991
|
+
*
|
|
7992
|
+
* ```
|
|
7993
|
+
*
|
|
7994
|
+
* @param params - Parameters for request
|
|
7995
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7996
|
+
* @param callback - Optional callback that handles the response.
|
|
7997
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7998
|
+
*/
|
|
7999
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8000
|
+
testIamPermissions(params?: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
8001
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
8002
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
8003
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
8004
|
+
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
8005
|
+
}
|
|
8006
|
+
export interface Params$Resource$Projects$Locations$Teamfolders$Getiampolicy extends StandardParameters {
|
|
8007
|
+
/**
|
|
8008
|
+
* 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).
|
|
8009
|
+
*/
|
|
8010
|
+
'options.requestedPolicyVersion'?: number;
|
|
8011
|
+
/**
|
|
8012
|
+
* 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.
|
|
8013
|
+
*/
|
|
8014
|
+
resource?: string;
|
|
8015
|
+
}
|
|
8016
|
+
export interface Params$Resource$Projects$Locations$Teamfolders$Setiampolicy extends StandardParameters {
|
|
8017
|
+
/**
|
|
8018
|
+
* 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.
|
|
8019
|
+
*/
|
|
8020
|
+
resource?: string;
|
|
8021
|
+
/**
|
|
8022
|
+
* Request body metadata
|
|
8023
|
+
*/
|
|
8024
|
+
requestBody?: Schema$SetIamPolicyRequest;
|
|
8025
|
+
}
|
|
8026
|
+
export interface Params$Resource$Projects$Locations$Teamfolders$Testiampermissions extends StandardParameters {
|
|
8027
|
+
/**
|
|
8028
|
+
* 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.
|
|
8029
|
+
*/
|
|
8030
|
+
resource?: string;
|
|
8031
|
+
/**
|
|
8032
|
+
* Request body metadata
|
|
8033
|
+
*/
|
|
8034
|
+
requestBody?: Schema$TestIamPermissionsRequest;
|
|
8035
|
+
}
|
|
6942
8036
|
export {};
|
|
6943
8037
|
}
|