Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

getGcpUserAccessBinding

Gets the GcpUserAccessBinding with the given name.

Using getGcpUserAccessBinding

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGcpUserAccessBinding(args: GetGcpUserAccessBindingArgs, opts?: InvokeOptions): Promise<GetGcpUserAccessBindingResult>
function getGcpUserAccessBindingOutput(args: GetGcpUserAccessBindingOutputArgs, opts?: InvokeOptions): Output<GetGcpUserAccessBindingResult>
def get_gcp_user_access_binding(gcp_user_access_binding_id: Optional[str] = None,
                                organization_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetGcpUserAccessBindingResult
def get_gcp_user_access_binding_output(gcp_user_access_binding_id: Optional[pulumi.Input[str]] = None,
                                organization_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetGcpUserAccessBindingResult]
func LookupGcpUserAccessBinding(ctx *Context, args *LookupGcpUserAccessBindingArgs, opts ...InvokeOption) (*LookupGcpUserAccessBindingResult, error)
func LookupGcpUserAccessBindingOutput(ctx *Context, args *LookupGcpUserAccessBindingOutputArgs, opts ...InvokeOption) LookupGcpUserAccessBindingResultOutput

> Note: This function is named LookupGcpUserAccessBinding in the Go SDK.

public static class GetGcpUserAccessBinding 
{
    public static Task<GetGcpUserAccessBindingResult> InvokeAsync(GetGcpUserAccessBindingArgs args, InvokeOptions? opts = null)
    public static Output<GetGcpUserAccessBindingResult> Invoke(GetGcpUserAccessBindingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGcpUserAccessBindingResult> getGcpUserAccessBinding(GetGcpUserAccessBindingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:accesscontextmanager/v1:getGcpUserAccessBinding
  arguments:
    # arguments dictionary

The following arguments are supported:

getGcpUserAccessBinding Result

The following output properties are available:

AccessLevels List<string>

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"

GroupKey string

Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/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"

Name string

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

AccessLevels []string

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"

GroupKey string

Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/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"

Name string

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

accessLevels List<String>

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"

groupKey String

Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/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"

name String

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

accessLevels string[]

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"

groupKey string

Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/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"

name string

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

access_levels Sequence[str]

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"

group_key str

Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/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"

name str

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

accessLevels List<String>

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"

groupKey String

Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/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"

name String

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0