@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20240902 → 0.0.20240912
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 +73 -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: 20240912
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -681,6 +681,12 @@ declare namespace gapi.client {
|
|
|
681
681
|
/** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
|
|
682
682
|
manifest?: ConnectAgentResource[];
|
|
683
683
|
}
|
|
684
|
+
interface GenerateExclusivityManifestResponse {
|
|
685
|
+
/** The YAML manifest of the membership CRD to apply if a newer version of the CRD is available. Empty if no update needs to be applied. */
|
|
686
|
+
crdManifest?: string;
|
|
687
|
+
/** The YAML manifest of the membership CR to apply if a new version of the CR is available. Empty if no update needs to be applied. */
|
|
688
|
+
crManifest?: string;
|
|
689
|
+
}
|
|
684
690
|
interface GenerateMembershipRBACRoleBindingYAMLResponse {
|
|
685
691
|
/** a yaml text blob including the RBAC policies. */
|
|
686
692
|
roleBindingsYaml?: string;
|
|
@@ -1522,6 +1528,10 @@ declare namespace gapi.client {
|
|
|
1522
1528
|
/** Wraps all the validator results. */
|
|
1523
1529
|
validationResults?: ValidationResult[];
|
|
1524
1530
|
}
|
|
1531
|
+
interface ValidateExclusivityResponse {
|
|
1532
|
+
/** The validation result. * `OK` means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied. * `ALREADY_EXISTS` means that the Membership CRD is already owned by another Hub. See `status.message` for more information. */
|
|
1533
|
+
status?: GoogleRpcStatus;
|
|
1534
|
+
}
|
|
1525
1535
|
interface ValidationResult {
|
|
1526
1536
|
/** Additional information for the validation. */
|
|
1527
1537
|
result?: string;
|
|
@@ -2719,6 +2729,37 @@ declare namespace gapi.client {
|
|
|
2719
2729
|
/** Optional. The Connect agent version to use. Defaults to the most current version. */
|
|
2720
2730
|
version?: string;
|
|
2721
2731
|
}): Request<GenerateConnectManifestResponse>;
|
|
2732
|
+
/** GenerateExclusivityManifest generates the manifests to update the exclusivity artifacts in the cluster if needed. Exclusivity artifacts include the Membership custom resource definition (CRD) and the singleton Membership custom resource (CR). Combined with ValidateExclusivity, exclusivity artifacts guarantee that a Kubernetes cluster is only registered to a single GKE Hub. The Membership CRD is versioned, and may require conversion when the GKE Hub API server begins serving a newer version of the CRD and corresponding CR. The response will be the converted CRD and CR if there are any differences between the versions. */
|
|
2733
|
+
generateExclusivityManifest(request?: {
|
|
2734
|
+
/** V1 error format. */
|
|
2735
|
+
'$.xgafv'?: string;
|
|
2736
|
+
/** OAuth access token. */
|
|
2737
|
+
access_token?: string;
|
|
2738
|
+
/** Data format for response. */
|
|
2739
|
+
alt?: string;
|
|
2740
|
+
/** JSONP */
|
|
2741
|
+
callback?: string;
|
|
2742
|
+
/** Optional. The YAML manifest of the membership CRD retrieved by `kubectl get customresourcedefinitions membership`. Leave empty if the resource does not exist. */
|
|
2743
|
+
crdManifest?: string;
|
|
2744
|
+
/** Optional. The YAML manifest of the membership CR retrieved by `kubectl get memberships membership`. Leave empty if the resource does not exist. */
|
|
2745
|
+
crManifest?: string;
|
|
2746
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2747
|
+
fields?: string;
|
|
2748
|
+
/** 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. */
|
|
2749
|
+
key?: string;
|
|
2750
|
+
/** Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`. */
|
|
2751
|
+
name: string;
|
|
2752
|
+
/** OAuth 2.0 token for the current user. */
|
|
2753
|
+
oauth_token?: string;
|
|
2754
|
+
/** Returns response with indentations and line breaks. */
|
|
2755
|
+
prettyPrint?: boolean;
|
|
2756
|
+
/** 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. */
|
|
2757
|
+
quotaUser?: string;
|
|
2758
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2759
|
+
upload_protocol?: string;
|
|
2760
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2761
|
+
uploadType?: string;
|
|
2762
|
+
}): Request<GenerateExclusivityManifestResponse>;
|
|
2722
2763
|
/** Gets the details of a Membership. */
|
|
2723
2764
|
get(request?: {
|
|
2724
2765
|
/** V1 error format. */
|
|
@@ -3029,6 +3070,37 @@ declare namespace gapi.client {
|
|
|
3029
3070
|
},
|
|
3030
3071
|
body: ValidateCreateMembershipRequest
|
|
3031
3072
|
): Request<ValidateCreateMembershipResponse>;
|
|
3073
|
+
/** ValidateExclusivity validates the state of exclusivity in the cluster. The validation does not depend on an existing Hub membership resource. */
|
|
3074
|
+
validateExclusivity(request?: {
|
|
3075
|
+
/** V1 error format. */
|
|
3076
|
+
'$.xgafv'?: string;
|
|
3077
|
+
/** OAuth access token. */
|
|
3078
|
+
access_token?: string;
|
|
3079
|
+
/** Data format for response. */
|
|
3080
|
+
alt?: string;
|
|
3081
|
+
/** JSONP */
|
|
3082
|
+
callback?: string;
|
|
3083
|
+
/** Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist. */
|
|
3084
|
+
crManifest?: string;
|
|
3085
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3086
|
+
fields?: string;
|
|
3087
|
+
/** Required. The intended membership name under the `parent`. This method only does validation in anticipation of a CreateMembership call with the same name. */
|
|
3088
|
+
intendedMembership?: string;
|
|
3089
|
+
/** 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. */
|
|
3090
|
+
key?: string;
|
|
3091
|
+
/** OAuth 2.0 token for the current user. */
|
|
3092
|
+
oauth_token?: string;
|
|
3093
|
+
/** Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`. */
|
|
3094
|
+
parent: string;
|
|
3095
|
+
/** Returns response with indentations and line breaks. */
|
|
3096
|
+
prettyPrint?: boolean;
|
|
3097
|
+
/** 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. */
|
|
3098
|
+
quotaUser?: string;
|
|
3099
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3100
|
+
upload_protocol?: string;
|
|
3101
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3102
|
+
uploadType?: string;
|
|
3103
|
+
}): Request<ValidateExclusivityResponse>;
|
|
3032
3104
|
bindings: BindingsResource;
|
|
3033
3105
|
rbacrolebindings: RbacrolebindingsResource;
|
|
3034
3106
|
}
|