@maxim_mazurok/gapi.client.gkehub-v1 0.0.20240307 → 0.0.20240322
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 +141 -1
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240322
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -602,6 +602,8 @@ declare namespace gapi.client {
|
|
|
602
602
|
azureadConfig?: IdentityServiceAzureADConfig;
|
|
603
603
|
/** GoogleConfig specific configuration. */
|
|
604
604
|
googleConfig?: IdentityServiceGoogleConfig;
|
|
605
|
+
/** LDAP specific configuration. */
|
|
606
|
+
ldapConfig?: IdentityServiceLdapConfig;
|
|
605
607
|
/** Identifier for auth config. */
|
|
606
608
|
name?: string;
|
|
607
609
|
/** OIDC specific configuration. */
|
|
@@ -631,6 +633,24 @@ declare namespace gapi.client {
|
|
|
631
633
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
632
634
|
disable?: boolean;
|
|
633
635
|
}
|
|
636
|
+
interface IdentityServiceGroupConfig {
|
|
637
|
+
/** Required. The location of the subtree in the LDAP directory to search for group entries. */
|
|
638
|
+
baseDn?: string;
|
|
639
|
+
/** 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)". */
|
|
640
|
+
filter?: string;
|
|
641
|
+
/** 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". */
|
|
642
|
+
idAttribute?: string;
|
|
643
|
+
}
|
|
644
|
+
interface IdentityServiceLdapConfig {
|
|
645
|
+
/** Optional. Contains the properties for locating and authenticating groups in the directory. */
|
|
646
|
+
group?: IdentityServiceGroupConfig;
|
|
647
|
+
/** Required. Server settings for the external LDAP server. */
|
|
648
|
+
server?: IdentityServiceServerConfig;
|
|
649
|
+
/** 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. */
|
|
650
|
+
serviceAccount?: IdentityServiceServiceAccountConfig;
|
|
651
|
+
/** Required. Defines where users exist in the LDAP directory. */
|
|
652
|
+
user?: IdentityServiceUserConfig;
|
|
653
|
+
}
|
|
634
654
|
interface IdentityServiceMembershipSpec {
|
|
635
655
|
/** A member may support multiple auth methods. */
|
|
636
656
|
authMethods?: IdentityServiceAuthMethod[];
|
|
@@ -693,6 +713,36 @@ declare namespace gapi.client {
|
|
|
693
713
|
/** Optional. Prefix to prepend to user name. */
|
|
694
714
|
userPrefix?: string;
|
|
695
715
|
}
|
|
716
|
+
interface IdentityServiceServerConfig {
|
|
717
|
+
/** Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the "ldaps" and "startTLS" connections. */
|
|
718
|
+
certificateAuthorityData?: string;
|
|
719
|
+
/** 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. */
|
|
720
|
+
connectionType?: string;
|
|
721
|
+
/** 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". */
|
|
722
|
+
host?: string;
|
|
723
|
+
}
|
|
724
|
+
interface IdentityServiceServiceAccountConfig {
|
|
725
|
+
/** Credentials for basic auth. */
|
|
726
|
+
simpleBindCredentials?: IdentityServiceSimpleBindCredentials;
|
|
727
|
+
}
|
|
728
|
+
interface IdentityServiceSimpleBindCredentials {
|
|
729
|
+
/** Required. The distinguished name(DN) of the service account object/user. */
|
|
730
|
+
dn?: string;
|
|
731
|
+
/** Output only. The encrypted password of the service account object/user. */
|
|
732
|
+
encryptedPassword?: string;
|
|
733
|
+
/** Required. Input only. The password of the service account object/user. */
|
|
734
|
+
password?: string;
|
|
735
|
+
}
|
|
736
|
+
interface IdentityServiceUserConfig {
|
|
737
|
+
/** Required. The location of the subtree in the LDAP directory to search for user entries. */
|
|
738
|
+
baseDn?: string;
|
|
739
|
+
/** 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)". */
|
|
740
|
+
filter?: string;
|
|
741
|
+
/** 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". */
|
|
742
|
+
idAttribute?: string;
|
|
743
|
+
/** 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". */
|
|
744
|
+
loginAttribute?: string;
|
|
745
|
+
}
|
|
696
746
|
interface KubernetesMetadata {
|
|
697
747
|
/** Output only. Kubernetes API server version string as reported by `/version`. */
|
|
698
748
|
kubernetesApiServerVersion?: string;
|
|
@@ -717,6 +767,14 @@ declare namespace gapi.client {
|
|
|
717
767
|
/** Optional. Options for Kubernetes resource generation. */
|
|
718
768
|
resourceOptions?: ResourceOptions;
|
|
719
769
|
}
|
|
770
|
+
interface ListBoundMembershipsResponse {
|
|
771
|
+
/** The list of Memberships bound to the given Scope. */
|
|
772
|
+
memberships?: Membership[];
|
|
773
|
+
/** A token to request the next page of resources from the `ListBoundMemberships` method. The value of an empty string means that there are no more resources to return. */
|
|
774
|
+
nextPageToken?: string;
|
|
775
|
+
/** List of locations that could not be reached while fetching this list. */
|
|
776
|
+
unreachable?: string[];
|
|
777
|
+
}
|
|
720
778
|
interface ListFeaturesResponse {
|
|
721
779
|
/** A token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return. */
|
|
722
780
|
nextPageToken?: string;
|
|
@@ -755,6 +813,12 @@ declare namespace gapi.client {
|
|
|
755
813
|
/** A list of operations that matches the specified filter in the request. */
|
|
756
814
|
operations?: Operation[];
|
|
757
815
|
}
|
|
816
|
+
interface ListPermittedScopesResponse {
|
|
817
|
+
/** A token to request the next page of resources from the `ListPermittedScopes` method. The value of an empty string means that there are no more resources to return. */
|
|
818
|
+
nextPageToken?: string;
|
|
819
|
+
/** The list of permitted Scopes */
|
|
820
|
+
scopes?: Scope[];
|
|
821
|
+
}
|
|
758
822
|
interface ListScopeNamespacesResponse {
|
|
759
823
|
/** A token to request the next page of resources from the `ListNamespaces` method. The value of an empty string means that there are no more resources to return. */
|
|
760
824
|
nextPageToken?: string;
|
|
@@ -1172,6 +1236,16 @@ declare namespace gapi.client {
|
|
|
1172
1236
|
/** Sets which mode to use for vulnerability scanning. */
|
|
1173
1237
|
vulnerabilityMode?: string;
|
|
1174
1238
|
}
|
|
1239
|
+
interface ServiceMeshCondition {
|
|
1240
|
+
/** Unique identifier of the condition which describes the condition recognizable to the user. */
|
|
1241
|
+
code?: string;
|
|
1242
|
+
/** A short summary about the issue. */
|
|
1243
|
+
details?: string;
|
|
1244
|
+
/** Links contains actionable information. */
|
|
1245
|
+
documentationLink?: string;
|
|
1246
|
+
/** Severity level of the condition. */
|
|
1247
|
+
severity?: string;
|
|
1248
|
+
}
|
|
1175
1249
|
interface ServiceMeshControlPlaneManagement {
|
|
1176
1250
|
/** Explanation of state. */
|
|
1177
1251
|
details?: ServiceMeshStatusDetails[];
|
|
@@ -1191,6 +1265,8 @@ declare namespace gapi.client {
|
|
|
1191
1265
|
management?: string;
|
|
1192
1266
|
}
|
|
1193
1267
|
interface ServiceMeshMembershipState {
|
|
1268
|
+
/** Output only. List of condition reporting membership statues */
|
|
1269
|
+
conditions?: ServiceMeshCondition[];
|
|
1194
1270
|
/** Output only. Status of control plane management */
|
|
1195
1271
|
controlPlaneManagement?: ServiceMeshControlPlaneManagement;
|
|
1196
1272
|
/** Output only. Status of data plane management. */
|
|
@@ -3105,6 +3181,70 @@ declare namespace gapi.client {
|
|
|
3105
3181
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3106
3182
|
uploadType?: string;
|
|
3107
3183
|
}): Request<ListScopesResponse>;
|
|
3184
|
+
/** Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions. */
|
|
3185
|
+
listMemberships(request?: {
|
|
3186
|
+
/** V1 error format. */
|
|
3187
|
+
'$.xgafv'?: string;
|
|
3188
|
+
/** OAuth access token. */
|
|
3189
|
+
access_token?: string;
|
|
3190
|
+
/** Data format for response. */
|
|
3191
|
+
alt?: string;
|
|
3192
|
+
/** JSONP */
|
|
3193
|
+
callback?: string;
|
|
3194
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3195
|
+
fields?: string;
|
|
3196
|
+
/** Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's `name`, `labels`, `create_time`, `update_time`, and `unique_id`. */
|
|
3197
|
+
filter?: string;
|
|
3198
|
+
/** 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. */
|
|
3199
|
+
key?: string;
|
|
3200
|
+
/** OAuth 2.0 token for the current user. */
|
|
3201
|
+
oauth_token?: string;
|
|
3202
|
+
/** Optional. 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. Pagination is currently not supported; therefore, setting this field does not have any impact for now. */
|
|
3203
|
+
pageSize?: number;
|
|
3204
|
+
/** Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources. */
|
|
3205
|
+
pageToken?: string;
|
|
3206
|
+
/** Returns response with indentations and line breaks. */
|
|
3207
|
+
prettyPrint?: boolean;
|
|
3208
|
+
/** 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. */
|
|
3209
|
+
quotaUser?: string;
|
|
3210
|
+
/** Required. Name of the Scope, in the format `projects/*/locations/global/scopes/*`, to which the Memberships are bound. */
|
|
3211
|
+
scopeName: string;
|
|
3212
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3213
|
+
upload_protocol?: string;
|
|
3214
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3215
|
+
uploadType?: string;
|
|
3216
|
+
}): Request<ListBoundMembershipsResponse>;
|
|
3217
|
+
/** Lists permitted Scopes. */
|
|
3218
|
+
listPermitted(request?: {
|
|
3219
|
+
/** V1 error format. */
|
|
3220
|
+
'$.xgafv'?: string;
|
|
3221
|
+
/** OAuth access token. */
|
|
3222
|
+
access_token?: string;
|
|
3223
|
+
/** Data format for response. */
|
|
3224
|
+
alt?: string;
|
|
3225
|
+
/** JSONP */
|
|
3226
|
+
callback?: string;
|
|
3227
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3228
|
+
fields?: string;
|
|
3229
|
+
/** 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. */
|
|
3230
|
+
key?: string;
|
|
3231
|
+
/** OAuth 2.0 token for the current user. */
|
|
3232
|
+
oauth_token?: string;
|
|
3233
|
+
/** Optional. 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. */
|
|
3234
|
+
pageSize?: number;
|
|
3235
|
+
/** Optional. Token returned by previous call to `ListPermittedScopes` which specifies the position in the list from where to continue listing the resources. */
|
|
3236
|
+
pageToken?: string;
|
|
3237
|
+
/** Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`. */
|
|
3238
|
+
parent: string;
|
|
3239
|
+
/** Returns response with indentations and line breaks. */
|
|
3240
|
+
prettyPrint?: boolean;
|
|
3241
|
+
/** 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. */
|
|
3242
|
+
quotaUser?: string;
|
|
3243
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3244
|
+
upload_protocol?: string;
|
|
3245
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3246
|
+
uploadType?: string;
|
|
3247
|
+
}): Request<ListPermittedScopesResponse>;
|
|
3108
3248
|
/** Updates a scopes. */
|
|
3109
3249
|
patch(request: {
|
|
3110
3250
|
/** V1 error format. */
|