Skip to content

Commit

Permalink
feat: add AllowedDomainSettings to the UpdateIapSettingsRequest (#3806)
Browse files Browse the repository at this point in the history
* feat: add AllowedDomainSettings to the UpdateIapSettingsRequest
feat: add AttributePropagationSettings to the UpdateIapSettingsRequest
feat: add remediation_token_generation_enabled to the CsmSettings
chore: deprecate password reauth method which will no longer be accepted by IAP APIs.

PiperOrigin-RevId: 496681848

Source-Link: googleapis/googleapis@be2d54e

Source-Link: googleapis/googleapis-gen@dae449b
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWlhcC8uT3dsQm90LnlhbWwiLCJoIjoiZGFlNDQ5YjRkM2E0OTQwNmViNDliNDEwMDU1YmRmNDMwYzUxYTg4MyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
  • Loading branch information
3 people authored Dec 21, 2022
1 parent 46b4330 commit 070d9fa
Show file tree
Hide file tree
Showing 8 changed files with 2,198 additions and 1,027 deletions.
319 changes: 207 additions & 112 deletions packages/google-cloud-iap/protos/google/cloud/iap/v1/service.proto

Large diffs are not rendered by default.

735 changes: 494 additions & 241 deletions packages/google-cloud-iap/protos/protos.d.ts

Large diffs are not rendered by default.

1,803 changes: 1,261 additions & 542 deletions packages/google-cloud-iap/protos/protos.js

Large diffs are not rendered by default.

347 changes: 221 additions & 126 deletions packages/google-cloud-iap/protos/protos.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ function main(parent, tunnelDestGroup, tunnelDestGroupId) {
*/
// const tunnelDestGroup = {}
/**
* Required. The ID to use for the TunnelDestGroup, which becomes the final component of
* the resource name.
* Required. The ID to use for the TunnelDestGroup, which becomes the final
* component of the resource name.
* This value must be 4-63 characters, and valid characters
* are `[a-z][0-9]-`.
* are `[a-z]-`.
*/
// const tunnelDestGroupId = 'abc123'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export class IdentityAwareProxyAdminServiceClient {
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
opts = Object.assign({servicePath, port, clientConfig, fallback}, opts);

// Request numeric enum values if REST transport is used.
opts.numericEnums = true;

// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
opts['scopes'] = staticMembers.scopes;
Expand Down Expand Up @@ -811,11 +814,11 @@ export class IdentityAwareProxyAdminServiceClient {
* @param {google.cloud.iap.v1.TunnelDestGroup} request.tunnelDestGroup
* Required. The TunnelDestGroup to create.
* @param {string} request.tunnelDestGroupId
* Required. The ID to use for the TunnelDestGroup, which becomes the final component of
* the resource name.
* Required. The ID to use for the TunnelDestGroup, which becomes the final
* component of the resource name.
*
* This value must be 4-63 characters, and valid characters
* are `{@link 0-9|a-z}-`.
* are `[a-z]-`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ export class IdentityAwareProxyOAuthServiceClient {
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
opts = Object.assign({servicePath, port, clientConfig, fallback}, opts);

// Request numeric enum values if REST transport is used.
opts.numericEnums = true;

// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
opts['scopes'] = staticMembers.scopes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ export class IdentityAwareProxyAdminV1Beta1Client {
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
opts = Object.assign({servicePath, port, clientConfig, fallback}, opts);

// Request numeric enum values if REST transport is used.
opts.numericEnums = true;

// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
opts['scopes'] = staticMembers.scopes;
Expand Down

0 comments on commit 070d9fa

Please sign in to comment.