Fix the generated types (#20042)

This commit is contained in:
Aniket Katkar 2025-03-02 16:18:18 +05:30 committed by GitHub
parent fa6da999ec
commit a058579aaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
36 changed files with 62 additions and 416 deletions

View File

@ -2471,7 +2471,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2489,7 +2489,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2502,16 +2502,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -975,7 +975,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -993,7 +993,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -1006,16 +1006,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -1385,7 +1385,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -1403,7 +1403,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -1416,16 +1416,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -211,7 +211,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -229,7 +229,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -242,16 +242,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -232,7 +232,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -250,7 +250,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -263,16 +263,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -1554,7 +1554,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -1572,7 +1572,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -1585,16 +1585,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -1,16 +0,0 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* This schema defines Services Count. This contains aggregated services count.
*/
type VoteRequest = string;

View File

@ -1,13 +0,0 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
type Basic = any;

View File

@ -2355,7 +2355,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2373,7 +2373,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2386,16 +2386,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -2762,7 +2762,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2780,7 +2780,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2793,16 +2793,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -1,13 +0,0 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
type Filters = any;

View File

@ -1,13 +0,0 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
type ConnectionBasicType = any;

View File

@ -243,7 +243,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -261,7 +261,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -274,16 +274,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -131,7 +131,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -144,16 +144,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -126,7 +126,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -144,7 +144,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -157,16 +157,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -95,7 +95,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -126,16 +126,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -82,7 +82,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -100,7 +100,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -113,16 +113,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -190,7 +190,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -208,7 +208,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -221,16 +221,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -95,7 +95,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -126,16 +126,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -2342,7 +2342,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2360,7 +2360,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2373,16 +2373,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -98,7 +98,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -116,7 +116,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -129,16 +129,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -1068,7 +1068,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -1086,7 +1086,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -1099,16 +1099,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -1481,7 +1481,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -1499,7 +1499,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -1512,16 +1512,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -2023,7 +2023,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2041,7 +2041,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2054,16 +2054,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -305,7 +305,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -323,7 +323,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -336,16 +336,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -325,7 +325,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -343,7 +343,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -356,16 +356,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -323,7 +323,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: GCPCredentialsConfigurationType;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -341,7 +341,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -354,16 +354,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum GCPCredentialsConfigurationType {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -112,7 +112,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -130,7 +130,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -143,16 +143,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -98,7 +98,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -116,7 +116,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -129,16 +129,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -234,7 +234,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -252,7 +252,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -265,16 +265,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -2386,7 +2386,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2404,7 +2404,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2417,16 +2417,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -2422,7 +2422,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -2440,7 +2440,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -2453,16 +2453,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -75,7 +75,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
type?: TypeEnum;
type?: string;
/**
* Path of the file containing the GCP credentials info
*/
@ -93,7 +93,7 @@ export interface GCPCredentialsConfiguration {
/**
* Google Cloud Platform account type.
*/
externalType?: ExternalTypeEnum;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -106,16 +106,6 @@ export interface GCPCredentialsConfiguration {
[property: string]: any;
}
export enum ExternalTypeEnum {
ExternalAccount = "external_account",
}
export enum TypeEnum {
ExternalAccount = "external_account",
GcpCredentialPath = "gcp_credential_path",
ServiceAccount = "service_account",
}
/**
* we enable the authenticated service account to impersonate another service account
*

View File

@ -27,7 +27,7 @@ export interface GcpExternalAccount {
/**
* Google Cloud Platform account type.
*/
externalType?: CredentialsType;
externalType?: string;
/**
* Google Security Token Service subject token type based on the OAuth 2.0 token exchange
* spec.
@ -40,9 +40,5 @@ export interface GcpExternalAccount {
/**
* Google Cloud Platform account type.
*/
type?: CredentialsType;
}
export enum CredentialsType {
ExternalAccount = "external_account",
type?: string;
}

View File

@ -53,9 +53,5 @@ export interface GcpValues {
/**
* Google Cloud Platform account type.
*/
type?: CredentialsType;
}
export enum CredentialsType {
ServiceAccount = "service_account",
type?: string;
}

View File

@ -14,7 +14,6 @@
import {
DashboardService,
DashboardServiceType,
TypeEnum,
} from '../generated/entity/services/dashboardService';
import {
ConfigScheme,
@ -80,7 +79,7 @@ export const MOCK_DATABASE_SERVICE: DatabaseService = {
hostPort: 'localhost:1234',
credentials: {
gcpConfig: {
type: TypeEnum.ServiceAccount,
type: 'service_account',
projectId: ['projectID'],
privateKeyId: 'privateKeyId',
privateKey: '*********',