@maxim_mazurok/gapi.client.gkehub-v2alpha 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 -56
  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=v2alpha
12
- // Revision: 20241108
12
+ // Revision: 20250103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -88,21 +88,21 @@ declare namespace gapi.client {
88
88
  webhookVersion?: string;
89
89
  }
90
90
  interface ConfigManagementConfigSync {
91
- /** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
91
+ /** Optional. Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
92
92
  allowVerticalScale?: boolean;
93
- /** 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. */
93
+ /** 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. */
94
94
  enabled?: boolean;
95
- /** Git repo configuration for the cluster. */
95
+ /** Optional. Git repo configuration for the cluster. */
96
96
  git?: ConfigManagementGitConfig;
97
- /** 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. */
97
+ /** 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. */
98
98
  metricsGcpServiceAccountEmail?: string;
99
- /** OCI repo configuration for the cluster. */
99
+ /** Optional. OCI repo configuration for the cluster. */
100
100
  oci?: ConfigManagementOciConfig;
101
- /** 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. */
101
+ /** 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. */
102
102
  preventDrift?: boolean;
103
- /** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
103
+ /** Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
104
104
  sourceFormat?: string;
105
- /** Set to true to stop syncing configs for a single cluster. Default to false. */
105
+ /** Optional. Set to true to stop syncing configs for a single cluster. Default to false. */
106
106
  stopSyncing?: boolean;
107
107
  }
108
108
  interface ConfigManagementConfigSyncDeploymentState {
@@ -130,23 +130,23 @@ declare namespace gapi.client {
130
130
  errorMessage?: string;
131
131
  }
132
132
  interface ConfigManagementConfigSyncState {
133
- /** Whether syncing resources to the cluster is stopped at the cluster level. */
133
+ /** Output only. Whether syncing resources to the cluster is stopped at the cluster level. */
134
134
  clusterLevelStopSyncingState?: string;
135
135
  /** Output only. The number of RootSync and RepoSync CRs in the cluster. */
136
136
  crCount?: number;
137
- /** Information about the deployment of ConfigSync, including the version. of the various Pods deployed */
137
+ /** Output only. Information about the deployment of ConfigSync, including the version. of the various Pods deployed */
138
138
  deploymentState?: ConfigManagementConfigSyncDeploymentState;
139
- /** Errors pertaining to the installation of Config Sync. */
139
+ /** Output only. Errors pertaining to the installation of Config Sync. */
140
140
  errors?: ConfigManagementConfigSyncError[];
141
- /** The state of the Reposync CRD */
141
+ /** Output only. The state of the Reposync CRD */
142
142
  reposyncCrd?: string;
143
- /** The state of the RootSync CRD */
143
+ /** Output only. The state of the RootSync CRD */
144
144
  rootsyncCrd?: string;
145
- /** The state of CS This field summarizes the other fields in this message. */
145
+ /** Output only. The state of CS This field summarizes the other fields in this message. */
146
146
  state?: string;
147
- /** The state of ConfigSync's process to sync configs to a cluster. */
147
+ /** Output only. The state of ConfigSync's process to sync configs to a cluster. */
148
148
  syncState?: ConfigManagementSyncState;
149
- /** The version of ConfigSync deployed. */
149
+ /** Output only. The version of ConfigSync deployed. */
150
150
  version?: ConfigManagementConfigSyncVersion;
151
151
  }
152
152
  interface ConfigManagementConfigSyncVersion {
@@ -188,21 +188,21 @@ declare namespace gapi.client {
188
188
  gatekeeperMutation?: string;
189
189
  }
190
190
  interface ConfigManagementGitConfig {
191
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
191
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
192
192
  gcpServiceAccountEmail?: string;
193
- /** URL for the HTTPS proxy to be used when communicating with the Git repo. */
193
+ /** Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. */
194
194
  httpsProxy?: string;
195
- /** The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
195
+ /** Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
196
196
  policyDir?: string;
197
- /** 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. */
197
+ /** 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. */
198
198
  secretType?: string;
199
- /** The branch of the repository to sync from. Default: master. */
199
+ /** Optional. The branch of the repository to sync from. Default: master. */
200
200
  syncBranch?: string;
201
- /** The URL of the Git repository to use as the source of truth. */
201
+ /** Optional. The URL of the Git repository to use as the source of truth. */
202
202
  syncRepo?: string;
203
- /** Git revision (tag or hash) to check out. Default HEAD. */
203
+ /** Optional. Git revision (tag or hash) to check out. Default HEAD. */
204
204
  syncRev?: string;
205
- /** Period in seconds between consecutive syncs. Default: 15. */
205
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
206
206
  syncWaitSecs?: string;
207
207
  }
208
208
  interface ConfigManagementGroupVersionKind {
@@ -244,15 +244,15 @@ declare namespace gapi.client {
244
244
  errorMessage?: string;
245
245
  }
246
246
  interface ConfigManagementOciConfig {
247
- /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
247
+ /** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
248
248
  gcpServiceAccountEmail?: string;
249
- /** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
249
+ /** Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
250
250
  policyDir?: string;
251
- /** Type of secret configured for access to the Git repo. */
251
+ /** Optional. Type of secret configured for access to the Git repo. */
252
252
  secretType?: string;
253
- /** The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
253
+ /** Optional. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
254
254
  syncRepo?: string;
255
- /** Period in seconds between consecutive syncs. Default: 15. */
255
+ /** Optional. Period in seconds between consecutive syncs. Default: 15. */
256
256
  syncWaitSecs?: string;
257
257
  }
258
258
  interface ConfigManagementOperatorState {
@@ -306,35 +306,35 @@ declare namespace gapi.client {
306
306
  version?: string;
307
307
  }
308
308
  interface ConfigManagementSpec {
309
- /** Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
309
+ /** Optional. Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
310
310
  binauthz?: ConfigManagementBinauthzConfig;
311
- /** 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. */
311
+ /** 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. */
312
312
  cluster?: string;
313
- /** Config Sync configuration for the cluster. */
313
+ /** Optional. Config Sync configuration for the cluster. */
314
314
  configSync?: ConfigManagementConfigSync;
315
- /** 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. */
315
+ /** 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. */
316
316
  hierarchyController?: ConfigManagementHierarchyControllerConfig;
317
- /** Enables automatic Feature management. */
317
+ /** Optional. Enables automatic Feature management. */
318
318
  management?: string;
319
- /** Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
319
+ /** Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
320
320
  policyController?: ConfigManagementPolicyController;
321
- /** Version of ACM installed. */
321
+ /** Optional. Version of ACM installed. */
322
322
  version?: string;
323
323
  }
324
324
  interface ConfigManagementState {
325
- /** Binauthz status. */
325
+ /** Output only. Binauthz status. */
326
326
  binauthzState?: ConfigManagementBinauthzState;
327
- /** 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. */
327
+ /** 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. */
328
328
  clusterName?: string;
329
- /** Current sync status. */
329
+ /** Output only. Current sync status. */
330
330
  configSyncState?: ConfigManagementConfigSyncState;
331
- /** Hierarchy Controller status. */
331
+ /** Output only. Hierarchy Controller status. */
332
332
  hierarchyControllerState?: ConfigManagementHierarchyControllerState;
333
- /** Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state. */
333
+ /** 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. */
334
334
  membershipSpec?: ConfigManagementSpec;
335
- /** Current install status of ACM's Operator. */
335
+ /** Output only. Current install status of ACM's Operator. */
336
336
  operatorState?: ConfigManagementOperatorState;
337
- /** PolicyController status. */
337
+ /** Output only. PolicyController status. */
338
338
  policyControllerState?: ConfigManagementPolicyControllerState;
339
339
  }
340
340
  interface ConfigManagementSyncError {
@@ -362,14 +362,6 @@ declare namespace gapi.client {
362
362
  syncToken?: string;
363
363
  }
364
364
  interface Empty {}
365
- interface FeatureConfigRef {
366
- /** Input only. Resource name of FeatureConfig, in the format: `projects/{project}/locations/global/featureConfigs/{feature_config}`. */
367
- config?: string;
368
- /** Output only. When the FeatureConfig was last applied and copied to FeatureSpec. */
369
- configUpdateTime?: string;
370
- /** Output only. An id that uniquely identify a FeatureConfig object. */
371
- uuid?: string;
372
- }
373
365
  interface FeatureSpec {
374
366
  /** Cloudbuild-specific FeatureSpec. */
375
367
  cloudbuild?: CloudBuildSpec;
@@ -613,15 +605,13 @@ declare namespace gapi.client {
613
605
  createTime?: string;
614
606
  /** Output only. When the MembershipFeature resource was deleted. */
615
607
  deleteTime?: string;
616
- /** Reference information for a FeatureConfig applied on the MembershipFeature. */
617
- featureConfigRef?: FeatureConfigRef;
618
608
  /** GCP labels for this MembershipFeature. */
619
609
  labels?: {[P in string]: string};
620
610
  /** Output only. Lifecycle information of the resource itself. */
621
611
  lifecycleState?: LifecycleState;
622
612
  /** Output only. The resource name of the membershipFeature, in the format: `projects/{project}/locations/{location}/memberships/{membership}/features/{feature}`. Note that `membershipFeatures` is shortened to `features` in the resource name. (see http://go/aip/122#collection-identifiers) */
623
613
  name?: string;
624
- /** Spec of this membershipFeature. */
614
+ /** Optional. Spec of this membershipFeature. */
625
615
  spec?: FeatureSpec;
626
616
  /** Output only. State of the this membershipFeature. */
627
617
  state?: FeatureState;
@@ -1091,7 +1081,7 @@ declare namespace gapi.client {
1091
1081
  features: FeaturesResource;
1092
1082
  }
1093
1083
  interface OperationsResource {
1094
- /** 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`. */
1084
+ /** 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`. */
1095
1085
  cancel(request: {
1096
1086
  /** V1 error format. */
1097
1087
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v2alpha",
3
- "version": "0.0.20241108",
3
+ "version": "0.0.20250103",
4
4
  "description": "TypeScript typings for GKE Hub API v2alpha",
5
5
  "repository": {
6
6
  "type": "git",