Interface MuteConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MuteConfig, MuteConfig.Builder

    public interface MuteConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         This field will be ignored if provided on config creation. Format
         "organizations/{organization}/muteConfigs/{mute_config}"
         "folders/{folder}/muteConfigs/{mute_config}"
         "projects/{project}/muteConfigs/{mute_config}"
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         This field will be ignored if provided on config creation. Format
         "organizations/{organization}/muteConfigs/{mute_config}"
         "folders/{folder}/muteConfigs/{mute_config}"
         "projects/{project}/muteConfigs/{mute_config}"
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        @Deprecated
        String getDisplayName()
        Deprecated.
        google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47
         The human readable name to be displayed for the mute config.
         
        string display_name = 2 [deprecated = true];
        Returns:
        The displayName.
      • getDisplayNameBytes

        @Deprecated
        com.google.protobuf.ByteString getDisplayNameBytes()
        Deprecated.
        google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47
         The human readable name to be displayed for the mute config.
         
        string display_name = 2 [deprecated = true];
        Returns:
        The bytes for displayName.
      • getDescription

        String getDescription()
         A description of the mute config.
         
        string description = 3;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         A description of the mute config.
         
        string description = 3;
        Returns:
        The bytes for description.
      • getFilter

        String getFilter()
         Required. An expression that defines the filter to apply across
         create/update events of findings. While creating a filter string, be
         mindful of the scope in which the mute configuration is being created.
         E.g., If a filter contains project = X but is created under the project = Y
         scope, it might not match any findings.
        
         The following field and operator combinations are supported:
        
         * severity: `=`, `:`
         * category: `=`, `:`
         * resource.name: `=`, `:`
         * resource.project_name: `=`, `:`
         * resource.project_display_name: `=`, `:`
         * resource.folders.resource_folder: `=`, `:`
         * resource.parent_name: `=`, `:`
         * resource.parent_display_name: `=`, `:`
         * resource.type: `=`, `:`
         * finding_class: `=`, `:`
         * indicator.ip_addresses: `=`, `:`
         * indicator.domains: `=`, `:`
         
        string filter = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The filter.
      • getFilterBytes

        com.google.protobuf.ByteString getFilterBytes()
         Required. An expression that defines the filter to apply across
         create/update events of findings. While creating a filter string, be
         mindful of the scope in which the mute configuration is being created.
         E.g., If a filter contains project = X but is created under the project = Y
         scope, it might not match any findings.
        
         The following field and operator combinations are supported:
        
         * severity: `=`, `:`
         * category: `=`, `:`
         * resource.name: `=`, `:`
         * resource.project_name: `=`, `:`
         * resource.project_display_name: `=`, `:`
         * resource.folders.resource_folder: `=`, `:`
         * resource.parent_name: `=`, `:`
         * resource.parent_display_name: `=`, `:`
         * resource.type: `=`, `:`
         * finding_class: `=`, `:`
         * indicator.ip_addresses: `=`, `:`
         * indicator.domains: `=`, `:`
         
        string filter = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for filter.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time at which the mute config was created.
         This field is set by the server and will be ignored if provided on config
         creation.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which the mute config was created.
         This field is set by the server and will be ignored if provided on config
         creation.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which the mute config was created.
         This field is set by the server and will be ignored if provided on config
         creation.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The most recent time at which the mute config was updated.
         This field is set by the server and will be ignored if provided on config
         creation or update.
         
        .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The most recent time at which the mute config was updated.
         This field is set by the server and will be ignored if provided on config
         creation or update.
         
        .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The most recent time at which the mute config was updated.
         This field is set by the server and will be ignored if provided on config
         creation or update.
         
        .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMostRecentEditor

        String getMostRecentEditor()
         Output only. Email address of the user who last edited the mute config.
         This field is set by the server and will be ignored if provided on config
         creation or update.
         
        string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The mostRecentEditor.
      • getMostRecentEditorBytes

        com.google.protobuf.ByteString getMostRecentEditorBytes()
         Output only. Email address of the user who last edited the mute config.
         This field is set by the server and will be ignored if provided on config
         creation or update.
         
        string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for mostRecentEditor.