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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getAccountEmail

Email address of the service account.

Returns
TypeDescription
string

setAccountEmail

Email address of the service account.

Parameter
NameDescription
var string
Returns
TypeDescription
$this