Class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1OsConstraint
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1OsConstraint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1beta1/classes.rb,
lib/google/apis/cloudasset_v1beta1/representations.rb,
lib/google/apis/cloudasset_v1beta1/representations.rb
Overview
A restriction on the OS type and version of devices making requests.
Instance Attribute Summary collapse
-
#minimum_version ⇒ String
The minimum allowed OS version.
-
#os_type ⇒ String
Required.
-
#require_verified_chrome_os ⇒ Boolean
(also: #require_verified_chrome_os?)
Only allows requests from devices with a verified Chrome OS.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1OsConstraint
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1OsConstraint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1OsConstraint
Returns a new instance of GoogleIdentityAccesscontextmanagerV1OsConstraint.
1818 1819 1820 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#minimum_version ⇒ String
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
1802 1803 1804 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1802 def minimum_version @minimum_version end |
#os_type ⇒ String
Required. The allowed OS type.
Corresponds to the JSON property osType
1807 1808 1809 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1807 def os_type @os_type end |
#require_verified_chrome_os ⇒ Boolean Also known as: require_verified_chrome_os?
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
1815 1816 1817 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1815 def require_verified_chrome_os @require_verified_chrome_os end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1823 1824 1825 1826 1827 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1823 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 |