@maxim_mazurok/gapi.client.gkehub-v1 0.0.20241206 → 0.0.20250113
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/index.d.ts +41 -43
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250113
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -199,21 +199,19 @@ declare namespace gapi.client {
|
|
|
199
199
|
standard?: string;
|
|
200
200
|
}
|
|
201
201
|
interface ConfigManagementConfigSync {
|
|
202
|
-
/**
|
|
203
|
-
allowVerticalScale?: boolean;
|
|
204
|
-
/** Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field. */
|
|
202
|
+
/** Optional. Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field. */
|
|
205
203
|
enabled?: boolean;
|
|
206
|
-
/** Git repo configuration for the cluster. */
|
|
204
|
+
/** Optional. Git repo configuration for the cluster. */
|
|
207
205
|
git?: ConfigManagementGitConfig;
|
|
208
|
-
/** The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. */
|
|
206
|
+
/** Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. */
|
|
209
207
|
metricsGcpServiceAccountEmail?: string;
|
|
210
|
-
/** OCI repo configuration for the cluster */
|
|
208
|
+
/** Optional. OCI repo configuration for the cluster */
|
|
211
209
|
oci?: ConfigManagementOciConfig;
|
|
212
|
-
/** Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts. */
|
|
210
|
+
/** Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts. */
|
|
213
211
|
preventDrift?: boolean;
|
|
214
|
-
/** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
212
|
+
/** Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
215
213
|
sourceFormat?: string;
|
|
216
|
-
/** Set to true to stop syncing configs for a single cluster. Default to false. */
|
|
214
|
+
/** Optional. Set to true to stop syncing configs for a single cluster. Default to false. */
|
|
217
215
|
stopSyncing?: boolean;
|
|
218
216
|
}
|
|
219
217
|
interface ConfigManagementConfigSyncDeploymentState {
|
|
@@ -241,23 +239,23 @@ declare namespace gapi.client {
|
|
|
241
239
|
errorMessage?: string;
|
|
242
240
|
}
|
|
243
241
|
interface ConfigManagementConfigSyncState {
|
|
244
|
-
/** Whether syncing resources to the cluster is stopped at the cluster level. */
|
|
242
|
+
/** Output only. Whether syncing resources to the cluster is stopped at the cluster level. */
|
|
245
243
|
clusterLevelStopSyncingState?: string;
|
|
246
244
|
/** Output only. The number of RootSync and RepoSync CRs in the cluster. */
|
|
247
245
|
crCount?: number;
|
|
248
|
-
/** Information about the deployment of ConfigSync, including the version of the various Pods deployed */
|
|
246
|
+
/** Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed */
|
|
249
247
|
deploymentState?: ConfigManagementConfigSyncDeploymentState;
|
|
250
|
-
/** Errors pertaining to the installation of Config Sync. */
|
|
248
|
+
/** Output only. Errors pertaining to the installation of Config Sync. */
|
|
251
249
|
errors?: ConfigManagementConfigSyncError[];
|
|
252
|
-
/** The state of the Reposync CRD */
|
|
250
|
+
/** Output only. The state of the Reposync CRD */
|
|
253
251
|
reposyncCrd?: string;
|
|
254
|
-
/** The state of the RootSync CRD */
|
|
252
|
+
/** Output only. The state of the RootSync CRD */
|
|
255
253
|
rootsyncCrd?: string;
|
|
256
|
-
/** The state of CS This field summarizes the other fields in this message. */
|
|
254
|
+
/** Output only. The state of CS This field summarizes the other fields in this message. */
|
|
257
255
|
state?: string;
|
|
258
|
-
/** The state of ConfigSync's process to sync configs to a cluster */
|
|
256
|
+
/** Output only. The state of ConfigSync's process to sync configs to a cluster */
|
|
259
257
|
syncState?: ConfigManagementSyncState;
|
|
260
|
-
/** The version of ConfigSync deployed */
|
|
258
|
+
/** Output only. The version of ConfigSync deployed */
|
|
261
259
|
version?: ConfigManagementConfigSyncVersion;
|
|
262
260
|
}
|
|
263
261
|
interface ConfigManagementConfigSyncVersion {
|
|
@@ -299,21 +297,21 @@ declare namespace gapi.client {
|
|
|
299
297
|
gatekeeperMutation?: string;
|
|
300
298
|
}
|
|
301
299
|
interface ConfigManagementGitConfig {
|
|
302
|
-
/** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
300
|
+
/** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
303
301
|
gcpServiceAccountEmail?: string;
|
|
304
|
-
/** URL for the HTTPS proxy to be used when communicating with the Git repo. */
|
|
302
|
+
/** Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. */
|
|
305
303
|
httpsProxy?: string;
|
|
306
|
-
/** The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
|
|
304
|
+
/** Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
|
|
307
305
|
policyDir?: string;
|
|
308
|
-
/** Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive.
|
|
306
|
+
/** Required. Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount, githubapp or none. The validation of this is case-sensitive. */
|
|
309
307
|
secretType?: string;
|
|
310
|
-
/** The branch of the repository to sync from. Default: master. */
|
|
308
|
+
/** Optional. The branch of the repository to sync from. Default: master. */
|
|
311
309
|
syncBranch?: string;
|
|
312
|
-
/** The URL of the Git repository to use as the source of truth. */
|
|
310
|
+
/** Required. The URL of the Git repository to use as the source of truth. */
|
|
313
311
|
syncRepo?: string;
|
|
314
|
-
/** Git revision (tag or hash) to check out. Default HEAD. */
|
|
312
|
+
/** Optional. Git revision (tag or hash) to check out. Default HEAD. */
|
|
315
313
|
syncRev?: string;
|
|
316
|
-
/** Period in seconds between consecutive syncs. Default: 15. */
|
|
314
|
+
/** Optional. Period in seconds between consecutive syncs. Default: 15. */
|
|
317
315
|
syncWaitSecs?: string;
|
|
318
316
|
}
|
|
319
317
|
interface ConfigManagementGroupVersionKind {
|
|
@@ -355,43 +353,43 @@ declare namespace gapi.client {
|
|
|
355
353
|
errorMessage?: string;
|
|
356
354
|
}
|
|
357
355
|
interface ConfigManagementMembershipSpec {
|
|
358
|
-
/** The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. */
|
|
356
|
+
/** Optional. The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. */
|
|
359
357
|
cluster?: string;
|
|
360
|
-
/** Config Sync configuration for the cluster. */
|
|
358
|
+
/** Optional. Config Sync configuration for the cluster. */
|
|
361
359
|
configSync?: ConfigManagementConfigSync;
|
|
362
|
-
/** Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead. */
|
|
360
|
+
/** Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead. */
|
|
363
361
|
hierarchyController?: ConfigManagementHierarchyControllerConfig;
|
|
364
|
-
/** Enables automatic Feature management. */
|
|
362
|
+
/** Optional. Enables automatic Feature management. */
|
|
365
363
|
management?: string;
|
|
366
|
-
/** Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
|
|
364
|
+
/** Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
|
|
367
365
|
policyController?: ConfigManagementPolicyController;
|
|
368
|
-
/** Version of ACM installed. */
|
|
366
|
+
/** Optional. Version of ACM installed. */
|
|
369
367
|
version?: string;
|
|
370
368
|
}
|
|
371
369
|
interface ConfigManagementMembershipState {
|
|
372
|
-
/** This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name. */
|
|
370
|
+
/** Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name. */
|
|
373
371
|
clusterName?: string;
|
|
374
|
-
/** Current sync status */
|
|
372
|
+
/** Output only. Current sync status */
|
|
375
373
|
configSyncState?: ConfigManagementConfigSyncState;
|
|
376
|
-
/** Hierarchy Controller status */
|
|
374
|
+
/** Output only. Hierarchy Controller status */
|
|
377
375
|
hierarchyControllerState?: ConfigManagementHierarchyControllerState;
|
|
378
|
-
/** Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state */
|
|
376
|
+
/** Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state */
|
|
379
377
|
membershipSpec?: ConfigManagementMembershipSpec;
|
|
380
|
-
/** Current install status of ACM's Operator */
|
|
378
|
+
/** Output only. Current install status of ACM's Operator */
|
|
381
379
|
operatorState?: ConfigManagementOperatorState;
|
|
382
|
-
/** PolicyController status */
|
|
380
|
+
/** Output only. PolicyController status */
|
|
383
381
|
policyControllerState?: ConfigManagementPolicyControllerState;
|
|
384
382
|
}
|
|
385
383
|
interface ConfigManagementOciConfig {
|
|
386
|
-
/** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
384
|
+
/** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
387
385
|
gcpServiceAccountEmail?: string;
|
|
388
|
-
/** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
|
|
386
|
+
/** Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
|
|
389
387
|
policyDir?: string;
|
|
390
|
-
/** Type of secret configured for access to the
|
|
388
|
+
/** Required. Type of secret configured for access to the OCI repo. Must be one of gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this is case-sensitive. */
|
|
391
389
|
secretType?: string;
|
|
392
|
-
/** The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
|
|
390
|
+
/** Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
|
|
393
391
|
syncRepo?: string;
|
|
394
|
-
/** Period in seconds between consecutive syncs. Default: 15. */
|
|
392
|
+
/** Optional. Period in seconds between consecutive syncs. Default: 15. */
|
|
395
393
|
syncWaitSecs?: string;
|
|
396
394
|
}
|
|
397
395
|
interface ConfigManagementOperatorState {
|