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:



948
949
950
951
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 948

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.



948
949
950
951
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 948

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

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

Returns The item to inspect.

Returns:



948
949
950
951
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 948

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.



948
949
950
951
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 948

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
    


948
949
950
951
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 948

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