@maxim_mazurok/gapi.client.gkehub-v1 0.0.20241206 → 0.0.20250103

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.
Files changed (2) hide show
  1. package/index.d.ts +42 -42
  2. 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: 20241206
12
+ // Revision: 20250103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -199,21 +199,21 @@ declare namespace gapi.client {
199
199
  standard?: string;
200
200
  }
201
201
  interface ConfigManagementConfigSync {
202
- /** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
202
+ /** Optional. Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
203
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. */
204
+ /** 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
205
  enabled?: boolean;
206
- /** Git repo configuration for the cluster. */
206
+ /** Optional. Git repo configuration for the cluster. */
207
207
  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. */
208
+ /** 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
209
  metricsGcpServiceAccountEmail?: string;
210
- /** OCI repo configuration for the cluster */
210
+ /** Optional. OCI repo configuration for the cluster */
211
211
  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. */
212
+ /** 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
213
  preventDrift?: boolean;
214
- /** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
214
+ /** Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
215
215
  sourceFormat?: string;
216
- /** Set to true to stop syncing configs for a single cluster. Default to false. */
216
+ /** Optional. Set to true to stop syncing configs for a single cluster. Default to false. */
217
217
  stopSyncing?: boolean;
218
218
  }
219
219
  interface ConfigManagementConfigSyncDeploymentState {
@@ -241,23 +241,23 @@ declare namespace gapi.client {
241
241
  errorMessage?: string;
242
242
  }
243
243
  interface ConfigManagementConfigSyncState {
244
- /** Whether syncing resources to the cluster is stopped at the cluster level. */
244
+ /** Output only. Whether syncing resources to the cluster is stopped at the cluster level. */
245
245
  clusterLevelStopSyncingState?: string;
246
246
  /** Output only. The number of RootSync and RepoSync CRs in the cluster. */
247
247
  crCount?: number;
248
- /** Information about the deployment of ConfigSync, including the version of the various Pods deployed */
248
+ /** Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed */
249
249
  deploymentState?: ConfigManagementConfigSyncDeploymentState;
250
- /** Errors pertaining to the installation of Config Sync. */
250
+ /** Output only. Errors pertaining to the installation of Config Sync. */
251
251
  errors?: ConfigManagementConfigSyncError[];
252
- /** The state of the Reposync CRD */
252
+ /** Output only. The state of the Reposync CRD */
253
253
  reposyncCrd?: string;
254
- /** The state of the RootSync CRD */
254
+ /** Output only. The state of the RootSync CRD */
255
255
  rootsyncCrd?: string;
256
- /** The state of CS This field summarizes the other fields in this message. */
256
+ /** Output only. The state of CS This field summarizes the other fields in this message. */
257
257
  state?: string;
258
- /** The state of ConfigSync's process to sync configs to a cluster */
258
+ /** Output only. The state of ConfigSync's process to sync configs to a cluster */
259
259
  syncState?: ConfigManagementSyncState;
260
- /** The version of ConfigSync deployed */
260
+ /** Output only. The version of ConfigSync deployed */
261
261
  version?: ConfigManagementConfigSyncVersion;
262
262
  }
263
263
  interface ConfigManagementConfigSyncVersion {
@@ -299,21 +299,21 @@ declare namespace gapi.client {
299
299
  gatekeeperMutation?: string;
300
300
  }
301
301
  interface ConfigManagementGitConfig {
302
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
302
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
303
303
  gcpServiceAccountEmail?: string;
304
- /** URL for the HTTPS proxy to be used when communicating with the Git repo. */
304
+ /** Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. */
305
305
  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. */
306
+ /** 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
307
  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. Required. */
308
+ /** Required. 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. Required. */
309
309
  secretType?: string;
310
- /** The branch of the repository to sync from. Default: master. */
310
+ /** Optional. The branch of the repository to sync from. Default: master. */
311
311
  syncBranch?: string;
312
- /** The URL of the Git repository to use as the source of truth. */
312
+ /** Optional. The URL of the Git repository to use as the source of truth. */
313
313
  syncRepo?: string;
314
- /** Git revision (tag or hash) to check out. Default HEAD. */
314
+ /** Optional. Git revision (tag or hash) to check out. Default HEAD. */
315
315
  syncRev?: string;
316
- /** Period in seconds between consecutive syncs. Default: 15. */
316
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
317
317
  syncWaitSecs?: string;
318
318
  }
319
319
  interface ConfigManagementGroupVersionKind {
@@ -355,43 +355,43 @@ declare namespace gapi.client {
355
355
  errorMessage?: string;
356
356
  }
357
357
  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. */
358
+ /** 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
359
  cluster?: string;
360
- /** Config Sync configuration for the cluster. */
360
+ /** Optional. Config Sync configuration for the cluster. */
361
361
  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. */
362
+ /** 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
363
  hierarchyController?: ConfigManagementHierarchyControllerConfig;
364
- /** Enables automatic Feature management. */
364
+ /** Optional. Enables automatic Feature management. */
365
365
  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. */
366
+ /** 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
367
  policyController?: ConfigManagementPolicyController;
368
- /** Version of ACM installed. */
368
+ /** Optional. Version of ACM installed. */
369
369
  version?: string;
370
370
  }
371
371
  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. */
372
+ /** 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
373
  clusterName?: string;
374
- /** Current sync status */
374
+ /** Output only. Current sync status */
375
375
  configSyncState?: ConfigManagementConfigSyncState;
376
- /** Hierarchy Controller status */
376
+ /** Output only. Hierarchy Controller status */
377
377
  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 */
378
+ /** 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
379
  membershipSpec?: ConfigManagementMembershipSpec;
380
- /** Current install status of ACM's Operator */
380
+ /** Output only. Current install status of ACM's Operator */
381
381
  operatorState?: ConfigManagementOperatorState;
382
- /** PolicyController status */
382
+ /** Output only. PolicyController status */
383
383
  policyControllerState?: ConfigManagementPolicyControllerState;
384
384
  }
385
385
  interface ConfigManagementOciConfig {
386
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
386
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
387
387
  gcpServiceAccountEmail?: string;
388
- /** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
388
+ /** Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
389
389
  policyDir?: string;
390
- /** Type of secret configured for access to the Git repo. */
390
+ /** Optional. Type of secret configured for access to the Git repo. */
391
391
  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`. */
392
+ /** Optional. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
393
393
  syncRepo?: string;
394
- /** Period in seconds between consecutive syncs. Default: 15. */
394
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
395
395
  syncWaitSecs?: string;
396
396
  }
397
397
  interface ConfigManagementOperatorState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20241206",
3
+ "version": "0.0.20250103",
4
4
  "description": "TypeScript typings for GKE Hub API v1",
5
5
  "repository": {
6
6
  "type": "git",