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 \ AppConnectorMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_account |
PrincipalInfo\ServiceAccount
A GCP service account. |
getServiceAccount
A GCP service account.
| Returns | |
|---|---|
| Type | Description |
PrincipalInfo\ServiceAccount|null |
|
hasServiceAccount
setServiceAccount
A GCP service account.
| Parameter | |
|---|---|
| Name | Description |
var |
PrincipalInfo\ServiceAccount
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
| Returns | |
|---|---|
| Type | Description |
string |
|