diff --git a/api_names_out.yaml b/api_names_out.yaml index a61391eddef..0273c2427c2 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8471,6 +8471,7 @@ "/androidenterprise:v1/quotaUser": quota_user "/androidenterprise:v1/userIp": user_ip "/androidmanagement:v1/AdvancedSecurityOverrides": advanced_security_overrides +"/androidmanagement:v1/AdvancedSecurityOverrides/commonCriteriaMode": common_criteria_mode "/androidmanagement:v1/AdvancedSecurityOverrides/untrustedAppsPolicy": untrusted_apps_policy "/androidmanagement:v1/AlwaysOnVpnPackage": always_on_vpn_package "/androidmanagement:v1/AlwaysOnVpnPackage/lockdownEnabled": lockdown_enabled @@ -8547,6 +8548,8 @@ "/androidmanagement:v1/Command/resetPasswordFlags/reset_password_flag": reset_password_flag "/androidmanagement:v1/Command/type": type "/androidmanagement:v1/Command/userName": user_name +"/androidmanagement:v1/CommonCriteriaModeInfo": common_criteria_mode_info +"/androidmanagement:v1/CommonCriteriaModeInfo/commonCriteriaModeStatus": common_criteria_mode_status "/androidmanagement:v1/ComplianceRule": compliance_rule "/androidmanagement:v1/ComplianceRule/apiLevelCondition": api_level_condition "/androidmanagement:v1/ComplianceRule/disableApps": disable_apps @@ -8564,6 +8567,7 @@ "/androidmanagement:v1/Device/appliedPolicyName": applied_policy_name "/androidmanagement:v1/Device/appliedPolicyVersion": applied_policy_version "/androidmanagement:v1/Device/appliedState": applied_state +"/androidmanagement:v1/Device/commonCriteriaModeInfo": common_criteria_mode_info "/androidmanagement:v1/Device/deviceSettings": device_settings "/androidmanagement:v1/Device/disabledReason": disabled_reason "/androidmanagement:v1/Device/displays": displays @@ -8952,6 +8956,7 @@ "/androidmanagement:v1/StatusReportingSettings": status_reporting_settings "/androidmanagement:v1/StatusReportingSettings/applicationReportingSettings": application_reporting_settings "/androidmanagement:v1/StatusReportingSettings/applicationReportsEnabled": application_reports_enabled +"/androidmanagement:v1/StatusReportingSettings/commonCriteriaModeEnabled": common_criteria_mode_enabled "/androidmanagement:v1/StatusReportingSettings/deviceSettingsEnabled": device_settings_enabled "/androidmanagement:v1/StatusReportingSettings/displayInfoEnabled": display_info_enabled "/androidmanagement:v1/StatusReportingSettings/hardwareStatusEnabled": hardware_status_enabled diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 5ffefccb56a..aad3aa43882 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -26,7 +26,7 @@ module Apis # @see https://developers.google.com/android/management module AndroidmanagementV1 VERSION = 'V1' - REVISION = '20201012' + REVISION = '20201112' # Manage Android devices and apps for your customers AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index cfe914f6771..44ef1d630cb 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -28,6 +28,18 @@ module AndroidmanagementV1 class AdvancedSecurityOverrides include Google::Apis::Core::Hashable + # Controls Common Criteria Mode—security standards defined in the Common + # Criteria for Information Technology Security Evaluation (https://www. + # commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases + # certain security components on a device, including AES-GCM encryption of + # Bluetooth Long Term Keys, and Wi-Fi configuration stores.Warning: Common + # Criteria Mode enforces a strict security model typically only required for IT + # products used in national security systems and other highly sensitive + # organizations. Standard device use may be affected. Only enabled if required. + # Corresponds to the JSON property `commonCriteriaMode` + # @return [String] + attr_accessor :common_criteria_mode + # The policy for untrusted apps (apps from unknown sources) enforced on the # device. Replaces install_unknown_sources_allowed (deprecated). # Corresponds to the JSON property `untrustedAppsPolicy` @@ -40,6 +52,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @common_criteria_mode = args[:common_criteria_mode] if args.key?(:common_criteria_mode) @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy) end end @@ -565,6 +578,29 @@ def update!(**args) end end + # Information about Common Criteria Mode—security standards defined in the + # Common Criteria for Information Technology Security Evaluation (https://www. + # commoncriteriaportal.org/) (CC).This information is only available if + # statusReportingSettings.commonCriteriaModeEnabled is true in the device's + # policy. + class CommonCriteriaModeInfo + include Google::Apis::Core::Hashable + + # Whether Common Criteria Mode is enabled. + # Corresponds to the JSON property `commonCriteriaModeStatus` + # @return [String] + attr_accessor :common_criteria_mode_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @common_criteria_mode_status = args[:common_criteria_mode_status] if args.key?(:common_criteria_mode_status) + end + end + # A rule declaring which mitigating actions to take when a device is not # compliant with its policy. For every rule, there is always an implicit # mitigating action to set policy_compliant to false for the Device resource, @@ -690,6 +726,15 @@ class Device # @return [String] attr_accessor :applied_state + # Information about Common Criteria Mode—security standards defined in the + # Common Criteria for Information Technology Security Evaluation (https://www. + # commoncriteriaportal.org/) (CC).This information is only available if + # statusReportingSettings.commonCriteriaModeEnabled is true in the device's + # policy. + # Corresponds to the JSON property `commonCriteriaModeInfo` + # @return [Google::Apis::AndroidmanagementV1::CommonCriteriaModeInfo] + attr_accessor :common_criteria_mode_info + # Information about security related device settings on device. # Corresponds to the JSON property `deviceSettings` # @return [Google::Apis::AndroidmanagementV1::DeviceSettings] @@ -870,6 +915,7 @@ def update!(**args) @applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name) @applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version) @applied_state = args[:applied_state] if args.key?(:applied_state) + @common_criteria_mode_info = args[:common_criteria_mode_info] if args.key?(:common_criteria_mode_info) @device_settings = args[:device_settings] if args.key?(:device_settings) @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason) @displays = args[:displays] if args.key?(:displays) @@ -2281,7 +2327,7 @@ class PersonalUsagePolicies # @return [Array] attr_accessor :personal_applications - # Used together with personal_applications to control how apps in the personal + # Used together with personalApplications to control how apps in the personal # profile are allowed or blocked. # Corresponds to the JSON property `personalPlayStoreMode` # @return [String] @@ -3316,6 +3362,12 @@ class StatusReportingSettings attr_accessor :application_reports_enabled alias_method :application_reports_enabled?, :application_reports_enabled + # Whether Common Criteria Mode reporting is enabled. + # Corresponds to the JSON property `commonCriteriaModeEnabled` + # @return [Boolean] + attr_accessor :common_criteria_mode_enabled + alias_method :common_criteria_mode_enabled?, :common_criteria_mode_enabled + # Whether device settings reporting is enabled. # Corresponds to the JSON property `deviceSettingsEnabled` # @return [Boolean] @@ -3375,6 +3427,7 @@ def initialize(**args) def update!(**args) @application_reporting_settings = args[:application_reporting_settings] if args.key?(:application_reporting_settings) @application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled) + @common_criteria_mode_enabled = args[:common_criteria_mode_enabled] if args.key?(:common_criteria_mode_enabled) @device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled) @display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled) @hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled) diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb index e40d5f37e97..fe6e9cec667 100644 --- a/generated/google/apis/androidmanagement_v1/representations.rb +++ b/generated/google/apis/androidmanagement_v1/representations.rb @@ -100,6 +100,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CommonCriteriaModeInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ComplianceRule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -433,6 +439,7 @@ class Representation < Google::Apis::Core::JsonRepresentation; end class AdvancedSecurityOverrides # @private class Representation < Google::Apis::Core::JsonRepresentation + property :common_criteria_mode, as: 'commonCriteriaMode' property :untrusted_apps_policy, as: 'untrustedAppsPolicy' end end @@ -567,6 +574,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class CommonCriteriaModeInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :common_criteria_mode_status, as: 'commonCriteriaModeStatus' + end + end + class ComplianceRule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -597,6 +611,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :applied_policy_name, as: 'appliedPolicyName' property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion' property :applied_state, as: 'appliedState' + property :common_criteria_mode_info, as: 'commonCriteriaModeInfo', class: Google::Apis::AndroidmanagementV1::CommonCriteriaModeInfo, decorator: Google::Apis::AndroidmanagementV1::CommonCriteriaModeInfo::Representation + property :device_settings, as: 'deviceSettings', class: Google::Apis::AndroidmanagementV1::DeviceSettings, decorator: Google::Apis::AndroidmanagementV1::DeviceSettings::Representation property :disabled_reason, as: 'disabledReason', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation @@ -1199,6 +1215,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :application_reporting_settings, as: 'applicationReportingSettings', class: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings, decorator: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings::Representation property :application_reports_enabled, as: 'applicationReportsEnabled' + property :common_criteria_mode_enabled, as: 'commonCriteriaModeEnabled' property :device_settings_enabled, as: 'deviceSettingsEnabled' property :display_info_enabled, as: 'displayInfoEnabled' property :hardware_status_enabled, as: 'hardwareStatusEnabled' diff --git a/generated/google/apis/androidmanagement_v1/synth.metadata b/generated/google/apis/androidmanagement_v1/synth.metadata index 8ba18e27d63..50d204fdbe2 100644 --- a/generated/google/apis/androidmanagement_v1/synth.metadata +++ b/generated/google/apis/androidmanagement_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "cb0c5bf94e2b1c915107eec83041d4409c900155" + "sha": "b264d974a86e5acbc70cd73915eaf73daac61a63" } } ]