Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

REST Resource: customers.customerUserAccesses

Resource: CustomerUserAccess

Represents the permission of a single user onto a single customer.

JSON representation
{
  "resourceName": string,
  "userId": string,
  "accessRole": enum (AccessRole),
  "emailAddress": string,
  "accessCreationDateTime": string,
  "inviterUserEmailAddress": string
}
Fields
resourceName

string

Immutable. Name of the resource. Resource names have the form: customers/{customerId}/customerUserAccesses/{userId}

userId

string (int64 format)

Output only. User id of the user with the customer access. Read only field

accessRole

enum (AccessRole)

Access role of the user.

emailAddress

string

Output only. Email address of the user. Read only field

accessCreationDateTime

string

Output only. The customer user access creation time. Read only field The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"

inviterUserEmailAddress

string

Output only. The email address of the inviter user. Read only field

Methods

get

Returns the CustomerUserAccess in full detail.

mutate

Updates, removes permission of a user on a given customer.