@maxim_mazurok/gapi.client.managedidentities-v1alpha1 0.0.20220926 → 0.0.20221227

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 +70 -1
  2. package/package.json +1 -1
  3. package/tests.ts +8 -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://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20220926
12
+ // Revision: 20221227
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -168,6 +168,19 @@ declare namespace gapi.client {
168
168
  /** Output only. Last update time. Synthetic field is populated automatically by CCFE. */
169
169
  updateTime?: string;
170
170
  }
171
+ interface DomainJoinMachineRequest {
172
+ /** Optional. OU name where the VM needs to be domain joined */
173
+ ouName?: string;
174
+ /**
175
+ * Required. Full instance id token of compute engine VM to verify instance identity. More about this:
176
+ * https://cloud.google.com/compute/docs/instances/verifying-instance-identity#request_signature
177
+ */
178
+ vmIdToken?: string;
179
+ }
180
+ interface DomainJoinMachineResponse {
181
+ /** Offline domain join blob as the response */
182
+ domainJoinBlob?: string;
183
+ }
171
184
  // tslint:disable-next-line:no-empty-interface
172
185
  interface Empty {
173
186
  }
@@ -1422,6 +1435,62 @@ declare namespace gapi.client {
1422
1435
  uploadType?: string;
1423
1436
  },
1424
1437
  body: DisableMigrationRequest): Request<Operation>;
1438
+ /** DomainJoinMachine API joins a Compute Engine VM to the domain */
1439
+ domainJoinMachine(request: {
1440
+ /** V1 error format. */
1441
+ "$.xgafv"?: string;
1442
+ /** OAuth access token. */
1443
+ access_token?: string;
1444
+ /** Data format for response. */
1445
+ alt?: string;
1446
+ /** JSONP */
1447
+ callback?: string;
1448
+ /** Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} */
1449
+ domain: string;
1450
+ /** Selector specifying which fields to include in a partial response. */
1451
+ fields?: string;
1452
+ /** 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. */
1453
+ key?: string;
1454
+ /** OAuth 2.0 token for the current user. */
1455
+ oauth_token?: string;
1456
+ /** Returns response with indentations and line breaks. */
1457
+ prettyPrint?: boolean;
1458
+ /** 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. */
1459
+ quotaUser?: string;
1460
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1461
+ upload_protocol?: string;
1462
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1463
+ uploadType?: string;
1464
+ /** Request body */
1465
+ resource: DomainJoinMachineRequest;
1466
+ }): Request<DomainJoinMachineResponse>;
1467
+ domainJoinMachine(request: {
1468
+ /** V1 error format. */
1469
+ "$.xgafv"?: string;
1470
+ /** OAuth access token. */
1471
+ access_token?: string;
1472
+ /** Data format for response. */
1473
+ alt?: string;
1474
+ /** JSONP */
1475
+ callback?: string;
1476
+ /** Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} */
1477
+ domain: string;
1478
+ /** Selector specifying which fields to include in a partial response. */
1479
+ fields?: string;
1480
+ /** 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. */
1481
+ key?: string;
1482
+ /** OAuth 2.0 token for the current user. */
1483
+ oauth_token?: string;
1484
+ /** Returns response with indentations and line breaks. */
1485
+ prettyPrint?: boolean;
1486
+ /** 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. */
1487
+ quotaUser?: string;
1488
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1489
+ upload_protocol?: string;
1490
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1491
+ uploadType?: string;
1492
+ },
1493
+ body: DomainJoinMachineRequest): Request<DomainJoinMachineResponse>;
1425
1494
  /** Enable Domain Migration */
1426
1495
  enableMigration(request: {
1427
1496
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.managedidentities-v1alpha1",
3
- "version": "0.0.20220926",
3
+ "version": "0.0.20221227",
4
4
  "description": "TypeScript typings for Managed Service for Microsoft Active Directory API v1alpha1",
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: 20220926
6
+ // Revision: 20221227
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -135,6 +135,13 @@ gapi.load('client', async () => {
135
135
  domain: "Test string",
136
136
  }, {
137
137
  });
138
+ /** DomainJoinMachine API joins a Compute Engine VM to the domain */
139
+ await gapi.client.managedidentities.projects.locations.global.domains.domainJoinMachine({
140
+ domain: "Test string",
141
+ }, {
142
+ ouName: "Test string",
143
+ vmIdToken: "Test string",
144
+ });
138
145
  /** Enable Domain Migration */
139
146
  await gapi.client.managedidentities.projects.locations.global.domains.enableMigration({
140
147
  domain: "Test string",