From bf1b8221e957a972ac021203caebb9278bfcf853 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 30 May 2023 07:08:01 +0000 Subject: [PATCH] feat(cloudidentity): update the api #### cloudidentity:v1beta1 The following keys were added: - schemas.AndroidAttributes.properties.ctsProfileMatch.type (Total Keys: 1) - schemas.AndroidAttributes.properties.hasPotentiallyHarmfulApps.type (Total Keys: 1) - schemas.AndroidAttributes.properties.verifiedBoot.type (Total Keys: 1) - schemas.AndroidAttributes.properties.verifyAppsEnabled.type (Total Keys: 1) --- docs/dyn/cloudidentity_v1beta1.devices.html | 12 ++++++++++++ .../documents/cloudidentity.v1.json | 2 +- .../documents/cloudidentity.v1beta1.json | 18 +++++++++++++++++- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/dyn/cloudidentity_v1beta1.devices.html b/docs/dyn/cloudidentity_v1beta1.devices.html index 7bc3f9a0876..1f3978e6c6f 100644 --- a/docs/dyn/cloudidentity_v1beta1.devices.html +++ b/docs/dyn/cloudidentity_v1beta1.devices.html @@ -163,10 +163,14 @@

Method Details

"customer": "A String", # 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. "device": { # A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. # Required. The device to be created. The name field within this device is ignored in the create method. A new name is created by the method, and returned within the response. Only the fields `device_type`, `serial_number` and `asset_tag` (if present) are used to create the device. All other fields are ignored. The `device_type` and `serial_number` fields are required. "androidSpecificAttributes": { # Resource representing the Android specific attributes of a Device. # Output only. Attributes specific to Android devices. + "ctsProfileMatch": True or False, # Whether the device passes Android CTS compliance. "enabledUnknownSources": True or False, # Whether applications from unknown sources can be installed on device. + "hasPotentiallyHarmfulApps": True or False, # Whether any potentially harmful apps were detected on the device. "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. "ownershipPrivilege": "A String", # Ownership privileges on device. "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. + "verifiedBoot": True or False, # Whether Android verified boot status is GREEN. + "verifyAppsEnabled": True or False, # Whether Google Play Protect Verify Apps is enabled. }, "assetTag": "A String", # Asset tag of the device. "basebandVersion": "A String", # Output only. Baseband version of the device. @@ -308,10 +312,14 @@

Method Details

{ # A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. "androidSpecificAttributes": { # Resource representing the Android specific attributes of a Device. # Output only. Attributes specific to Android devices. + "ctsProfileMatch": True or False, # Whether the device passes Android CTS compliance. "enabledUnknownSources": True or False, # Whether applications from unknown sources can be installed on device. + "hasPotentiallyHarmfulApps": True or False, # Whether any potentially harmful apps were detected on the device. "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. "ownershipPrivilege": "A String", # Ownership privileges on device. "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. + "verifiedBoot": True or False, # Whether Android verified boot status is GREEN. + "verifyAppsEnabled": True or False, # Whether Google Play Protect Verify Apps is enabled. }, "assetTag": "A String", # Asset tag of the device. "basebandVersion": "A String", # Output only. Baseband version of the device. @@ -398,10 +406,14 @@

Method Details

"devices": [ # Devices meeting the list restrictions. { # A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. "androidSpecificAttributes": { # Resource representing the Android specific attributes of a Device. # Output only. Attributes specific to Android devices. + "ctsProfileMatch": True or False, # Whether the device passes Android CTS compliance. "enabledUnknownSources": True or False, # Whether applications from unknown sources can be installed on device. + "hasPotentiallyHarmfulApps": True or False, # Whether any potentially harmful apps were detected on the device. "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. "ownershipPrivilege": "A String", # Ownership privileges on device. "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. + "verifiedBoot": True or False, # Whether Android verified boot status is GREEN. + "verifyAppsEnabled": True or False, # Whether Google Play Protect Verify Apps is enabled. }, "assetTag": "A String", # Asset tag of the device. "basebandVersion": "A String", # Output only. Baseband version of the device. diff --git a/googleapiclient/discovery_cache/documents/cloudidentity.v1.json b/googleapiclient/discovery_cache/documents/cloudidentity.v1.json index 40c5b43c499..ac863b6db0a 100644 --- a/googleapiclient/discovery_cache/documents/cloudidentity.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudidentity.v1.json @@ -1985,7 +1985,7 @@ } } }, - "revision": "20230516", + "revision": "20230523", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json index 82d0d01b181..81dc1391f6a 100644 --- a/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json @@ -2010,7 +2010,7 @@ } } }, - "revision": "20230516", + "revision": "20230523", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2034,10 +2034,18 @@ "description": "Resource representing the Android specific attributes of a Device.", "id": "AndroidAttributes", "properties": { + "ctsProfileMatch": { + "description": "Whether the device passes Android CTS compliance.", + "type": "boolean" + }, "enabledUnknownSources": { "description": "Whether applications from unknown sources can be installed on device.", "type": "boolean" }, + "hasPotentiallyHarmfulApps": { + "description": "Whether any potentially harmful apps were detected on the device.", + "type": "boolean" + }, "ownerProfileAccount": { "description": "Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.", "type": "boolean" @@ -2061,6 +2069,14 @@ "supportsWorkProfile": { "description": "Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the \"Enforce Work Profile\" policy.", "type": "boolean" + }, + "verifiedBoot": { + "description": "Whether Android verified boot status is GREEN.", + "type": "boolean" + }, + "verifyAppsEnabled": { + "description": "Whether Google Play Protect Verify Apps is enabled.", + "type": "boolean" } }, "type": "object"