@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20220805 → 0.0.20220828
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.
- package/index.d.ts +17 -30
- package/package.json +1 -1
- package/tests.ts +1 -29
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1alpha
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220828
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -24,13 +24,13 @@ declare namespace gapi.client {
|
|
|
24
24
|
|
|
25
25
|
namespace gkehub {
|
|
26
26
|
interface AnthosObservabilityFeatureSpec {
|
|
27
|
-
/**
|
|
27
|
+
/** Default membership spec for unconfigured memberships */
|
|
28
28
|
defaultMembershipSpec?: AnthosObservabilityMembershipSpec;
|
|
29
29
|
}
|
|
30
30
|
interface AnthosObservabilityMembershipSpec {
|
|
31
|
-
/**
|
|
31
|
+
/** Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics */
|
|
32
32
|
doNotOptimizeMetrics?: boolean;
|
|
33
|
-
/**
|
|
33
|
+
/** Enable collecting and reporting metrics and logs from user apps. */
|
|
34
34
|
enableStackdriverOnApplications?: boolean;
|
|
35
35
|
/** the version of stackdriver operator used by this feature */
|
|
36
36
|
version?: string;
|
|
@@ -122,17 +122,18 @@ declare namespace gapi.client {
|
|
|
122
122
|
/**
|
|
123
123
|
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
124
124
|
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
125
|
-
* account.
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
129
|
-
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
130
|
-
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
131
|
-
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
132
|
-
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
133
|
-
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
134
|
-
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
135
|
-
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
125
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
126
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
127
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
128
|
+
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
129
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
130
|
+
* identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
131
|
+
* `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
132
|
+
* a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
133
|
+
* reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
134
|
+
* identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
135
|
+
* `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
136
|
+
* example, `google.com` or `example.com`.
|
|
136
137
|
*/
|
|
137
138
|
members?: string[];
|
|
138
139
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -200,7 +201,7 @@ declare namespace gapi.client {
|
|
|
200
201
|
oci?: ConfigManagementOciConfig;
|
|
201
202
|
/** 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. */
|
|
202
203
|
preventDrift?: boolean;
|
|
203
|
-
/** Specifies whether the Config Sync Repo is in
|
|
204
|
+
/** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
204
205
|
sourceFormat?: string;
|
|
205
206
|
}
|
|
206
207
|
interface ConfigManagementConfigSyncDeploymentState {
|
|
@@ -551,8 +552,6 @@ declare namespace gapi.client {
|
|
|
551
552
|
message?: string;
|
|
552
553
|
}
|
|
553
554
|
interface IdentityServiceAuthMethod {
|
|
554
|
-
/** AzureAD specific Configuration. */
|
|
555
|
-
azureadConfig?: IdentityServiceAzureADConfig;
|
|
556
555
|
/** GoogleConfig specific configuration */
|
|
557
556
|
googleConfig?: IdentityServiceGoogleConfig;
|
|
558
557
|
/** Identifier for auth config. */
|
|
@@ -562,18 +561,6 @@ declare namespace gapi.client {
|
|
|
562
561
|
/** Proxy server address to use for auth method. */
|
|
563
562
|
proxy?: string;
|
|
564
563
|
}
|
|
565
|
-
interface IdentityServiceAzureADConfig {
|
|
566
|
-
/** ID for the registered client application that makes authentication requests to the Azure AD identity provider. */
|
|
567
|
-
clientId?: string;
|
|
568
|
-
/** Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH. */
|
|
569
|
-
clientSecret?: string;
|
|
570
|
-
/** Output only. Encrypted AzureAD client secret. */
|
|
571
|
-
encryptedClientSecret?: string;
|
|
572
|
-
/** The redirect URL that kubectl uses for authorization. */
|
|
573
|
-
kubectlRedirectUri?: string;
|
|
574
|
-
/** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
|
|
575
|
-
tenant?: string;
|
|
576
|
-
}
|
|
577
564
|
interface IdentityServiceGoogleConfig {
|
|
578
565
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
579
566
|
disable?: boolean;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220828
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -131,13 +131,6 @@ gapi.load('client', async () => {
|
|
|
131
131
|
identityservice: {
|
|
132
132
|
authMethods: [
|
|
133
133
|
{
|
|
134
|
-
azureadConfig: {
|
|
135
|
-
clientId: "Test string",
|
|
136
|
-
clientSecret: "Test string",
|
|
137
|
-
encryptedClientSecret: "Test string",
|
|
138
|
-
kubectlRedirectUri: "Test string",
|
|
139
|
-
tenant: "Test string",
|
|
140
|
-
},
|
|
141
134
|
googleConfig: {
|
|
142
135
|
disable: true,
|
|
143
136
|
},
|
|
@@ -355,13 +348,6 @@ gapi.load('client', async () => {
|
|
|
355
348
|
memberConfig: {
|
|
356
349
|
authMethods: [
|
|
357
350
|
{
|
|
358
|
-
azureadConfig: {
|
|
359
|
-
clientId: "Test string",
|
|
360
|
-
clientSecret: "Test string",
|
|
361
|
-
encryptedClientSecret: "Test string",
|
|
362
|
-
kubectlRedirectUri: "Test string",
|
|
363
|
-
tenant: "Test string",
|
|
364
|
-
},
|
|
365
351
|
googleConfig: {
|
|
366
352
|
disable: true,
|
|
367
353
|
},
|
|
@@ -623,13 +609,6 @@ gapi.load('client', async () => {
|
|
|
623
609
|
identityservice: {
|
|
624
610
|
authMethods: [
|
|
625
611
|
{
|
|
626
|
-
azureadConfig: {
|
|
627
|
-
clientId: "Test string",
|
|
628
|
-
clientSecret: "Test string",
|
|
629
|
-
encryptedClientSecret: "Test string",
|
|
630
|
-
kubectlRedirectUri: "Test string",
|
|
631
|
-
tenant: "Test string",
|
|
632
|
-
},
|
|
633
612
|
googleConfig: {
|
|
634
613
|
disable: true,
|
|
635
614
|
},
|
|
@@ -847,13 +826,6 @@ gapi.load('client', async () => {
|
|
|
847
826
|
memberConfig: {
|
|
848
827
|
authMethods: [
|
|
849
828
|
{
|
|
850
|
-
azureadConfig: {
|
|
851
|
-
clientId: "Test string",
|
|
852
|
-
clientSecret: "Test string",
|
|
853
|
-
encryptedClientSecret: "Test string",
|
|
854
|
-
kubectlRedirectUri: "Test string",
|
|
855
|
-
tenant: "Test string",
|
|
856
|
-
},
|
|
857
829
|
googleConfig: {
|
|
858
830
|
disable: true,
|
|
859
831
|
},
|