Class: Google::Cloud::Dlp::V2::Finding

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Represents a piece of potentially sensitive content.

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns Timestamp when finding was detected.

Returns:



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#finding_id::String

Returns The unique finding id.

Returns:

  • (::String)

    The unique finding id.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#info_type::Google::Cloud::Dlp::V2::InfoType

Returns The type of content that might have been found. Provided if excluded_types is false.

Returns:



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#job_create_time::Google::Protobuf::Timestamp

Returns Time the job started that produced this finding.

Returns:



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#job_name::String

Returns The job that stored the finding.

Returns:

  • (::String)

    The job that stored the finding.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns The labels associated with this Finding.

Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.

Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.

No more than 10 labels can be associated with a given finding.

Examples:

  • "environment" : "production"
  • "pipeline" : "etl".

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    The labels associated with this Finding.

    Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?.

    Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.

    No more than 10 labels can be associated with a given finding.

    Examples:

    • "environment" : "production"
    • "pipeline" : "etl"


446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#likelihood::Google::Cloud::Dlp::V2::Likelihood

Returns Confidence of how likely it is that the info_type is correct.

Returns:



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#location::Google::Cloud::Dlp::V2::Location

Returns Where the content was found.

Returns:



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.

Returns:

  • (::String)

    Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#quote::String

Returns The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if include_quote is true and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted.

Returns:

  • (::String)

    The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if include_quote is true and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#quote_info::Google::Cloud::Dlp::V2::QuoteInfo

Returns Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.

Returns:

  • (::Google::Cloud::Dlp::V2::QuoteInfo)

    Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#resource_name::String

Returns The job that stored the finding.

Returns:

  • (::String)

    The job that stored the finding.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#trigger_name::String

Returns Job trigger name, if applicable, for this finding.

Returns:

  • (::String)

    Job trigger name, if applicable, for this finding.



446
447
448
449
450
451
452
453
454
455
456
457
458
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 446

class Finding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end