Class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings (0.33.0)

public static final class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings extends GeneratedMessageV3 implements SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder

Settings for "NON_ORG_IAM_MEMBER" scanner.

Protobuf type google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

Inheritance

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

Static Fields

APPROVED_IDENTITIES_FIELD_NUMBER

public static final int APPROVED_IDENTITIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstance()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder newBuilder()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

newBuilder(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings prototype)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder newBuilder(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings prototype)
Parameter
NameDescription
prototypeSecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

parseDelimitedFrom(InputStream input)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings> parser()
Returns
TypeDescription
Parser<NonOrgIamMemberSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the approvedIdentities.

getDefaultInstanceForType()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstanceForType()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

getParserForType()

public Parser<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings> getParserForType()
Returns
TypeDescription
Parser<NonOrgIamMemberSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder newBuilderForType()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder toBuilder()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException