qovery-typescript-axios 1.1.315 → 1.1.317

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/api.ts CHANGED
@@ -1775,7 +1775,8 @@ export interface CloudProvider {
1775
1775
  export const CloudProviderEnum = {
1776
1776
  AWS: 'AWS',
1777
1777
  DO: 'DO',
1778
- SCW: 'SCW'
1778
+ SCW: 'SCW',
1779
+ GCP: 'GCP'
1779
1780
  } as const;
1780
1781
 
1781
1782
  export type CloudProviderEnum = typeof CloudProviderEnum[keyof typeof CloudProviderEnum];
@@ -7341,6 +7342,25 @@ export interface EnvironmentVariableResponseList {
7341
7342
  */
7342
7343
  'results'?: Array<EnvironmentVariable>;
7343
7344
  }
7345
+ /**
7346
+ *
7347
+ * @export
7348
+ * @interface GcpCredentialsRequest
7349
+ */
7350
+ export interface GcpCredentialsRequest {
7351
+ /**
7352
+ *
7353
+ * @type {string}
7354
+ * @memberof GcpCredentialsRequest
7355
+ */
7356
+ 'name': string;
7357
+ /**
7358
+ *
7359
+ * @type {string}
7360
+ * @memberof GcpCredentialsRequest
7361
+ */
7362
+ 'json_credentials': string;
7363
+ }
7344
7364
  /**
7345
7365
  *
7346
7366
  * @export
@@ -9457,7 +9477,8 @@ export interface Key {
9457
9477
 
9458
9478
  export const KubernetesEnum = {
9459
9479
  K3_S: 'K3S',
9460
- MANAGED: 'MANAGED'
9480
+ MANAGED: 'MANAGED',
9481
+ SELF_MANAGED: 'SELF_MANAGED'
9461
9482
  } as const;
9462
9483
 
9463
9484
  export type KubernetesEnum = typeof KubernetesEnum[keyof typeof KubernetesEnum];
@@ -20620,6 +20641,121 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
20620
20641
 
20621
20642
 
20622
20643
 
20644
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20645
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20646
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20647
+
20648
+ return {
20649
+ url: toPathString(localVarUrlObj),
20650
+ options: localVarRequestOptions,
20651
+ };
20652
+ },
20653
+ /**
20654
+ *
20655
+ * @summary List GCP features available
20656
+ * @param {*} [options] Override http request option.
20657
+ * @throws {RequiredError}
20658
+ */
20659
+ listGcpFeatures: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20660
+ const localVarPath = `/gcp/clusterFeature`;
20661
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20662
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20663
+ let baseOptions;
20664
+ if (configuration) {
20665
+ baseOptions = configuration.baseOptions;
20666
+ }
20667
+
20668
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20669
+ const localVarHeaderParameter = {} as any;
20670
+ const localVarQueryParameter = {} as any;
20671
+
20672
+ // authentication ApiKeyAuth required
20673
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
20674
+
20675
+ // authentication bearerAuth required
20676
+ // http bearer authentication required
20677
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20678
+
20679
+
20680
+
20681
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20682
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20683
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20684
+
20685
+ return {
20686
+ url: toPathString(localVarUrlObj),
20687
+ options: localVarRequestOptions,
20688
+ };
20689
+ },
20690
+ /**
20691
+ *
20692
+ * @summary List GCP GKE available instance types
20693
+ * @param {string} region region name
20694
+ * @param {*} [options] Override http request option.
20695
+ * @throws {RequiredError}
20696
+ */
20697
+ listGcpGkeInstanceType: async (region: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20698
+ // verify required parameter 'region' is not null or undefined
20699
+ assertParamExists('listGcpGkeInstanceType', 'region', region)
20700
+ const localVarPath = `/gcp/instanceType/{region}`
20701
+ .replace(`{${"region"}}`, encodeURIComponent(String(region)));
20702
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20703
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20704
+ let baseOptions;
20705
+ if (configuration) {
20706
+ baseOptions = configuration.baseOptions;
20707
+ }
20708
+
20709
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20710
+ const localVarHeaderParameter = {} as any;
20711
+ const localVarQueryParameter = {} as any;
20712
+
20713
+ // authentication ApiKeyAuth required
20714
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
20715
+
20716
+ // authentication bearerAuth required
20717
+ // http bearer authentication required
20718
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20719
+
20720
+
20721
+
20722
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20723
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20724
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20725
+
20726
+ return {
20727
+ url: toPathString(localVarUrlObj),
20728
+ options: localVarRequestOptions,
20729
+ };
20730
+ },
20731
+ /**
20732
+ *
20733
+ * @summary List GCP regions
20734
+ * @param {*} [options] Override http request option.
20735
+ * @throws {RequiredError}
20736
+ */
20737
+ listGcpRegions: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20738
+ const localVarPath = `/gcp/region`;
20739
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20740
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20741
+ let baseOptions;
20742
+ if (configuration) {
20743
+ baseOptions = configuration.baseOptions;
20744
+ }
20745
+
20746
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20747
+ const localVarHeaderParameter = {} as any;
20748
+ const localVarQueryParameter = {} as any;
20749
+
20750
+ // authentication ApiKeyAuth required
20751
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
20752
+
20753
+ // authentication bearerAuth required
20754
+ // http bearer authentication required
20755
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20756
+
20757
+
20758
+
20623
20759
  setSearchParams(localVarUrlObj, localVarQueryParameter);
20624
20760
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20625
20761
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -21005,6 +21141,37 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
21005
21141
  const localVarAxiosArgs = await localVarAxiosParamCreator.listDORegions(options);
21006
21142
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21007
21143
  },
21144
+ /**
21145
+ *
21146
+ * @summary List GCP features available
21147
+ * @param {*} [options] Override http request option.
21148
+ * @throws {RequiredError}
21149
+ */
21150
+ async listGcpFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterFeatureResponseList>> {
21151
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpFeatures(options);
21152
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21153
+ },
21154
+ /**
21155
+ *
21156
+ * @summary List GCP GKE available instance types
21157
+ * @param {string} region region name
21158
+ * @param {*} [options] Override http request option.
21159
+ * @throws {RequiredError}
21160
+ */
21161
+ async listGcpGkeInstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
21162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpGkeInstanceType(region, options);
21163
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21164
+ },
21165
+ /**
21166
+ *
21167
+ * @summary List GCP regions
21168
+ * @param {*} [options] Override http request option.
21169
+ * @throws {RequiredError}
21170
+ */
21171
+ async listGcpRegions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>> {
21172
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpRegions(options);
21173
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21174
+ },
21008
21175
  /**
21009
21176
  *
21010
21177
  * @summary List Scaleway available managed database instance types
@@ -21200,6 +21367,34 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
21200
21367
  listDORegions(options?: any): AxiosPromise<ClusterRegionResponseList> {
21201
21368
  return localVarFp.listDORegions(options).then((request) => request(axios, basePath));
21202
21369
  },
21370
+ /**
21371
+ *
21372
+ * @summary List GCP features available
21373
+ * @param {*} [options] Override http request option.
21374
+ * @throws {RequiredError}
21375
+ */
21376
+ listGcpFeatures(options?: any): AxiosPromise<ClusterFeatureResponseList> {
21377
+ return localVarFp.listGcpFeatures(options).then((request) => request(axios, basePath));
21378
+ },
21379
+ /**
21380
+ *
21381
+ * @summary List GCP GKE available instance types
21382
+ * @param {string} region region name
21383
+ * @param {*} [options] Override http request option.
21384
+ * @throws {RequiredError}
21385
+ */
21386
+ listGcpGkeInstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
21387
+ return localVarFp.listGcpGkeInstanceType(region, options).then((request) => request(axios, basePath));
21388
+ },
21389
+ /**
21390
+ *
21391
+ * @summary List GCP regions
21392
+ * @param {*} [options] Override http request option.
21393
+ * @throws {RequiredError}
21394
+ */
21395
+ listGcpRegions(options?: any): AxiosPromise<ClusterRegionResponseList> {
21396
+ return localVarFp.listGcpRegions(options).then((request) => request(axios, basePath));
21397
+ },
21203
21398
  /**
21204
21399
  *
21205
21400
  * @summary List Scaleway available managed database instance types
@@ -21415,6 +21610,40 @@ export class CloudProviderApi extends BaseAPI {
21415
21610
  return CloudProviderApiFp(this.configuration).listDORegions(options).then((request) => request(this.axios, this.basePath));
21416
21611
  }
21417
21612
 
21613
+ /**
21614
+ *
21615
+ * @summary List GCP features available
21616
+ * @param {*} [options] Override http request option.
21617
+ * @throws {RequiredError}
21618
+ * @memberof CloudProviderApi
21619
+ */
21620
+ public listGcpFeatures(options?: AxiosRequestConfig) {
21621
+ return CloudProviderApiFp(this.configuration).listGcpFeatures(options).then((request) => request(this.axios, this.basePath));
21622
+ }
21623
+
21624
+ /**
21625
+ *
21626
+ * @summary List GCP GKE available instance types
21627
+ * @param {string} region region name
21628
+ * @param {*} [options] Override http request option.
21629
+ * @throws {RequiredError}
21630
+ * @memberof CloudProviderApi
21631
+ */
21632
+ public listGcpGkeInstanceType(region: string, options?: AxiosRequestConfig) {
21633
+ return CloudProviderApiFp(this.configuration).listGcpGkeInstanceType(region, options).then((request) => request(this.axios, this.basePath));
21634
+ }
21635
+
21636
+ /**
21637
+ *
21638
+ * @summary List GCP regions
21639
+ * @param {*} [options] Override http request option.
21640
+ * @throws {RequiredError}
21641
+ * @memberof CloudProviderApi
21642
+ */
21643
+ public listGcpRegions(options?: AxiosRequestConfig) {
21644
+ return CloudProviderApiFp(this.configuration).listGcpRegions(options).then((request) => request(this.axios, this.basePath));
21645
+ }
21646
+
21418
21647
  /**
21419
21648
  *
21420
21649
  * @summary List Scaleway available managed database instance types
@@ -21582,6 +21811,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21582
21811
  options: localVarRequestOptions,
21583
21812
  };
21584
21813
  },
21814
+ /**
21815
+ *
21816
+ * @summary Create GCP credentials set
21817
+ * @param {string} organizationId Organization ID
21818
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
21819
+ * @param {*} [options] Override http request option.
21820
+ * @throws {RequiredError}
21821
+ */
21822
+ createGCPCredentials: async (organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21823
+ // verify required parameter 'organizationId' is not null or undefined
21824
+ assertParamExists('createGCPCredentials', 'organizationId', organizationId)
21825
+ const localVarPath = `/organization/{organizationId}/gcp/credentials`
21826
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
21827
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21828
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21829
+ let baseOptions;
21830
+ if (configuration) {
21831
+ baseOptions = configuration.baseOptions;
21832
+ }
21833
+
21834
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
21835
+ const localVarHeaderParameter = {} as any;
21836
+ const localVarQueryParameter = {} as any;
21837
+
21838
+ // authentication ApiKeyAuth required
21839
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
21840
+
21841
+ // authentication bearerAuth required
21842
+ // http bearer authentication required
21843
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21844
+
21845
+
21846
+
21847
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21848
+
21849
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21851
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21852
+ localVarRequestOptions.data = serializeDataIfNeeded(gcpCredentialsRequest, localVarRequestOptions, configuration)
21853
+
21854
+ return {
21855
+ url: toPathString(localVarUrlObj),
21856
+ options: localVarRequestOptions,
21857
+ };
21858
+ },
21585
21859
  /**
21586
21860
  *
21587
21861
  * @summary Create Scaleway credentials set
@@ -21719,18 +21993,18 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21719
21993
  },
21720
21994
  /**
21721
21995
  *
21722
- * @summary Delete a set of Scaleway credentials
21996
+ * @summary Delete a set of GCP credentials
21723
21997
  * @param {string} credentialsId Credentials ID
21724
21998
  * @param {string} organizationId Organization ID
21725
21999
  * @param {*} [options] Override http request option.
21726
22000
  * @throws {RequiredError}
21727
22001
  */
21728
- deleteScalewayCredentials: async (credentialsId: string, organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22002
+ deleteGcpCredentials: async (credentialsId: string, organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21729
22003
  // verify required parameter 'credentialsId' is not null or undefined
21730
- assertParamExists('deleteScalewayCredentials', 'credentialsId', credentialsId)
22004
+ assertParamExists('deleteGcpCredentials', 'credentialsId', credentialsId)
21731
22005
  // verify required parameter 'organizationId' is not null or undefined
21732
- assertParamExists('deleteScalewayCredentials', 'organizationId', organizationId)
21733
- const localVarPath = `/organization/{organizationId}/scaleway/credentials/{credentialsId}`
22006
+ assertParamExists('deleteGcpCredentials', 'organizationId', organizationId)
22007
+ const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
21734
22008
  .replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
21735
22009
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
21736
22010
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -21764,21 +22038,20 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21764
22038
  },
21765
22039
  /**
21766
22040
  *
21767
- * @summary Edit a set of AWS credentials
21768
- * @param {string} organizationId Organization ID
22041
+ * @summary Delete a set of Scaleway credentials
21769
22042
  * @param {string} credentialsId Credentials ID
21770
- * @param {AwsCredentialsRequest} [awsCredentialsRequest]
22043
+ * @param {string} organizationId Organization ID
21771
22044
  * @param {*} [options] Override http request option.
21772
22045
  * @throws {RequiredError}
21773
22046
  */
21774
- editAWSCredentials: async (organizationId: string, credentialsId: string, awsCredentialsRequest?: AwsCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21775
- // verify required parameter 'organizationId' is not null or undefined
21776
- assertParamExists('editAWSCredentials', 'organizationId', organizationId)
22047
+ deleteScalewayCredentials: async (credentialsId: string, organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21777
22048
  // verify required parameter 'credentialsId' is not null or undefined
21778
- assertParamExists('editAWSCredentials', 'credentialsId', credentialsId)
21779
- const localVarPath = `/organization/{organizationId}/aws/credentials/{credentialsId}`
21780
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
21781
- .replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
22049
+ assertParamExists('deleteScalewayCredentials', 'credentialsId', credentialsId)
22050
+ // verify required parameter 'organizationId' is not null or undefined
22051
+ assertParamExists('deleteScalewayCredentials', 'organizationId', organizationId)
22052
+ const localVarPath = `/organization/{organizationId}/scaleway/credentials/{credentialsId}`
22053
+ .replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
22054
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
21782
22055
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21783
22056
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21784
22057
  let baseOptions;
@@ -21786,7 +22059,7 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21786
22059
  baseOptions = configuration.baseOptions;
21787
22060
  }
21788
22061
 
21789
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
22062
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
21790
22063
  const localVarHeaderParameter = {} as any;
21791
22064
  const localVarQueryParameter = {} as any;
21792
22065
 
@@ -21799,12 +22072,9 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21799
22072
 
21800
22073
 
21801
22074
 
21802
- localVarHeaderParameter['Content-Type'] = 'application/json';
21803
-
21804
22075
  setSearchParams(localVarUrlObj, localVarQueryParameter);
21805
22076
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21806
22077
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21807
- localVarRequestOptions.data = serializeDataIfNeeded(awsCredentialsRequest, localVarRequestOptions, configuration)
21808
22078
 
21809
22079
  return {
21810
22080
  url: toPathString(localVarUrlObj),
@@ -21813,7 +22083,56 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21813
22083
  },
21814
22084
  /**
21815
22085
  *
21816
- * @summary Edit a set of Digital Ocean credentials
22086
+ * @summary Edit a set of AWS credentials
22087
+ * @param {string} organizationId Organization ID
22088
+ * @param {string} credentialsId Credentials ID
22089
+ * @param {AwsCredentialsRequest} [awsCredentialsRequest]
22090
+ * @param {*} [options] Override http request option.
22091
+ * @throws {RequiredError}
22092
+ */
22093
+ editAWSCredentials: async (organizationId: string, credentialsId: string, awsCredentialsRequest?: AwsCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22094
+ // verify required parameter 'organizationId' is not null or undefined
22095
+ assertParamExists('editAWSCredentials', 'organizationId', organizationId)
22096
+ // verify required parameter 'credentialsId' is not null or undefined
22097
+ assertParamExists('editAWSCredentials', 'credentialsId', credentialsId)
22098
+ const localVarPath = `/organization/{organizationId}/aws/credentials/{credentialsId}`
22099
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
22100
+ .replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
22101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22103
+ let baseOptions;
22104
+ if (configuration) {
22105
+ baseOptions = configuration.baseOptions;
22106
+ }
22107
+
22108
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
22109
+ const localVarHeaderParameter = {} as any;
22110
+ const localVarQueryParameter = {} as any;
22111
+
22112
+ // authentication ApiKeyAuth required
22113
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
22114
+
22115
+ // authentication bearerAuth required
22116
+ // http bearer authentication required
22117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22118
+
22119
+
22120
+
22121
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22122
+
22123
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22124
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22125
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22126
+ localVarRequestOptions.data = serializeDataIfNeeded(awsCredentialsRequest, localVarRequestOptions, configuration)
22127
+
22128
+ return {
22129
+ url: toPathString(localVarUrlObj),
22130
+ options: localVarRequestOptions,
22131
+ };
22132
+ },
22133
+ /**
22134
+ *
22135
+ * @summary Edit a set of Digital Ocean credentials
21817
22136
  * @param {string} organizationId Organization ID
21818
22137
  * @param {string} credentialsId Credentials ID
21819
22138
  * @param {DoCredentialsRequest} [doCredentialsRequest]
@@ -21860,6 +22179,55 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21860
22179
  options: localVarRequestOptions,
21861
22180
  };
21862
22181
  },
22182
+ /**
22183
+ *
22184
+ * @summary Edit a set of GCP credentials
22185
+ * @param {string} organizationId Organization ID
22186
+ * @param {string} credentialsId Credentials ID
22187
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
22188
+ * @param {*} [options] Override http request option.
22189
+ * @throws {RequiredError}
22190
+ */
22191
+ editGcpCredentials: async (organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22192
+ // verify required parameter 'organizationId' is not null or undefined
22193
+ assertParamExists('editGcpCredentials', 'organizationId', organizationId)
22194
+ // verify required parameter 'credentialsId' is not null or undefined
22195
+ assertParamExists('editGcpCredentials', 'credentialsId', credentialsId)
22196
+ const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
22197
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
22198
+ .replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
22199
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22200
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22201
+ let baseOptions;
22202
+ if (configuration) {
22203
+ baseOptions = configuration.baseOptions;
22204
+ }
22205
+
22206
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
22207
+ const localVarHeaderParameter = {} as any;
22208
+ const localVarQueryParameter = {} as any;
22209
+
22210
+ // authentication ApiKeyAuth required
22211
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
22212
+
22213
+ // authentication bearerAuth required
22214
+ // http bearer authentication required
22215
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22216
+
22217
+
22218
+
22219
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22220
+
22221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22223
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22224
+ localVarRequestOptions.data = serializeDataIfNeeded(gcpCredentialsRequest, localVarRequestOptions, configuration)
22225
+
22226
+ return {
22227
+ url: toPathString(localVarUrlObj),
22228
+ options: localVarRequestOptions,
22229
+ };
22230
+ },
21863
22231
  /**
21864
22232
  *
21865
22233
  * @summary Edit a set of Scaleway credentials
@@ -21990,6 +22358,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
21990
22358
 
21991
22359
 
21992
22360
 
22361
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22362
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22363
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22364
+
22365
+ return {
22366
+ url: toPathString(localVarUrlObj),
22367
+ options: localVarRequestOptions,
22368
+ };
22369
+ },
22370
+ /**
22371
+ *
22372
+ * @summary Get a set of GCP credentials
22373
+ * @param {string} organizationId Organization ID
22374
+ * @param {string} credentialsId Credentials ID
22375
+ * @param {*} [options] Override http request option.
22376
+ * @throws {RequiredError}
22377
+ */
22378
+ getGcpCredentials: async (organizationId: string, credentialsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22379
+ // verify required parameter 'organizationId' is not null or undefined
22380
+ assertParamExists('getGcpCredentials', 'organizationId', organizationId)
22381
+ // verify required parameter 'credentialsId' is not null or undefined
22382
+ assertParamExists('getGcpCredentials', 'credentialsId', credentialsId)
22383
+ const localVarPath = `/organization/{organizationId}/gcp/credentials/{credentialsId}`
22384
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
22385
+ .replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
22386
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22387
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22388
+ let baseOptions;
22389
+ if (configuration) {
22390
+ baseOptions = configuration.baseOptions;
22391
+ }
22392
+
22393
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
22394
+ const localVarHeaderParameter = {} as any;
22395
+ const localVarQueryParameter = {} as any;
22396
+
22397
+ // authentication ApiKeyAuth required
22398
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
22399
+
22400
+ // authentication bearerAuth required
22401
+ // http bearer authentication required
22402
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22403
+
22404
+
22405
+
21993
22406
  setSearchParams(localVarUrlObj, localVarQueryParameter);
21994
22407
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21995
22408
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -22117,6 +22530,47 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
22117
22530
 
22118
22531
 
22119
22532
 
22533
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22534
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22535
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22536
+
22537
+ return {
22538
+ url: toPathString(localVarUrlObj),
22539
+ options: localVarRequestOptions,
22540
+ };
22541
+ },
22542
+ /**
22543
+ *
22544
+ * @summary List GCP credentials
22545
+ * @param {string} organizationId Organization ID
22546
+ * @param {*} [options] Override http request option.
22547
+ * @throws {RequiredError}
22548
+ */
22549
+ listGcpCredentials: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22550
+ // verify required parameter 'organizationId' is not null or undefined
22551
+ assertParamExists('listGcpCredentials', 'organizationId', organizationId)
22552
+ const localVarPath = `/organization/{organizationId}/gcp/credentials`
22553
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
22554
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22555
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22556
+ let baseOptions;
22557
+ if (configuration) {
22558
+ baseOptions = configuration.baseOptions;
22559
+ }
22560
+
22561
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
22562
+ const localVarHeaderParameter = {} as any;
22563
+ const localVarQueryParameter = {} as any;
22564
+
22565
+ // authentication ApiKeyAuth required
22566
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
22567
+
22568
+ // authentication bearerAuth required
22569
+ // http bearer authentication required
22570
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22571
+
22572
+
22573
+
22120
22574
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22121
22575
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22122
22576
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -22201,6 +22655,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
22201
22655
  const localVarAxiosArgs = await localVarAxiosParamCreator.createDOCredentials(organizationId, doCredentialsRequest, options);
22202
22656
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22203
22657
  },
22658
+ /**
22659
+ *
22660
+ * @summary Create GCP credentials set
22661
+ * @param {string} organizationId Organization ID
22662
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
22663
+ * @param {*} [options] Override http request option.
22664
+ * @throws {RequiredError}
22665
+ */
22666
+ async createGCPCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
22667
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createGCPCredentials(organizationId, gcpCredentialsRequest, options);
22668
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22669
+ },
22204
22670
  /**
22205
22671
  *
22206
22672
  * @summary Create Scaleway credentials set
@@ -22237,6 +22703,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
22237
22703
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDOCredentials(credentialsId, organizationId, options);
22238
22704
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22239
22705
  },
22706
+ /**
22707
+ *
22708
+ * @summary Delete a set of GCP credentials
22709
+ * @param {string} credentialsId Credentials ID
22710
+ * @param {string} organizationId Organization ID
22711
+ * @param {*} [options] Override http request option.
22712
+ * @throws {RequiredError}
22713
+ */
22714
+ async deleteGcpCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGcpCredentials(credentialsId, organizationId, options);
22716
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22717
+ },
22240
22718
  /**
22241
22719
  *
22242
22720
  * @summary Delete a set of Scaleway credentials
@@ -22275,6 +22753,19 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
22275
22753
  const localVarAxiosArgs = await localVarAxiosParamCreator.editDOCredentials(organizationId, credentialsId, doCredentialsRequest, options);
22276
22754
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22277
22755
  },
22756
+ /**
22757
+ *
22758
+ * @summary Edit a set of GCP credentials
22759
+ * @param {string} organizationId Organization ID
22760
+ * @param {string} credentialsId Credentials ID
22761
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
22762
+ * @param {*} [options] Override http request option.
22763
+ * @throws {RequiredError}
22764
+ */
22765
+ async editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
22766
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options);
22767
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22768
+ },
22278
22769
  /**
22279
22770
  *
22280
22771
  * @summary Edit a set of Scaleway credentials
@@ -22312,6 +22803,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
22312
22803
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDOCredentials(organizationId, credentialsId, options);
22313
22804
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22314
22805
  },
22806
+ /**
22807
+ *
22808
+ * @summary Get a set of GCP credentials
22809
+ * @param {string} organizationId Organization ID
22810
+ * @param {string} credentialsId Credentials ID
22811
+ * @param {*} [options] Override http request option.
22812
+ * @throws {RequiredError}
22813
+ */
22814
+ async getGcpCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
22815
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGcpCredentials(organizationId, credentialsId, options);
22816
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22817
+ },
22315
22818
  /**
22316
22819
  *
22317
22820
  * @summary Get a set of Scaleway credentials
@@ -22346,6 +22849,17 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
22346
22849
  const localVarAxiosArgs = await localVarAxiosParamCreator.listDOCredentials(organizationId, options);
22347
22850
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22348
22851
  },
22852
+ /**
22853
+ *
22854
+ * @summary List GCP credentials
22855
+ * @param {string} organizationId Organization ID
22856
+ * @param {*} [options] Override http request option.
22857
+ * @throws {RequiredError}
22858
+ */
22859
+ async listGcpCredentials(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentialsResponseList>> {
22860
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpCredentials(organizationId, options);
22861
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22862
+ },
22349
22863
  /**
22350
22864
  *
22351
22865
  * @summary List Scaleway credentials
@@ -22389,6 +22903,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
22389
22903
  createDOCredentials(organizationId: string, doCredentialsRequest?: DoCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
22390
22904
  return localVarFp.createDOCredentials(organizationId, doCredentialsRequest, options).then((request) => request(axios, basePath));
22391
22905
  },
22906
+ /**
22907
+ *
22908
+ * @summary Create GCP credentials set
22909
+ * @param {string} organizationId Organization ID
22910
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
22911
+ * @param {*} [options] Override http request option.
22912
+ * @throws {RequiredError}
22913
+ */
22914
+ createGCPCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
22915
+ return localVarFp.createGCPCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
22916
+ },
22392
22917
  /**
22393
22918
  *
22394
22919
  * @summary Create Scaleway credentials set
@@ -22422,6 +22947,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
22422
22947
  deleteDOCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
22423
22948
  return localVarFp.deleteDOCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
22424
22949
  },
22950
+ /**
22951
+ *
22952
+ * @summary Delete a set of GCP credentials
22953
+ * @param {string} credentialsId Credentials ID
22954
+ * @param {string} organizationId Organization ID
22955
+ * @param {*} [options] Override http request option.
22956
+ * @throws {RequiredError}
22957
+ */
22958
+ deleteGcpCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
22959
+ return localVarFp.deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
22960
+ },
22425
22961
  /**
22426
22962
  *
22427
22963
  * @summary Delete a set of Scaleway credentials
@@ -22457,6 +22993,18 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
22457
22993
  editDOCredentials(organizationId: string, credentialsId: string, doCredentialsRequest?: DoCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
22458
22994
  return localVarFp.editDOCredentials(organizationId, credentialsId, doCredentialsRequest, options).then((request) => request(axios, basePath));
22459
22995
  },
22996
+ /**
22997
+ *
22998
+ * @summary Edit a set of GCP credentials
22999
+ * @param {string} organizationId Organization ID
23000
+ * @param {string} credentialsId Credentials ID
23001
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
23002
+ * @param {*} [options] Override http request option.
23003
+ * @throws {RequiredError}
23004
+ */
23005
+ editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
23006
+ return localVarFp.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
23007
+ },
22460
23008
  /**
22461
23009
  *
22462
23010
  * @summary Edit a set of Scaleway credentials
@@ -22491,6 +23039,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
22491
23039
  getDOCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
22492
23040
  return localVarFp.getDOCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
22493
23041
  },
23042
+ /**
23043
+ *
23044
+ * @summary Get a set of GCP credentials
23045
+ * @param {string} organizationId Organization ID
23046
+ * @param {string} credentialsId Credentials ID
23047
+ * @param {*} [options] Override http request option.
23048
+ * @throws {RequiredError}
23049
+ */
23050
+ getGcpCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
23051
+ return localVarFp.getGcpCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
23052
+ },
22494
23053
  /**
22495
23054
  *
22496
23055
  * @summary Get a set of Scaleway credentials
@@ -22522,6 +23081,16 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
22522
23081
  listDOCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
22523
23082
  return localVarFp.listDOCredentials(organizationId, options).then((request) => request(axios, basePath));
22524
23083
  },
23084
+ /**
23085
+ *
23086
+ * @summary List GCP credentials
23087
+ * @param {string} organizationId Organization ID
23088
+ * @param {*} [options] Override http request option.
23089
+ * @throws {RequiredError}
23090
+ */
23091
+ listGcpCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
23092
+ return localVarFp.listGcpCredentials(organizationId, options).then((request) => request(axios, basePath));
23093
+ },
22525
23094
  /**
22526
23095
  *
22527
23096
  * @summary List Scaleway credentials
@@ -22568,6 +23137,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
22568
23137
  return CloudProviderCredentialsApiFp(this.configuration).createDOCredentials(organizationId, doCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
22569
23138
  }
22570
23139
 
23140
+ /**
23141
+ *
23142
+ * @summary Create GCP credentials set
23143
+ * @param {string} organizationId Organization ID
23144
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
23145
+ * @param {*} [options] Override http request option.
23146
+ * @throws {RequiredError}
23147
+ * @memberof CloudProviderCredentialsApi
23148
+ */
23149
+ public createGCPCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig) {
23150
+ return CloudProviderCredentialsApiFp(this.configuration).createGCPCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
23151
+ }
23152
+
22571
23153
  /**
22572
23154
  *
22573
23155
  * @summary Create Scaleway credentials set
@@ -22607,6 +23189,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
22607
23189
  return CloudProviderCredentialsApiFp(this.configuration).deleteDOCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
22608
23190
  }
22609
23191
 
23192
+ /**
23193
+ *
23194
+ * @summary Delete a set of GCP credentials
23195
+ * @param {string} credentialsId Credentials ID
23196
+ * @param {string} organizationId Organization ID
23197
+ * @param {*} [options] Override http request option.
23198
+ * @throws {RequiredError}
23199
+ * @memberof CloudProviderCredentialsApi
23200
+ */
23201
+ public deleteGcpCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig) {
23202
+ return CloudProviderCredentialsApiFp(this.configuration).deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
23203
+ }
23204
+
22610
23205
  /**
22611
23206
  *
22612
23207
  * @summary Delete a set of Scaleway credentials
@@ -22648,6 +23243,20 @@ export class CloudProviderCredentialsApi extends BaseAPI {
22648
23243
  return CloudProviderCredentialsApiFp(this.configuration).editDOCredentials(organizationId, credentialsId, doCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
22649
23244
  }
22650
23245
 
23246
+ /**
23247
+ *
23248
+ * @summary Edit a set of GCP credentials
23249
+ * @param {string} organizationId Organization ID
23250
+ * @param {string} credentialsId Credentials ID
23251
+ * @param {GcpCredentialsRequest} [gcpCredentialsRequest]
23252
+ * @param {*} [options] Override http request option.
23253
+ * @throws {RequiredError}
23254
+ * @memberof CloudProviderCredentialsApi
23255
+ */
23256
+ public editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: AxiosRequestConfig) {
23257
+ return CloudProviderCredentialsApiFp(this.configuration).editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
23258
+ }
23259
+
22651
23260
  /**
22652
23261
  *
22653
23262
  * @summary Edit a set of Scaleway credentials
@@ -22688,6 +23297,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
22688
23297
  return CloudProviderCredentialsApiFp(this.configuration).getDOCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
22689
23298
  }
22690
23299
 
23300
+ /**
23301
+ *
23302
+ * @summary Get a set of GCP credentials
23303
+ * @param {string} organizationId Organization ID
23304
+ * @param {string} credentialsId Credentials ID
23305
+ * @param {*} [options] Override http request option.
23306
+ * @throws {RequiredError}
23307
+ * @memberof CloudProviderCredentialsApi
23308
+ */
23309
+ public getGcpCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig) {
23310
+ return CloudProviderCredentialsApiFp(this.configuration).getGcpCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
23311
+ }
23312
+
22691
23313
  /**
22692
23314
  *
22693
23315
  * @summary Get a set of Scaleway credentials
@@ -22725,6 +23347,18 @@ export class CloudProviderCredentialsApi extends BaseAPI {
22725
23347
  return CloudProviderCredentialsApiFp(this.configuration).listDOCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
22726
23348
  }
22727
23349
 
23350
+ /**
23351
+ *
23352
+ * @summary List GCP credentials
23353
+ * @param {string} organizationId Organization ID
23354
+ * @param {*} [options] Override http request option.
23355
+ * @throws {RequiredError}
23356
+ * @memberof CloudProviderCredentialsApi
23357
+ */
23358
+ public listGcpCredentials(organizationId: string, options?: AxiosRequestConfig) {
23359
+ return CloudProviderCredentialsApiFp(this.configuration).listGcpCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
23360
+ }
23361
+
22728
23362
  /**
22729
23363
  *
22730
23364
  * @summary List Scaleway credentials