Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 47af8d4

Browse files
feat: AuditConfig for IAM v1 (#48)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 439356405 Source-Link: googleapis/googleapis@afa2ba1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3e40c17e1510c95fab58fc2143ccb61cceca5989 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2U0MGMxN2UxNTEwYzk1ZmFiNThmYzIxNDNjY2I2MWNjZWNhNTk4OSJ9
1 parent 5ae6e1b commit 47af8d4

8 files changed

Lines changed: 40 additions & 6 deletions

samples/generated/v1/identity_aware_proxy_admin_service.get_iam_policy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function main(resource) {
3232
// const resource = 'abc123'
3333
/**
3434
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
35-
* `GetIamPolicy`. This field is only used by Cloud IAM.
35+
* `GetIamPolicy`.
3636
*/
3737
// const options = {}
3838

samples/generated/v1/identity_aware_proxy_admin_service.set_iam_policy.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ function main(resource, policy) {
3737
* might reject them.
3838
*/
3939
// const policy = {}
40+
/**
41+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
42+
* the fields in the mask will be modified. If no mask is provided, the
43+
* following default mask is used:
44+
* `paths: "bindings, etag"`
45+
*/
46+
// const updateMask = {}
4047

4148
// Imports the Iap library
4249
const {IdentityAwareProxyAdminServiceClient} = require('@google-cloud/iap').v1;

samples/generated/v1/snippet_metadata.google.cloud.iap.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"segments": [
2323
{
2424
"start": 25,
25-
"end": 59,
25+
"end": 66,
2626
"type": "FULL"
2727
}
2828
],
@@ -38,6 +38,10 @@
3838
{
3939
"name": "policy",
4040
"type": ".google.iam.v1.Policy"
41+
},
42+
{
43+
"name": "update_mask",
44+
"type": ".google.protobuf.FieldMask"
4145
}
4246
],
4347
"resultType": ".google.iam.v1.Policy",

samples/generated/v1beta1/identity_aware_proxy_admin_v1_beta1.get_iam_policy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function main(resource) {
3232
// const resource = 'abc123'
3333
/**
3434
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
35-
* `GetIamPolicy`. This field is only used by Cloud IAM.
35+
* `GetIamPolicy`.
3636
*/
3737
// const options = {}
3838

samples/generated/v1beta1/identity_aware_proxy_admin_v1_beta1.set_iam_policy.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ function main(resource, policy) {
3737
* might reject them.
3838
*/
3939
// const policy = {}
40+
/**
41+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
42+
* the fields in the mask will be modified. If no mask is provided, the
43+
* following default mask is used:
44+
* `paths: "bindings, etag"`
45+
*/
46+
// const updateMask = {}
4047

4148
// Imports the Iap library
4249
const {IdentityAwareProxyAdminV1Beta1Client} = require('@google-cloud/iap').v1beta1;

samples/generated/v1beta1/snippet_metadata.google.cloud.iap.v1beta1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"segments": [
2323
{
2424
"start": 25,
25-
"end": 59,
25+
"end": 66,
2626
"type": "FULL"
2727
}
2828
],
@@ -38,6 +38,10 @@
3838
{
3939
"name": "policy",
4040
"type": ".google.iam.v1.Policy"
41+
},
42+
{
43+
"name": "update_mask",
44+
"type": ".google.protobuf.FieldMask"
4145
}
4246
],
4347
"resultType": ".google.iam.v1.Policy",

src/v1/identity_aware_proxy_admin_service_client.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@ export class IdentityAwareProxyAdminServiceClient {
305305
* the policy is limited to a few 10s of KB. An empty policy is a
306306
* valid policy but certain Cloud Platform services (such as Projects)
307307
* might reject them.
308+
* @param {google.protobuf.FieldMask} request.updateMask
309+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
310+
* the fields in the mask will be modified. If no mask is provided, the
311+
* following default mask is used:
312+
*
313+
* `paths: "bindings, etag"`
308314
* @param {object} [options]
309315
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
310316
* @returns {Promise} - The promise which resolves to an array.
@@ -394,7 +400,7 @@ export class IdentityAwareProxyAdminServiceClient {
394400
* See the operation documentation for the appropriate value for this field.
395401
* @param {google.iam.v1.GetPolicyOptions} request.options
396402
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
397-
* `GetIamPolicy`. This field is only used by Cloud IAM.
403+
* `GetIamPolicy`.
398404
* @param {object} [options]
399405
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
400406
* @returns {Promise} - The promise which resolves to an array.

src/v1beta1/identity_aware_proxy_admin_v1_beta1_client.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@ export class IdentityAwareProxyAdminV1Beta1Client {
303303
* the policy is limited to a few 10s of KB. An empty policy is a
304304
* valid policy but certain Cloud Platform services (such as Projects)
305305
* might reject them.
306+
* @param {google.protobuf.FieldMask} request.updateMask
307+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
308+
* the fields in the mask will be modified. If no mask is provided, the
309+
* following default mask is used:
310+
*
311+
* `paths: "bindings, etag"`
306312
* @param {object} [options]
307313
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
308314
* @returns {Promise} - The promise which resolves to an array.
@@ -392,7 +398,7 @@ export class IdentityAwareProxyAdminV1Beta1Client {
392398
* See the operation documentation for the appropriate value for this field.
393399
* @param {google.iam.v1.GetPolicyOptions} request.options
394400
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
395-
* `GetIamPolicy`. This field is only used by Cloud IAM.
401+
* `GetIamPolicy`.
396402
* @param {object} [options]
397403
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
398404
* @returns {Promise} - The promise which resolves to an array.

0 commit comments

Comments
 (0)