@maxim_mazurok/gapi.client.androidmanagement-v1 0.0.20230130 → 0.0.20230217
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 +4 -4
- package/package.json +1 -1
- package/readme.md +2 -2
- package/tests.ts +3 -3
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://androidmanagement.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230217
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -599,7 +599,7 @@ declare namespace gapi.client {
|
|
|
599
599
|
contactInfo?: ContactInfo;
|
|
600
600
|
/** The types of Google Pub/Sub notifications enabled for the enterprise. */
|
|
601
601
|
enabledNotificationTypes?: string[];
|
|
602
|
-
/** The name of the enterprise displayed to users. */
|
|
602
|
+
/** The name of the enterprise displayed to users. This field has a maximum length of 100 characters. */
|
|
603
603
|
enterpriseDisplayName?: string;
|
|
604
604
|
/**
|
|
605
605
|
* An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp,
|
|
@@ -2585,7 +2585,7 @@ declare namespace gapi.client {
|
|
|
2585
2585
|
body: WebToken): Request<WebToken>;
|
|
2586
2586
|
}
|
|
2587
2587
|
interface EnterprisesResource {
|
|
2588
|
-
/** Creates an enterprise. This is the last step in the enterprise signup flow. */
|
|
2588
|
+
/** Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail */
|
|
2589
2589
|
create(request: {
|
|
2590
2590
|
/** V1 error format. */
|
|
2591
2591
|
"$.xgafv"?: string;
|
|
@@ -2764,7 +2764,7 @@ declare namespace gapi.client {
|
|
|
2764
2764
|
/** Specifies which Enterprise fields to return. This method only supports BASIC. */
|
|
2765
2765
|
view?: string;
|
|
2766
2766
|
}): Request<ListEnterprisesResponse>;
|
|
2767
|
-
/** Updates an enterprise. */
|
|
2767
|
+
/** Updates an enterprise. See also: SigninDetail */
|
|
2768
2768
|
patch(request: {
|
|
2769
2769
|
/** V1 error format. */
|
|
2770
2770
|
"$.xgafv"?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -67,7 +67,7 @@ After that you can use Android Management API resources: <!-- TODO: make this wo
|
|
|
67
67
|
```typescript
|
|
68
68
|
|
|
69
69
|
/*
|
|
70
|
-
Creates an enterprise. This is the last step in the enterprise signup flow.
|
|
70
|
+
Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail
|
|
71
71
|
*/
|
|
72
72
|
await gapi.client.androidmanagement.enterprises.create({ });
|
|
73
73
|
|
|
@@ -87,7 +87,7 @@ Lists EMM-managed enterprises. Only BASIC fields are returned.
|
|
|
87
87
|
await gapi.client.androidmanagement.enterprises.list({ });
|
|
88
88
|
|
|
89
89
|
/*
|
|
90
|
-
Updates an enterprise.
|
|
90
|
+
Updates an enterprise. See also: SigninDetail
|
|
91
91
|
*/
|
|
92
92
|
await gapi.client.androidmanagement.enterprises.patch({ name: "name", });
|
|
93
93
|
|
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: 20230217
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -29,7 +29,7 @@ gapi.load('client', async () => {
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
async function run() {
|
|
32
|
-
/** Creates an enterprise. This is the last step in the enterprise signup flow. */
|
|
32
|
+
/** Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail */
|
|
33
33
|
await gapi.client.androidmanagement.enterprises.create({
|
|
34
34
|
agreementAccepted: true,
|
|
35
35
|
enterpriseToken: "Test string",
|
|
@@ -97,7 +97,7 @@ gapi.load('client', async () => {
|
|
|
97
97
|
projectId: "Test string",
|
|
98
98
|
view: "Test string",
|
|
99
99
|
});
|
|
100
|
-
/** Updates an enterprise. */
|
|
100
|
+
/** Updates an enterprise. See also: SigninDetail */
|
|
101
101
|
await gapi.client.androidmanagement.enterprises.patch({
|
|
102
102
|
name: "Test string",
|
|
103
103
|
updateMask: "Test string",
|