Class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

    • Method Detail

      • getDescriptor

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

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder>
      • getDefaultInstanceForType

        public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • 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.
      • setApprovedIdentities

        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:
        index - The index to set the value at.
        value - The approvedIdentities to set.
        Returns:
        This builder for chaining.
      • addApprovedIdentities

        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;
        Parameters:
        value - The approvedIdentities to add.
        Returns:
        This builder for chaining.
      • addAllApprovedIdentities

        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;
        Parameters:
        values - The approvedIdentities to add.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • addApprovedIdentitiesBytes

        public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addApprovedIdentitiesBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes of the approvedIdentities to add.
        Returns:
        This builder for chaining.