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:

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. (STATE_UNSPECIFIED, ACCOUNT_NOT_LINKED, ACCOUNT_NOT_ACTIVE, ACTIVE, ACCOUNT_SUSPENDED, NOT_APPROVED_IN_PRIVATE_MARKETPLACE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsIdpageToken, pageSizeLists 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 pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
;