Google Cloud Access Approval V1 Client - Class AccessApprovalServiceAccount (1.2.5)

Reference documentation and code samples for the Google Cloud Access Approval V1 Client class AccessApprovalServiceAccount.

Access Approval service account related to a project/folder/organization.

Generated from protobuf message google.cloud.accessapproval.v1.AccessApprovalServiceAccount

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the Access Approval service account. Format is one of: * "projects/{project}/serviceAccount" * "folders/{folder}/serviceAccount" * "organizations/{organization}/serviceAccount"

↳ account_email string

Email address of the service account.

getName

The resource name of the Access Approval service account. Format is one of:

  • "projects/{project}/serviceAccount"
  • "folders/{folder}/serviceAccount"
  • "organizations/{organization}/serviceAccount"
Returns
Type Description
string

setName

The resource name of the Access Approval service account. Format is one of:

  • "projects/{project}/serviceAccount"
  • "folders/{folder}/serviceAccount"
  • "organizations/{organization}/serviceAccount"
Parameter
Name Description
var string
Returns
Type Description
$this

getAccountEmail

Email address of the service account.

Returns
Type Description
string

setAccountEmail

Email address of the service account.

Parameter
Name Description
var string
Returns
Type Description
$this