class Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1OsConstraint
A restriction on the OS type and version of devices making requests.
Attributes
The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `“major.minor.patch”`. Examples: `“10.5.301”`, `“9.2.1” `. Corresponds to the JSON property `minimumVersion` @return [String]
Required. The allowed OS type. Corresponds to the JSON property `osType` @return [String]
Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. Corresponds to the JSON property `requireVerifiedChromeOs` @return [Boolean]
Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. Corresponds to the JSON property `requireVerifiedChromeOs` @return [Boolean]
Public Class Methods
# File lib/google/apis/cloudasset_v1/classes.rb, line 2520 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudasset_v1/classes.rb, line 2525 def update!(**args) @minimum_version = args[:minimum_version] if args.key?(:minimum_version) @os_type = args[:os_type] if args.key?(:os_type) @require_verified_chrome_os = args[:require_verified_chrome_os] if args.key?(:require_verified_chrome_os) end