Package-level declarations

Types

Link copied to clipboard
data class BasicLevelArgs(val combiningFunction: Output<BasicLevelCombiningFunction>? = null, val conditions: Output<List<ConditionArgs>>) : ConvertibleToJava<BasicLevelArgs>

BasicLevel is an AccessLevel using a set of recommended features.

Link copied to clipboard
Link copied to clipboard
data class ConditionArgs(val devicePolicy: Output<DevicePolicyArgs>? = null, val ipSubnetworks: Output<List<String>>? = null, val members: Output<List<String>>? = null, val negate: Output<Boolean>? = null, val regions: Output<List<String>>? = null, val requiredAccessLevels: Output<List<String>>? = null) : ConvertibleToJava<ConditionArgs>

A condition necessary for an AccessLevel to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.

Link copied to clipboard
Link copied to clipboard
data class CustomLevelArgs(val expr: Output<ExprArgs>) : ConvertibleToJava<CustomLevelArgs>

CustomLevel is an AccessLevel using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec

Link copied to clipboard
Link copied to clipboard
data class DevicePolicyArgs(val allowedDeviceManagementLevels: Output<List<DevicePolicyAllowedDeviceManagementLevelsItem>>? = null, val allowedEncryptionStatuses: Output<List<DevicePolicyAllowedEncryptionStatusesItem>>? = null, val osConstraints: Output<List<OsConstraintArgs>>? = null, val requireAdminApproval: Output<Boolean>? = null, val requireCorpOwned: Output<Boolean>? = null, val requireScreenlock: Output<Boolean>? = null) : ConvertibleToJava<DevicePolicyArgs>

DevicePolicy specifies device specific restrictions necessary to acquire a given access level. A DevicePolicy specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. DevicePolicy acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.

Link copied to clipboard
Link copied to clipboard
data class ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ExprArgs>

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard

Builder for ExprArgs.

Link copied to clipboard
data class GetAccessLevelPlainArgs(val accessLevelFormat: String? = null, val accessLevelId: String, val accessPolicyId: String) : ConvertibleToJava<GetAccessLevelPlainArgs>
Link copied to clipboard
data class GetAccessPolicyPlainArgs(val accessPolicyId: String) : ConvertibleToJava<GetAccessPolicyPlainArgs>
Link copied to clipboard
data class GetServicePerimeterPlainArgs(val accessPolicyId: String, val servicePerimeterId: String) : ConvertibleToJava<GetServicePerimeterPlainArgs>
Link copied to clipboard
data class OsConstraintArgs(val minimumVersion: Output<String>? = null, val osType: Output<OsConstraintOsType>, val requireVerifiedChromeOs: Output<Boolean>? = null) : ConvertibleToJava<OsConstraintArgs>

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

Link copied to clipboard