@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20240216 → 0.0.20240229
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 +66 -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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240229
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -688,6 +688,8 @@ declare namespace gapi.client {
|
|
|
688
688
|
oidcConfig?: IdentityServiceOidcConfig;
|
|
689
689
|
/** Proxy server address to use for auth method. */
|
|
690
690
|
proxy?: string;
|
|
691
|
+
/** SAML specific configuration. */
|
|
692
|
+
samlConfig?: IdentityServiceSamlConfig;
|
|
691
693
|
}
|
|
692
694
|
interface IdentityServiceAzureADConfig {
|
|
693
695
|
/** ID for the registered client application that makes authentication requests to the Azure AD identity provider. */
|
|
@@ -696,10 +698,14 @@ declare namespace gapi.client {
|
|
|
696
698
|
clientSecret?: string;
|
|
697
699
|
/** Output only. Encrypted AzureAD client secret. */
|
|
698
700
|
encryptedClientSecret?: string;
|
|
701
|
+
/** Optional. Format of the AzureAD groups that the client wants for auth. */
|
|
702
|
+
groupFormat?: string;
|
|
699
703
|
/** The redirect URL that kubectl uses for authorization. */
|
|
700
704
|
kubectlRedirectUri?: string;
|
|
701
705
|
/** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
|
|
702
706
|
tenant?: string;
|
|
707
|
+
/** Optional. Claim in the AzureAD ID Token that holds the user details. */
|
|
708
|
+
userClaim?: string;
|
|
703
709
|
}
|
|
704
710
|
interface IdentityServiceGoogleConfig {
|
|
705
711
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
@@ -749,6 +755,24 @@ declare namespace gapi.client {
|
|
|
749
755
|
/** Prefix to prepend to user name. */
|
|
750
756
|
userPrefix?: string;
|
|
751
757
|
}
|
|
758
|
+
interface IdentityServiceSamlConfig {
|
|
759
|
+
/** 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". */
|
|
760
|
+
attributeMapping?: {[P in string]: string};
|
|
761
|
+
/** Optional. Prefix to prepend to group name. */
|
|
762
|
+
groupPrefix?: string;
|
|
763
|
+
/** 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`). */
|
|
764
|
+
groupsAttribute?: string;
|
|
765
|
+
/** Required. The list of IdP certificates to validate the SAML response against. */
|
|
766
|
+
identityProviderCertificates?: string[];
|
|
767
|
+
/** Required. The entity ID of the SAML IdP. */
|
|
768
|
+
identityProviderId?: string;
|
|
769
|
+
/** Required. The URI where the SAML IdP exposes the SSO service. */
|
|
770
|
+
identityProviderSsoUri?: string;
|
|
771
|
+
/** 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`). */
|
|
772
|
+
userAttribute?: string;
|
|
773
|
+
/** Optional. Prefix to prepend to user name. */
|
|
774
|
+
userPrefix?: string;
|
|
775
|
+
}
|
|
752
776
|
interface KubernetesMetadata {
|
|
753
777
|
/** Output only. Kubernetes API server version string as reported by `/version`. */
|
|
754
778
|
kubernetesApiServerVersion?: string;
|
|
@@ -781,6 +805,14 @@ declare namespace gapi.client {
|
|
|
781
805
|
/** List of locations that could not be reached while fetching this list. */
|
|
782
806
|
unreachable?: string[];
|
|
783
807
|
}
|
|
808
|
+
interface ListBoundMembershipsResponse {
|
|
809
|
+
/** The list of Memberships bound to the given Scope. */
|
|
810
|
+
memberships?: Membership[];
|
|
811
|
+
/** 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. */
|
|
812
|
+
nextPageToken?: string;
|
|
813
|
+
/** List of locations that could not be reached while fetching this list. */
|
|
814
|
+
unreachable?: string[];
|
|
815
|
+
}
|
|
784
816
|
interface ListFeaturesResponse {
|
|
785
817
|
/** 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. */
|
|
786
818
|
nextPageToken?: string;
|
|
@@ -3636,6 +3668,39 @@ declare namespace gapi.client {
|
|
|
3636
3668
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3637
3669
|
uploadType?: string;
|
|
3638
3670
|
}): Request<ListScopesResponse>;
|
|
3671
|
+
/** Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions. */
|
|
3672
|
+
listMemberships(request?: {
|
|
3673
|
+
/** V1 error format. */
|
|
3674
|
+
'$.xgafv'?: string;
|
|
3675
|
+
/** OAuth access token. */
|
|
3676
|
+
access_token?: string;
|
|
3677
|
+
/** Data format for response. */
|
|
3678
|
+
alt?: string;
|
|
3679
|
+
/** JSONP */
|
|
3680
|
+
callback?: string;
|
|
3681
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3682
|
+
fields?: string;
|
|
3683
|
+
/** 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`. */
|
|
3684
|
+
filter?: string;
|
|
3685
|
+
/** 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. */
|
|
3686
|
+
key?: string;
|
|
3687
|
+
/** OAuth 2.0 token for the current user. */
|
|
3688
|
+
oauth_token?: string;
|
|
3689
|
+
/** 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. */
|
|
3690
|
+
pageSize?: number;
|
|
3691
|
+
/** Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources. */
|
|
3692
|
+
pageToken?: string;
|
|
3693
|
+
/** Returns response with indentations and line breaks. */
|
|
3694
|
+
prettyPrint?: boolean;
|
|
3695
|
+
/** 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. */
|
|
3696
|
+
quotaUser?: string;
|
|
3697
|
+
/** Required. Name of the Scope, in the format `projects/*/locations/global/scopes/*`, to which the Memberships are bound. */
|
|
3698
|
+
scopeName: string;
|
|
3699
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3700
|
+
upload_protocol?: string;
|
|
3701
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3702
|
+
uploadType?: string;
|
|
3703
|
+
}): Request<ListBoundMembershipsResponse>;
|
|
3639
3704
|
/** Lists permitted Scopes. */
|
|
3640
3705
|
listPermitted(request?: {
|
|
3641
3706
|
/** V1 error format. */
|