@maxim_mazurok/gapi.client.androidmanagement-v1 0.0.20221003 → 0.0.20221017

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 +8 -8
  2. package/package.json +1 -1
  3. package/tests.ts +4 -4
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: 20221003
12
+ // Revision: 20221017
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1058,7 +1058,7 @@ declare namespace gapi.client {
1058
1058
  interface PersonalUsagePolicies {
1059
1059
  /** Account types that can't be managed by the user. */
1060
1060
  accountTypesWithManagementDisabled?: string[];
1061
- /** Whether camera is disabled. */
1061
+ /** If true, the camera is disabled on the personal profile. */
1062
1062
  cameraDisabled?: boolean;
1063
1063
  /** Controls how long the work profile can stay off. The duration must be at least 3 days. */
1064
1064
  maxDaysWithWorkOff?: number;
@@ -1066,7 +1066,7 @@ declare namespace gapi.client {
1066
1066
  personalApplications?: PersonalApplicationPolicy[];
1067
1067
  /** Used together with personalApplications to control how apps in the personal profile are allowed or blocked. */
1068
1068
  personalPlayStoreMode?: string;
1069
- /** Whether screen capture is disabled. */
1069
+ /** If true, screen capture is disabled for all users. */
1070
1070
  screenCaptureDisabled?: boolean;
1071
1071
  }
1072
1072
  interface Policy {
@@ -1305,13 +1305,13 @@ declare namespace gapi.client {
1305
1305
  }
1306
1306
  interface PolicyEnforcementRule {
1307
1307
  /**
1308
- * An action to block access to apps and data on a fully managed device or in a work profile. This action also triggers a user-facing notification with information (where possible) on
1308
+ * An action to block access to apps and data on a company owned device or in a work profile. This action also triggers a user-facing notification with information (where possible) on
1309
1309
  * how to correct the compliance issue. Note: wipeAction must also be specified.
1310
1310
  */
1311
1311
  blockAction?: BlockAction;
1312
1312
  /** The top-level policy to enforce. For example, applications or passwordPolicies. */
1313
1313
  settingName?: string;
1314
- /** An action to reset a fully managed device or delete a work profile. Note: blockAction must also be specified. */
1314
+ /** An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified. */
1315
1315
  wipeAction?: WipeAction;
1316
1316
  }
1317
1317
  interface PostureDetail {
@@ -1801,7 +1801,7 @@ declare namespace gapi.client {
1801
1801
  }): Request<ListOperationsResponse>;
1802
1802
  }
1803
1803
  interface DevicesResource {
1804
- /** Deletes a device. This operation wipes the device. */
1804
+ /** Deletes a device. This operation wipes the device. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get. */
1805
1805
  delete(request?: {
1806
1806
  /** V1 error format. */
1807
1807
  "$.xgafv"?: string;
@@ -1835,7 +1835,7 @@ declare namespace gapi.client {
1835
1835
  */
1836
1836
  wipeReasonMessage?: string;
1837
1837
  }): Request<{}>;
1838
- /** Gets a device. */
1838
+ /** Gets a device. Deleted devices will respond with a 404 error. */
1839
1839
  get(request?: {
1840
1840
  /** V1 error format. */
1841
1841
  "$.xgafv"?: string;
@@ -1918,7 +1918,7 @@ declare namespace gapi.client {
1918
1918
  uploadType?: string;
1919
1919
  },
1920
1920
  body: Command): Request<Operation>;
1921
- /** Lists devices for a given enterprise. */
1921
+ /** Lists devices for a given enterprise. Deleted devices are not returned in the response. */
1922
1922
  list(request?: {
1923
1923
  /** V1 error format. */
1924
1924
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidmanagement-v1",
3
- "version": "0.0.20221003",
3
+ "version": "0.0.20221017",
4
4
  "description": "TypeScript typings for Android Management 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: 20221003
6
+ // Revision: 20221017
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -153,13 +153,13 @@ gapi.load('client', async () => {
153
153
  languageCode: "Test string",
154
154
  name: "Test string",
155
155
  });
156
- /** Deletes a device. This operation wipes the device. */
156
+ /** Deletes a device. This operation wipes the device. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get. */
157
157
  await gapi.client.androidmanagement.enterprises.devices.delete({
158
158
  name: "Test string",
159
159
  wipeDataFlags: "Test string",
160
160
  wipeReasonMessage: "Test string",
161
161
  });
162
- /** Gets a device. */
162
+ /** Gets a device. Deleted devices will respond with a 404 error. */
163
163
  await gapi.client.androidmanagement.enterprises.devices.get({
164
164
  name: "Test string",
165
165
  });
@@ -189,7 +189,7 @@ gapi.load('client', async () => {
189
189
  type: "Test string",
190
190
  userName: "Test string",
191
191
  });
192
- /** Lists devices for a given enterprise. */
192
+ /** Lists devices for a given enterprise. Deleted devices are not returned in the response. */
193
193
  await gapi.client.androidmanagement.enterprises.devices.list({
194
194
  pageSize: 42,
195
195
  pageToken: "Test string",