Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class FirstPartyPrincipal.
First party identity principal.
Generated from protobuf message google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal
Namespace
Google \ Cloud \ Audit \ ServiceAccountDelegationInfoMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ principal_email |
string
The email address of a Google account. |
↳ service_metadata |
Google\Protobuf\Struct
Metadata about the service that uses the service account. |
getPrincipalEmail
The email address of a Google account.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPrincipalEmail
The email address of a Google account.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServiceMetadata
Metadata about the service that uses the service account.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasServiceMetadata
clearServiceMetadata
setServiceMetadata
Metadata about the service that uses the service account.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|