Google Cloud BeyondCorp AppConnectors V1 Client - Class PrincipalInfo (0.2.2)

Reference documentation and code samples for the Google Cloud BeyondCorp AppConnectors V1 Client class PrincipalInfo.

PrincipalInfo represents an Identity oneof.

Generated from protobuf message google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo

Namespace

Google \ Cloud \ BeyondCorp \ AppConnectors \ V1 \ AppConnector

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service_account Google\Cloud\BeyondCorp\AppConnectors\V1\AppConnector\PrincipalInfo\ServiceAccount

A GCP service account.

getServiceAccount

A GCP service account.

Returns
TypeDescription
Google\Cloud\BeyondCorp\AppConnectors\V1\AppConnector\PrincipalInfo\ServiceAccount|null

hasServiceAccount

setServiceAccount

A GCP service account.

Parameter
NameDescription
var Google\Cloud\BeyondCorp\AppConnectors\V1\AppConnector\PrincipalInfo\ServiceAccount
Returns
TypeDescription
$this

getType

Returns
TypeDescription
string