Cloud Asset V1 API - Class Google::Identity::AccessContextManager::V1::OsConstraint (v0.20.1)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Identity::AccessContextManager::V1::OsConstraint.

A restriction on the OS type and version of devices making requests.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#minimum_version

def minimum_version() -> ::String
Returns
  • (::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".

#minimum_version=

def minimum_version=(value) -> ::String
Parameter
  • value (::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".
Returns
  • (::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".

#os_type

def os_type() -> ::Google::Identity::AccessContextManager::Type::OsType
Returns

#os_type=

def os_type=(value) -> ::Google::Identity::AccessContextManager::Type::OsType
Parameter
Returns

#require_verified_chrome_os

def require_verified_chrome_os() -> ::Boolean
Returns
  • (::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.

#require_verified_chrome_os=

def require_verified_chrome_os=(value) -> ::Boolean
Parameter
  • value (::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.
Returns
  • (::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.