Google Cloud Oracle Database V1 Client - Class Entitlement (0.1.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class Entitlement.

Details of the Entitlement resource.

Generated from protobuf message google.cloud.oracledatabase.v1.Entitlement

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

↳ cloud_account_details Google\Cloud\OracleDatabase\V1\CloudAccountDetails

Details of the OCI Cloud Account.

↳ entitlement_id string

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

↳ state int

Output only. Entitlement State.

getName

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

Returns
Type Description
string

setName

Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}

Parameter
Name Description
var string
Returns
Type Description
$this

getCloudAccountDetails

Details of the OCI Cloud Account.

Returns
Type Description
Google\Cloud\OracleDatabase\V1\CloudAccountDetails|null

hasCloudAccountDetails

clearCloudAccountDetails

setCloudAccountDetails

Details of the OCI Cloud Account.

Parameter
Name Description
var Google\Cloud\OracleDatabase\V1\CloudAccountDetails
Returns
Type Description
$this

getEntitlementId

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

Returns
Type Description
string

setEntitlementId

Output only. Google Cloud Marketplace order ID (aka entitlement ID)

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. Entitlement State.

Returns
Type Description
int

setState

Output only. Entitlement State.

Parameter
Name Description
var int
Returns
Type Description
$this