@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230606 → 0.0.20230609

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 (3) hide show
  1. package/index.d.ts +509 -1
  2. package/package.json +1 -1
  3. package/tests.ts +71 -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: 20230606
12
+ // Revision: 20230609
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -442,8 +442,14 @@ declare namespace gapi.client {
442
442
  /** Installs the default template library along with Policy Controller. */
443
443
  templateLibraryInstalled?:
444
444
  boolean;
445
+ /** Output only. Last time this membership spec was updated. */
446
+ updateTime?:
447
+ string;
445
448
  }
446
449
  interface ConfigManagementPolicyControllerMigration {
450
+ /** Last time this membership spec was copied to PoCo feature. */
451
+ copyTime?:
452
+ string;
447
453
  /** Stage of the migration. */
448
454
  stage?:
449
455
  string;
@@ -609,6 +615,43 @@ declare namespace gapi.client {
609
615
  updateTime?:
610
616
  string;
611
617
  }
618
+ interface Fleet {
619
+ /** Output only. When the Fleet was created. */
620
+ createTime?:
621
+ string;
622
+ /** Output only. When the Fleet was deleted. */
623
+ deleteTime?:
624
+ string;
625
+ /**
626
+ * Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen,
627
+ * single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`
628
+ */
629
+ displayName?:
630
+ string;
631
+ /**
632
+ * Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one
633
+ * fleet resource, named "default".
634
+ */
635
+ name?:
636
+ string;
637
+ /** Output only. State of the namespace resource. */
638
+ state?:
639
+ FleetLifecycleState;
640
+ /**
641
+ * Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created,
642
+ * it gets a different uid.
643
+ */
644
+ uid?:
645
+ string;
646
+ /** Output only. When the Fleet was last updated. */
647
+ updateTime?:
648
+ string;
649
+ }
650
+ interface FleetLifecycleState {
651
+ /** Output only. The current state of the Fleet resource. */
652
+ code?:
653
+ string;
654
+ }
612
655
  // tslint:disable-next-line:no-empty-interface
613
656
  interface FleetObservabilityFeatureSpec {
614
657
  }
@@ -813,6 +856,14 @@ declare namespace gapi.client {
813
856
  resources?:
814
857
  Feature[];
815
858
  }
859
+ interface ListFleetsResponse {
860
+ /** The list of matching fleets. */
861
+ fleets?:
862
+ Fleet[];
863
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h. */
864
+ nextPageToken?:
865
+ string;
866
+ }
816
867
  interface ListLocationsResponse {
817
868
  /** A list of locations that matches the specified filter in the request. */
818
869
  locations?:
@@ -1336,6 +1387,67 @@ declare namespace gapi.client {
1336
1387
  kind?:
1337
1388
  string;
1338
1389
  }
1390
+ interface FleetsResource {
1391
+ /** Returns all fleets within an organization or a project that the caller has access to. */
1392
+ list(request?: {
1393
+ /** V1 error format. */
1394
+ "$.xgafv"?:
1395
+ string;
1396
+ /** OAuth access token. */
1397
+ access_token?:
1398
+ string;
1399
+ /** Data format for response. */
1400
+ alt?:
1401
+ string;
1402
+ /** JSONP */
1403
+ callback?:
1404
+ string;
1405
+ /** Selector specifying which fields to include in a partial response. */
1406
+ fields?:
1407
+ string;
1408
+ /** 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. */
1409
+ key?:
1410
+ string;
1411
+ /** OAuth 2.0 token for the current user. */
1412
+ oauth_token?:
1413
+ string;
1414
+ /**
1415
+ * Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000;
1416
+ * values above 1000 will be coerced to 1000.
1417
+ */
1418
+ pageSize?:
1419
+ number;
1420
+ /**
1421
+ * Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets`
1422
+ * must match the call that provided the page token.
1423
+ */
1424
+ pageToken?:
1425
+ string;
1426
+ /** Required. The organization or project to list for Fleets under, in the format `organizations/*‍/locations/*` or `projects/*‍/locations/*`. */
1427
+ parent:
1428
+ string;
1429
+ /** Returns response with indentations and line breaks. */
1430
+ prettyPrint?:
1431
+ boolean;
1432
+ /** 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. */
1433
+ quotaUser?:
1434
+ string;
1435
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1436
+ upload_protocol?:
1437
+ string;
1438
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1439
+ uploadType?:
1440
+ string;
1441
+ }): Request<ListFleetsResponse>;
1442
+ }
1443
+ interface LocationsResource {
1444
+ fleets:
1445
+ FleetsResource;
1446
+ }
1447
+ interface OrganizationsResource {
1448
+ locations:
1449
+ LocationsResource;
1450
+ }
1339
1451
  interface FeaturesResource {
1340
1452
  /** Adds a new Feature. */
1341
1453
  create(request: {
@@ -1836,6 +1948,311 @@ declare namespace gapi.client {
1836
1948
  },
1837
1949
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1838
1950
  }
1951
+ interface FleetsResource {
1952
+ /** Creates a fleet. */
1953
+ create(request: {
1954
+ /** V1 error format. */
1955
+ "$.xgafv"?:
1956
+ string;
1957
+ /** OAuth access token. */
1958
+ access_token?:
1959
+ string;
1960
+ /** Data format for response. */
1961
+ alt?:
1962
+ string;
1963
+ /** JSONP */
1964
+ callback?:
1965
+ string;
1966
+ /** Selector specifying which fields to include in a partial response. */
1967
+ fields?:
1968
+ string;
1969
+ /** 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. */
1970
+ key?:
1971
+ string;
1972
+ /** OAuth 2.0 token for the current user. */
1973
+ oauth_token?:
1974
+ string;
1975
+ /** Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*‍/locations/*`. */
1976
+ parent:
1977
+ string;
1978
+ /** Returns response with indentations and line breaks. */
1979
+ prettyPrint?:
1980
+ boolean;
1981
+ /** 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. */
1982
+ quotaUser?:
1983
+ string;
1984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1985
+ upload_protocol?:
1986
+ string;
1987
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1988
+ uploadType?:
1989
+ string;
1990
+ /** Request body */
1991
+ resource:
1992
+ Fleet;
1993
+ }): Request<Operation>;
1994
+ create(request: {
1995
+ /** V1 error format. */
1996
+ "$.xgafv"?:
1997
+ string;
1998
+ /** OAuth access token. */
1999
+ access_token?:
2000
+ string;
2001
+ /** Data format for response. */
2002
+ alt?:
2003
+ string;
2004
+ /** JSONP */
2005
+ callback?:
2006
+ string;
2007
+ /** Selector specifying which fields to include in a partial response. */
2008
+ fields?:
2009
+ string;
2010
+ /** 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. */
2011
+ key?:
2012
+ string;
2013
+ /** OAuth 2.0 token for the current user. */
2014
+ oauth_token?:
2015
+ string;
2016
+ /** Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*‍/locations/*`. */
2017
+ parent:
2018
+ string;
2019
+ /** Returns response with indentations and line breaks. */
2020
+ prettyPrint?:
2021
+ boolean;
2022
+ /** 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. */
2023
+ quotaUser?:
2024
+ string;
2025
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2026
+ upload_protocol?:
2027
+ string;
2028
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2029
+ uploadType?:
2030
+ string;
2031
+ },
2032
+ body: Fleet): Request<Operation>;
2033
+ /** Removes a Fleet. There must be no memberships remaining in the Fleet. */
2034
+ delete(request?: {
2035
+ /** V1 error format. */
2036
+ "$.xgafv"?:
2037
+ string;
2038
+ /** OAuth access token. */
2039
+ access_token?:
2040
+ string;
2041
+ /** Data format for response. */
2042
+ alt?:
2043
+ string;
2044
+ /** JSONP */
2045
+ callback?:
2046
+ string;
2047
+ /** Selector specifying which fields to include in a partial response. */
2048
+ fields?:
2049
+ string;
2050
+ /** 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. */
2051
+ key?:
2052
+ string;
2053
+ /** Required. The Fleet resource name in the format `projects/*‍/locations/*‍/fleets/*`. */
2054
+ name:
2055
+ string;
2056
+ /** OAuth 2.0 token for the current user. */
2057
+ oauth_token?:
2058
+ string;
2059
+ /** Returns response with indentations and line breaks. */
2060
+ prettyPrint?:
2061
+ boolean;
2062
+ /** 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. */
2063
+ quotaUser?:
2064
+ string;
2065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2066
+ upload_protocol?:
2067
+ string;
2068
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2069
+ uploadType?:
2070
+ string;
2071
+ }): Request<Operation>;
2072
+ /** Returns the details of a fleet. */
2073
+ get(request?: {
2074
+ /** V1 error format. */
2075
+ "$.xgafv"?:
2076
+ string;
2077
+ /** OAuth access token. */
2078
+ access_token?:
2079
+ string;
2080
+ /** Data format for response. */
2081
+ alt?:
2082
+ string;
2083
+ /** JSONP */
2084
+ callback?:
2085
+ string;
2086
+ /** Selector specifying which fields to include in a partial response. */
2087
+ fields?:
2088
+ string;
2089
+ /** 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. */
2090
+ key?:
2091
+ string;
2092
+ /** Required. The Fleet resource name in the format `projects/*‍/locations/*‍/fleets/*`. */
2093
+ name:
2094
+ string;
2095
+ /** OAuth 2.0 token for the current user. */
2096
+ oauth_token?:
2097
+ string;
2098
+ /** Returns response with indentations and line breaks. */
2099
+ prettyPrint?:
2100
+ boolean;
2101
+ /** 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. */
2102
+ quotaUser?:
2103
+ string;
2104
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2105
+ upload_protocol?:
2106
+ string;
2107
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2108
+ uploadType?:
2109
+ string;
2110
+ }): Request<Fleet>;
2111
+ /** Returns all fleets within an organization or a project that the caller has access to. */
2112
+ list(request?: {
2113
+ /** V1 error format. */
2114
+ "$.xgafv"?:
2115
+ string;
2116
+ /** OAuth access token. */
2117
+ access_token?:
2118
+ string;
2119
+ /** Data format for response. */
2120
+ alt?:
2121
+ string;
2122
+ /** JSONP */
2123
+ callback?:
2124
+ string;
2125
+ /** Selector specifying which fields to include in a partial response. */
2126
+ fields?:
2127
+ string;
2128
+ /** 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. */
2129
+ key?:
2130
+ string;
2131
+ /** OAuth 2.0 token for the current user. */
2132
+ oauth_token?:
2133
+ string;
2134
+ /**
2135
+ * Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000;
2136
+ * values above 1000 will be coerced to 1000.
2137
+ */
2138
+ pageSize?:
2139
+ number;
2140
+ /**
2141
+ * Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets`
2142
+ * must match the call that provided the page token.
2143
+ */
2144
+ pageToken?:
2145
+ string;
2146
+ /** Required. The organization or project to list for Fleets under, in the format `organizations/*‍/locations/*` or `projects/*‍/locations/*`. */
2147
+ parent:
2148
+ string;
2149
+ /** Returns response with indentations and line breaks. */
2150
+ prettyPrint?:
2151
+ boolean;
2152
+ /** 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. */
2153
+ quotaUser?:
2154
+ string;
2155
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2156
+ upload_protocol?:
2157
+ string;
2158
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2159
+ uploadType?:
2160
+ string;
2161
+ }): Request<ListFleetsResponse>;
2162
+ /** Updates a fleet. */
2163
+ patch(request: {
2164
+ /** V1 error format. */
2165
+ "$.xgafv"?:
2166
+ string;
2167
+ /** OAuth access token. */
2168
+ access_token?:
2169
+ string;
2170
+ /** Data format for response. */
2171
+ alt?:
2172
+ string;
2173
+ /** JSONP */
2174
+ callback?:
2175
+ string;
2176
+ /** Selector specifying which fields to include in a partial response. */
2177
+ fields?:
2178
+ string;
2179
+ /** 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. */
2180
+ key?:
2181
+ string;
2182
+ /**
2183
+ * Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most
2184
+ * one fleet resource, named "default".
2185
+ */
2186
+ name:
2187
+ string;
2188
+ /** OAuth 2.0 token for the current user. */
2189
+ oauth_token?:
2190
+ string;
2191
+ /** Returns response with indentations and line breaks. */
2192
+ prettyPrint?:
2193
+ boolean;
2194
+ /** 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. */
2195
+ quotaUser?:
2196
+ string;
2197
+ /** Required. The fields to be updated; */
2198
+ updateMask?:
2199
+ string;
2200
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2201
+ upload_protocol?:
2202
+ string;
2203
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2204
+ uploadType?:
2205
+ string;
2206
+ /** Request body */
2207
+ resource:
2208
+ Fleet;
2209
+ }): Request<Operation>;
2210
+ patch(request: {
2211
+ /** V1 error format. */
2212
+ "$.xgafv"?:
2213
+ string;
2214
+ /** OAuth access token. */
2215
+ access_token?:
2216
+ string;
2217
+ /** Data format for response. */
2218
+ alt?:
2219
+ string;
2220
+ /** JSONP */
2221
+ callback?:
2222
+ string;
2223
+ /** Selector specifying which fields to include in a partial response. */
2224
+ fields?:
2225
+ string;
2226
+ /** 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. */
2227
+ key?:
2228
+ string;
2229
+ /**
2230
+ * Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most
2231
+ * one fleet resource, named "default".
2232
+ */
2233
+ name:
2234
+ string;
2235
+ /** OAuth 2.0 token for the current user. */
2236
+ oauth_token?:
2237
+ string;
2238
+ /** Returns response with indentations and line breaks. */
2239
+ prettyPrint?:
2240
+ boolean;
2241
+ /** 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. */
2242
+ quotaUser?:
2243
+ string;
2244
+ /** Required. The fields to be updated; */
2245
+ updateMask?:
2246
+ string;
2247
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2248
+ upload_protocol?:
2249
+ string;
2250
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2251
+ uploadType?:
2252
+ string;
2253
+ },
2254
+ body: Fleet): Request<Operation>;
2255
+ }
1839
2256
  interface BindingsResource {
1840
2257
  /** Creates a MembershipBinding. */
1841
2258
  create(request: {
@@ -3199,6 +3616,93 @@ declare namespace gapi.client {
3199
3616
  uploadType?:
3200
3617
  string;
3201
3618
  }): Request<ListScopesResponse>;
3619
+ /** Updates a scopes. */
3620
+ patch(request: {
3621
+ /** V1 error format. */
3622
+ "$.xgafv"?:
3623
+ string;
3624
+ /** OAuth access token. */
3625
+ access_token?:
3626
+ string;
3627
+ /** Data format for response. */
3628
+ alt?:
3629
+ string;
3630
+ /** JSONP */
3631
+ callback?:
3632
+ string;
3633
+ /** Selector specifying which fields to include in a partial response. */
3634
+ fields?:
3635
+ string;
3636
+ /** 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. */
3637
+ key?:
3638
+ string;
3639
+ /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
3640
+ name:
3641
+ string;
3642
+ /** OAuth 2.0 token for the current user. */
3643
+ oauth_token?:
3644
+ string;
3645
+ /** Returns response with indentations and line breaks. */
3646
+ prettyPrint?:
3647
+ boolean;
3648
+ /** 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. */
3649
+ quotaUser?:
3650
+ string;
3651
+ /** Required. The fields to be updated. */
3652
+ updateMask?:
3653
+ string;
3654
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3655
+ upload_protocol?:
3656
+ string;
3657
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3658
+ uploadType?:
3659
+ string;
3660
+ /** Request body */
3661
+ resource:
3662
+ Scope;
3663
+ }): Request<Operation>;
3664
+ patch(request: {
3665
+ /** V1 error format. */
3666
+ "$.xgafv"?:
3667
+ string;
3668
+ /** OAuth access token. */
3669
+ access_token?:
3670
+ string;
3671
+ /** Data format for response. */
3672
+ alt?:
3673
+ string;
3674
+ /** JSONP */
3675
+ callback?:
3676
+ string;
3677
+ /** Selector specifying which fields to include in a partial response. */
3678
+ fields?:
3679
+ string;
3680
+ /** 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. */
3681
+ key?:
3682
+ string;
3683
+ /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
3684
+ name:
3685
+ string;
3686
+ /** OAuth 2.0 token for the current user. */
3687
+ oauth_token?:
3688
+ string;
3689
+ /** Returns response with indentations and line breaks. */
3690
+ prettyPrint?:
3691
+ boolean;
3692
+ /** 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. */
3693
+ quotaUser?:
3694
+ string;
3695
+ /** Required. The fields to be updated. */
3696
+ updateMask?:
3697
+ string;
3698
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3699
+ upload_protocol?:
3700
+ string;
3701
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3702
+ uploadType?:
3703
+ string;
3704
+ },
3705
+ body: Scope): Request<Operation>;
3202
3706
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3203
3707
  setIamPolicy(request: {
3204
3708
  /** V1 error format. */
@@ -3382,6 +3886,8 @@ declare namespace gapi.client {
3382
3886
  }): Request<ListLocationsResponse>;
3383
3887
  features:
3384
3888
  FeaturesResource;
3889
+ fleets:
3890
+ FleetsResource;
3385
3891
  memberships:
3386
3892
  MembershipsResource;
3387
3893
  operations:
@@ -3394,6 +3900,8 @@ declare namespace gapi.client {
3394
3900
  LocationsResource;
3395
3901
  }
3396
3902
 
3903
+ const organizations: OrganizationsResource;
3904
+
3397
3905
  const projects: ProjectsResource;
3398
3906
  }
3399
3907
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20230606",
3
+ "version": "0.0.20230609",
4
4
  "description": "TypeScript typings for GKE Hub API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230606
6
+ // Revision: 20230609
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -29,6 +29,12 @@ gapi.load('client', async () => {
29
29
  });
30
30
 
31
31
  async function run() {
32
+ /** Returns all fleets within an organization or a project that the caller has access to. */
33
+ await gapi.client.gkehub.organizations.locations.fleets.list({
34
+ pageSize: 42,
35
+ pageToken: "Test string",
36
+ parent: "Test string",
37
+ });
32
38
  /** Gets information about a location. */
33
39
  await gapi.client.gkehub.projects.locations.get({
34
40
  name: "Test string",
@@ -105,6 +111,7 @@ gapi.load('client', async () => {
105
111
  mutationEnabled: true,
106
112
  referentialRulesEnabled: true,
107
113
  templateLibraryInstalled: true,
114
+ updateTime: "Test string",
108
115
  },
109
116
  version: "Test string",
110
117
  },
@@ -272,6 +279,7 @@ gapi.load('client', async () => {
272
279
  mutationEnabled: true,
273
280
  referentialRulesEnabled: true,
274
281
  templateLibraryInstalled: true,
282
+ updateTime: "Test string",
275
283
  },
276
284
  version: "Test string",
277
285
  },
@@ -291,6 +299,7 @@ gapi.load('client', async () => {
291
299
  gatekeeperMutation: "Test string",
292
300
  },
293
301
  migration: {
302
+ copyTime: "Test string",
294
303
  stage: "Test string",
295
304
  },
296
305
  version: {
@@ -497,6 +506,7 @@ gapi.load('client', async () => {
497
506
  mutationEnabled: true,
498
507
  referentialRulesEnabled: true,
499
508
  templateLibraryInstalled: true,
509
+ updateTime: "Test string",
500
510
  },
501
511
  version: "Test string",
502
512
  },
@@ -664,6 +674,7 @@ gapi.load('client', async () => {
664
674
  mutationEnabled: true,
665
675
  referentialRulesEnabled: true,
666
676
  templateLibraryInstalled: true,
677
+ updateTime: "Test string",
667
678
  },
668
679
  version: "Test string",
669
680
  },
@@ -683,6 +694,7 @@ gapi.load('client', async () => {
683
694
  gatekeeperMutation: "Test string",
684
695
  },
685
696
  migration: {
697
+ copyTime: "Test string",
686
698
  stage: "Test string",
687
699
  },
688
700
  version: {
@@ -849,6 +861,49 @@ gapi.load('client', async () => {
849
861
  "Test string"
850
862
  ],
851
863
  });
864
+ /** Creates a fleet. */
865
+ await gapi.client.gkehub.projects.locations.fleets.create({
866
+ parent: "Test string",
867
+ }, {
868
+ createTime: "Test string",
869
+ deleteTime: "Test string",
870
+ displayName: "Test string",
871
+ name: "Test string",
872
+ state: {
873
+ code: "Test string",
874
+ },
875
+ uid: "Test string",
876
+ updateTime: "Test string",
877
+ });
878
+ /** Removes a Fleet. There must be no memberships remaining in the Fleet. */
879
+ await gapi.client.gkehub.projects.locations.fleets.delete({
880
+ name: "Test string",
881
+ });
882
+ /** Returns the details of a fleet. */
883
+ await gapi.client.gkehub.projects.locations.fleets.get({
884
+ name: "Test string",
885
+ });
886
+ /** Returns all fleets within an organization or a project that the caller has access to. */
887
+ await gapi.client.gkehub.projects.locations.fleets.list({
888
+ pageSize: 42,
889
+ pageToken: "Test string",
890
+ parent: "Test string",
891
+ });
892
+ /** Updates a fleet. */
893
+ await gapi.client.gkehub.projects.locations.fleets.patch({
894
+ name: "Test string",
895
+ updateMask: "Test string",
896
+ }, {
897
+ createTime: "Test string",
898
+ deleteTime: "Test string",
899
+ displayName: "Test string",
900
+ name: "Test string",
901
+ state: {
902
+ code: "Test string",
903
+ },
904
+ uid: "Test string",
905
+ updateTime: "Test string",
906
+ });
852
907
  /**
853
908
  * Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at
854
909
  * https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
@@ -1218,6 +1273,21 @@ gapi.load('client', async () => {
1218
1273
  pageToken: "Test string",
1219
1274
  parent: "Test string",
1220
1275
  });
1276
+ /** Updates a scopes. */
1277
+ await gapi.client.gkehub.projects.locations.scopes.patch({
1278
+ name: "Test string",
1279
+ updateMask: "Test string",
1280
+ }, {
1281
+ allMemberships: true,
1282
+ createTime: "Test string",
1283
+ deleteTime: "Test string",
1284
+ name: "Test string",
1285
+ state: {
1286
+ code: "Test string",
1287
+ },
1288
+ uid: "Test string",
1289
+ updateTime: "Test string",
1290
+ });
1221
1291
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1222
1292
  await gapi.client.gkehub.projects.locations.scopes.setIamPolicy({
1223
1293
  resource: "Test string",