Class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

    • Field Detail

      • APPROVED_IDENTITIES_FIELD_NUMBER

        public static final int APPROVED_IDENTITIES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getApprovedIdentitiesList

        public com.google.protobuf.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;
        Specified by:
        getApprovedIdentitiesList in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
        Returns:
        A list containing the approvedIdentities.
      • 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;
        Specified by:
        getApprovedIdentitiesCount in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
        Returns:
        The count of approvedIdentities.
      • getApprovedIdentities

        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;
        Specified by:
        getApprovedIdentities in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The approvedIdentities at the given index.
      • getApprovedIdentitiesBytes

        public com.google.protobuf.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;
        Specified by:
        getApprovedIdentitiesBytes in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the approvedIdentities at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom​(com.google.protobuf.ByteString data,
                                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings parseFrom​(byte[] data,
                                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • getParserForType

        public com.google.protobuf.Parser<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder