public static final class SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder extends GeneratedMessageV3.Builder<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder> implements SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder
Settings for "ADMIN_SERVICE_ACCOUNT" scanner.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllApprovedIdentities(Iterable<String> values)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder addAllApprovedIdentities(Iterable<String> values)
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 |
values |
Iterable<String>
The approvedIdentities to add.
|
addApprovedIdentities(String value)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder addApprovedIdentities(String value)
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 |
value |
String
The approvedIdentities to add.
|
addApprovedIdentitiesBytes(ByteString value)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder addApprovedIdentitiesBytes(ByteString value)
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 |
value |
ByteString
The bytes of the approvedIdentities to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings build()
buildPartial()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings buildPartial()
clear()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder clear()
Overrides
clearApprovedIdentities()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder clearApprovedIdentities()
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;
clearField(Descriptors.FieldDescriptor field)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings other)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder mergeFrom(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings other)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setApprovedIdentities(int index, String value)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder setApprovedIdentities(int index, String value)
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;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The approvedIdentities to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides