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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
APPROVED_IDENTITIES_FIELD_NUMBER
public static final int APPROVED_IDENTITIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder()
newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
getDefaultInstanceForType()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstanceForType()
getParserForType()
public Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides