Class: Google::Privacy::Dlp::V2::TransformationSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Summary of a single tranformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.

Defined Under Namespace

Modules: TransformationResultCode Classes: SummaryResult

Instance Attribute Summary collapse

Instance Attribute Details

#fieldGoogle::Privacy::Dlp::V2::FieldId

Returns Set if the transformation was limited to a specific FieldId.

Returns:



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end

#field_transformationsArray<Google::Privacy::Dlp::V2::FieldTransformation>

Returns The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

Returns:

  • (Array<Google::Privacy::Dlp::V2::FieldTransformation>)

    The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end

#info_typeGoogle::Privacy::Dlp::V2::InfoType

Returns Set if the transformation was limited to a specific info_type.

Returns:



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end

#record_suppressGoogle::Privacy::Dlp::V2::RecordSuppression

Returns The specific suppression option these stats apply to.

Returns:



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end

#resultsArray<Google::Privacy::Dlp::V2::TransformationSummary::SummaryResult>



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end

#transformationGoogle::Privacy::Dlp::V2::PrimitiveTransformation

Returns The specific transformation these stats apply to.

Returns:



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end

#transformed_bytesInteger

Returns Total size in bytes that were transformed in some way.

Returns:

  • (Integer)

    Total size in bytes that were transformed in some way.



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1696

class TransformationSummary
  # A collection that informs the user the number of times a particular
  # `TransformationResultCode` and error details occurred.
  # @!attribute [rw] count
  #   @return [Integer]
  # @!attribute [rw] code
  #   @return [Google::Privacy::Dlp::V2::TransformationSummary::TransformationResultCode]
  # @!attribute [rw] details
  #   @return [String]
  #     A place for warnings or errors to show up if a transformation didn't
  #     work as expected.
  class SummaryResult; end

  # Possible outcomes of transformations.
  module TransformationResultCode
    TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0

    SUCCESS = 1

    ERROR = 2
  end
end