Class: Google::Cloud::Dlp::V2::InspectContentRequest

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 search for potentially sensitive info in a ContentItem.

Instance Attribute Summary collapse

Instance Attribute Details

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

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

Returns:



883
884
885
886
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 883

class InspectContentRequest
  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.



883
884
885
886
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 883

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

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

Returns The item to inspect.

Returns:



883
884
885
886
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 883

class InspectContentRequest
  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.



883
884
885
886
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 883

class InspectContentRequest
  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
    


883
884
885
886
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 883

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