@maxim_mazurok/gapi.client.managedidentities-v1 0.0.20230505 → 0.0.20230705
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 +101 -1
- package/package.json +1 -1
- package/tests.ts +6 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230705
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -100,6 +100,17 @@ declare namespace gapi.client {
|
|
|
100
100
|
thumbprint?:
|
|
101
101
|
string;
|
|
102
102
|
}
|
|
103
|
+
// tslint:disable-next-line:no-empty-interface
|
|
104
|
+
interface CheckMigrationPermissionRequest {
|
|
105
|
+
}
|
|
106
|
+
interface CheckMigrationPermissionResponse {
|
|
107
|
+
/** The state of SID filtering of all the domains which has trust established. */
|
|
108
|
+
onpremDomains?:
|
|
109
|
+
OnPremDomainSIDDetails[];
|
|
110
|
+
/** The state of DomainMigration. */
|
|
111
|
+
state?:
|
|
112
|
+
string;
|
|
113
|
+
}
|
|
103
114
|
interface DailyCycle {
|
|
104
115
|
/** Output only. Duration of the time window, set by service producer. */
|
|
105
116
|
duration?:
|
|
@@ -639,6 +650,14 @@ declare namespace gapi.client {
|
|
|
639
650
|
domainName?:
|
|
640
651
|
string;
|
|
641
652
|
}
|
|
653
|
+
interface OnPremDomainSIDDetails {
|
|
654
|
+
/** FQDN of the on-prem domain being migrated. */
|
|
655
|
+
name?:
|
|
656
|
+
string;
|
|
657
|
+
/** Current SID filtering state. */
|
|
658
|
+
sidFilteringState?:
|
|
659
|
+
string;
|
|
660
|
+
}
|
|
642
661
|
interface Operation {
|
|
643
662
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
644
663
|
done?:
|
|
@@ -1547,6 +1566,87 @@ declare namespace gapi.client {
|
|
|
1547
1566
|
string;
|
|
1548
1567
|
},
|
|
1549
1568
|
body: AttachTrustRequest): Request<Operation>;
|
|
1569
|
+
/** CheckMigrationPermission API gets the current state of DomainMigration */
|
|
1570
|
+
checkMigrationPermission(request: {
|
|
1571
|
+
/** V1 error format. */
|
|
1572
|
+
"$.xgafv"?:
|
|
1573
|
+
string;
|
|
1574
|
+
/** OAuth access token. */
|
|
1575
|
+
access_token?:
|
|
1576
|
+
string;
|
|
1577
|
+
/** Data format for response. */
|
|
1578
|
+
alt?:
|
|
1579
|
+
string;
|
|
1580
|
+
/** JSONP */
|
|
1581
|
+
callback?:
|
|
1582
|
+
string;
|
|
1583
|
+
/** Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` */
|
|
1584
|
+
domain:
|
|
1585
|
+
string;
|
|
1586
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1587
|
+
fields?:
|
|
1588
|
+
string;
|
|
1589
|
+
/** 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. */
|
|
1590
|
+
key?:
|
|
1591
|
+
string;
|
|
1592
|
+
/** OAuth 2.0 token for the current user. */
|
|
1593
|
+
oauth_token?:
|
|
1594
|
+
string;
|
|
1595
|
+
/** Returns response with indentations and line breaks. */
|
|
1596
|
+
prettyPrint?:
|
|
1597
|
+
boolean;
|
|
1598
|
+
/** 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. */
|
|
1599
|
+
quotaUser?:
|
|
1600
|
+
string;
|
|
1601
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1602
|
+
upload_protocol?:
|
|
1603
|
+
string;
|
|
1604
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1605
|
+
uploadType?:
|
|
1606
|
+
string;
|
|
1607
|
+
/** Request body */
|
|
1608
|
+
resource:
|
|
1609
|
+
CheckMigrationPermissionRequest;
|
|
1610
|
+
}): Request<CheckMigrationPermissionResponse>;
|
|
1611
|
+
checkMigrationPermission(request: {
|
|
1612
|
+
/** V1 error format. */
|
|
1613
|
+
"$.xgafv"?:
|
|
1614
|
+
string;
|
|
1615
|
+
/** OAuth access token. */
|
|
1616
|
+
access_token?:
|
|
1617
|
+
string;
|
|
1618
|
+
/** Data format for response. */
|
|
1619
|
+
alt?:
|
|
1620
|
+
string;
|
|
1621
|
+
/** JSONP */
|
|
1622
|
+
callback?:
|
|
1623
|
+
string;
|
|
1624
|
+
/** Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` */
|
|
1625
|
+
domain:
|
|
1626
|
+
string;
|
|
1627
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1628
|
+
fields?:
|
|
1629
|
+
string;
|
|
1630
|
+
/** 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. */
|
|
1631
|
+
key?:
|
|
1632
|
+
string;
|
|
1633
|
+
/** OAuth 2.0 token for the current user. */
|
|
1634
|
+
oauth_token?:
|
|
1635
|
+
string;
|
|
1636
|
+
/** Returns response with indentations and line breaks. */
|
|
1637
|
+
prettyPrint?:
|
|
1638
|
+
boolean;
|
|
1639
|
+
/** 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. */
|
|
1640
|
+
quotaUser?:
|
|
1641
|
+
string;
|
|
1642
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1643
|
+
upload_protocol?:
|
|
1644
|
+
string;
|
|
1645
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1646
|
+
uploadType?:
|
|
1647
|
+
string;
|
|
1648
|
+
},
|
|
1649
|
+
body: CheckMigrationPermissionRequest): Request<CheckMigrationPermissionResponse>;
|
|
1550
1650
|
/** Creates a Microsoft AD domain. */
|
|
1551
1651
|
create(request: {
|
|
1552
1652
|
/** V1 error format. */
|
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: 20230705
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -60,6 +60,11 @@ gapi.load('client', async () => {
|
|
|
60
60
|
updateTime: "Test string",
|
|
61
61
|
},
|
|
62
62
|
});
|
|
63
|
+
/** CheckMigrationPermission API gets the current state of DomainMigration */
|
|
64
|
+
await gapi.client.managedidentities.projects.locations.global.domains.checkMigrationPermission({
|
|
65
|
+
domain: "Test string",
|
|
66
|
+
}, {
|
|
67
|
+
});
|
|
63
68
|
/** Creates a Microsoft AD domain. */
|
|
64
69
|
await gapi.client.managedidentities.projects.locations.global.domains.create({
|
|
65
70
|
domainName: "Test string",
|