GcpUserAccessBindingArgs

data class GcpUserAccessBindingArgs(val accessLevels: Output<String>? = null, val groupKey: Output<String>? = null, val organizationId: Output<String>? = null) : ConvertibleToJava<GcpUserAccessBindingArgs>

Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. To get more information about GcpUserAccessBinding, see:

Example Usage

{{% /examples %}}

Import

GcpUserAccessBinding can be imported using any of these accepted formats* {{name}} In Terraform v1.5.0 and later, use an import block to import GcpUserAccessBinding using one of the formats above. For exampletf import { id = "{{name}}" to = google_access_context_manager_gcp_user_access_binding.default }

$ pulumi import gcp:accesscontextmanager/gcpUserAccessBinding:GcpUserAccessBinding When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), GcpUserAccessBinding can be imported using one of the formats above. For example
$ pulumi import gcp:accesscontextmanager/gcpUserAccessBinding:GcpUserAccessBinding default {{name}}

Constructors

Link copied to clipboard
fun GcpUserAccessBindingArgs(accessLevels: Output<String>? = null, groupKey: Output<String>? = null, organizationId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GcpUserAccessBindingArgs

Properties

Link copied to clipboard
val accessLevels: Output<String>? = null

Required. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"

Link copied to clipboard
val groupKey: Output<String>? = null

Required. Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the G Suite Directory API's Groups resource. If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht"

Link copied to clipboard
val organizationId: Output<String>? = null

Required. ID of the parent organization.