@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20220818 → 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 +23 -16
- package/package.json +1 -1
- package/tests.ts +13 -1
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,6 +552,8 @@ declare namespace gapi.client {
|
|
|
551
552
|
message?: string;
|
|
552
553
|
}
|
|
553
554
|
interface IdentityServiceAuthMethod {
|
|
555
|
+
/** GoogleConfig specific configuration */
|
|
556
|
+
googleConfig?: IdentityServiceGoogleConfig;
|
|
554
557
|
/** Identifier for auth config. */
|
|
555
558
|
name?: string;
|
|
556
559
|
/** OIDC specific configuration. */
|
|
@@ -558,6 +561,10 @@ declare namespace gapi.client {
|
|
|
558
561
|
/** Proxy server address to use for auth method. */
|
|
559
562
|
proxy?: string;
|
|
560
563
|
}
|
|
564
|
+
interface IdentityServiceGoogleConfig {
|
|
565
|
+
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
566
|
+
disable?: boolean;
|
|
567
|
+
}
|
|
561
568
|
interface IdentityServiceMembershipSpec {
|
|
562
569
|
/** A member may support multiple auth methods. */
|
|
563
570
|
authMethods?: IdentityServiceAuthMethod[];
|
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,6 +131,9 @@ gapi.load('client', async () => {
|
|
|
131
131
|
identityservice: {
|
|
132
132
|
authMethods: [
|
|
133
133
|
{
|
|
134
|
+
googleConfig: {
|
|
135
|
+
disable: true,
|
|
136
|
+
},
|
|
134
137
|
name: "Test string",
|
|
135
138
|
oidcConfig: {
|
|
136
139
|
certificateAuthorityData: "Test string",
|
|
@@ -345,6 +348,9 @@ gapi.load('client', async () => {
|
|
|
345
348
|
memberConfig: {
|
|
346
349
|
authMethods: [
|
|
347
350
|
{
|
|
351
|
+
googleConfig: {
|
|
352
|
+
disable: true,
|
|
353
|
+
},
|
|
348
354
|
name: "Test string",
|
|
349
355
|
oidcConfig: {
|
|
350
356
|
certificateAuthorityData: "Test string",
|
|
@@ -603,6 +609,9 @@ gapi.load('client', async () => {
|
|
|
603
609
|
identityservice: {
|
|
604
610
|
authMethods: [
|
|
605
611
|
{
|
|
612
|
+
googleConfig: {
|
|
613
|
+
disable: true,
|
|
614
|
+
},
|
|
606
615
|
name: "Test string",
|
|
607
616
|
oidcConfig: {
|
|
608
617
|
certificateAuthorityData: "Test string",
|
|
@@ -817,6 +826,9 @@ gapi.load('client', async () => {
|
|
|
817
826
|
memberConfig: {
|
|
818
827
|
authMethods: [
|
|
819
828
|
{
|
|
829
|
+
googleConfig: {
|
|
830
|
+
disable: true,
|
|
831
|
+
},
|
|
820
832
|
name: "Test string",
|
|
821
833
|
oidcConfig: {
|
|
822
834
|
certificateAuthorityData: "Test string",
|