Skip to main content

entitlements

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

Overview

Nameentitlements
TypeResource
Idgoogle.oracledatabase.entitlements

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}
cloudAccountDetailsobjectDetails of the OCI Cloud Account. (id: CloudAccountDetails)
entitlementIdstringOutput only. Google Cloud Marketplace order ID (aka entitlement ID)
statestringOutput only. Entitlement State.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsIdpageSize, pageTokenLists the entitlements in a given 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
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists the entitlements in a given project.

SELECT
name,
cloudAccountDetails,
entitlementId,
state
FROM google.oracledatabase.entitlements
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';