@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20221018 → 0.0.20221031
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 +15 -54
- package/package.json +1 -1
- package/tests.ts +29 -55
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221031
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -34,37 +34,6 @@ declare namespace gapi.client {
|
|
|
34
34
|
/** the version of stackdriver operator used by this feature */
|
|
35
35
|
version?: string;
|
|
36
36
|
}
|
|
37
|
-
interface AnthosVMMembershipSpec {
|
|
38
|
-
/** List of configurations of the Anthos For VM subfeatures that are to be enabled */
|
|
39
|
-
subfeaturesSpec?: AnthosVMSubFeatureSpec[];
|
|
40
|
-
}
|
|
41
|
-
interface AnthosVMMembershipState {
|
|
42
|
-
/** State of the local PE-controller inside the cluster */
|
|
43
|
-
localControllerState?: LocalControllerState;
|
|
44
|
-
/** List of AnthosVM subfeature states */
|
|
45
|
-
subfeatureState?: AnthosVMSubFeatureState[];
|
|
46
|
-
}
|
|
47
|
-
interface AnthosVMSubFeatureSpec {
|
|
48
|
-
/**
|
|
49
|
-
* Indicates whether the subfeature should be enabled on the cluster or not. If set to true, the subfeature's control plane and resources will be installed in the cluster. If set to
|
|
50
|
-
* false, the oneof spec if present will be ignored and nothing will be installed in the cluster.
|
|
51
|
-
*/
|
|
52
|
-
enabled?: boolean;
|
|
53
|
-
/** MigrateSpec repsents the configuration for Migrate subfeature. */
|
|
54
|
-
migrateSpec?: any;
|
|
55
|
-
/** ServiceMeshSpec repsents the configuration for Service Mesh subfeature. */
|
|
56
|
-
serviceMeshSpec?: any;
|
|
57
|
-
}
|
|
58
|
-
interface AnthosVMSubFeatureState {
|
|
59
|
-
/** Description represents human readable description of the subfeature state. If the deployment failed, this should also contain the reason for the failure. */
|
|
60
|
-
description?: string;
|
|
61
|
-
/** InstallationState represents the state of installation of the subfeature in the cluster. */
|
|
62
|
-
installationState?: string;
|
|
63
|
-
/** MigrateState represents the state of the Migrate subfeature. */
|
|
64
|
-
migrateState?: any;
|
|
65
|
-
/** ServiceMeshState represents the state of the Service Mesh subfeature. */
|
|
66
|
-
serviceMeshState?: any;
|
|
67
|
-
}
|
|
68
37
|
// tslint:disable-next-line:no-empty-interface
|
|
69
38
|
interface AppDevExperienceFeatureSpec {
|
|
70
39
|
}
|
|
@@ -582,6 +551,8 @@ declare namespace gapi.client {
|
|
|
582
551
|
message?: string;
|
|
583
552
|
}
|
|
584
553
|
interface IdentityServiceAuthMethod {
|
|
554
|
+
/** AzureAD specific Configuration. */
|
|
555
|
+
azureadConfig?: IdentityServiceAzureADConfig;
|
|
585
556
|
/** GoogleConfig specific configuration */
|
|
586
557
|
googleConfig?: IdentityServiceGoogleConfig;
|
|
587
558
|
/** Identifier for auth config. */
|
|
@@ -591,6 +562,18 @@ declare namespace gapi.client {
|
|
|
591
562
|
/** Proxy server address to use for auth method. */
|
|
592
563
|
proxy?: string;
|
|
593
564
|
}
|
|
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
|
+
}
|
|
594
577
|
interface IdentityServiceGoogleConfig {
|
|
595
578
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
596
579
|
disable?: boolean;
|
|
@@ -721,12 +704,6 @@ declare namespace gapi.client {
|
|
|
721
704
|
/** A list of operations that matches the specified filter in the request. */
|
|
722
705
|
operations?: Operation[];
|
|
723
706
|
}
|
|
724
|
-
interface LocalControllerState {
|
|
725
|
-
/** Description represents the human readable description of the current state of the local PE controller */
|
|
726
|
-
description?: string;
|
|
727
|
-
/** InstallationState represents the state of deployment of the local PE controller in the cluster. */
|
|
728
|
-
installationState?: string;
|
|
729
|
-
}
|
|
730
707
|
interface Location {
|
|
731
708
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
732
709
|
displayName?: string;
|
|
@@ -804,8 +781,6 @@ declare namespace gapi.client {
|
|
|
804
781
|
interface MembershipFeatureSpec {
|
|
805
782
|
/** Anthos Observability-specific spec */
|
|
806
783
|
anthosobservability?: AnthosObservabilityMembershipSpec;
|
|
807
|
-
/** AnthosVM spec. */
|
|
808
|
-
anthosvm?: AnthosVMMembershipSpec;
|
|
809
784
|
/** Cloud Build-specific spec */
|
|
810
785
|
cloudbuild?: CloudBuildMembershipSpec;
|
|
811
786
|
/** Config Management-specific spec. */
|
|
@@ -822,8 +797,6 @@ declare namespace gapi.client {
|
|
|
822
797
|
workloadcertificate?: MembershipSpec;
|
|
823
798
|
}
|
|
824
799
|
interface MembershipFeatureState {
|
|
825
|
-
/** AnthosVM state. */
|
|
826
|
-
anthosvm?: AnthosVMMembershipState;
|
|
827
800
|
/** Appdevexperience specific state. */
|
|
828
801
|
appdevexperience?: AppDevExperienceFeatureState;
|
|
829
802
|
/** Config Management-specific state. */
|
|
@@ -855,12 +828,6 @@ declare namespace gapi.client {
|
|
|
855
828
|
/** The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision). */
|
|
856
829
|
preciseLastMeasuredClusterVcpuCapacity?: number;
|
|
857
830
|
}
|
|
858
|
-
// tslint:disable-next-line:no-empty-interface
|
|
859
|
-
interface MigrateSpec {
|
|
860
|
-
}
|
|
861
|
-
// tslint:disable-next-line:no-empty-interface
|
|
862
|
-
interface MigrateState {
|
|
863
|
-
}
|
|
864
831
|
interface MultiCloudCluster {
|
|
865
832
|
/** Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists. */
|
|
866
833
|
clusterMissing?: boolean;
|
|
@@ -1094,12 +1061,6 @@ declare namespace gapi.client {
|
|
|
1094
1061
|
/** Output only. Status of data plane management. */
|
|
1095
1062
|
dataPlaneManagement?: ServiceMeshDataPlaneManagement;
|
|
1096
1063
|
}
|
|
1097
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1098
|
-
interface ServiceMeshSpec {
|
|
1099
|
-
}
|
|
1100
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1101
|
-
interface ServiceMeshState {
|
|
1102
|
-
}
|
|
1103
1064
|
interface ServiceMeshStatusDetails {
|
|
1104
1065
|
/** A machine-readable code that further describes a broad status. */
|
|
1105
1066
|
code?: string;
|
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: 20221031
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -64,17 +64,6 @@ gapi.load('client', async () => {
|
|
|
64
64
|
enableStackdriverOnApplications: true,
|
|
65
65
|
version: "Test string",
|
|
66
66
|
},
|
|
67
|
-
anthosvm: {
|
|
68
|
-
subfeaturesSpec: [
|
|
69
|
-
{
|
|
70
|
-
enabled: true,
|
|
71
|
-
migrateSpec: {
|
|
72
|
-
},
|
|
73
|
-
serviceMeshSpec: {
|
|
74
|
-
},
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
67
|
cloudbuild: {
|
|
79
68
|
securityPolicy: "Test string",
|
|
80
69
|
version: "Test string",
|
|
@@ -134,6 +123,13 @@ gapi.load('client', async () => {
|
|
|
134
123
|
identityservice: {
|
|
135
124
|
authMethods: [
|
|
136
125
|
{
|
|
126
|
+
azureadConfig: {
|
|
127
|
+
clientId: "Test string",
|
|
128
|
+
clientSecret: "Test string",
|
|
129
|
+
encryptedClientSecret: "Test string",
|
|
130
|
+
kubectlRedirectUri: "Test string",
|
|
131
|
+
tenant: "Test string",
|
|
132
|
+
},
|
|
137
133
|
googleConfig: {
|
|
138
134
|
disable: true,
|
|
139
135
|
},
|
|
@@ -191,22 +187,6 @@ gapi.load('client', async () => {
|
|
|
191
187
|
},
|
|
192
188
|
membershipStates: {
|
|
193
189
|
A: {
|
|
194
|
-
anthosvm: {
|
|
195
|
-
localControllerState: {
|
|
196
|
-
description: "Test string",
|
|
197
|
-
installationState: "Test string",
|
|
198
|
-
},
|
|
199
|
-
subfeatureState: [
|
|
200
|
-
{
|
|
201
|
-
description: "Test string",
|
|
202
|
-
installationState: "Test string",
|
|
203
|
-
migrateState: {
|
|
204
|
-
},
|
|
205
|
-
serviceMeshState: {
|
|
206
|
-
},
|
|
207
|
-
}
|
|
208
|
-
],
|
|
209
|
-
},
|
|
210
190
|
appdevexperience: {
|
|
211
191
|
networkingInstallSucceeded: {
|
|
212
192
|
code: "Test string",
|
|
@@ -355,6 +335,13 @@ gapi.load('client', async () => {
|
|
|
355
335
|
memberConfig: {
|
|
356
336
|
authMethods: [
|
|
357
337
|
{
|
|
338
|
+
azureadConfig: {
|
|
339
|
+
clientId: "Test string",
|
|
340
|
+
clientSecret: "Test string",
|
|
341
|
+
encryptedClientSecret: "Test string",
|
|
342
|
+
kubectlRedirectUri: "Test string",
|
|
343
|
+
tenant: "Test string",
|
|
344
|
+
},
|
|
358
345
|
googleConfig: {
|
|
359
346
|
disable: true,
|
|
360
347
|
},
|
|
@@ -565,17 +552,6 @@ gapi.load('client', async () => {
|
|
|
565
552
|
enableStackdriverOnApplications: true,
|
|
566
553
|
version: "Test string",
|
|
567
554
|
},
|
|
568
|
-
anthosvm: {
|
|
569
|
-
subfeaturesSpec: [
|
|
570
|
-
{
|
|
571
|
-
enabled: true,
|
|
572
|
-
migrateSpec: {
|
|
573
|
-
},
|
|
574
|
-
serviceMeshSpec: {
|
|
575
|
-
},
|
|
576
|
-
}
|
|
577
|
-
],
|
|
578
|
-
},
|
|
579
555
|
cloudbuild: {
|
|
580
556
|
securityPolicy: "Test string",
|
|
581
557
|
version: "Test string",
|
|
@@ -635,6 +611,13 @@ gapi.load('client', async () => {
|
|
|
635
611
|
identityservice: {
|
|
636
612
|
authMethods: [
|
|
637
613
|
{
|
|
614
|
+
azureadConfig: {
|
|
615
|
+
clientId: "Test string",
|
|
616
|
+
clientSecret: "Test string",
|
|
617
|
+
encryptedClientSecret: "Test string",
|
|
618
|
+
kubectlRedirectUri: "Test string",
|
|
619
|
+
tenant: "Test string",
|
|
620
|
+
},
|
|
638
621
|
googleConfig: {
|
|
639
622
|
disable: true,
|
|
640
623
|
},
|
|
@@ -692,22 +675,6 @@ gapi.load('client', async () => {
|
|
|
692
675
|
},
|
|
693
676
|
membershipStates: {
|
|
694
677
|
A: {
|
|
695
|
-
anthosvm: {
|
|
696
|
-
localControllerState: {
|
|
697
|
-
description: "Test string",
|
|
698
|
-
installationState: "Test string",
|
|
699
|
-
},
|
|
700
|
-
subfeatureState: [
|
|
701
|
-
{
|
|
702
|
-
description: "Test string",
|
|
703
|
-
installationState: "Test string",
|
|
704
|
-
migrateState: {
|
|
705
|
-
},
|
|
706
|
-
serviceMeshState: {
|
|
707
|
-
},
|
|
708
|
-
}
|
|
709
|
-
],
|
|
710
|
-
},
|
|
711
678
|
appdevexperience: {
|
|
712
679
|
networkingInstallSucceeded: {
|
|
713
680
|
code: "Test string",
|
|
@@ -856,6 +823,13 @@ gapi.load('client', async () => {
|
|
|
856
823
|
memberConfig: {
|
|
857
824
|
authMethods: [
|
|
858
825
|
{
|
|
826
|
+
azureadConfig: {
|
|
827
|
+
clientId: "Test string",
|
|
828
|
+
clientSecret: "Test string",
|
|
829
|
+
encryptedClientSecret: "Test string",
|
|
830
|
+
kubectlRedirectUri: "Test string",
|
|
831
|
+
tenant: "Test string",
|
|
832
|
+
},
|
|
859
833
|
googleConfig: {
|
|
860
834
|
disable: true,
|
|
861
835
|
},
|