This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.
Create AccessLevel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessLevel(name: string, args: AccessLevelArgs, opts?: CustomResourceOptions);@overload
def AccessLevel(resource_name: str,
args: AccessLevelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessLevel(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_policy_id: Optional[str] = None,
basic: Optional[BasicLevelArgs] = None,
custom: Optional[CustomLevelArgs] = None,
description: Optional[str] = None,
name: Optional[str] = None,
title: Optional[str] = None)func NewAccessLevel(ctx *Context, name string, args AccessLevelArgs, opts ...ResourceOption) (*AccessLevel, error)public AccessLevel(string name, AccessLevelArgs args, CustomResourceOptions? opts = null)
public AccessLevel(String name, AccessLevelArgs args)
public AccessLevel(String name, AccessLevelArgs args, CustomResourceOptions options)
type: google-native:accesscontextmanager/v1beta:AccessLevel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_accesscontextmanager_v1beta_access_level" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AccessLevelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccessLevelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccessLevelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessLevelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessLevelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeAccessLevelResource = new GoogleNative.AccessContextManager.V1Beta.AccessLevel("google-nativeAccessLevelResource", new()
{
AccessPolicyId = "string",
Basic = new GoogleNative.AccessContextManager.V1Beta.Inputs.BasicLevelArgs
{
Conditions = new[]
{
new GoogleNative.AccessContextManager.V1Beta.Inputs.ConditionArgs
{
DevicePolicy = new GoogleNative.AccessContextManager.V1Beta.Inputs.DevicePolicyArgs
{
AllowedDeviceManagementLevels = new[]
{
GoogleNative.AccessContextManager.V1Beta.DevicePolicyAllowedDeviceManagementLevelsItem.ManagementUnspecified,
},
AllowedEncryptionStatuses = new[]
{
GoogleNative.AccessContextManager.V1Beta.DevicePolicyAllowedEncryptionStatusesItem.EncryptionUnspecified,
},
OsConstraints = new[]
{
new GoogleNative.AccessContextManager.V1Beta.Inputs.OsConstraintArgs
{
OsType = GoogleNative.AccessContextManager.V1Beta.OsConstraintOsType.OsUnspecified,
MinimumVersion = "string",
RequireVerifiedChromeOs = false,
},
},
RequireAdminApproval = false,
RequireCorpOwned = false,
RequireScreenlock = false,
},
IpSubnetworks = new[]
{
"string",
},
Members = new[]
{
"string",
},
Negate = false,
Regions = new[]
{
"string",
},
RequiredAccessLevels = new[]
{
"string",
},
},
},
CombiningFunction = GoogleNative.AccessContextManager.V1Beta.BasicLevelCombiningFunction.And,
},
Custom = new GoogleNative.AccessContextManager.V1Beta.Inputs.CustomLevelArgs
{
Expr = new GoogleNative.AccessContextManager.V1Beta.Inputs.ExprArgs
{
Description = "string",
Expression = "string",
Location = "string",
Title = "string",
},
},
Description = "string",
Name = "string",
Title = "string",
});
example, err := accesscontextmanagerv1beta.NewAccessLevel(ctx, "google-nativeAccessLevelResource", &accesscontextmanagerv1beta.AccessLevelArgs{
AccessPolicyId: pulumi.String("string"),
Basic: &accesscontextmanager.BasicLevelArgs{
Conditions: accesscontextmanager.ConditionArray{
&accesscontextmanager.ConditionArgs{
DevicePolicy: &accesscontextmanager.DevicePolicyArgs{
AllowedDeviceManagementLevels: accesscontextmanager.DevicePolicyAllowedDeviceManagementLevelsItemArray{
accesscontextmanagerv1beta.DevicePolicyAllowedDeviceManagementLevelsItemManagementUnspecified,
},
AllowedEncryptionStatuses: accesscontextmanager.DevicePolicyAllowedEncryptionStatusesItemArray{
accesscontextmanagerv1beta.DevicePolicyAllowedEncryptionStatusesItemEncryptionUnspecified,
},
OsConstraints: accesscontextmanager.OsConstraintArray{
&accesscontextmanager.OsConstraintArgs{
OsType: accesscontextmanagerv1beta.OsConstraintOsTypeOsUnspecified,
MinimumVersion: pulumi.String("string"),
RequireVerifiedChromeOs: pulumi.Bool(false),
},
},
RequireAdminApproval: pulumi.Bool(false),
RequireCorpOwned: pulumi.Bool(false),
RequireScreenlock: pulumi.Bool(false),
},
IpSubnetworks: pulumi.StringArray{
pulumi.String("string"),
},
Members: pulumi.StringArray{
pulumi.String("string"),
},
Negate: pulumi.Bool(false),
Regions: pulumi.StringArray{
pulumi.String("string"),
},
RequiredAccessLevels: pulumi.StringArray{
pulumi.String("string"),
},
},
},
CombiningFunction: accesscontextmanagerv1beta.BasicLevelCombiningFunctionAnd,
},
Custom: &accesscontextmanager.CustomLevelArgs{
Expr: &accesscontextmanager.ExprArgs{
Description: pulumi.String("string"),
Expression: pulumi.String("string"),
Location: pulumi.String("string"),
Title: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Title: pulumi.String("string"),
})
resource "google-native_accesscontextmanager_v1beta_access_level" "google-nativeAccessLevelResource" {
lifecycle {
create_before_destroy = true
}
access_policy_id = "string"
basic = {
conditions = [{
device_policy = {
allowed_device_management_levels = ["MANAGEMENT_UNSPECIFIED"]
allowed_encryption_statuses = ["ENCRYPTION_UNSPECIFIED"]
os_constraints = [{
os_type = "OS_UNSPECIFIED"
minimum_version = "string"
require_verified_chrome_os = false
}]
require_admin_approval = false
require_corp_owned = false
require_screenlock = false
}
ip_subnetworks = ["string"]
members = ["string"]
negate = false
regions = ["string"]
required_access_levels = ["string"]
}]
combining_function = "AND"
}
custom = {
expr = {
description = "string"
expression = "string"
location = "string"
title = "string"
}
}
description = "string"
name = "string"
title = "string"
}
var google_nativeAccessLevelResource = new com.pulumi.googlenative.accesscontextmanager_v1beta.AccessLevel("google-nativeAccessLevelResource", com.pulumi.googlenative.accesscontextmanager_v1beta.AccessLevelArgs.builder()
.accessPolicyId("string")
.basic(com.pulumi.googlenative.accesscontextmanager_v1beta.inputs.BasicLevelArgs.builder()
.conditions(com.pulumi.googlenative.accesscontextmanager_v1beta.inputs.ConditionArgs.builder()
.devicePolicy(com.pulumi.googlenative.accesscontextmanager_v1beta.inputs.DevicePolicyArgs.builder()
.allowedDeviceManagementLevels("MANAGEMENT_UNSPECIFIED")
.allowedEncryptionStatuses("ENCRYPTION_UNSPECIFIED")
.osConstraints(com.pulumi.googlenative.accesscontextmanager_v1beta.inputs.OsConstraintArgs.builder()
.osType(com.pulumi.googlenative.accesscontextmanager_v1beta.enums.OsConstraintOsType.OsUnspecified)
.minimumVersion("string")
.requireVerifiedChromeOs(false)
.build())
.requireAdminApproval(false)
.requireCorpOwned(false)
.requireScreenlock(false)
.build())
.ipSubnetworks("string")
.members("string")
.negate(false)
.regions("string")
.requiredAccessLevels("string")
.build())
.combiningFunction(com.pulumi.googlenative.accesscontextmanager_v1beta.enums.BasicLevelCombiningFunction.And)
.build())
.custom(com.pulumi.googlenative.accesscontextmanager_v1beta.inputs.CustomLevelArgs.builder()
.expr(com.pulumi.googlenative.accesscontextmanager_v1beta.inputs.ExprArgs.builder()
.description("string")
.expression("string")
.location("string")
.title("string")
.build())
.build())
.description("string")
.name("string")
.title("string")
.build());
google_native_access_level_resource = google_native.accesscontextmanager.v1beta.AccessLevel("google-nativeAccessLevelResource",
access_policy_id="string",
basic={
"conditions": [{
"device_policy": {
"allowed_device_management_levels": [google_native.accesscontextmanager.v1beta.DevicePolicyAllowedDeviceManagementLevelsItem.MANAGEMENT_UNSPECIFIED],
"allowed_encryption_statuses": [google_native.accesscontextmanager.v1beta.DevicePolicyAllowedEncryptionStatusesItem.ENCRYPTION_UNSPECIFIED],
"os_constraints": [{
"os_type": google_native.accesscontextmanager.v1beta.OsConstraintOsType.OS_UNSPECIFIED,
"minimum_version": "string",
"require_verified_chrome_os": False,
}],
"require_admin_approval": False,
"require_corp_owned": False,
"require_screenlock": False,
},
"ip_subnetworks": ["string"],
"members": ["string"],
"negate": False,
"regions": ["string"],
"required_access_levels": ["string"],
}],
"combining_function": google_native.accesscontextmanager.v1beta.BasicLevelCombiningFunction.AND_,
},
custom={
"expr": {
"description": "string",
"expression": "string",
"location": "string",
"title": "string",
},
},
description="string",
name="string",
title="string")
const google_nativeAccessLevelResource = new google_native.accesscontextmanager.v1beta.AccessLevel("google-nativeAccessLevelResource", {
accessPolicyId: "string",
basic: {
conditions: [{
devicePolicy: {
allowedDeviceManagementLevels: [google_native.accesscontextmanager.v1beta.DevicePolicyAllowedDeviceManagementLevelsItem.ManagementUnspecified],
allowedEncryptionStatuses: [google_native.accesscontextmanager.v1beta.DevicePolicyAllowedEncryptionStatusesItem.EncryptionUnspecified],
osConstraints: [{
osType: google_native.accesscontextmanager.v1beta.OsConstraintOsType.OsUnspecified,
minimumVersion: "string",
requireVerifiedChromeOs: false,
}],
requireAdminApproval: false,
requireCorpOwned: false,
requireScreenlock: false,
},
ipSubnetworks: ["string"],
members: ["string"],
negate: false,
regions: ["string"],
requiredAccessLevels: ["string"],
}],
combiningFunction: google_native.accesscontextmanager.v1beta.BasicLevelCombiningFunction.And,
},
custom: {
expr: {
description: "string",
expression: "string",
location: "string",
title: "string",
},
},
description: "string",
name: "string",
title: "string",
});
type: google-native:accesscontextmanager/v1beta:AccessLevel
properties:
accessPolicyId: string
basic:
combiningFunction: AND
conditions:
- devicePolicy:
allowedDeviceManagementLevels:
- MANAGEMENT_UNSPECIFIED
allowedEncryptionStatuses:
- ENCRYPTION_UNSPECIFIED
osConstraints:
- minimumVersion: string
osType: OS_UNSPECIFIED
requireVerifiedChromeOs: false
requireAdminApproval: false
requireCorpOwned: false
requireScreenlock: false
ipSubnetworks:
- string
members:
- string
negate: false
regions:
- string
requiredAccessLevels:
- string
custom:
expr:
description: string
expression: string
location: string
title: string
description: string
name: string
title: string
AccessLevel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccessLevel resource accepts the following input properties:
- Access
Policy stringId - Basic
Pulumi.
Google Native. Access Context Manager. V1Beta. Inputs. Basic Level - A
BasicLevelcomposed ofConditions. - Custom
Pulumi.
Google Native. Access Context Manager. V1Beta. Inputs. Custom Level - A
CustomLevelwritten in the Common Expression Language. - Description string
- Description of the
AccessLeveland its use. Does not affect behavior. - Name string
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - Title string
- Human readable title. Must be unique within the Policy.
- Access
Policy stringId - Basic
Basic
Level Args - A
BasicLevelcomposed ofConditions. - Custom
Custom
Level Args - A
CustomLevelwritten in the Common Expression Language. - Description string
- Description of the
AccessLeveland its use. Does not affect behavior. - Name string
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - Title string
- Human readable title. Must be unique within the Policy.
- access_
policy_ stringid - basic object
- A
BasicLevelcomposed ofConditions. - custom object
- A
CustomLevelwritten in the Common Expression Language. - description string
- Description of the
AccessLeveland its use. Does not affect behavior. - name string
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - title string
- Human readable title. Must be unique within the Policy.
- access
Policy StringId - basic
Basic
Level - A
BasicLevelcomposed ofConditions. - custom
Custom
Level - A
CustomLevelwritten in the Common Expression Language. - description String
- Description of the
AccessLeveland its use. Does not affect behavior. - name String
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - title String
- Human readable title. Must be unique within the Policy.
- access
Policy stringId - basic
Basic
Level - A
BasicLevelcomposed ofConditions. - custom
Custom
Level - A
CustomLevelwritten in the Common Expression Language. - description string
- Description of the
AccessLeveland its use. Does not affect behavior. - name string
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - title string
- Human readable title. Must be unique within the Policy.
- access_
policy_ strid - basic
Basic
Level Args - A
BasicLevelcomposed ofConditions. - custom
Custom
Level Args - A
CustomLevelwritten in the Common Expression Language. - description str
- Description of the
AccessLeveland its use. Does not affect behavior. - name str
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - title str
- Human readable title. Must be unique within the Policy.
- access
Policy StringId - basic Property Map
- A
BasicLevelcomposed ofConditions. - custom Property Map
- A
CustomLevelwritten in the Common Expression Language. - description String
- Description of the
AccessLeveland its use. Does not affect behavior. - name String
- Resource name for the
AccessLevel. Format:accessPolicies/{access_policy}/accessLevels/{access_level}. Theaccess_levelcomponent must begin with a letter, followed by alphanumeric characters or_. Its maximum length is 50 characters. After you create anAccessLevel, you cannot change itsname. - title String
- Human readable title. Must be unique within the Policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessLevel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AccessLevel Resource
Get an existing AccessLevel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): AccessLevel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> AccessLevelfunc GetAccessLevel(ctx *Context, name string, id IDInput, state *AccessLevelState, opts ...ResourceOption) (*AccessLevel, error)public static AccessLevel Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static AccessLevel get(String name, Output<String> id, CustomResourceOptions options)resources: existingAccessLevel: type: google-native:accesscontextmanager/v1beta:AccessLevel get: id: ${id}import {
to = google-native_accesscontextmanager_v1beta_access_level.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state AccessLevelState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
BasicLevel, BasicLevelArgs
BasicLevel is an AccessLevel using a set of recommended features.
- Conditions
List<Pulumi.
Google Native. Access Context Manager. V1Beta. Inputs. Condition> - A list of requirements for the
AccessLevelto be granted. - Combining
Function Pulumi.Google Native. Access Context Manager. V1Beta. Basic Level Combining Function - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
- Conditions []Condition
- A list of requirements for the
AccessLevelto be granted. - Combining
Function BasicLevel Combining Function - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
- conditions list(object)
- A list of requirements for the
AccessLevelto be granted. - combining_
function "AND" | "OR" - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
- conditions List<Condition>
- A list of requirements for the
AccessLevelto be granted. - combining
Function BasicLevel Combining Function - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
- conditions Condition[]
- A list of requirements for the
AccessLevelto be granted. - combining
Function BasicLevel Combining Function - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
- conditions Sequence[Condition]
- A list of requirements for the
AccessLevelto be granted. - combining_
function BasicLevel Combining Function - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
- conditions List<Property Map>
- A list of requirements for the
AccessLevelto be granted. - combining
Function "AND" | "OR" - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND.
BasicLevelCombiningFunction
How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.
| Name | Value | Description |
|---|---|---|
| And | AND | All Conditions must be true for the BasicLevel to be true. |
| Or | OR | If at least one Condition is true, then the BasicLevel is true. |
| Name | Value | Description |
|---|---|---|
| Basic | AND | All Conditions must be true for the BasicLevel to be true. |
| Basic | OR | If at least one Condition is true, then the BasicLevel is true. |
| Value | Description |
|---|---|
AND | All Conditions must be true for the BasicLevel to be true. |
OR | If at least one Condition is true, then the BasicLevel is true. |
| Name | Value | Description |
|---|---|---|
| And | AND | All Conditions must be true for the BasicLevel to be true. |
| Or | OR | If at least one Condition is true, then the BasicLevel is true. |
| Name | Value | Description |
|---|---|---|
| And | AND | All Conditions must be true for the BasicLevel to be true. |
| Or | OR | If at least one Condition is true, then the BasicLevel is true. |
| Name | Value | Description |
|---|---|---|
| AND_ | AND | All Conditions must be true for the BasicLevel to be true. |
| OR_ | OR | If at least one Condition is true, then the BasicLevel is true. |
| Value | Description |
|---|---|
AND | All Conditions must be true for the BasicLevel to be true. |
OR | If at least one Condition is true, then the BasicLevel is true. |
BasicLevelResponse
BasicLevel is an AccessLevel using a set of recommended features.
- Combining
Function string - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - Conditions
List<Pulumi.
Google Native. Access Context Manager. V1Beta. Inputs. Condition Response> - A list of requirements for the
AccessLevelto be granted.
- Combining
Function string - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - Conditions
[]Condition
Response - A list of requirements for the
AccessLevelto be granted.
- combining_
function string - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - conditions list(object)
- A list of requirements for the
AccessLevelto be granted.
- combining
Function String - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - conditions
List<Condition
Response> - A list of requirements for the
AccessLevelto be granted.
- combining
Function string - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - conditions
Condition
Response[] - A list of requirements for the
AccessLevelto be granted.
- combining_
function str - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - conditions
Sequence[Condition
Response] - A list of requirements for the
AccessLevelto be granted.
- combining
Function String - How the
conditionslist should be combined to determine if a request is granted thisAccessLevel. If AND is used, eachConditioninconditionsmust be satisfied for theAccessLevelto be applied. If OR is used, at least oneConditioninconditionsmust be satisfied for theAccessLevelto be applied. Default behavior is AND. - conditions List<Property Map>
- A list of requirements for the
AccessLevelto be granted.
Condition, 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.
- Device
Policy Pulumi.Google Native. Access Context Manager. V1Beta. Inputs. Device Policy - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- Ip
Subnetworks List<string> - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- Members List<string>
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - Negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- Regions List<string>
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- Required
Access List<string>Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- Device
Policy DevicePolicy - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- Ip
Subnetworks []string - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- Members []string
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - Negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- Regions []string
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- Required
Access []stringLevels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device_
policy object - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip_
subnetworks list(string) - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members list(string)
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions list(string)
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required_
access_ list(string)levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device
Policy DevicePolicy - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip
Subnetworks List<String> - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members List<String>
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate Boolean
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions List<String>
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required
Access List<String>Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device
Policy DevicePolicy - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip
Subnetworks string[] - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members string[]
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate boolean
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions string[]
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required
Access string[]Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device_
policy DevicePolicy - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip_
subnetworks Sequence[str] - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members Sequence[str]
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions Sequence[str]
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required_
access_ Sequence[str]levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device
Policy Property Map - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip
Subnetworks List<String> - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members List<String>
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate Boolean
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions List<String>
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required
Access List<String>Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
ConditionResponse
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.
- Device
Policy Pulumi.Google Native. Access Context Manager. V1Beta. Inputs. Device Policy Response - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- Ip
Subnetworks List<string> - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- Members List<string>
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - Negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- Regions List<string>
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- Required
Access List<string>Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- Device
Policy DevicePolicy Response - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- Ip
Subnetworks []string - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- Members []string
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - Negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- Regions []string
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- Required
Access []stringLevels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device_
policy object - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip_
subnetworks list(string) - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members list(string)
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions list(string)
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required_
access_ list(string)levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device
Policy DevicePolicy Response - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip
Subnetworks List<String> - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members List<String>
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate Boolean
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions List<String>
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required
Access List<String>Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device
Policy DevicePolicy Response - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip
Subnetworks string[] - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members string[]
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate boolean
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions string[]
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required
Access string[]Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device_
policy DevicePolicy Response - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip_
subnetworks Sequence[str] - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members Sequence[str]
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate bool
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions Sequence[str]
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required_
access_ Sequence[str]levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
- device
Policy Property Map - Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed.
- ip
Subnetworks List<String> - CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
- members List<String>
- The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax:
user:{emailid}serviceAccount:{emailid}If not specified, a request may come from any user. - negate Boolean
- Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.
- regions List<String>
- The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.
- required
Access List<String>Levels - A list of other access levels defined in the same
Policy, referenced by resource name. Referencing anAccessLevelwhich does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"
CustomLevel, 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
- Expr
Pulumi.
Google Native. Access Context Manager. V1Beta. Inputs. Expr - A Cloud CEL expression evaluating to a boolean.
- expr Property Map
- A Cloud CEL expression evaluating to a boolean.
CustomLevelResponse
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
- Expr
Pulumi.
Google Native. Access Context Manager. V1Beta. Inputs. Expr Response - A Cloud CEL expression evaluating to a boolean.
- Expr
Expr
Response - A Cloud CEL expression evaluating to a boolean.
- expr
Expr
Response - A Cloud CEL expression evaluating to a boolean.
- expr
Expr
Response - A Cloud CEL expression evaluating to a boolean.
- expr
Expr
Response - A Cloud CEL expression evaluating to a boolean.
- expr Property Map
- A Cloud CEL expression evaluating to a boolean.
DevicePolicy, 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.
- Allowed
Device List<Pulumi.Management Levels Google Native. Access Context Manager. V1Beta. Device Policy Allowed Device Management Levels Item> - Allowed device management levels, an empty list allows all management levels.
- Allowed
Encryption List<Pulumi.Statuses Google Native. Access Context Manager. V1Beta. Device Policy Allowed Encryption Statuses Item> - Allowed encryptions statuses, an empty list allows all statuses.
- Os
Constraints List<Pulumi.Google Native. Access Context Manager. V1Beta. Inputs. Os Constraint> - Allowed OS versions, an empty list allows all types and all versions.
- Require
Admin boolApproval - Whether the device needs to be approved by the customer admin.
- Require
Corp boolOwned - Whether the device needs to be corp owned.
- Require
Screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- Allowed
Device []DeviceManagement Levels Policy Allowed Device Management Levels Item - Allowed device management levels, an empty list allows all management levels.
- Allowed
Encryption []DeviceStatuses Policy Allowed Encryption Statuses Item - Allowed encryptions statuses, an empty list allows all statuses.
- Os
Constraints []OsConstraint - Allowed OS versions, an empty list allows all types and all versions.
- Require
Admin boolApproval - Whether the device needs to be approved by the customer admin.
- Require
Corp boolOwned - Whether the device needs to be corp owned.
- Require
Screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed_
device_ list("MANAGEMENT_UNSPECIFIED" | "NONE" | "BASIC" | "COMPLETE")management_ levels - Allowed device management levels, an empty list allows all management levels.
- allowed_
encryption_ list("ENCRYPTION_UNSPECIFIED" | "ENCRYPTION_UNSUPPORTED" | "UNENCRYPTED" | "ENCRYPTED")statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os_
constraints list(object) - Allowed OS versions, an empty list allows all types and all versions.
- require_
admin_ boolapproval - Whether the device needs to be approved by the customer admin.
- require_
corp_ boolowned - Whether the device needs to be corp owned.
- require_
screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed
Device List<DeviceManagement Levels Policy Allowed Device Management Levels Item> - Allowed device management levels, an empty list allows all management levels.
- allowed
Encryption List<DeviceStatuses Policy Allowed Encryption Statuses Item> - Allowed encryptions statuses, an empty list allows all statuses.
- os
Constraints List<OsConstraint> - Allowed OS versions, an empty list allows all types and all versions.
- require
Admin BooleanApproval - Whether the device needs to be approved by the customer admin.
- require
Corp BooleanOwned - Whether the device needs to be corp owned.
- require
Screenlock Boolean - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed
Device DeviceManagement Levels Policy Allowed Device Management Levels Item[] - Allowed device management levels, an empty list allows all management levels.
- allowed
Encryption DeviceStatuses Policy Allowed Encryption Statuses Item[] - Allowed encryptions statuses, an empty list allows all statuses.
- os
Constraints OsConstraint[] - Allowed OS versions, an empty list allows all types and all versions.
- require
Admin booleanApproval - Whether the device needs to be approved by the customer admin.
- require
Corp booleanOwned - Whether the device needs to be corp owned.
- require
Screenlock boolean - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed_
device_ Sequence[Devicemanagement_ levels Policy Allowed Device Management Levels Item] - Allowed device management levels, an empty list allows all management levels.
- allowed_
encryption_ Sequence[Devicestatuses Policy Allowed Encryption Statuses Item] - Allowed encryptions statuses, an empty list allows all statuses.
- os_
constraints Sequence[OsConstraint] - Allowed OS versions, an empty list allows all types and all versions.
- require_
admin_ boolapproval - Whether the device needs to be approved by the customer admin.
- require_
corp_ boolowned - Whether the device needs to be corp owned.
- require_
screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed
Device List<"MANAGEMENT_UNSPECIFIED" | "NONE" | "BASIC" | "COMPLETE">Management Levels - Allowed device management levels, an empty list allows all management levels.
- allowed
Encryption List<"ENCRYPTION_UNSPECIFIED" | "ENCRYPTION_UNSUPPORTED" | "UNENCRYPTED" | "ENCRYPTED">Statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os
Constraints List<Property Map> - Allowed OS versions, an empty list allows all types and all versions.
- require
Admin BooleanApproval - Whether the device needs to be approved by the customer admin.
- require
Corp BooleanOwned - Whether the device needs to be corp owned.
- require
Screenlock Boolean - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
DevicePolicyAllowedDeviceManagementLevelsItem
| Name | Value | Description |
|---|---|---|
| Management | MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
| None | NONE | The device is not managed. |
| Basic | BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
| Complete | COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
| Name | Value | Description |
|---|---|---|
| Device | MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
| Device | NONE | The device is not managed. |
| Device | BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
| Device | COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
| Value | Description |
|---|---|
MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
NONE | The device is not managed. |
BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
| Name | Value | Description |
|---|---|---|
| Management | MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
| None | NONE | The device is not managed. |
| Basic | BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
| Complete | COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
| Name | Value | Description |
|---|---|---|
| Management | MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
| None | NONE | The device is not managed. |
| Basic | BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
| Complete | COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
| Name | Value | Description |
|---|---|---|
| MANAGEMENT_UNSPECIFIED | MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
| NONE | NONE | The device is not managed. |
| BASIC | BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
| COMPLETE | COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
| Value | Description |
|---|---|
MANAGEMENT_UNSPECIFIED | The device's management level is not specified or not known. |
NONE | The device is not managed. |
BASIC | Basic management is enabled, which is generally limited to monitoring and wiping the corporate account. |
COMPLETE | Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform. |
DevicePolicyAllowedEncryptionStatusesItem
| Name | Value | Description |
|---|---|---|
| Encryption | ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
| Encryption | ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
| Unencrypted | UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
| Encrypted | ENCRYPTED | The device is encrypted. |
| Name | Value | Description |
|---|---|---|
| Device | ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
| Device | ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
| Device | UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
| Device | ENCRYPTED | The device is encrypted. |
| Value | Description |
|---|---|
ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
ENCRYPTED | The device is encrypted. |
| Name | Value | Description |
|---|---|---|
| Encryption | ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
| Encryption | ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
| Unencrypted | UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
| Encrypted | ENCRYPTED | The device is encrypted. |
| Name | Value | Description |
|---|---|---|
| Encryption | ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
| Encryption | ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
| Unencrypted | UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
| Encrypted | ENCRYPTED | The device is encrypted. |
| Name | Value | Description |
|---|---|---|
| ENCRYPTION_UNSPECIFIED | ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
| ENCRYPTION_UNSUPPORTED | ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
| UNENCRYPTED | UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
| ENCRYPTED | ENCRYPTED | The device is encrypted. |
| Value | Description |
|---|---|
ENCRYPTION_UNSPECIFIED | The encryption status of the device is not specified or not known. |
ENCRYPTION_UNSUPPORTED | The device does not support encryption. |
UNENCRYPTED | The device supports encryption, but is currently unencrypted. |
ENCRYPTED | The device is encrypted. |
DevicePolicyResponse
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.
- Allowed
Device List<string>Management Levels - Allowed device management levels, an empty list allows all management levels.
- Allowed
Encryption List<string>Statuses - Allowed encryptions statuses, an empty list allows all statuses.
- Os
Constraints List<Pulumi.Google Native. Access Context Manager. V1Beta. Inputs. Os Constraint Response> - Allowed OS versions, an empty list allows all types and all versions.
- Require
Admin boolApproval - Whether the device needs to be approved by the customer admin.
- Require
Corp boolOwned - Whether the device needs to be corp owned.
- Require
Screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- Allowed
Device []stringManagement Levels - Allowed device management levels, an empty list allows all management levels.
- Allowed
Encryption []stringStatuses - Allowed encryptions statuses, an empty list allows all statuses.
- Os
Constraints []OsConstraint Response - Allowed OS versions, an empty list allows all types and all versions.
- Require
Admin boolApproval - Whether the device needs to be approved by the customer admin.
- Require
Corp boolOwned - Whether the device needs to be corp owned.
- Require
Screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed_
device_ list(string)management_ levels - Allowed device management levels, an empty list allows all management levels.
- allowed_
encryption_ list(string)statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os_
constraints list(object) - Allowed OS versions, an empty list allows all types and all versions.
- require_
admin_ boolapproval - Whether the device needs to be approved by the customer admin.
- require_
corp_ boolowned - Whether the device needs to be corp owned.
- require_
screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed
Device List<String>Management Levels - Allowed device management levels, an empty list allows all management levels.
- allowed
Encryption List<String>Statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os
Constraints List<OsConstraint Response> - Allowed OS versions, an empty list allows all types and all versions.
- require
Admin BooleanApproval - Whether the device needs to be approved by the customer admin.
- require
Corp BooleanOwned - Whether the device needs to be corp owned.
- require
Screenlock Boolean - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed
Device string[]Management Levels - Allowed device management levels, an empty list allows all management levels.
- allowed
Encryption string[]Statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os
Constraints OsConstraint Response[] - Allowed OS versions, an empty list allows all types and all versions.
- require
Admin booleanApproval - Whether the device needs to be approved by the customer admin.
- require
Corp booleanOwned - Whether the device needs to be corp owned.
- require
Screenlock boolean - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed_
device_ Sequence[str]management_ levels - Allowed device management levels, an empty list allows all management levels.
- allowed_
encryption_ Sequence[str]statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os_
constraints Sequence[OsConstraint Response] - Allowed OS versions, an empty list allows all types and all versions.
- require_
admin_ boolapproval - Whether the device needs to be approved by the customer admin.
- require_
corp_ boolowned - Whether the device needs to be corp owned.
- require_
screenlock bool - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
- allowed
Device List<String>Management Levels - Allowed device management levels, an empty list allows all management levels.
- allowed
Encryption List<String>Statuses - Allowed encryptions statuses, an empty list allows all statuses.
- os
Constraints List<Property Map> - Allowed OS versions, an empty list allows all types and all versions.
- require
Admin BooleanApproval - Whether the device needs to be approved by the customer admin.
- require
Corp BooleanOwned - Whether the device needs to be corp owned.
- require
Screenlock Boolean - Whether or not screenlock is required for the DevicePolicy to be true. Defaults to
false.
Expr, 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.
- Description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- Description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression string
- Textual representation of an expression in Common Expression Language syntax.
- location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description String
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression string
- Textual representation of an expression in Common Expression Language syntax.
- location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description str
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression str
- Textual representation of an expression in Common Expression Language syntax.
- location str
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title str
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description String
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
ExprResponse
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.
- Description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- Description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression string
- Textual representation of an expression in Common Expression Language syntax.
- location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description String
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression string
- Textual representation of an expression in Common Expression Language syntax.
- location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description str
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression str
- Textual representation of an expression in Common Expression Language syntax.
- location str
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title str
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description String
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
OsConstraint, OsConstraintArgs
A restriction on the OS type and version of devices making requests.
- Os
Type Pulumi.Google Native. Access Context Manager. V1Beta. Os Constraint Os Type - 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 boolChrome 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.
- Os
Type OsConstraint Os Type - 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 boolChrome 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.
- os_
type "OS_UNSPECIFIED" | "DESKTOP_MAC" | "DESKTOP_WINDOWS" | "DESKTOP_LINUX" | "DESKTOP_CHROME_OS" | "ANDROID" | "IOS" - 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_ boolchrome_ 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.
- os
Type OsConstraint Os Type - 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 BooleanChrome 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.
- os
Type OsConstraint Os Type - 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 booleanChrome 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.
- os_
type OsConstraint Os Type - The allowed OS type.
- minimum_
version str - 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_ boolchrome_ 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.
- os
Type "OS_UNSPECIFIED" | "DESKTOP_MAC" | "DESKTOP_WINDOWS" | "DESKTOP_LINUX" | "DESKTOP_CHROME_OS" | "ANDROID" | "IOS" - 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 BooleanChrome 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.
OsConstraintOsType
Required. The allowed OS type.
| Name | Value | Description |
|---|---|---|
| Os | OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
| Desktop | DESKTOP_MAC | A desktop Mac operating system. |
| Desktop | DESKTOP_WINDOWS | A desktop Windows operating system. |
| Desktop | DESKTOP_LINUX | A desktop Linux operating system. |
| Desktop | DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
| Android | ANDROID | An Android operating system. |
| Ios | IOS | An iOS operating system. |
| Name | Value | Description |
|---|---|---|
| Os | OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
| Os | DESKTOP_MAC | A desktop Mac operating system. |
| Os | DESKTOP_WINDOWS | A desktop Windows operating system. |
| Os | DESKTOP_LINUX | A desktop Linux operating system. |
| Os | DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
| Os | ANDROID | An Android operating system. |
| Os | IOS | An iOS operating system. |
| Value | Description |
|---|---|
OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
DESKTOP_MAC | A desktop Mac operating system. |
DESKTOP_WINDOWS | A desktop Windows operating system. |
DESKTOP_LINUX | A desktop Linux operating system. |
DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
ANDROID | An Android operating system. |
IOS | An iOS operating system. |
| Name | Value | Description |
|---|---|---|
| Os | OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
| Desktop | DESKTOP_MAC | A desktop Mac operating system. |
| Desktop | DESKTOP_WINDOWS | A desktop Windows operating system. |
| Desktop | DESKTOP_LINUX | A desktop Linux operating system. |
| Desktop | DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
| Android | ANDROID | An Android operating system. |
| Ios | IOS | An iOS operating system. |
| Name | Value | Description |
|---|---|---|
| Os | OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
| Desktop | DESKTOP_MAC | A desktop Mac operating system. |
| Desktop | DESKTOP_WINDOWS | A desktop Windows operating system. |
| Desktop | DESKTOP_LINUX | A desktop Linux operating system. |
| Desktop | DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
| Android | ANDROID | An Android operating system. |
| Ios | IOS | An iOS operating system. |
| Name | Value | Description |
|---|---|---|
| OS_UNSPECIFIED | OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
| DESKTOP_MAC | DESKTOP_MAC | A desktop Mac operating system. |
| DESKTOP_WINDOWS | DESKTOP_WINDOWS | A desktop Windows operating system. |
| DESKTOP_LINUX | DESKTOP_LINUX | A desktop Linux operating system. |
| DESKTOP_CHROME_OS | DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
| ANDROID | ANDROID | An Android operating system. |
| IOS | IOS | An iOS operating system. |
| Value | Description |
|---|---|
OS_UNSPECIFIED | The operating system of the device is not specified or not known. |
DESKTOP_MAC | A desktop Mac operating system. |
DESKTOP_WINDOWS | A desktop Windows operating system. |
DESKTOP_LINUX | A desktop Linux operating system. |
DESKTOP_CHROME_OS | A desktop ChromeOS operating system. |
ANDROID | An Android operating system. |
IOS | An iOS operating system. |
OsConstraintResponse
A restriction on the OS type and version of devices making requests.
- 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". - Os
Type string - The allowed OS type.
- Require
Verified boolChrome 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.
- 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". - Os
Type string - The allowed OS type.
- Require
Verified boolChrome 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.
- 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". - os_
type string - The allowed OS type.
- require_
verified_ boolchrome_ 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.
- 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". - os
Type String - The allowed OS type.
- require
Verified BooleanChrome 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.
- 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". - os
Type string - The allowed OS type.
- require
Verified booleanChrome 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.
- minimum_
version str - 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 str - The allowed OS type.
- require_
verified_ boolchrome_ 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.
- 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". - os
Type String - The allowed OS type.
- require
Verified BooleanChrome 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.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi