REST Resource: organizations.locations.entitlements Stay organized with collections Save and categorize content based on your preferences.
Resource: Entitlement
An entitlement defines the eligibility of a set of users to obtain predefined access for some time possibly after going through an approval workflow.
| JSON representation |
|---|
{"name":string,"createTime":string,"updateTime":string,"eligibleUsers":[{object ( |
| Fields | |
|---|---|
name |
Identifier. Name of the entitlement. Possible formats:
|
createTime |
Output only. Create time stamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Update time stamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
eligibleUsers[] |
Optional. Who can create grants using this entitlement. This list should contain at most one entry. |
approvalWorkflow |
Optional. The approvals needed before access are granted to a requester. No approvals are needed if this field is null. |
privilegedAccess |
The access granted to a requester on successful approval. |
maxRequestDuration |
Required. The maximum amount of time that access is granted for a request. A requester can ask for a shorter duration but never a longer one. The supported range is between 30 minutes and 168 hours (7 days). A duration in seconds with up to nine fractional digits, ending with ' |
state |
Output only. Current state of this entitlement. |
requesterJustificationConfig |
Required. The manner in which the requester should provide a justification for requesting access. |
additionalNotificationTargets |
Optional. Additional email addresses to be notified based on actions taken. |
etag |
An |
Methods | |
|---|---|
| Creates a new entitlement in a given project, folder, organization, and in a given location. |
| Deletes a single entitlement. |
| Gets details of a single entitlement. |
| Lists the entitlements in a given project, folder, organization, and in a given location. |
| Updates the entitlement specified in the request. |
| SearchEntitlements returns entitlements on which the caller has the specified access. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-11 UTC.