Interface SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder (0.8.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the approvedIdentities.