public static final class SecurityHealthAnalyticsSettings.AdminServiceAccountSettings extends GeneratedMessage implements SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilderSettings for "ADMIN_SERVICE_ACCOUNT" scanner.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsStatic 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()| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder |
|
newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder |
|
parseDelimitedFrom(InputStream input)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AdminServiceAccountSettings> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
intThe 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 |
intThe 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 | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the approvedIdentities. |
getDefaultInstanceForType()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings |
|
getParserForType()
public Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AdminServiceAccountSettings> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder |
|
toBuilder()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|