Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add AllowedDomainSettings to the UpdateIapSettingsRequest #3806

Merged
merged 5 commits into from
Dec 21, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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