Identity Access Context Manager v1 API - Class GcpUserAccessBinding (2.1.0)

public sealed class GcpUserAccessBinding : IMessage<GcpUserAccessBinding>, IEquatable<GcpUserAccessBinding>, IDeepCloneable<GcpUserAccessBinding>, IBufferMessage, IMessage

Reference documentation and code samples for the Identity Access Context Manager v1 API class GcpUserAccessBinding.

Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.

Inheritance

Object > GcpUserAccessBinding

Namespace

Google.Identity.AccessContextManager.V1

Assembly

Google.Identity.AccessContextManager.V1.dll

Constructors

GcpUserAccessBinding()

public GcpUserAccessBinding()

GcpUserAccessBinding(GcpUserAccessBinding)

public GcpUserAccessBinding(GcpUserAccessBinding other)
Parameter
NameDescription
otherGcpUserAccessBinding

Properties

AccessLevels

public RepeatedField<string> AccessLevels { get; }

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"

Property Value
TypeDescription
RepeatedField<String>

AccessLevelsAsAccessLevelNames

public ResourceNameList<AccessLevelName> AccessLevelsAsAccessLevelNames { get; }

AccessLevelName-typed view over the AccessLevels resource name property.

Property Value
TypeDescription
ResourceNameList<AccessLevelName>

GcpUserAccessBindingName

public GcpUserAccessBindingName GcpUserAccessBindingName { get; set; }

GcpUserAccessBindingName-typed view over the Name resource name property.

Property Value
TypeDescription
GcpUserAccessBindingName

GroupKey

public string GroupKey { get; set; }

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"

Property Value
TypeDescription
String

Name

public string Name { get; set; }

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"

Property Value
TypeDescription
String