public static final class SecurityHealthAnalyticsSettings.AdminServiceAccountSettings extends GeneratedMessageV3 implements SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder
Settings for "ADMIN_SERVICE_ACCOUNT" scanner.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Static Fields
APPROVED_IDENTITIES_FIELD_NUMBER
public static final int APPROVED_IDENTITIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder()
Returns
newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)
Parameter
Returns
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getApprovedIdentities(int index)
public 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 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 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 ProtocolStringList 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
getDefaultInstanceForType()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions