Google Cloud Dataplex V1 Client - Class ServiceAccount (1.14.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class ServiceAccount.

The service account

Generated from protobuf message google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount

Namespace

Google \ Cloud \ Dataplex \ V1 \ ExecutionIdentity

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ email string

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

getEmail

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

Returns
Type Description
string

setEmail

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

Parameter
Name Description
var string
Returns
Type Description
$this