Access Context Manager V1 API - Class Google::Identity::AccessContextManager::V1::OsConstraint (v0.13.1)

Reference documentation and code samples for the Access Context Manager 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

defminimum_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=

defminimum_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

defos_type()->::Google::Identity::AccessContextManager::Type::OsType
Returns

#os_type=

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

#require_verified_chrome_os

defrequire_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=

defrequire_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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.