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 |
Google\Cloud\BeyondCorp\AppConnectors\V1\AppConnector\PrincipalInfo\ServiceAccount
A GCP service account. |
getServiceAccount
A GCP service account.
Returns | |
---|---|
Type | Description |
Google\Cloud\BeyondCorp\AppConnectors\V1\AppConnector\PrincipalInfo\ServiceAccount|null |
hasServiceAccount
setServiceAccount
A GCP service account.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BeyondCorp\AppConnectors\V1\AppConnector\PrincipalInfo\ServiceAccount
|
Returns | |
---|---|
Type | Description |
$this |
getType
Returns | |
---|---|
Type | Description |
string |