From 1217ce4ce24a284cc9a96c008a9871dcfa77cc14 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 2 Feb 2024 01:30:36 +0000 Subject: [PATCH] feat(cloudidentity): update the API #### cloudidentity:v1beta1 The following keys were added: - schemas.BrowserAttributes.description - schemas.BrowserAttributes.id - schemas.BrowserAttributes.properties.chromeBrowserInfo.$ref - schemas.BrowserAttributes.properties.chromeBrowserInfo.description - schemas.BrowserAttributes.properties.chromeProfileId.description - schemas.BrowserAttributes.properties.chromeProfileId.type - schemas.BrowserAttributes.properties.lastProfileSyncTime.description - schemas.BrowserAttributes.properties.lastProfileSyncTime.format - schemas.BrowserAttributes.properties.lastProfileSyncTime.type - schemas.BrowserAttributes.type - schemas.BrowserInfo.description - schemas.BrowserInfo.id - schemas.BrowserInfo.properties.browserManagementState.description - schemas.BrowserInfo.properties.browserManagementState.enum - schemas.BrowserInfo.properties.browserManagementState.enumDescriptions - schemas.BrowserInfo.properties.browserManagementState.readOnly - schemas.BrowserInfo.properties.browserManagementState.type - schemas.BrowserInfo.properties.browserVersion.description - schemas.BrowserInfo.properties.browserVersion.type - schemas.BrowserInfo.properties.isBuiltInDnsClientEnabled.description - schemas.BrowserInfo.properties.isBuiltInDnsClientEnabled.type - schemas.BrowserInfo.properties.isBulkDataEntryAnalysisEnabled.description - schemas.BrowserInfo.properties.isBulkDataEntryAnalysisEnabled.type - schemas.BrowserInfo.properties.isChromeCleanupEnabled.description - schemas.BrowserInfo.properties.isChromeCleanupEnabled.type - schemas.BrowserInfo.properties.isChromeRemoteDesktopAppBlocked.description - schemas.BrowserInfo.properties.isChromeRemoteDesktopAppBlocked.type - schemas.BrowserInfo.properties.isFileDownloadAnalysisEnabled.description - schemas.BrowserInfo.properties.isFileDownloadAnalysisEnabled.type - schemas.BrowserInfo.properties.isFileUploadAnalysisEnabled.description - schemas.BrowserInfo.properties.isFileUploadAnalysisEnabled.type - schemas.BrowserInfo.properties.isRealtimeUrlCheckEnabled.description - schemas.BrowserInfo.properties.isRealtimeUrlCheckEnabled.type - schemas.BrowserInfo.properties.isSecurityEventAnalysisEnabled.description - schemas.BrowserInfo.properties.isSecurityEventAnalysisEnabled.type - schemas.BrowserInfo.properties.isSiteIsolationEnabled.description - schemas.BrowserInfo.properties.isSiteIsolationEnabled.type - schemas.BrowserInfo.properties.isThirdPartyBlockingEnabled.description - schemas.BrowserInfo.properties.isThirdPartyBlockingEnabled.type - schemas.BrowserInfo.properties.passwordProtectionWarningTrigger.description - schemas.BrowserInfo.properties.passwordProtectionWarningTrigger.enum - schemas.BrowserInfo.properties.passwordProtectionWarningTrigger.enumDescriptions - schemas.BrowserInfo.properties.passwordProtectionWarningTrigger.type - schemas.BrowserInfo.properties.safeBrowsingProtectionLevel.description - schemas.BrowserInfo.properties.safeBrowsingProtectionLevel.enum - schemas.BrowserInfo.properties.safeBrowsingProtectionLevel.enumDescriptions - schemas.BrowserInfo.properties.safeBrowsingProtectionLevel.type - schemas.BrowserInfo.type - schemas.EndpointVerificationSpecificAttributes.properties.additionalSignals.additionalProperties.description - schemas.EndpointVerificationSpecificAttributes.properties.additionalSignals.additionalProperties.type - schemas.EndpointVerificationSpecificAttributes.properties.additionalSignals.description - schemas.EndpointVerificationSpecificAttributes.properties.additionalSignals.type - schemas.EndpointVerificationSpecificAttributes.properties.browserAttributes.description - schemas.EndpointVerificationSpecificAttributes.properties.browserAttributes.items.$ref - schemas.EndpointVerificationSpecificAttributes.properties.browserAttributes.type The following keys were changed: - schemas.Device.properties.endpointVerificationSpecificAttributes.description - schemas.EndpointVerificationSpecificAttributes.description --- discovery/cloudidentity-v1beta1.json | 143 ++++++++++++++++++++++++++- src/apis/cloudidentity/v1beta1.ts | 90 ++++++++++++++++- 2 files changed, 228 insertions(+), 5 deletions(-) diff --git a/discovery/cloudidentity-v1beta1.json b/discovery/cloudidentity-v1beta1.json index 562a44e89b..4fe1655b6b 100644 --- a/discovery/cloudidentity-v1beta1.json +++ b/discovery/cloudidentity-v1beta1.json @@ -2015,7 +2015,7 @@ } } }, - "revision": "20240101", + "revision": "20240201", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2130,6 +2130,128 @@ }, "type": "object" }, + "BrowserAttributes": { + "description": "Contains information about browser profiles reported by the Endpoint Verification extension.", + "id": "BrowserAttributes", + "properties": { + "chromeBrowserInfo": { + "$ref": "BrowserInfo", + "description": "Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the Endpoint Verification extension." + }, + "chromeProfileId": { + "description": "Chrome profile ID that is exposed by the Chrome API. It is unique for each device.", + "type": "string" + }, + "lastProfileSyncTime": { + "description": "Timestamp in milliseconds since Epoch when the profile/gcm id was last synced.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BrowserInfo": { + "description": "Browser-specific fields reported by the Endpoint Verification extension. See go/additionalattributesdesign and go/caa-webprotect-attributes-extension LINT.IfChange", + "id": "BrowserInfo", + "properties": { + "browserManagementState": { + "description": "Output only. Browser's management state.", + "enum": [ + "UNSPECIFIED", + "UNMANAGED", + "MANAGED_BY_OTHER_DOMAIN", + "PROFILE_MANAGED", + "BROWSER_MANAGED" + ], + "enumDescriptions": [ + "Management state is not specified.", + "Browser/Profile is not managed by any customer.", + "Browser/Profile is managed, but by some other customer.", + "Profile is managed by customer.", + "Browser is managed by customer." + ], + "readOnly": true, + "type": "string" + }, + "browserVersion": { + "description": "Version of the request initiating browser.", + "type": "string" + }, + "isBuiltInDnsClientEnabled": { + "description": "Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled).", + "type": "boolean" + }, + "isBulkDataEntryAnalysisEnabled": { + "description": "Current state of [bulk data analysis](https://chromeenterprise.google/policies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", + "type": "boolean" + }, + "isChromeCleanupEnabled": { + "description": "Current state of [Chrome Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled).", + "type": "boolean" + }, + "isChromeRemoteDesktopAppBlocked": { + "description": "Current state of [Chrome Remote Desktop app](https://chromeenterprise.google/policies/#URLBlocklist).", + "type": "boolean" + }, + "isFileDownloadAnalysisEnabled": { + "description": "Current state of [file download analysis](https://chromeenterprise.google/policies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", + "type": "boolean" + }, + "isFileUploadAnalysisEnabled": { + "description": "Current state of [file upload analysis](https://chromeenterprise.google/policies/#OnFileAttachedEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", + "type": "boolean" + }, + "isRealtimeUrlCheckEnabled": { + "description": "Current state of [real-time URL check](https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from Chrome is non-empty.", + "type": "boolean" + }, + "isSecurityEventAnalysisEnabled": { + "description": "Current state of [security event analysis](https://chromeenterprise.google/policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", + "type": "boolean" + }, + "isSiteIsolationEnabled": { + "description": "Current state of [site isolation](https://chromeenterprise.google/policies/?policy=IsolateOrigins).", + "type": "boolean" + }, + "isThirdPartyBlockingEnabled": { + "description": "Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled).", + "type": "boolean" + }, + "passwordProtectionWarningTrigger": { + "description": "Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger).", + "enum": [ + "PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED", + "PROTECTION_OFF", + "PASSWORD_REUSE", + "PHISHING_REUSE" + ], + "enumDescriptions": [ + "Password protection is not specified.", + "Password reuse is never detected.", + "Warning is shown when the user reuses their protected password on a non-allowed site.", + "Warning is shown when the user reuses their protected password on a phishing site." + ], + "type": "string" + }, + "safeBrowsingProtectionLevel": { + "description": "Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel).", + "enum": [ + "SAFE_BROWSING_LEVEL_UNSPECIFIED", + "DISABLED", + "STANDARD", + "ENHANCED" + ], + "enumDescriptions": [ + "Browser protection level is not specified.", + "No protection against dangerous websites, downloads, and extensions.", + "Standard protection against websites, downloads, and extensions that are known to be dangerous.", + "Faster, proactive protection against dangerous websites, downloads, and extensions." + ], + "type": "string" + } + }, + "type": "object" + }, "CancelUserInvitationRequest": { "description": "Request to cancel sent invitation for target email in UserInvitation.", "id": "CancelUserInvitationRequest", @@ -2580,7 +2702,7 @@ }, "endpointVerificationSpecificAttributes": { "$ref": "EndpointVerificationSpecificAttributes", - "description": "Output only. Attributes specific to Endpoint Verification devices.", + "description": "Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices.", "readOnly": true }, "hostname": { @@ -2879,9 +3001,24 @@ "type": "object" }, "EndpointVerificationSpecificAttributes": { - "description": "Resource representing the Endpoint Verification-specific attributes of a Device. https://cloud.google.com/endpoint-verification/docs/overview", + "description": "Resource representing the [Endpoint Verification-specific attributes](https://cloud.google.com/endpoint-verification/docs/device-information) of a device.", "id": "EndpointVerificationSpecificAttributes", "properties": { + "additionalSignals": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Additional signals reported by Endpoint Verification. It includes the following attributes: 1. Non-configurable attributes: hotfixes, av_installed, av_enabled, windows_domain_name, is_os_native_firewall_enabled, and is_secure_boot_enabled. 2. Configurable attributes: file_config, registry_config, and plist_config.", + "type": "object" + }, + "browserAttributes": { + "description": "Details of browser profiles reported by Endpoint Verification.", + "items": { + "$ref": "BrowserAttributes" + }, + "type": "array" + }, "certificateAttributes": { "description": "Details of certificates.", "items": { diff --git a/src/apis/cloudidentity/v1beta1.ts b/src/apis/cloudidentity/v1beta1.ts index 6fa77c09dc..19d822318f 100644 --- a/src/apis/cloudidentity/v1beta1.ts +++ b/src/apis/cloudidentity/v1beta1.ts @@ -224,6 +224,84 @@ export namespace cloudidentity_v1beta1 { */ deviceUser?: Schema$DeviceUser; } + /** + * Contains information about browser profiles reported by the Endpoint Verification extension. + */ + export interface Schema$BrowserAttributes { + /** + * Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the Endpoint Verification extension. + */ + chromeBrowserInfo?: Schema$BrowserInfo; + /** + * Chrome profile ID that is exposed by the Chrome API. It is unique for each device. + */ + chromeProfileId?: string | null; + /** + * Timestamp in milliseconds since Epoch when the profile/gcm id was last synced. + */ + lastProfileSyncTime?: string | null; + } + /** + * Browser-specific fields reported by the Endpoint Verification extension. See go/additionalattributesdesign and go/caa-webprotect-attributes-extension LINT.IfChange + */ + export interface Schema$BrowserInfo { + /** + * Output only. Browser's management state. + */ + browserManagementState?: string | null; + /** + * Version of the request initiating browser. + */ + browserVersion?: string | null; + /** + * Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled). + */ + isBuiltInDnsClientEnabled?: boolean | null; + /** + * Current state of [bulk data analysis](https://chromeenterprise.google/policies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from Chrome is non-empty. + */ + isBulkDataEntryAnalysisEnabled?: boolean | null; + /** + * Current state of [Chrome Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled). + */ + isChromeCleanupEnabled?: boolean | null; + /** + * Current state of [Chrome Remote Desktop app](https://chromeenterprise.google/policies/#URLBlocklist). + */ + isChromeRemoteDesktopAppBlocked?: boolean | null; + /** + * Current state of [file download analysis](https://chromeenterprise.google/policies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list from Chrome is non-empty. + */ + isFileDownloadAnalysisEnabled?: boolean | null; + /** + * Current state of [file upload analysis](https://chromeenterprise.google/policies/#OnFileAttachedEnterpriseConnector). Set to true if provider list from Chrome is non-empty. + */ + isFileUploadAnalysisEnabled?: boolean | null; + /** + * Current state of [real-time URL check](https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from Chrome is non-empty. + */ + isRealtimeUrlCheckEnabled?: boolean | null; + /** + * Current state of [security event analysis](https://chromeenterprise.google/policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list from Chrome is non-empty. + */ + isSecurityEventAnalysisEnabled?: boolean | null; + /** + * Current state of [site isolation](https://chromeenterprise.google/policies/?policy=IsolateOrigins). + */ + isSiteIsolationEnabled?: boolean | null; + /** + * Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled). + */ + isThirdPartyBlockingEnabled?: boolean | null; + /** + * Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger). + */ + passwordProtectionWarningTrigger?: string | null; + /** + * Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel). + */ + safeBrowsingProtectionLevel?: string | null; + } /** * Request to cancel sent invitation for target email in UserInvitation. */ @@ -495,7 +573,7 @@ export namespace cloudidentity_v1beta1 { */ encryptionState?: string | null; /** - * Output only. Attributes specific to Endpoint Verification devices. + * Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices. */ endpointVerificationSpecificAttributes?: Schema$EndpointVerificationSpecificAttributes; /** @@ -658,9 +736,17 @@ export namespace cloudidentity_v1beta1 { statusTime?: string | null; } /** - * Resource representing the Endpoint Verification-specific attributes of a Device. https://cloud.google.com/endpoint-verification/docs/overview + * Resource representing the [Endpoint Verification-specific attributes](https://cloud.google.com/endpoint-verification/docs/device-information) of a device. */ export interface Schema$EndpointVerificationSpecificAttributes { + /** + * Additional signals reported by Endpoint Verification. It includes the following attributes: 1. Non-configurable attributes: hotfixes, av_installed, av_enabled, windows_domain_name, is_os_native_firewall_enabled, and is_secure_boot_enabled. 2. Configurable attributes: file_config, registry_config, and plist_config. + */ + additionalSignals?: {[key: string]: any} | null; + /** + * Details of browser profiles reported by Endpoint Verification. + */ + browserAttributes?: Schema$BrowserAttributes[]; /** * Details of certificates. */