Class: Google::Cloud::Dlp::V2::DeidentifyContentRequest

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

Overview

Request to de-identify a ContentItem.

Instance Attribute Summary collapse

Instance Attribute Details

#deidentify_config::Google::Cloud::Dlp::V2::DeidentifyConfig

Returns Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.

Returns:

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

    Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.



812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#deidentify_template_name::String

Returns Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

Returns:

  • (::String)

    Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.



812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#inspect_config::Google::Cloud::Dlp::V2::InspectConfig

Returns Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.

Returns:



812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#inspect_template_name::String

Returns Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

Returns:

  • (::String)

    Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.



812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#item::Google::Cloud::Dlp::V2::ContentItem

Returns The item to de-identify. Will be treated as text.

This value must be of type Table if your deidentify_config is a RecordTransformations object.

Returns:



812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#location_id::String

Returns Deprecated. This field has no effect.

Returns:

  • (::String)

    Deprecated. This field has no effect.



812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Parent resource name.

The format of this value varies depending on whether you have specified a processing location:

  • Projects scope, location specified:
    projects/PROJECT_ID/locations/LOCATION_ID
  • Projects scope, no location specified (defaults to global):
    projects/PROJECT_ID

The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data:

parent=projects/example-project/locations/europe-west3.

Returns:

  • (::String)

    Parent resource name.

    The format of this value varies depending on whether you have specified a processing location:

    • Projects scope, location specified:
      projects/PROJECT_ID/locations/LOCATION_ID
    • Projects scope, no location specified (defaults to global):
      projects/PROJECT_ID

    The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data:

    parent=projects/example-project/locations/europe-west3
    


812
813
814
815
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 812

class DeidentifyContentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end