Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ServiceAccountDelegationInfo.
Identity delegation history of an authenticated service account.
Generated from protobuf message google.cloud.securitycenter.v1.ServiceAccountDelegationInfo
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ principal_email |
string
The email address of a Google account. |
↳ principal_subject |
string
A string representing the principal_subject associated with the identity. As compared to |
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 |
getPrincipalSubject
A string representing the principal_subject associated with the identity.
As compared to principal_email
, supports principals that aren't
associated with email addresses, such as third party principals. For most
identities, the format will be principal://iam.googleapis.com/{identity
pool name}/subjects/{subject}
except for some GKE identities
(GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
format serviceAccount:{identity pool name}[{subject}]
Returns | |
---|---|
Type | Description |
string |
setPrincipalSubject
A string representing the principal_subject associated with the identity.
As compared to principal_email
, supports principals that aren't
associated with email addresses, such as third party principals. For most
identities, the format will be principal://iam.googleapis.com/{identity
pool name}/subjects/{subject}
except for some GKE identities
(GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
format serviceAccount:{identity pool name}[{subject}]
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |