@maxim_mazurok/gapi.client.managedidentities-v1 0.0.20230227 → 0.0.20230323
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 -7
- package/package.json +1 -1
- package/tests.ts +10 -7
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://managedidentities.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230323
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -153,6 +153,21 @@ declare namespace gapi.client {
|
|
|
153
153
|
/** Output only. The last update time. */
|
|
154
154
|
updateTime?: string;
|
|
155
155
|
}
|
|
156
|
+
interface DomainJoinMachineRequest {
|
|
157
|
+
/** Optional. force if True, forces domain join even if the computer account already exists. */
|
|
158
|
+
force?: boolean;
|
|
159
|
+
/** Optional. OU name where the VM needs to be domain joined */
|
|
160
|
+
ouName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Required. Full instance id token of compute engine VM to verify instance identity. More about this:
|
|
163
|
+
* https://cloud.google.com/compute/docs/instances/verifying-instance-identity#request_signature
|
|
164
|
+
*/
|
|
165
|
+
vmIdToken?: string;
|
|
166
|
+
}
|
|
167
|
+
interface DomainJoinMachineResponse {
|
|
168
|
+
/** Offline domain join blob as the response */
|
|
169
|
+
domainJoinBlob?: string;
|
|
170
|
+
}
|
|
156
171
|
// tslint:disable-next-line:no-empty-interface
|
|
157
172
|
interface Empty {
|
|
158
173
|
}
|
|
@@ -1282,6 +1297,62 @@ declare namespace gapi.client {
|
|
|
1282
1297
|
uploadType?: string;
|
|
1283
1298
|
},
|
|
1284
1299
|
body: DetachTrustRequest): Request<Operation>;
|
|
1300
|
+
/** DomainJoinMachine API joins a Compute Engine VM to the domain */
|
|
1301
|
+
domainJoinMachine(request: {
|
|
1302
|
+
/** V1 error format. */
|
|
1303
|
+
"$.xgafv"?: string;
|
|
1304
|
+
/** OAuth access token. */
|
|
1305
|
+
access_token?: string;
|
|
1306
|
+
/** Data format for response. */
|
|
1307
|
+
alt?: string;
|
|
1308
|
+
/** JSONP */
|
|
1309
|
+
callback?: string;
|
|
1310
|
+
/** Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} */
|
|
1311
|
+
domain: string;
|
|
1312
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1313
|
+
fields?: string;
|
|
1314
|
+
/** 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. */
|
|
1315
|
+
key?: string;
|
|
1316
|
+
/** OAuth 2.0 token for the current user. */
|
|
1317
|
+
oauth_token?: string;
|
|
1318
|
+
/** Returns response with indentations and line breaks. */
|
|
1319
|
+
prettyPrint?: boolean;
|
|
1320
|
+
/** 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. */
|
|
1321
|
+
quotaUser?: string;
|
|
1322
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1323
|
+
upload_protocol?: string;
|
|
1324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1325
|
+
uploadType?: string;
|
|
1326
|
+
/** Request body */
|
|
1327
|
+
resource: DomainJoinMachineRequest;
|
|
1328
|
+
}): Request<DomainJoinMachineResponse>;
|
|
1329
|
+
domainJoinMachine(request: {
|
|
1330
|
+
/** V1 error format. */
|
|
1331
|
+
"$.xgafv"?: string;
|
|
1332
|
+
/** OAuth access token. */
|
|
1333
|
+
access_token?: string;
|
|
1334
|
+
/** Data format for response. */
|
|
1335
|
+
alt?: string;
|
|
1336
|
+
/** JSONP */
|
|
1337
|
+
callback?: string;
|
|
1338
|
+
/** Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} */
|
|
1339
|
+
domain: string;
|
|
1340
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1341
|
+
fields?: string;
|
|
1342
|
+
/** 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. */
|
|
1343
|
+
key?: string;
|
|
1344
|
+
/** OAuth 2.0 token for the current user. */
|
|
1345
|
+
oauth_token?: string;
|
|
1346
|
+
/** Returns response with indentations and line breaks. */
|
|
1347
|
+
prettyPrint?: boolean;
|
|
1348
|
+
/** 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. */
|
|
1349
|
+
quotaUser?: string;
|
|
1350
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1351
|
+
upload_protocol?: string;
|
|
1352
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1353
|
+
uploadType?: string;
|
|
1354
|
+
},
|
|
1355
|
+
body: DomainJoinMachineRequest): Request<DomainJoinMachineResponse>;
|
|
1285
1356
|
/** Extend Schema for Domain */
|
|
1286
1357
|
extendSchema(request: {
|
|
1287
1358
|
/** V1 error format. */
|
|
@@ -2011,12 +2082,7 @@ declare namespace gapi.client {
|
|
|
2011
2082
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2012
2083
|
uploadType?: string;
|
|
2013
2084
|
}): Request<Operation>;
|
|
2014
|
-
/**
|
|
2015
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
2016
|
-
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
2017
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
2018
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
2019
|
-
*/
|
|
2085
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2020
2086
|
list(request?: {
|
|
2021
2087
|
/** V1 error format. */
|
|
2022
2088
|
"$.xgafv"?: string;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230323
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -125,6 +125,14 @@ gapi.load('client', async () => {
|
|
|
125
125
|
updateTime: "Test string",
|
|
126
126
|
},
|
|
127
127
|
});
|
|
128
|
+
/** DomainJoinMachine API joins a Compute Engine VM to the domain */
|
|
129
|
+
await gapi.client.managedidentities.projects.locations.global.domains.domainJoinMachine({
|
|
130
|
+
domain: "Test string",
|
|
131
|
+
}, {
|
|
132
|
+
force: true,
|
|
133
|
+
ouName: "Test string",
|
|
134
|
+
vmIdToken: "Test string",
|
|
135
|
+
});
|
|
128
136
|
/** Extend Schema for Domain */
|
|
129
137
|
await gapi.client.managedidentities.projects.locations.global.domains.extendSchema({
|
|
130
138
|
domain: "Test string",
|
|
@@ -407,12 +415,7 @@ gapi.load('client', async () => {
|
|
|
407
415
|
await gapi.client.managedidentities.projects.locations.global.operations.get({
|
|
408
416
|
name: "Test string",
|
|
409
417
|
});
|
|
410
|
-
/**
|
|
411
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
|
|
412
|
-
* override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
413
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
414
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
415
|
-
*/
|
|
418
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
416
419
|
await gapi.client.managedidentities.projects.locations.global.operations.list({
|
|
417
420
|
filter: "Test string",
|
|
418
421
|
name: "Test string",
|