Reference documentation and code samples for the Access Context Manager V1 Client class OsConstraint.
A restriction on the OS type and version of devices making requests.
Generated from protobuf message google.identity.accesscontextmanager.v1.OsConstraint
Namespace
Google \ Identity \ AccessContextManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ os_type
int
Required. The allowed OS type.
↳ 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"
.
↳ require_verified_chrome_os
bool
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.
getOsType
Required. The allowed OS type.
int
setOsType
Required. The allowed OS type.
var
int
$this
getMinimumVersion
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"
.
string
setMinimumVersion
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"
.
var
string
$this
getRequireVerifiedChromeOs
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.
bool
setRequireVerifiedChromeOs
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.
var
bool
$this