@maxim_mazurok/gapi.client.gkehub-v1alpha 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.
Files changed (2) hide show
  1. package/index.d.ts +43 -45
  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=v1alpha
12
- // Revision: 20241206
12
+ // Revision: 20250113
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -265,21 +265,19 @@ declare namespace gapi.client {
265
265
  webhookVersion?: string;
266
266
  }
267
267
  interface ConfigManagementConfigSync {
268
- /** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
269
- allowVerticalScale?: boolean;
270
- /** 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. */
268
+ /** 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. */
271
269
  enabled?: boolean;
272
- /** Git repo configuration for the cluster. */
270
+ /** Optional. Git repo configuration for the cluster. */
273
271
  git?: ConfigManagementGitConfig;
274
- /** 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. */
272
+ /** 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. */
275
273
  metricsGcpServiceAccountEmail?: string;
276
- /** OCI repo configuration for the cluster */
274
+ /** Optional. OCI repo configuration for the cluster */
277
275
  oci?: ConfigManagementOciConfig;
278
- /** 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. */
276
+ /** 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. */
279
277
  preventDrift?: boolean;
280
- /** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
278
+ /** Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
281
279
  sourceFormat?: string;
282
- /** Set to true to stop syncing configs for a single cluster. Default to false. */
280
+ /** Optional. Set to true to stop syncing configs for a single cluster. Default to false. */
283
281
  stopSyncing?: boolean;
284
282
  }
285
283
  interface ConfigManagementConfigSyncDeploymentState {
@@ -307,23 +305,23 @@ declare namespace gapi.client {
307
305
  errorMessage?: string;
308
306
  }
309
307
  interface ConfigManagementConfigSyncState {
310
- /** Whether syncing resources to the cluster is stopped at the cluster level. */
308
+ /** Output only. Whether syncing resources to the cluster is stopped at the cluster level. */
311
309
  clusterLevelStopSyncingState?: string;
312
310
  /** Output only. The number of RootSync and RepoSync CRs in the cluster. */
313
311
  crCount?: number;
314
- /** Information about the deployment of ConfigSync, including the version of the various Pods deployed */
312
+ /** Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed */
315
313
  deploymentState?: ConfigManagementConfigSyncDeploymentState;
316
- /** Errors pertaining to the installation of Config Sync. */
314
+ /** Output only. Errors pertaining to the installation of Config Sync. */
317
315
  errors?: ConfigManagementConfigSyncError[];
318
- /** The state of the Reposync CRD */
316
+ /** Output only. The state of the Reposync CRD */
319
317
  reposyncCrd?: string;
320
- /** The state of the RootSync CRD */
318
+ /** Output only. The state of the RootSync CRD */
321
319
  rootsyncCrd?: string;
322
- /** The state of CS This field summarizes the other fields in this message. */
320
+ /** Output only. The state of CS This field summarizes the other fields in this message. */
323
321
  state?: string;
324
- /** The state of ConfigSync's process to sync configs to a cluster */
322
+ /** Output only. The state of ConfigSync's process to sync configs to a cluster */
325
323
  syncState?: ConfigManagementSyncState;
326
- /** The version of ConfigSync deployed */
324
+ /** Output only. The version of ConfigSync deployed */
327
325
  version?: ConfigManagementConfigSyncVersion;
328
326
  }
329
327
  interface ConfigManagementConfigSyncVersion {
@@ -365,21 +363,21 @@ declare namespace gapi.client {
365
363
  gatekeeperMutation?: string;
366
364
  }
367
365
  interface ConfigManagementGitConfig {
368
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
366
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
369
367
  gcpServiceAccountEmail?: string;
370
- /** URL for the HTTPS proxy to be used when communicating with the Git repo. */
368
+ /** Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. */
371
369
  httpsProxy?: string;
372
- /** The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
370
+ /** Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
373
371
  policyDir?: string;
374
- /** 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. */
372
+ /** 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. */
375
373
  secretType?: string;
376
- /** The branch of the repository to sync from. Default: master. */
374
+ /** Optional. The branch of the repository to sync from. Default: master. */
377
375
  syncBranch?: string;
378
- /** The URL of the Git repository to use as the source of truth. */
376
+ /** Required. The URL of the Git repository to use as the source of truth. */
379
377
  syncRepo?: string;
380
- /** Git revision (tag or hash) to check out. Default HEAD. */
378
+ /** Optional. Git revision (tag or hash) to check out. Default HEAD. */
381
379
  syncRev?: string;
382
- /** Period in seconds between consecutive syncs. Default: 15. */
380
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
383
381
  syncWaitSecs?: string;
384
382
  }
385
383
  interface ConfigManagementGroupVersionKind {
@@ -421,47 +419,47 @@ declare namespace gapi.client {
421
419
  errorMessage?: string;
422
420
  }
423
421
  interface ConfigManagementMembershipSpec {
424
- /** Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
422
+ /** Optional. Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
425
423
  binauthz?: ConfigManagementBinauthzConfig;
426
- /** 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. */
424
+ /** 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. */
427
425
  cluster?: string;
428
- /** Config Sync configuration for the cluster. */
426
+ /** Optional. Config Sync configuration for the cluster. */
429
427
  configSync?: ConfigManagementConfigSync;
430
- /** 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. */
428
+ /** 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. */
431
429
  hierarchyController?: ConfigManagementHierarchyControllerConfig;
432
- /** Enables automatic Feature management. */
430
+ /** Optional. Enables automatic Feature management. */
433
431
  management?: string;
434
- /** Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
432
+ /** Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
435
433
  policyController?: ConfigManagementPolicyController;
436
- /** Version of ACM installed. */
434
+ /** Optional. Version of ACM installed. */
437
435
  version?: string;
438
436
  }
439
437
  interface ConfigManagementMembershipState {
440
- /** Binauthz status */
438
+ /** Output only. Binauthz status */
441
439
  binauthzState?: ConfigManagementBinauthzState;
442
- /** 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. */
440
+ /** 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. */
443
441
  clusterName?: string;
444
- /** Current sync status */
442
+ /** Output only. Current sync status */
445
443
  configSyncState?: ConfigManagementConfigSyncState;
446
- /** Hierarchy Controller status */
444
+ /** Output only. Hierarchy Controller status */
447
445
  hierarchyControllerState?: ConfigManagementHierarchyControllerState;
448
- /** Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state */
446
+ /** 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 */
449
447
  membershipSpec?: ConfigManagementMembershipSpec;
450
- /** Current install status of ACM's Operator */
448
+ /** Output only. Current install status of ACM's Operator */
451
449
  operatorState?: ConfigManagementOperatorState;
452
- /** PolicyController status */
450
+ /** Output only. PolicyController status */
453
451
  policyControllerState?: ConfigManagementPolicyControllerState;
454
452
  }
455
453
  interface ConfigManagementOciConfig {
456
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
454
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
457
455
  gcpServiceAccountEmail?: string;
458
- /** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
456
+ /** Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
459
457
  policyDir?: string;
460
- /** Type of secret configured for access to the Git repo. */
458
+ /** 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. */
461
459
  secretType?: string;
462
- /** The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
460
+ /** Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
463
461
  syncRepo?: string;
464
- /** Period in seconds between consecutive syncs. Default: 15. */
462
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
465
463
  syncWaitSecs?: string;
466
464
  }
467
465
  interface ConfigManagementOperatorState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20241206",
3
+ "version": "0.0.20250113",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",