@maxim_mazurok/gapi.client.gkehub-v1 0.0.20240614 → 0.0.20240706

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.
Files changed (2) hide show
  1. package/index.d.ts +297 -3
  2. 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: 20240614
12
+ // Revision: 20240706
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -209,8 +209,12 @@ declare namespace gapi.client {
209
209
  importer?: string;
210
210
  /** Deployment state of the monitor pod */
211
211
  monitor?: string;
212
+ /** Deployment state of otel-collector */
213
+ otelCollector?: string;
212
214
  /** Deployment state of reconciler-manager pod */
213
215
  reconcilerManager?: string;
216
+ /** Deployment state of resource-group-controller-manager */
217
+ resourceGroupControllerManager?: string;
214
218
  /** Deployment state of root-reconciler */
215
219
  rootReconciler?: string;
216
220
  /** Deployment state of the syncer pod */
@@ -237,7 +241,7 @@ declare namespace gapi.client {
237
241
  version?: ConfigManagementConfigSyncVersion;
238
242
  }
239
243
  interface ConfigManagementConfigSyncVersion {
240
- /** Version of the deployed admission_webhook pod */
244
+ /** Version of the deployed admission-webhook pod */
241
245
  admissionWebhook?: string;
242
246
  /** Version of the deployed git-sync pod */
243
247
  gitSync?: string;
@@ -245,8 +249,12 @@ declare namespace gapi.client {
245
249
  importer?: string;
246
250
  /** Version of the deployed monitor pod */
247
251
  monitor?: string;
252
+ /** Version of the deployed otel-collector pod */
253
+ otelCollector?: string;
248
254
  /** Version of the deployed reconciler-manager pod */
249
255
  reconcilerManager?: string;
256
+ /** Version of the deployed resource-group-controller-manager pod */
257
+ resourceGroupControllerManager?: string;
250
258
  /** Version of the deployed reconciler container in root-reconciler pod */
251
259
  rootReconciler?: string;
252
260
  /** Version of the deployed syncer pod */
@@ -583,6 +591,10 @@ declare namespace gapi.client {
583
591
  /** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
584
592
  manifest?: ConnectAgentResource[];
585
593
  }
594
+ interface GenerateMembershipRBACRoleBindingYAMLResponse {
595
+ /** a yaml text blob including the RBAC policies. */
596
+ roleBindingsYaml?: string;
597
+ }
586
598
  interface GkeCluster {
587
599
  /** Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. */
588
600
  clusterMissing?: boolean;
@@ -807,6 +819,14 @@ declare namespace gapi.client {
807
819
  /** List of locations that could not be reached while fetching this list. */
808
820
  unreachable?: string[];
809
821
  }
822
+ interface ListMembershipRBACRoleBindingsResponse {
823
+ /** A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return. */
824
+ nextPageToken?: string;
825
+ /** The list of Membership RBACRoleBindings. */
826
+ rbacrolebindings?: RBACRoleBinding[];
827
+ /** List of locations that could not be reached while fetching this list. */
828
+ unreachable?: string[];
829
+ }
810
830
  interface ListMembershipsResponse {
811
831
  /** A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return. */
812
832
  nextPageToken?: string;
@@ -1271,7 +1291,7 @@ declare namespace gapi.client {
1271
1291
  interface ServiceMeshMembershipSpec {
1272
1292
  /** Deprecated: use `management` instead Enables automatic control plane management. */
1273
1293
  controlPlane?: string;
1274
- /** Enables automatic Service Mesh management. */
1294
+ /** Optional. Enables automatic Service Mesh management. */
1275
1295
  management?: string;
1276
1296
  }
1277
1297
  interface ServiceMeshMembershipState {
@@ -2089,6 +2109,279 @@ declare namespace gapi.client {
2089
2109
  body: MembershipBinding
2090
2110
  ): Request<Operation>;
2091
2111
  }
2112
+ interface RbacrolebindingsResource {
2113
+ /** Creates a Membership RBACRoleBinding. */
2114
+ create(request: {
2115
+ /** V1 error format. */
2116
+ '$.xgafv'?: string;
2117
+ /** OAuth access token. */
2118
+ access_token?: string;
2119
+ /** Data format for response. */
2120
+ alt?: string;
2121
+ /** JSONP */
2122
+ callback?: string;
2123
+ /** Selector specifying which fields to include in a partial response. */
2124
+ fields?: string;
2125
+ /** 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. */
2126
+ key?: string;
2127
+ /** OAuth 2.0 token for the current user. */
2128
+ oauth_token?: string;
2129
+ /** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
2130
+ parent: string;
2131
+ /** Returns response with indentations and line breaks. */
2132
+ prettyPrint?: boolean;
2133
+ /** 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. */
2134
+ quotaUser?: string;
2135
+ /** Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */
2136
+ rbacrolebindingId?: string;
2137
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2138
+ upload_protocol?: string;
2139
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2140
+ uploadType?: string;
2141
+ /** Request body */
2142
+ resource: RBACRoleBinding;
2143
+ }): Request<Operation>;
2144
+ create(
2145
+ request: {
2146
+ /** V1 error format. */
2147
+ '$.xgafv'?: string;
2148
+ /** OAuth access token. */
2149
+ access_token?: string;
2150
+ /** Data format for response. */
2151
+ alt?: string;
2152
+ /** JSONP */
2153
+ callback?: string;
2154
+ /** Selector specifying which fields to include in a partial response. */
2155
+ fields?: string;
2156
+ /** 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. */
2157
+ key?: string;
2158
+ /** OAuth 2.0 token for the current user. */
2159
+ oauth_token?: string;
2160
+ /** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
2161
+ parent: string;
2162
+ /** Returns response with indentations and line breaks. */
2163
+ prettyPrint?: boolean;
2164
+ /** 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. */
2165
+ quotaUser?: string;
2166
+ /** Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */
2167
+ rbacrolebindingId?: string;
2168
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2169
+ upload_protocol?: string;
2170
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2171
+ uploadType?: string;
2172
+ },
2173
+ body: RBACRoleBinding
2174
+ ): Request<Operation>;
2175
+ /** Deletes a Membership RBACRoleBinding. */
2176
+ delete(request?: {
2177
+ /** V1 error format. */
2178
+ '$.xgafv'?: string;
2179
+ /** OAuth access token. */
2180
+ access_token?: string;
2181
+ /** Data format for response. */
2182
+ alt?: string;
2183
+ /** JSONP */
2184
+ callback?: string;
2185
+ /** Selector specifying which fields to include in a partial response. */
2186
+ fields?: string;
2187
+ /** 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. */
2188
+ key?: string;
2189
+ /** Required. The RBACRoleBinding resource name in the format `projects/*‍/locations/*‍/memberships/*‍/rbacrolebindings/*`. */
2190
+ name: string;
2191
+ /** OAuth 2.0 token for the current user. */
2192
+ oauth_token?: string;
2193
+ /** Returns response with indentations and line breaks. */
2194
+ prettyPrint?: boolean;
2195
+ /** 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. */
2196
+ quotaUser?: string;
2197
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2198
+ upload_protocol?: string;
2199
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2200
+ uploadType?: string;
2201
+ }): Request<Operation>;
2202
+ /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */
2203
+ generateMembershipRBACRoleBindingYAML(request: {
2204
+ /** V1 error format. */
2205
+ '$.xgafv'?: string;
2206
+ /** OAuth access token. */
2207
+ access_token?: string;
2208
+ /** Data format for response. */
2209
+ alt?: string;
2210
+ /** JSONP */
2211
+ callback?: string;
2212
+ /** Selector specifying which fields to include in a partial response. */
2213
+ fields?: string;
2214
+ /** 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. */
2215
+ key?: string;
2216
+ /** OAuth 2.0 token for the current user. */
2217
+ oauth_token?: string;
2218
+ /** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
2219
+ parent: string;
2220
+ /** Returns response with indentations and line breaks. */
2221
+ prettyPrint?: boolean;
2222
+ /** 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. */
2223
+ quotaUser?: string;
2224
+ /** Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */
2225
+ rbacrolebindingId?: string;
2226
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2227
+ upload_protocol?: string;
2228
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2229
+ uploadType?: string;
2230
+ /** Request body */
2231
+ resource: RBACRoleBinding;
2232
+ }): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
2233
+ generateMembershipRBACRoleBindingYAML(
2234
+ request: {
2235
+ /** V1 error format. */
2236
+ '$.xgafv'?: string;
2237
+ /** OAuth access token. */
2238
+ access_token?: string;
2239
+ /** Data format for response. */
2240
+ alt?: string;
2241
+ /** JSONP */
2242
+ callback?: string;
2243
+ /** Selector specifying which fields to include in a partial response. */
2244
+ fields?: string;
2245
+ /** 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. */
2246
+ key?: string;
2247
+ /** OAuth 2.0 token for the current user. */
2248
+ oauth_token?: string;
2249
+ /** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
2250
+ parent: string;
2251
+ /** Returns response with indentations and line breaks. */
2252
+ prettyPrint?: boolean;
2253
+ /** 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. */
2254
+ quotaUser?: string;
2255
+ /** Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */
2256
+ rbacrolebindingId?: string;
2257
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2258
+ upload_protocol?: string;
2259
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2260
+ uploadType?: string;
2261
+ },
2262
+ body: RBACRoleBinding
2263
+ ): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
2264
+ /** Returns the details of a Membership RBACRoleBinding. */
2265
+ get(request?: {
2266
+ /** V1 error format. */
2267
+ '$.xgafv'?: string;
2268
+ /** OAuth access token. */
2269
+ access_token?: string;
2270
+ /** Data format for response. */
2271
+ alt?: string;
2272
+ /** JSONP */
2273
+ callback?: string;
2274
+ /** Selector specifying which fields to include in a partial response. */
2275
+ fields?: string;
2276
+ /** 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. */
2277
+ key?: string;
2278
+ /** Required. The RBACRoleBinding resource name in the format `projects/*‍/locations/*‍/memberships/*‍/rbacrolebindings/*`. */
2279
+ name: string;
2280
+ /** OAuth 2.0 token for the current user. */
2281
+ oauth_token?: string;
2282
+ /** Returns response with indentations and line breaks. */
2283
+ prettyPrint?: boolean;
2284
+ /** 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. */
2285
+ quotaUser?: string;
2286
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2287
+ upload_protocol?: string;
2288
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2289
+ uploadType?: string;
2290
+ }): Request<RBACRoleBinding>;
2291
+ /** Lists all Membership RBACRoleBindings. */
2292
+ list(request?: {
2293
+ /** V1 error format. */
2294
+ '$.xgafv'?: string;
2295
+ /** OAuth access token. */
2296
+ access_token?: string;
2297
+ /** Data format for response. */
2298
+ alt?: string;
2299
+ /** JSONP */
2300
+ callback?: string;
2301
+ /** Selector specifying which fields to include in a partial response. */
2302
+ fields?: string;
2303
+ /** 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. */
2304
+ key?: string;
2305
+ /** OAuth 2.0 token for the current user. */
2306
+ oauth_token?: string;
2307
+ /** 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. */
2308
+ pageSize?: number;
2309
+ /** Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources. */
2310
+ pageToken?: string;
2311
+ /** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*‍/locations/*‍/memberships/*`. */
2312
+ parent: string;
2313
+ /** Returns response with indentations and line breaks. */
2314
+ prettyPrint?: boolean;
2315
+ /** 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. */
2316
+ quotaUser?: string;
2317
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2318
+ upload_protocol?: string;
2319
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2320
+ uploadType?: string;
2321
+ }): Request<ListMembershipRBACRoleBindingsResponse>;
2322
+ /** Updates a Membership RBACRoleBinding. */
2323
+ patch(request: {
2324
+ /** V1 error format. */
2325
+ '$.xgafv'?: string;
2326
+ /** OAuth access token. */
2327
+ access_token?: string;
2328
+ /** Data format for response. */
2329
+ alt?: string;
2330
+ /** JSONP */
2331
+ callback?: string;
2332
+ /** Selector specifying which fields to include in a partial response. */
2333
+ fields?: string;
2334
+ /** 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. */
2335
+ key?: string;
2336
+ /** The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` */
2337
+ name: string;
2338
+ /** OAuth 2.0 token for the current user. */
2339
+ oauth_token?: string;
2340
+ /** Returns response with indentations and line breaks. */
2341
+ prettyPrint?: boolean;
2342
+ /** 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. */
2343
+ quotaUser?: string;
2344
+ /** Required. The fields to be updated. */
2345
+ updateMask?: string;
2346
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2347
+ upload_protocol?: string;
2348
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2349
+ uploadType?: string;
2350
+ /** Request body */
2351
+ resource: RBACRoleBinding;
2352
+ }): Request<Operation>;
2353
+ patch(
2354
+ request: {
2355
+ /** V1 error format. */
2356
+ '$.xgafv'?: string;
2357
+ /** OAuth access token. */
2358
+ access_token?: string;
2359
+ /** Data format for response. */
2360
+ alt?: string;
2361
+ /** JSONP */
2362
+ callback?: string;
2363
+ /** Selector specifying which fields to include in a partial response. */
2364
+ fields?: string;
2365
+ /** 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. */
2366
+ key?: string;
2367
+ /** The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` */
2368
+ name: string;
2369
+ /** OAuth 2.0 token for the current user. */
2370
+ oauth_token?: string;
2371
+ /** Returns response with indentations and line breaks. */
2372
+ prettyPrint?: boolean;
2373
+ /** 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. */
2374
+ quotaUser?: string;
2375
+ /** Required. The fields to be updated. */
2376
+ updateMask?: string;
2377
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2378
+ upload_protocol?: string;
2379
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2380
+ uploadType?: string;
2381
+ },
2382
+ body: RBACRoleBinding
2383
+ ): Request<Operation>;
2384
+ }
2092
2385
  interface MembershipsResource {
2093
2386
  /** Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. */
2094
2387
  create(request: {
@@ -2444,6 +2737,7 @@ declare namespace gapi.client {
2444
2737
  body: TestIamPermissionsRequest
2445
2738
  ): Request<TestIamPermissionsResponse>;
2446
2739
  bindings: BindingsResource;
2740
+ rbacrolebindings: RbacrolebindingsResource;
2447
2741
  }
2448
2742
  interface OperationsResource {
2449
2743
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20240614",
3
+ "version": "0.0.20240706",
4
4
  "description": "TypeScript typings for GKE Hub API v1",
5
5
  "repository": {
6
6
  "type": "git",