@maxim_mazurok/gapi.client.cloudidentity-v1beta1 0.2.20260317 → 0.2.20260608

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 +43 -5
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
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://cloudidentity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20260317
12
+ // Revision: 20260608
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -58,6 +58,19 @@ declare namespace gapi.client {
58
58
  /** Whether Google Play Protect Verify Apps is enabled. */
59
59
  verifyAppsEnabled?: boolean;
60
60
  }
61
+ interface AntivirusInfo {
62
+ /** Output only. The display name of the anti-virus software. */
63
+ displayName?: string;
64
+ /** Output only. The GUID of the anti-virus product. */
65
+ productGuid?: string;
66
+ /** Output only. The state of the anti-virus. */
67
+ productState?:
68
+ | 'PRODUCT_STATE_UNSPECIFIED'
69
+ | 'PRODUCT_STATE_ON'
70
+ | 'PRODUCT_STATE_OFF'
71
+ | 'PRODUCT_STATE_SNOOZED'
72
+ | 'PRODUCT_STATE_EXPIRED';
73
+ }
61
74
  interface ApproveDeviceUserRequest {
62
75
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
63
76
  customer?: string;
@@ -270,6 +283,8 @@ declare namespace gapi.client {
270
283
  interface Device {
271
284
  /** Output only. Attributes specific to Android devices. */
272
285
  androidSpecificAttributes?: AndroidAttributes;
286
+ /** Output only. Anti-virus information for the device. */
287
+ antivirusInfo?: AntivirusInfo[];
273
288
  /** Asset tag of the device. */
274
289
  assetTag?: string;
275
290
  /** Output only. Baseband version of the device. */
@@ -348,6 +363,12 @@ declare namespace gapi.client {
348
363
  name?: string;
349
364
  /** Output only. Mobile or network operator of device, if available. */
350
365
  networkOperator?: string;
366
+ /** Output only. OS firewall status of the device. */
367
+ osFirewallStatus?:
368
+ | 'OS_FIREWALL_STATUS_UNSPECIFIED'
369
+ | 'OS_FIREWALL_STATUS_UNKNOWN'
370
+ | 'OS_FIREWALL_STATUS_ENABLED'
371
+ | 'OS_FIREWALL_STATUS_DISABLED';
351
372
  /** Output only. OS version of the device. Example: Android 8.1.0. */
352
373
  osVersion?: string;
353
374
  /** Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com". */
@@ -364,6 +385,8 @@ declare namespace gapi.client {
364
385
  unifiedDeviceId?: string;
365
386
  /** WiFi MAC addresses of device. */
366
387
  wifiMacAddresses?: string[];
388
+ /** Output only. Attributes specific to Windows devices. */
389
+ windowsSpecificDeviceAttributes?: WindowsSpecificDeviceAttributes;
367
390
  }
368
391
  interface DeviceUser {
369
392
  /** Compromised State of the DeviceUser object */
@@ -1009,6 +1032,7 @@ declare namespace gapi.client {
1009
1032
  | 'GROUP'
1010
1033
  | 'SHARED_DRIVE'
1011
1034
  | 'CBCM_BROWSER'
1035
+ | 'CHROME_OS_DEVICE'
1012
1036
  | 'OTHER';
1013
1037
  /** Output only. The time when the `Membership` was last updated. */
1014
1038
  updateTime?: string;
@@ -1146,7 +1170,7 @@ declare namespace gapi.client {
1146
1170
  group?: string;
1147
1171
  /** Required. Immutable. Non-empty default. The OrgUnit the query applies to. This field is only set if there is a single value for org_unit that satisfies all clauses of the query. */
1148
1172
  orgUnit?: string;
1149
- /** Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in any combination, and used in conjunction with the &&, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use. */
1173
+ /** Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) **Note:** The licenses clause is not supported in mutate endpoints. The above clauses can be present in any combination, and used in conjunction with the &&, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use. */
1150
1174
  query?: string;
1151
1175
  /** Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type for the customer. (There are no duplicates within this set). */
1152
1176
  sortOrder?: number;
@@ -1241,7 +1265,7 @@ declare namespace gapi.client {
1241
1265
  /** The status code, which should be an enum value of google.rpc.Code. */
1242
1266
  code?: number;
1243
1267
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1244
- details?: Array<{[P in string]: any}>;
1268
+ details?: {[P in string]: any}[];
1245
1269
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1246
1270
  message?: string;
1247
1271
  }
@@ -1279,6 +1303,20 @@ declare namespace gapi.client {
1279
1303
  /** Time when the `UserInvitation` was last updated. */
1280
1304
  updateTime?: string;
1281
1305
  }
1306
+ interface WindowsSpecificDeviceAttributes {
1307
+ /** Output only. The hotfixes installed on the device. */
1308
+ hotfixes?: string[];
1309
+ /** Output only. Secure boot mode of the device. */
1310
+ secureBootMode?:
1311
+ | 'SECURE_BOOT_MODE_UNSPECIFIED'
1312
+ | 'SECURE_BOOT_MODE_UNKNOWN'
1313
+ | 'SECURE_BOOT_MODE_ENABLED'
1314
+ | 'SECURE_BOOT_MODE_DISABLED';
1315
+ /** Output only. The domain of the machine that the user is logged into. This is different from the windows_user_domain as the user could be logged into a domain different from the machine domain. */
1316
+ windowsMachineDomain?: string;
1317
+ /** Output only. The domain of the user account that is logged into the machine. */
1318
+ windowsUserDomain?: string;
1319
+ }
1282
1320
  interface WipeDeviceRequest {
1283
1321
  /** Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. */
1284
1322
  customer?: string;
@@ -3984,13 +4022,13 @@ declare namespace gapi.client {
3984
4022
  callback?: string;
3985
4023
  /** Selector specifying which fields to include in a partial response. */
3986
4024
  fields?: string;
3987
- /** Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == "customers/{customer}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator. */
4025
+ /** Optional. A CEL expression for filtering the results. Policies can be filtered using the expression in the following ways: - Filter by application: `setting.type.matches('^settings/gmail\\..*$')` - Filter by setting type: `setting.type.matches('^.*\\.service_status$')` - Filter by customer: `customer == "customers/{customer}"` Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no `customer` is mentioned it will be default to `customers/my_customer`. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: `customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') )`. */
3988
4026
  filter?: string;
3989
4027
  /** 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. */
3990
4028
  key?: string;
3991
4029
  /** OAuth 2.0 token for the current user. */
3992
4030
  oauth_token?: string;
3993
- /** Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100. */
4031
+ /** Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to `0`, the default is `50` results per page. The maximum allowed value is `100`. `page_size` values greater than `100` default to `100`. */
3994
4032
  pageSize?: number;
3995
4033
  /** Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve the next page of results. When paginating, all other parameters provided to `ListPoliciesRequest` must match the call that provided the page token. */
3996
4034
  pageToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudidentity-v1beta1",
3
- "version": "0.2.20260317",
3
+ "version": "0.2.20260608",
4
4
  "description": "TypeScript typings for Cloud Identity API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for Cloud Identity API:
11
11
  npm install @types/gapi.client.cloudidentity-v1beta1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.cloudidentity-v1beta1"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: