Reference documentation and code samples for the Access Context Manager V1 Client class GcpUserAccessBinding.
Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
Generated from protobuf message google.identity.accesscontextmanager.v1.GcpUserAccessBinding
Namespace
Google \ Identity \ AccessContextManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ 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"
↳ group_key
string
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"
↳ access_levels
array
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"
getName
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"
string
setName
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"
var
string
$this
getGroupKey
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"
string
setGroupKey
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"
var
string
$this
getAccessLevels
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"
setAccessLevels
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"
var
string[]
$this