public static final class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder extends GeneratedMessageV3.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder> implements SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
Settings for "NON_ORG_IAM_MEMBER" scanner.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllApprovedIdentities(Iterable<String> values)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addAllApprovedIdentities(Iterable<String> values)
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Parameter
Returns
addApprovedIdentities(String value)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addApprovedIdentities(String value)
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Parameter
Name | Description |
value | String
The approvedIdentities to add.
|
Returns
addApprovedIdentitiesBytes(ByteString value)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addApprovedIdentitiesBytes(ByteString value)
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Parameter
Name | Description |
value | ByteString
The bytes of the approvedIdentities to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings build()
Returns
buildPartial()
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings buildPartial()
Returns
clear()
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clear()
Returns
Overrides
clearApprovedIdentities()
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearApprovedIdentities()
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clone()
Returns
Overrides
getApprovedIdentities(int index)
public String getApprovedIdentities(int index)
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-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 emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-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 emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Returns
Type | Description |
int | The count of approvedIdentities.
|
getApprovedIdentitiesList()
public ProtocolStringList getApprovedIdentitiesList()
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Returns
getDefaultInstanceForType()
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings other)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings other)
Parameter
Returns
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setApprovedIdentities(int index, String value)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setApprovedIdentities(int index, String value)
User emails ending in the provided identities are allowed to have IAM
permissions on a project or the organization. Otherwise a finding will
be created.
A valid identity can be:
- a domain that starts with "@", e.g. "@yourdomain.com".
- a fully specified email address that does not start with "@", e.g.
"abc@gmail.com"
Regular expressions are not supported.
Service accounts are not examined by the scanner and will be omitted if
added to the list.
If not specified, only Gmail accounts will be considered as non-approved.
repeated string approved_identities = 1;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The approvedIdentities to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides