Interface SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder (0.54.0)

public static interface SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovedIdentities(int index)

public abstract String getApprovedIdentities(int index)

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The approvedIdentities at the given index.

getApprovedIdentitiesBytes(int index)

public abstract ByteString getApprovedIdentitiesBytes(int index)

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the approvedIdentities at the given index.

getApprovedIdentitiesCount()

public abstract int getApprovedIdentitiesCount()

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Returns
Type Description
int

The count of approvedIdentities.

getApprovedIdentitiesList()

public abstract List<String> getApprovedIdentitiesList()

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Returns
Type Description
List<String>

A list containing the approvedIdentities.