@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20241108 → 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 +46 -46
  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: 20241108
12
+ // Revision: 20250103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -265,21 +265,21 @@ 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. */
268
+ /** Optional. Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
269
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. */
270
+ /** 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
271
  enabled?: boolean;
272
- /** Git repo configuration for the cluster. */
272
+ /** Optional. Git repo configuration for the cluster. */
273
273
  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. */
274
+ /** 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
275
  metricsGcpServiceAccountEmail?: string;
276
- /** OCI repo configuration for the cluster */
276
+ /** Optional. OCI repo configuration for the cluster */
277
277
  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. */
278
+ /** 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
279
  preventDrift?: boolean;
280
- /** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
280
+ /** Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
281
281
  sourceFormat?: string;
282
- /** Set to true to stop syncing configs for a single cluster. Default to false. */
282
+ /** Optional. Set to true to stop syncing configs for a single cluster. Default to false. */
283
283
  stopSyncing?: boolean;
284
284
  }
285
285
  interface ConfigManagementConfigSyncDeploymentState {
@@ -307,23 +307,23 @@ declare namespace gapi.client {
307
307
  errorMessage?: string;
308
308
  }
309
309
  interface ConfigManagementConfigSyncState {
310
- /** Whether syncing resources to the cluster is stopped at the cluster level. */
310
+ /** Output only. Whether syncing resources to the cluster is stopped at the cluster level. */
311
311
  clusterLevelStopSyncingState?: string;
312
312
  /** Output only. The number of RootSync and RepoSync CRs in the cluster. */
313
313
  crCount?: number;
314
- /** Information about the deployment of ConfigSync, including the version of the various Pods deployed */
314
+ /** Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed */
315
315
  deploymentState?: ConfigManagementConfigSyncDeploymentState;
316
- /** Errors pertaining to the installation of Config Sync. */
316
+ /** Output only. Errors pertaining to the installation of Config Sync. */
317
317
  errors?: ConfigManagementConfigSyncError[];
318
- /** The state of the Reposync CRD */
318
+ /** Output only. The state of the Reposync CRD */
319
319
  reposyncCrd?: string;
320
- /** The state of the RootSync CRD */
320
+ /** Output only. The state of the RootSync CRD */
321
321
  rootsyncCrd?: string;
322
- /** The state of CS This field summarizes the other fields in this message. */
322
+ /** Output only. The state of CS This field summarizes the other fields in this message. */
323
323
  state?: string;
324
- /** The state of ConfigSync's process to sync configs to a cluster */
324
+ /** Output only. The state of ConfigSync's process to sync configs to a cluster */
325
325
  syncState?: ConfigManagementSyncState;
326
- /** The version of ConfigSync deployed */
326
+ /** Output only. The version of ConfigSync deployed */
327
327
  version?: ConfigManagementConfigSyncVersion;
328
328
  }
329
329
  interface ConfigManagementConfigSyncVersion {
@@ -365,21 +365,21 @@ declare namespace gapi.client {
365
365
  gatekeeperMutation?: string;
366
366
  }
367
367
  interface ConfigManagementGitConfig {
368
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
368
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
369
369
  gcpServiceAccountEmail?: string;
370
- /** URL for the HTTPS proxy to be used when communicating with the Git repo. */
370
+ /** Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. */
371
371
  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. */
372
+ /** 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
373
  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. */
374
+ /** 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. */
375
375
  secretType?: string;
376
- /** The branch of the repository to sync from. Default: master. */
376
+ /** Optional. The branch of the repository to sync from. Default: master. */
377
377
  syncBranch?: string;
378
- /** The URL of the Git repository to use as the source of truth. */
378
+ /** Optional. The URL of the Git repository to use as the source of truth. */
379
379
  syncRepo?: string;
380
- /** Git revision (tag or hash) to check out. Default HEAD. */
380
+ /** Optional. Git revision (tag or hash) to check out. Default HEAD. */
381
381
  syncRev?: string;
382
- /** Period in seconds between consecutive syncs. Default: 15. */
382
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
383
383
  syncWaitSecs?: string;
384
384
  }
385
385
  interface ConfigManagementGroupVersionKind {
@@ -421,47 +421,47 @@ declare namespace gapi.client {
421
421
  errorMessage?: string;
422
422
  }
423
423
  interface ConfigManagementMembershipSpec {
424
- /** Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
424
+ /** Optional. Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
425
425
  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. */
426
+ /** 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
427
  cluster?: string;
428
- /** Config Sync configuration for the cluster. */
428
+ /** Optional. Config Sync configuration for the cluster. */
429
429
  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. */
430
+ /** 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
431
  hierarchyController?: ConfigManagementHierarchyControllerConfig;
432
- /** Enables automatic Feature management. */
432
+ /** Optional. Enables automatic Feature management. */
433
433
  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. */
434
+ /** 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
435
  policyController?: ConfigManagementPolicyController;
436
- /** Version of ACM installed. */
436
+ /** Optional. Version of ACM installed. */
437
437
  version?: string;
438
438
  }
439
439
  interface ConfigManagementMembershipState {
440
- /** Binauthz status */
440
+ /** Output only. Binauthz status */
441
441
  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. */
442
+ /** 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
443
  clusterName?: string;
444
- /** Current sync status */
444
+ /** Output only. Current sync status */
445
445
  configSyncState?: ConfigManagementConfigSyncState;
446
- /** Hierarchy Controller status */
446
+ /** Output only. Hierarchy Controller status */
447
447
  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 */
448
+ /** 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
449
  membershipSpec?: ConfigManagementMembershipSpec;
450
- /** Current install status of ACM's Operator */
450
+ /** Output only. Current install status of ACM's Operator */
451
451
  operatorState?: ConfigManagementOperatorState;
452
- /** PolicyController status */
452
+ /** Output only. PolicyController status */
453
453
  policyControllerState?: ConfigManagementPolicyControllerState;
454
454
  }
455
455
  interface ConfigManagementOciConfig {
456
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
456
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
457
457
  gcpServiceAccountEmail?: string;
458
- /** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
458
+ /** Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
459
459
  policyDir?: string;
460
- /** Type of secret configured for access to the Git repo. */
460
+ /** Optional. Type of secret configured for access to the Git repo. */
461
461
  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`. */
462
+ /** Optional. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
463
463
  syncRepo?: string;
464
- /** Period in seconds between consecutive syncs. Default: 15. */
464
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
465
465
  syncWaitSecs?: string;
466
466
  }
467
467
  interface ConfigManagementOperatorState {
@@ -1207,7 +1207,7 @@ declare namespace gapi.client {
1207
1207
  interface OperationMetadata {
1208
1208
  /** Output only. API version used to start the operation. */
1209
1209
  apiVersion?: string;
1210
- /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
1210
+ /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
1211
1211
  cancelRequested?: boolean;
1212
1212
  /** Output only. The time the operation was created. */
1213
1213
  createTime?: string;
@@ -3117,7 +3117,7 @@ declare namespace gapi.client {
3117
3117
  rbacrolebindings: RbacrolebindingsResource;
3118
3118
  }
3119
3119
  interface OperationsResource {
3120
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
3120
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
3121
3121
  cancel(request: {
3122
3122
  /** V1 error format. */
3123
3123
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20241108",
3
+ "version": "0.0.20250103",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",