Class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder (0.56.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Name Description
values Iterable<String>

The approvedIdentities to add.

Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

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
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

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
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

build()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings build()
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

buildPartial()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings buildPartial()
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

clear()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clear()
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
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
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

clone()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clone()
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
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
Type Description
ProtocolStringList

A list containing the approvedIdentities.

getDefaultInstanceForType()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstanceForType()
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings other)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings other)
Parameter
Name Description
other SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
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
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides