Skip to main content

entitlements

Creates, updates, deletes, gets or lists an entitlements resource.

Overview​

Nameentitlements
TypeResource
Idgoogle.apim.entitlements

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The entitlement resource name projects/{project}/locations/{location}/entitlement
apiObservationEntitledbooleanWhether API Observation is entitled.
billingProjectNumberstring (int64)Project number of associated billing project that has Apigee and Advanced API Security entitled.
createTimestring (google-datetime)Output only. The time of the entitlement creation.
updateTimestring (google-datetime)Output only. The time of the entitlement update.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_entitlementselectprojectsId, locationsIdGetEntitlement returns the entitlement for the provided project.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring

SELECT examples​

GetEntitlement returns the entitlement for the provided project.

SELECT
name,
apiObservationEntitled,
billingProjectNumber,
createTime,
updateTime
FROM google.apim.entitlements
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;