@maxim_mazurok/gapi.client.gkehub-v2alpha 0.0.20240920 → 0.0.20241010

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 +1018 -1
  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: 20240920
12
+ // Revision: 20241010
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,8 +24,382 @@ declare namespace gapi.client {
24
24
  function load(name: 'gkehub', version: 'v2alpha', callback: () => any): void;
25
25
 
26
26
  namespace gkehub {
27
+ interface AppDevExperienceState {
28
+ /** Status of subcomponent that detects configured Service Mesh resources. */
29
+ networkingInstallSucceeded?: AppDevExperienceStatus;
30
+ }
31
+ interface AppDevExperienceStatus {
32
+ /** Code specifies AppDevExperienceFeature's subcomponent ready state. */
33
+ code?: string;
34
+ /** Description is populated if Code is Failed, explaining why it has failed. */
35
+ description?: string;
36
+ }
27
37
  interface CancelOperationRequest {}
38
+ interface CloudBuildSpec {
39
+ /** Whether it is allowed to run the privileged builds on the cluster or not. */
40
+ securityPolicy?: string;
41
+ /** Version of the cloud build software on the cluster. */
42
+ version?: string;
43
+ }
44
+ interface ClusterUpgradeGKEUpgrade {
45
+ /** Name of the upgrade, e.g., "k8s_control_plane". */
46
+ name?: string;
47
+ /** Version of the upgrade, e.g., "1.22.1-gke.100". */
48
+ version?: string;
49
+ }
50
+ interface ClusterUpgradeIgnoredMembership {
51
+ /** Time when the membership was first set to ignored. */
52
+ ignoredTime?: string;
53
+ /** Reason why the membership is ignored. */
54
+ reason?: string;
55
+ }
56
+ interface ClusterUpgradeMembershipGKEUpgradeState {
57
+ /** Status of the upgrade. */
58
+ status?: ClusterUpgradeUpgradeStatus;
59
+ /** Which upgrade to track the state. */
60
+ upgrade?: ClusterUpgradeGKEUpgrade;
61
+ }
62
+ interface ClusterUpgradeState {
63
+ /** Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. */
64
+ ignored?: ClusterUpgradeIgnoredMembership;
65
+ /** Actual upgrade state against desired. */
66
+ upgrades?: ClusterUpgradeMembershipGKEUpgradeState[];
67
+ }
68
+ interface ClusterUpgradeUpgradeStatus {
69
+ /** Status code of the upgrade. */
70
+ code?: string;
71
+ /** Reason for this status. */
72
+ reason?: string;
73
+ /** Last timestamp the status was updated. */
74
+ updateTime?: string;
75
+ }
76
+ interface ConfigManagementBinauthzConfig {
77
+ /** Whether binauthz is enabled in this cluster. */
78
+ enabled?: boolean;
79
+ }
80
+ interface ConfigManagementBinauthzState {
81
+ /** The version of binauthz that is installed. */
82
+ version?: ConfigManagementBinauthzVersion;
83
+ /** The state of the binauthz webhook. */
84
+ webhook?: string;
85
+ }
86
+ interface ConfigManagementBinauthzVersion {
87
+ /** The version of the binauthz webhook. */
88
+ webhookVersion?: string;
89
+ }
90
+ interface ConfigManagementConfigSync {
91
+ /** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
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. */
94
+ enabled?: boolean;
95
+ /** Git repo configuration for the cluster. */
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. */
98
+ metricsGcpServiceAccountEmail?: string;
99
+ /** OCI repo configuration for the cluster. */
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. */
102
+ preventDrift?: boolean;
103
+ /** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
104
+ sourceFormat?: string;
105
+ }
106
+ interface ConfigManagementConfigSyncDeploymentState {
107
+ /** Deployment state of admission-webhook. */
108
+ admissionWebhook?: string;
109
+ /** Deployment state of the git-sync pod. */
110
+ gitSync?: string;
111
+ /** Deployment state of the importer pod. */
112
+ importer?: string;
113
+ /** Deployment state of the monitor pod. */
114
+ monitor?: string;
115
+ /** Deployment state of otel-collector */
116
+ otelCollector?: string;
117
+ /** Deployment state of reconciler-manager pod. */
118
+ reconcilerManager?: string;
119
+ /** Deployment state of resource-group-controller-manager */
120
+ resourceGroupControllerManager?: string;
121
+ /** Deployment state of root-reconciler. */
122
+ rootReconciler?: string;
123
+ /** Deployment state of the syncer pod. */
124
+ syncer?: string;
125
+ }
126
+ interface ConfigManagementConfigSyncError {
127
+ /** A string representing the user facing error message */
128
+ errorMessage?: string;
129
+ }
130
+ interface ConfigManagementConfigSyncState {
131
+ /** Whether syncing resources to the cluster is stopped at the cluster level. */
132
+ clusterLevelStopSyncingState?: string;
133
+ /** Information about the deployment of ConfigSync, including the version. of the various Pods deployed */
134
+ deploymentState?: ConfigManagementConfigSyncDeploymentState;
135
+ /** Errors pertaining to the installation of Config Sync. */
136
+ errors?: ConfigManagementConfigSyncError[];
137
+ /** The state of the Reposync CRD */
138
+ reposyncCrd?: string;
139
+ /** The state of the RootSync CRD */
140
+ rootsyncCrd?: string;
141
+ /** The state of CS This field summarizes the other fields in this message. */
142
+ state?: string;
143
+ /** The state of ConfigSync's process to sync configs to a cluster. */
144
+ syncState?: ConfigManagementSyncState;
145
+ /** The version of ConfigSync deployed. */
146
+ version?: ConfigManagementConfigSyncVersion;
147
+ }
148
+ interface ConfigManagementConfigSyncVersion {
149
+ /** Version of the deployed admission-webhook pod. */
150
+ admissionWebhook?: string;
151
+ /** Version of the deployed git-sync pod. */
152
+ gitSync?: string;
153
+ /** Version of the deployed importer pod. */
154
+ importer?: string;
155
+ /** Version of the deployed monitor pod. */
156
+ monitor?: string;
157
+ /** Version of the deployed otel-collector pod */
158
+ otelCollector?: string;
159
+ /** Version of the deployed reconciler-manager pod. */
160
+ reconcilerManager?: string;
161
+ /** Version of the deployed resource-group-controller-manager pod */
162
+ resourceGroupControllerManager?: string;
163
+ /** Version of the deployed reconciler container in root-reconciler pod. */
164
+ rootReconciler?: string;
165
+ /** Version of the deployed syncer pod. */
166
+ syncer?: string;
167
+ }
168
+ interface ConfigManagementErrorResource {
169
+ /** Group/version/kind of the resource that is causing an error */
170
+ resourceGvk?: ConfigManagementGroupVersionKind;
171
+ /** Metadata name of the resource that is causing an error */
172
+ resourceName?: string;
173
+ /** Namespace of the resource that is causing an error */
174
+ resourceNamespace?: string;
175
+ /** Path in the git repo of the erroneous config */
176
+ sourcePath?: string;
177
+ }
178
+ interface ConfigManagementGatekeeperDeploymentState {
179
+ /** Status of gatekeeper-audit deployment. */
180
+ gatekeeperAudit?: string;
181
+ /** Status of gatekeeper-controller-manager pod. */
182
+ gatekeeperControllerManagerState?: string;
183
+ /** Status of the pod serving the mutation webhook. */
184
+ gatekeeperMutation?: string;
185
+ }
186
+ interface ConfigManagementGitConfig {
187
+ /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
188
+ gcpServiceAccountEmail?: string;
189
+ /** URL for the HTTPS proxy to be used when communicating with the Git repo. */
190
+ httpsProxy?: string;
191
+ /** The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
192
+ policyDir?: string;
193
+ /** 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. */
194
+ secretType?: string;
195
+ /** The branch of the repository to sync from. Default: master. */
196
+ syncBranch?: string;
197
+ /** The URL of the Git repository to use as the source of truth. */
198
+ syncRepo?: string;
199
+ /** Git revision (tag or hash) to check out. Default HEAD. */
200
+ syncRev?: string;
201
+ /** Period in seconds between consecutive syncs. Default: 15. */
202
+ syncWaitSecs?: string;
203
+ }
204
+ interface ConfigManagementGroupVersionKind {
205
+ /** Kubernetes Group */
206
+ group?: string;
207
+ /** Kubernetes Kind */
208
+ kind?: string;
209
+ /** Kubernetes Version */
210
+ version?: string;
211
+ }
212
+ interface ConfigManagementHierarchyControllerConfig {
213
+ /** Whether Hierarchy Controller is enabled in this cluster. */
214
+ enabled?: boolean;
215
+ /** Whether hierarchical resource quota is enabled in this cluster. */
216
+ enableHierarchicalResourceQuota?: boolean;
217
+ /** Whether pod tree labels are enabled in this cluster. */
218
+ enablePodTreeLabels?: boolean;
219
+ }
220
+ interface ConfigManagementHierarchyControllerDeploymentState {
221
+ /** The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1). */
222
+ extension?: string;
223
+ /** The deployment state for open source HNC (e.g. v0.7.0-hc.0). */
224
+ hnc?: string;
225
+ }
226
+ interface ConfigManagementHierarchyControllerState {
227
+ /** The deployment state for Hierarchy Controller. */
228
+ state?: ConfigManagementHierarchyControllerDeploymentState;
229
+ /** The version for Hierarchy Controller. */
230
+ version?: ConfigManagementHierarchyControllerVersion;
231
+ }
232
+ interface ConfigManagementHierarchyControllerVersion {
233
+ /** Version for Hierarchy Controller extension. */
234
+ extension?: string;
235
+ /** Version for open source HNC. */
236
+ hnc?: string;
237
+ }
238
+ interface ConfigManagementInstallError {
239
+ /** A string representing the user facing error message. */
240
+ errorMessage?: string;
241
+ }
242
+ interface ConfigManagementOciConfig {
243
+ /** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
244
+ gcpServiceAccountEmail?: string;
245
+ /** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
246
+ policyDir?: string;
247
+ /** Type of secret configured for access to the Git repo. */
248
+ secretType?: string;
249
+ /** The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
250
+ syncRepo?: string;
251
+ /** Period in seconds between consecutive syncs. Default: 15. */
252
+ syncWaitSecs?: string;
253
+ }
254
+ interface ConfigManagementOperatorState {
255
+ /** The state of the Operator's deployment. */
256
+ deploymentState?: string;
257
+ /** Install errors. */
258
+ errors?: ConfigManagementInstallError[];
259
+ /** The semenatic version number of the operator. */
260
+ version?: string;
261
+ }
262
+ interface ConfigManagementPolicyController {
263
+ /** Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether. */
264
+ auditIntervalSeconds?: string;
265
+ /** Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect. */
266
+ enabled?: boolean;
267
+ /** The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster. */
268
+ exemptableNamespaces?: string[];
269
+ /** Logs all denies and dry run failures. */
270
+ logDeniesEnabled?: boolean;
271
+ /** Monitoring specifies the configuration of monitoring. */
272
+ monitoring?: ConfigManagementPolicyControllerMonitoring;
273
+ /** Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster. */
274
+ mutationEnabled?: boolean;
275
+ /** Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. */
276
+ referentialRulesEnabled?: boolean;
277
+ /** Installs the default template library along with Policy Controller. */
278
+ templateLibraryInstalled?: boolean;
279
+ /** Output only. Last time this membership spec was updated. */
280
+ updateTime?: string;
281
+ }
282
+ interface ConfigManagementPolicyControllerMigration {
283
+ /** Last time this membership spec was copied to PoCo feature. */
284
+ copyTime?: string;
285
+ /** Stage of the migration. */
286
+ stage?: string;
287
+ }
288
+ interface ConfigManagementPolicyControllerMonitoring {
289
+ /** Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export. */
290
+ backends?: string[];
291
+ }
292
+ interface ConfigManagementPolicyControllerState {
293
+ /** The state about the policy controller installation. */
294
+ deploymentState?: ConfigManagementGatekeeperDeploymentState;
295
+ /** Record state of ACM -> PoCo Hub migration for this feature. */
296
+ migration?: ConfigManagementPolicyControllerMigration;
297
+ /** The version of Gatekeeper Policy Controller deployed. */
298
+ version?: ConfigManagementPolicyControllerVersion;
299
+ }
300
+ interface ConfigManagementPolicyControllerVersion {
301
+ /** The gatekeeper image tag that is composed of ACM version, git tag, build number. */
302
+ version?: string;
303
+ }
304
+ interface ConfigManagementSpec {
305
+ /** Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
306
+ binauthz?: ConfigManagementBinauthzConfig;
307
+ /** 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. */
308
+ cluster?: string;
309
+ /** Config Sync configuration for the cluster. */
310
+ configSync?: ConfigManagementConfigSync;
311
+ /** 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. */
312
+ hierarchyController?: ConfigManagementHierarchyControllerConfig;
313
+ /** Enables automatic Feature management. */
314
+ management?: string;
315
+ /** Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
316
+ policyController?: ConfigManagementPolicyController;
317
+ /** Version of ACM installed. */
318
+ version?: string;
319
+ }
320
+ interface ConfigManagementState {
321
+ /** Binauthz status. */
322
+ binauthzState?: ConfigManagementBinauthzState;
323
+ /** 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. */
324
+ clusterName?: string;
325
+ /** Current sync status. */
326
+ configSyncState?: ConfigManagementConfigSyncState;
327
+ /** Hierarchy Controller status. */
328
+ hierarchyControllerState?: ConfigManagementHierarchyControllerState;
329
+ /** Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state. */
330
+ membershipSpec?: ConfigManagementSpec;
331
+ /** Current install status of ACM's Operator. */
332
+ operatorState?: ConfigManagementOperatorState;
333
+ /** PolicyController status. */
334
+ policyControllerState?: ConfigManagementPolicyControllerState;
335
+ }
336
+ interface ConfigManagementSyncError {
337
+ /** An ACM defined error code */
338
+ code?: string;
339
+ /** A description of the error */
340
+ errorMessage?: string;
341
+ /** A list of config(s) associated with the error, if any */
342
+ errorResources?: ConfigManagementErrorResource[];
343
+ }
344
+ interface ConfigManagementSyncState {
345
+ /** Sync status code. */
346
+ code?: string;
347
+ /** A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist. */
348
+ errors?: ConfigManagementSyncError[];
349
+ /** Token indicating the state of the importer. */
350
+ importToken?: string;
351
+ /** Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo. The time format is specified in https://golang.org/pkg/time/#Time.String */
352
+ lastSync?: string;
353
+ /** Timestamp type of when ACM last successfully synced the repo. */
354
+ lastSyncTime?: string;
355
+ /** Token indicating the state of the repo. */
356
+ sourceToken?: string;
357
+ /** Token indicating the state of the syncer. */
358
+ syncToken?: string;
359
+ }
28
360
  interface Empty {}
361
+ interface FeatureConfigRef {
362
+ /** Input only. Resource name of FeatureConfig, in the format: `projects/{project}/locations/global/featureConfigs/{feature_config}`. */
363
+ config?: string;
364
+ /** Output only. When the FeatureConfig was last applied and copied to FeatureSpec. */
365
+ configUpdateTime?: string;
366
+ /** Output only. An id that uniquely identify a FeatureConfig object. */
367
+ uuid?: string;
368
+ }
369
+ interface FeatureSpec {
370
+ /** Cloudbuild-specific FeatureSpec. */
371
+ cloudbuild?: CloudBuildSpec;
372
+ /** Config Management FeatureSpec. */
373
+ configmanagement?: ConfigManagementSpec;
374
+ /** IdentityService FeatureSpec. */
375
+ identityservice?: IdentityServiceSpec;
376
+ /** Whether this per-Feature spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Feature config (updated to USER implicitly) or setting to FLEET explicitly. */
377
+ origin?: Origin;
378
+ /** Policycontroller-specific FeatureSpec. */
379
+ policycontroller?: PolicyControllerSpec;
380
+ /** ServiceMesh Feature Spec. */
381
+ servicemesh?: ServiceMeshSpec;
382
+ /** Workloadcertificate-specific FeatureSpec. */
383
+ workloadcertificate?: WorkloadCertificateSpec;
384
+ }
385
+ interface FeatureState {
386
+ /** Appdevexperience specific state. */
387
+ appdevexperience?: AppDevExperienceState;
388
+ /** Cluster upgrade state. */
389
+ clusterupgrade?: ClusterUpgradeState;
390
+ /** Config Management state */
391
+ configmanagement?: ConfigManagementState;
392
+ /** Identity service state */
393
+ identityservice?: IdentityServiceState;
394
+ /** Metering state */
395
+ metering?: MeteringState;
396
+ /** Policy Controller state */
397
+ policycontroller?: PolicyControllerState;
398
+ /** Service mesh state */
399
+ servicemesh?: ServiceMeshState;
400
+ /** The high-level state of this MembershipFeature. */
401
+ state?: State;
402
+ }
29
403
  interface GoogleRpcStatus {
30
404
  /** The status code, which should be an enum value of google.rpc.Code. */
31
405
  code?: number;
@@ -34,12 +408,184 @@ declare namespace gapi.client {
34
408
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
35
409
  message?: string;
36
410
  }
411
+ interface IdentityServiceAuthMethod {
412
+ /** AzureAD specific Configuration. */
413
+ azureadConfig?: IdentityServiceAzureADConfig;
414
+ /** GoogleConfig specific configuration */
415
+ googleConfig?: IdentityServiceGoogleConfig;
416
+ /** LDAP specific configuration. */
417
+ ldapConfig?: IdentityServiceLdapConfig;
418
+ /** Identifier for auth config. */
419
+ name?: string;
420
+ /** OIDC specific configuration. */
421
+ oidcConfig?: IdentityServiceOidcConfig;
422
+ /** Proxy server address to use for auth method. */
423
+ proxy?: string;
424
+ /** SAML specific configuration. */
425
+ samlConfig?: IdentityServiceSamlConfig;
426
+ }
427
+ interface IdentityServiceAzureADConfig {
428
+ /** ID for the registered client application that makes authentication requests to the Azure AD identity provider. */
429
+ clientId?: string;
430
+ /** Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH. */
431
+ clientSecret?: string;
432
+ /** Output only. Encrypted AzureAD client secret. */
433
+ encryptedClientSecret?: string;
434
+ /** Optional. Format of the AzureAD groups that the client wants for auth. */
435
+ groupFormat?: string;
436
+ /** The redirect URL that kubectl uses for authorization. */
437
+ kubectlRedirectUri?: string;
438
+ /** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
439
+ tenant?: string;
440
+ /** Optional. Claim in the AzureAD ID Token that holds the user details. */
441
+ userClaim?: string;
442
+ }
443
+ interface IdentityServiceDiagnosticInterface {
444
+ /** Determines whether to enable the diagnostic interface. */
445
+ enabled?: boolean;
446
+ /** Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected. */
447
+ expirationTime?: string;
448
+ }
449
+ interface IdentityServiceGoogleConfig {
450
+ /** Disable automatic configuration of Google Plugin on supported platforms. */
451
+ disable?: boolean;
452
+ }
453
+ interface IdentityServiceGroupConfig {
454
+ /** Required. The location of the subtree in the LDAP directory to search for group entries. */
455
+ baseDn?: string;
456
+ /** Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to "(objectClass=Group)". */
457
+ filter?: string;
458
+ /** Optional. The identifying name of each group a user belongs to. For example, if this is set to "distinguishedName" then RBACs and other group expectations should be written as full DNs. This defaults to "distinguishedName". */
459
+ idAttribute?: string;
460
+ }
461
+ interface IdentityServiceIdentityServiceOptions {
462
+ /** Configuration options for the AIS diagnostic interface. */
463
+ diagnosticInterface?: IdentityServiceDiagnosticInterface;
464
+ /** Determines the lifespan of STS tokens issued by Anthos Identity Service. */
465
+ sessionDuration?: string;
466
+ }
467
+ interface IdentityServiceLdapConfig {
468
+ /** Optional. Contains the properties for locating and authenticating groups in the directory. */
469
+ group?: IdentityServiceGroupConfig;
470
+ /** Required. Server settings for the external LDAP server. */
471
+ server?: IdentityServiceServerConfig;
472
+ /** Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. */
473
+ serviceAccount?: IdentityServiceServiceAccountConfig;
474
+ /** Required. Defines where users exist in the LDAP directory. */
475
+ user?: IdentityServiceUserConfig;
476
+ }
477
+ interface IdentityServiceOidcConfig {
478
+ /** PEM-encoded CA for OIDC provider. */
479
+ certificateAuthorityData?: string;
480
+ /** ID for OIDC client application. */
481
+ clientId?: string;
482
+ /** Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH. */
483
+ clientSecret?: string;
484
+ /** Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console. */
485
+ deployCloudConsoleProxy?: boolean;
486
+ /** Enable access token. */
487
+ enableAccessToken?: boolean;
488
+ /** Output only. Encrypted OIDC Client secret */
489
+ encryptedClientSecret?: string;
490
+ /** Comma-separated list of key-value pairs. */
491
+ extraParams?: string;
492
+ /** Prefix to prepend to group name. */
493
+ groupPrefix?: string;
494
+ /** Claim in OIDC ID token that holds group information. */
495
+ groupsClaim?: string;
496
+ /** URI for the OIDC provider. This should point to the level below .well-known/openid-configuration. */
497
+ issuerUri?: string;
498
+ /** Registered redirect uri to redirect users going through OAuth flow using kubectl plugin. */
499
+ kubectlRedirectUri?: string;
500
+ /** Comma-separated list of identifiers. */
501
+ scopes?: string;
502
+ /** Claim in OIDC ID token that holds username. */
503
+ userClaim?: string;
504
+ /** Prefix to prepend to user name. */
505
+ userPrefix?: string;
506
+ }
507
+ interface IdentityServiceSamlConfig {
508
+ /** Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is "attribute.nickname" and `value` is "assertion.nickname". */
509
+ attributeMapping?: {[P in string]: string};
510
+ /** Optional. Prefix to prepend to group name. */
511
+ groupPrefix?: string;
512
+ /** Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`). */
513
+ groupsAttribute?: string;
514
+ /** Required. The list of IdP certificates to validate the SAML response against. */
515
+ identityProviderCertificates?: string[];
516
+ /** Required. The entity ID of the SAML IdP. */
517
+ identityProviderId?: string;
518
+ /** Required. The URI where the SAML IdP exposes the SSO service. */
519
+ identityProviderSsoUri?: string;
520
+ /** Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`). */
521
+ userAttribute?: string;
522
+ /** Optional. Prefix to prepend to user name. */
523
+ userPrefix?: string;
524
+ }
525
+ interface IdentityServiceServerConfig {
526
+ /** Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the "ldaps" and "startTLS" connections. */
527
+ certificateAuthorityData?: string;
528
+ /** Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty. */
529
+ connectionType?: string;
530
+ /** Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, "ldap.server.example" or "10.10.10.10:389". */
531
+ host?: string;
532
+ }
533
+ interface IdentityServiceServiceAccountConfig {
534
+ /** Credentials for basic auth. */
535
+ simpleBindCredentials?: IdentityServiceSimpleBindCredentials;
536
+ }
537
+ interface IdentityServiceSimpleBindCredentials {
538
+ /** Required. The distinguished name(DN) of the service account object/user. */
539
+ dn?: string;
540
+ /** Output only. The encrypted password of the service account object/user. */
541
+ encryptedPassword?: string;
542
+ /** Required. Input only. The password of the service account object/user. */
543
+ password?: string;
544
+ }
545
+ interface IdentityServiceSpec {
546
+ /** A member may support multiple auth methods. */
547
+ authMethods?: IdentityServiceAuthMethod[];
548
+ /** Optional. non-protocol-related configuration options. */
549
+ identityServiceOptions?: IdentityServiceIdentityServiceOptions;
550
+ }
551
+ interface IdentityServiceState {
552
+ /** The reason of the failure. */
553
+ failureReason?: string;
554
+ /** Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK. */
555
+ installedVersion?: string;
556
+ /** Last reconciled membership configuration */
557
+ memberConfig?: IdentityServiceSpec;
558
+ /** Deployment state on this member */
559
+ state?: string;
560
+ }
561
+ interface IdentityServiceUserConfig {
562
+ /** Required. The location of the subtree in the LDAP directory to search for user entries. */
563
+ baseDn?: string;
564
+ /** Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to "(objectClass=User)". */
565
+ filter?: string;
566
+ /** Optional. Determines which attribute to use as the user's identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to "sAMAccountName" and identifierAttribute to "userPrincipalName" would allow a user to login as "bsmith", but actual RBAC policies for the user would be written as "bsmith@example.com". Using "userPrincipalName" is recommended since this will be unique for each user. This defaults to "userPrincipalName". */
567
+ idAttribute?: string;
568
+ /** Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. "(=)" and is combined with the optional filter field. This defaults to "userPrincipalName". */
569
+ loginAttribute?: string;
570
+ }
571
+ interface LifecycleState {
572
+ /** Output only. The current state of the Feature resource in the Hub API. */
573
+ state?: string;
574
+ }
37
575
  interface ListLocationsResponse {
38
576
  /** A list of locations that matches the specified filter in the request. */
39
577
  locations?: Location[];
40
578
  /** The standard List next-page token. */
41
579
  nextPageToken?: string;
42
580
  }
581
+ interface ListMembershipFeaturesResponse {
582
+ /** The list of matching MembershipFeatures. */
583
+ membershipFeatures?: MembershipFeature[];
584
+ /** A token to request the next page of resources from the `ListMembershipFeatures` method. The value of an empty string means that there are no more resources to return. */
585
+ nextPageToken?: string;
586
+ /** List of locations that could not be reached while fetching this list. */
587
+ unreachable?: string[];
588
+ }
43
589
  interface ListOperationsResponse {
44
590
  /** The standard List next-page token. */
45
591
  nextPageToken?: string;
@@ -58,6 +604,32 @@ declare namespace gapi.client {
58
604
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
59
605
  name?: string;
60
606
  }
607
+ interface MembershipFeature {
608
+ /** Output only. When the MembershipFeature resource was created. */
609
+ createTime?: string;
610
+ /** Output only. When the MembershipFeature resource was deleted. */
611
+ deleteTime?: string;
612
+ /** Reference information for a FeatureConfig applied on the MembershipFeature. */
613
+ featureConfigRef?: FeatureConfigRef;
614
+ /** GCP labels for this MembershipFeature. */
615
+ labels?: {[P in string]: string};
616
+ /** Output only. Lifecycle information of the resource itself. */
617
+ lifecycleState?: LifecycleState;
618
+ /** 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) */
619
+ name?: string;
620
+ /** Spec of this membershipFeature. */
621
+ spec?: FeatureSpec;
622
+ /** Output only. State of the this membershipFeature. */
623
+ state?: FeatureState;
624
+ /** Output only. When the MembershipFeature resource was last updated. */
625
+ updateTime?: string;
626
+ }
627
+ interface MeteringState {
628
+ /** The time stamp of the most recent measurement of the number of vCPUs in the cluster. */
629
+ lastMeasurementTime?: string;
630
+ /** The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision). */
631
+ preciseLastMeasuredClusterVcpuCapacity?: number;
632
+ }
61
633
  interface Operation {
62
634
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
63
635
  done?: boolean;
@@ -70,6 +642,450 @@ declare namespace gapi.client {
70
642
  /** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
71
643
  response?: {[P in string]: any};
72
644
  }
645
+ interface OperationMetadata {
646
+ /** Output only. API version used to start the operation. */
647
+ apiVersion?: string;
648
+ /** 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`. */
649
+ cancelRequested?: boolean;
650
+ /** Output only. The time the operation was created. */
651
+ createTime?: string;
652
+ /** Output only. The time the operation finished running. */
653
+ endTime?: string;
654
+ /** Output only. Human-readable status of the operation, if any. */
655
+ statusDetail?: string;
656
+ /** Output only. Server-defined resource path for the target of the operation. */
657
+ target?: string;
658
+ /** Output only. Name of the verb executed by the operation. */
659
+ verb?: string;
660
+ }
661
+ interface Origin {
662
+ /** Type specifies which type of origin is set. */
663
+ type?: string;
664
+ }
665
+ interface PolicyControllerBundleInstallSpec {
666
+ /** the set of namespaces to be exempted from the bundle */
667
+ exemptedNamespaces?: string[];
668
+ }
669
+ interface PolicyControllerHubConfig {
670
+ /** Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether. */
671
+ auditIntervalSeconds?: string;
672
+ /** The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used. */
673
+ constraintViolationLimit?: string;
674
+ /** Map of deployment configs to deployments (“admission”, “audit”, “mutation”). */
675
+ deploymentConfigs?: {
676
+ [P in string]: PolicyControllerPolicyControllerDeploymentConfig;
677
+ };
678
+ /** The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster. */
679
+ exemptableNamespaces?: string[];
680
+ /** The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state. */
681
+ installSpec?: string;
682
+ /** Logs all denies and dry run failures. */
683
+ logDeniesEnabled?: boolean;
684
+ /** Monitoring specifies the configuration of monitoring. */
685
+ monitoring?: PolicyControllerMonitoringConfig;
686
+ /** Enables the ability to mutate resources using Policy Controller. */
687
+ mutationEnabled?: boolean;
688
+ /** Specifies the desired policy content on the cluster */
689
+ policyContent?: PolicyControllerPolicyContentSpec;
690
+ /** Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. */
691
+ referentialRulesEnabled?: boolean;
692
+ }
693
+ interface PolicyControllerMonitoringConfig {
694
+ /** Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export. */
695
+ backends?: string[];
696
+ }
697
+ interface PolicyControllerOnClusterState {
698
+ /** Surface potential errors or information logs. */
699
+ details?: string;
700
+ /** The lifecycle state of this component. */
701
+ state?: string;
702
+ }
703
+ interface PolicyControllerPolicyContentSpec {
704
+ /** map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint. */
705
+ bundles?: {[P in string]: PolicyControllerBundleInstallSpec};
706
+ /** Configures the installation of the Template Library. */
707
+ templateLibrary?: PolicyControllerTemplateLibraryConfig;
708
+ }
709
+ interface PolicyControllerPolicyContentState {
710
+ /** The state of the any bundles included in the chosen version of the manifest */
711
+ bundleStates?: {[P in string]: PolicyControllerOnClusterState};
712
+ /** The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user. */
713
+ referentialSyncConfigState?: PolicyControllerOnClusterState;
714
+ /** The state of the template library */
715
+ templateLibraryState?: PolicyControllerOnClusterState;
716
+ }
717
+ interface PolicyControllerPolicyControllerDeploymentConfig {
718
+ /** Container resource requirements. */
719
+ containerResources?: PolicyControllerResourceRequirements;
720
+ /** Pod affinity configuration. */
721
+ podAffinity?: string;
722
+ /** Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead. */
723
+ podAntiAffinity?: boolean;
724
+ /** Pod tolerations of node taints. */
725
+ podTolerations?: PolicyControllerToleration[];
726
+ /** Pod replica count. */
727
+ replicaCount?: string;
728
+ }
729
+ interface PolicyControllerResourceList {
730
+ /** CPU requirement expressed in Kubernetes resource units. */
731
+ cpu?: string;
732
+ /** Memory requirement expressed in Kubernetes resource units. */
733
+ memory?: string;
734
+ }
735
+ interface PolicyControllerResourceRequirements {
736
+ /** Limits describes the maximum amount of compute resources allowed for use by the running container. */
737
+ limits?: PolicyControllerResourceList;
738
+ /** Requests describes the amount of compute resources reserved for the container by the kube-scheduler. */
739
+ requests?: PolicyControllerResourceList;
740
+ }
741
+ interface PolicyControllerSpec {
742
+ /** Policy Controller configuration for the cluster. */
743
+ policyControllerHubConfig?: PolicyControllerHubConfig;
744
+ /** Version of Policy Controller installed. */
745
+ version?: string;
746
+ }
747
+ interface PolicyControllerState {
748
+ /** Currently these include (also serving as map keys): 1. "admission" 2. "audit" 3. "mutation" */
749
+ componentStates?: {[P in string]: PolicyControllerOnClusterState};
750
+ /** The overall content state observed by the Hub Feature controller. */
751
+ policyContentState?: PolicyControllerPolicyContentState;
752
+ /** The overall Policy Controller lifecycle state observed by the Hub Feature controller. */
753
+ state?: string;
754
+ }
755
+ interface PolicyControllerTemplateLibraryConfig {
756
+ /** Configures the manner in which the template library is installed on the cluster. */
757
+ installation?: string;
758
+ }
759
+ interface PolicyControllerToleration {
760
+ /** Matches a taint effect. */
761
+ effect?: string;
762
+ /** Matches a taint key (not necessarily unique). */
763
+ key?: string;
764
+ /** Matches a taint operator. */
765
+ operator?: string;
766
+ /** Matches a taint value. */
767
+ value?: string;
768
+ }
769
+ interface ServiceMeshAnalysisMessage {
770
+ /** A UI can combine these args with a template (based on message_base.type) to produce an internationalized message. */
771
+ args?: {[P in string]: any};
772
+ /** A human readable description of what the error means. It is suitable for non-internationalize display purposes. */
773
+ description?: string;
774
+ /** Details common to all types of Istio and ServiceMesh analysis messages. */
775
+ messageBase?: ServiceMeshAnalysisMessageBase;
776
+ /** A list of strings specifying the resource identifiers that were the cause of message generation. A "path" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster */
777
+ resourcePaths?: string[];
778
+ }
779
+ interface ServiceMeshAnalysisMessageBase {
780
+ /** A url pointing to the Service Mesh or Istio documentation for this specific error type. */
781
+ documentationUrl?: string;
782
+ /** Represents how severe a message is. */
783
+ level?: string;
784
+ /** Represents the specific type of a message. */
785
+ type?: ServiceMeshType;
786
+ }
787
+ interface ServiceMeshCondition {
788
+ /** Unique identifier of the condition which describes the condition recognizable to the user. */
789
+ code?: string;
790
+ /** A short summary about the issue. */
791
+ details?: string;
792
+ /** Links contains actionable information. */
793
+ documentationLink?: string;
794
+ /** Severity level of the condition. */
795
+ severity?: string;
796
+ }
797
+ interface ServiceMeshControlPlaneManagement {
798
+ /** Explanation of state. */
799
+ details?: ServiceMeshStatusDetails[];
800
+ /** Output only. Implementation of managed control plane. */
801
+ implementation?: string;
802
+ /** LifecycleState of control plane management. */
803
+ state?: string;
804
+ }
805
+ interface ServiceMeshDataPlaneManagement {
806
+ /** Explanation of the status. */
807
+ details?: ServiceMeshStatusDetails[];
808
+ /** Lifecycle status of data plane management. */
809
+ state?: string;
810
+ }
811
+ interface ServiceMeshSpec {
812
+ /** Optional. Specifies the API that will be used for configuring the mesh workloads. */
813
+ configApi?: string;
814
+ /** Deprecated: use `management` instead Enables automatic control plane management. */
815
+ controlPlane?: string;
816
+ /** Determines which release channel to use for default injection and service mesh APIs. */
817
+ defaultChannel?: string;
818
+ /** Optional. Enables automatic Service Mesh management. */
819
+ management?: string;
820
+ }
821
+ interface ServiceMeshState {
822
+ /** Output only. Results of running Service Mesh analyzers. */
823
+ analysisMessages?: ServiceMeshAnalysisMessage[];
824
+ /** Output only. List of conditions reported for this membership. */
825
+ conditions?: ServiceMeshCondition[];
826
+ /** The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field. */
827
+ configApiVersion?: string;
828
+ /** Output only. Status of control plane management */
829
+ controlPlaneManagement?: ServiceMeshControlPlaneManagement;
830
+ /** Output only. Status of data plane management. */
831
+ dataPlaneManagement?: ServiceMeshDataPlaneManagement;
832
+ }
833
+ interface ServiceMeshStatusDetails {
834
+ /** A machine-readable code that further describes a broad status. */
835
+ code?: string;
836
+ /** Human-readable explanation of code. */
837
+ details?: string;
838
+ }
839
+ interface ServiceMeshType {
840
+ /** A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. "IST0001" is mapped to the "InternalError" message type.) */
841
+ code?: string;
842
+ /** A human-readable name for the message type. e.g. "InternalError", "PodMissingProxy". This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.) */
843
+ displayName?: string;
844
+ }
845
+ interface State {
846
+ /** The high-level, machine-readable status of this MembershipFeature. */
847
+ code?: string;
848
+ /** A human-readable description of the current status. */
849
+ description?: string;
850
+ /** The time this status and any related Feature-specific details were updated. */
851
+ updateTime?: string;
852
+ }
853
+ interface WorkloadCertificateSpec {
854
+ /** CertificateManagement specifies workload certificate management. */
855
+ certificateManagement?: string;
856
+ }
857
+ interface FeaturesResource {
858
+ /** Creates membershipFeature under a given parent. */
859
+ create(request: {
860
+ /** V1 error format. */
861
+ '$.xgafv'?: string;
862
+ /** OAuth access token. */
863
+ access_token?: string;
864
+ /** Data format for response. */
865
+ alt?: string;
866
+ /** JSONP */
867
+ callback?: string;
868
+ /** Required. The ID of the membership_feature to create. */
869
+ featureId?: string;
870
+ /** Selector specifying which fields to include in a partial response. */
871
+ fields?: string;
872
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
873
+ key?: string;
874
+ /** OAuth 2.0 token for the current user. */
875
+ oauth_token?: string;
876
+ /** Required. The name of parent where the MembershipFeature will be created. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
877
+ parent: string;
878
+ /** Returns response with indentations and line breaks. */
879
+ prettyPrint?: boolean;
880
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
881
+ quotaUser?: string;
882
+ /** Idempotent request UUID. */
883
+ requestId?: string;
884
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
885
+ upload_protocol?: string;
886
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
887
+ uploadType?: string;
888
+ /** Request body */
889
+ resource: MembershipFeature;
890
+ }): Request<Operation>;
891
+ create(
892
+ request: {
893
+ /** V1 error format. */
894
+ '$.xgafv'?: string;
895
+ /** OAuth access token. */
896
+ access_token?: string;
897
+ /** Data format for response. */
898
+ alt?: string;
899
+ /** JSONP */
900
+ callback?: string;
901
+ /** Required. The ID of the membership_feature to create. */
902
+ featureId?: string;
903
+ /** Selector specifying which fields to include in a partial response. */
904
+ fields?: string;
905
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
906
+ key?: string;
907
+ /** OAuth 2.0 token for the current user. */
908
+ oauth_token?: string;
909
+ /** Required. The name of parent where the MembershipFeature will be created. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
910
+ parent: string;
911
+ /** Returns response with indentations and line breaks. */
912
+ prettyPrint?: boolean;
913
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
914
+ quotaUser?: string;
915
+ /** Idempotent request UUID. */
916
+ requestId?: string;
917
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
918
+ upload_protocol?: string;
919
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
920
+ uploadType?: string;
921
+ },
922
+ body: MembershipFeature
923
+ ): Request<Operation>;
924
+ /** Removes a membershipFeature. */
925
+ delete(request?: {
926
+ /** V1 error format. */
927
+ '$.xgafv'?: string;
928
+ /** OAuth access token. */
929
+ access_token?: string;
930
+ /** Data format for response. */
931
+ alt?: string;
932
+ /** JSONP */
933
+ callback?: string;
934
+ /** Selector specifying which fields to include in a partial response. */
935
+ fields?: string;
936
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
937
+ key?: string;
938
+ /** Required. The name of the membershipFeature to be deleted. Specified in the format `projects/*‍/locations/*‍/memberships/*‍/features/*`. */
939
+ name: string;
940
+ /** OAuth 2.0 token for the current user. */
941
+ oauth_token?: string;
942
+ /** Returns response with indentations and line breaks. */
943
+ prettyPrint?: boolean;
944
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
945
+ quotaUser?: string;
946
+ /** Idempotent request UUID. */
947
+ requestId?: string;
948
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
949
+ upload_protocol?: string;
950
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
951
+ uploadType?: string;
952
+ }): Request<Operation>;
953
+ /** ========= MembershipFeature Services ========= Gets details of a membershipFeature. */
954
+ get(request?: {
955
+ /** V1 error format. */
956
+ '$.xgafv'?: string;
957
+ /** OAuth access token. */
958
+ access_token?: string;
959
+ /** Data format for response. */
960
+ alt?: string;
961
+ /** JSONP */
962
+ callback?: string;
963
+ /** Selector specifying which fields to include in a partial response. */
964
+ fields?: string;
965
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
966
+ key?: string;
967
+ /** Required. The MembershipFeature resource name in the format `projects/*‍/locations/*‍/memberships/*‍/features/*`. */
968
+ name: string;
969
+ /** OAuth 2.0 token for the current user. */
970
+ oauth_token?: string;
971
+ /** Returns response with indentations and line breaks. */
972
+ prettyPrint?: boolean;
973
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
974
+ quotaUser?: string;
975
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
976
+ upload_protocol?: string;
977
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
978
+ uploadType?: string;
979
+ }): Request<MembershipFeature>;
980
+ /** Lists MembershipFeatures in a given project and location. */
981
+ list(request?: {
982
+ /** V1 error format. */
983
+ '$.xgafv'?: string;
984
+ /** OAuth access token. */
985
+ access_token?: string;
986
+ /** Data format for response. */
987
+ alt?: string;
988
+ /** JSONP */
989
+ callback?: string;
990
+ /** Selector specifying which fields to include in a partial response. */
991
+ fields?: string;
992
+ /** Lists MembershipFeatures that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name "helloworld" in project "foo-proj" and membership "member-bar": name = "projects/foo-proj/locations/global/memberships/member-bar/features/helloworld" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar */
993
+ filter?: string;
994
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
995
+ key?: string;
996
+ /** OAuth 2.0 token for the current user. */
997
+ oauth_token?: string;
998
+ /** One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering. */
999
+ orderBy?: string;
1000
+ /** When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. */
1001
+ pageSize?: number;
1002
+ /** Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources. */
1003
+ pageToken?: string;
1004
+ /** Required. The parent where the MembershipFeature will be listed. In the format: `projects/*‍/locations/*‍/memberships/*`. */
1005
+ parent: string;
1006
+ /** Returns response with indentations and line breaks. */
1007
+ prettyPrint?: boolean;
1008
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1009
+ quotaUser?: string;
1010
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1011
+ upload_protocol?: string;
1012
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1013
+ uploadType?: string;
1014
+ }): Request<ListMembershipFeaturesResponse>;
1015
+ /** Updates an existing MembershipFeature. */
1016
+ patch(request: {
1017
+ /** V1 error format. */
1018
+ '$.xgafv'?: string;
1019
+ /** OAuth access token. */
1020
+ access_token?: string;
1021
+ /** Optional. If set to true, and the MembershipFeature is not found, a new MembershipFeature will be created. In this situation, `update_mask` is ignored. */
1022
+ allowMissing?: boolean;
1023
+ /** Data format for response. */
1024
+ alt?: string;
1025
+ /** JSONP */
1026
+ callback?: string;
1027
+ /** Selector specifying which fields to include in a partial response. */
1028
+ fields?: string;
1029
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1030
+ key?: string;
1031
+ /** 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) */
1032
+ name: string;
1033
+ /** OAuth 2.0 token for the current user. */
1034
+ oauth_token?: string;
1035
+ /** Returns response with indentations and line breaks. */
1036
+ prettyPrint?: boolean;
1037
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1038
+ quotaUser?: string;
1039
+ /** Idempotent request UUID. */
1040
+ requestId?: string;
1041
+ /** Required. Mask of fields to update. */
1042
+ updateMask?: string;
1043
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1044
+ upload_protocol?: string;
1045
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1046
+ uploadType?: string;
1047
+ /** Request body */
1048
+ resource: MembershipFeature;
1049
+ }): Request<Operation>;
1050
+ patch(
1051
+ request: {
1052
+ /** V1 error format. */
1053
+ '$.xgafv'?: string;
1054
+ /** OAuth access token. */
1055
+ access_token?: string;
1056
+ /** Optional. If set to true, and the MembershipFeature is not found, a new MembershipFeature will be created. In this situation, `update_mask` is ignored. */
1057
+ allowMissing?: boolean;
1058
+ /** Data format for response. */
1059
+ alt?: string;
1060
+ /** JSONP */
1061
+ callback?: string;
1062
+ /** Selector specifying which fields to include in a partial response. */
1063
+ fields?: string;
1064
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1065
+ key?: string;
1066
+ /** 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) */
1067
+ name: string;
1068
+ /** OAuth 2.0 token for the current user. */
1069
+ oauth_token?: string;
1070
+ /** Returns response with indentations and line breaks. */
1071
+ prettyPrint?: boolean;
1072
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1073
+ quotaUser?: string;
1074
+ /** Idempotent request UUID. */
1075
+ requestId?: string;
1076
+ /** Required. Mask of fields to update. */
1077
+ updateMask?: string;
1078
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1079
+ upload_protocol?: string;
1080
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1081
+ uploadType?: string;
1082
+ },
1083
+ body: MembershipFeature
1084
+ ): Request<Operation>;
1085
+ }
1086
+ interface MembershipsResource {
1087
+ features: FeaturesResource;
1088
+ }
73
1089
  interface OperationsResource {
74
1090
  /** 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`. */
75
1091
  cancel(request: {
@@ -251,6 +1267,7 @@ declare namespace gapi.client {
251
1267
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
252
1268
  uploadType?: string;
253
1269
  }): Request<ListLocationsResponse>;
1270
+ memberships: MembershipsResource;
254
1271
  operations: OperationsResource;
255
1272
  }
256
1273
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v2alpha",
3
- "version": "0.0.20240920",
3
+ "version": "0.0.20241010",
4
4
  "description": "TypeScript typings for GKE Hub API v2alpha",
5
5
  "repository": {
6
6
  "type": "git",