dlp

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BigQueryOptions_SampleMethod_name = map[int32]string{
	0: "SAMPLE_METHOD_UNSPECIFIED",
	1: "TOP",
	2: "RANDOM_START",
}
View Source
var BigQueryOptions_SampleMethod_value = map[string]int32{
	"SAMPLE_METHOD_UNSPECIFIED": 0,
	"TOP":                       1,
	"RANDOM_START":              2,
}
View Source
var ByteContentItem_BytesType_name = map[int32]string{
	0:  "BYTES_TYPE_UNSPECIFIED",
	6:  "IMAGE",
	1:  "IMAGE_JPEG",
	2:  "IMAGE_BMP",
	3:  "IMAGE_PNG",
	4:  "IMAGE_SVG",
	5:  "TEXT_UTF8",
	7:  "WORD_DOCUMENT",
	8:  "PDF",
	11: "AVRO",
}
View Source
var ByteContentItem_BytesType_value = map[string]int32{
	"BYTES_TYPE_UNSPECIFIED": 0,
	"IMAGE":                  6,
	"IMAGE_JPEG":             1,
	"IMAGE_BMP":              2,
	"IMAGE_PNG":              3,
	"IMAGE_SVG":              4,
	"TEXT_UTF8":              5,
	"WORD_DOCUMENT":          7,
	"PDF":                    8,
	"AVRO":                   11,
}
View Source
var CharsToIgnore_CommonCharsToIgnore_name = map[int32]string{
	0: "COMMON_CHARS_TO_IGNORE_UNSPECIFIED",
	1: "NUMERIC",
	2: "ALPHA_UPPER_CASE",
	3: "ALPHA_LOWER_CASE",
	4: "PUNCTUATION",
	5: "WHITESPACE",
}
View Source
var CharsToIgnore_CommonCharsToIgnore_value = map[string]int32{
	"COMMON_CHARS_TO_IGNORE_UNSPECIFIED": 0,
	"NUMERIC":                            1,
	"ALPHA_UPPER_CASE":                   2,
	"ALPHA_LOWER_CASE":                   3,
	"PUNCTUATION":                        4,
	"WHITESPACE":                         5,
}
View Source
var CloudStorageOptions_SampleMethod_name = map[int32]string{
	0: "SAMPLE_METHOD_UNSPECIFIED",
	1: "TOP",
	2: "RANDOM_START",
}
View Source
var CloudStorageOptions_SampleMethod_value = map[string]int32{
	"SAMPLE_METHOD_UNSPECIFIED": 0,
	"TOP":                       1,
	"RANDOM_START":              2,
}
View Source
var ContentOption_name = map[int32]string{
	0: "CONTENT_UNSPECIFIED",
	1: "CONTENT_TEXT",
	2: "CONTENT_IMAGE",
}
View Source
var ContentOption_value = map[string]int32{
	"CONTENT_UNSPECIFIED": 0,
	"CONTENT_TEXT":        1,
	"CONTENT_IMAGE":       2,
}
View Source
var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name = map[int32]string{
	0: "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED",
	1: "NUMERIC",
	2: "HEXADECIMAL",
	3: "UPPER_CASE_ALPHA_NUMERIC",
	4: "ALPHA_NUMERIC",
}
View Source
var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value = map[string]int32{
	"FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED": 0,
	"NUMERIC":                                1,
	"HEXADECIMAL":                            2,
	"UPPER_CASE_ALPHA_NUMERIC":               3,
	"ALPHA_NUMERIC":                          4,
}
View Source
var CustomInfoType_ExclusionType_name = map[int32]string{
	0: "EXCLUSION_TYPE_UNSPECIFIED",
	1: "EXCLUSION_TYPE_EXCLUDE",
}
View Source
var CustomInfoType_ExclusionType_value = map[string]int32{
	"EXCLUSION_TYPE_UNSPECIFIED": 0,
	"EXCLUSION_TYPE_EXCLUDE":     1,
}
View Source
var DlpJobType_name = map[int32]string{
	0: "DLP_JOB_TYPE_UNSPECIFIED",
	1: "INSPECT_JOB",
	2: "RISK_ANALYSIS_JOB",
}
View Source
var DlpJobType_value = map[string]int32{
	"DLP_JOB_TYPE_UNSPECIFIED": 0,
	"INSPECT_JOB":              1,
	"RISK_ANALYSIS_JOB":        2,
}
View Source
var DlpJob_JobState_name = map[int32]string{
	0: "JOB_STATE_UNSPECIFIED",
	1: "PENDING",
	2: "RUNNING",
	3: "DONE",
	4: "CANCELED",
	5: "FAILED",
	6: "ACTIVE",
}
View Source
var DlpJob_JobState_value = map[string]int32{
	"JOB_STATE_UNSPECIFIED": 0,
	"PENDING":               1,
	"RUNNING":               2,
	"DONE":                  3,
	"CANCELED":              4,
	"FAILED":                5,
	"ACTIVE":                6,
}
View Source
var FileType_name = map[int32]string{
	0: "FILE_TYPE_UNSPECIFIED",
	1: "BINARY_FILE",
	2: "TEXT_FILE",
	3: "IMAGE",
	5: "WORD",
	6: "PDF",
	7: "AVRO",
}
View Source
var FileType_value = map[string]int32{
	"FILE_TYPE_UNSPECIFIED": 0,
	"BINARY_FILE":           1,
	"TEXT_FILE":             2,
	"IMAGE":                 3,
	"WORD":                  5,
	"PDF":                   6,
	"AVRO":                  7,
}
View Source
var InfoTypeSupportedBy_name = map[int32]string{
	0: "ENUM_TYPE_UNSPECIFIED",
	1: "INSPECT",
	2: "RISK_ANALYSIS",
}
View Source
var InfoTypeSupportedBy_value = map[string]int32{
	"ENUM_TYPE_UNSPECIFIED": 0,
	"INSPECT":               1,
	"RISK_ANALYSIS":         2,
}
View Source
var JobTrigger_Status_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "HEALTHY",
	2: "PAUSED",
	3: "CANCELLED",
}
View Source
var JobTrigger_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"HEALTHY":            1,
	"PAUSED":             2,
	"CANCELLED":          3,
}
View Source
var Likelihood_name = map[int32]string{
	0: "LIKELIHOOD_UNSPECIFIED",
	1: "VERY_UNLIKELY",
	2: "UNLIKELY",
	3: "POSSIBLE",
	4: "LIKELY",
	5: "VERY_LIKELY",
}
View Source
var Likelihood_value = map[string]int32{
	"LIKELIHOOD_UNSPECIFIED": 0,
	"VERY_UNLIKELY":          1,
	"UNLIKELY":               2,
	"POSSIBLE":               3,
	"LIKELY":                 4,
	"VERY_LIKELY":            5,
}
View Source
var MatchingType_name = map[int32]string{
	0: "MATCHING_TYPE_UNSPECIFIED",
	1: "MATCHING_TYPE_FULL_MATCH",
	2: "MATCHING_TYPE_PARTIAL_MATCH",
	3: "MATCHING_TYPE_INVERSE_MATCH",
}
View Source
var MatchingType_value = map[string]int32{
	"MATCHING_TYPE_UNSPECIFIED":   0,
	"MATCHING_TYPE_FULL_MATCH":    1,
	"MATCHING_TYPE_PARTIAL_MATCH": 2,
	"MATCHING_TYPE_INVERSE_MATCH": 3,
}
View Source
var MetadataType_name = map[int32]string{
	0: "METADATATYPE_UNSPECIFIED",
	2: "STORAGE_METADATA",
}
View Source
var MetadataType_value = map[string]int32{
	"METADATATYPE_UNSPECIFIED": 0,
	"STORAGE_METADATA":         2,
}
View Source
var OutputStorageConfig_OutputSchema_name = map[int32]string{
	0: "OUTPUT_SCHEMA_UNSPECIFIED",
	1: "BASIC_COLUMNS",
	2: "GCS_COLUMNS",
	3: "DATASTORE_COLUMNS",
	4: "BIG_QUERY_COLUMNS",
	5: "ALL_COLUMNS",
}
View Source
var OutputStorageConfig_OutputSchema_value = map[string]int32{
	"OUTPUT_SCHEMA_UNSPECIFIED": 0,
	"BASIC_COLUMNS":             1,
	"GCS_COLUMNS":               2,
	"DATASTORE_COLUMNS":         3,
	"BIG_QUERY_COLUMNS":         4,
	"ALL_COLUMNS":               5,
}
View Source
var RecordCondition_Expressions_LogicalOperator_name = map[int32]string{
	0: "LOGICAL_OPERATOR_UNSPECIFIED",
	1: "AND",
}
View Source
var RecordCondition_Expressions_LogicalOperator_value = map[string]int32{
	"LOGICAL_OPERATOR_UNSPECIFIED": 0,
	"AND":                          1,
}
View Source
var RelationalOperator_name = map[int32]string{
	0: "RELATIONAL_OPERATOR_UNSPECIFIED",
	1: "EQUAL_TO",
	2: "NOT_EQUAL_TO",
	3: "GREATER_THAN",
	4: "LESS_THAN",
	5: "GREATER_THAN_OR_EQUALS",
	6: "LESS_THAN_OR_EQUALS",
	7: "EXISTS",
}
View Source
var RelationalOperator_value = map[string]int32{
	"RELATIONAL_OPERATOR_UNSPECIFIED": 0,
	"EQUAL_TO":                        1,
	"NOT_EQUAL_TO":                    2,
	"GREATER_THAN":                    3,
	"LESS_THAN":                       4,
	"GREATER_THAN_OR_EQUALS":          5,
	"LESS_THAN_OR_EQUALS":             6,
	"EXISTS":                          7,
}
View Source
var StoredInfoTypeState_name = map[int32]string{
	0: "STORED_INFO_TYPE_STATE_UNSPECIFIED",
	1: "PENDING",
	2: "READY",
	3: "FAILED",
	4: "INVALID",
}
View Source
var StoredInfoTypeState_value = map[string]int32{
	"STORED_INFO_TYPE_STATE_UNSPECIFIED": 0,
	"PENDING":                            1,
	"READY":                              2,
	"FAILED":                             3,
	"INVALID":                            4,
}
View Source
var TimePartConfig_TimePart_name = map[int32]string{
	0: "TIME_PART_UNSPECIFIED",
	1: "YEAR",
	2: "MONTH",
	3: "DAY_OF_MONTH",
	4: "DAY_OF_WEEK",
	5: "WEEK_OF_YEAR",
	6: "HOUR_OF_DAY",
}
View Source
var TimePartConfig_TimePart_value = map[string]int32{
	"TIME_PART_UNSPECIFIED": 0,
	"YEAR":                  1,
	"MONTH":                 2,
	"DAY_OF_MONTH":          3,
	"DAY_OF_WEEK":           4,
	"WEEK_OF_YEAR":          5,
	"HOUR_OF_DAY":           6,
}
View Source
var TransformationSummary_TransformationResultCode_name = map[int32]string{
	0: "TRANSFORMATION_RESULT_CODE_UNSPECIFIED",
	1: "SUCCESS",
	2: "ERROR",
}
View Source
var TransformationSummary_TransformationResultCode_value = map[string]int32{
	"TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
	"SUCCESS":                                1,
	"ERROR":                                  2,
}

Functions

func RegisterDlpServiceServer

func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer)

Types

type Action

type Action struct {
	// Types that are valid to be assigned to Action:
	//	*Action_SaveFindings_
	//	*Action_PubSub
	//	*Action_PublishSummaryToCscc_
	//	*Action_PublishFindingsToCloudDataCatalog_
	//	*Action_JobNotificationEmails_
	//	*Action_PublishToStackdriver_
	Action               isAction_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.

func (*Action) Descriptor

func (*Action) Descriptor() ([]byte, []int)

func (*Action) GetAction

func (m *Action) GetAction() isAction_Action

func (*Action) GetJobNotificationEmails

func (m *Action) GetJobNotificationEmails() *Action_JobNotificationEmails

func (*Action) GetPubSub

func (m *Action) GetPubSub() *Action_PublishToPubSub

func (*Action) GetPublishFindingsToCloudDataCatalog

func (m *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog

func (*Action) GetPublishSummaryToCscc

func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc

func (*Action) GetPublishToStackdriver

func (m *Action) GetPublishToStackdriver() *Action_PublishToStackdriver

func (*Action) GetSaveFindings

func (m *Action) GetSaveFindings() *Action_SaveFindings

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) Reset

func (m *Action) Reset()

func (*Action) String

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal

func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action) XXX_Merge

func (m *Action) XXX_Merge(src proto.Message)

func (*Action) XXX_OneofWrappers

func (*Action) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Action) XXX_Size

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal

func (m *Action) XXX_Unmarshal(b []byte) error

type Action_JobNotificationEmails

type Action_JobNotificationEmails struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Enable email notification to project owners and editors on jobs's completion/failure.

func (*Action_JobNotificationEmails) Descriptor

func (*Action_JobNotificationEmails) Descriptor() ([]byte, []int)

func (*Action_JobNotificationEmails) ProtoMessage

func (*Action_JobNotificationEmails) ProtoMessage()

func (*Action_JobNotificationEmails) Reset

func (m *Action_JobNotificationEmails) Reset()

func (*Action_JobNotificationEmails) String

func (*Action_JobNotificationEmails) XXX_DiscardUnknown

func (m *Action_JobNotificationEmails) XXX_DiscardUnknown()

func (*Action_JobNotificationEmails) XXX_Marshal

func (m *Action_JobNotificationEmails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action_JobNotificationEmails) XXX_Merge

func (m *Action_JobNotificationEmails) XXX_Merge(src proto.Message)

func (*Action_JobNotificationEmails) XXX_Size

func (m *Action_JobNotificationEmails) XXX_Size() int

func (*Action_JobNotificationEmails) XXX_Unmarshal

func (m *Action_JobNotificationEmails) XXX_Unmarshal(b []byte) error

type Action_JobNotificationEmails_

type Action_JobNotificationEmails_ struct {
	JobNotificationEmails *Action_JobNotificationEmails `protobuf:"bytes,8,opt,name=job_notification_emails,json=jobNotificationEmails,proto3,oneof"`
}

type Action_PubSub

type Action_PubSub struct {
	PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"`
}

type Action_PublishFindingsToCloudDataCatalog

type Action_PublishFindingsToCloudDataCatalog struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the results of the DlpJob will be applied to the entry for the resource scanned in Cloud Data Catalog. Any labels previously written by another DlpJob will be deleted. InfoType naming patterns are strictly enforced when using this feature. Note that the findings will be persisted in Cloud Data Catalog storage and are governed by Data Catalog service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified and only allowed if all resources being scanned are BigQuery tables. Compatible with: Inspect

func (*Action_PublishFindingsToCloudDataCatalog) Descriptor

func (*Action_PublishFindingsToCloudDataCatalog) Descriptor() ([]byte, []int)

func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage

func (*Action_PublishFindingsToCloudDataCatalog) Reset

func (*Action_PublishFindingsToCloudDataCatalog) String

func (*Action_PublishFindingsToCloudDataCatalog) XXX_DiscardUnknown

func (m *Action_PublishFindingsToCloudDataCatalog) XXX_DiscardUnknown()

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Marshal

func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Merge

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Size

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Unmarshal

func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Unmarshal(b []byte) error

type Action_PublishFindingsToCloudDataCatalog_

type Action_PublishFindingsToCloudDataCatalog_ struct {
	PublishFindingsToCloudDataCatalog *Action_PublishFindingsToCloudDataCatalog `protobuf:"bytes,5,opt,name=publish_findings_to_cloud_data_catalog,json=publishFindingsToCloudDataCatalog,proto3,oneof"`
}

type Action_PublishSummaryToCscc

type Action_PublishSummaryToCscc struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). This action is only available for projects which are parts of an organization and whitelisted for the alpha Cloud Security Command Center. The action will publish count of finding instances and their info types. The summary of findings will be persisted in CSCC and are governed by CSCC service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified. Compatible with: Inspect

func (*Action_PublishSummaryToCscc) Descriptor

func (*Action_PublishSummaryToCscc) Descriptor() ([]byte, []int)

func (*Action_PublishSummaryToCscc) ProtoMessage

func (*Action_PublishSummaryToCscc) ProtoMessage()

func (*Action_PublishSummaryToCscc) Reset

func (m *Action_PublishSummaryToCscc) Reset()

func (*Action_PublishSummaryToCscc) String

func (m *Action_PublishSummaryToCscc) String() string

func (*Action_PublishSummaryToCscc) XXX_DiscardUnknown

func (m *Action_PublishSummaryToCscc) XXX_DiscardUnknown()

func (*Action_PublishSummaryToCscc) XXX_Marshal

func (m *Action_PublishSummaryToCscc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action_PublishSummaryToCscc) XXX_Merge

func (m *Action_PublishSummaryToCscc) XXX_Merge(src proto.Message)

func (*Action_PublishSummaryToCscc) XXX_Size

func (m *Action_PublishSummaryToCscc) XXX_Size() int

func (*Action_PublishSummaryToCscc) XXX_Unmarshal

func (m *Action_PublishSummaryToCscc) XXX_Unmarshal(b []byte) error

type Action_PublishSummaryToCscc_

type Action_PublishSummaryToCscc_ struct {
	PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"`
}

type Action_PublishToPubSub

type Action_PublishToPubSub struct {
	// Cloud Pub/Sub topic to send notifications to. The topic must have given
	// publishing access rights to the DLP API service account executing
	// the long running DlpJob sending the notifications.
	// Format is projects/{project}/topics/{topic}.
	Topic                string   `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Publish a message into given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job's [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk

func (*Action_PublishToPubSub) Descriptor

func (*Action_PublishToPubSub) Descriptor() ([]byte, []int)

func (*Action_PublishToPubSub) GetTopic

func (m *Action_PublishToPubSub) GetTopic() string

func (*Action_PublishToPubSub) ProtoMessage

func (*Action_PublishToPubSub) ProtoMessage()

func (*Action_PublishToPubSub) Reset

func (m *Action_PublishToPubSub) Reset()

func (*Action_PublishToPubSub) String

func (m *Action_PublishToPubSub) String() string

func (*Action_PublishToPubSub) XXX_DiscardUnknown

func (m *Action_PublishToPubSub) XXX_DiscardUnknown()

func (*Action_PublishToPubSub) XXX_Marshal

func (m *Action_PublishToPubSub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action_PublishToPubSub) XXX_Merge

func (m *Action_PublishToPubSub) XXX_Merge(src proto.Message)

func (*Action_PublishToPubSub) XXX_Size

func (m *Action_PublishToPubSub) XXX_Size() int

func (*Action_PublishToPubSub) XXX_Unmarshal

func (m *Action_PublishToPubSub) XXX_Unmarshal(b []byte) error

type Action_PublishToStackdriver

type Action_PublishToStackdriver struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.

func (*Action_PublishToStackdriver) Descriptor

func (*Action_PublishToStackdriver) Descriptor() ([]byte, []int)

func (*Action_PublishToStackdriver) ProtoMessage

func (*Action_PublishToStackdriver) ProtoMessage()

func (*Action_PublishToStackdriver) Reset

func (m *Action_PublishToStackdriver) Reset()

func (*Action_PublishToStackdriver) String

func (m *Action_PublishToStackdriver) String() string

func (*Action_PublishToStackdriver) XXX_DiscardUnknown

func (m *Action_PublishToStackdriver) XXX_DiscardUnknown()

func (*Action_PublishToStackdriver) XXX_Marshal

func (m *Action_PublishToStackdriver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action_PublishToStackdriver) XXX_Merge

func (m *Action_PublishToStackdriver) XXX_Merge(src proto.Message)

func (*Action_PublishToStackdriver) XXX_Size

func (m *Action_PublishToStackdriver) XXX_Size() int

func (*Action_PublishToStackdriver) XXX_Unmarshal

func (m *Action_PublishToStackdriver) XXX_Unmarshal(b []byte) error

type Action_PublishToStackdriver_

type Action_PublishToStackdriver_ struct {
	PublishToStackdriver *Action_PublishToStackdriver `protobuf:"bytes,9,opt,name=publish_to_stackdriver,json=publishToStackdriver,proto3,oneof"`
}

type Action_SaveFindings

type Action_SaveFindings struct {
	// Location to store findings outside of DLP.
	OutputConfig         *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk

func (*Action_SaveFindings) Descriptor

func (*Action_SaveFindings) Descriptor() ([]byte, []int)

func (*Action_SaveFindings) GetOutputConfig

func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig

func (*Action_SaveFindings) ProtoMessage

func (*Action_SaveFindings) ProtoMessage()

func (*Action_SaveFindings) Reset

func (m *Action_SaveFindings) Reset()

func (*Action_SaveFindings) String

func (m *Action_SaveFindings) String() string

func (*Action_SaveFindings) XXX_DiscardUnknown

func (m *Action_SaveFindings) XXX_DiscardUnknown()

func (*Action_SaveFindings) XXX_Marshal

func (m *Action_SaveFindings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action_SaveFindings) XXX_Merge

func (m *Action_SaveFindings) XXX_Merge(src proto.Message)

func (*Action_SaveFindings) XXX_Size

func (m *Action_SaveFindings) XXX_Size() int

func (*Action_SaveFindings) XXX_Unmarshal

func (m *Action_SaveFindings) XXX_Unmarshal(b []byte) error

type Action_SaveFindings_

type Action_SaveFindings_ struct {
	SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"`
}

type ActivateJobTriggerRequest

type ActivateJobTriggerRequest struct {
	// Required. Resource name of the trigger to activate, for example
	// `projects/dlp-test-project/jobTriggers/53234423`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ActivateJobTrigger.

func (*ActivateJobTriggerRequest) Descriptor

func (*ActivateJobTriggerRequest) Descriptor() ([]byte, []int)

func (*ActivateJobTriggerRequest) GetName

func (m *ActivateJobTriggerRequest) GetName() string

func (*ActivateJobTriggerRequest) ProtoMessage

func (*ActivateJobTriggerRequest) ProtoMessage()

func (*ActivateJobTriggerRequest) Reset

func (m *ActivateJobTriggerRequest) Reset()

func (*ActivateJobTriggerRequest) String

func (m *ActivateJobTriggerRequest) String() string

func (*ActivateJobTriggerRequest) XXX_DiscardUnknown

func (m *ActivateJobTriggerRequest) XXX_DiscardUnknown()

func (*ActivateJobTriggerRequest) XXX_Marshal

func (m *ActivateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivateJobTriggerRequest) XXX_Merge

func (m *ActivateJobTriggerRequest) XXX_Merge(src proto.Message)

func (*ActivateJobTriggerRequest) XXX_Size

func (m *ActivateJobTriggerRequest) XXX_Size() int

func (*ActivateJobTriggerRequest) XXX_Unmarshal

func (m *ActivateJobTriggerRequest) XXX_Unmarshal(b []byte) error

type AnalyzeDataSourceRiskDetails

type AnalyzeDataSourceRiskDetails struct {
	// Privacy metric to compute.
	RequestedPrivacyMetric *PrivacyMetric `` /* 129-byte string literal not displayed */
	// Input dataset to compute metrics over.
	RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"`
	// Values associated with this metric.
	//
	// Types that are valid to be assigned to Result:
	//	*AnalyzeDataSourceRiskDetails_NumericalStatsResult_
	//	*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_
	//	*AnalyzeDataSourceRiskDetails_KAnonymityResult_
	//	*AnalyzeDataSourceRiskDetails_LDiversityResult_
	//	*AnalyzeDataSourceRiskDetails_KMapEstimationResult_
	//	*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_
	Result               isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Result of a risk analysis operation request.

func (*AnalyzeDataSourceRiskDetails) Descriptor

func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int)

func (*AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult

func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult

func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric

func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric

func (*AnalyzeDataSourceRiskDetails) GetRequestedSourceTable

func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable

func (*AnalyzeDataSourceRiskDetails) GetResult

func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result

func (*AnalyzeDataSourceRiskDetails) ProtoMessage

func (*AnalyzeDataSourceRiskDetails) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails) Reset

func (m *AnalyzeDataSourceRiskDetails) Reset()

func (*AnalyzeDataSourceRiskDetails) String

func (*AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown

func (m *AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails) XXX_Merge

func (m *AnalyzeDataSourceRiskDetails) XXX_Merge(src proto.Message)

func (*AnalyzeDataSourceRiskDetails) XXX_OneofWrappers

func (*AnalyzeDataSourceRiskDetails) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnalyzeDataSourceRiskDetails) XXX_Size

func (m *AnalyzeDataSourceRiskDetails) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails) XXX_Unmarshal

func (m *AnalyzeDataSourceRiskDetails) XXX_Unmarshal(b []byte) error

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct {
	// Histogram of value frequencies in the column.
	ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral           struct{}                                                                               `json:"-"`
	XXX_unrecognized               []byte                                                                                 `json:"-"`
	XXX_sizecache                  int32                                                                                  `json:"-"`
}

Result of the categorical stats computation.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ struct {
	CategoricalStatsResult *AnalyzeDataSourceRiskDetails_CategoricalStatsResult `protobuf:"bytes,4,opt,name=categorical_stats_result,json=categoricalStatsResult,proto3,oneof"`
}

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct {
	// Lower bound on the value frequency of the values in this bucket.
	ValueFrequencyLowerBound int64 `` /* 138-byte string literal not displayed */
	// Upper bound on the value frequency of the values in this bucket.
	ValueFrequencyUpperBound int64 `` /* 138-byte string literal not displayed */
	// Total number of values in this bucket.
	BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
	// Sample of value frequencies in this bucket. The total number of
	// values returned per bucket is capped at 20.
	BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
	// Total number of distinct values in this bucket.
	BucketValueCount     int64    `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Histogram of value frequencies in the column.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Size

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct {
	// The intervals [min_probability, max_probability) do not overlap. If a
	// value doesn't correspond to any such interval, the associated frequency
	// is zero. For example, the following records:
	//   {min_probability: 0, max_probability: 0.1, frequency: 17}
	//   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
	//   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
	// mean that there are no record with an estimated probability in [0.1, 0.2)
	// nor larger or equal to 0.4.
	DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral             struct{}                                                                                             `json:"-"`
	XXX_unrecognized                 []byte                                                                                               `json:"-"`
	XXX_sizecache                    int32                                                                                                `json:"-"`
}

Result of the δ-presence computation. Note that these results are an estimation, not exact values.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Size

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ struct {
	DeltaPresenceEstimationResult *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult `protobuf:"bytes,9,opt,name=delta_presence_estimation_result,json=deltaPresenceEstimationResult,proto3,oneof"`
}

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket struct {
	// Between 0 and 1.
	MinProbability float64 `protobuf:"fixed64,1,opt,name=min_probability,json=minProbability,proto3" json:"min_probability,omitempty"`
	// Always greater than or equal to min_probability.
	MaxProbability float64 `protobuf:"fixed64,2,opt,name=max_probability,json=maxProbability,proto3" json:"max_probability,omitempty"`
	// Number of records within these probability bounds.
	BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
	// Sample of quasi-identifier tuple values in this bucket. The total
	// number of classes returned per bucket is capped at 20.
	BucketValues []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
	// Total number of distinct quasi-identifier tuple values in this bucket.
	BucketValueCount     int64    `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A DeltaPresenceEstimationHistogramBucket message with the following values:

min_probability: 0.1
max_probability: 0.2
frequency: 42

means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min_probability = max_probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Size

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues struct {
	// The quasi-identifier values.
	QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
	// The estimated probability that a given individual sharing these
	// quasi-identifier values is in the dataset. This value, typically called
	// δ, is the ratio between the number of records in the dataset with these
	// quasi-identifier values, and the total number of individuals (inside
	// *and* outside the dataset) with these quasi-identifier values.
	// For example, if there are 15 individuals in the dataset who share the
	// same quasi-identifier values, and an estimated 100 people in the entire
	// population with these values, then δ is 0.15.
	EstimatedProbability float64  `protobuf:"fixed64,2,opt,name=estimated_probability,json=estimatedProbability,proto3" json:"estimated_probability,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A tuple of values for the quasi-identifier columns.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Size

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_KAnonymityResult

type AnalyzeDataSourceRiskDetails_KAnonymityResult struct {
	// Histogram of k-anonymity equivalence classes.
	EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral             struct{}                                                                   `json:"-"`
	XXX_unrecognized                 []byte                                                                     `json:"-"`
	XXX_sizecache                    int32                                                                      `json:"-"`
}

Result of the k-anonymity computation.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Size

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_KAnonymityResult_

type AnalyzeDataSourceRiskDetails_KAnonymityResult_ struct {
	KAnonymityResult *AnalyzeDataSourceRiskDetails_KAnonymityResult `protobuf:"bytes,5,opt,name=k_anonymity_result,json=kAnonymityResult,proto3,oneof"`
}

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass struct {
	// Set of values defining the equivalence class. One value per
	// quasi-identifier column in the original KAnonymity metric message.
	// The order is always the same as the original request.
	QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
	// Size of the equivalence class, for example number of rows with the
	// above set of values.
	EquivalenceClassSize int64    `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The set of columns' values that share the same ldiversity value

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Size

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct {
	// Lower bound on the size of the equivalence classes in this bucket.
	EquivalenceClassSizeLowerBound int64 `` /* 158-byte string literal not displayed */
	// Upper bound on the size of the equivalence classes in this bucket.
	EquivalenceClassSizeUpperBound int64 `` /* 158-byte string literal not displayed */
	// Total number of equivalence classes in this bucket.
	BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
	// Sample of equivalence classes in this bucket. The total number of
	// classes returned per bucket is capped at 20.
	BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
	// Total number of distinct equivalence classes in this bucket.
	BucketValueCount     int64    `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Histogram of k-anonymity equivalence classes.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Size

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_KMapEstimationResult

type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct {
	// The intervals [min_anonymity, max_anonymity] do not overlap. If a value
	// doesn't correspond to any such interval, the associated frequency is
	// zero. For example, the following records:
	//   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
	//   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
	//   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
	// mean that there are no record with an estimated anonymity of 4, 5, or
	// larger than 10.
	KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}                                                                           `json:"-"`
	XXX_unrecognized        []byte                                                                             `json:"-"`
	XXX_sizecache           int32                                                                              `json:"-"`
}

Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Size

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ struct {
	KMapEstimationResult *AnalyzeDataSourceRiskDetails_KMapEstimationResult `protobuf:"bytes,7,opt,name=k_map_estimation_result,json=kMapEstimationResult,proto3,oneof"`
}

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket struct {
	// Always positive.
	MinAnonymity int64 `protobuf:"varint,1,opt,name=min_anonymity,json=minAnonymity,proto3" json:"min_anonymity,omitempty"`
	// Always greater than or equal to min_anonymity.
	MaxAnonymity int64 `protobuf:"varint,2,opt,name=max_anonymity,json=maxAnonymity,proto3" json:"max_anonymity,omitempty"`
	// Number of records within these anonymity bounds.
	BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
	// Sample of quasi-identifier tuple values in this bucket. The total
	// number of classes returned per bucket is capped at 20.
	BucketValues []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
	// Total number of distinct quasi-identifier tuple values in this bucket.
	BucketValueCount     int64    `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A KMapEstimationHistogramBucket message with the following values:

min_anonymity: 3
max_anonymity: 5
frequency: 42

means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min_anonymity = max_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Size

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues struct {
	// The quasi-identifier values.
	QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
	// The estimated anonymity for these quasi-identifier values.
	EstimatedAnonymity   int64    `protobuf:"varint,2,opt,name=estimated_anonymity,json=estimatedAnonymity,proto3" json:"estimated_anonymity,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A tuple of values for the quasi-identifier columns.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Size

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_LDiversityResult

type AnalyzeDataSourceRiskDetails_LDiversityResult struct {
	// Histogram of l-diversity equivalence class sensitive value frequencies.
	SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `` /* 184-byte string literal not displayed */
	XXX_NoUnkeyedLiteral                    struct{}                                                                   `json:"-"`
	XXX_unrecognized                        []byte                                                                     `json:"-"`
	XXX_sizecache                           int32                                                                      `json:"-"`
}

Result of the l-diversity computation.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Size

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_LDiversityResult_

type AnalyzeDataSourceRiskDetails_LDiversityResult_ struct {
	LDiversityResult *AnalyzeDataSourceRiskDetails_LDiversityResult `protobuf:"bytes,6,opt,name=l_diversity_result,json=lDiversityResult,proto3,oneof"`
}

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct {
	// Quasi-identifier values defining the k-anonymity equivalence
	// class. The order is always the same as the original request.
	QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
	// Size of the k-anonymity equivalence class.
	EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"`
	// Number of distinct sensitive values in this equivalence class.
	NumDistinctSensitiveValues int64 `` /* 144-byte string literal not displayed */
	// Estimated frequencies of top sensitive values.
	TopSensitiveValues   []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

The set of columns' values that share the same ldiversity value.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Size

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct {
	// Lower bound on the sensitive value frequencies of the equivalence
	// classes in this bucket.
	SensitiveValueFrequencyLowerBound int64 `` /* 167-byte string literal not displayed */
	// Upper bound on the sensitive value frequencies of the equivalence
	// classes in this bucket.
	SensitiveValueFrequencyUpperBound int64 `` /* 167-byte string literal not displayed */
	// Total number of equivalence classes in this bucket.
	BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
	// Sample of equivalence classes in this bucket. The total number of
	// classes returned per bucket is capped at 20.
	BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
	// Total number of distinct equivalence classes in this bucket.
	BucketValueCount     int64    `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Histogram of l-diversity equivalence class sensitive value frequencies.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_DiscardUnknown

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Marshal

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Size

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_NumericalStatsResult

type AnalyzeDataSourceRiskDetails_NumericalStatsResult struct {
	// Minimum value appearing in the column.
	MinValue *Value `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// Maximum value appearing in the column.
	MaxValue *Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// List of 99 values that partition the set of field values into 100 equal
	// sized buckets.
	QuantileValues       []*Value `protobuf:"bytes,4,rep,name=quantile_values,json=quantileValues,proto3" json:"quantile_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Result of the numerical stats computation.

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Merge

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Unmarshal

type AnalyzeDataSourceRiskDetails_NumericalStatsResult_

type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ struct {
	NumericalStatsResult *AnalyzeDataSourceRiskDetails_NumericalStatsResult `protobuf:"bytes,3,opt,name=numerical_stats_result,json=numericalStatsResult,proto3,oneof"`
}

type BigQueryField

type BigQueryField struct {
	// Source table of the field.
	Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	// Designated field in the BigQuery table.
	Field                *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message defining a field of a BigQuery table.

func (*BigQueryField) Descriptor

func (*BigQueryField) Descriptor() ([]byte, []int)

func (*BigQueryField) GetField

func (m *BigQueryField) GetField() *FieldId

func (*BigQueryField) GetTable

func (m *BigQueryField) GetTable() *BigQueryTable

func (*BigQueryField) ProtoMessage

func (*BigQueryField) ProtoMessage()

func (*BigQueryField) Reset

func (m *BigQueryField) Reset()

func (*BigQueryField) String

func (m *BigQueryField) String() string

func (*BigQueryField) XXX_DiscardUnknown

func (m *BigQueryField) XXX_DiscardUnknown()

func (*BigQueryField) XXX_Marshal

func (m *BigQueryField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQueryField) XXX_Merge

func (m *BigQueryField) XXX_Merge(src proto.Message)

func (*BigQueryField) XXX_Size

func (m *BigQueryField) XXX_Size() int

func (*BigQueryField) XXX_Unmarshal

func (m *BigQueryField) XXX_Unmarshal(b []byte) error

type BigQueryKey

type BigQueryKey struct {
	// Complete BigQuery table reference.
	TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"`
	// Row number inferred at the time the table was scanned. This value is
	// nondeterministic, cannot be queried, and may be null for inspection
	// jobs. To locate findings within a table, specify
	// `inspect_job.storage_config.big_query_options.identifying_fields` in
	// `CreateDlpJobRequest`.
	RowNumber            int64    `protobuf:"varint,2,opt,name=row_number,json=rowNumber,proto3" json:"row_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Row key for identifying a record in BigQuery table.

func (*BigQueryKey) Descriptor

func (*BigQueryKey) Descriptor() ([]byte, []int)

func (*BigQueryKey) GetRowNumber

func (m *BigQueryKey) GetRowNumber() int64

func (*BigQueryKey) GetTableReference

func (m *BigQueryKey) GetTableReference() *BigQueryTable

func (*BigQueryKey) ProtoMessage

func (*BigQueryKey) ProtoMessage()

func (*BigQueryKey) Reset

func (m *BigQueryKey) Reset()

func (*BigQueryKey) String

func (m *BigQueryKey) String() string

func (*BigQueryKey) XXX_DiscardUnknown

func (m *BigQueryKey) XXX_DiscardUnknown()

func (*BigQueryKey) XXX_Marshal

func (m *BigQueryKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQueryKey) XXX_Merge

func (m *BigQueryKey) XXX_Merge(src proto.Message)

func (*BigQueryKey) XXX_Size

func (m *BigQueryKey) XXX_Size() int

func (*BigQueryKey) XXX_Unmarshal

func (m *BigQueryKey) XXX_Unmarshal(b []byte) error

type BigQueryOptions

type BigQueryOptions struct {
	// Complete BigQuery table reference.
	TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"`
	// Table fields that may uniquely identify a row within the table. When
	// `actions.saveFindings.outputConfig.table` is specified, the values of
	// columns specified here are available in the output table under
	// `location.content_locations.record_location.record_key.id_values`. Nested
	// fields such as `person.birthdate.year` are allowed.
	IdentifyingFields []*FieldId `protobuf:"bytes,2,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"`
	// Max number of rows to scan. If the table has more rows than this value, the
	// rest of the rows are omitted. If not set, or if set to 0, all rows will be
	// scanned. Only one of rows_limit and rows_limit_percent can be specified.
	// Cannot be used in conjunction with TimespanConfig.
	RowsLimit int64 `protobuf:"varint,3,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"`
	// Max percentage of rows to scan. The rest are omitted. The number of rows
	// scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
	// 100 means no limit. Defaults to 0. Only one of rows_limit and
	// rows_limit_percent can be specified. Cannot be used in conjunction with
	// TimespanConfig.
	RowsLimitPercent int32                        `protobuf:"varint,6,opt,name=rows_limit_percent,json=rowsLimitPercent,proto3" json:"rows_limit_percent,omitempty"`
	SampleMethod     BigQueryOptions_SampleMethod `` /* 154-byte string literal not displayed */
	// References to fields excluded from scanning. This allows you to skip
	// inspection of entire columns which you know have no findings.
	ExcludedFields       []*FieldId `protobuf:"bytes,5,rep,name=excluded_fields,json=excludedFields,proto3" json:"excluded_fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Options defining BigQuery table and row identifiers.

func (*BigQueryOptions) Descriptor

func (*BigQueryOptions) Descriptor() ([]byte, []int)

func (*BigQueryOptions) GetExcludedFields

func (m *BigQueryOptions) GetExcludedFields() []*FieldId

func (*BigQueryOptions) GetIdentifyingFields

func (m *BigQueryOptions) GetIdentifyingFields() []*FieldId

func (*BigQueryOptions) GetRowsLimit

func (m *BigQueryOptions) GetRowsLimit() int64

func (*BigQueryOptions) GetRowsLimitPercent

func (m *BigQueryOptions) GetRowsLimitPercent() int32

func (*BigQueryOptions) GetSampleMethod

func (m *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod

func (*BigQueryOptions) GetTableReference

func (m *BigQueryOptions) GetTableReference() *BigQueryTable

func (*BigQueryOptions) ProtoMessage

func (*BigQueryOptions) ProtoMessage()

func (*BigQueryOptions) Reset

func (m *BigQueryOptions) Reset()

func (*BigQueryOptions) String

func (m *BigQueryOptions) String() string

func (*BigQueryOptions) XXX_DiscardUnknown

func (m *BigQueryOptions) XXX_DiscardUnknown()

func (*BigQueryOptions) XXX_Marshal

func (m *BigQueryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQueryOptions) XXX_Merge

func (m *BigQueryOptions) XXX_Merge(src proto.Message)

func (*BigQueryOptions) XXX_Size

func (m *BigQueryOptions) XXX_Size() int

func (*BigQueryOptions) XXX_Unmarshal

func (m *BigQueryOptions) XXX_Unmarshal(b []byte) error

type BigQueryOptions_SampleMethod

type BigQueryOptions_SampleMethod int32

How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, scanning would start from the top.

const (
	BigQueryOptions_SAMPLE_METHOD_UNSPECIFIED BigQueryOptions_SampleMethod = 0
	// Scan from the top (default).
	BigQueryOptions_TOP BigQueryOptions_SampleMethod = 1
	// Randomly pick the row to start scanning. The scanned rows are contiguous.
	BigQueryOptions_RANDOM_START BigQueryOptions_SampleMethod = 2
)

func (BigQueryOptions_SampleMethod) EnumDescriptor

func (BigQueryOptions_SampleMethod) EnumDescriptor() ([]byte, []int)

func (BigQueryOptions_SampleMethod) String

type BigQueryTable

type BigQueryTable struct {
	// The Google Cloud Platform project ID of the project containing the table.
	// If omitted, project ID is inferred from the API call.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Dataset ID of the table.
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// Name of the table.
	TableId              string   `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: `<project_id>:<dataset_id>.<table_id>` or `<project_id>.<dataset_id>.<table_id>`.

func (*BigQueryTable) Descriptor

func (*BigQueryTable) Descriptor() ([]byte, []int)

func (*BigQueryTable) GetDatasetId

func (m *BigQueryTable) GetDatasetId() string

func (*BigQueryTable) GetProjectId

func (m *BigQueryTable) GetProjectId() string

func (*BigQueryTable) GetTableId

func (m *BigQueryTable) GetTableId() string

func (*BigQueryTable) ProtoMessage

func (*BigQueryTable) ProtoMessage()

func (*BigQueryTable) Reset

func (m *BigQueryTable) Reset()

func (*BigQueryTable) String

func (m *BigQueryTable) String() string

func (*BigQueryTable) XXX_DiscardUnknown

func (m *BigQueryTable) XXX_DiscardUnknown()

func (*BigQueryTable) XXX_Marshal

func (m *BigQueryTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BigQueryTable) XXX_Merge

func (m *BigQueryTable) XXX_Merge(src proto.Message)

func (*BigQueryTable) XXX_Size

func (m *BigQueryTable) XXX_Size() int

func (*BigQueryTable) XXX_Unmarshal

func (m *BigQueryTable) XXX_Unmarshal(b []byte) error

type BoundingBox

type BoundingBox struct {
	// Top coordinate of the bounding box. (0,0) is upper left.
	Top int32 `protobuf:"varint,1,opt,name=top,proto3" json:"top,omitempty"`
	// Left coordinate of the bounding box. (0,0) is upper left.
	Left int32 `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"`
	// Width of the bounding box in pixels.
	Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	// Height of the bounding box in pixels.
	Height               int32    `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Bounding box encompassing detected text within an image.

func (*BoundingBox) Descriptor

func (*BoundingBox) Descriptor() ([]byte, []int)

func (*BoundingBox) GetHeight

func (m *BoundingBox) GetHeight() int32

func (*BoundingBox) GetLeft

func (m *BoundingBox) GetLeft() int32

func (*BoundingBox) GetTop

func (m *BoundingBox) GetTop() int32

func (*BoundingBox) GetWidth

func (m *BoundingBox) GetWidth() int32

func (*BoundingBox) ProtoMessage

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) Reset

func (m *BoundingBox) Reset()

func (*BoundingBox) String

func (m *BoundingBox) String() string

func (*BoundingBox) XXX_DiscardUnknown

func (m *BoundingBox) XXX_DiscardUnknown()

func (*BoundingBox) XXX_Marshal

func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoundingBox) XXX_Merge

func (m *BoundingBox) XXX_Merge(src proto.Message)

func (*BoundingBox) XXX_Size

func (m *BoundingBox) XXX_Size() int

func (*BoundingBox) XXX_Unmarshal

func (m *BoundingBox) XXX_Unmarshal(b []byte) error

type BucketingConfig

type BucketingConfig struct {
	// Set of buckets. Ranges must be non-overlapping.
	Buckets              []*BucketingConfig_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, timestamp. If the bound `Value` type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.

func (*BucketingConfig) Descriptor

func (*BucketingConfig) Descriptor() ([]byte, []int)

func (*BucketingConfig) GetBuckets

func (m *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket

func (*BucketingConfig) ProtoMessage

func (*BucketingConfig) ProtoMessage()

func (*BucketingConfig) Reset

func (m *BucketingConfig) Reset()

func (*BucketingConfig) String

func (m *BucketingConfig) String() string

func (*BucketingConfig) XXX_DiscardUnknown

func (m *BucketingConfig) XXX_DiscardUnknown()

func (*BucketingConfig) XXX_Marshal

func (m *BucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BucketingConfig) XXX_Merge

func (m *BucketingConfig) XXX_Merge(src proto.Message)

func (*BucketingConfig) XXX_Size

func (m *BucketingConfig) XXX_Size() int

func (*BucketingConfig) XXX_Unmarshal

func (m *BucketingConfig) XXX_Unmarshal(b []byte) error

type BucketingConfig_Bucket

type BucketingConfig_Bucket struct {
	// Lower bound of the range, inclusive. Type should be the same as max if
	// used.
	Min *Value `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"`
	// Upper bound of the range, exclusive; type must match min.
	Max *Value `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"`
	// Replacement value for this bucket. If not provided
	// the default behavior will be to hyphenate the min-max range.
	ReplacementValue     *Value   `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Bucket is represented as a range, along with replacement values.

func (*BucketingConfig_Bucket) Descriptor

func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int)

func (*BucketingConfig_Bucket) GetMax

func (m *BucketingConfig_Bucket) GetMax() *Value

func (*BucketingConfig_Bucket) GetMin

func (m *BucketingConfig_Bucket) GetMin() *Value

func (*BucketingConfig_Bucket) GetReplacementValue

func (m *BucketingConfig_Bucket) GetReplacementValue() *Value

func (*BucketingConfig_Bucket) ProtoMessage

func (*BucketingConfig_Bucket) ProtoMessage()

func (*BucketingConfig_Bucket) Reset

func (m *BucketingConfig_Bucket) Reset()

func (*BucketingConfig_Bucket) String

func (m *BucketingConfig_Bucket) String() string

func (*BucketingConfig_Bucket) XXX_DiscardUnknown

func (m *BucketingConfig_Bucket) XXX_DiscardUnknown()

func (*BucketingConfig_Bucket) XXX_Marshal

func (m *BucketingConfig_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BucketingConfig_Bucket) XXX_Merge

func (m *BucketingConfig_Bucket) XXX_Merge(src proto.Message)

func (*BucketingConfig_Bucket) XXX_Size

func (m *BucketingConfig_Bucket) XXX_Size() int

func (*BucketingConfig_Bucket) XXX_Unmarshal

func (m *BucketingConfig_Bucket) XXX_Unmarshal(b []byte) error

type ByteContentItem

type ByteContentItem struct {
	// The type of data stored in the bytes string. Default will be TEXT_UTF8.
	Type ByteContentItem_BytesType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.ByteContentItem_BytesType" json:"type,omitempty"`
	// Content data to inspect or redact.
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Container for bytes to inspect or redact.

func (*ByteContentItem) Descriptor

func (*ByteContentItem) Descriptor() ([]byte, []int)

func (*ByteContentItem) GetData

func (m *ByteContentItem) GetData() []byte

func (*ByteContentItem) GetType

func (*ByteContentItem) ProtoMessage

func (*ByteContentItem) ProtoMessage()

func (*ByteContentItem) Reset

func (m *ByteContentItem) Reset()

func (*ByteContentItem) String

func (m *ByteContentItem) String() string

func (*ByteContentItem) XXX_DiscardUnknown

func (m *ByteContentItem) XXX_DiscardUnknown()

func (*ByteContentItem) XXX_Marshal

func (m *ByteContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ByteContentItem) XXX_Merge

func (m *ByteContentItem) XXX_Merge(src proto.Message)

func (*ByteContentItem) XXX_Size

func (m *ByteContentItem) XXX_Size() int

func (*ByteContentItem) XXX_Unmarshal

func (m *ByteContentItem) XXX_Unmarshal(b []byte) error

type ByteContentItem_BytesType

type ByteContentItem_BytesType int32

The type of data being sent for inspection.

const (
	// Unused
	ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0
	// Any image type.
	ByteContentItem_IMAGE ByteContentItem_BytesType = 6
	// jpeg
	ByteContentItem_IMAGE_JPEG ByteContentItem_BytesType = 1
	// bmp
	ByteContentItem_IMAGE_BMP ByteContentItem_BytesType = 2
	// png
	ByteContentItem_IMAGE_PNG ByteContentItem_BytesType = 3
	// svg
	ByteContentItem_IMAGE_SVG ByteContentItem_BytesType = 4
	// plain text
	ByteContentItem_TEXT_UTF8 ByteContentItem_BytesType = 5
	// docx, docm, dotx, dotm
	ByteContentItem_WORD_DOCUMENT ByteContentItem_BytesType = 7
	// pdf
	ByteContentItem_PDF ByteContentItem_BytesType = 8
	// avro
	ByteContentItem_AVRO ByteContentItem_BytesType = 11
)

func (ByteContentItem_BytesType) EnumDescriptor

func (ByteContentItem_BytesType) EnumDescriptor() ([]byte, []int)

func (ByteContentItem_BytesType) String

func (x ByteContentItem_BytesType) String() string

type CancelDlpJobRequest

type CancelDlpJobRequest struct {
	// Required. The name of the DlpJob resource to be cancelled.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request message for canceling a DLP job.

func (*CancelDlpJobRequest) Descriptor

func (*CancelDlpJobRequest) Descriptor() ([]byte, []int)

func (*CancelDlpJobRequest) GetName

func (m *CancelDlpJobRequest) GetName() string

func (*CancelDlpJobRequest) ProtoMessage

func (*CancelDlpJobRequest) ProtoMessage()

func (*CancelDlpJobRequest) Reset

func (m *CancelDlpJobRequest) Reset()

func (*CancelDlpJobRequest) String

func (m *CancelDlpJobRequest) String() string

func (*CancelDlpJobRequest) XXX_DiscardUnknown

func (m *CancelDlpJobRequest) XXX_DiscardUnknown()

func (*CancelDlpJobRequest) XXX_Marshal

func (m *CancelDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelDlpJobRequest) XXX_Merge

func (m *CancelDlpJobRequest) XXX_Merge(src proto.Message)

func (*CancelDlpJobRequest) XXX_Size

func (m *CancelDlpJobRequest) XXX_Size() int

func (*CancelDlpJobRequest) XXX_Unmarshal

func (m *CancelDlpJobRequest) XXX_Unmarshal(b []byte) error

type CharacterMaskConfig

type CharacterMaskConfig struct {
	// Character to use to mask the sensitive values&mdash;for example, `*` for an
	// alphabetic string such as a name, or `0` for a numeric string such as ZIP
	// code or credit card number. This string must have a length of 1. If not
	// supplied, this value defaults to `*` for strings, and `0` for digits.
	MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter,proto3" json:"masking_character,omitempty"`
	// Number of characters to mask. If not set, all matching chars will be
	// masked. Skipped characters do not count towards this tally.
	NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask,proto3" json:"number_to_mask,omitempty"`
	// Mask characters in reverse order. For example, if `masking_character` is
	// `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
	// input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
	// If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
	// is `true`, then the string `12345` is masked as `12***`.
	ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder,proto3" json:"reverse_order,omitempty"`
	// When masking a string, items in this list will be skipped when replacing
	// characters. For example, if the input string is `555-555-5555` and you
	// instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
	// returns `***-**5-5555`.
	CharactersToIgnore   []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore,proto3" json:"characters_to_ignore,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3.

func (*CharacterMaskConfig) Descriptor

func (*CharacterMaskConfig) Descriptor() ([]byte, []int)

func (*CharacterMaskConfig) GetCharactersToIgnore

func (m *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore

func (*CharacterMaskConfig) GetMaskingCharacter

func (m *CharacterMaskConfig) GetMaskingCharacter() string

func (*CharacterMaskConfig) GetNumberToMask

func (m *CharacterMaskConfig) GetNumberToMask() int32

func (*CharacterMaskConfig) GetReverseOrder

func (m *CharacterMaskConfig) GetReverseOrder() bool

func (*CharacterMaskConfig) ProtoMessage

func (*CharacterMaskConfig) ProtoMessage()

func (*CharacterMaskConfig) Reset

func (m *CharacterMaskConfig) Reset()

func (*CharacterMaskConfig) String

func (m *CharacterMaskConfig) String() string

func (*CharacterMaskConfig) XXX_DiscardUnknown

func (m *CharacterMaskConfig) XXX_DiscardUnknown()

func (*CharacterMaskConfig) XXX_Marshal

func (m *CharacterMaskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CharacterMaskConfig) XXX_Merge

func (m *CharacterMaskConfig) XXX_Merge(src proto.Message)

func (*CharacterMaskConfig) XXX_Size

func (m *CharacterMaskConfig) XXX_Size() int

func (*CharacterMaskConfig) XXX_Unmarshal

func (m *CharacterMaskConfig) XXX_Unmarshal(b []byte) error

type CharsToIgnore

type CharsToIgnore struct {
	// Types that are valid to be assigned to Characters:
	//	*CharsToIgnore_CharactersToSkip
	//	*CharsToIgnore_CommonCharactersToIgnore
	Characters           isCharsToIgnore_Characters `protobuf_oneof:"characters"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Characters to skip when doing deidentification of a value. These will be left alone and skipped.

func (*CharsToIgnore) Descriptor

func (*CharsToIgnore) Descriptor() ([]byte, []int)

func (*CharsToIgnore) GetCharacters

func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters

func (*CharsToIgnore) GetCharactersToSkip

func (m *CharsToIgnore) GetCharactersToSkip() string

func (*CharsToIgnore) GetCommonCharactersToIgnore

func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore

func (*CharsToIgnore) ProtoMessage

func (*CharsToIgnore) ProtoMessage()

func (*CharsToIgnore) Reset

func (m *CharsToIgnore) Reset()

func (*CharsToIgnore) String

func (m *CharsToIgnore) String() string

func (*CharsToIgnore) XXX_DiscardUnknown

func (m *CharsToIgnore) XXX_DiscardUnknown()

func (*CharsToIgnore) XXX_Marshal

func (m *CharsToIgnore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CharsToIgnore) XXX_Merge

func (m *CharsToIgnore) XXX_Merge(src proto.Message)

func (*CharsToIgnore) XXX_OneofWrappers

func (*CharsToIgnore) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CharsToIgnore) XXX_Size

func (m *CharsToIgnore) XXX_Size() int

func (*CharsToIgnore) XXX_Unmarshal

func (m *CharsToIgnore) XXX_Unmarshal(b []byte) error

type CharsToIgnore_CharactersToSkip

type CharsToIgnore_CharactersToSkip struct {
	CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,proto3,oneof"`
}

type CharsToIgnore_CommonCharactersToIgnore

type CharsToIgnore_CommonCharactersToIgnore struct {
	CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `` /* 160-byte string literal not displayed */
}

type CharsToIgnore_CommonCharsToIgnore

type CharsToIgnore_CommonCharsToIgnore int32

Convenience enum for indication common characters to not transform.

const (
	// Unused.
	CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED CharsToIgnore_CommonCharsToIgnore = 0
	// 0-9
	CharsToIgnore_NUMERIC CharsToIgnore_CommonCharsToIgnore = 1
	// A-Z
	CharsToIgnore_ALPHA_UPPER_CASE CharsToIgnore_CommonCharsToIgnore = 2
	// a-z
	CharsToIgnore_ALPHA_LOWER_CASE CharsToIgnore_CommonCharsToIgnore = 3
	// US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
	CharsToIgnore_PUNCTUATION CharsToIgnore_CommonCharsToIgnore = 4
	// Whitespace character, one of [ \t\n\x0B\f\r]
	CharsToIgnore_WHITESPACE CharsToIgnore_CommonCharsToIgnore = 5
)

func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor

func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int)

func (CharsToIgnore_CommonCharsToIgnore) String

type CloudStorageFileSet

type CloudStorageFileSet struct {
	// The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
	// path is allowed.
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message representing a set of files in Cloud Storage.

func (*CloudStorageFileSet) Descriptor

func (*CloudStorageFileSet) Descriptor() ([]byte, []int)

func (*CloudStorageFileSet) GetUrl

func (m *CloudStorageFileSet) GetUrl() string

func (*CloudStorageFileSet) ProtoMessage

func (*CloudStorageFileSet) ProtoMessage()

func (*CloudStorageFileSet) Reset

func (m *CloudStorageFileSet) Reset()

func (*CloudStorageFileSet) String

func (m *CloudStorageFileSet) String() string

func (*CloudStorageFileSet) XXX_DiscardUnknown

func (m *CloudStorageFileSet) XXX_DiscardUnknown()

func (*CloudStorageFileSet) XXX_Marshal

func (m *CloudStorageFileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudStorageFileSet) XXX_Merge

func (m *CloudStorageFileSet) XXX_Merge(src proto.Message)

func (*CloudStorageFileSet) XXX_Size

func (m *CloudStorageFileSet) XXX_Size() int

func (*CloudStorageFileSet) XXX_Unmarshal

func (m *CloudStorageFileSet) XXX_Unmarshal(b []byte) error

type CloudStorageOptions

type CloudStorageOptions struct {
	// The set of one or more files to scan.
	FileSet *CloudStorageOptions_FileSet `protobuf:"bytes,1,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"`
	// Max number of bytes to scan from a file. If a scanned file's size is bigger
	// than this value then the rest of the bytes are omitted. Only one
	// of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
	BytesLimitPerFile int64 `protobuf:"varint,4,opt,name=bytes_limit_per_file,json=bytesLimitPerFile,proto3" json:"bytes_limit_per_file,omitempty"`
	// Max percentage of bytes to scan from a file. The rest are omitted. The
	// number of bytes scanned is rounded down. Must be between 0 and 100,
	// inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one
	// of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
	BytesLimitPerFilePercent int32 `` /* 140-byte string literal not displayed */
	// List of file type groups to include in the scan.
	// If empty, all files are scanned and available data format processors
	// are applied. In addition, the binary content of the selected files
	// is always scanned as well.
	// Images are scanned only as binary if the specified region
	// does not support image inspection and no file_types were specified.
	// Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
	FileTypes    []FileType                       `` /* 132-byte string literal not displayed */
	SampleMethod CloudStorageOptions_SampleMethod `` /* 158-byte string literal not displayed */
	// Limits the number of files to scan to this percentage of the input FileSet.
	// Number of files scanned is rounded down. Must be between 0 and 100,
	// inclusively. Both 0 and 100 means no limit. Defaults to 0.
	FilesLimitPercent    int32    `protobuf:"varint,7,opt,name=files_limit_percent,json=filesLimitPercent,proto3" json:"files_limit_percent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Options defining a file or a set of files within a Google Cloud Storage bucket.

func (*CloudStorageOptions) Descriptor

func (*CloudStorageOptions) Descriptor() ([]byte, []int)

func (*CloudStorageOptions) GetBytesLimitPerFile

func (m *CloudStorageOptions) GetBytesLimitPerFile() int64

func (*CloudStorageOptions) GetBytesLimitPerFilePercent

func (m *CloudStorageOptions) GetBytesLimitPerFilePercent() int32

func (*CloudStorageOptions) GetFileSet

func (*CloudStorageOptions) GetFileTypes

func (m *CloudStorageOptions) GetFileTypes() []FileType

func (*CloudStorageOptions) GetFilesLimitPercent

func (m *CloudStorageOptions) GetFilesLimitPercent() int32

func (*CloudStorageOptions) GetSampleMethod

func (*CloudStorageOptions) ProtoMessage

func (*CloudStorageOptions) ProtoMessage()

func (*CloudStorageOptions) Reset

func (m *CloudStorageOptions) Reset()

func (*CloudStorageOptions) String

func (m *CloudStorageOptions) String() string

func (*CloudStorageOptions) XXX_DiscardUnknown

func (m *CloudStorageOptions) XXX_DiscardUnknown()

func (*CloudStorageOptions) XXX_Marshal

func (m *CloudStorageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudStorageOptions) XXX_Merge

func (m *CloudStorageOptions) XXX_Merge(src proto.Message)

func (*CloudStorageOptions) XXX_Size

func (m *CloudStorageOptions) XXX_Size() int

func (*CloudStorageOptions) XXX_Unmarshal

func (m *CloudStorageOptions) XXX_Unmarshal(b []byte) error

type CloudStorageOptions_FileSet

type CloudStorageOptions_FileSet struct {
	// The Cloud Storage url of the file(s) to scan, in the format
	// `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
	//
	// If the url ends in a trailing slash, the bucket or directory represented
	// by the url will be scanned non-recursively (content in sub-directories
	// will not be scanned). This means that `gs://mybucket/` is equivalent to
	// `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
	// `gs://mybucket/directory/*`.
	//
	// Exactly one of `url` or `regex_file_set` must be set.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The regex-filtered set of files to scan. Exactly one of `url` or
	// `regex_file_set` must be set.
	RegexFileSet         *CloudStorageRegexFileSet `protobuf:"bytes,2,opt,name=regex_file_set,json=regexFileSet,proto3" json:"regex_file_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Set of files to scan.

func (*CloudStorageOptions_FileSet) Descriptor

func (*CloudStorageOptions_FileSet) Descriptor() ([]byte, []int)

func (*CloudStorageOptions_FileSet) GetRegexFileSet

func (*CloudStorageOptions_FileSet) GetUrl

func (m *CloudStorageOptions_FileSet) GetUrl() string

func (*CloudStorageOptions_FileSet) ProtoMessage

func (*CloudStorageOptions_FileSet) ProtoMessage()

func (*CloudStorageOptions_FileSet) Reset

func (m *CloudStorageOptions_FileSet) Reset()

func (*CloudStorageOptions_FileSet) String

func (m *CloudStorageOptions_FileSet) String() string

func (*CloudStorageOptions_FileSet) XXX_DiscardUnknown

func (m *CloudStorageOptions_FileSet) XXX_DiscardUnknown()

func (*CloudStorageOptions_FileSet) XXX_Marshal

func (m *CloudStorageOptions_FileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudStorageOptions_FileSet) XXX_Merge

func (m *CloudStorageOptions_FileSet) XXX_Merge(src proto.Message)

func (*CloudStorageOptions_FileSet) XXX_Size

func (m *CloudStorageOptions_FileSet) XXX_Size() int

func (*CloudStorageOptions_FileSet) XXX_Unmarshal

func (m *CloudStorageOptions_FileSet) XXX_Unmarshal(b []byte) error

type CloudStorageOptions_SampleMethod

type CloudStorageOptions_SampleMethod int32

How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytes_limit_per_file. If not specified, scanning would start from the top.

const (
	CloudStorageOptions_SAMPLE_METHOD_UNSPECIFIED CloudStorageOptions_SampleMethod = 0
	// Scan from the top (default).
	CloudStorageOptions_TOP CloudStorageOptions_SampleMethod = 1
	// For each file larger than bytes_limit_per_file, randomly pick the offset
	// to start scanning. The scanned bytes are contiguous.
	CloudStorageOptions_RANDOM_START CloudStorageOptions_SampleMethod = 2
)

func (CloudStorageOptions_SampleMethod) EnumDescriptor

func (CloudStorageOptions_SampleMethod) EnumDescriptor() ([]byte, []int)

func (CloudStorageOptions_SampleMethod) String

type CloudStoragePath

type CloudStoragePath struct {
	// A url representing a file or path (no wildcards) in Cloud Storage.
	// Example: gs://[BUCKET_NAME]/dictionary.txt
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message representing a single file or path in Cloud Storage.

func (*CloudStoragePath) Descriptor

func (*CloudStoragePath) Descriptor() ([]byte, []int)

func (*CloudStoragePath) GetPath

func (m *CloudStoragePath) GetPath() string

func (*CloudStoragePath) ProtoMessage

func (*CloudStoragePath) ProtoMessage()

func (*CloudStoragePath) Reset

func (m *CloudStoragePath) Reset()

func (*CloudStoragePath) String

func (m *CloudStoragePath) String() string

func (*CloudStoragePath) XXX_DiscardUnknown

func (m *CloudStoragePath) XXX_DiscardUnknown()

func (*CloudStoragePath) XXX_Marshal

func (m *CloudStoragePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudStoragePath) XXX_Merge

func (m *CloudStoragePath) XXX_Merge(src proto.Message)

func (*CloudStoragePath) XXX_Size

func (m *CloudStoragePath) XXX_Size() int

func (*CloudStoragePath) XXX_Unmarshal

func (m *CloudStoragePath) XXX_Unmarshal(b []byte) error

type CloudStorageRegexFileSet

type CloudStorageRegexFileSet struct {
	// The name of a Cloud Storage bucket. Required.
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// A list of regular expressions matching file paths to include. All files in
	// the bucket that match at least one of these regular expressions will be
	// included in the set of files, except for those that also match an item in
	// `exclude_regex`. Leaving this field empty will match all files by default
	// (this is equivalent to including `.*` in the list).
	//
	// Regular expressions use RE2
	// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
	// under the google/re2 repository on GitHub.
	IncludeRegex []string `protobuf:"bytes,2,rep,name=include_regex,json=includeRegex,proto3" json:"include_regex,omitempty"`
	// A list of regular expressions matching file paths to exclude. All files in
	// the bucket that match at least one of these regular expressions will be
	// excluded from the scan.
	//
	// Regular expressions use RE2
	// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
	// under the google/re2 repository on GitHub.
	ExcludeRegex         []string `protobuf:"bytes,3,rep,name=exclude_regex,json=excludeRegex,proto3" json:"exclude_regex,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include.

Included files are those that match at least one item in `include_regex` and do not match any items in `exclude_regex`. Note that a file that matches items from both lists will _not_ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression.

For example, given the input `{bucket_name: "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/excluded.*"]}`:

* `gs://mybucket/directory1/myfile` will be included * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/`) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the full path doesn't match any items in `include_regex`) * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path matches an item in `exclude_regex`)

If `include_regex` is left empty, it will match all files by default (this is equivalent to setting `include_regex: [".*"]`).

Some other common use cases:

* `{bucket_name: "mybucket", exclude_regex: [".*\.pdf"]}` will include all files in `mybucket` except for .pdf files * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will include all files directly under `gs://mybucket/directory/`, without matching across `/`

func (*CloudStorageRegexFileSet) Descriptor

func (*CloudStorageRegexFileSet) Descriptor() ([]byte, []int)

func (*CloudStorageRegexFileSet) GetBucketName

func (m *CloudStorageRegexFileSet) GetBucketName() string

func (*CloudStorageRegexFileSet) GetExcludeRegex

func (m *CloudStorageRegexFileSet) GetExcludeRegex() []string

func (*CloudStorageRegexFileSet) GetIncludeRegex

func (m *CloudStorageRegexFileSet) GetIncludeRegex() []string

func (*CloudStorageRegexFileSet) ProtoMessage

func (*CloudStorageRegexFileSet) ProtoMessage()

func (*CloudStorageRegexFileSet) Reset

func (m *CloudStorageRegexFileSet) Reset()

func (*CloudStorageRegexFileSet) String

func (m *CloudStorageRegexFileSet) String() string

func (*CloudStorageRegexFileSet) XXX_DiscardUnknown

func (m *CloudStorageRegexFileSet) XXX_DiscardUnknown()

func (*CloudStorageRegexFileSet) XXX_Marshal

func (m *CloudStorageRegexFileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudStorageRegexFileSet) XXX_Merge

func (m *CloudStorageRegexFileSet) XXX_Merge(src proto.Message)

func (*CloudStorageRegexFileSet) XXX_Size

func (m *CloudStorageRegexFileSet) XXX_Size() int

func (*CloudStorageRegexFileSet) XXX_Unmarshal

func (m *CloudStorageRegexFileSet) XXX_Unmarshal(b []byte) error

type Color

type Color struct {
	// The amount of red in the color as a value in the interval [0, 1].
	Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"`
	// The amount of green in the color as a value in the interval [0, 1].
	Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"`
	// The amount of blue in the color as a value in the interval [0, 1].
	Blue                 float32  `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a color in the RGB color space.

func (*Color) Descriptor

func (*Color) Descriptor() ([]byte, []int)

func (*Color) GetBlue

func (m *Color) GetBlue() float32

func (*Color) GetGreen

func (m *Color) GetGreen() float32

func (*Color) GetRed

func (m *Color) GetRed() float32

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) Reset

func (m *Color) Reset()

func (*Color) String

func (m *Color) String() string

func (*Color) XXX_DiscardUnknown

func (m *Color) XXX_DiscardUnknown()

func (*Color) XXX_Marshal

func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Color) XXX_Merge

func (m *Color) XXX_Merge(src proto.Message)

func (*Color) XXX_Size

func (m *Color) XXX_Size() int

func (*Color) XXX_Unmarshal

func (m *Color) XXX_Unmarshal(b []byte) error

type Container

type Container struct {
	// Container type, for example BigQuery or Google Cloud Storage.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Project where the finding was found.
	// Can be different from the project that owns the finding.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// A string representation of the full container name.
	// Examples:
	// - BigQuery: 'Project:DataSetId.TableId'
	// - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
	FullPath string `protobuf:"bytes,3,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`
	// The root of the container.
	// Examples:
	// - For BigQuery table `project_id:dataset_id.table_id`, the root is
	//  `dataset_id`
	// - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
	//  is `gs://bucket`
	RootPath string `protobuf:"bytes,4,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
	// The rest of the path after the root.
	// Examples:
	// - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
	//  `table_id`
	// - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
	//  path is `folder/filename.txt`
	RelativePath string `protobuf:"bytes,5,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
	// Findings container modification timestamp, if applicable.
	// For Google Cloud Storage contains last file modification timestamp.
	// For BigQuery table contains last_modified_time property.
	// For Datastore - not populated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Findings container version, if available
	// ("generation" for Google Cloud Storage).
	Version              string   `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.

func (*Container) Descriptor

func (*Container) Descriptor() ([]byte, []int)

func (*Container) GetFullPath

func (m *Container) GetFullPath() string

func (*Container) GetProjectId

func (m *Container) GetProjectId() string

func (*Container) GetRelativePath

func (m *Container) GetRelativePath() string

func (*Container) GetRootPath

func (m *Container) GetRootPath() string

func (*Container) GetType

func (m *Container) GetType() string

func (*Container) GetUpdateTime

func (m *Container) GetUpdateTime() *timestamp.Timestamp

func (*Container) GetVersion

func (m *Container) GetVersion() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

func (m *Container) XXX_Unmarshal(b []byte) error

type ContentItem

type ContentItem struct {
	// Data of the item either in the byte array or UTF-8 string form, or table.
	//
	// Types that are valid to be assigned to DataItem:
	//	*ContentItem_Value
	//	*ContentItem_Table
	//	*ContentItem_ByteItem
	DataItem             isContentItem_DataItem `protobuf_oneof:"data_item"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Container structure for the content to inspect.

func (*ContentItem) Descriptor

func (*ContentItem) Descriptor() ([]byte, []int)

func (*ContentItem) GetByteItem

func (m *ContentItem) GetByteItem() *ByteContentItem

func (*ContentItem) GetDataItem

func (m *ContentItem) GetDataItem() isContentItem_DataItem

func (*ContentItem) GetTable

func (m *ContentItem) GetTable() *Table

func (*ContentItem) GetValue

func (m *ContentItem) GetValue() string

func (*ContentItem) ProtoMessage

func (*ContentItem) ProtoMessage()

func (*ContentItem) Reset

func (m *ContentItem) Reset()

func (*ContentItem) String

func (m *ContentItem) String() string

func (*ContentItem) XXX_DiscardUnknown

func (m *ContentItem) XXX_DiscardUnknown()

func (*ContentItem) XXX_Marshal

func (m *ContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentItem) XXX_Merge

func (m *ContentItem) XXX_Merge(src proto.Message)

func (*ContentItem) XXX_OneofWrappers

func (*ContentItem) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContentItem) XXX_Size

func (m *ContentItem) XXX_Size() int

func (*ContentItem) XXX_Unmarshal

func (m *ContentItem) XXX_Unmarshal(b []byte) error

type ContentItem_ByteItem

type ContentItem_ByteItem struct {
	ByteItem *ByteContentItem `protobuf:"bytes,5,opt,name=byte_item,json=byteItem,proto3,oneof"`
}

type ContentItem_Table

type ContentItem_Table struct {
	Table *Table `protobuf:"bytes,4,opt,name=table,proto3,oneof"`
}

type ContentItem_Value

type ContentItem_Value struct {
	Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

type ContentLocation

type ContentLocation struct {
	// Name of the container where the finding is located.
	// The top level name is the source file name or table name. Names of some
	// common storage containers are formatted as follows:
	//
	// * BigQuery tables:  `{project_id}:{dataset_id}.{table_id}`
	// * Cloud Storage files: `gs://{bucket}/{path}`
	// * Datastore namespace: {namespace}
	//
	// Nested names could be absent if the embedded object has no string
	// identifier (for an example an image contained within a document).
	ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	// Type of the container within the file with location of the finding.
	//
	// Types that are valid to be assigned to Location:
	//	*ContentLocation_RecordLocation
	//	*ContentLocation_ImageLocation
	//	*ContentLocation_DocumentLocation
	//	*ContentLocation_MetadataLocation
	Location isContentLocation_Location `protobuf_oneof:"location"`
	// Findings container modification timestamp, if applicable.
	// For Google Cloud Storage contains last file modification timestamp.
	// For BigQuery table contains last_modified_time property.
	// For Datastore - not populated.
	ContainerTimestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"`
	// Findings container version, if available
	// ("generation" for Google Cloud Storage).
	ContainerVersion     string   `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Precise location of the finding within a document, record, image, or metadata container.

func (*ContentLocation) Descriptor

func (*ContentLocation) Descriptor() ([]byte, []int)

func (*ContentLocation) GetContainerName

func (m *ContentLocation) GetContainerName() string

func (*ContentLocation) GetContainerTimestamp

func (m *ContentLocation) GetContainerTimestamp() *timestamp.Timestamp

func (*ContentLocation) GetContainerVersion

func (m *ContentLocation) GetContainerVersion() string

func (*ContentLocation) GetDocumentLocation

func (m *ContentLocation) GetDocumentLocation() *DocumentLocation

func (*ContentLocation) GetImageLocation

func (m *ContentLocation) GetImageLocation() *ImageLocation

func (*ContentLocation) GetLocation

func (m *ContentLocation) GetLocation() isContentLocation_Location

func (*ContentLocation) GetMetadataLocation

func (m *ContentLocation) GetMetadataLocation() *MetadataLocation

func (*ContentLocation) GetRecordLocation

func (m *ContentLocation) GetRecordLocation() *RecordLocation

func (*ContentLocation) ProtoMessage

func (*ContentLocation) ProtoMessage()

func (*ContentLocation) Reset

func (m *ContentLocation) Reset()

func (*ContentLocation) String

func (m *ContentLocation) String() string

func (*ContentLocation) XXX_DiscardUnknown

func (m *ContentLocation) XXX_DiscardUnknown()

func (*ContentLocation) XXX_Marshal

func (m *ContentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentLocation) XXX_Merge

func (m *ContentLocation) XXX_Merge(src proto.Message)

func (*ContentLocation) XXX_OneofWrappers

func (*ContentLocation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContentLocation) XXX_Size

func (m *ContentLocation) XXX_Size() int

func (*ContentLocation) XXX_Unmarshal

func (m *ContentLocation) XXX_Unmarshal(b []byte) error

type ContentLocation_DocumentLocation

type ContentLocation_DocumentLocation struct {
	DocumentLocation *DocumentLocation `protobuf:"bytes,5,opt,name=document_location,json=documentLocation,proto3,oneof"`
}

type ContentLocation_ImageLocation

type ContentLocation_ImageLocation struct {
	ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"`
}

type ContentLocation_MetadataLocation

type ContentLocation_MetadataLocation struct {
	MetadataLocation *MetadataLocation `protobuf:"bytes,8,opt,name=metadata_location,json=metadataLocation,proto3,oneof"`
}

type ContentLocation_RecordLocation

type ContentLocation_RecordLocation struct {
	RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"`
}

type ContentOption

type ContentOption int32

Options describing which parts of the provided content should be scanned.

const (
	// Includes entire content of a file or a data stream.
	ContentOption_CONTENT_UNSPECIFIED ContentOption = 0
	// Text content within the data, excluding any metadata.
	ContentOption_CONTENT_TEXT ContentOption = 1
	// Images found in the data.
	ContentOption_CONTENT_IMAGE ContentOption = 2
)

func (ContentOption) EnumDescriptor

func (ContentOption) EnumDescriptor() ([]byte, []int)

func (ContentOption) String

func (x ContentOption) String() string

type CreateDeidentifyTemplateRequest

type CreateDeidentifyTemplateRequest struct {
	// Required. The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The DeidentifyTemplate to create.
	DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"`
	// The template id can contain uppercase and lowercase letters,
	// numbers, and hyphens; that is, it must match the regular
	// expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
	// characters. Can be empty to allow the system to generate one.
	TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for CreateDeidentifyTemplate.

func (*CreateDeidentifyTemplateRequest) Descriptor

func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)

func (*CreateDeidentifyTemplateRequest) GetDeidentifyTemplate

func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate

func (*CreateDeidentifyTemplateRequest) GetLocationId

func (m *CreateDeidentifyTemplateRequest) GetLocationId() string

func (*CreateDeidentifyTemplateRequest) GetParent

func (m *CreateDeidentifyTemplateRequest) GetParent() string

func (*CreateDeidentifyTemplateRequest) GetTemplateId

func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string

func (*CreateDeidentifyTemplateRequest) ProtoMessage

func (*CreateDeidentifyTemplateRequest) ProtoMessage()

func (*CreateDeidentifyTemplateRequest) Reset

func (*CreateDeidentifyTemplateRequest) String

func (*CreateDeidentifyTemplateRequest) XXX_DiscardUnknown

func (m *CreateDeidentifyTemplateRequest) XXX_DiscardUnknown()

func (*CreateDeidentifyTemplateRequest) XXX_Marshal

func (m *CreateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDeidentifyTemplateRequest) XXX_Merge

func (m *CreateDeidentifyTemplateRequest) XXX_Merge(src proto.Message)

func (*CreateDeidentifyTemplateRequest) XXX_Size

func (m *CreateDeidentifyTemplateRequest) XXX_Size() int

func (*CreateDeidentifyTemplateRequest) XXX_Unmarshal

func (m *CreateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error

type CreateDlpJobRequest

type CreateDlpJobRequest struct {
	// Required. The parent resource name, for example projects/my-project-id
	// or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The configuration details for the specific type of job to run.
	//
	// Types that are valid to be assigned to Job:
	//	*CreateDlpJobRequest_InspectJob
	//	*CreateDlpJobRequest_RiskJob
	Job isCreateDlpJobRequest_Job `protobuf_oneof:"job"`
	// The job id can contain uppercase and lowercase letters,
	// numbers, and hyphens; that is, it must match the regular
	// expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
	// characters. Can be empty to allow the system to generate one.
	JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.

func (*CreateDlpJobRequest) Descriptor

func (*CreateDlpJobRequest) Descriptor() ([]byte, []int)

func (*CreateDlpJobRequest) GetInspectJob

func (m *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig

func (*CreateDlpJobRequest) GetJob

func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job

func (*CreateDlpJobRequest) GetJobId

func (m *CreateDlpJobRequest) GetJobId() string

func (*CreateDlpJobRequest) GetLocationId

func (m *CreateDlpJobRequest) GetLocationId() string

func (*CreateDlpJobRequest) GetParent

func (m *CreateDlpJobRequest) GetParent() string

func (*CreateDlpJobRequest) GetRiskJob

func (m *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig

func (*CreateDlpJobRequest) ProtoMessage

func (*CreateDlpJobRequest) ProtoMessage()

func (*CreateDlpJobRequest) Reset

func (m *CreateDlpJobRequest) Reset()

func (*CreateDlpJobRequest) String

func (m *CreateDlpJobRequest) String() string

func (*CreateDlpJobRequest) XXX_DiscardUnknown

func (m *CreateDlpJobRequest) XXX_DiscardUnknown()

func (*CreateDlpJobRequest) XXX_Marshal

func (m *CreateDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDlpJobRequest) XXX_Merge

func (m *CreateDlpJobRequest) XXX_Merge(src proto.Message)

func (*CreateDlpJobRequest) XXX_OneofWrappers

func (*CreateDlpJobRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CreateDlpJobRequest) XXX_Size

func (m *CreateDlpJobRequest) XXX_Size() int

func (*CreateDlpJobRequest) XXX_Unmarshal

func (m *CreateDlpJobRequest) XXX_Unmarshal(b []byte) error

type CreateDlpJobRequest_InspectJob

type CreateDlpJobRequest_InspectJob struct {
	InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"`
}

type CreateDlpJobRequest_RiskJob

type CreateDlpJobRequest_RiskJob struct {
	RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"`
}

type CreateInspectTemplateRequest

type CreateInspectTemplateRequest struct {
	// Required. The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id or projects/my-project-id/locations/{location-id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The InspectTemplate to create.
	InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
	// The template id can contain uppercase and lowercase letters,
	// numbers, and hyphens; that is, it must match the regular
	// expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
	// characters. Can be empty to allow the system to generate one.
	TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for CreateInspectTemplate.

func (*CreateInspectTemplateRequest) Descriptor

func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int)

func (*CreateInspectTemplateRequest) GetInspectTemplate

func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate

func (*CreateInspectTemplateRequest) GetLocationId

func (m *CreateInspectTemplateRequest) GetLocationId() string

func (*CreateInspectTemplateRequest) GetParent

func (m *CreateInspectTemplateRequest) GetParent() string

func (*CreateInspectTemplateRequest) GetTemplateId

func (m *CreateInspectTemplateRequest) GetTemplateId() string

func (*CreateInspectTemplateRequest) ProtoMessage

func (*CreateInspectTemplateRequest) ProtoMessage()

func (*CreateInspectTemplateRequest) Reset

func (m *CreateInspectTemplateRequest) Reset()

func (*CreateInspectTemplateRequest) String

func (*CreateInspectTemplateRequest) XXX_DiscardUnknown

func (m *CreateInspectTemplateRequest) XXX_DiscardUnknown()

func (*CreateInspectTemplateRequest) XXX_Marshal

func (m *CreateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateInspectTemplateRequest) XXX_Merge

func (m *CreateInspectTemplateRequest) XXX_Merge(src proto.Message)

func (*CreateInspectTemplateRequest) XXX_Size

func (m *CreateInspectTemplateRequest) XXX_Size() int

func (*CreateInspectTemplateRequest) XXX_Unmarshal

func (m *CreateInspectTemplateRequest) XXX_Unmarshal(b []byte) error

type CreateJobTriggerRequest

type CreateJobTriggerRequest struct {
	// Required. The parent resource name, for example projects/my-project-id
	// or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The JobTrigger to create.
	JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"`
	// The trigger id can contain uppercase and lowercase letters,
	// numbers, and hyphens; that is, it must match the regular
	// expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
	// characters. Can be empty to allow the system to generate one.
	TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for CreateJobTrigger.

func (*CreateJobTriggerRequest) Descriptor

func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int)

func (*CreateJobTriggerRequest) GetJobTrigger

func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger

func (*CreateJobTriggerRequest) GetLocationId

func (m *CreateJobTriggerRequest) GetLocationId() string

func (*CreateJobTriggerRequest) GetParent

func (m *CreateJobTriggerRequest) GetParent() string

func (*CreateJobTriggerRequest) GetTriggerId

func (m *CreateJobTriggerRequest) GetTriggerId() string

func (*CreateJobTriggerRequest) ProtoMessage

func (*CreateJobTriggerRequest) ProtoMessage()

func (*CreateJobTriggerRequest) Reset

func (m *CreateJobTriggerRequest) Reset()

func (*CreateJobTriggerRequest) String

func (m *CreateJobTriggerRequest) String() string

func (*CreateJobTriggerRequest) XXX_DiscardUnknown

func (m *CreateJobTriggerRequest) XXX_DiscardUnknown()

func (*CreateJobTriggerRequest) XXX_Marshal

func (m *CreateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateJobTriggerRequest) XXX_Merge

func (m *CreateJobTriggerRequest) XXX_Merge(src proto.Message)

func (*CreateJobTriggerRequest) XXX_Size

func (m *CreateJobTriggerRequest) XXX_Size() int

func (*CreateJobTriggerRequest) XXX_Unmarshal

func (m *CreateJobTriggerRequest) XXX_Unmarshal(b []byte) error

type CreateStoredInfoTypeRequest

type CreateStoredInfoTypeRequest struct {
	// Required. The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id or projects/my-project-id/locations/{location_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Configuration of the storedInfoType to create.
	Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The storedInfoType ID can contain uppercase and lowercase letters,
	// numbers, and hyphens; that is, it must match the regular
	// expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
	// characters. Can be empty to allow the system to generate one.
	StoredInfoTypeId string `protobuf:"bytes,3,opt,name=stored_info_type_id,json=storedInfoTypeId,proto3" json:"stored_info_type_id,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for CreateStoredInfoType.

func (*CreateStoredInfoTypeRequest) Descriptor

func (*CreateStoredInfoTypeRequest) Descriptor() ([]byte, []int)

func (*CreateStoredInfoTypeRequest) GetConfig

func (*CreateStoredInfoTypeRequest) GetLocationId

func (m *CreateStoredInfoTypeRequest) GetLocationId() string

func (*CreateStoredInfoTypeRequest) GetParent

func (m *CreateStoredInfoTypeRequest) GetParent() string

func (*CreateStoredInfoTypeRequest) GetStoredInfoTypeId

func (m *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string

func (*CreateStoredInfoTypeRequest) ProtoMessage

func (*CreateStoredInfoTypeRequest) ProtoMessage()

func (*CreateStoredInfoTypeRequest) Reset

func (m *CreateStoredInfoTypeRequest) Reset()

func (*CreateStoredInfoTypeRequest) String

func (m *CreateStoredInfoTypeRequest) String() string

func (*CreateStoredInfoTypeRequest) XXX_DiscardUnknown

func (m *CreateStoredInfoTypeRequest) XXX_DiscardUnknown()

func (*CreateStoredInfoTypeRequest) XXX_Marshal

func (m *CreateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateStoredInfoTypeRequest) XXX_Merge

func (m *CreateStoredInfoTypeRequest) XXX_Merge(src proto.Message)

func (*CreateStoredInfoTypeRequest) XXX_Size

func (m *CreateStoredInfoTypeRequest) XXX_Size() int

func (*CreateStoredInfoTypeRequest) XXX_Unmarshal

func (m *CreateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error

type CryptoDeterministicConfig

type CryptoDeterministicConfig struct {
	// The key used by the encryption function.
	CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
	// The custom info type to annotate the surrogate with.
	// This annotation will be applied to the surrogate by prefixing it with
	// the name of the custom info type followed by the number of
	// characters comprising the surrogate. The following scheme defines the
	// format: {info type name}({surrogate character count}):{surrogate}
	//
	// For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and
	// the surrogate is 'abc', the full replacement value
	// will be: 'MY_TOKEN_INFO_TYPE(3):abc'
	//
	// This annotation identifies the surrogate when inspecting content using the
	// custom info type 'Surrogate'. This facilitates reversal of the
	// surrogate when it occurs in free text.
	//
	// Note: For record transformations where the entire cell in a table is being
	// transformed, surrogates are not mandatory. Surrogates are used to denote
	// the location of the token and are necessary for re-identification in free
	// form text.
	//
	// In order for inspection to work properly, the name of this info type must
	// not occur naturally anywhere in your data; otherwise, inspection may either
	//
	// - reverse a surrogate that does not correspond to an actual identifier
	// - be unable to parse the surrogate and result in an error
	//
	// Therefore, choose your custom info type name carefully after considering
	// what your data looks like. One way to select a name that has a high chance
	// of yielding reliable detection is to include one or more unicode characters
	// that are highly improbable to exist in your data.
	// For example, assuming your data is entered from a regular ASCII keyboard,
	// the symbol with the hex code point 29DD might be used like so:
	// ⧝MY_TOKEN_TYPE.
	SurrogateInfoType *InfoType `protobuf:"bytes,2,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"`
	// A context may be used for higher security and maintaining
	// referential integrity such that the same identifier in two different
	// contexts will be given a distinct surrogate. The context is appended to
	// plaintext value being encrypted. On decryption the provided context is
	// validated against the value used during encryption. If a context was
	// provided during encryption, same context must be provided during decryption
	// as well.
	//
	// If the context is not set, plaintext would be used as is for encryption.
	// If the context is set but:
	//
	// 1. there is no record present when transforming a given value or
	// 2. the field is not present when transforming a given value,
	//
	// plaintext would be used as is for encryption.
	//
	// Note that case (1) is expected when an `InfoTypeTransformation` is
	// applied to both structured and non-structured `ContentItem`s.
	Context              *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.

func (*CryptoDeterministicConfig) Descriptor

func (*CryptoDeterministicConfig) Descriptor() ([]byte, []int)

func (*CryptoDeterministicConfig) GetContext

func (m *CryptoDeterministicConfig) GetContext() *FieldId

func (*CryptoDeterministicConfig) GetCryptoKey

func (m *CryptoDeterministicConfig) GetCryptoKey() *CryptoKey

func (*CryptoDeterministicConfig) GetSurrogateInfoType

func (m *CryptoDeterministicConfig) GetSurrogateInfoType() *InfoType

func (*CryptoDeterministicConfig) ProtoMessage

func (*CryptoDeterministicConfig) ProtoMessage()

func (*CryptoDeterministicConfig) Reset

func (m *CryptoDeterministicConfig) Reset()

func (*CryptoDeterministicConfig) String

func (m *CryptoDeterministicConfig) String() string

func (*CryptoDeterministicConfig) XXX_DiscardUnknown

func (m *CryptoDeterministicConfig) XXX_DiscardUnknown()

func (*CryptoDeterministicConfig) XXX_Marshal

func (m *CryptoDeterministicConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CryptoDeterministicConfig) XXX_Merge

func (m *CryptoDeterministicConfig) XXX_Merge(src proto.Message)

func (*CryptoDeterministicConfig) XXX_Size

func (m *CryptoDeterministicConfig) XXX_Size() int

func (*CryptoDeterministicConfig) XXX_Unmarshal

func (m *CryptoDeterministicConfig) XXX_Unmarshal(b []byte) error

type CryptoHashConfig

type CryptoHashConfig struct {
	// The key used by the hash function.
	CryptoKey            *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

func (*CryptoHashConfig) Descriptor

func (*CryptoHashConfig) Descriptor() ([]byte, []int)

func (*CryptoHashConfig) GetCryptoKey

func (m *CryptoHashConfig) GetCryptoKey() *CryptoKey

func (*CryptoHashConfig) ProtoMessage

func (*CryptoHashConfig) ProtoMessage()

func (*CryptoHashConfig) Reset

func (m *CryptoHashConfig) Reset()

func (*CryptoHashConfig) String

func (m *CryptoHashConfig) String() string

func (*CryptoHashConfig) XXX_DiscardUnknown

func (m *CryptoHashConfig) XXX_DiscardUnknown()

func (*CryptoHashConfig) XXX_Marshal

func (m *CryptoHashConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CryptoHashConfig) XXX_Merge

func (m *CryptoHashConfig) XXX_Merge(src proto.Message)

func (*CryptoHashConfig) XXX_Size

func (m *CryptoHashConfig) XXX_Size() int

func (*CryptoHashConfig) XXX_Unmarshal

func (m *CryptoHashConfig) XXX_Unmarshal(b []byte) error

type CryptoKey

type CryptoKey struct {
	// Sources of crypto keys.
	//
	// Types that are valid to be assigned to Source:
	//	*CryptoKey_Transient
	//	*CryptoKey_Unwrapped
	//	*CryptoKey_KmsWrapped
	Source               isCryptoKey_Source `protobuf_oneof:"source"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.

func (*CryptoKey) Descriptor

func (*CryptoKey) Descriptor() ([]byte, []int)

func (*CryptoKey) GetKmsWrapped

func (m *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey

func (*CryptoKey) GetSource

func (m *CryptoKey) GetSource() isCryptoKey_Source

func (*CryptoKey) GetTransient

func (m *CryptoKey) GetTransient() *TransientCryptoKey

func (*CryptoKey) GetUnwrapped

func (m *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey

func (*CryptoKey) ProtoMessage

func (*CryptoKey) ProtoMessage()

func (*CryptoKey) Reset

func (m *CryptoKey) Reset()

func (*CryptoKey) String

func (m *CryptoKey) String() string

func (*CryptoKey) XXX_DiscardUnknown

func (m *CryptoKey) XXX_DiscardUnknown()

func (*CryptoKey) XXX_Marshal

func (m *CryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CryptoKey) XXX_Merge

func (m *CryptoKey) XXX_Merge(src proto.Message)

func (*CryptoKey) XXX_OneofWrappers

func (*CryptoKey) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CryptoKey) XXX_Size

func (m *CryptoKey) XXX_Size() int

func (*CryptoKey) XXX_Unmarshal

func (m *CryptoKey) XXX_Unmarshal(b []byte) error

type CryptoKey_KmsWrapped

type CryptoKey_KmsWrapped struct {
	KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,proto3,oneof"`
}

type CryptoKey_Transient

type CryptoKey_Transient struct {
	Transient *TransientCryptoKey `protobuf:"bytes,1,opt,name=transient,proto3,oneof"`
}

type CryptoKey_Unwrapped

type CryptoKey_Unwrapped struct {
	Unwrapped *UnwrappedCryptoKey `protobuf:"bytes,2,opt,name=unwrapped,proto3,oneof"`
}

type CryptoReplaceFfxFpeConfig

type CryptoReplaceFfxFpeConfig struct {
	// Required. The key used by the encryption algorithm.
	CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
	// The 'tweak', a context may be used for higher security since the same
	// identifier in two different contexts won't be given the same surrogate. If
	// the context is not set, a default tweak will be used.
	//
	// If the context is set but:
	//
	// 1. there is no record present when transforming a given value or
	// 1. the field is not present when transforming a given value,
	//
	// a default tweak will be used.
	//
	// Note that case (1) is expected when an `InfoTypeTransformation` is
	// applied to both structured and non-structured `ContentItem`s.
	// Currently, the referenced field may be of value type integer or string.
	//
	// The tweak is constructed as a sequence of bytes in big endian byte order
	// such that:
	//
	// - a 64 bit integer is encoded followed by a single byte of value 1
	// - a string is encoded in UTF-8 format followed by a single byte of value 2
	Context *FieldId `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// Choose an alphabet which the data being transformed will be made up of.
	//
	// Types that are valid to be assigned to Alphabet:
	//	*CryptoReplaceFfxFpeConfig_CommonAlphabet
	//	*CryptoReplaceFfxFpeConfig_CustomAlphabet
	//	*CryptoReplaceFfxFpeConfig_Radix
	Alphabet isCryptoReplaceFfxFpeConfig_Alphabet `protobuf_oneof:"alphabet"`
	// The custom infoType to annotate the surrogate with.
	// This annotation will be applied to the surrogate by prefixing it with
	// the name of the custom infoType followed by the number of
	// characters comprising the surrogate. The following scheme defines the
	// format: info_type_name(surrogate_character_count):surrogate
	//
	// For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and
	// the surrogate is 'abc', the full replacement value
	// will be: 'MY_TOKEN_INFO_TYPE(3):abc'
	//
	// This annotation identifies the surrogate when inspecting content using the
	// custom infoType
	// [`SurrogateType`](/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).
	// This facilitates reversal of the surrogate when it occurs in free text.
	//
	// In order for inspection to work properly, the name of this infoType must
	// not occur naturally anywhere in your data; otherwise, inspection may
	// find a surrogate that does not correspond to an actual identifier.
	// Therefore, choose your custom infoType name carefully after considering
	// what your data looks like. One way to select a name that has a high chance
	// of yielding reliable detection is to include one or more unicode characters
	// that are highly improbable to exist in your data.
	// For example, assuming your data is entered from a regular ASCII keyboard,
	// the symbol with the hex code point 29DD might be used like so:
	// ⧝MY_TOKEN_TYPE
	SurrogateInfoType    *InfoType `protobuf:"bytes,8,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the `ReidentifyContent` API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity.

func (*CryptoReplaceFfxFpeConfig) Descriptor

func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int)

func (*CryptoReplaceFfxFpeConfig) GetAlphabet

func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet

func (*CryptoReplaceFfxFpeConfig) GetCommonAlphabet

func (*CryptoReplaceFfxFpeConfig) GetContext

func (m *CryptoReplaceFfxFpeConfig) GetContext() *FieldId

func (*CryptoReplaceFfxFpeConfig) GetCryptoKey

func (m *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey

func (*CryptoReplaceFfxFpeConfig) GetCustomAlphabet

func (m *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string

func (*CryptoReplaceFfxFpeConfig) GetRadix

func (m *CryptoReplaceFfxFpeConfig) GetRadix() int32

func (*CryptoReplaceFfxFpeConfig) GetSurrogateInfoType

func (m *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType

func (*CryptoReplaceFfxFpeConfig) ProtoMessage

func (*CryptoReplaceFfxFpeConfig) ProtoMessage()

func (*CryptoReplaceFfxFpeConfig) Reset

func (m *CryptoReplaceFfxFpeConfig) Reset()

func (*CryptoReplaceFfxFpeConfig) String

func (m *CryptoReplaceFfxFpeConfig) String() string

func (*CryptoReplaceFfxFpeConfig) XXX_DiscardUnknown

func (m *CryptoReplaceFfxFpeConfig) XXX_DiscardUnknown()

func (*CryptoReplaceFfxFpeConfig) XXX_Marshal

func (m *CryptoReplaceFfxFpeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CryptoReplaceFfxFpeConfig) XXX_Merge

func (m *CryptoReplaceFfxFpeConfig) XXX_Merge(src proto.Message)

func (*CryptoReplaceFfxFpeConfig) XXX_OneofWrappers

func (*CryptoReplaceFfxFpeConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CryptoReplaceFfxFpeConfig) XXX_Size

func (m *CryptoReplaceFfxFpeConfig) XXX_Size() int

func (*CryptoReplaceFfxFpeConfig) XXX_Unmarshal

func (m *CryptoReplaceFfxFpeConfig) XXX_Unmarshal(b []byte) error

type CryptoReplaceFfxFpeConfig_CommonAlphabet

type CryptoReplaceFfxFpeConfig_CommonAlphabet struct {
	CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `` /* 154-byte string literal not displayed */
}

type CryptoReplaceFfxFpeConfig_CustomAlphabet

type CryptoReplaceFfxFpeConfig_CustomAlphabet struct {
	CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"`
}

type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet

type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet int32

These are commonly used subsets of the alphabet that the FFX mode natively supports. In the algorithm, the alphabet is selected using the "radix". Therefore each corresponds to particular radix.

const (
	// Unused.
	CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 0
	// [0-9] (radix of 10)
	CryptoReplaceFfxFpeConfig_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 1
	// [0-9A-F] (radix of 16)
	CryptoReplaceFfxFpeConfig_HEXADECIMAL CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 2
	// [0-9A-Z] (radix of 36)
	CryptoReplaceFfxFpeConfig_UPPER_CASE_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 3
	// [0-9A-Za-z] (radix of 62)
	CryptoReplaceFfxFpeConfig_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 4
)

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String

type CryptoReplaceFfxFpeConfig_Radix

type CryptoReplaceFfxFpeConfig_Radix struct {
	Radix int32 `protobuf:"varint,6,opt,name=radix,proto3,oneof"`
}

type CustomInfoType

type CustomInfoType struct {
	// CustomInfoType can either be a new infoType, or an extension of built-in
	// infoType, when the name matches one of existing infoTypes and that infoType
	// is specified in `InspectContent.info_types` field. Specifying the latter
	// adds findings to the one detected by the system. If built-in info type is
	// not specified in `InspectContent.info_types` list then the name is treated
	// as a custom info type.
	InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
	// Likelihood to return for this CustomInfoType. This base value can be
	// altered by a detection rule if the finding meets the criteria specified by
	// the rule. Defaults to `VERY_LIKELY` if not specified.
	Likelihood Likelihood `protobuf:"varint,6,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*CustomInfoType_Dictionary_
	//	*CustomInfoType_Regex_
	//	*CustomInfoType_SurrogateType_
	//	*CustomInfoType_StoredType
	Type isCustomInfoType_Type `protobuf_oneof:"type"`
	// Set of detection rules to apply to all findings of this CustomInfoType.
	// Rules are applied in order that they are specified. Not supported for the
	// `surrogate_type` CustomInfoType.
	DetectionRules []*CustomInfoType_DetectionRule `protobuf:"bytes,7,rep,name=detection_rules,json=detectionRules,proto3" json:"detection_rules,omitempty"`
	// If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
	// to be returned. It still can be used for rules matching.
	ExclusionType        CustomInfoType_ExclusionType `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

func (*CustomInfoType) Descriptor

func (*CustomInfoType) Descriptor() ([]byte, []int)

func (*CustomInfoType) GetDetectionRules

func (m *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule

func (*CustomInfoType) GetDictionary

func (m *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary

func (*CustomInfoType) GetExclusionType

func (m *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType

func (*CustomInfoType) GetInfoType

func (m *CustomInfoType) GetInfoType() *InfoType

func (*CustomInfoType) GetLikelihood

func (m *CustomInfoType) GetLikelihood() Likelihood

func (*CustomInfoType) GetRegex

func (m *CustomInfoType) GetRegex() *CustomInfoType_Regex

func (*CustomInfoType) GetStoredType

func (m *CustomInfoType) GetStoredType() *StoredType

func (*CustomInfoType) GetSurrogateType

func (m *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType

func (*CustomInfoType) GetType

func (m *CustomInfoType) GetType() isCustomInfoType_Type

func (*CustomInfoType) ProtoMessage

func (*CustomInfoType) ProtoMessage()

func (*CustomInfoType) Reset

func (m *CustomInfoType) Reset()

func (*CustomInfoType) String

func (m *CustomInfoType) String() string

func (*CustomInfoType) XXX_DiscardUnknown

func (m *CustomInfoType) XXX_DiscardUnknown()

func (*CustomInfoType) XXX_Marshal

func (m *CustomInfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType) XXX_Merge

func (m *CustomInfoType) XXX_Merge(src proto.Message)

func (*CustomInfoType) XXX_OneofWrappers

func (*CustomInfoType) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CustomInfoType) XXX_Size

func (m *CustomInfoType) XXX_Size() int

func (*CustomInfoType) XXX_Unmarshal

func (m *CustomInfoType) XXX_Unmarshal(b []byte) error

type CustomInfoType_DetectionRule

type CustomInfoType_DetectionRule struct {
	// Types that are valid to be assigned to Type:
	//	*CustomInfoType_DetectionRule_HotwordRule_
	Type                 isCustomInfoType_DetectionRule_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

Deprecated; use `InspectionRuleSet` instead. Rule for modifying a `CustomInfoType` to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom infoType.

func (*CustomInfoType_DetectionRule) Descriptor

func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int)

func (*CustomInfoType_DetectionRule) GetHotwordRule

func (*CustomInfoType_DetectionRule) GetType

func (m *CustomInfoType_DetectionRule) GetType() isCustomInfoType_DetectionRule_Type

func (*CustomInfoType_DetectionRule) ProtoMessage

func (*CustomInfoType_DetectionRule) ProtoMessage()

func (*CustomInfoType_DetectionRule) Reset

func (m *CustomInfoType_DetectionRule) Reset()

func (*CustomInfoType_DetectionRule) String

func (*CustomInfoType_DetectionRule) XXX_DiscardUnknown

func (m *CustomInfoType_DetectionRule) XXX_DiscardUnknown()

func (*CustomInfoType_DetectionRule) XXX_Marshal

func (m *CustomInfoType_DetectionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_DetectionRule) XXX_Merge

func (m *CustomInfoType_DetectionRule) XXX_Merge(src proto.Message)

func (*CustomInfoType_DetectionRule) XXX_OneofWrappers

func (*CustomInfoType_DetectionRule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CustomInfoType_DetectionRule) XXX_Size

func (m *CustomInfoType_DetectionRule) XXX_Size() int

func (*CustomInfoType_DetectionRule) XXX_Unmarshal

func (m *CustomInfoType_DetectionRule) XXX_Unmarshal(b []byte) error

type CustomInfoType_DetectionRule_HotwordRule

type CustomInfoType_DetectionRule_HotwordRule struct {
	// Regular expression pattern defining what qualifies as a hotword.
	HotwordRegex *CustomInfoType_Regex `protobuf:"bytes,1,opt,name=hotword_regex,json=hotwordRegex,proto3" json:"hotword_regex,omitempty"`
	// Proximity of the finding within which the entire hotword must reside.
	// The total length of the window cannot exceed 1000 characters. Note that
	// the finding itself will be included in the window, so that hotwords may
	// be used to match substrings of the finding itself. For example, the
	// certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be
	// adjusted upwards if the area code is known to be the local area code of
	// a company office using the hotword regex "\(xxx\)", where "xxx"
	// is the area code in question.
	Proximity *CustomInfoType_DetectionRule_Proximity `protobuf:"bytes,2,opt,name=proximity,proto3" json:"proximity,omitempty"`
	// Likelihood adjustment to apply to all matching findings.
	LikelihoodAdjustment *CustomInfoType_DetectionRule_LikelihoodAdjustment `protobuf:"bytes,3,opt,name=likelihood_adjustment,json=likelihoodAdjustment,proto3" json:"likelihood_adjustment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                           `json:"-"`
	XXX_unrecognized     []byte                                             `json:"-"`
	XXX_sizecache        int32                                              `json:"-"`
}

The rule that adjusts the likelihood of findings within a certain proximity of hotwords.

func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor

func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor() ([]byte, []int)

func (*CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex

func (*CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment

func (*CustomInfoType_DetectionRule_HotwordRule) GetProximity

func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage

func (*CustomInfoType_DetectionRule_HotwordRule) Reset

func (*CustomInfoType_DetectionRule_HotwordRule) String

func (*CustomInfoType_DetectionRule_HotwordRule) XXX_DiscardUnknown

func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_DiscardUnknown()

func (*CustomInfoType_DetectionRule_HotwordRule) XXX_Marshal

func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_DetectionRule_HotwordRule) XXX_Merge

func (*CustomInfoType_DetectionRule_HotwordRule) XXX_Size

func (*CustomInfoType_DetectionRule_HotwordRule) XXX_Unmarshal

func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Unmarshal(b []byte) error

type CustomInfoType_DetectionRule_HotwordRule_

type CustomInfoType_DetectionRule_HotwordRule_ struct {
	HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"`
}

type CustomInfoType_DetectionRule_LikelihoodAdjustment

type CustomInfoType_DetectionRule_LikelihoodAdjustment struct {
	// Types that are valid to be assigned to Adjustment:
	//	*CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood
	//	*CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood
	Adjustment           isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment `protobuf_oneof:"adjustment"`
	XXX_NoUnkeyedLiteral struct{}                                                       `json:"-"`
	XXX_unrecognized     []byte                                                         `json:"-"`
	XXX_sizecache        int32                                                          `json:"-"`
}

Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment

func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood

func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) String

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_DiscardUnknown

func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_DiscardUnknown()

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Marshal

func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Merge

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofWrappers

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Size

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Unmarshal

type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood

type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood struct {
	FixedLikelihood Likelihood `protobuf:"varint,1,opt,name=fixed_likelihood,json=fixedLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood,oneof"`
}

type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood

type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood struct {
	RelativeLikelihood int32 `protobuf:"varint,2,opt,name=relative_likelihood,json=relativeLikelihood,proto3,oneof"`
}

type CustomInfoType_DetectionRule_Proximity

type CustomInfoType_DetectionRule_Proximity struct {
	// Number of characters before the finding to consider.
	WindowBefore int32 `protobuf:"varint,1,opt,name=window_before,json=windowBefore,proto3" json:"window_before,omitempty"`
	// Number of characters after the finding to consider.
	WindowAfter          int32    `protobuf:"varint,2,opt,name=window_after,json=windowAfter,proto3" json:"window_after,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message for specifying a window around a finding to apply a detection rule.

func (*CustomInfoType_DetectionRule_Proximity) Descriptor

func (*CustomInfoType_DetectionRule_Proximity) Descriptor() ([]byte, []int)

func (*CustomInfoType_DetectionRule_Proximity) GetWindowAfter

func (m *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32

func (*CustomInfoType_DetectionRule_Proximity) GetWindowBefore

func (m *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32

func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage

func (*CustomInfoType_DetectionRule_Proximity) Reset

func (*CustomInfoType_DetectionRule_Proximity) String

func (*CustomInfoType_DetectionRule_Proximity) XXX_DiscardUnknown

func (m *CustomInfoType_DetectionRule_Proximity) XXX_DiscardUnknown()

func (*CustomInfoType_DetectionRule_Proximity) XXX_Marshal

func (m *CustomInfoType_DetectionRule_Proximity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_DetectionRule_Proximity) XXX_Merge

func (*CustomInfoType_DetectionRule_Proximity) XXX_Size

func (*CustomInfoType_DetectionRule_Proximity) XXX_Unmarshal

func (m *CustomInfoType_DetectionRule_Proximity) XXX_Unmarshal(b []byte) error

type CustomInfoType_Dictionary

type CustomInfoType_Dictionary struct {
	// Types that are valid to be assigned to Source:
	//	*CustomInfoType_Dictionary_WordList_
	//	*CustomInfoType_Dictionary_CloudStoragePath
	Source               isCustomInfoType_Dictionary_Source `protobuf_oneof:"source"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles.

Dictionary words are case-insensitive and all characters other than letters and digits in the unicode [Basic Multilingual Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer".

Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The [limits](https://cloud.google.com/dlp/limits) page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.

func (*CustomInfoType_Dictionary) Descriptor

func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int)

func (*CustomInfoType_Dictionary) GetCloudStoragePath

func (m *CustomInfoType_Dictionary) GetCloudStoragePath() *CloudStoragePath

func (*CustomInfoType_Dictionary) GetSource

func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source

func (*CustomInfoType_Dictionary) GetWordList

func (*CustomInfoType_Dictionary) ProtoMessage

func (*CustomInfoType_Dictionary) ProtoMessage()

func (*CustomInfoType_Dictionary) Reset

func (m *CustomInfoType_Dictionary) Reset()

func (*CustomInfoType_Dictionary) String

func (m *CustomInfoType_Dictionary) String() string

func (*CustomInfoType_Dictionary) XXX_DiscardUnknown

func (m *CustomInfoType_Dictionary) XXX_DiscardUnknown()

func (*CustomInfoType_Dictionary) XXX_Marshal

func (m *CustomInfoType_Dictionary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_Dictionary) XXX_Merge

func (m *CustomInfoType_Dictionary) XXX_Merge(src proto.Message)

func (*CustomInfoType_Dictionary) XXX_OneofWrappers

func (*CustomInfoType_Dictionary) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CustomInfoType_Dictionary) XXX_Size

func (m *CustomInfoType_Dictionary) XXX_Size() int

func (*CustomInfoType_Dictionary) XXX_Unmarshal

func (m *CustomInfoType_Dictionary) XXX_Unmarshal(b []byte) error

type CustomInfoType_Dictionary_

type CustomInfoType_Dictionary_ struct {
	Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,2,opt,name=dictionary,proto3,oneof"`
}

type CustomInfoType_Dictionary_CloudStoragePath

type CustomInfoType_Dictionary_CloudStoragePath struct {
	CloudStoragePath *CloudStoragePath `protobuf:"bytes,3,opt,name=cloud_storage_path,json=cloudStoragePath,proto3,oneof"`
}

type CustomInfoType_Dictionary_WordList

type CustomInfoType_Dictionary_WordList struct {
	// Words or phrases defining the dictionary. The dictionary must contain
	// at least one phrase and every phrase must contain at least 2 characters
	// that are letters or digits. [required]
	Words                []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message defining a list of words or phrases to search for in the data.

func (*CustomInfoType_Dictionary_WordList) Descriptor

func (*CustomInfoType_Dictionary_WordList) Descriptor() ([]byte, []int)

func (*CustomInfoType_Dictionary_WordList) GetWords

func (*CustomInfoType_Dictionary_WordList) ProtoMessage

func (*CustomInfoType_Dictionary_WordList) ProtoMessage()

func (*CustomInfoType_Dictionary_WordList) Reset

func (*CustomInfoType_Dictionary_WordList) String

func (*CustomInfoType_Dictionary_WordList) XXX_DiscardUnknown

func (m *CustomInfoType_Dictionary_WordList) XXX_DiscardUnknown()

func (*CustomInfoType_Dictionary_WordList) XXX_Marshal

func (m *CustomInfoType_Dictionary_WordList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_Dictionary_WordList) XXX_Merge

func (*CustomInfoType_Dictionary_WordList) XXX_Size

func (*CustomInfoType_Dictionary_WordList) XXX_Unmarshal

func (m *CustomInfoType_Dictionary_WordList) XXX_Unmarshal(b []byte) error

type CustomInfoType_Dictionary_WordList_

type CustomInfoType_Dictionary_WordList_ struct {
	WordList *CustomInfoType_Dictionary_WordList `protobuf:"bytes,1,opt,name=word_list,json=wordList,proto3,oneof"`
}

type CustomInfoType_ExclusionType

type CustomInfoType_ExclusionType int32
const (
	// A finding of this custom info type will not be excluded from results.
	CustomInfoType_EXCLUSION_TYPE_UNSPECIFIED CustomInfoType_ExclusionType = 0
	// A finding of this custom info type will be excluded from final results,
	// but can still affect rule execution.
	CustomInfoType_EXCLUSION_TYPE_EXCLUDE CustomInfoType_ExclusionType = 1
)

func (CustomInfoType_ExclusionType) EnumDescriptor

func (CustomInfoType_ExclusionType) EnumDescriptor() ([]byte, []int)

func (CustomInfoType_ExclusionType) String

type CustomInfoType_Regex

type CustomInfoType_Regex struct {
	// Pattern defining the regular expression. Its syntax
	// (https://github.com/google/re2/wiki/Syntax) can be found under the
	// google/re2 repository on GitHub.
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// The index of the submatch to extract as findings. When not
	// specified, the entire match is returned. No more than 3 may be included.
	GroupIndexes         []int32  `protobuf:"varint,2,rep,packed,name=group_indexes,json=groupIndexes,proto3" json:"group_indexes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message defining a custom regular expression.

func (*CustomInfoType_Regex) Descriptor

func (*CustomInfoType_Regex) Descriptor() ([]byte, []int)

func (*CustomInfoType_Regex) GetGroupIndexes

func (m *CustomInfoType_Regex) GetGroupIndexes() []int32

func (*CustomInfoType_Regex) GetPattern

func (m *CustomInfoType_Regex) GetPattern() string

func (*CustomInfoType_Regex) ProtoMessage

func (*CustomInfoType_Regex) ProtoMessage()

func (*CustomInfoType_Regex) Reset

func (m *CustomInfoType_Regex) Reset()

func (*CustomInfoType_Regex) String

func (m *CustomInfoType_Regex) String() string

func (*CustomInfoType_Regex) XXX_DiscardUnknown

func (m *CustomInfoType_Regex) XXX_DiscardUnknown()

func (*CustomInfoType_Regex) XXX_Marshal

func (m *CustomInfoType_Regex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_Regex) XXX_Merge

func (m *CustomInfoType_Regex) XXX_Merge(src proto.Message)

func (*CustomInfoType_Regex) XXX_Size

func (m *CustomInfoType_Regex) XXX_Size() int

func (*CustomInfoType_Regex) XXX_Unmarshal

func (m *CustomInfoType_Regex) XXX_Unmarshal(b []byte) error

type CustomInfoType_Regex_

type CustomInfoType_Regex_ struct {
	Regex *CustomInfoType_Regex `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}

type CustomInfoType_StoredType

type CustomInfoType_StoredType struct {
	StoredType *StoredType `protobuf:"bytes,5,opt,name=stored_type,json=storedType,proto3,oneof"`
}

type CustomInfoType_SurrogateType

type CustomInfoType_SurrogateType struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as `surrogate_info_type`. This CustomInfoType does not support the use of `detection_rules`.

func (*CustomInfoType_SurrogateType) Descriptor

func (*CustomInfoType_SurrogateType) Descriptor() ([]byte, []int)

func (*CustomInfoType_SurrogateType) ProtoMessage

func (*CustomInfoType_SurrogateType) ProtoMessage()

func (*CustomInfoType_SurrogateType) Reset

func (m *CustomInfoType_SurrogateType) Reset()

func (*CustomInfoType_SurrogateType) String

func (*CustomInfoType_SurrogateType) XXX_DiscardUnknown

func (m *CustomInfoType_SurrogateType) XXX_DiscardUnknown()

func (*CustomInfoType_SurrogateType) XXX_Marshal

func (m *CustomInfoType_SurrogateType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomInfoType_SurrogateType) XXX_Merge

func (m *CustomInfoType_SurrogateType) XXX_Merge(src proto.Message)

func (*CustomInfoType_SurrogateType) XXX_Size

func (m *CustomInfoType_SurrogateType) XXX_Size() int

func (*CustomInfoType_SurrogateType) XXX_Unmarshal

func (m *CustomInfoType_SurrogateType) XXX_Unmarshal(b []byte) error

type CustomInfoType_SurrogateType_

type CustomInfoType_SurrogateType_ struct {
	SurrogateType *CustomInfoType_SurrogateType `protobuf:"bytes,4,opt,name=surrogate_type,json=surrogateType,proto3,oneof"`
}

type DatastoreKey

type DatastoreKey struct {
	// Datastore entity key.
	EntityKey            *Key     `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Record key for a finding in Cloud Datastore.

func (*DatastoreKey) Descriptor

func (*DatastoreKey) Descriptor() ([]byte, []int)

func (*DatastoreKey) GetEntityKey

func (m *DatastoreKey) GetEntityKey() *Key

func (*DatastoreKey) ProtoMessage

func (*DatastoreKey) ProtoMessage()

func (*DatastoreKey) Reset

func (m *DatastoreKey) Reset()

func (*DatastoreKey) String

func (m *DatastoreKey) String() string

func (*DatastoreKey) XXX_DiscardUnknown

func (m *DatastoreKey) XXX_DiscardUnknown()

func (*DatastoreKey) XXX_Marshal

func (m *DatastoreKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatastoreKey) XXX_Merge

func (m *DatastoreKey) XXX_Merge(src proto.Message)

func (*DatastoreKey) XXX_Size

func (m *DatastoreKey) XXX_Size() int

func (*DatastoreKey) XXX_Unmarshal

func (m *DatastoreKey) XXX_Unmarshal(b []byte) error

type DatastoreOptions

type DatastoreOptions struct {
	// A partition ID identifies a grouping of entities. The grouping is always
	// by project and namespace, however the namespace ID may be empty.
	PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	// The kind to process.
	Kind                 *KindExpression `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Options defining a data set within Google Cloud Datastore.

func (*DatastoreOptions) Descriptor

func (*DatastoreOptions) Descriptor() ([]byte, []int)

func (*DatastoreOptions) GetKind

func (m *DatastoreOptions) GetKind() *KindExpression

func (*DatastoreOptions) GetPartitionId

func (m *DatastoreOptions) GetPartitionId() *PartitionId

func (*DatastoreOptions) ProtoMessage

func (*DatastoreOptions) ProtoMessage()

func (*DatastoreOptions) Reset

func (m *DatastoreOptions) Reset()

func (*DatastoreOptions) String

func (m *DatastoreOptions) String() string

func (*DatastoreOptions) XXX_DiscardUnknown

func (m *DatastoreOptions) XXX_DiscardUnknown()

func (*DatastoreOptions) XXX_Marshal

func (m *DatastoreOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DatastoreOptions) XXX_Merge

func (m *DatastoreOptions) XXX_Merge(src proto.Message)

func (*DatastoreOptions) XXX_Size

func (m *DatastoreOptions) XXX_Size() int

func (*DatastoreOptions) XXX_Unmarshal

func (m *DatastoreOptions) XXX_Unmarshal(b []byte) error

type DateShiftConfig

type DateShiftConfig struct {
	// Required. Range of shift in days. Actual shift will be selected at random
	// within this range (inclusive ends). Negative means shift to earlier in
	// time. Must not be more than 365250 days (1000 years) each direction.
	//
	// For example, 3 means shift date to at most 3 days into the future.
	UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays,proto3" json:"upper_bound_days,omitempty"`
	// Required. For example, -5 means shift date to at most 5 days back in the
	// past.
	LowerBoundDays int32 `protobuf:"varint,2,opt,name=lower_bound_days,json=lowerBoundDays,proto3" json:"lower_bound_days,omitempty"`
	// Points to the field that contains the context, for example, an entity id.
	// If set, must also set cryptoKey. If set, shift will be consistent for the
	// given context.
	Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// Method for calculating shift that takes context into consideration. If
	// set, must also set context. Can only be applied to table items.
	//
	// Types that are valid to be assigned to Method:
	//	*DateShiftConfig_CryptoKey
	Method               isDateShiftConfig_Method `protobuf_oneof:"method"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to learn more.

func (*DateShiftConfig) Descriptor

func (*DateShiftConfig) Descriptor() ([]byte, []int)

func (*DateShiftConfig) GetContext

func (m *DateShiftConfig) GetContext() *FieldId

func (*DateShiftConfig) GetCryptoKey

func (m *DateShiftConfig) GetCryptoKey() *CryptoKey

func (*DateShiftConfig) GetLowerBoundDays

func (m *DateShiftConfig) GetLowerBoundDays() int32

func (*DateShiftConfig) GetMethod

func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method

func (*DateShiftConfig) GetUpperBoundDays

func (m *DateShiftConfig) GetUpperBoundDays() int32

func (*DateShiftConfig) ProtoMessage

func (*DateShiftConfig) ProtoMessage()

func (*DateShiftConfig) Reset

func (m *DateShiftConfig) Reset()

func (*DateShiftConfig) String

func (m *DateShiftConfig) String() string

func (*DateShiftConfig) XXX_DiscardUnknown

func (m *DateShiftConfig) XXX_DiscardUnknown()

func (*DateShiftConfig) XXX_Marshal

func (m *DateShiftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DateShiftConfig) XXX_Merge

func (m *DateShiftConfig) XXX_Merge(src proto.Message)

func (*DateShiftConfig) XXX_OneofWrappers

func (*DateShiftConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DateShiftConfig) XXX_Size

func (m *DateShiftConfig) XXX_Size() int

func (*DateShiftConfig) XXX_Unmarshal

func (m *DateShiftConfig) XXX_Unmarshal(b []byte) error

type DateShiftConfig_CryptoKey

type DateShiftConfig_CryptoKey struct {
	CryptoKey *CryptoKey `protobuf:"bytes,4,opt,name=crypto_key,json=cryptoKey,proto3,oneof"`
}

type DateTime

type DateTime struct {
	// One or more of the following must be set.
	// Must be a valid date or time value.
	Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Day of week
	DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
	// Time of day
	Time *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// Time zone
	TimeZone             *DateTime_TimeZone `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Message for a date time object. e.g. 2018-01-01, 5th August.

func (*DateTime) Descriptor

func (*DateTime) Descriptor() ([]byte, []int)

func (*DateTime) GetDate

func (m *DateTime) GetDate() *date.Date

func (*DateTime) GetDayOfWeek

func (m *DateTime) GetDayOfWeek() dayofweek.DayOfWeek

func (*DateTime) GetTime

func (m *DateTime) GetTime() *timeofday.TimeOfDay

func (*DateTime) GetTimeZone

func (m *DateTime) GetTimeZone() *DateTime_TimeZone

func (*DateTime) ProtoMessage

func (*DateTime) ProtoMessage()

func (*DateTime) Reset

func (m *DateTime) Reset()

func (*DateTime) String

func (m *DateTime) String() string

func (*DateTime) XXX_DiscardUnknown

func (m *DateTime) XXX_DiscardUnknown()

func (*DateTime) XXX_Marshal

func (m *DateTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DateTime) XXX_Merge

func (m *DateTime) XXX_Merge(src proto.Message)

func (*DateTime) XXX_Size

func (m *DateTime) XXX_Size() int

func (*DateTime) XXX_Unmarshal

func (m *DateTime) XXX_Unmarshal(b []byte) error

type DateTime_TimeZone

type DateTime_TimeZone struct {
	// Set only if the offset can be determined. Positive for time ahead of UTC.
	// E.g. For "UTC-9", this value is -540.
	OffsetMinutes        int32    `protobuf:"varint,1,opt,name=offset_minutes,json=offsetMinutes,proto3" json:"offset_minutes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Time zone of the date time object.

func (*DateTime_TimeZone) Descriptor

func (*DateTime_TimeZone) Descriptor() ([]byte, []int)

func (*DateTime_TimeZone) GetOffsetMinutes

func (m *DateTime_TimeZone) GetOffsetMinutes() int32

func (*DateTime_TimeZone) ProtoMessage

func (*DateTime_TimeZone) ProtoMessage()

func (*DateTime_TimeZone) Reset

func (m *DateTime_TimeZone) Reset()

func (*DateTime_TimeZone) String

func (m *DateTime_TimeZone) String() string

func (*DateTime_TimeZone) XXX_DiscardUnknown

func (m *DateTime_TimeZone) XXX_DiscardUnknown()

func (*DateTime_TimeZone) XXX_Marshal

func (m *DateTime_TimeZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DateTime_TimeZone) XXX_Merge

func (m *DateTime_TimeZone) XXX_Merge(src proto.Message)

func (*DateTime_TimeZone) XXX_Size

func (m *DateTime_TimeZone) XXX_Size() int

func (*DateTime_TimeZone) XXX_Unmarshal

func (m *DateTime_TimeZone) XXX_Unmarshal(b []byte) error

type DeidentifyConfig

type DeidentifyConfig struct {
	// Types that are valid to be assigned to Transformation:
	//	*DeidentifyConfig_InfoTypeTransformations
	//	*DeidentifyConfig_RecordTransformations
	Transformation isDeidentifyConfig_Transformation `protobuf_oneof:"transformation"`
	// Mode for handling transformation errors. If left unspecified, the default
	// mode is `TransformationErrorHandling.ThrowError`.
	TransformationErrorHandling *TransformationErrorHandling `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral        struct{}                     `json:"-"`
	XXX_unrecognized            []byte                       `json:"-"`
	XXX_sizecache               int32                        `json:"-"`
}

The configuration that controls how the data will change.

func (*DeidentifyConfig) Descriptor

func (*DeidentifyConfig) Descriptor() ([]byte, []int)

func (*DeidentifyConfig) GetInfoTypeTransformations

func (m *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations

func (*DeidentifyConfig) GetRecordTransformations

func (m *DeidentifyConfig) GetRecordTransformations() *RecordTransformations

func (*DeidentifyConfig) GetTransformation

func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation

func (*DeidentifyConfig) GetTransformationErrorHandling

func (m *DeidentifyConfig) GetTransformationErrorHandling() *TransformationErrorHandling

func (*DeidentifyConfig) ProtoMessage

func (*DeidentifyConfig) ProtoMessage()

func (*DeidentifyConfig) Reset

func (m *DeidentifyConfig) Reset()

func (*DeidentifyConfig) String

func (m *DeidentifyConfig) String() string

func (*DeidentifyConfig) XXX_DiscardUnknown

func (m *DeidentifyConfig) XXX_DiscardUnknown()

func (*DeidentifyConfig) XXX_Marshal

func (m *DeidentifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeidentifyConfig) XXX_Merge

func (m *DeidentifyConfig) XXX_Merge(src proto.Message)

func (*DeidentifyConfig) XXX_OneofWrappers

func (*DeidentifyConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DeidentifyConfig) XXX_Size

func (m *DeidentifyConfig) XXX_Size() int

func (*DeidentifyConfig) XXX_Unmarshal

func (m *DeidentifyConfig) XXX_Unmarshal(b []byte) error

type DeidentifyConfig_InfoTypeTransformations

type DeidentifyConfig_InfoTypeTransformations struct {
	InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,1,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"`
}

type DeidentifyConfig_RecordTransformations

type DeidentifyConfig_RecordTransformations struct {
	RecordTransformations *RecordTransformations `protobuf:"bytes,2,opt,name=record_transformations,json=recordTransformations,proto3,oneof"`
}

type DeidentifyContentRequest

type DeidentifyContentRequest struct {
	// The parent resource name, for example projects/my-project-id
	// or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Configuration for the de-identification of the content item.
	// Items specified here will override the template referenced by the
	// deidentify_template_name argument.
	DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"`
	// Configuration for the inspector.
	// Items specified here will override the template referenced by the
	// inspect_template_name argument.
	InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
	// The item to de-identify. Will be treated as text.
	Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
	// 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.
	InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
	// 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.
	DeidentifyTemplateName string `` /* 129-byte string literal not displayed */
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to de-identify a list of items.

func (*DeidentifyContentRequest) Descriptor

func (*DeidentifyContentRequest) Descriptor() ([]byte, []int)

func (*DeidentifyContentRequest) GetDeidentifyConfig

func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig

func (*DeidentifyContentRequest) GetDeidentifyTemplateName

func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string

func (*DeidentifyContentRequest) GetInspectConfig

func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig

func (*DeidentifyContentRequest) GetInspectTemplateName

func (m *DeidentifyContentRequest) GetInspectTemplateName() string

func (*DeidentifyContentRequest) GetItem

func (m *DeidentifyContentRequest) GetItem() *ContentItem

func (*DeidentifyContentRequest) GetLocationId

func (m *DeidentifyContentRequest) GetLocationId() string

func (*DeidentifyContentRequest) GetParent

func (m *DeidentifyContentRequest) GetParent() string

func (*DeidentifyContentRequest) ProtoMessage

func (*DeidentifyContentRequest) ProtoMessage()

func (*DeidentifyContentRequest) Reset

func (m *DeidentifyContentRequest) Reset()

func (*DeidentifyContentRequest) String

func (m *DeidentifyContentRequest) String() string

func (*DeidentifyContentRequest) XXX_DiscardUnknown

func (m *DeidentifyContentRequest) XXX_DiscardUnknown()

func (*DeidentifyContentRequest) XXX_Marshal

func (m *DeidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeidentifyContentRequest) XXX_Merge

func (m *DeidentifyContentRequest) XXX_Merge(src proto.Message)

func (*DeidentifyContentRequest) XXX_Size

func (m *DeidentifyContentRequest) XXX_Size() int

func (*DeidentifyContentRequest) XXX_Unmarshal

func (m *DeidentifyContentRequest) XXX_Unmarshal(b []byte) error

type DeidentifyContentResponse

type DeidentifyContentResponse struct {
	// The de-identified item.
	Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// An overview of the changes that were made on the `item`.
	Overview             *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Results of de-identifying a ContentItem.

func (*DeidentifyContentResponse) Descriptor

func (*DeidentifyContentResponse) Descriptor() ([]byte, []int)

func (*DeidentifyContentResponse) GetItem

func (m *DeidentifyContentResponse) GetItem() *ContentItem

func (*DeidentifyContentResponse) GetOverview

func (*DeidentifyContentResponse) ProtoMessage

func (*DeidentifyContentResponse) ProtoMessage()

func (*DeidentifyContentResponse) Reset

func (m *DeidentifyContentResponse) Reset()

func (*DeidentifyContentResponse) String

func (m *DeidentifyContentResponse) String() string

func (*DeidentifyContentResponse) XXX_DiscardUnknown

func (m *DeidentifyContentResponse) XXX_DiscardUnknown()

func (*DeidentifyContentResponse) XXX_Marshal

func (m *DeidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeidentifyContentResponse) XXX_Merge

func (m *DeidentifyContentResponse) XXX_Merge(src proto.Message)

func (*DeidentifyContentResponse) XXX_Size

func (m *DeidentifyContentResponse) XXX_Size() int

func (*DeidentifyContentResponse) XXX_Unmarshal

func (m *DeidentifyContentResponse) XXX_Unmarshal(b []byte) error

type DeidentifyTemplate

type DeidentifyTemplate struct {
	// Output only. The template name.
	//
	// The template will have one of the following formats:
	// `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
	// `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Display name (max 256 chars).
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Short description (max 256 chars).
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The creation timestamp of an inspectTemplate.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp of an inspectTemplate.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// ///////////// // The core content of the template  // ///////////////
	DeidentifyConfig     *DeidentifyConfig `protobuf:"bytes,6,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.

func (*DeidentifyTemplate) Descriptor

func (*DeidentifyTemplate) Descriptor() ([]byte, []int)

func (*DeidentifyTemplate) GetCreateTime

func (m *DeidentifyTemplate) GetCreateTime() *timestamp.Timestamp

func (*DeidentifyTemplate) GetDeidentifyConfig

func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig

func (*DeidentifyTemplate) GetDescription

func (m *DeidentifyTemplate) GetDescription() string

func (*DeidentifyTemplate) GetDisplayName

func (m *DeidentifyTemplate) GetDisplayName() string

func (*DeidentifyTemplate) GetName

func (m *DeidentifyTemplate) GetName() string

func (*DeidentifyTemplate) GetUpdateTime

func (m *DeidentifyTemplate) GetUpdateTime() *timestamp.Timestamp

func (*DeidentifyTemplate) ProtoMessage

func (*DeidentifyTemplate) ProtoMessage()

func (*DeidentifyTemplate) Reset

func (m *DeidentifyTemplate) Reset()

func (*DeidentifyTemplate) String

func (m *DeidentifyTemplate) String() string

func (*DeidentifyTemplate) XXX_DiscardUnknown

func (m *DeidentifyTemplate) XXX_DiscardUnknown()

func (*DeidentifyTemplate) XXX_Marshal

func (m *DeidentifyTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeidentifyTemplate) XXX_Merge

func (m *DeidentifyTemplate) XXX_Merge(src proto.Message)

func (*DeidentifyTemplate) XXX_Size

func (m *DeidentifyTemplate) XXX_Size() int

func (*DeidentifyTemplate) XXX_Unmarshal

func (m *DeidentifyTemplate) XXX_Unmarshal(b []byte) error

type DeleteDeidentifyTemplateRequest

type DeleteDeidentifyTemplateRequest struct {
	// Required. Resource name of the organization and deidentify template to be
	// deleted, for example
	// `organizations/433245324/deidentifyTemplates/432452342` or
	// projects/project-id/deidentifyTemplates/432452342.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteDeidentifyTemplate.

func (*DeleteDeidentifyTemplateRequest) Descriptor

func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int)

func (*DeleteDeidentifyTemplateRequest) GetName

func (*DeleteDeidentifyTemplateRequest) ProtoMessage

func (*DeleteDeidentifyTemplateRequest) ProtoMessage()

func (*DeleteDeidentifyTemplateRequest) Reset

func (*DeleteDeidentifyTemplateRequest) String

func (*DeleteDeidentifyTemplateRequest) XXX_DiscardUnknown

func (m *DeleteDeidentifyTemplateRequest) XXX_DiscardUnknown()

func (*DeleteDeidentifyTemplateRequest) XXX_Marshal

func (m *DeleteDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDeidentifyTemplateRequest) XXX_Merge

func (m *DeleteDeidentifyTemplateRequest) XXX_Merge(src proto.Message)

func (*DeleteDeidentifyTemplateRequest) XXX_Size

func (m *DeleteDeidentifyTemplateRequest) XXX_Size() int

func (*DeleteDeidentifyTemplateRequest) XXX_Unmarshal

func (m *DeleteDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error

type DeleteDlpJobRequest

type DeleteDlpJobRequest struct {
	// Required. The name of the DlpJob resource to be deleted.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request message for deleting a DLP job.

func (*DeleteDlpJobRequest) Descriptor

func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int)

func (*DeleteDlpJobRequest) GetName

func (m *DeleteDlpJobRequest) GetName() string

func (*DeleteDlpJobRequest) ProtoMessage

func (*DeleteDlpJobRequest) ProtoMessage()

func (*DeleteDlpJobRequest) Reset

func (m *DeleteDlpJobRequest) Reset()

func (*DeleteDlpJobRequest) String

func (m *DeleteDlpJobRequest) String() string

func (*DeleteDlpJobRequest) XXX_DiscardUnknown

func (m *DeleteDlpJobRequest) XXX_DiscardUnknown()

func (*DeleteDlpJobRequest) XXX_Marshal

func (m *DeleteDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDlpJobRequest) XXX_Merge

func (m *DeleteDlpJobRequest) XXX_Merge(src proto.Message)

func (*DeleteDlpJobRequest) XXX_Size

func (m *DeleteDlpJobRequest) XXX_Size() int

func (*DeleteDlpJobRequest) XXX_Unmarshal

func (m *DeleteDlpJobRequest) XXX_Unmarshal(b []byte) error

type DeleteInspectTemplateRequest

type DeleteInspectTemplateRequest struct {
	// Required. Resource name of the organization and inspectTemplate to be
	// deleted, for example `organizations/433245324/inspectTemplates/432452342`
	// or projects/project-id/inspectTemplates/432452342.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteInspectTemplate.

func (*DeleteInspectTemplateRequest) Descriptor

func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int)

func (*DeleteInspectTemplateRequest) GetName

func (m *DeleteInspectTemplateRequest) GetName() string

func (*DeleteInspectTemplateRequest) ProtoMessage

func (*DeleteInspectTemplateRequest) ProtoMessage()

func (*DeleteInspectTemplateRequest) Reset

func (m *DeleteInspectTemplateRequest) Reset()

func (*DeleteInspectTemplateRequest) String

func (*DeleteInspectTemplateRequest) XXX_DiscardUnknown

func (m *DeleteInspectTemplateRequest) XXX_DiscardUnknown()

func (*DeleteInspectTemplateRequest) XXX_Marshal

func (m *DeleteInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteInspectTemplateRequest) XXX_Merge

func (m *DeleteInspectTemplateRequest) XXX_Merge(src proto.Message)

func (*DeleteInspectTemplateRequest) XXX_Size

func (m *DeleteInspectTemplateRequest) XXX_Size() int

func (*DeleteInspectTemplateRequest) XXX_Unmarshal

func (m *DeleteInspectTemplateRequest) XXX_Unmarshal(b []byte) error

type DeleteJobTriggerRequest

type DeleteJobTriggerRequest struct {
	// Required. Resource name of the project and the triggeredJob, for example
	// `projects/dlp-test-project/jobTriggers/53234423`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteJobTrigger.

func (*DeleteJobTriggerRequest) Descriptor

func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int)

func (*DeleteJobTriggerRequest) GetName

func (m *DeleteJobTriggerRequest) GetName() string

func (*DeleteJobTriggerRequest) ProtoMessage

func (*DeleteJobTriggerRequest) ProtoMessage()

func (*DeleteJobTriggerRequest) Reset

func (m *DeleteJobTriggerRequest) Reset()

func (*DeleteJobTriggerRequest) String

func (m *DeleteJobTriggerRequest) String() string

func (*DeleteJobTriggerRequest) XXX_DiscardUnknown

func (m *DeleteJobTriggerRequest) XXX_DiscardUnknown()

func (*DeleteJobTriggerRequest) XXX_Marshal

func (m *DeleteJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteJobTriggerRequest) XXX_Merge

func (m *DeleteJobTriggerRequest) XXX_Merge(src proto.Message)

func (*DeleteJobTriggerRequest) XXX_Size

func (m *DeleteJobTriggerRequest) XXX_Size() int

func (*DeleteJobTriggerRequest) XXX_Unmarshal

func (m *DeleteJobTriggerRequest) XXX_Unmarshal(b []byte) error

type DeleteStoredInfoTypeRequest

type DeleteStoredInfoTypeRequest struct {
	// Required. Resource name of the organization and storedInfoType to be
	// deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
	// projects/project-id/storedInfoTypes/432452342.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for DeleteStoredInfoType.

func (*DeleteStoredInfoTypeRequest) Descriptor

func (*DeleteStoredInfoTypeRequest) Descriptor() ([]byte, []int)

func (*DeleteStoredInfoTypeRequest) GetName

func (m *DeleteStoredInfoTypeRequest) GetName() string

func (*DeleteStoredInfoTypeRequest) ProtoMessage

func (*DeleteStoredInfoTypeRequest) ProtoMessage()

func (*DeleteStoredInfoTypeRequest) Reset

func (m *DeleteStoredInfoTypeRequest) Reset()

func (*DeleteStoredInfoTypeRequest) String

func (m *DeleteStoredInfoTypeRequest) String() string

func (*DeleteStoredInfoTypeRequest) XXX_DiscardUnknown

func (m *DeleteStoredInfoTypeRequest) XXX_DiscardUnknown()

func (*DeleteStoredInfoTypeRequest) XXX_Marshal

func (m *DeleteStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteStoredInfoTypeRequest) XXX_Merge

func (m *DeleteStoredInfoTypeRequest) XXX_Merge(src proto.Message)

func (*DeleteStoredInfoTypeRequest) XXX_Size

func (m *DeleteStoredInfoTypeRequest) XXX_Size() int

func (*DeleteStoredInfoTypeRequest) XXX_Unmarshal

func (m *DeleteStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error

type DlpJob

type DlpJob struct {
	// The server-assigned name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of job.
	Type DlpJobType `protobuf:"varint,2,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"`
	// State of a job.
	State DlpJob_JobState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.DlpJob_JobState" json:"state,omitempty"`
	// Types that are valid to be assigned to Details:
	//	*DlpJob_RiskDetails
	//	*DlpJob_InspectDetails
	Details isDlpJob_Details `protobuf_oneof:"details"`
	// Time when the job was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time when the job started.
	StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Time when the job finished.
	EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// If created by a job trigger, the resource name of the trigger that
	// instantiated the job.
	JobTriggerName string `protobuf:"bytes,10,opt,name=job_trigger_name,json=jobTriggerName,proto3" json:"job_trigger_name,omitempty"`
	// A stream of errors encountered running the job.
	Errors               []*Error `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Combines all of the information about a DLP job.

func (*DlpJob) Descriptor

func (*DlpJob) Descriptor() ([]byte, []int)

func (*DlpJob) GetCreateTime

func (m *DlpJob) GetCreateTime() *timestamp.Timestamp

func (*DlpJob) GetDetails

func (m *DlpJob) GetDetails() isDlpJob_Details

func (*DlpJob) GetEndTime

func (m *DlpJob) GetEndTime() *timestamp.Timestamp

func (*DlpJob) GetErrors

func (m *DlpJob) GetErrors() []*Error

func (*DlpJob) GetInspectDetails

func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails

func (*DlpJob) GetJobTriggerName

func (m *DlpJob) GetJobTriggerName() string

func (*DlpJob) GetName

func (m *DlpJob) GetName() string

func (*DlpJob) GetRiskDetails

func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails

func (*DlpJob) GetStartTime

func (m *DlpJob) GetStartTime() *timestamp.Timestamp

func (*DlpJob) GetState

func (m *DlpJob) GetState() DlpJob_JobState

func (*DlpJob) GetType

func (m *DlpJob) GetType() DlpJobType

func (*DlpJob) ProtoMessage

func (*DlpJob) ProtoMessage()

func (*DlpJob) Reset

func (m *DlpJob) Reset()

func (*DlpJob) String

func (m *DlpJob) String() string

func (*DlpJob) XXX_DiscardUnknown

func (m *DlpJob) XXX_DiscardUnknown()

func (*DlpJob) XXX_Marshal

func (m *DlpJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DlpJob) XXX_Merge

func (m *DlpJob) XXX_Merge(src proto.Message)

func (*DlpJob) XXX_OneofWrappers

func (*DlpJob) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DlpJob) XXX_Size

func (m *DlpJob) XXX_Size() int

func (*DlpJob) XXX_Unmarshal

func (m *DlpJob) XXX_Unmarshal(b []byte) error

type DlpJobType

type DlpJobType int32

An enum to represent the various types of DLP jobs.

const (
	// Unused
	DlpJobType_DLP_JOB_TYPE_UNSPECIFIED DlpJobType = 0
	// The job inspected Google Cloud for sensitive data.
	DlpJobType_INSPECT_JOB DlpJobType = 1
	// The job executed a Risk Analysis computation.
	DlpJobType_RISK_ANALYSIS_JOB DlpJobType = 2
)

func (DlpJobType) EnumDescriptor

func (DlpJobType) EnumDescriptor() ([]byte, []int)

func (DlpJobType) String

func (x DlpJobType) String() string

type DlpJob_InspectDetails

type DlpJob_InspectDetails struct {
	InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,proto3,oneof"`
}

type DlpJob_JobState

type DlpJob_JobState int32

Possible states of a job. New items may be added.

const (
	// Unused.
	DlpJob_JOB_STATE_UNSPECIFIED DlpJob_JobState = 0
	// The job has not yet started.
	DlpJob_PENDING DlpJob_JobState = 1
	// The job is currently running. Once a job has finished it will transition
	// to FAILED or DONE.
	DlpJob_RUNNING DlpJob_JobState = 2
	// The job is no longer running.
	DlpJob_DONE DlpJob_JobState = 3
	// The job was canceled before it could complete.
	DlpJob_CANCELED DlpJob_JobState = 4
	// The job had an error and did not complete.
	DlpJob_FAILED DlpJob_JobState = 5
	// The job is currently accepting findings via hybridInspect.
	// A hybrid job in ACTIVE state may continue to have findings added to it
	// through calling of hybridInspect. After the job has finished no more
	// calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
	DlpJob_ACTIVE DlpJob_JobState = 6
)

func (DlpJob_JobState) EnumDescriptor

func (DlpJob_JobState) EnumDescriptor() ([]byte, []int)

func (DlpJob_JobState) String

func (x DlpJob_JobState) String() string

type DlpJob_RiskDetails

type DlpJob_RiskDetails struct {
	RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,proto3,oneof"`
}

type DlpServiceClient

type DlpServiceClient interface {
	// Finds potentially sensitive info in content.
	// This method has limits on input size, processing time, and output size.
	//
	// When no InfoTypes or CustomInfoTypes are specified in this request, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	//
	// For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
	// and https://cloud.google.com/dlp/docs/inspecting-text,
	InspectContent(ctx context.Context, in *InspectContentRequest, opts ...grpc.CallOption) (*InspectContentResponse, error)
	// Redacts potentially sensitive info from an image.
	// This method has limits on input size, processing time, and output size.
	// See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
	// learn more.
	//
	// When no InfoTypes or CustomInfoTypes are specified in this request, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	RedactImage(ctx context.Context, in *RedactImageRequest, opts ...grpc.CallOption) (*RedactImageResponse, error)
	// De-identifies potentially sensitive info from a ContentItem.
	// This method has limits on input size and output size.
	// See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
	// learn more.
	//
	// When no InfoTypes or CustomInfoTypes are specified in this request, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error)
	// Re-identifies content that has been de-identified.
	// See
	// https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
	// to learn more.
	ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error)
	// Returns a list of the sensitive information types that the DLP API
	// supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
	// learn more.
	ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error)
	// Creates an InspectTemplate for re-using frequently used configuration
	// for inspecting content, images, and storage.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error)
	// Updates the InspectTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error)
	// Gets an InspectTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error)
	// Lists InspectTemplates.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error)
	// Deletes an InspectTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Creates a DeidentifyTemplate for re-using frequently used configuration
	// for de-identifying content, images, and storage.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error)
	// Updates the DeidentifyTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error)
	// Gets a DeidentifyTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error)
	// Lists DeidentifyTemplates.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error)
	// Deletes a DeidentifyTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Creates a job trigger to run DLP actions such as scanning storage for
	// sensitive information on a set schedule.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error)
	// Updates a job trigger.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error)
	// Inspect hybrid content and store findings to a trigger. The inspection
	// will be processed asynchronously. To review the findings monitor the
	// jobs within the trigger.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	HybridInspectJobTrigger(ctx context.Context, in *HybridInspectJobTriggerRequest, opts ...grpc.CallOption) (*HybridInspectResponse, error)
	// Gets a job trigger.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error)
	// Lists job triggers.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error)
	// Deletes a job trigger.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Activate a job trigger. Causes the immediate execute of a trigger
	// instead of waiting on the trigger event to occur.
	ActivateJobTrigger(ctx context.Context, in *ActivateJobTriggerRequest, opts ...grpc.CallOption) (*DlpJob, error)
	// Creates a new job to inspect storage or calculate risk metrics.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	//
	// When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	CreateDlpJob(ctx context.Context, in *CreateDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error)
	// Lists DlpJobs that match the specified filter in the request.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error)
	// Gets the latest state of a long-running DlpJob.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	GetDlpJob(ctx context.Context, in *GetDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error)
	// Deletes a long-running DlpJob. This method indicates that the client is
	// no longer interested in the DlpJob result. The job will be cancelled if
	// possible.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Starts asynchronous cancellation on a long-running DlpJob. The server
	// makes a best effort to cancel the DlpJob, but success is not
	// guaranteed.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Creates a pre-built stored infoType to be used for inspection.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	CreateStoredInfoType(ctx context.Context, in *CreateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error)
	// Updates the stored infoType by creating a new version. The existing version
	// will continue to be used until the new version is ready.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	UpdateStoredInfoType(ctx context.Context, in *UpdateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error)
	// Gets a stored infoType.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	GetStoredInfoType(ctx context.Context, in *GetStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error)
	// Lists stored infoTypes.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	ListStoredInfoTypes(ctx context.Context, in *ListStoredInfoTypesRequest, opts ...grpc.CallOption) (*ListStoredInfoTypesResponse, error)
	// Deletes a stored infoType.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	DeleteStoredInfoType(ctx context.Context, in *DeleteStoredInfoTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Inspect hybrid content and store findings to a job.
	// To review the findings inspect the job. Inspection will occur
	// asynchronously.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	HybridInspectDlpJob(ctx context.Context, in *HybridInspectDlpJobRequest, opts ...grpc.CallOption) (*HybridInspectResponse, error)
	// Finish a running hybrid DlpJob. Triggers the finalization steps and running
	// of any enabled actions that have not yet run.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	FinishDlpJob(ctx context.Context, in *FinishDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

DlpServiceClient is the client API for DlpService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDlpServiceClient

func NewDlpServiceClient(cc grpc.ClientConnInterface) DlpServiceClient

type DlpServiceServer

type DlpServiceServer interface {
	// Finds potentially sensitive info in content.
	// This method has limits on input size, processing time, and output size.
	//
	// When no InfoTypes or CustomInfoTypes are specified in this request, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	//
	// For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
	// and https://cloud.google.com/dlp/docs/inspecting-text,
	InspectContent(context.Context, *InspectContentRequest) (*InspectContentResponse, error)
	// Redacts potentially sensitive info from an image.
	// This method has limits on input size, processing time, and output size.
	// See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
	// learn more.
	//
	// When no InfoTypes or CustomInfoTypes are specified in this request, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error)
	// De-identifies potentially sensitive info from a ContentItem.
	// This method has limits on input size and output size.
	// See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
	// learn more.
	//
	// When no InfoTypes or CustomInfoTypes are specified in this request, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error)
	// Re-identifies content that has been de-identified.
	// See
	// https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
	// to learn more.
	ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error)
	// Returns a list of the sensitive information types that the DLP API
	// supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
	// learn more.
	ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error)
	// Creates an InspectTemplate for re-using frequently used configuration
	// for inspecting content, images, and storage.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error)
	// Updates the InspectTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error)
	// Gets an InspectTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error)
	// Lists InspectTemplates.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error)
	// Deletes an InspectTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates to learn more.
	DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*empty.Empty, error)
	// Creates a DeidentifyTemplate for re-using frequently used configuration
	// for de-identifying content, images, and storage.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
	// Updates the DeidentifyTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
	// Gets a DeidentifyTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
	// Lists DeidentifyTemplates.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error)
	// Deletes a DeidentifyTemplate.
	// See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
	// more.
	DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*empty.Empty, error)
	// Creates a job trigger to run DLP actions such as scanning storage for
	// sensitive information on a set schedule.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error)
	// Updates a job trigger.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error)
	// Inspect hybrid content and store findings to a trigger. The inspection
	// will be processed asynchronously. To review the findings monitor the
	// jobs within the trigger.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	HybridInspectJobTrigger(context.Context, *HybridInspectJobTriggerRequest) (*HybridInspectResponse, error)
	// Gets a job trigger.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error)
	// Lists job triggers.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error)
	// Deletes a job trigger.
	// See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
	DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*empty.Empty, error)
	// Activate a job trigger. Causes the immediate execute of a trigger
	// instead of waiting on the trigger event to occur.
	ActivateJobTrigger(context.Context, *ActivateJobTriggerRequest) (*DlpJob, error)
	// Creates a new job to inspect storage or calculate risk metrics.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	//
	// When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
	// system will automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	CreateDlpJob(context.Context, *CreateDlpJobRequest) (*DlpJob, error)
	// Lists DlpJobs that match the specified filter in the request.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error)
	// Gets the latest state of a long-running DlpJob.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	GetDlpJob(context.Context, *GetDlpJobRequest) (*DlpJob, error)
	// Deletes a long-running DlpJob. This method indicates that the client is
	// no longer interested in the DlpJob result. The job will be cancelled if
	// possible.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*empty.Empty, error)
	// Starts asynchronous cancellation on a long-running DlpJob. The server
	// makes a best effort to cancel the DlpJob, but success is not
	// guaranteed.
	// See https://cloud.google.com/dlp/docs/inspecting-storage and
	// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
	CancelDlpJob(context.Context, *CancelDlpJobRequest) (*empty.Empty, error)
	// Creates a pre-built stored infoType to be used for inspection.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	CreateStoredInfoType(context.Context, *CreateStoredInfoTypeRequest) (*StoredInfoType, error)
	// Updates the stored infoType by creating a new version. The existing version
	// will continue to be used until the new version is ready.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	UpdateStoredInfoType(context.Context, *UpdateStoredInfoTypeRequest) (*StoredInfoType, error)
	// Gets a stored infoType.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	GetStoredInfoType(context.Context, *GetStoredInfoTypeRequest) (*StoredInfoType, error)
	// Lists stored infoTypes.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	ListStoredInfoTypes(context.Context, *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error)
	// Deletes a stored infoType.
	// See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
	// learn more.
	DeleteStoredInfoType(context.Context, *DeleteStoredInfoTypeRequest) (*empty.Empty, error)
	// Inspect hybrid content and store findings to a job.
	// To review the findings inspect the job. Inspection will occur
	// asynchronously.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	HybridInspectDlpJob(context.Context, *HybridInspectDlpJobRequest) (*HybridInspectResponse, error)
	// Finish a running hybrid DlpJob. Triggers the finalization steps and running
	// of any enabled actions that have not yet run.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	FinishDlpJob(context.Context, *FinishDlpJobRequest) (*empty.Empty, error)
}

DlpServiceServer is the server API for DlpService service.

type DocumentLocation

type DocumentLocation struct {
	// Offset of the line, from the beginning of the file, where the finding
	// is located.
	FileOffset           int64    `protobuf:"varint,1,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Location of a finding within a document.

func (*DocumentLocation) Descriptor

func (*DocumentLocation) Descriptor() ([]byte, []int)

func (*DocumentLocation) GetFileOffset

func (m *DocumentLocation) GetFileOffset() int64

func (*DocumentLocation) ProtoMessage

func (*DocumentLocation) ProtoMessage()

func (*DocumentLocation) Reset

func (m *DocumentLocation) Reset()

func (*DocumentLocation) String

func (m *DocumentLocation) String() string

func (*DocumentLocation) XXX_DiscardUnknown

func (m *DocumentLocation) XXX_DiscardUnknown()

func (*DocumentLocation) XXX_Marshal

func (m *DocumentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DocumentLocation) XXX_Merge

func (m *DocumentLocation) XXX_Merge(src proto.Message)

func (*DocumentLocation) XXX_Size

func (m *DocumentLocation) XXX_Size() int

func (*DocumentLocation) XXX_Unmarshal

func (m *DocumentLocation) XXX_Unmarshal(b []byte) error

type EntityId

type EntityId struct {
	// Composite key indicating which field contains the entity identifier.
	Field                *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the `EntityId` might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.

func (*EntityId) Descriptor

func (*EntityId) Descriptor() ([]byte, []int)

func (*EntityId) GetField

func (m *EntityId) GetField() *FieldId

func (*EntityId) ProtoMessage

func (*EntityId) ProtoMessage()

func (*EntityId) Reset

func (m *EntityId) Reset()

func (*EntityId) String

func (m *EntityId) String() string

func (*EntityId) XXX_DiscardUnknown

func (m *EntityId) XXX_DiscardUnknown()

func (*EntityId) XXX_Marshal

func (m *EntityId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityId) XXX_Merge

func (m *EntityId) XXX_Merge(src proto.Message)

func (*EntityId) XXX_Size

func (m *EntityId) XXX_Size() int

func (*EntityId) XXX_Unmarshal

func (m *EntityId) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	// Detailed error codes and messages.
	Details *status.Status `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	// The times the error occurred.
	Timestamps           []*timestamp.Timestamp `protobuf:"bytes,2,rep,name=timestamps,proto3" json:"timestamps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)

func (*Error) GetDetails

func (m *Error) GetDetails() *status.Status

func (*Error) GetTimestamps

func (m *Error) GetTimestamps() []*timestamp.Timestamp

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type ExcludeInfoTypes

type ExcludeInfoTypes struct {
	// InfoType list in ExclusionRule rule drops a finding when it overlaps or
	// contained within with a finding of an infoType from this list. For
	// example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
	// `exclusion_rule` containing `exclude_info_types.info_types` with
	// "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
	// with EMAIL_ADDRESS finding.
	// That leads to "555-222-2222@example.org" to generate only a single
	// finding, namely email address.
	InfoTypes            []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

List of exclude infoTypes.

func (*ExcludeInfoTypes) Descriptor

func (*ExcludeInfoTypes) Descriptor() ([]byte, []int)

func (*ExcludeInfoTypes) GetInfoTypes

func (m *ExcludeInfoTypes) GetInfoTypes() []*InfoType

func (*ExcludeInfoTypes) ProtoMessage

func (*ExcludeInfoTypes) ProtoMessage()

func (*ExcludeInfoTypes) Reset

func (m *ExcludeInfoTypes) Reset()

func (*ExcludeInfoTypes) String

func (m *ExcludeInfoTypes) String() string

func (*ExcludeInfoTypes) XXX_DiscardUnknown

func (m *ExcludeInfoTypes) XXX_DiscardUnknown()

func (*ExcludeInfoTypes) XXX_Marshal

func (m *ExcludeInfoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExcludeInfoTypes) XXX_Merge

func (m *ExcludeInfoTypes) XXX_Merge(src proto.Message)

func (*ExcludeInfoTypes) XXX_Size

func (m *ExcludeInfoTypes) XXX_Size() int

func (*ExcludeInfoTypes) XXX_Unmarshal

func (m *ExcludeInfoTypes) XXX_Unmarshal(b []byte) error

type ExclusionRule

type ExclusionRule struct {
	// Exclusion rule types.
	//
	// Types that are valid to be assigned to Type:
	//	*ExclusionRule_Dictionary
	//	*ExclusionRule_Regex
	//	*ExclusionRule_ExcludeInfoTypes
	Type isExclusionRule_Type `protobuf_oneof:"type"`
	// How the rule is applied, see MatchingType documentation for details.
	MatchingType         MatchingType `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

The rule that specifies conditions when findings of infoTypes specified in `InspectionRuleSet` are removed from results.

func (*ExclusionRule) Descriptor

func (*ExclusionRule) Descriptor() ([]byte, []int)

func (*ExclusionRule) GetDictionary

func (m *ExclusionRule) GetDictionary() *CustomInfoType_Dictionary

func (*ExclusionRule) GetExcludeInfoTypes

func (m *ExclusionRule) GetExcludeInfoTypes() *ExcludeInfoTypes

func (*ExclusionRule) GetMatchingType

func (m *ExclusionRule) GetMatchingType() MatchingType

func (*ExclusionRule) GetRegex

func (m *ExclusionRule) GetRegex() *CustomInfoType_Regex

func (*ExclusionRule) GetType

func (m *ExclusionRule) GetType() isExclusionRule_Type

func (*ExclusionRule) ProtoMessage

func (*ExclusionRule) ProtoMessage()

func (*ExclusionRule) Reset

func (m *ExclusionRule) Reset()

func (*ExclusionRule) String

func (m *ExclusionRule) String() string

func (*ExclusionRule) XXX_DiscardUnknown

func (m *ExclusionRule) XXX_DiscardUnknown()

func (*ExclusionRule) XXX_Marshal

func (m *ExclusionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExclusionRule) XXX_Merge

func (m *ExclusionRule) XXX_Merge(src proto.Message)

func (*ExclusionRule) XXX_OneofWrappers

func (*ExclusionRule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ExclusionRule) XXX_Size

func (m *ExclusionRule) XXX_Size() int

func (*ExclusionRule) XXX_Unmarshal

func (m *ExclusionRule) XXX_Unmarshal(b []byte) error

type ExclusionRule_Dictionary

type ExclusionRule_Dictionary struct {
	Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,1,opt,name=dictionary,proto3,oneof"`
}

type ExclusionRule_ExcludeInfoTypes

type ExclusionRule_ExcludeInfoTypes struct {
	ExcludeInfoTypes *ExcludeInfoTypes `protobuf:"bytes,3,opt,name=exclude_info_types,json=excludeInfoTypes,proto3,oneof"`
}

type ExclusionRule_Regex

type ExclusionRule_Regex struct {
	Regex *CustomInfoType_Regex `protobuf:"bytes,2,opt,name=regex,proto3,oneof"`
}

type FieldId

type FieldId struct {
	// Name describing the field.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

General identifier of a data field in a storage service.

func (*FieldId) Descriptor

func (*FieldId) Descriptor() ([]byte, []int)

func (*FieldId) GetName

func (m *FieldId) GetName() string

func (*FieldId) ProtoMessage

func (*FieldId) ProtoMessage()

func (*FieldId) Reset

func (m *FieldId) Reset()

func (*FieldId) String

func (m *FieldId) String() string

func (*FieldId) XXX_DiscardUnknown

func (m *FieldId) XXX_DiscardUnknown()

func (*FieldId) XXX_Marshal

func (m *FieldId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldId) XXX_Merge

func (m *FieldId) XXX_Merge(src proto.Message)

func (*FieldId) XXX_Size

func (m *FieldId) XXX_Size() int

func (*FieldId) XXX_Unmarshal

func (m *FieldId) XXX_Unmarshal(b []byte) error

type FieldTransformation

type FieldTransformation struct {
	// Required. Input field(s) to apply the transformation to.
	Fields []*FieldId `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// Only apply the transformation if the condition evaluates to true for the
	// given `RecordCondition`. The conditions are allowed to reference fields
	// that are not used in the actual transformation.
	//
	// Example Use Cases:
	//
	// - Apply a different bucket transformation to an age column if the zip code
	// column for the same record is within a specific range.
	// - Redact a field if the date of birth field is greater than 85.
	Condition *RecordCondition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// Transformation to apply. [required]
	//
	// Types that are valid to be assigned to Transformation:
	//	*FieldTransformation_PrimitiveTransformation
	//	*FieldTransformation_InfoTypeTransformations
	Transformation       isFieldTransformation_Transformation `protobuf_oneof:"transformation"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

The transformation to apply to the field.

func (*FieldTransformation) Descriptor

func (*FieldTransformation) Descriptor() ([]byte, []int)

func (*FieldTransformation) GetCondition

func (m *FieldTransformation) GetCondition() *RecordCondition

func (*FieldTransformation) GetFields

func (m *FieldTransformation) GetFields() []*FieldId

func (*FieldTransformation) GetInfoTypeTransformations

func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations

func (*FieldTransformation) GetPrimitiveTransformation

func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation

func (*FieldTransformation) GetTransformation

func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation

func (*FieldTransformation) ProtoMessage

func (*FieldTransformation) ProtoMessage()

func (*FieldTransformation) Reset

func (m *FieldTransformation) Reset()

func (*FieldTransformation) String

func (m *FieldTransformation) String() string

func (*FieldTransformation) XXX_DiscardUnknown

func (m *FieldTransformation) XXX_DiscardUnknown()

func (*FieldTransformation) XXX_Marshal

func (m *FieldTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldTransformation) XXX_Merge

func (m *FieldTransformation) XXX_Merge(src proto.Message)

func (*FieldTransformation) XXX_OneofWrappers

func (*FieldTransformation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FieldTransformation) XXX_Size

func (m *FieldTransformation) XXX_Size() int

func (*FieldTransformation) XXX_Unmarshal

func (m *FieldTransformation) XXX_Unmarshal(b []byte) error

type FieldTransformation_InfoTypeTransformations

type FieldTransformation_InfoTypeTransformations struct {
	InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"`
}

type FieldTransformation_PrimitiveTransformation

type FieldTransformation_PrimitiveTransformation struct {
	PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,proto3,oneof"`
}

type FileType

type FileType int32

Definitions of file type groups to scan.

const (
	// Includes all files.
	FileType_FILE_TYPE_UNSPECIFIED FileType = 0
	// Includes all file extensions not covered by text file types.
	FileType_BINARY_FILE FileType = 1
	// Included file extensions:
	//   asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp,
	//   hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json,
	//   ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw,
	//   rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml,
	//   xml, xsl, xsd, yml, yaml.
	FileType_TEXT_FILE FileType = 2
	// Included file extensions:
	//   bmp, gif, jpg, jpeg, jpe, png.
	// bytes_limit_per_file has no effect on image files.
	// Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
	FileType_IMAGE FileType = 3
	// Included file extensions:
	//   docx, dotx, docm, dotm
	FileType_WORD FileType = 5
	// Included file extensions:
	//   pdf
	FileType_PDF FileType = 6
	// Included file extensions:
	//   avro
	FileType_AVRO FileType = 7
)

func (FileType) EnumDescriptor

func (FileType) EnumDescriptor() ([]byte, []int)

func (FileType) String

func (x FileType) String() string

type Finding

type Finding struct {
	// Resource name in format
	// projects/{project}/locations/{location}/findings/{finding}
	// Populated only when viewing persisted findings.
	Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
	// 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.
	Quote string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"`
	// The type of content that might have been found.
	// Provided if `excluded_types` is false.
	InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
	// Confidence of how likely it is that the `info_type` is correct.
	Likelihood Likelihood `protobuf:"varint,3,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"`
	// Where the content was found.
	Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// Timestamp when finding was detected.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// 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.
	QuoteInfo *QuoteInfo `protobuf:"bytes,7,opt,name=quote_info,json=quoteInfo,proto3" json:"quote_info,omitempty"`
	// The job that stored the finding.
	ResourceName string `protobuf:"bytes,8,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Job trigger name, if applicable, for this finding.
	TriggerName string `protobuf:"bytes,9,opt,name=trigger_name,json=triggerName,proto3" json:"trigger_name,omitempty"`
	// 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"`
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Time the job started that produced this finding.
	JobCreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=job_create_time,json=jobCreateTime,proto3" json:"job_create_time,omitempty"`
	// The job that stored the finding.
	JobName              string   `protobuf:"bytes,13,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a piece of potentially sensitive content.

func (*Finding) Descriptor

func (*Finding) Descriptor() ([]byte, []int)

func (*Finding) GetCreateTime

func (m *Finding) GetCreateTime() *timestamp.Timestamp

func (*Finding) GetInfoType

func (m *Finding) GetInfoType() *InfoType

func (*Finding) GetJobCreateTime

func (m *Finding) GetJobCreateTime() *timestamp.Timestamp

func (*Finding) GetJobName

func (m *Finding) GetJobName() string

func (*Finding) GetLabels

func (m *Finding) GetLabels() map[string]string

func (*Finding) GetLikelihood

func (m *Finding) GetLikelihood() Likelihood

func (*Finding) GetLocation

func (m *Finding) GetLocation() *Location

func (*Finding) GetName

func (m *Finding) GetName() string

func (*Finding) GetQuote

func (m *Finding) GetQuote() string

func (*Finding) GetQuoteInfo

func (m *Finding) GetQuoteInfo() *QuoteInfo

func (*Finding) GetResourceName

func (m *Finding) GetResourceName() string

func (*Finding) GetTriggerName

func (m *Finding) GetTriggerName() string

func (*Finding) ProtoMessage

func (*Finding) ProtoMessage()

func (*Finding) Reset

func (m *Finding) Reset()

func (*Finding) String

func (m *Finding) String() string

func (*Finding) XXX_DiscardUnknown

func (m *Finding) XXX_DiscardUnknown()

func (*Finding) XXX_Marshal

func (m *Finding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Finding) XXX_Merge

func (m *Finding) XXX_Merge(src proto.Message)

func (*Finding) XXX_Size

func (m *Finding) XXX_Size() int

func (*Finding) XXX_Unmarshal

func (m *Finding) XXX_Unmarshal(b []byte) error

type FinishDlpJobRequest

type FinishDlpJobRequest struct {
	// Required. The name of the DlpJob resource to be cancelled.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request message for finishing a DLP hybrid job.

func (*FinishDlpJobRequest) Descriptor

func (*FinishDlpJobRequest) Descriptor() ([]byte, []int)

func (*FinishDlpJobRequest) GetName

func (m *FinishDlpJobRequest) GetName() string

func (*FinishDlpJobRequest) ProtoMessage

func (*FinishDlpJobRequest) ProtoMessage()

func (*FinishDlpJobRequest) Reset

func (m *FinishDlpJobRequest) Reset()

func (*FinishDlpJobRequest) String

func (m *FinishDlpJobRequest) String() string

func (*FinishDlpJobRequest) XXX_DiscardUnknown

func (m *FinishDlpJobRequest) XXX_DiscardUnknown()

func (*FinishDlpJobRequest) XXX_Marshal

func (m *FinishDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinishDlpJobRequest) XXX_Merge

func (m *FinishDlpJobRequest) XXX_Merge(src proto.Message)

func (*FinishDlpJobRequest) XXX_Size

func (m *FinishDlpJobRequest) XXX_Size() int

func (*FinishDlpJobRequest) XXX_Unmarshal

func (m *FinishDlpJobRequest) XXX_Unmarshal(b []byte) error

type FixedSizeBucketingConfig

type FixedSizeBucketingConfig struct {
	// Required. Lower bound value of buckets. All values less than `lower_bound`
	// are grouped together into a single bucket; for example if `lower_bound` =
	// 10, then all values less than 10 are replaced with the value “-10”.
	LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
	// Required. Upper bound value of buckets. All values greater than upper_bound
	// are grouped together into a single bucket; for example if `upper_bound` =
	// 89, then all values greater than 89 are replaced with the value “89+”.
	UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	// Required. Size of each bucket (except for minimum and maximum buckets). So
	// if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
	// following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
	// 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
	BucketSize           float64  `protobuf:"fixed64,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies.

The transformed value will be a hyphenated string of {lower_bound}-{upper_bound}, i.e if lower_bound = 10 and upper_bound = 20 all values that are within this bucket will be replaced with "10-20".

This can be used on data of type: double, long.

If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing.

See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.

func (*FixedSizeBucketingConfig) Descriptor

func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int)

func (*FixedSizeBucketingConfig) GetBucketSize

func (m *FixedSizeBucketingConfig) GetBucketSize() float64

func (*FixedSizeBucketingConfig) GetLowerBound

func (m *FixedSizeBucketingConfig) GetLowerBound() *Value

func (*FixedSizeBucketingConfig) GetUpperBound

func (m *FixedSizeBucketingConfig) GetUpperBound() *Value

func (*FixedSizeBucketingConfig) ProtoMessage

func (*FixedSizeBucketingConfig) ProtoMessage()

func (*FixedSizeBucketingConfig) Reset

func (m *FixedSizeBucketingConfig) Reset()

func (*FixedSizeBucketingConfig) String

func (m *FixedSizeBucketingConfig) String() string

func (*FixedSizeBucketingConfig) XXX_DiscardUnknown

func (m *FixedSizeBucketingConfig) XXX_DiscardUnknown()

func (*FixedSizeBucketingConfig) XXX_Marshal

func (m *FixedSizeBucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FixedSizeBucketingConfig) XXX_Merge

func (m *FixedSizeBucketingConfig) XXX_Merge(src proto.Message)

func (*FixedSizeBucketingConfig) XXX_Size

func (m *FixedSizeBucketingConfig) XXX_Size() int

func (*FixedSizeBucketingConfig) XXX_Unmarshal

func (m *FixedSizeBucketingConfig) XXX_Unmarshal(b []byte) error

type GetDeidentifyTemplateRequest

type GetDeidentifyTemplateRequest struct {
	// Required. Resource name of the organization and deidentify template to be
	// read, for example `organizations/433245324/deidentifyTemplates/432452342`
	// or projects/project-id/deidentifyTemplates/432452342.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetDeidentifyTemplate.

func (*GetDeidentifyTemplateRequest) Descriptor

func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int)

func (*GetDeidentifyTemplateRequest) GetName

func (m *GetDeidentifyTemplateRequest) GetName() string

func (*GetDeidentifyTemplateRequest) ProtoMessage

func (*GetDeidentifyTemplateRequest) ProtoMessage()

func (*GetDeidentifyTemplateRequest) Reset

func (m *GetDeidentifyTemplateRequest) Reset()

func (*GetDeidentifyTemplateRequest) String

func (*GetDeidentifyTemplateRequest) XXX_DiscardUnknown

func (m *GetDeidentifyTemplateRequest) XXX_DiscardUnknown()

func (*GetDeidentifyTemplateRequest) XXX_Marshal

func (m *GetDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeidentifyTemplateRequest) XXX_Merge

func (m *GetDeidentifyTemplateRequest) XXX_Merge(src proto.Message)

func (*GetDeidentifyTemplateRequest) XXX_Size

func (m *GetDeidentifyTemplateRequest) XXX_Size() int

func (*GetDeidentifyTemplateRequest) XXX_Unmarshal

func (m *GetDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error

type GetDlpJobRequest

type GetDlpJobRequest struct {
	// Required. The name of the DlpJob resource.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request message for [DlpJobs.GetDlpJob][].

func (*GetDlpJobRequest) Descriptor

func (*GetDlpJobRequest) Descriptor() ([]byte, []int)

func (*GetDlpJobRequest) GetName

func (m *GetDlpJobRequest) GetName() string

func (*GetDlpJobRequest) ProtoMessage

func (*GetDlpJobRequest) ProtoMessage()

func (*GetDlpJobRequest) Reset

func (m *GetDlpJobRequest) Reset()

func (*GetDlpJobRequest) String

func (m *GetDlpJobRequest) String() string

func (*GetDlpJobRequest) XXX_DiscardUnknown

func (m *GetDlpJobRequest) XXX_DiscardUnknown()

func (*GetDlpJobRequest) XXX_Marshal

func (m *GetDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDlpJobRequest) XXX_Merge

func (m *GetDlpJobRequest) XXX_Merge(src proto.Message)

func (*GetDlpJobRequest) XXX_Size

func (m *GetDlpJobRequest) XXX_Size() int

func (*GetDlpJobRequest) XXX_Unmarshal

func (m *GetDlpJobRequest) XXX_Unmarshal(b []byte) error

type GetInspectTemplateRequest

type GetInspectTemplateRequest struct {
	// Required. Resource name of the organization and inspectTemplate to be read,
	// for example `organizations/433245324/inspectTemplates/432452342` or
	// projects/project-id/inspectTemplates/432452342.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetInspectTemplate.

func (*GetInspectTemplateRequest) Descriptor

func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int)

func (*GetInspectTemplateRequest) GetName

func (m *GetInspectTemplateRequest) GetName() string

func (*GetInspectTemplateRequest) ProtoMessage

func (*GetInspectTemplateRequest) ProtoMessage()

func (*GetInspectTemplateRequest) Reset

func (m *GetInspectTemplateRequest) Reset()

func (*GetInspectTemplateRequest) String

func (m *GetInspectTemplateRequest) String() string

func (*GetInspectTemplateRequest) XXX_DiscardUnknown

func (m *GetInspectTemplateRequest) XXX_DiscardUnknown()

func (*GetInspectTemplateRequest) XXX_Marshal

func (m *GetInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInspectTemplateRequest) XXX_Merge

func (m *GetInspectTemplateRequest) XXX_Merge(src proto.Message)

func (*GetInspectTemplateRequest) XXX_Size

func (m *GetInspectTemplateRequest) XXX_Size() int

func (*GetInspectTemplateRequest) XXX_Unmarshal

func (m *GetInspectTemplateRequest) XXX_Unmarshal(b []byte) error

type GetJobTriggerRequest

type GetJobTriggerRequest struct {
	// Required. Resource name of the project and the triggeredJob, for example
	// `projects/dlp-test-project/jobTriggers/53234423`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetJobTrigger.

func (*GetJobTriggerRequest) Descriptor

func (*GetJobTriggerRequest) Descriptor() ([]byte, []int)

func (*GetJobTriggerRequest) GetName

func (m *GetJobTriggerRequest) GetName() string

func (*GetJobTriggerRequest) ProtoMessage

func (*GetJobTriggerRequest) ProtoMessage()

func (*GetJobTriggerRequest) Reset

func (m *GetJobTriggerRequest) Reset()

func (*GetJobTriggerRequest) String

func (m *GetJobTriggerRequest) String() string

func (*GetJobTriggerRequest) XXX_DiscardUnknown

func (m *GetJobTriggerRequest) XXX_DiscardUnknown()

func (*GetJobTriggerRequest) XXX_Marshal

func (m *GetJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetJobTriggerRequest) XXX_Merge

func (m *GetJobTriggerRequest) XXX_Merge(src proto.Message)

func (*GetJobTriggerRequest) XXX_Size

func (m *GetJobTriggerRequest) XXX_Size() int

func (*GetJobTriggerRequest) XXX_Unmarshal

func (m *GetJobTriggerRequest) XXX_Unmarshal(b []byte) error

type GetStoredInfoTypeRequest

type GetStoredInfoTypeRequest struct {
	// Required. Resource name of the organization and storedInfoType to be read,
	// for example `organizations/433245324/storedInfoTypes/432452342` or
	// projects/project-id/storedInfoTypes/432452342.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for GetStoredInfoType.

func (*GetStoredInfoTypeRequest) Descriptor

func (*GetStoredInfoTypeRequest) Descriptor() ([]byte, []int)

func (*GetStoredInfoTypeRequest) GetName

func (m *GetStoredInfoTypeRequest) GetName() string

func (*GetStoredInfoTypeRequest) ProtoMessage

func (*GetStoredInfoTypeRequest) ProtoMessage()

func (*GetStoredInfoTypeRequest) Reset

func (m *GetStoredInfoTypeRequest) Reset()

func (*GetStoredInfoTypeRequest) String

func (m *GetStoredInfoTypeRequest) String() string

func (*GetStoredInfoTypeRequest) XXX_DiscardUnknown

func (m *GetStoredInfoTypeRequest) XXX_DiscardUnknown()

func (*GetStoredInfoTypeRequest) XXX_Marshal

func (m *GetStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStoredInfoTypeRequest) XXX_Merge

func (m *GetStoredInfoTypeRequest) XXX_Merge(src proto.Message)

func (*GetStoredInfoTypeRequest) XXX_Size

func (m *GetStoredInfoTypeRequest) XXX_Size() int

func (*GetStoredInfoTypeRequest) XXX_Unmarshal

func (m *GetStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error

type HybridContentItem

type HybridContentItem struct {
	// The item to inspect.
	Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// Supplementary information that will be added to each finding.
	FindingDetails       *HybridFindingDetails `protobuf:"bytes,2,opt,name=finding_details,json=findingDetails,proto3" json:"finding_details,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

An individual hybrid item to inspect. Will be stored temporarily during processing.

func (*HybridContentItem) Descriptor

func (*HybridContentItem) Descriptor() ([]byte, []int)

func (*HybridContentItem) GetFindingDetails

func (m *HybridContentItem) GetFindingDetails() *HybridFindingDetails

func (*HybridContentItem) GetItem

func (m *HybridContentItem) GetItem() *ContentItem

func (*HybridContentItem) ProtoMessage

func (*HybridContentItem) ProtoMessage()

func (*HybridContentItem) Reset

func (m *HybridContentItem) Reset()

func (*HybridContentItem) String

func (m *HybridContentItem) String() string

func (*HybridContentItem) XXX_DiscardUnknown

func (m *HybridContentItem) XXX_DiscardUnknown()

func (*HybridContentItem) XXX_Marshal

func (m *HybridContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridContentItem) XXX_Merge

func (m *HybridContentItem) XXX_Merge(src proto.Message)

func (*HybridContentItem) XXX_Size

func (m *HybridContentItem) XXX_Size() int

func (*HybridContentItem) XXX_Unmarshal

func (m *HybridContentItem) XXX_Unmarshal(b []byte) error

type HybridFindingDetails

type HybridFindingDetails struct {
	// Details about the container where the content being inspected is from.
	ContainerDetails *Container `protobuf:"bytes,1,opt,name=container_details,json=containerDetails,proto3" json:"container_details,omitempty"`
	// Offset in bytes of the line, from the beginning of the file, where the
	// finding  is located. Populate if the item being scanned is only part of a
	// bigger item, such as a shard of a file and you want to track the absolute
	// position of the finding.
	FileOffset int64 `protobuf:"varint,2,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"`
	// Offset of the row for tables. Populate if the row(s) being scanned are
	// part of a bigger dataset and you want to keep track of their absolute
	// position.
	RowOffset int64 `protobuf:"varint,3,opt,name=row_offset,json=rowOffset,proto3" json:"row_offset,omitempty"`
	// If the container is a table, additional information to make findings
	// meaningful such as the columns that are primary keys. If not known ahead
	// of time, can also be set within each inspect hybrid call and the two
	// will be merged. Note that identifying_fields will only be stored to
	// BigQuery, and only if the BigQuery action has been included.
	TableOptions *TableOptions `protobuf:"bytes,4,opt,name=table_options,json=tableOptions,proto3" json:"table_options,omitempty"`
	// Labels to represent user provided metadata about the data being inspected.
	// If configured by the job, some key values may be required.
	// The labels associated with `Finding`'s produced by hybrid
	// inspection.
	//
	// 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"`
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Populate to associate additional data with each finding.

func (*HybridFindingDetails) Descriptor

func (*HybridFindingDetails) Descriptor() ([]byte, []int)

func (*HybridFindingDetails) GetContainerDetails

func (m *HybridFindingDetails) GetContainerDetails() *Container

func (*HybridFindingDetails) GetFileOffset

func (m *HybridFindingDetails) GetFileOffset() int64

func (*HybridFindingDetails) GetLabels

func (m *HybridFindingDetails) GetLabels() map[string]string

func (*HybridFindingDetails) GetRowOffset

func (m *HybridFindingDetails) GetRowOffset() int64

func (*HybridFindingDetails) GetTableOptions

func (m *HybridFindingDetails) GetTableOptions() *TableOptions

func (*HybridFindingDetails) ProtoMessage

func (*HybridFindingDetails) ProtoMessage()

func (*HybridFindingDetails) Reset

func (m *HybridFindingDetails) Reset()

func (*HybridFindingDetails) String

func (m *HybridFindingDetails) String() string

func (*HybridFindingDetails) XXX_DiscardUnknown

func (m *HybridFindingDetails) XXX_DiscardUnknown()

func (*HybridFindingDetails) XXX_Marshal

func (m *HybridFindingDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridFindingDetails) XXX_Merge

func (m *HybridFindingDetails) XXX_Merge(src proto.Message)

func (*HybridFindingDetails) XXX_Size

func (m *HybridFindingDetails) XXX_Size() int

func (*HybridFindingDetails) XXX_Unmarshal

func (m *HybridFindingDetails) XXX_Unmarshal(b []byte) error

type HybridInspectDlpJobRequest

type HybridInspectDlpJobRequest struct {
	// Required. Resource name of the job to execute a hybrid inspect on, for
	// example `projects/dlp-test-project/dlpJob/53234423`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The item to inspect.
	HybridItem           *HybridContentItem `protobuf:"bytes,3,opt,name=hybrid_item,json=hybridItem,proto3" json:"hybrid_item,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Request to search for potentially sensitive info in a custom location.

func (*HybridInspectDlpJobRequest) Descriptor

func (*HybridInspectDlpJobRequest) Descriptor() ([]byte, []int)

func (*HybridInspectDlpJobRequest) GetHybridItem

func (m *HybridInspectDlpJobRequest) GetHybridItem() *HybridContentItem

func (*HybridInspectDlpJobRequest) GetName

func (m *HybridInspectDlpJobRequest) GetName() string

func (*HybridInspectDlpJobRequest) ProtoMessage

func (*HybridInspectDlpJobRequest) ProtoMessage()

func (*HybridInspectDlpJobRequest) Reset

func (m *HybridInspectDlpJobRequest) Reset()

func (*HybridInspectDlpJobRequest) String

func (m *HybridInspectDlpJobRequest) String() string

func (*HybridInspectDlpJobRequest) XXX_DiscardUnknown

func (m *HybridInspectDlpJobRequest) XXX_DiscardUnknown()

func (*HybridInspectDlpJobRequest) XXX_Marshal

func (m *HybridInspectDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridInspectDlpJobRequest) XXX_Merge

func (m *HybridInspectDlpJobRequest) XXX_Merge(src proto.Message)

func (*HybridInspectDlpJobRequest) XXX_Size

func (m *HybridInspectDlpJobRequest) XXX_Size() int

func (*HybridInspectDlpJobRequest) XXX_Unmarshal

func (m *HybridInspectDlpJobRequest) XXX_Unmarshal(b []byte) error

type HybridInspectJobTriggerRequest

type HybridInspectJobTriggerRequest struct {
	// Required. Resource name of the trigger to execute a hybrid inspect on, for
	// example `projects/dlp-test-project/jobTriggers/53234423`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The item to inspect.
	HybridItem           *HybridContentItem `protobuf:"bytes,3,opt,name=hybrid_item,json=hybridItem,proto3" json:"hybrid_item,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Request to search for potentially sensitive info in a custom location.

func (*HybridInspectJobTriggerRequest) Descriptor

func (*HybridInspectJobTriggerRequest) Descriptor() ([]byte, []int)

func (*HybridInspectJobTriggerRequest) GetHybridItem

func (*HybridInspectJobTriggerRequest) GetName

func (*HybridInspectJobTriggerRequest) ProtoMessage

func (*HybridInspectJobTriggerRequest) ProtoMessage()

func (*HybridInspectJobTriggerRequest) Reset

func (m *HybridInspectJobTriggerRequest) Reset()

func (*HybridInspectJobTriggerRequest) String

func (*HybridInspectJobTriggerRequest) XXX_DiscardUnknown

func (m *HybridInspectJobTriggerRequest) XXX_DiscardUnknown()

func (*HybridInspectJobTriggerRequest) XXX_Marshal

func (m *HybridInspectJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridInspectJobTriggerRequest) XXX_Merge

func (m *HybridInspectJobTriggerRequest) XXX_Merge(src proto.Message)

func (*HybridInspectJobTriggerRequest) XXX_Size

func (m *HybridInspectJobTriggerRequest) XXX_Size() int

func (*HybridInspectJobTriggerRequest) XXX_Unmarshal

func (m *HybridInspectJobTriggerRequest) XXX_Unmarshal(b []byte) error

type HybridInspectResponse

type HybridInspectResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Quota exceeded errors will be thrown once quota has been met.

func (*HybridInspectResponse) Descriptor

func (*HybridInspectResponse) Descriptor() ([]byte, []int)

func (*HybridInspectResponse) ProtoMessage

func (*HybridInspectResponse) ProtoMessage()

func (*HybridInspectResponse) Reset

func (m *HybridInspectResponse) Reset()

func (*HybridInspectResponse) String

func (m *HybridInspectResponse) String() string

func (*HybridInspectResponse) XXX_DiscardUnknown

func (m *HybridInspectResponse) XXX_DiscardUnknown()

func (*HybridInspectResponse) XXX_Marshal

func (m *HybridInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridInspectResponse) XXX_Merge

func (m *HybridInspectResponse) XXX_Merge(src proto.Message)

func (*HybridInspectResponse) XXX_Size

func (m *HybridInspectResponse) XXX_Size() int

func (*HybridInspectResponse) XXX_Unmarshal

func (m *HybridInspectResponse) XXX_Unmarshal(b []byte) error

type HybridInspectStatistics

type HybridInspectStatistics struct {
	// The number of hybrid inspection requests processed within this job.
	ProcessedCount int64 `protobuf:"varint,1,opt,name=processed_count,json=processedCount,proto3" json:"processed_count,omitempty"`
	// The number of hybrid inspection requests aborted because the job ran
	// out of quota or was ended before they could be processed.
	AbortedCount int64 `protobuf:"varint,2,opt,name=aborted_count,json=abortedCount,proto3" json:"aborted_count,omitempty"`
	// The number of hybrid requests currently being processed. Only populated
	// when called via method `getDlpJob`.
	// A burst of traffic may cause hybrid inspect requests to be enqueued.
	// Processing will take place as quickly as possible, but resource limitations
	// may impact how long a request is enqueued for.
	PendingCount         int64    `protobuf:"varint,3,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Statistics related to processing hybrid inspect requests.s

func (*HybridInspectStatistics) Descriptor

func (*HybridInspectStatistics) Descriptor() ([]byte, []int)

func (*HybridInspectStatistics) GetAbortedCount

func (m *HybridInspectStatistics) GetAbortedCount() int64

func (*HybridInspectStatistics) GetPendingCount

func (m *HybridInspectStatistics) GetPendingCount() int64

func (*HybridInspectStatistics) GetProcessedCount

func (m *HybridInspectStatistics) GetProcessedCount() int64

func (*HybridInspectStatistics) ProtoMessage

func (*HybridInspectStatistics) ProtoMessage()

func (*HybridInspectStatistics) Reset

func (m *HybridInspectStatistics) Reset()

func (*HybridInspectStatistics) String

func (m *HybridInspectStatistics) String() string

func (*HybridInspectStatistics) XXX_DiscardUnknown

func (m *HybridInspectStatistics) XXX_DiscardUnknown()

func (*HybridInspectStatistics) XXX_Marshal

func (m *HybridInspectStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridInspectStatistics) XXX_Merge

func (m *HybridInspectStatistics) XXX_Merge(src proto.Message)

func (*HybridInspectStatistics) XXX_Size

func (m *HybridInspectStatistics) XXX_Size() int

func (*HybridInspectStatistics) XXX_Unmarshal

func (m *HybridInspectStatistics) XXX_Unmarshal(b []byte) error

type HybridOptions

type HybridOptions struct {
	// A short description of where the data is coming from. Will be stored once
	// in the job. 256 max length.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// These are labels that each inspection request must include within their
	// 'finding_labels' map. Request may contain others, but any missing one of
	// these will be rejected.
	//
	// 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])?`.
	//
	// No more than 10 keys can be required.
	RequiredFindingLabelKeys []string `` /* 137-byte string literal not displayed */
	// To organize findings, these labels will be added to each 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"`
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// If the container is a table, additional information to make findings
	// meaningful such as the columns that are primary keys.
	TableOptions         *TableOptions `protobuf:"bytes,4,opt,name=table_options,json=tableOptions,proto3" json:"table_options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.

func (*HybridOptions) Descriptor

func (*HybridOptions) Descriptor() ([]byte, []int)

func (*HybridOptions) GetDescription

func (m *HybridOptions) GetDescription() string

func (*HybridOptions) GetLabels

func (m *HybridOptions) GetLabels() map[string]string

func (*HybridOptions) GetRequiredFindingLabelKeys

func (m *HybridOptions) GetRequiredFindingLabelKeys() []string

func (*HybridOptions) GetTableOptions

func (m *HybridOptions) GetTableOptions() *TableOptions

func (*HybridOptions) ProtoMessage

func (*HybridOptions) ProtoMessage()

func (*HybridOptions) Reset

func (m *HybridOptions) Reset()

func (*HybridOptions) String

func (m *HybridOptions) String() string

func (*HybridOptions) XXX_DiscardUnknown

func (m *HybridOptions) XXX_DiscardUnknown()

func (*HybridOptions) XXX_Marshal

func (m *HybridOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HybridOptions) XXX_Merge

func (m *HybridOptions) XXX_Merge(src proto.Message)

func (*HybridOptions) XXX_Size

func (m *HybridOptions) XXX_Size() int

func (*HybridOptions) XXX_Unmarshal

func (m *HybridOptions) XXX_Unmarshal(b []byte) error

type ImageLocation

type ImageLocation struct {
	// Bounding boxes locating the pixels within the image containing the finding.
	BoundingBoxes        []*BoundingBox `protobuf:"bytes,1,rep,name=bounding_boxes,json=boundingBoxes,proto3" json:"bounding_boxes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Location of the finding within an image.

func (*ImageLocation) Descriptor

func (*ImageLocation) Descriptor() ([]byte, []int)

func (*ImageLocation) GetBoundingBoxes

func (m *ImageLocation) GetBoundingBoxes() []*BoundingBox

func (*ImageLocation) ProtoMessage

func (*ImageLocation) ProtoMessage()

func (*ImageLocation) Reset

func (m *ImageLocation) Reset()

func (*ImageLocation) String

func (m *ImageLocation) String() string

func (*ImageLocation) XXX_DiscardUnknown

func (m *ImageLocation) XXX_DiscardUnknown()

func (*ImageLocation) XXX_Marshal

func (m *ImageLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageLocation) XXX_Merge

func (m *ImageLocation) XXX_Merge(src proto.Message)

func (*ImageLocation) XXX_Size

func (m *ImageLocation) XXX_Size() int

func (*ImageLocation) XXX_Unmarshal

func (m *ImageLocation) XXX_Unmarshal(b []byte) error

type InfoType

type InfoType struct {
	// Name of the information type. Either a name of your choosing when
	// creating a CustomInfoType, or one of the names listed
	// at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
	// a built-in type. InfoType names should conform to the pattern
	// `[a-zA-Z0-9_]{1,64}`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Type of information detected by the API.

func (*InfoType) Descriptor

func (*InfoType) Descriptor() ([]byte, []int)

func (*InfoType) GetName

func (m *InfoType) GetName() string

func (*InfoType) ProtoMessage

func (*InfoType) ProtoMessage()

func (*InfoType) Reset

func (m *InfoType) Reset()

func (*InfoType) String

func (m *InfoType) String() string

func (*InfoType) XXX_DiscardUnknown

func (m *InfoType) XXX_DiscardUnknown()

func (*InfoType) XXX_Marshal

func (m *InfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoType) XXX_Merge

func (m *InfoType) XXX_Merge(src proto.Message)

func (*InfoType) XXX_Size

func (m *InfoType) XXX_Size() int

func (*InfoType) XXX_Unmarshal

func (m *InfoType) XXX_Unmarshal(b []byte) error

type InfoTypeDescription

type InfoTypeDescription struct {
	// Internal name of the infoType.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human readable form of the infoType name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Which parts of the API supports this InfoType.
	SupportedBy []InfoTypeSupportedBy `` /* 149-byte string literal not displayed */
	// Description of the infotype. Translated when language is provided in the
	// request.
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InfoType description.

func (*InfoTypeDescription) Descriptor

func (*InfoTypeDescription) Descriptor() ([]byte, []int)

func (*InfoTypeDescription) GetDescription

func (m *InfoTypeDescription) GetDescription() string

func (*InfoTypeDescription) GetDisplayName

func (m *InfoTypeDescription) GetDisplayName() string

func (*InfoTypeDescription) GetName

func (m *InfoTypeDescription) GetName() string

func (*InfoTypeDescription) GetSupportedBy

func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy

func (*InfoTypeDescription) ProtoMessage

func (*InfoTypeDescription) ProtoMessage()

func (*InfoTypeDescription) Reset

func (m *InfoTypeDescription) Reset()

func (*InfoTypeDescription) String

func (m *InfoTypeDescription) String() string

func (*InfoTypeDescription) XXX_DiscardUnknown

func (m *InfoTypeDescription) XXX_DiscardUnknown()

func (*InfoTypeDescription) XXX_Marshal

func (m *InfoTypeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoTypeDescription) XXX_Merge

func (m *InfoTypeDescription) XXX_Merge(src proto.Message)

func (*InfoTypeDescription) XXX_Size

func (m *InfoTypeDescription) XXX_Size() int

func (*InfoTypeDescription) XXX_Unmarshal

func (m *InfoTypeDescription) XXX_Unmarshal(b []byte) error

type InfoTypeStats

type InfoTypeStats struct {
	// The type of finding this stat is for.
	InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
	// Number of findings for this infoType.
	Count                int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Statistics regarding a specific InfoType.

func (*InfoTypeStats) Descriptor

func (*InfoTypeStats) Descriptor() ([]byte, []int)

func (*InfoTypeStats) GetCount

func (m *InfoTypeStats) GetCount() int64

func (*InfoTypeStats) GetInfoType

func (m *InfoTypeStats) GetInfoType() *InfoType

func (*InfoTypeStats) ProtoMessage

func (*InfoTypeStats) ProtoMessage()

func (*InfoTypeStats) Reset

func (m *InfoTypeStats) Reset()

func (*InfoTypeStats) String

func (m *InfoTypeStats) String() string

func (*InfoTypeStats) XXX_DiscardUnknown

func (m *InfoTypeStats) XXX_DiscardUnknown()

func (*InfoTypeStats) XXX_Marshal

func (m *InfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoTypeStats) XXX_Merge

func (m *InfoTypeStats) XXX_Merge(src proto.Message)

func (*InfoTypeStats) XXX_Size

func (m *InfoTypeStats) XXX_Size() int

func (*InfoTypeStats) XXX_Unmarshal

func (m *InfoTypeStats) XXX_Unmarshal(b []byte) error

type InfoTypeSupportedBy

type InfoTypeSupportedBy int32

Parts of the APIs which use certain infoTypes.

const (
	// Unused.
	InfoTypeSupportedBy_ENUM_TYPE_UNSPECIFIED InfoTypeSupportedBy = 0
	// Supported by the inspect operations.
	InfoTypeSupportedBy_INSPECT InfoTypeSupportedBy = 1
	// Supported by the risk analysis operations.
	InfoTypeSupportedBy_RISK_ANALYSIS InfoTypeSupportedBy = 2
)

func (InfoTypeSupportedBy) EnumDescriptor

func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int)

func (InfoTypeSupportedBy) String

func (x InfoTypeSupportedBy) String() string

type InfoTypeTransformations

type InfoTypeTransformations struct {
	// Required. Transformation for each infoType. Cannot specify more than one
	// for a given infoType.
	Transformations      []*InfoTypeTransformations_InfoTypeTransformation `protobuf:"bytes,1,rep,name=transformations,proto3" json:"transformations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                          `json:"-"`
	XXX_unrecognized     []byte                                            `json:"-"`
	XXX_sizecache        int32                                             `json:"-"`
}

A type of transformation that will scan unstructured text and apply various `PrimitiveTransformation`s to each finding, where the transformation is applied to only values that were identified as a specific info_type.

func (*InfoTypeTransformations) Descriptor

func (*InfoTypeTransformations) Descriptor() ([]byte, []int)

func (*InfoTypeTransformations) GetTransformations

func (*InfoTypeTransformations) ProtoMessage

func (*InfoTypeTransformations) ProtoMessage()

func (*InfoTypeTransformations) Reset

func (m *InfoTypeTransformations) Reset()

func (*InfoTypeTransformations) String

func (m *InfoTypeTransformations) String() string

func (*InfoTypeTransformations) XXX_DiscardUnknown

func (m *InfoTypeTransformations) XXX_DiscardUnknown()

func (*InfoTypeTransformations) XXX_Marshal

func (m *InfoTypeTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoTypeTransformations) XXX_Merge

func (m *InfoTypeTransformations) XXX_Merge(src proto.Message)

func (*InfoTypeTransformations) XXX_Size

func (m *InfoTypeTransformations) XXX_Size() int

func (*InfoTypeTransformations) XXX_Unmarshal

func (m *InfoTypeTransformations) XXX_Unmarshal(b []byte) error

type InfoTypeTransformations_InfoTypeTransformation

type InfoTypeTransformations_InfoTypeTransformation struct {
	// InfoTypes to apply the transformation to. An empty list will cause
	// this transformation to apply to all findings that correspond to
	// infoTypes that were requested in `InspectConfig`.
	InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
	// Required. Primitive transformation to apply to the infoType.
	PrimitiveTransformation *PrimitiveTransformation `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}                 `json:"-"`
	XXX_unrecognized        []byte                   `json:"-"`
	XXX_sizecache           int32                    `json:"-"`
}

A transformation to apply to text that is identified as a specific info_type.

func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor

func (*InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes

func (*InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation

func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage

func (*InfoTypeTransformations_InfoTypeTransformation) Reset

func (*InfoTypeTransformations_InfoTypeTransformation) String

func (*InfoTypeTransformations_InfoTypeTransformation) XXX_DiscardUnknown

func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_DiscardUnknown()

func (*InfoTypeTransformations_InfoTypeTransformation) XXX_Marshal

func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoTypeTransformations_InfoTypeTransformation) XXX_Merge

func (*InfoTypeTransformations_InfoTypeTransformation) XXX_Size

func (*InfoTypeTransformations_InfoTypeTransformation) XXX_Unmarshal

type InspectConfig

type InspectConfig struct {
	// Restricts what info_types to look for. The values must correspond to
	// InfoType values returned by ListInfoTypes or listed at
	// https://cloud.google.com/dlp/docs/infotypes-reference.
	//
	// When no InfoTypes or CustomInfoTypes are specified in a request, the
	// system may automatically choose what detectors to run. By default this may
	// be all types, but may change over time as detectors are updated.
	//
	// If you need precise control and predictability as to what detectors are
	// run you should specify specific InfoTypes listed in the reference,
	// otherwise a default list will be used, which may change over time.
	InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
	// Only returns findings equal or above this threshold. The default is
	// POSSIBLE.
	// See https://cloud.google.com/dlp/docs/likelihood to learn more.
	MinLikelihood Likelihood `` /* 139-byte string literal not displayed */
	// Configuration to control the number of findings returned.
	Limits *InspectConfig_FindingLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"`
	// When true, a contextual quote from the data that triggered a finding is
	// included in the response; see Finding.quote.
	IncludeQuote bool `protobuf:"varint,4,opt,name=include_quote,json=includeQuote,proto3" json:"include_quote,omitempty"`
	// When true, excludes type information of the findings.
	ExcludeInfoTypes bool `protobuf:"varint,5,opt,name=exclude_info_types,json=excludeInfoTypes,proto3" json:"exclude_info_types,omitempty"`
	// CustomInfoTypes provided by the user. See
	// https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
	CustomInfoTypes []*CustomInfoType `protobuf:"bytes,6,rep,name=custom_info_types,json=customInfoTypes,proto3" json:"custom_info_types,omitempty"`
	// List of options defining data content to scan.
	// If empty, text, images, and other content will be included.
	ContentOptions []ContentOption `` /* 152-byte string literal not displayed */
	// Set of rules to apply to the findings for this InspectConfig.
	// Exclusion rules, contained in the set are executed in the end, other
	// rules are executed in the order they are specified for each info type.
	RuleSet              []*InspectionRuleSet `protobuf:"bytes,10,rep,name=rule_set,json=ruleSet,proto3" json:"rule_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.

func (*InspectConfig) Descriptor

func (*InspectConfig) Descriptor() ([]byte, []int)

func (*InspectConfig) GetContentOptions

func (m *InspectConfig) GetContentOptions() []ContentOption

func (*InspectConfig) GetCustomInfoTypes

func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType

func (*InspectConfig) GetExcludeInfoTypes

func (m *InspectConfig) GetExcludeInfoTypes() bool

func (*InspectConfig) GetIncludeQuote

func (m *InspectConfig) GetIncludeQuote() bool

func (*InspectConfig) GetInfoTypes

func (m *InspectConfig) GetInfoTypes() []*InfoType

func (*InspectConfig) GetLimits

func (*InspectConfig) GetMinLikelihood

func (m *InspectConfig) GetMinLikelihood() Likelihood

func (*InspectConfig) GetRuleSet

func (m *InspectConfig) GetRuleSet() []*InspectionRuleSet

func (*InspectConfig) ProtoMessage

func (*InspectConfig) ProtoMessage()

func (*InspectConfig) Reset

func (m *InspectConfig) Reset()

func (*InspectConfig) String

func (m *InspectConfig) String() string

func (*InspectConfig) XXX_DiscardUnknown

func (m *InspectConfig) XXX_DiscardUnknown()

func (*InspectConfig) XXX_Marshal

func (m *InspectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectConfig) XXX_Merge

func (m *InspectConfig) XXX_Merge(src proto.Message)

func (*InspectConfig) XXX_Size

func (m *InspectConfig) XXX_Size() int

func (*InspectConfig) XXX_Unmarshal

func (m *InspectConfig) XXX_Unmarshal(b []byte) error

type InspectConfig_FindingLimits

type InspectConfig_FindingLimits struct {
	// Max number of findings that will be returned for each item scanned.
	// When set within `InspectJobConfig`,
	// the maximum returned is 2000 regardless if this is set higher.
	// When set within `InspectContentRequest`, this field is ignored.
	MaxFindingsPerItem int32 `protobuf:"varint,1,opt,name=max_findings_per_item,json=maxFindingsPerItem,proto3" json:"max_findings_per_item,omitempty"`
	// Max number of findings that will be returned per request/job.
	// When set within `InspectContentRequest`, the maximum returned is 2000
	// regardless if this is set higher.
	MaxFindingsPerRequest int32 `` /* 129-byte string literal not displayed */
	// Configuration of findings limit given for specified infoTypes.
	MaxFindingsPerInfoType []*InspectConfig_FindingLimits_InfoTypeLimit `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}                                     `json:"-"`
	XXX_unrecognized       []byte                                       `json:"-"`
	XXX_sizecache          int32                                        `json:"-"`
}

Configuration to control the number of findings returned.

func (*InspectConfig_FindingLimits) Descriptor

func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int)

func (*InspectConfig_FindingLimits) GetMaxFindingsPerInfoType

func (*InspectConfig_FindingLimits) GetMaxFindingsPerItem

func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32

func (*InspectConfig_FindingLimits) GetMaxFindingsPerRequest

func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32

func (*InspectConfig_FindingLimits) ProtoMessage

func (*InspectConfig_FindingLimits) ProtoMessage()

func (*InspectConfig_FindingLimits) Reset

func (m *InspectConfig_FindingLimits) Reset()

func (*InspectConfig_FindingLimits) String

func (m *InspectConfig_FindingLimits) String() string

func (*InspectConfig_FindingLimits) XXX_DiscardUnknown

func (m *InspectConfig_FindingLimits) XXX_DiscardUnknown()

func (*InspectConfig_FindingLimits) XXX_Marshal

func (m *InspectConfig_FindingLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectConfig_FindingLimits) XXX_Merge

func (m *InspectConfig_FindingLimits) XXX_Merge(src proto.Message)

func (*InspectConfig_FindingLimits) XXX_Size

func (m *InspectConfig_FindingLimits) XXX_Size() int

func (*InspectConfig_FindingLimits) XXX_Unmarshal

func (m *InspectConfig_FindingLimits) XXX_Unmarshal(b []byte) error

type InspectConfig_FindingLimits_InfoTypeLimit

type InspectConfig_FindingLimits_InfoTypeLimit struct {
	// Type of information the findings limit applies to. Only one limit per
	// info_type should be provided. If InfoTypeLimit does not have an
	// info_type, the DLP API applies the limit against all info_types that
	// are found but not specified in another InfoTypeLimit.
	InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
	// Max findings limit for the given infoType.
	MaxFindings          int32    `protobuf:"varint,2,opt,name=max_findings,json=maxFindings,proto3" json:"max_findings,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Max findings configuration per infoType, per content item or long running DlpJob.

func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor

func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int)

func (*InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType

func (*InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings

func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage

func (*InspectConfig_FindingLimits_InfoTypeLimit) Reset

func (*InspectConfig_FindingLimits_InfoTypeLimit) String

func (*InspectConfig_FindingLimits_InfoTypeLimit) XXX_DiscardUnknown

func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_DiscardUnknown()

func (*InspectConfig_FindingLimits_InfoTypeLimit) XXX_Marshal

func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectConfig_FindingLimits_InfoTypeLimit) XXX_Merge

func (*InspectConfig_FindingLimits_InfoTypeLimit) XXX_Size

func (*InspectConfig_FindingLimits_InfoTypeLimit) XXX_Unmarshal

type InspectContentRequest

type InspectContentRequest struct {
	// The parent resource name, for example projects/my-project-id
	// or projects/my-project-id/locations/{location_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Configuration for the inspector. What specified here will override
	// the template referenced by the inspect_template_name argument.
	InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
	// The item to inspect.
	Item *ContentItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
	// 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.
	InspectTemplateName string `protobuf:"bytes,4,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to search for potentially sensitive info in a ContentItem.

func (*InspectContentRequest) Descriptor

func (*InspectContentRequest) Descriptor() ([]byte, []int)

func (*InspectContentRequest) GetInspectConfig

func (m *InspectContentRequest) GetInspectConfig() *InspectConfig

func (*InspectContentRequest) GetInspectTemplateName

func (m *InspectContentRequest) GetInspectTemplateName() string

func (*InspectContentRequest) GetItem

func (m *InspectContentRequest) GetItem() *ContentItem

func (*InspectContentRequest) GetLocationId

func (m *InspectContentRequest) GetLocationId() string

func (*InspectContentRequest) GetParent

func (m *InspectContentRequest) GetParent() string

func (*InspectContentRequest) ProtoMessage

func (*InspectContentRequest) ProtoMessage()

func (*InspectContentRequest) Reset

func (m *InspectContentRequest) Reset()

func (*InspectContentRequest) String

func (m *InspectContentRequest) String() string

func (*InspectContentRequest) XXX_DiscardUnknown

func (m *InspectContentRequest) XXX_DiscardUnknown()

func (*InspectContentRequest) XXX_Marshal

func (m *InspectContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectContentRequest) XXX_Merge

func (m *InspectContentRequest) XXX_Merge(src proto.Message)

func (*InspectContentRequest) XXX_Size

func (m *InspectContentRequest) XXX_Size() int

func (*InspectContentRequest) XXX_Unmarshal

func (m *InspectContentRequest) XXX_Unmarshal(b []byte) error

type InspectContentResponse

type InspectContentResponse struct {
	// The findings.
	Result               *InspectResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Results of inspecting an item.

func (*InspectContentResponse) Descriptor

func (*InspectContentResponse) Descriptor() ([]byte, []int)

func (*InspectContentResponse) GetResult

func (m *InspectContentResponse) GetResult() *InspectResult

func (*InspectContentResponse) ProtoMessage

func (*InspectContentResponse) ProtoMessage()

func (*InspectContentResponse) Reset

func (m *InspectContentResponse) Reset()

func (*InspectContentResponse) String

func (m *InspectContentResponse) String() string

func (*InspectContentResponse) XXX_DiscardUnknown

func (m *InspectContentResponse) XXX_DiscardUnknown()

func (*InspectContentResponse) XXX_Marshal

func (m *InspectContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectContentResponse) XXX_Merge

func (m *InspectContentResponse) XXX_Merge(src proto.Message)

func (*InspectContentResponse) XXX_Size

func (m *InspectContentResponse) XXX_Size() int

func (*InspectContentResponse) XXX_Unmarshal

func (m *InspectContentResponse) XXX_Unmarshal(b []byte) error

type InspectDataSourceDetails

type InspectDataSourceDetails struct {
	// The configuration used for this job.
	RequestedOptions *InspectDataSourceDetails_RequestedOptions `protobuf:"bytes,2,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"`
	// A summary of the outcome of this inspect job.
	Result               *InspectDataSourceDetails_Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

The results of an inspect DataSource job.

func (*InspectDataSourceDetails) Descriptor

func (*InspectDataSourceDetails) Descriptor() ([]byte, []int)

func (*InspectDataSourceDetails) GetRequestedOptions

func (*InspectDataSourceDetails) GetResult

func (*InspectDataSourceDetails) ProtoMessage

func (*InspectDataSourceDetails) ProtoMessage()

func (*InspectDataSourceDetails) Reset

func (m *InspectDataSourceDetails) Reset()

func (*InspectDataSourceDetails) String

func (m *InspectDataSourceDetails) String() string

func (*InspectDataSourceDetails) XXX_DiscardUnknown

func (m *InspectDataSourceDetails) XXX_DiscardUnknown()

func (*InspectDataSourceDetails) XXX_Marshal

func (m *InspectDataSourceDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectDataSourceDetails) XXX_Merge

func (m *InspectDataSourceDetails) XXX_Merge(src proto.Message)

func (*InspectDataSourceDetails) XXX_Size

func (m *InspectDataSourceDetails) XXX_Size() int

func (*InspectDataSourceDetails) XXX_Unmarshal

func (m *InspectDataSourceDetails) XXX_Unmarshal(b []byte) error

type InspectDataSourceDetails_RequestedOptions

type InspectDataSourceDetails_RequestedOptions struct {
	// If run with an InspectTemplate, a snapshot of its state at the time of
	// this run.
	SnapshotInspectTemplate *InspectTemplate `` /* 132-byte string literal not displayed */
	// Inspect config.
	JobConfig            *InspectJobConfig `protobuf:"bytes,3,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Snapshot of the inspection configuration.

func (*InspectDataSourceDetails_RequestedOptions) Descriptor

func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int)

func (*InspectDataSourceDetails_RequestedOptions) GetJobConfig

func (*InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate

func (m *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate

func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage

func (*InspectDataSourceDetails_RequestedOptions) Reset

func (*InspectDataSourceDetails_RequestedOptions) String

func (*InspectDataSourceDetails_RequestedOptions) XXX_DiscardUnknown

func (m *InspectDataSourceDetails_RequestedOptions) XXX_DiscardUnknown()

func (*InspectDataSourceDetails_RequestedOptions) XXX_Marshal

func (m *InspectDataSourceDetails_RequestedOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectDataSourceDetails_RequestedOptions) XXX_Merge

func (*InspectDataSourceDetails_RequestedOptions) XXX_Size

func (*InspectDataSourceDetails_RequestedOptions) XXX_Unmarshal

type InspectDataSourceDetails_Result

type InspectDataSourceDetails_Result struct {
	// Total size in bytes that were processed.
	ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"`
	// Estimate of the number of bytes to process.
	TotalEstimatedBytes int64 `protobuf:"varint,2,opt,name=total_estimated_bytes,json=totalEstimatedBytes,proto3" json:"total_estimated_bytes,omitempty"`
	// Statistics of how many instances of each info type were found during
	// inspect job.
	InfoTypeStats []*InfoTypeStats `protobuf:"bytes,3,rep,name=info_type_stats,json=infoTypeStats,proto3" json:"info_type_stats,omitempty"`
	// Statistics related to the processing of hybrid inspect.
	// Early access feature is in a pre-release state and might change or have
	// limited support. For more information, see
	// https://cloud.google.com/products#product-launch-stages.
	HybridStats          *HybridInspectStatistics `protobuf:"bytes,7,opt,name=hybrid_stats,json=hybridStats,proto3" json:"hybrid_stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

All result fields mentioned below are updated while the job is processing.

func (*InspectDataSourceDetails_Result) Descriptor

func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int)

func (*InspectDataSourceDetails_Result) GetHybridStats

func (*InspectDataSourceDetails_Result) GetInfoTypeStats

func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats

func (*InspectDataSourceDetails_Result) GetProcessedBytes

func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64

func (*InspectDataSourceDetails_Result) GetTotalEstimatedBytes

func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64

func (*InspectDataSourceDetails_Result) ProtoMessage

func (*InspectDataSourceDetails_Result) ProtoMessage()

func (*InspectDataSourceDetails_Result) Reset

func (*InspectDataSourceDetails_Result) String

func (*InspectDataSourceDetails_Result) XXX_DiscardUnknown

func (m *InspectDataSourceDetails_Result) XXX_DiscardUnknown()

func (*InspectDataSourceDetails_Result) XXX_Marshal

func (m *InspectDataSourceDetails_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectDataSourceDetails_Result) XXX_Merge

func (m *InspectDataSourceDetails_Result) XXX_Merge(src proto.Message)

func (*InspectDataSourceDetails_Result) XXX_Size

func (m *InspectDataSourceDetails_Result) XXX_Size() int

func (*InspectDataSourceDetails_Result) XXX_Unmarshal

func (m *InspectDataSourceDetails_Result) XXX_Unmarshal(b []byte) error

type InspectJobConfig

type InspectJobConfig struct {
	// The data to scan.
	StorageConfig *StorageConfig `protobuf:"bytes,1,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	// How and what to scan for.
	InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
	// If provided, will be used as the default for all values in InspectConfig.
	// `inspect_config` will be merged into the values persisted as part of the
	// template.
	InspectTemplateName string `protobuf:"bytes,3,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
	// Actions to execute at the completion of the job.
	Actions              []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Controls what and how to inspect for findings.

func (*InspectJobConfig) Descriptor

func (*InspectJobConfig) Descriptor() ([]byte, []int)

func (*InspectJobConfig) GetActions

func (m *InspectJobConfig) GetActions() []*Action

func (*InspectJobConfig) GetInspectConfig

func (m *InspectJobConfig) GetInspectConfig() *InspectConfig

func (*InspectJobConfig) GetInspectTemplateName

func (m *InspectJobConfig) GetInspectTemplateName() string

func (*InspectJobConfig) GetStorageConfig

func (m *InspectJobConfig) GetStorageConfig() *StorageConfig

func (*InspectJobConfig) ProtoMessage

func (*InspectJobConfig) ProtoMessage()

func (*InspectJobConfig) Reset

func (m *InspectJobConfig) Reset()

func (*InspectJobConfig) String

func (m *InspectJobConfig) String() string

func (*InspectJobConfig) XXX_DiscardUnknown

func (m *InspectJobConfig) XXX_DiscardUnknown()

func (*InspectJobConfig) XXX_Marshal

func (m *InspectJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectJobConfig) XXX_Merge

func (m *InspectJobConfig) XXX_Merge(src proto.Message)

func (*InspectJobConfig) XXX_Size

func (m *InspectJobConfig) XXX_Size() int

func (*InspectJobConfig) XXX_Unmarshal

func (m *InspectJobConfig) XXX_Unmarshal(b []byte) error

type InspectResult

type InspectResult struct {
	// List of findings for an item.
	Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"`
	// If true, then this item might have more findings than were returned,
	// and the findings returned are an arbitrary subset of all findings.
	// The findings list might be truncated because the input items were too
	// large, or because the server reached the maximum amount of resources
	// allowed for a single API call. For best results, divide the input into
	// smaller batches.
	FindingsTruncated    bool     `protobuf:"varint,2,opt,name=findings_truncated,json=findingsTruncated,proto3" json:"findings_truncated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

All the findings for a single scanned item.

func (*InspectResult) Descriptor

func (*InspectResult) Descriptor() ([]byte, []int)

func (*InspectResult) GetFindings

func (m *InspectResult) GetFindings() []*Finding

func (*InspectResult) GetFindingsTruncated

func (m *InspectResult) GetFindingsTruncated() bool

func (*InspectResult) ProtoMessage

func (*InspectResult) ProtoMessage()

func (*InspectResult) Reset

func (m *InspectResult) Reset()

func (*InspectResult) String

func (m *InspectResult) String() string

func (*InspectResult) XXX_DiscardUnknown

func (m *InspectResult) XXX_DiscardUnknown()

func (*InspectResult) XXX_Marshal

func (m *InspectResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectResult) XXX_Merge

func (m *InspectResult) XXX_Merge(src proto.Message)

func (*InspectResult) XXX_Size

func (m *InspectResult) XXX_Size() int

func (*InspectResult) XXX_Unmarshal

func (m *InspectResult) XXX_Unmarshal(b []byte) error

type InspectTemplate

type InspectTemplate struct {
	// Output only. The template name.
	//
	// The template will have one of the following formats:
	// `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
	// `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Display name (max 256 chars).
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Short description (max 256 chars).
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The creation timestamp of an inspectTemplate.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp of an inspectTemplate.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The core content of the template. Configuration of the scanning process.
	InspectConfig        *InspectConfig `protobuf:"bytes,6,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.

func (*InspectTemplate) Descriptor

func (*InspectTemplate) Descriptor() ([]byte, []int)

func (*InspectTemplate) GetCreateTime

func (m *InspectTemplate) GetCreateTime() *timestamp.Timestamp

func (*InspectTemplate) GetDescription

func (m *InspectTemplate) GetDescription() string

func (*InspectTemplate) GetDisplayName

func (m *InspectTemplate) GetDisplayName() string

func (*InspectTemplate) GetInspectConfig

func (m *InspectTemplate) GetInspectConfig() *InspectConfig

func (*InspectTemplate) GetName

func (m *InspectTemplate) GetName() string

func (*InspectTemplate) GetUpdateTime

func (m *InspectTemplate) GetUpdateTime() *timestamp.Timestamp

func (*InspectTemplate) ProtoMessage

func (*InspectTemplate) ProtoMessage()

func (*InspectTemplate) Reset

func (m *InspectTemplate) Reset()

func (*InspectTemplate) String

func (m *InspectTemplate) String() string

func (*InspectTemplate) XXX_DiscardUnknown

func (m *InspectTemplate) XXX_DiscardUnknown()

func (*InspectTemplate) XXX_Marshal

func (m *InspectTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectTemplate) XXX_Merge

func (m *InspectTemplate) XXX_Merge(src proto.Message)

func (*InspectTemplate) XXX_Size

func (m *InspectTemplate) XXX_Size() int

func (*InspectTemplate) XXX_Unmarshal

func (m *InspectTemplate) XXX_Unmarshal(b []byte) error

type InspectionRule

type InspectionRule struct {
	// Inspection rule types.
	//
	// Types that are valid to be assigned to Type:
	//	*InspectionRule_HotwordRule
	//	*InspectionRule_ExclusionRule
	Type                 isInspectionRule_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

A single inspection rule to be applied to infoTypes, specified in `InspectionRuleSet`.

func (*InspectionRule) Descriptor

func (*InspectionRule) Descriptor() ([]byte, []int)

func (*InspectionRule) GetExclusionRule

func (m *InspectionRule) GetExclusionRule() *ExclusionRule

func (*InspectionRule) GetHotwordRule

func (*InspectionRule) GetType

func (m *InspectionRule) GetType() isInspectionRule_Type

func (*InspectionRule) ProtoMessage

func (*InspectionRule) ProtoMessage()

func (*InspectionRule) Reset

func (m *InspectionRule) Reset()

func (*InspectionRule) String

func (m *InspectionRule) String() string

func (*InspectionRule) XXX_DiscardUnknown

func (m *InspectionRule) XXX_DiscardUnknown()

func (*InspectionRule) XXX_Marshal

func (m *InspectionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectionRule) XXX_Merge

func (m *InspectionRule) XXX_Merge(src proto.Message)

func (*InspectionRule) XXX_OneofWrappers

func (*InspectionRule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*InspectionRule) XXX_Size

func (m *InspectionRule) XXX_Size() int

func (*InspectionRule) XXX_Unmarshal

func (m *InspectionRule) XXX_Unmarshal(b []byte) error

type InspectionRuleSet

type InspectionRuleSet struct {
	// List of infoTypes this rule set is applied to.
	InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
	// Set of rules to be applied to infoTypes. The rules are applied in order.
	Rules                []*InspectionRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.

func (*InspectionRuleSet) Descriptor

func (*InspectionRuleSet) Descriptor() ([]byte, []int)

func (*InspectionRuleSet) GetInfoTypes

func (m *InspectionRuleSet) GetInfoTypes() []*InfoType

func (*InspectionRuleSet) GetRules

func (m *InspectionRuleSet) GetRules() []*InspectionRule

func (*InspectionRuleSet) ProtoMessage

func (*InspectionRuleSet) ProtoMessage()

func (*InspectionRuleSet) Reset

func (m *InspectionRuleSet) Reset()

func (*InspectionRuleSet) String

func (m *InspectionRuleSet) String() string

func (*InspectionRuleSet) XXX_DiscardUnknown

func (m *InspectionRuleSet) XXX_DiscardUnknown()

func (*InspectionRuleSet) XXX_Marshal

func (m *InspectionRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectionRuleSet) XXX_Merge

func (m *InspectionRuleSet) XXX_Merge(src proto.Message)

func (*InspectionRuleSet) XXX_Size

func (m *InspectionRuleSet) XXX_Size() int

func (*InspectionRuleSet) XXX_Unmarshal

func (m *InspectionRuleSet) XXX_Unmarshal(b []byte) error

type InspectionRule_ExclusionRule

type InspectionRule_ExclusionRule struct {
	ExclusionRule *ExclusionRule `protobuf:"bytes,2,opt,name=exclusion_rule,json=exclusionRule,proto3,oneof"`
}

type InspectionRule_HotwordRule

type InspectionRule_HotwordRule struct {
	HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"`
}

type JobTrigger

type JobTrigger struct {
	// Unique resource name for the triggeredJob, assigned by the service when the
	// triggeredJob is created, for example
	// `projects/dlp-test-project/jobTriggers/53234423`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Display name (max 100 chars)
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// User provided description (max 256 chars)
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The configuration details for the specific type of job to run.
	//
	// Types that are valid to be assigned to Job:
	//	*JobTrigger_InspectJob
	Job isJobTrigger_Job `protobuf_oneof:"job"`
	// A list of triggers which will be OR'ed together. Only one in the list
	// needs to trigger for a job to be started. The list may contain only
	// a single Schedule trigger and must have at least one object.
	Triggers []*JobTrigger_Trigger `protobuf:"bytes,5,rep,name=triggers,proto3" json:"triggers,omitempty"`
	// Output only. A stream of errors encountered when the trigger was activated. Repeated
	// errors may result in the JobTrigger automatically being paused.
	// Will return the last 100 errors. Whenever the JobTrigger is modified
	// this list will be cleared.
	Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"`
	// Output only. The creation timestamp of a triggeredJob.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp of a triggeredJob.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The timestamp of the last time this trigger executed.
	LastRunTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"`
	// Required. A status for this trigger.
	Status               JobTrigger_Status `protobuf:"varint,10,opt,name=status,proto3,enum=google.privacy.dlp.v2.JobTrigger_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.

func (*JobTrigger) Descriptor

func (*JobTrigger) Descriptor() ([]byte, []int)

func (*JobTrigger) GetCreateTime

func (m *JobTrigger) GetCreateTime() *timestamp.Timestamp

func (*JobTrigger) GetDescription

func (m *JobTrigger) GetDescription() string

func (*JobTrigger) GetDisplayName

func (m *JobTrigger) GetDisplayName() string

func (*JobTrigger) GetErrors

func (m *JobTrigger) GetErrors() []*Error

func (*JobTrigger) GetInspectJob

func (m *JobTrigger) GetInspectJob() *InspectJobConfig

func (*JobTrigger) GetJob

func (m *JobTrigger) GetJob() isJobTrigger_Job

func (*JobTrigger) GetLastRunTime

func (m *JobTrigger) GetLastRunTime() *timestamp.Timestamp

func (*JobTrigger) GetName

func (m *JobTrigger) GetName() string

func (*JobTrigger) GetStatus

func (m *JobTrigger) GetStatus() JobTrigger_Status

func (*JobTrigger) GetTriggers

func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger

func (*JobTrigger) GetUpdateTime

func (m *JobTrigger) GetUpdateTime() *timestamp.Timestamp

func (*JobTrigger) ProtoMessage

func (*JobTrigger) ProtoMessage()

func (*JobTrigger) Reset

func (m *JobTrigger) Reset()

func (*JobTrigger) String

func (m *JobTrigger) String() string

func (*JobTrigger) XXX_DiscardUnknown

func (m *JobTrigger) XXX_DiscardUnknown()

func (*JobTrigger) XXX_Marshal

func (m *JobTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobTrigger) XXX_Merge

func (m *JobTrigger) XXX_Merge(src proto.Message)

func (*JobTrigger) XXX_OneofWrappers

func (*JobTrigger) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*JobTrigger) XXX_Size

func (m *JobTrigger) XXX_Size() int

func (*JobTrigger) XXX_Unmarshal

func (m *JobTrigger) XXX_Unmarshal(b []byte) error

type JobTrigger_InspectJob

type JobTrigger_InspectJob struct {
	InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,proto3,oneof"`
}

type JobTrigger_Status

type JobTrigger_Status int32

Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs will be created with this configuration. The service may automatically pause triggers experiencing frequent errors. To restart a job, set the status to HEALTHY after correcting user errors.

const (
	// Unused.
	JobTrigger_STATUS_UNSPECIFIED JobTrigger_Status = 0
	// Trigger is healthy.
	JobTrigger_HEALTHY JobTrigger_Status = 1
	// Trigger is temporarily paused.
	JobTrigger_PAUSED JobTrigger_Status = 2
	// Trigger is cancelled and can not be resumed.
	JobTrigger_CANCELLED JobTrigger_Status = 3
)

func (JobTrigger_Status) EnumDescriptor

func (JobTrigger_Status) EnumDescriptor() ([]byte, []int)

func (JobTrigger_Status) String

func (x JobTrigger_Status) String() string

type JobTrigger_Trigger

type JobTrigger_Trigger struct {
	// Types that are valid to be assigned to Trigger:
	//	*JobTrigger_Trigger_Schedule
	//	*JobTrigger_Trigger_Manual
	Trigger              isJobTrigger_Trigger_Trigger `protobuf_oneof:"trigger"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

What event needs to occur for a new job to be started.

func (*JobTrigger_Trigger) Descriptor

func (*JobTrigger_Trigger) Descriptor() ([]byte, []int)

func (*JobTrigger_Trigger) GetManual

func (m *JobTrigger_Trigger) GetManual() *Manual

func (*JobTrigger_Trigger) GetSchedule

func (m *JobTrigger_Trigger) GetSchedule() *Schedule

func (*JobTrigger_Trigger) GetTrigger

func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger

func (*JobTrigger_Trigger) ProtoMessage

func (*JobTrigger_Trigger) ProtoMessage()

func (*JobTrigger_Trigger) Reset

func (m *JobTrigger_Trigger) Reset()

func (*JobTrigger_Trigger) String

func (m *JobTrigger_Trigger) String() string

func (*JobTrigger_Trigger) XXX_DiscardUnknown

func (m *JobTrigger_Trigger) XXX_DiscardUnknown()

func (*JobTrigger_Trigger) XXX_Marshal

func (m *JobTrigger_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobTrigger_Trigger) XXX_Merge

func (m *JobTrigger_Trigger) XXX_Merge(src proto.Message)

func (*JobTrigger_Trigger) XXX_OneofWrappers

func (*JobTrigger_Trigger) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*JobTrigger_Trigger) XXX_Size

func (m *JobTrigger_Trigger) XXX_Size() int

func (*JobTrigger_Trigger) XXX_Unmarshal

func (m *JobTrigger_Trigger) XXX_Unmarshal(b []byte) error

type JobTrigger_Trigger_Manual

type JobTrigger_Trigger_Manual struct {
	Manual *Manual `protobuf:"bytes,2,opt,name=manual,proto3,oneof"`
}

type JobTrigger_Trigger_Schedule

type JobTrigger_Trigger_Schedule struct {
	Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3,oneof"`
}

type Key

type Key struct {
	// Entities are partitioned into subsets, currently identified by a project
	// ID and namespace ID.
	// Queries are scoped to a single partition.
	PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	// The entity path.
	// An entity path consists of one or more elements composed of a kind and a
	// string or numerical identifier, which identify entities. The first
	// element identifies a _root entity_, the second element identifies
	// a _child_ of the root entity, the third element identifies a child of the
	// second entity, and so forth. The entities identified by all prefixes of
	// the path are called the element's _ancestors_.
	//
	// A path can never be empty, and a path can have at most 100 elements.
	Path                 []*Key_PathElement `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A unique identifier for a Datastore entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.

func (*Key) Descriptor

func (*Key) Descriptor() ([]byte, []int)

func (*Key) GetPartitionId

func (m *Key) GetPartitionId() *PartitionId

func (*Key) GetPath

func (m *Key) GetPath() []*Key_PathElement

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key) XXX_Merge

func (m *Key) XXX_Merge(src proto.Message)

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

func (m *Key) XXX_Unmarshal(b []byte) error

type Key_PathElement

type Key_PathElement struct {
	// The kind of the entity.
	// A kind matching regex `__.*__` is reserved/read-only.
	// A kind must not contain more than 1500 bytes when UTF-8 encoded.
	// Cannot be `""`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The type of ID.
	//
	// Types that are valid to be assigned to IdType:
	//	*Key_PathElement_Id
	//	*Key_PathElement_Name
	IdType               isKey_PathElement_IdType `protobuf_oneof:"id_type"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

A (kind, ID/name) pair used to construct a key path.

If either name or ID is set, the element is complete. If neither is set, the element is incomplete.

func (*Key_PathElement) Descriptor

func (*Key_PathElement) Descriptor() ([]byte, []int)

func (*Key_PathElement) GetId

func (m *Key_PathElement) GetId() int64

func (*Key_PathElement) GetIdType

func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType

func (*Key_PathElement) GetKind

func (m *Key_PathElement) GetKind() string

func (*Key_PathElement) GetName

func (m *Key_PathElement) GetName() string

func (*Key_PathElement) ProtoMessage

func (*Key_PathElement) ProtoMessage()

func (*Key_PathElement) Reset

func (m *Key_PathElement) Reset()

func (*Key_PathElement) String

func (m *Key_PathElement) String() string

func (*Key_PathElement) XXX_DiscardUnknown

func (m *Key_PathElement) XXX_DiscardUnknown()

func (*Key_PathElement) XXX_Marshal

func (m *Key_PathElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key_PathElement) XXX_Merge

func (m *Key_PathElement) XXX_Merge(src proto.Message)

func (*Key_PathElement) XXX_OneofWrappers

func (*Key_PathElement) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Key_PathElement) XXX_Size

func (m *Key_PathElement) XXX_Size() int

func (*Key_PathElement) XXX_Unmarshal

func (m *Key_PathElement) XXX_Unmarshal(b []byte) error

type Key_PathElement_Id

type Key_PathElement_Id struct {
	Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"`
}

type Key_PathElement_Name

type Key_PathElement_Name struct {
	Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"`
}

type KindExpression

type KindExpression struct {
	// The name of the kind.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A representation of a Datastore kind.

func (*KindExpression) Descriptor

func (*KindExpression) Descriptor() ([]byte, []int)

func (*KindExpression) GetName

func (m *KindExpression) GetName() string

func (*KindExpression) ProtoMessage

func (*KindExpression) ProtoMessage()

func (*KindExpression) Reset

func (m *KindExpression) Reset()

func (*KindExpression) String

func (m *KindExpression) String() string

func (*KindExpression) XXX_DiscardUnknown

func (m *KindExpression) XXX_DiscardUnknown()

func (*KindExpression) XXX_Marshal

func (m *KindExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KindExpression) XXX_Merge

func (m *KindExpression) XXX_Merge(src proto.Message)

func (*KindExpression) XXX_Size

func (m *KindExpression) XXX_Size() int

func (*KindExpression) XXX_Unmarshal

func (m *KindExpression) XXX_Unmarshal(b []byte) error

type KmsWrappedCryptoKey

type KmsWrappedCryptoKey struct {
	// Required. The wrapped data crypto key.
	WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"`
	// Required. The resource name of the KMS CryptoKey to use for unwrapping.
	CryptoKeyName        string   `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128/192/256 bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a kms-wrapped crypto key: dlp.kms.encrypt

func (*KmsWrappedCryptoKey) Descriptor

func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int)

func (*KmsWrappedCryptoKey) GetCryptoKeyName

func (m *KmsWrappedCryptoKey) GetCryptoKeyName() string

func (*KmsWrappedCryptoKey) GetWrappedKey

func (m *KmsWrappedCryptoKey) GetWrappedKey() []byte

func (*KmsWrappedCryptoKey) ProtoMessage

func (*KmsWrappedCryptoKey) ProtoMessage()

func (*KmsWrappedCryptoKey) Reset

func (m *KmsWrappedCryptoKey) Reset()

func (*KmsWrappedCryptoKey) String

func (m *KmsWrappedCryptoKey) String() string

func (*KmsWrappedCryptoKey) XXX_DiscardUnknown

func (m *KmsWrappedCryptoKey) XXX_DiscardUnknown()

func (*KmsWrappedCryptoKey) XXX_Marshal

func (m *KmsWrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KmsWrappedCryptoKey) XXX_Merge

func (m *KmsWrappedCryptoKey) XXX_Merge(src proto.Message)

func (*KmsWrappedCryptoKey) XXX_Size

func (m *KmsWrappedCryptoKey) XXX_Size() int

func (*KmsWrappedCryptoKey) XXX_Unmarshal

func (m *KmsWrappedCryptoKey) XXX_Unmarshal(b []byte) error

type LargeCustomDictionaryConfig

type LargeCustomDictionaryConfig struct {
	// Location to store dictionary artifacts in Google Cloud Storage. These files
	// will only be accessible by project owners and the DLP API. If any of these
	// artifacts are modified, the dictionary is considered invalid and can no
	// longer be used.
	OutputPath *CloudStoragePath `protobuf:"bytes,1,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
	// Types that are valid to be assigned to Source:
	//	*LargeCustomDictionaryConfig_CloudStorageFileSet
	//	*LargeCustomDictionaryConfig_BigQueryField
	Source               isLargeCustomDictionaryConfig_Source `protobuf_oneof:"source"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the [limits](https://cloud.google.com/dlp/limits) page. The artifacts of dictionary creation are stored in the specified Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size requirements.

func (*LargeCustomDictionaryConfig) Descriptor

func (*LargeCustomDictionaryConfig) Descriptor() ([]byte, []int)

func (*LargeCustomDictionaryConfig) GetBigQueryField

func (m *LargeCustomDictionaryConfig) GetBigQueryField() *BigQueryField

func (*LargeCustomDictionaryConfig) GetCloudStorageFileSet

func (m *LargeCustomDictionaryConfig) GetCloudStorageFileSet() *CloudStorageFileSet

func (*LargeCustomDictionaryConfig) GetOutputPath

func (m *LargeCustomDictionaryConfig) GetOutputPath() *CloudStoragePath

func (*LargeCustomDictionaryConfig) GetSource

func (m *LargeCustomDictionaryConfig) GetSource() isLargeCustomDictionaryConfig_Source

func (*LargeCustomDictionaryConfig) ProtoMessage

func (*LargeCustomDictionaryConfig) ProtoMessage()

func (*LargeCustomDictionaryConfig) Reset

func (m *LargeCustomDictionaryConfig) Reset()

func (*LargeCustomDictionaryConfig) String

func (m *LargeCustomDictionaryConfig) String() string

func (*LargeCustomDictionaryConfig) XXX_DiscardUnknown

func (m *LargeCustomDictionaryConfig) XXX_DiscardUnknown()

func (*LargeCustomDictionaryConfig) XXX_Marshal

func (m *LargeCustomDictionaryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LargeCustomDictionaryConfig) XXX_Merge

func (m *LargeCustomDictionaryConfig) XXX_Merge(src proto.Message)

func (*LargeCustomDictionaryConfig) XXX_OneofWrappers

func (*LargeCustomDictionaryConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LargeCustomDictionaryConfig) XXX_Size

func (m *LargeCustomDictionaryConfig) XXX_Size() int

func (*LargeCustomDictionaryConfig) XXX_Unmarshal

func (m *LargeCustomDictionaryConfig) XXX_Unmarshal(b []byte) error

type LargeCustomDictionaryConfig_BigQueryField

type LargeCustomDictionaryConfig_BigQueryField struct {
	BigQueryField *BigQueryField `protobuf:"bytes,3,opt,name=big_query_field,json=bigQueryField,proto3,oneof"`
}

type LargeCustomDictionaryConfig_CloudStorageFileSet

type LargeCustomDictionaryConfig_CloudStorageFileSet struct {
	CloudStorageFileSet *CloudStorageFileSet `protobuf:"bytes,2,opt,name=cloud_storage_file_set,json=cloudStorageFileSet,proto3,oneof"`
}

type LargeCustomDictionaryStats

type LargeCustomDictionaryStats struct {
	// Approximate number of distinct phrases in the dictionary.
	ApproxNumPhrases     int64    `protobuf:"varint,1,opt,name=approx_num_phrases,json=approxNumPhrases,proto3" json:"approx_num_phrases,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Summary statistics of a custom dictionary.

func (*LargeCustomDictionaryStats) Descriptor

func (*LargeCustomDictionaryStats) Descriptor() ([]byte, []int)

func (*LargeCustomDictionaryStats) GetApproxNumPhrases

func (m *LargeCustomDictionaryStats) GetApproxNumPhrases() int64

func (*LargeCustomDictionaryStats) ProtoMessage

func (*LargeCustomDictionaryStats) ProtoMessage()

func (*LargeCustomDictionaryStats) Reset

func (m *LargeCustomDictionaryStats) Reset()

func (*LargeCustomDictionaryStats) String

func (m *LargeCustomDictionaryStats) String() string

func (*LargeCustomDictionaryStats) XXX_DiscardUnknown

func (m *LargeCustomDictionaryStats) XXX_DiscardUnknown()

func (*LargeCustomDictionaryStats) XXX_Marshal

func (m *LargeCustomDictionaryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LargeCustomDictionaryStats) XXX_Merge

func (m *LargeCustomDictionaryStats) XXX_Merge(src proto.Message)

func (*LargeCustomDictionaryStats) XXX_Size

func (m *LargeCustomDictionaryStats) XXX_Size() int

func (*LargeCustomDictionaryStats) XXX_Unmarshal

func (m *LargeCustomDictionaryStats) XXX_Unmarshal(b []byte) error

type Likelihood

type Likelihood int32

Categorization of results based on how likely they are to represent a match, based on the number of elements they contain which imply a match.

const (
	// Default value; same as POSSIBLE.
	Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0
	// Few matching elements.
	Likelihood_VERY_UNLIKELY Likelihood = 1
	Likelihood_UNLIKELY      Likelihood = 2
	// Some matching elements.
	Likelihood_POSSIBLE Likelihood = 3
	Likelihood_LIKELY   Likelihood = 4
	// Many matching elements.
	Likelihood_VERY_LIKELY Likelihood = 5
)

func (Likelihood) EnumDescriptor

func (Likelihood) EnumDescriptor() ([]byte, []int)

func (Likelihood) String

func (x Likelihood) String() string

type ListDeidentifyTemplatesRequest

type ListDeidentifyTemplatesRequest struct {
	// Required. The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page token to continue retrieval. Comes from previous call
	// to `ListDeidentifyTemplates`.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Size of the page, can be limited by server. If zero server returns
	// a page of max size 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Comma separated list of fields to order by,
	// followed by `asc` or `desc` postfix. This list is case-insensitive,
	// default sorting order is ascending, redundant space characters are
	// insignificant.
	//
	// Example: `name asc,update_time, create_time desc`
	//
	// Supported fields are:
	//
	// - `create_time`: corresponds to time the template was created.
	// - `update_time`: corresponds to time the template was last updated.
	// - `name`: corresponds to template's name.
	// - `display_name`: corresponds to template's display name.
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListDeidentifyTemplates.

func (*ListDeidentifyTemplatesRequest) Descriptor

func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int)

func (*ListDeidentifyTemplatesRequest) GetLocationId

func (m *ListDeidentifyTemplatesRequest) GetLocationId() string

func (*ListDeidentifyTemplatesRequest) GetOrderBy

func (m *ListDeidentifyTemplatesRequest) GetOrderBy() string

func (*ListDeidentifyTemplatesRequest) GetPageSize

func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32

func (*ListDeidentifyTemplatesRequest) GetPageToken

func (m *ListDeidentifyTemplatesRequest) GetPageToken() string

func (*ListDeidentifyTemplatesRequest) GetParent

func (m *ListDeidentifyTemplatesRequest) GetParent() string

func (*ListDeidentifyTemplatesRequest) ProtoMessage

func (*ListDeidentifyTemplatesRequest) ProtoMessage()

func (*ListDeidentifyTemplatesRequest) Reset

func (m *ListDeidentifyTemplatesRequest) Reset()

func (*ListDeidentifyTemplatesRequest) String

func (*ListDeidentifyTemplatesRequest) XXX_DiscardUnknown

func (m *ListDeidentifyTemplatesRequest) XXX_DiscardUnknown()

func (*ListDeidentifyTemplatesRequest) XXX_Marshal

func (m *ListDeidentifyTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeidentifyTemplatesRequest) XXX_Merge

func (m *ListDeidentifyTemplatesRequest) XXX_Merge(src proto.Message)

func (*ListDeidentifyTemplatesRequest) XXX_Size

func (m *ListDeidentifyTemplatesRequest) XXX_Size() int

func (*ListDeidentifyTemplatesRequest) XXX_Unmarshal

func (m *ListDeidentifyTemplatesRequest) XXX_Unmarshal(b []byte) error

type ListDeidentifyTemplatesResponse

type ListDeidentifyTemplatesResponse struct {
	// List of deidentify templates, up to page_size in
	// ListDeidentifyTemplatesRequest.
	DeidentifyTemplates []*DeidentifyTemplate `protobuf:"bytes,1,rep,name=deidentify_templates,json=deidentifyTemplates,proto3" json:"deidentify_templates,omitempty"`
	// If the next page is available then the next page token to be used
	// in following ListDeidentifyTemplates request.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for ListDeidentifyTemplates.

func (*ListDeidentifyTemplatesResponse) Descriptor

func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int)

func (*ListDeidentifyTemplatesResponse) GetDeidentifyTemplates

func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate

func (*ListDeidentifyTemplatesResponse) GetNextPageToken

func (m *ListDeidentifyTemplatesResponse) GetNextPageToken() string

func (*ListDeidentifyTemplatesResponse) ProtoMessage

func (*ListDeidentifyTemplatesResponse) ProtoMessage()

func (*ListDeidentifyTemplatesResponse) Reset

func (*ListDeidentifyTemplatesResponse) String

func (*ListDeidentifyTemplatesResponse) XXX_DiscardUnknown

func (m *ListDeidentifyTemplatesResponse) XXX_DiscardUnknown()

func (*ListDeidentifyTemplatesResponse) XXX_Marshal

func (m *ListDeidentifyTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeidentifyTemplatesResponse) XXX_Merge

func (m *ListDeidentifyTemplatesResponse) XXX_Merge(src proto.Message)

func (*ListDeidentifyTemplatesResponse) XXX_Size

func (m *ListDeidentifyTemplatesResponse) XXX_Size() int

func (*ListDeidentifyTemplatesResponse) XXX_Unmarshal

func (m *ListDeidentifyTemplatesResponse) XXX_Unmarshal(b []byte) error

type ListDlpJobsRequest

type ListDlpJobsRequest struct {
	// Required. The parent resource name, for example projects/my-project-id
	// or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// Allows filtering.
	//
	// Supported syntax:
	//
	// * Filter expressions are made up of one or more restrictions.
	// * Restrictions can be combined by `AND` or `OR` logical operators. A
	// sequence of restrictions implicitly uses `AND`.
	// * A restriction has the form of `{field} {operator} {value}`.
	// * Supported fields/values for inspect jobs:
	//     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
	//     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
	//     - `trigger_name` - The resource name of the trigger that created job.
	//     - 'end_time` - Corresponds to time the job finished.
	//     - 'start_time` - Corresponds to time the job finished.
	// * Supported fields for risk analysis jobs:
	//     - `state` - RUNNING|CANCELED|FINISHED|FAILED
	//     - 'end_time` - Corresponds to time the job finished.
	//     - 'start_time` - Corresponds to time the job finished.
	// * The operator must be `=` or `!=`.
	//
	// Examples:
	//
	// * inspected_storage = cloud_storage AND state = done
	// * inspected_storage = cloud_storage OR inspected_storage = bigquery
	// * inspected_storage = cloud_storage AND (state = done OR state = canceled)
	// * end_time > \"2017-12-12T00:00:00+00:00\"
	//
	// The length of this field should be no more than 500 characters.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// The standard list page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The standard list page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The type of job. Defaults to `DlpJobType.INSPECT`
	Type DlpJobType `protobuf:"varint,5,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"`
	// Comma separated list of fields to order by,
	// followed by `asc` or `desc` postfix. This list is case-insensitive,
	// default sorting order is ascending, redundant space characters are
	// insignificant.
	//
	// Example: `name asc, end_time asc, create_time desc`
	//
	// Supported fields are:
	//
	// - `create_time`: corresponds to time the job was created.
	// - `end_time`: corresponds to time the job ended.
	// - `name`: corresponds to job's name.
	// - `state`: corresponds to `state`
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request message for listing DLP jobs.

func (*ListDlpJobsRequest) Descriptor

func (*ListDlpJobsRequest) Descriptor() ([]byte, []int)

func (*ListDlpJobsRequest) GetFilter

func (m *ListDlpJobsRequest) GetFilter() string

func (*ListDlpJobsRequest) GetLocationId

func (m *ListDlpJobsRequest) GetLocationId() string

func (*ListDlpJobsRequest) GetOrderBy

func (m *ListDlpJobsRequest) GetOrderBy() string

func (*ListDlpJobsRequest) GetPageSize

func (m *ListDlpJobsRequest) GetPageSize() int32

func (*ListDlpJobsRequest) GetPageToken

func (m *ListDlpJobsRequest) GetPageToken() string

func (*ListDlpJobsRequest) GetParent

func (m *ListDlpJobsRequest) GetParent() string

func (*ListDlpJobsRequest) GetType

func (m *ListDlpJobsRequest) GetType() DlpJobType

func (*ListDlpJobsRequest) ProtoMessage

func (*ListDlpJobsRequest) ProtoMessage()

func (*ListDlpJobsRequest) Reset

func (m *ListDlpJobsRequest) Reset()

func (*ListDlpJobsRequest) String

func (m *ListDlpJobsRequest) String() string

func (*ListDlpJobsRequest) XXX_DiscardUnknown

func (m *ListDlpJobsRequest) XXX_DiscardUnknown()

func (*ListDlpJobsRequest) XXX_Marshal

func (m *ListDlpJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDlpJobsRequest) XXX_Merge

func (m *ListDlpJobsRequest) XXX_Merge(src proto.Message)

func (*ListDlpJobsRequest) XXX_Size

func (m *ListDlpJobsRequest) XXX_Size() int

func (*ListDlpJobsRequest) XXX_Unmarshal

func (m *ListDlpJobsRequest) XXX_Unmarshal(b []byte) error

type ListDlpJobsResponse

type ListDlpJobsResponse struct {
	// A list of DlpJobs that matches the specified filter in the request.
	Jobs []*DlpJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// The standard List next-page token.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The response message for listing DLP jobs.

func (*ListDlpJobsResponse) Descriptor

func (*ListDlpJobsResponse) Descriptor() ([]byte, []int)

func (*ListDlpJobsResponse) GetJobs

func (m *ListDlpJobsResponse) GetJobs() []*DlpJob

func (*ListDlpJobsResponse) GetNextPageToken

func (m *ListDlpJobsResponse) GetNextPageToken() string

func (*ListDlpJobsResponse) ProtoMessage

func (*ListDlpJobsResponse) ProtoMessage()

func (*ListDlpJobsResponse) Reset

func (m *ListDlpJobsResponse) Reset()

func (*ListDlpJobsResponse) String

func (m *ListDlpJobsResponse) String() string

func (*ListDlpJobsResponse) XXX_DiscardUnknown

func (m *ListDlpJobsResponse) XXX_DiscardUnknown()

func (*ListDlpJobsResponse) XXX_Marshal

func (m *ListDlpJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDlpJobsResponse) XXX_Merge

func (m *ListDlpJobsResponse) XXX_Merge(src proto.Message)

func (*ListDlpJobsResponse) XXX_Size

func (m *ListDlpJobsResponse) XXX_Size() int

func (*ListDlpJobsResponse) XXX_Unmarshal

func (m *ListDlpJobsResponse) XXX_Unmarshal(b []byte) error

type ListInfoTypesRequest

type ListInfoTypesRequest struct {
	// The parent resource name, for example locations/{location_id}
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// BCP-47 language code for localized infoType friendly
	// names. If omitted, or if localized strings are not available,
	// en-US strings will be returned.
	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// filter to only return infoTypes supported by certain parts of the
	// API. Defaults to supported_by=INSPECT.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the list of infoTypes.

func (*ListInfoTypesRequest) Descriptor

func (*ListInfoTypesRequest) Descriptor() ([]byte, []int)

func (*ListInfoTypesRequest) GetFilter

func (m *ListInfoTypesRequest) GetFilter() string

func (*ListInfoTypesRequest) GetLanguageCode

func (m *ListInfoTypesRequest) GetLanguageCode() string

func (*ListInfoTypesRequest) GetLocationId

func (m *ListInfoTypesRequest) GetLocationId() string

func (*ListInfoTypesRequest) GetParent

func (m *ListInfoTypesRequest) GetParent() string

func (*ListInfoTypesRequest) ProtoMessage

func (*ListInfoTypesRequest) ProtoMessage()

func (*ListInfoTypesRequest) Reset

func (m *ListInfoTypesRequest) Reset()

func (*ListInfoTypesRequest) String

func (m *ListInfoTypesRequest) String() string

func (*ListInfoTypesRequest) XXX_DiscardUnknown

func (m *ListInfoTypesRequest) XXX_DiscardUnknown()

func (*ListInfoTypesRequest) XXX_Marshal

func (m *ListInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInfoTypesRequest) XXX_Merge

func (m *ListInfoTypesRequest) XXX_Merge(src proto.Message)

func (*ListInfoTypesRequest) XXX_Size

func (m *ListInfoTypesRequest) XXX_Size() int

func (*ListInfoTypesRequest) XXX_Unmarshal

func (m *ListInfoTypesRequest) XXX_Unmarshal(b []byte) error

type ListInfoTypesResponse

type ListInfoTypesResponse struct {
	// Set of sensitive infoTypes.
	InfoTypes            []*InfoTypeDescription `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Response to the ListInfoTypes request.

func (*ListInfoTypesResponse) Descriptor

func (*ListInfoTypesResponse) Descriptor() ([]byte, []int)

func (*ListInfoTypesResponse) GetInfoTypes

func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription

func (*ListInfoTypesResponse) ProtoMessage

func (*ListInfoTypesResponse) ProtoMessage()

func (*ListInfoTypesResponse) Reset

func (m *ListInfoTypesResponse) Reset()

func (*ListInfoTypesResponse) String

func (m *ListInfoTypesResponse) String() string

func (*ListInfoTypesResponse) XXX_DiscardUnknown

func (m *ListInfoTypesResponse) XXX_DiscardUnknown()

func (*ListInfoTypesResponse) XXX_Marshal

func (m *ListInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInfoTypesResponse) XXX_Merge

func (m *ListInfoTypesResponse) XXX_Merge(src proto.Message)

func (*ListInfoTypesResponse) XXX_Size

func (m *ListInfoTypesResponse) XXX_Size() int

func (*ListInfoTypesResponse) XXX_Unmarshal

func (m *ListInfoTypesResponse) XXX_Unmarshal(b []byte) error

type ListInspectTemplatesRequest

type ListInspectTemplatesRequest struct {
	// Required. The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page token to continue retrieval. Comes from previous call
	// to `ListInspectTemplates`.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Size of the page, can be limited by server. If zero server returns
	// a page of max size 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Comma separated list of fields to order by,
	// followed by `asc` or `desc` postfix. This list is case-insensitive,
	// default sorting order is ascending, redundant space characters are
	// insignificant.
	//
	// Example: `name asc,update_time, create_time desc`
	//
	// Supported fields are:
	//
	// - `create_time`: corresponds to time the template was created.
	// - `update_time`: corresponds to time the template was last updated.
	// - `name`: corresponds to template's name.
	// - `display_name`: corresponds to template's display name.
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListInspectTemplates.

func (*ListInspectTemplatesRequest) Descriptor

func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int)

func (*ListInspectTemplatesRequest) GetLocationId

func (m *ListInspectTemplatesRequest) GetLocationId() string

func (*ListInspectTemplatesRequest) GetOrderBy

func (m *ListInspectTemplatesRequest) GetOrderBy() string

func (*ListInspectTemplatesRequest) GetPageSize

func (m *ListInspectTemplatesRequest) GetPageSize() int32

func (*ListInspectTemplatesRequest) GetPageToken

func (m *ListInspectTemplatesRequest) GetPageToken() string

func (*ListInspectTemplatesRequest) GetParent

func (m *ListInspectTemplatesRequest) GetParent() string

func (*ListInspectTemplatesRequest) ProtoMessage

func (*ListInspectTemplatesRequest) ProtoMessage()

func (*ListInspectTemplatesRequest) Reset

func (m *ListInspectTemplatesRequest) Reset()

func (*ListInspectTemplatesRequest) String

func (m *ListInspectTemplatesRequest) String() string

func (*ListInspectTemplatesRequest) XXX_DiscardUnknown

func (m *ListInspectTemplatesRequest) XXX_DiscardUnknown()

func (*ListInspectTemplatesRequest) XXX_Marshal

func (m *ListInspectTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInspectTemplatesRequest) XXX_Merge

func (m *ListInspectTemplatesRequest) XXX_Merge(src proto.Message)

func (*ListInspectTemplatesRequest) XXX_Size

func (m *ListInspectTemplatesRequest) XXX_Size() int

func (*ListInspectTemplatesRequest) XXX_Unmarshal

func (m *ListInspectTemplatesRequest) XXX_Unmarshal(b []byte) error

type ListInspectTemplatesResponse

type ListInspectTemplatesResponse struct {
	// List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
	InspectTemplates []*InspectTemplate `protobuf:"bytes,1,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"`
	// If the next page is available then the next page token to be used
	// in following ListInspectTemplates request.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for ListInspectTemplates.

func (*ListInspectTemplatesResponse) Descriptor

func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int)

func (*ListInspectTemplatesResponse) GetInspectTemplates

func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate

func (*ListInspectTemplatesResponse) GetNextPageToken

func (m *ListInspectTemplatesResponse) GetNextPageToken() string

func (*ListInspectTemplatesResponse) ProtoMessage

func (*ListInspectTemplatesResponse) ProtoMessage()

func (*ListInspectTemplatesResponse) Reset

func (m *ListInspectTemplatesResponse) Reset()

func (*ListInspectTemplatesResponse) String

func (*ListInspectTemplatesResponse) XXX_DiscardUnknown

func (m *ListInspectTemplatesResponse) XXX_DiscardUnknown()

func (*ListInspectTemplatesResponse) XXX_Marshal

func (m *ListInspectTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInspectTemplatesResponse) XXX_Merge

func (m *ListInspectTemplatesResponse) XXX_Merge(src proto.Message)

func (*ListInspectTemplatesResponse) XXX_Size

func (m *ListInspectTemplatesResponse) XXX_Size() int

func (*ListInspectTemplatesResponse) XXX_Unmarshal

func (m *ListInspectTemplatesResponse) XXX_Unmarshal(b []byte) error

type ListJobTriggersRequest

type ListJobTriggersRequest struct {
	// Required. The parent resource name, for example `projects/my-project-id`
	// or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page token to continue retrieval. Comes from previous call
	// to ListJobTriggers. `order_by` field must not
	// change for subsequent calls.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Size of the page, can be limited by a server.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Comma separated list of triggeredJob fields to order by,
	// followed by `asc` or `desc` postfix. This list is case-insensitive,
	// default sorting order is ascending, redundant space characters are
	// insignificant.
	//
	// Example: `name asc,update_time, create_time desc`
	//
	// Supported fields are:
	//
	// - `create_time`: corresponds to time the JobTrigger was created.
	// - `update_time`: corresponds to time the JobTrigger was last updated.
	// - `last_run_time`: corresponds to the last time the JobTrigger ran.
	// - `name`: corresponds to JobTrigger's name.
	// - `display_name`: corresponds to JobTrigger's display name.
	// - `status`: corresponds to JobTrigger's status.
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Allows filtering.
	//
	// Supported syntax:
	//
	// * Filter expressions are made up of one or more restrictions.
	// * Restrictions can be combined by `AND` or `OR` logical operators. A
	// sequence of restrictions implicitly uses `AND`.
	// * A restriction has the form of `{field} {operator} {value}`.
	// * Supported fields/values for inspect jobs:
	//     - `status` - HEALTHY|PAUSED|CANCELLED
	//     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
	//     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
	//     quotation marks. Nanoseconds are ignored.
	//     - 'error_count' - Number of errors that have occurred while running.
	// * The operator must be `=` or `!=` for status and inspected_storage.
	//
	// Examples:
	//
	// * inspected_storage = cloud_storage AND status = HEALTHY
	// * inspected_storage = cloud_storage OR inspected_storage = bigquery
	// * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
	// * last_run_time > \"2017-12-12T00:00:00+00:00\"
	//
	// The length of this field should be no more than 500 characters.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListJobTriggers.

func (*ListJobTriggersRequest) Descriptor

func (*ListJobTriggersRequest) Descriptor() ([]byte, []int)

func (*ListJobTriggersRequest) GetFilter

func (m *ListJobTriggersRequest) GetFilter() string

func (*ListJobTriggersRequest) GetLocationId

func (m *ListJobTriggersRequest) GetLocationId() string

func (*ListJobTriggersRequest) GetOrderBy

func (m *ListJobTriggersRequest) GetOrderBy() string

func (*ListJobTriggersRequest) GetPageSize

func (m *ListJobTriggersRequest) GetPageSize() int32

func (*ListJobTriggersRequest) GetPageToken

func (m *ListJobTriggersRequest) GetPageToken() string

func (*ListJobTriggersRequest) GetParent

func (m *ListJobTriggersRequest) GetParent() string

func (*ListJobTriggersRequest) ProtoMessage

func (*ListJobTriggersRequest) ProtoMessage()

func (*ListJobTriggersRequest) Reset

func (m *ListJobTriggersRequest) Reset()

func (*ListJobTriggersRequest) String

func (m *ListJobTriggersRequest) String() string

func (*ListJobTriggersRequest) XXX_DiscardUnknown

func (m *ListJobTriggersRequest) XXX_DiscardUnknown()

func (*ListJobTriggersRequest) XXX_Marshal

func (m *ListJobTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListJobTriggersRequest) XXX_Merge

func (m *ListJobTriggersRequest) XXX_Merge(src proto.Message)

func (*ListJobTriggersRequest) XXX_Size

func (m *ListJobTriggersRequest) XXX_Size() int

func (*ListJobTriggersRequest) XXX_Unmarshal

func (m *ListJobTriggersRequest) XXX_Unmarshal(b []byte) error

type ListJobTriggersResponse

type ListJobTriggersResponse struct {
	// List of triggeredJobs, up to page_size in ListJobTriggersRequest.
	JobTriggers []*JobTrigger `protobuf:"bytes,1,rep,name=job_triggers,json=jobTriggers,proto3" json:"job_triggers,omitempty"`
	// If the next page is available then the next page token to be used
	// in following ListJobTriggers request.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for ListJobTriggers.

func (*ListJobTriggersResponse) Descriptor

func (*ListJobTriggersResponse) Descriptor() ([]byte, []int)

func (*ListJobTriggersResponse) GetJobTriggers

func (m *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger

func (*ListJobTriggersResponse) GetNextPageToken

func (m *ListJobTriggersResponse) GetNextPageToken() string

func (*ListJobTriggersResponse) ProtoMessage

func (*ListJobTriggersResponse) ProtoMessage()

func (*ListJobTriggersResponse) Reset

func (m *ListJobTriggersResponse) Reset()

func (*ListJobTriggersResponse) String

func (m *ListJobTriggersResponse) String() string

func (*ListJobTriggersResponse) XXX_DiscardUnknown

func (m *ListJobTriggersResponse) XXX_DiscardUnknown()

func (*ListJobTriggersResponse) XXX_Marshal

func (m *ListJobTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListJobTriggersResponse) XXX_Merge

func (m *ListJobTriggersResponse) XXX_Merge(src proto.Message)

func (*ListJobTriggersResponse) XXX_Size

func (m *ListJobTriggersResponse) XXX_Size() int

func (*ListJobTriggersResponse) XXX_Unmarshal

func (m *ListJobTriggersResponse) XXX_Unmarshal(b []byte) error

type ListStoredInfoTypesRequest

type ListStoredInfoTypesRequest struct {
	// Required. The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page token to continue retrieval. Comes from previous call
	// to `ListStoredInfoTypes`.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Size of the page, can be limited by server. If zero server returns
	// a page of max size 100.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Comma separated list of fields to order by,
	// followed by `asc` or `desc` postfix. This list is case-insensitive,
	// default sorting order is ascending, redundant space characters are
	// insignificant.
	//
	// Example: `name asc, display_name, create_time desc`
	//
	// Supported fields are:
	//
	// - `create_time`: corresponds to time the most recent version of the
	// resource was created.
	// - `state`: corresponds to the state of the resource.
	// - `name`: corresponds to resource name.
	// - `display_name`: corresponds to info type's display name.
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for ListStoredInfoTypes.

func (*ListStoredInfoTypesRequest) Descriptor

func (*ListStoredInfoTypesRequest) Descriptor() ([]byte, []int)

func (*ListStoredInfoTypesRequest) GetLocationId

func (m *ListStoredInfoTypesRequest) GetLocationId() string

func (*ListStoredInfoTypesRequest) GetOrderBy

func (m *ListStoredInfoTypesRequest) GetOrderBy() string

func (*ListStoredInfoTypesRequest) GetPageSize

func (m *ListStoredInfoTypesRequest) GetPageSize() int32

func (*ListStoredInfoTypesRequest) GetPageToken

func (m *ListStoredInfoTypesRequest) GetPageToken() string

func (*ListStoredInfoTypesRequest) GetParent

func (m *ListStoredInfoTypesRequest) GetParent() string

func (*ListStoredInfoTypesRequest) ProtoMessage

func (*ListStoredInfoTypesRequest) ProtoMessage()

func (*ListStoredInfoTypesRequest) Reset

func (m *ListStoredInfoTypesRequest) Reset()

func (*ListStoredInfoTypesRequest) String

func (m *ListStoredInfoTypesRequest) String() string

func (*ListStoredInfoTypesRequest) XXX_DiscardUnknown

func (m *ListStoredInfoTypesRequest) XXX_DiscardUnknown()

func (*ListStoredInfoTypesRequest) XXX_Marshal

func (m *ListStoredInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListStoredInfoTypesRequest) XXX_Merge

func (m *ListStoredInfoTypesRequest) XXX_Merge(src proto.Message)

func (*ListStoredInfoTypesRequest) XXX_Size

func (m *ListStoredInfoTypesRequest) XXX_Size() int

func (*ListStoredInfoTypesRequest) XXX_Unmarshal

func (m *ListStoredInfoTypesRequest) XXX_Unmarshal(b []byte) error

type ListStoredInfoTypesResponse

type ListStoredInfoTypesResponse struct {
	// List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
	StoredInfoTypes []*StoredInfoType `protobuf:"bytes,1,rep,name=stored_info_types,json=storedInfoTypes,proto3" json:"stored_info_types,omitempty"`
	// If the next page is available then the next page token to be used
	// in following ListStoredInfoTypes request.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for ListStoredInfoTypes.

func (*ListStoredInfoTypesResponse) Descriptor

func (*ListStoredInfoTypesResponse) Descriptor() ([]byte, []int)

func (*ListStoredInfoTypesResponse) GetNextPageToken

func (m *ListStoredInfoTypesResponse) GetNextPageToken() string

func (*ListStoredInfoTypesResponse) GetStoredInfoTypes

func (m *ListStoredInfoTypesResponse) GetStoredInfoTypes() []*StoredInfoType

func (*ListStoredInfoTypesResponse) ProtoMessage

func (*ListStoredInfoTypesResponse) ProtoMessage()

func (*ListStoredInfoTypesResponse) Reset

func (m *ListStoredInfoTypesResponse) Reset()

func (*ListStoredInfoTypesResponse) String

func (m *ListStoredInfoTypesResponse) String() string

func (*ListStoredInfoTypesResponse) XXX_DiscardUnknown

func (m *ListStoredInfoTypesResponse) XXX_DiscardUnknown()

func (*ListStoredInfoTypesResponse) XXX_Marshal

func (m *ListStoredInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListStoredInfoTypesResponse) XXX_Merge

func (m *ListStoredInfoTypesResponse) XXX_Merge(src proto.Message)

func (*ListStoredInfoTypesResponse) XXX_Size

func (m *ListStoredInfoTypesResponse) XXX_Size() int

func (*ListStoredInfoTypesResponse) XXX_Unmarshal

func (m *ListStoredInfoTypesResponse) XXX_Unmarshal(b []byte) error

type Location

type Location struct {
	// Zero-based byte offsets delimiting the finding.
	// These are relative to the finding's containing element.
	// Note that when the content is not textual, this references
	// the UTF-8 encoded textual representation of the content.
	// Omitted if content is an image.
	ByteRange *Range `protobuf:"bytes,1,opt,name=byte_range,json=byteRange,proto3" json:"byte_range,omitempty"`
	// Unicode character offsets delimiting the finding.
	// These are relative to the finding's containing element.
	// Provided when the content is text.
	CodepointRange *Range `protobuf:"bytes,2,opt,name=codepoint_range,json=codepointRange,proto3" json:"codepoint_range,omitempty"`
	// List of nested objects pointing to the precise location of the finding
	// within the file or record.
	ContentLocations []*ContentLocation `protobuf:"bytes,7,rep,name=content_locations,json=contentLocations,proto3" json:"content_locations,omitempty"`
	// Information about the container where this finding occurred, if available.
	Container            *Container `protobuf:"bytes,8,opt,name=container,proto3" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Specifies the location of the finding.

func (*Location) Descriptor

func (*Location) Descriptor() ([]byte, []int)

func (*Location) GetByteRange

func (m *Location) GetByteRange() *Range

func (*Location) GetCodepointRange

func (m *Location) GetCodepointRange() *Range

func (*Location) GetContainer

func (m *Location) GetContainer() *Container

func (*Location) GetContentLocations

func (m *Location) GetContentLocations() []*ContentLocation

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) String

func (m *Location) String() string

func (*Location) XXX_DiscardUnknown

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal

func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Location) XXX_Merge

func (m *Location) XXX_Merge(src proto.Message)

func (*Location) XXX_Size

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal

func (m *Location) XXX_Unmarshal(b []byte) error

type Manual

type Manual struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Job trigger option for hybrid jobs. Jobs must be manually created and finished.

func (*Manual) Descriptor

func (*Manual) Descriptor() ([]byte, []int)

func (*Manual) ProtoMessage

func (*Manual) ProtoMessage()

func (*Manual) Reset

func (m *Manual) Reset()

func (*Manual) String

func (m *Manual) String() string

func (*Manual) XXX_DiscardUnknown

func (m *Manual) XXX_DiscardUnknown()

func (*Manual) XXX_Marshal

func (m *Manual) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Manual) XXX_Merge

func (m *Manual) XXX_Merge(src proto.Message)

func (*Manual) XXX_Size

func (m *Manual) XXX_Size() int

func (*Manual) XXX_Unmarshal

func (m *Manual) XXX_Unmarshal(b []byte) error

type MatchingType

type MatchingType int32

Type of the match which can be applied to different ways of matching, like Dictionary, regular expression and intersecting with findings of another info type.

const (
	// Invalid.
	MatchingType_MATCHING_TYPE_UNSPECIFIED MatchingType = 0
	// Full match.
	//
	// - Dictionary: join of Dictionary results matched complete finding quote
	// - Regex: all regex matches fill a finding quote start to end
	// - Exclude info type: completely inside affecting info types findings
	MatchingType_MATCHING_TYPE_FULL_MATCH MatchingType = 1
	// Partial match.
	//
	// - Dictionary: at least one of the tokens in the finding matches
	// - Regex: substring of the finding matches
	// - Exclude info type: intersects with affecting info types findings
	MatchingType_MATCHING_TYPE_PARTIAL_MATCH MatchingType = 2
	// Inverse match.
	//
	// - Dictionary: no tokens in the finding match the dictionary
	// - Regex: finding doesn't match the regex
	// - Exclude info type: no intersection with affecting info types findings
	MatchingType_MATCHING_TYPE_INVERSE_MATCH MatchingType = 3
)

func (MatchingType) EnumDescriptor

func (MatchingType) EnumDescriptor() ([]byte, []int)

func (MatchingType) String

func (x MatchingType) String() string

type MetadataLocation

type MetadataLocation struct {
	// Type of metadata containing the finding.
	Type MetadataType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.MetadataType" json:"type,omitempty"`
	// Label of the piece of metadata containing the finding, for example -
	// latitude, author, caption.
	//
	// Types that are valid to be assigned to Label:
	//	*MetadataLocation_StorageLabel
	Label                isMetadataLocation_Label `protobuf_oneof:"label"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Metadata Location

func (*MetadataLocation) Descriptor

func (*MetadataLocation) Descriptor() ([]byte, []int)

func (*MetadataLocation) GetLabel

func (m *MetadataLocation) GetLabel() isMetadataLocation_Label

func (*MetadataLocation) GetStorageLabel

func (m *MetadataLocation) GetStorageLabel() *StorageMetadataLabel

func (*MetadataLocation) GetType

func (m *MetadataLocation) GetType() MetadataType

func (*MetadataLocation) ProtoMessage

func (*MetadataLocation) ProtoMessage()

func (*MetadataLocation) Reset

func (m *MetadataLocation) Reset()

func (*MetadataLocation) String

func (m *MetadataLocation) String() string

func (*MetadataLocation) XXX_DiscardUnknown

func (m *MetadataLocation) XXX_DiscardUnknown()

func (*MetadataLocation) XXX_Marshal

func (m *MetadataLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetadataLocation) XXX_Merge

func (m *MetadataLocation) XXX_Merge(src proto.Message)

func (*MetadataLocation) XXX_OneofWrappers

func (*MetadataLocation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MetadataLocation) XXX_Size

func (m *MetadataLocation) XXX_Size() int

func (*MetadataLocation) XXX_Unmarshal

func (m *MetadataLocation) XXX_Unmarshal(b []byte) error

type MetadataLocation_StorageLabel

type MetadataLocation_StorageLabel struct {
	StorageLabel *StorageMetadataLabel `protobuf:"bytes,3,opt,name=storage_label,json=storageLabel,proto3,oneof"`
}

type MetadataType

type MetadataType int32

Type of metadata containing the finding.

const (
	// Unused
	MetadataType_METADATATYPE_UNSPECIFIED MetadataType = 0
	// General file metadata provided by GCS.
	MetadataType_STORAGE_METADATA MetadataType = 2
)

func (MetadataType) EnumDescriptor

func (MetadataType) EnumDescriptor() ([]byte, []int)

func (MetadataType) String

func (x MetadataType) String() string

type OutputStorageConfig

type OutputStorageConfig struct {
	// Output storage types.
	//
	// Types that are valid to be assigned to Type:
	//	*OutputStorageConfig_Table
	Type isOutputStorageConfig_Type `protobuf_oneof:"type"`
	// Schema used for writing the findings for Inspect jobs. This field is only
	// used for Inspect and must be unspecified for Risk jobs. Columns are derived
	// from the `Finding` object. If appending to an existing table, any columns
	// from the predefined schema that are missing will be added. No columns in
	// the existing table will be deleted.
	//
	// If unspecified, then all available columns will be used for a new table or
	// an (existing) table with no schema, and no changes will be made to an
	// existing table that has a schema.
	// Only for use with external storage.
	OutputSchema         OutputStorageConfig_OutputSchema `` /* 158-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Cloud repository for storing output.

func (*OutputStorageConfig) Descriptor

func (*OutputStorageConfig) Descriptor() ([]byte, []int)

func (*OutputStorageConfig) GetOutputSchema

func (*OutputStorageConfig) GetTable

func (m *OutputStorageConfig) GetTable() *BigQueryTable

func (*OutputStorageConfig) GetType

func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type

func (*OutputStorageConfig) ProtoMessage

func (*OutputStorageConfig) ProtoMessage()

func (*OutputStorageConfig) Reset

func (m *OutputStorageConfig) Reset()

func (*OutputStorageConfig) String

func (m *OutputStorageConfig) String() string

func (*OutputStorageConfig) XXX_DiscardUnknown

func (m *OutputStorageConfig) XXX_DiscardUnknown()

func (*OutputStorageConfig) XXX_Marshal

func (m *OutputStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputStorageConfig) XXX_Merge

func (m *OutputStorageConfig) XXX_Merge(src proto.Message)

func (*OutputStorageConfig) XXX_OneofWrappers

func (*OutputStorageConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OutputStorageConfig) XXX_Size

func (m *OutputStorageConfig) XXX_Size() int

func (*OutputStorageConfig) XXX_Unmarshal

func (m *OutputStorageConfig) XXX_Unmarshal(b []byte) error

type OutputStorageConfig_OutputSchema

type OutputStorageConfig_OutputSchema int32

Predefined schemas for storing findings. Only for use with external storage.

const (
	// Unused.
	OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED OutputStorageConfig_OutputSchema = 0
	// Basic schema including only `info_type`, `quote`, `certainty`, and
	// `timestamp`.
	OutputStorageConfig_BASIC_COLUMNS OutputStorageConfig_OutputSchema = 1
	// Schema tailored to findings from scanning Google Cloud Storage.
	OutputStorageConfig_GCS_COLUMNS OutputStorageConfig_OutputSchema = 2
	// Schema tailored to findings from scanning Google Datastore.
	OutputStorageConfig_DATASTORE_COLUMNS OutputStorageConfig_OutputSchema = 3
	// Schema tailored to findings from scanning Google BigQuery.
	OutputStorageConfig_BIG_QUERY_COLUMNS OutputStorageConfig_OutputSchema = 4
	// Schema containing all columns.
	OutputStorageConfig_ALL_COLUMNS OutputStorageConfig_OutputSchema = 5
)

func (OutputStorageConfig_OutputSchema) EnumDescriptor

func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int)

func (OutputStorageConfig_OutputSchema) String

type OutputStorageConfig_Table

type OutputStorageConfig_Table struct {
	Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3,oneof"`
}

type PartitionId

type PartitionId struct {
	// The ID of the project to which the entities belong.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// If not empty, the ID of the namespace to which the entities belong.
	NamespaceId          string   `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

A partition ID contains several dimensions: project ID and namespace ID.

func (*PartitionId) Descriptor

func (*PartitionId) Descriptor() ([]byte, []int)

func (*PartitionId) GetNamespaceId

func (m *PartitionId) GetNamespaceId() string

func (*PartitionId) GetProjectId

func (m *PartitionId) GetProjectId() string

func (*PartitionId) ProtoMessage

func (*PartitionId) ProtoMessage()

func (*PartitionId) Reset

func (m *PartitionId) Reset()

func (*PartitionId) String

func (m *PartitionId) String() string

func (*PartitionId) XXX_DiscardUnknown

func (m *PartitionId) XXX_DiscardUnknown()

func (*PartitionId) XXX_Marshal

func (m *PartitionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartitionId) XXX_Merge

func (m *PartitionId) XXX_Merge(src proto.Message)

func (*PartitionId) XXX_Size

func (m *PartitionId) XXX_Size() int

func (*PartitionId) XXX_Unmarshal

func (m *PartitionId) XXX_Unmarshal(b []byte) error

type PrimitiveTransformation

type PrimitiveTransformation struct {
	// Types that are valid to be assigned to Transformation:
	//	*PrimitiveTransformation_ReplaceConfig
	//	*PrimitiveTransformation_RedactConfig
	//	*PrimitiveTransformation_CharacterMaskConfig
	//	*PrimitiveTransformation_CryptoReplaceFfxFpeConfig
	//	*PrimitiveTransformation_FixedSizeBucketingConfig
	//	*PrimitiveTransformation_BucketingConfig
	//	*PrimitiveTransformation_ReplaceWithInfoTypeConfig
	//	*PrimitiveTransformation_TimePartConfig
	//	*PrimitiveTransformation_CryptoHashConfig
	//	*PrimitiveTransformation_DateShiftConfig
	//	*PrimitiveTransformation_CryptoDeterministicConfig
	Transformation       isPrimitiveTransformation_Transformation `protobuf_oneof:"transformation"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

A rule for transforming a value.

func (*PrimitiveTransformation) Descriptor

func (*PrimitiveTransformation) Descriptor() ([]byte, []int)

func (*PrimitiveTransformation) GetBucketingConfig

func (m *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig

func (*PrimitiveTransformation) GetCharacterMaskConfig

func (m *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig

func (*PrimitiveTransformation) GetCryptoDeterministicConfig

func (m *PrimitiveTransformation) GetCryptoDeterministicConfig() *CryptoDeterministicConfig

func (*PrimitiveTransformation) GetCryptoHashConfig

func (m *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig

func (*PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig

func (m *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig

func (*PrimitiveTransformation) GetDateShiftConfig

func (m *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig

func (*PrimitiveTransformation) GetFixedSizeBucketingConfig

func (m *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig

func (*PrimitiveTransformation) GetRedactConfig

func (m *PrimitiveTransformation) GetRedactConfig() *RedactConfig

func (*PrimitiveTransformation) GetReplaceConfig

func (m *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig

func (*PrimitiveTransformation) GetReplaceWithInfoTypeConfig

func (m *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig

func (*PrimitiveTransformation) GetTimePartConfig

func (m *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig

func (*PrimitiveTransformation) GetTransformation

func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation

func (*PrimitiveTransformation) ProtoMessage

func (*PrimitiveTransformation) ProtoMessage()

func (*PrimitiveTransformation) Reset

func (m *PrimitiveTransformation) Reset()

func (*PrimitiveTransformation) String

func (m *PrimitiveTransformation) String() string

func (*PrimitiveTransformation) XXX_DiscardUnknown

func (m *PrimitiveTransformation) XXX_DiscardUnknown()

func (*PrimitiveTransformation) XXX_Marshal

func (m *PrimitiveTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitiveTransformation) XXX_Merge

func (m *PrimitiveTransformation) XXX_Merge(src proto.Message)

func (*PrimitiveTransformation) XXX_OneofWrappers

func (*PrimitiveTransformation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PrimitiveTransformation) XXX_Size

func (m *PrimitiveTransformation) XXX_Size() int

func (*PrimitiveTransformation) XXX_Unmarshal

func (m *PrimitiveTransformation) XXX_Unmarshal(b []byte) error

type PrimitiveTransformation_BucketingConfig

type PrimitiveTransformation_BucketingConfig struct {
	BucketingConfig *BucketingConfig `protobuf:"bytes,6,opt,name=bucketing_config,json=bucketingConfig,proto3,oneof"`
}

type PrimitiveTransformation_CharacterMaskConfig

type PrimitiveTransformation_CharacterMaskConfig struct {
	CharacterMaskConfig *CharacterMaskConfig `protobuf:"bytes,3,opt,name=character_mask_config,json=characterMaskConfig,proto3,oneof"`
}

type PrimitiveTransformation_CryptoDeterministicConfig

type PrimitiveTransformation_CryptoDeterministicConfig struct {
	CryptoDeterministicConfig *CryptoDeterministicConfig `protobuf:"bytes,12,opt,name=crypto_deterministic_config,json=cryptoDeterministicConfig,proto3,oneof"`
}

type PrimitiveTransformation_CryptoHashConfig

type PrimitiveTransformation_CryptoHashConfig struct {
	CryptoHashConfig *CryptoHashConfig `protobuf:"bytes,9,opt,name=crypto_hash_config,json=cryptoHashConfig,proto3,oneof"`
}

type PrimitiveTransformation_CryptoReplaceFfxFpeConfig

type PrimitiveTransformation_CryptoReplaceFfxFpeConfig struct {
	CryptoReplaceFfxFpeConfig *CryptoReplaceFfxFpeConfig `protobuf:"bytes,4,opt,name=crypto_replace_ffx_fpe_config,json=cryptoReplaceFfxFpeConfig,proto3,oneof"`
}

type PrimitiveTransformation_DateShiftConfig

type PrimitiveTransformation_DateShiftConfig struct {
	DateShiftConfig *DateShiftConfig `protobuf:"bytes,11,opt,name=date_shift_config,json=dateShiftConfig,proto3,oneof"`
}

type PrimitiveTransformation_FixedSizeBucketingConfig

type PrimitiveTransformation_FixedSizeBucketingConfig struct {
	FixedSizeBucketingConfig *FixedSizeBucketingConfig `protobuf:"bytes,5,opt,name=fixed_size_bucketing_config,json=fixedSizeBucketingConfig,proto3,oneof"`
}

type PrimitiveTransformation_RedactConfig

type PrimitiveTransformation_RedactConfig struct {
	RedactConfig *RedactConfig `protobuf:"bytes,2,opt,name=redact_config,json=redactConfig,proto3,oneof"`
}

type PrimitiveTransformation_ReplaceConfig

type PrimitiveTransformation_ReplaceConfig struct {
	ReplaceConfig *ReplaceValueConfig `protobuf:"bytes,1,opt,name=replace_config,json=replaceConfig,proto3,oneof"`
}

type PrimitiveTransformation_ReplaceWithInfoTypeConfig

type PrimitiveTransformation_ReplaceWithInfoTypeConfig struct {
	ReplaceWithInfoTypeConfig *ReplaceWithInfoTypeConfig `protobuf:"bytes,7,opt,name=replace_with_info_type_config,json=replaceWithInfoTypeConfig,proto3,oneof"`
}

type PrimitiveTransformation_TimePartConfig

type PrimitiveTransformation_TimePartConfig struct {
	TimePartConfig *TimePartConfig `protobuf:"bytes,8,opt,name=time_part_config,json=timePartConfig,proto3,oneof"`
}

type PrivacyMetric

type PrivacyMetric struct {
	// Types of analysis.
	//
	// Types that are valid to be assigned to Type:
	//	*PrivacyMetric_NumericalStatsConfig_
	//	*PrivacyMetric_CategoricalStatsConfig_
	//	*PrivacyMetric_KAnonymityConfig_
	//	*PrivacyMetric_LDiversityConfig_
	//	*PrivacyMetric_KMapEstimationConfig_
	//	*PrivacyMetric_DeltaPresenceEstimationConfig_
	Type                 isPrivacyMetric_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Privacy metric to compute for reidentification risk analysis.

func (*PrivacyMetric) Descriptor

func (*PrivacyMetric) Descriptor() ([]byte, []int)

func (*PrivacyMetric) GetCategoricalStatsConfig

func (m *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig

func (*PrivacyMetric) GetDeltaPresenceEstimationConfig

func (m *PrivacyMetric) GetDeltaPresenceEstimationConfig() *PrivacyMetric_DeltaPresenceEstimationConfig

func (*PrivacyMetric) GetKAnonymityConfig

func (m *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig

func (*PrivacyMetric) GetKMapEstimationConfig

func (m *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig

func (*PrivacyMetric) GetLDiversityConfig

func (m *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig

func (*PrivacyMetric) GetNumericalStatsConfig

func (m *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig

func (*PrivacyMetric) GetType

func (m *PrivacyMetric) GetType() isPrivacyMetric_Type

func (*PrivacyMetric) ProtoMessage

func (*PrivacyMetric) ProtoMessage()

func (*PrivacyMetric) Reset

func (m *PrivacyMetric) Reset()

func (*PrivacyMetric) String

func (m *PrivacyMetric) String() string

func (*PrivacyMetric) XXX_DiscardUnknown

func (m *PrivacyMetric) XXX_DiscardUnknown()

func (*PrivacyMetric) XXX_Marshal

func (m *PrivacyMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric) XXX_Merge

func (m *PrivacyMetric) XXX_Merge(src proto.Message)

func (*PrivacyMetric) XXX_OneofWrappers

func (*PrivacyMetric) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PrivacyMetric) XXX_Size

func (m *PrivacyMetric) XXX_Size() int

func (*PrivacyMetric) XXX_Unmarshal

func (m *PrivacyMetric) XXX_Unmarshal(b []byte) error

type PrivacyMetric_CategoricalStatsConfig

type PrivacyMetric_CategoricalStatsConfig struct {
	// Field to compute categorical stats on. All column types are
	// supported except for arrays and structs. However, it may be more
	// informative to use NumericalStats when the field type is supported,
	// depending on the data.
	Field                *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Compute numerical stats over an individual column, including number of distinct values and value count distribution.

func (*PrivacyMetric_CategoricalStatsConfig) Descriptor

func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int)

func (*PrivacyMetric_CategoricalStatsConfig) GetField

func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage

func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage()

func (*PrivacyMetric_CategoricalStatsConfig) Reset

func (*PrivacyMetric_CategoricalStatsConfig) String

func (*PrivacyMetric_CategoricalStatsConfig) XXX_DiscardUnknown

func (m *PrivacyMetric_CategoricalStatsConfig) XXX_DiscardUnknown()

func (*PrivacyMetric_CategoricalStatsConfig) XXX_Marshal

func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_CategoricalStatsConfig) XXX_Merge

func (*PrivacyMetric_CategoricalStatsConfig) XXX_Size

func (*PrivacyMetric_CategoricalStatsConfig) XXX_Unmarshal

func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Unmarshal(b []byte) error

type PrivacyMetric_CategoricalStatsConfig_

type PrivacyMetric_CategoricalStatsConfig_ struct {
	CategoricalStatsConfig *PrivacyMetric_CategoricalStatsConfig `protobuf:"bytes,2,opt,name=categorical_stats_config,json=categoricalStatsConfig,proto3,oneof"`
}

type PrivacyMetric_DeltaPresenceEstimationConfig

type PrivacyMetric_DeltaPresenceEstimationConfig struct {
	// Required. Fields considered to be quasi-identifiers. No two fields can
	// have the same tag.
	QuasiIds []*QuasiId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// ISO 3166-1 alpha-2 region code to use in the statistical modeling.
	// Set if no column is tagged with a region-specific InfoType (like
	// US_ZIP_5) or a region code.
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Several auxiliary tables can be used in the analysis. Each custom_tag
	// used to tag a quasi-identifiers field must appear in exactly one
	// field of one auxiliary table.
	AuxiliaryTables      []*StatisticalTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.

func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor

func (*PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables

func (*PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds

func (*PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode

func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage

func (*PrivacyMetric_DeltaPresenceEstimationConfig) Reset

func (*PrivacyMetric_DeltaPresenceEstimationConfig) String

func (*PrivacyMetric_DeltaPresenceEstimationConfig) XXX_DiscardUnknown

func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_DiscardUnknown()

func (*PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Marshal

func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Merge

func (*PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Size

func (*PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Unmarshal

type PrivacyMetric_DeltaPresenceEstimationConfig_

type PrivacyMetric_DeltaPresenceEstimationConfig_ struct {
	DeltaPresenceEstimationConfig *PrivacyMetric_DeltaPresenceEstimationConfig `protobuf:"bytes,6,opt,name=delta_presence_estimation_config,json=deltaPresenceEstimationConfig,proto3,oneof"`
}

type PrivacyMetric_KAnonymityConfig

type PrivacyMetric_KAnonymityConfig struct {
	// Set of fields to compute k-anonymity over. When multiple fields are
	// specified, they are considered a single composite key. Structs and
	// repeated data types are not supported; however, nested fields are
	// supported so long as they are not structs themselves or nested within
	// a repeated field.
	QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// Message indicating that multiple rows might be associated to a
	// single individual. If the same entity_id is associated to multiple
	// quasi-identifier tuples over distinct rows, we consider the entire
	// collection of tuples as the composite quasi-identifier. This collection
	// is a multiset: the order in which the different tuples appear in the
	// dataset is ignored, but their frequency is taken into account.
	//
	// Important note: a maximum of 1000 rows can be associated to a single
	// entity ID. If more rows are associated with the same entity ID, some
	// might be ignored.
	EntityId             *EntityId `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

k-anonymity metric, used for analysis of reidentification risk.

func (*PrivacyMetric_KAnonymityConfig) Descriptor

func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int)

func (*PrivacyMetric_KAnonymityConfig) GetEntityId

func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId

func (*PrivacyMetric_KAnonymityConfig) GetQuasiIds

func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId

func (*PrivacyMetric_KAnonymityConfig) ProtoMessage

func (*PrivacyMetric_KAnonymityConfig) ProtoMessage()

func (*PrivacyMetric_KAnonymityConfig) Reset

func (m *PrivacyMetric_KAnonymityConfig) Reset()

func (*PrivacyMetric_KAnonymityConfig) String

func (*PrivacyMetric_KAnonymityConfig) XXX_DiscardUnknown

func (m *PrivacyMetric_KAnonymityConfig) XXX_DiscardUnknown()

func (*PrivacyMetric_KAnonymityConfig) XXX_Marshal

func (m *PrivacyMetric_KAnonymityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_KAnonymityConfig) XXX_Merge

func (m *PrivacyMetric_KAnonymityConfig) XXX_Merge(src proto.Message)

func (*PrivacyMetric_KAnonymityConfig) XXX_Size

func (m *PrivacyMetric_KAnonymityConfig) XXX_Size() int

func (*PrivacyMetric_KAnonymityConfig) XXX_Unmarshal

func (m *PrivacyMetric_KAnonymityConfig) XXX_Unmarshal(b []byte) error

type PrivacyMetric_KAnonymityConfig_

type PrivacyMetric_KAnonymityConfig_ struct {
	KAnonymityConfig *PrivacyMetric_KAnonymityConfig `protobuf:"bytes,3,opt,name=k_anonymity_config,json=kAnonymityConfig,proto3,oneof"`
}

type PrivacyMetric_KMapEstimationConfig

type PrivacyMetric_KMapEstimationConfig struct {
	// Required. Fields considered to be quasi-identifiers. No two columns can
	// have the same tag.
	QuasiIds []*PrivacyMetric_KMapEstimationConfig_TaggedField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// ISO 3166-1 alpha-2 region code to use in the statistical modeling.
	// Set if no column is tagged with a region-specific InfoType (like
	// US_ZIP_5) or a region code.
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Several auxiliary tables can be used in the analysis. Each custom_tag
	// used to tag a quasi-identifiers column must appear in exactly one column
	// of one auxiliary table.
	AuxiliaryTables      []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

Reidentifiability metric. This corresponds to a risk model similar to what is called "journalist risk" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.

func (*PrivacyMetric_KMapEstimationConfig) Descriptor

func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int)

func (*PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables

func (*PrivacyMetric_KMapEstimationConfig) GetQuasiIds

func (*PrivacyMetric_KMapEstimationConfig) GetRegionCode

func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string

func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage

func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage()

func (*PrivacyMetric_KMapEstimationConfig) Reset

func (*PrivacyMetric_KMapEstimationConfig) String

func (*PrivacyMetric_KMapEstimationConfig) XXX_DiscardUnknown

func (m *PrivacyMetric_KMapEstimationConfig) XXX_DiscardUnknown()

func (*PrivacyMetric_KMapEstimationConfig) XXX_Marshal

func (m *PrivacyMetric_KMapEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_KMapEstimationConfig) XXX_Merge

func (*PrivacyMetric_KMapEstimationConfig) XXX_Size

func (*PrivacyMetric_KMapEstimationConfig) XXX_Unmarshal

func (m *PrivacyMetric_KMapEstimationConfig) XXX_Unmarshal(b []byte) error

type PrivacyMetric_KMapEstimationConfig_

type PrivacyMetric_KMapEstimationConfig_ struct {
	KMapEstimationConfig *PrivacyMetric_KMapEstimationConfig `protobuf:"bytes,5,opt,name=k_map_estimation_config,json=kMapEstimationConfig,proto3,oneof"`
}

type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable

type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct {
	// Required. Auxiliary table location.
	Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	// Required. Quasi-identifier columns.
	QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// Required. The relative frequency column must contain a floating-point
	// number between 0 and 1 (inclusive). Null values are assumed to be zero.
	RelativeFrequency    *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_DiscardUnknown

func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_DiscardUnknown()

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Marshal

func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Merge

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Size

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Unmarshal

type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField

type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct {
	// Identifies the column.
	Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// A auxiliary field.
	CustomTag            string   `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_DiscardUnknown

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Marshal

func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Merge

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Size

func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Unmarshal

type PrivacyMetric_KMapEstimationConfig_TaggedField

type PrivacyMetric_KMapEstimationConfig_TaggedField struct {
	// Required. Identifies the column.
	Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// Semantic tag that identifies what a column contains, to determine which
	// statistical model to use to estimate the reidentifiability of each
	// value. [required]
	//
	// Types that are valid to be assigned to Tag:
	//	*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType
	//	*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag
	//	*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred
	Tag                  isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag `protobuf_oneof:"tag"`
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

A column with a semantic tag attached.

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetField

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag

func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Reset

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) String

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_DiscardUnknown

func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_DiscardUnknown()

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Marshal

func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Merge

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofWrappers

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Size

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Unmarshal

type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag

type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct {
	CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"`
}

type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred

type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred struct {
	Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"`
}

type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType

type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct {
	InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"`
}

type PrivacyMetric_LDiversityConfig

type PrivacyMetric_LDiversityConfig struct {
	// Set of quasi-identifiers indicating how equivalence classes are
	// defined for the l-diversity computation. When multiple fields are
	// specified, they are considered a single composite key.
	QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// Sensitive field for computing the l-value.
	SensitiveAttribute   *FieldId `protobuf:"bytes,2,opt,name=sensitive_attribute,json=sensitiveAttribute,proto3" json:"sensitive_attribute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

l-diversity metric, used for analysis of reidentification risk.

func (*PrivacyMetric_LDiversityConfig) Descriptor

func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int)

func (*PrivacyMetric_LDiversityConfig) GetQuasiIds

func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId

func (*PrivacyMetric_LDiversityConfig) GetSensitiveAttribute

func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId

func (*PrivacyMetric_LDiversityConfig) ProtoMessage

func (*PrivacyMetric_LDiversityConfig) ProtoMessage()

func (*PrivacyMetric_LDiversityConfig) Reset

func (m *PrivacyMetric_LDiversityConfig) Reset()

func (*PrivacyMetric_LDiversityConfig) String

func (*PrivacyMetric_LDiversityConfig) XXX_DiscardUnknown

func (m *PrivacyMetric_LDiversityConfig) XXX_DiscardUnknown()

func (*PrivacyMetric_LDiversityConfig) XXX_Marshal

func (m *PrivacyMetric_LDiversityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_LDiversityConfig) XXX_Merge

func (m *PrivacyMetric_LDiversityConfig) XXX_Merge(src proto.Message)

func (*PrivacyMetric_LDiversityConfig) XXX_Size

func (m *PrivacyMetric_LDiversityConfig) XXX_Size() int

func (*PrivacyMetric_LDiversityConfig) XXX_Unmarshal

func (m *PrivacyMetric_LDiversityConfig) XXX_Unmarshal(b []byte) error

type PrivacyMetric_LDiversityConfig_

type PrivacyMetric_LDiversityConfig_ struct {
	LDiversityConfig *PrivacyMetric_LDiversityConfig `protobuf:"bytes,4,opt,name=l_diversity_config,json=lDiversityConfig,proto3,oneof"`
}

type PrivacyMetric_NumericalStatsConfig

type PrivacyMetric_NumericalStatsConfig struct {
	// Field to compute numerical stats on. Supported types are
	// integer, float, date, datetime, timestamp, time.
	Field                *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Compute numerical stats over an individual column, including min, max, and quantiles.

func (*PrivacyMetric_NumericalStatsConfig) Descriptor

func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int)

func (*PrivacyMetric_NumericalStatsConfig) GetField

func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage

func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage()

func (*PrivacyMetric_NumericalStatsConfig) Reset

func (*PrivacyMetric_NumericalStatsConfig) String

func (*PrivacyMetric_NumericalStatsConfig) XXX_DiscardUnknown

func (m *PrivacyMetric_NumericalStatsConfig) XXX_DiscardUnknown()

func (*PrivacyMetric_NumericalStatsConfig) XXX_Marshal

func (m *PrivacyMetric_NumericalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyMetric_NumericalStatsConfig) XXX_Merge

func (*PrivacyMetric_NumericalStatsConfig) XXX_Size

func (*PrivacyMetric_NumericalStatsConfig) XXX_Unmarshal

func (m *PrivacyMetric_NumericalStatsConfig) XXX_Unmarshal(b []byte) error

type PrivacyMetric_NumericalStatsConfig_

type PrivacyMetric_NumericalStatsConfig_ struct {
	NumericalStatsConfig *PrivacyMetric_NumericalStatsConfig `protobuf:"bytes,1,opt,name=numerical_stats_config,json=numericalStatsConfig,proto3,oneof"`
}

type QuasiId

type QuasiId struct {
	// Required. Identifies the column.
	Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// Semantic tag that identifies what a column contains, to determine which
	// statistical model to use to estimate the reidentifiability of each
	// value. [required]
	//
	// Types that are valid to be assigned to Tag:
	//	*QuasiId_InfoType
	//	*QuasiId_CustomTag
	//	*QuasiId_Inferred
	Tag                  isQuasiId_Tag `protobuf_oneof:"tag"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A column with a semantic tag attached.

func (*QuasiId) Descriptor

func (*QuasiId) Descriptor() ([]byte, []int)

func (*QuasiId) GetCustomTag

func (m *QuasiId) GetCustomTag() string

func (*QuasiId) GetField

func (m *QuasiId) GetField() *FieldId

func (*QuasiId) GetInferred

func (m *QuasiId) GetInferred() *empty.Empty

func (*QuasiId) GetInfoType

func (m *QuasiId) GetInfoType() *InfoType

func (*QuasiId) GetTag

func (m *QuasiId) GetTag() isQuasiId_Tag

func (*QuasiId) ProtoMessage

func (*QuasiId) ProtoMessage()

func (*QuasiId) Reset

func (m *QuasiId) Reset()

func (*QuasiId) String

func (m *QuasiId) String() string

func (*QuasiId) XXX_DiscardUnknown

func (m *QuasiId) XXX_DiscardUnknown()

func (*QuasiId) XXX_Marshal

func (m *QuasiId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuasiId) XXX_Merge

func (m *QuasiId) XXX_Merge(src proto.Message)

func (*QuasiId) XXX_OneofWrappers

func (*QuasiId) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*QuasiId) XXX_Size

func (m *QuasiId) XXX_Size() int

func (*QuasiId) XXX_Unmarshal

func (m *QuasiId) XXX_Unmarshal(b []byte) error

type QuasiId_CustomTag

type QuasiId_CustomTag struct {
	CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"`
}

type QuasiId_Inferred

type QuasiId_Inferred struct {
	Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"`
}

type QuasiId_InfoType

type QuasiId_InfoType struct {
	InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"`
}

type QuoteInfo

type QuoteInfo struct {
	// Object representation of the quote.
	//
	// Types that are valid to be assigned to ParsedQuote:
	//	*QuoteInfo_DateTime
	ParsedQuote          isQuoteInfo_ParsedQuote `protobuf_oneof:"parsed_quote"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Message for infoType-dependent details parsed from quote.

func (*QuoteInfo) Descriptor

func (*QuoteInfo) Descriptor() ([]byte, []int)

func (*QuoteInfo) GetDateTime

func (m *QuoteInfo) GetDateTime() *DateTime

func (*QuoteInfo) GetParsedQuote

func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote

func (*QuoteInfo) ProtoMessage

func (*QuoteInfo) ProtoMessage()

func (*QuoteInfo) Reset

func (m *QuoteInfo) Reset()

func (*QuoteInfo) String

func (m *QuoteInfo) String() string

func (*QuoteInfo) XXX_DiscardUnknown

func (m *QuoteInfo) XXX_DiscardUnknown()

func (*QuoteInfo) XXX_Marshal

func (m *QuoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuoteInfo) XXX_Merge

func (m *QuoteInfo) XXX_Merge(src proto.Message)

func (*QuoteInfo) XXX_OneofWrappers

func (*QuoteInfo) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*QuoteInfo) XXX_Size

func (m *QuoteInfo) XXX_Size() int

func (*QuoteInfo) XXX_Unmarshal

func (m *QuoteInfo) XXX_Unmarshal(b []byte) error

type QuoteInfo_DateTime

type QuoteInfo_DateTime struct {
	DateTime *DateTime `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3,oneof"`
}

type Range

type Range struct {
	// Index of the first character of the range (inclusive).
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// Index of the last character of the range (exclusive).
	End                  int64    `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Generic half-open interval [start, end)

func (*Range) Descriptor

func (*Range) Descriptor() ([]byte, []int)

func (*Range) GetEnd

func (m *Range) GetEnd() int64

func (*Range) GetStart

func (m *Range) GetStart() int64

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) Reset

func (m *Range) Reset()

func (*Range) String

func (m *Range) String() string

func (*Range) XXX_DiscardUnknown

func (m *Range) XXX_DiscardUnknown()

func (*Range) XXX_Marshal

func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Range) XXX_Merge

func (m *Range) XXX_Merge(src proto.Message)

func (*Range) XXX_Size

func (m *Range) XXX_Size() int

func (*Range) XXX_Unmarshal

func (m *Range) XXX_Unmarshal(b []byte) error

type RecordCondition

type RecordCondition struct {
	// An expression.
	Expressions          *RecordCondition_Expressions `protobuf:"bytes,3,opt,name=expressions,proto3" json:"expressions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

A condition for determining whether a transformation should be applied to a field.

func (*RecordCondition) Descriptor

func (*RecordCondition) Descriptor() ([]byte, []int)

func (*RecordCondition) GetExpressions

func (m *RecordCondition) GetExpressions() *RecordCondition_Expressions

func (*RecordCondition) ProtoMessage

func (*RecordCondition) ProtoMessage()

func (*RecordCondition) Reset

func (m *RecordCondition) Reset()

func (*RecordCondition) String

func (m *RecordCondition) String() string

func (*RecordCondition) XXX_DiscardUnknown

func (m *RecordCondition) XXX_DiscardUnknown()

func (*RecordCondition) XXX_Marshal

func (m *RecordCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordCondition) XXX_Merge

func (m *RecordCondition) XXX_Merge(src proto.Message)

func (*RecordCondition) XXX_Size

func (m *RecordCondition) XXX_Size() int

func (*RecordCondition) XXX_Unmarshal

func (m *RecordCondition) XXX_Unmarshal(b []byte) error

type RecordCondition_Condition

type RecordCondition_Condition struct {
	// Required. Field within the record this condition is evaluated against.
	Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// Required. Operator used to compare the field or infoType to the value.
	Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=google.privacy.dlp.v2.RelationalOperator" json:"operator,omitempty"`
	// Value to compare against. [Mandatory, except for `EXISTS` tests.]
	Value                *Value   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A `value` of type:

- `string` can be compared against all other types - `boolean` can only be compared against other booleans - `integer` can be compared against doubles or a string if the string value can be parsed as an integer. - `double` can be compared against integers or a string if the string can be parsed as a double. - `Timestamp` can be compared against strings in RFC 3339 date string format. - `TimeOfDay` can be compared against timestamps and strings in the format of 'HH:mm:ss'.

If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.

func (*RecordCondition_Condition) Descriptor

func (*RecordCondition_Condition) Descriptor() ([]byte, []int)

func (*RecordCondition_Condition) GetField

func (m *RecordCondition_Condition) GetField() *FieldId

func (*RecordCondition_Condition) GetOperator

func (*RecordCondition_Condition) GetValue

func (m *RecordCondition_Condition) GetValue() *Value

func (*RecordCondition_Condition) ProtoMessage

func (*RecordCondition_Condition) ProtoMessage()

func (*RecordCondition_Condition) Reset

func (m *RecordCondition_Condition) Reset()

func (*RecordCondition_Condition) String

func (m *RecordCondition_Condition) String() string

func (*RecordCondition_Condition) XXX_DiscardUnknown

func (m *RecordCondition_Condition) XXX_DiscardUnknown()

func (*RecordCondition_Condition) XXX_Marshal

func (m *RecordCondition_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordCondition_Condition) XXX_Merge

func (m *RecordCondition_Condition) XXX_Merge(src proto.Message)

func (*RecordCondition_Condition) XXX_Size

func (m *RecordCondition_Condition) XXX_Size() int

func (*RecordCondition_Condition) XXX_Unmarshal

func (m *RecordCondition_Condition) XXX_Unmarshal(b []byte) error

type RecordCondition_Conditions

type RecordCondition_Conditions struct {
	// A collection of conditions.
	Conditions           []*RecordCondition_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

A collection of conditions.

func (*RecordCondition_Conditions) Descriptor

func (*RecordCondition_Conditions) Descriptor() ([]byte, []int)

func (*RecordCondition_Conditions) GetConditions

func (*RecordCondition_Conditions) ProtoMessage

func (*RecordCondition_Conditions) ProtoMessage()

func (*RecordCondition_Conditions) Reset

func (m *RecordCondition_Conditions) Reset()

func (*RecordCondition_Conditions) String

func (m *RecordCondition_Conditions) String() string

func (*RecordCondition_Conditions) XXX_DiscardUnknown

func (m *RecordCondition_Conditions) XXX_DiscardUnknown()

func (*RecordCondition_Conditions) XXX_Marshal

func (m *RecordCondition_Conditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordCondition_Conditions) XXX_Merge

func (m *RecordCondition_Conditions) XXX_Merge(src proto.Message)

func (*RecordCondition_Conditions) XXX_Size

func (m *RecordCondition_Conditions) XXX_Size() int

func (*RecordCondition_Conditions) XXX_Unmarshal

func (m *RecordCondition_Conditions) XXX_Unmarshal(b []byte) error

type RecordCondition_Expressions

type RecordCondition_Expressions struct {
	// The operator to apply to the result of conditions. Default and currently
	// only supported value is `AND`.
	LogicalOperator RecordCondition_Expressions_LogicalOperator `` /* 178-byte string literal not displayed */
	// Expression types.
	//
	// Types that are valid to be assigned to Type:
	//	*RecordCondition_Expressions_Conditions
	Type                 isRecordCondition_Expressions_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

An expression, consisting or an operator and conditions.

func (*RecordCondition_Expressions) Descriptor

func (*RecordCondition_Expressions) Descriptor() ([]byte, []int)

func (*RecordCondition_Expressions) GetConditions

func (*RecordCondition_Expressions) GetLogicalOperator

func (*RecordCondition_Expressions) GetType

func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type

func (*RecordCondition_Expressions) ProtoMessage

func (*RecordCondition_Expressions) ProtoMessage()

func (*RecordCondition_Expressions) Reset

func (m *RecordCondition_Expressions) Reset()

func (*RecordCondition_Expressions) String

func (m *RecordCondition_Expressions) String() string

func (*RecordCondition_Expressions) XXX_DiscardUnknown

func (m *RecordCondition_Expressions) XXX_DiscardUnknown()

func (*RecordCondition_Expressions) XXX_Marshal

func (m *RecordCondition_Expressions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordCondition_Expressions) XXX_Merge

func (m *RecordCondition_Expressions) XXX_Merge(src proto.Message)

func (*RecordCondition_Expressions) XXX_OneofWrappers

func (*RecordCondition_Expressions) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RecordCondition_Expressions) XXX_Size

func (m *RecordCondition_Expressions) XXX_Size() int

func (*RecordCondition_Expressions) XXX_Unmarshal

func (m *RecordCondition_Expressions) XXX_Unmarshal(b []byte) error

type RecordCondition_Expressions_Conditions

type RecordCondition_Expressions_Conditions struct {
	Conditions *RecordCondition_Conditions `protobuf:"bytes,3,opt,name=conditions,proto3,oneof"`
}

type RecordCondition_Expressions_LogicalOperator

type RecordCondition_Expressions_LogicalOperator int32

Logical operators for conditional checks.

const (
	// Unused
	RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED RecordCondition_Expressions_LogicalOperator = 0
	// Conditional AND
	RecordCondition_Expressions_AND RecordCondition_Expressions_LogicalOperator = 1
)

func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor

func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor() ([]byte, []int)

func (RecordCondition_Expressions_LogicalOperator) String

type RecordKey

type RecordKey struct {
	// Types that are valid to be assigned to Type:
	//	*RecordKey_DatastoreKey
	//	*RecordKey_BigQueryKey
	Type isRecordKey_Type `protobuf_oneof:"type"`
	// Values of identifying columns in the given row. Order of values matches
	// the order of `identifying_fields` specified in the scanning request.
	IdValues             []string `protobuf:"bytes,5,rep,name=id_values,json=idValues,proto3" json:"id_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message for a unique key indicating a record that contains a finding.

func (*RecordKey) Descriptor

func (*RecordKey) Descriptor() ([]byte, []int)

func (*RecordKey) GetBigQueryKey

func (m *RecordKey) GetBigQueryKey() *BigQueryKey

func (*RecordKey) GetDatastoreKey

func (m *RecordKey) GetDatastoreKey() *DatastoreKey

func (*RecordKey) GetIdValues

func (m *RecordKey) GetIdValues() []string

func (*RecordKey) GetType

func (m *RecordKey) GetType() isRecordKey_Type

func (*RecordKey) ProtoMessage

func (*RecordKey) ProtoMessage()

func (*RecordKey) Reset

func (m *RecordKey) Reset()

func (*RecordKey) String

func (m *RecordKey) String() string

func (*RecordKey) XXX_DiscardUnknown

func (m *RecordKey) XXX_DiscardUnknown()

func (*RecordKey) XXX_Marshal

func (m *RecordKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordKey) XXX_Merge

func (m *RecordKey) XXX_Merge(src proto.Message)

func (*RecordKey) XXX_OneofWrappers

func (*RecordKey) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RecordKey) XXX_Size

func (m *RecordKey) XXX_Size() int

func (*RecordKey) XXX_Unmarshal

func (m *RecordKey) XXX_Unmarshal(b []byte) error

type RecordKey_BigQueryKey

type RecordKey_BigQueryKey struct {
	BigQueryKey *BigQueryKey `protobuf:"bytes,3,opt,name=big_query_key,json=bigQueryKey,proto3,oneof"`
}

type RecordKey_DatastoreKey

type RecordKey_DatastoreKey struct {
	DatastoreKey *DatastoreKey `protobuf:"bytes,2,opt,name=datastore_key,json=datastoreKey,proto3,oneof"`
}

type RecordLocation

type RecordLocation struct {
	// Key of the finding.
	RecordKey *RecordKey `protobuf:"bytes,1,opt,name=record_key,json=recordKey,proto3" json:"record_key,omitempty"`
	// Field id of the field containing the finding.
	FieldId *FieldId `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
	// Location within a `ContentItem.Table`.
	TableLocation        *TableLocation `protobuf:"bytes,3,opt,name=table_location,json=tableLocation,proto3" json:"table_location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Location of a finding within a row or record.

func (*RecordLocation) Descriptor

func (*RecordLocation) Descriptor() ([]byte, []int)

func (*RecordLocation) GetFieldId

func (m *RecordLocation) GetFieldId() *FieldId

func (*RecordLocation) GetRecordKey

func (m *RecordLocation) GetRecordKey() *RecordKey

func (*RecordLocation) GetTableLocation

func (m *RecordLocation) GetTableLocation() *TableLocation

func (*RecordLocation) ProtoMessage

func (*RecordLocation) ProtoMessage()

func (*RecordLocation) Reset

func (m *RecordLocation) Reset()

func (*RecordLocation) String

func (m *RecordLocation) String() string

func (*RecordLocation) XXX_DiscardUnknown

func (m *RecordLocation) XXX_DiscardUnknown()

func (*RecordLocation) XXX_Marshal

func (m *RecordLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordLocation) XXX_Merge

func (m *RecordLocation) XXX_Merge(src proto.Message)

func (*RecordLocation) XXX_Size

func (m *RecordLocation) XXX_Size() int

func (*RecordLocation) XXX_Unmarshal

func (m *RecordLocation) XXX_Unmarshal(b []byte) error

type RecordSuppression

type RecordSuppression struct {
	// A condition that when it evaluates to true will result in the record being
	// evaluated to be suppressed from the transformed content.
	Condition            *RecordCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Configuration to suppress records whose suppression conditions evaluate to true.

func (*RecordSuppression) Descriptor

func (*RecordSuppression) Descriptor() ([]byte, []int)

func (*RecordSuppression) GetCondition

func (m *RecordSuppression) GetCondition() *RecordCondition

func (*RecordSuppression) ProtoMessage

func (*RecordSuppression) ProtoMessage()

func (*RecordSuppression) Reset

func (m *RecordSuppression) Reset()

func (*RecordSuppression) String

func (m *RecordSuppression) String() string

func (*RecordSuppression) XXX_DiscardUnknown

func (m *RecordSuppression) XXX_DiscardUnknown()

func (*RecordSuppression) XXX_Marshal

func (m *RecordSuppression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordSuppression) XXX_Merge

func (m *RecordSuppression) XXX_Merge(src proto.Message)

func (*RecordSuppression) XXX_Size

func (m *RecordSuppression) XXX_Size() int

func (*RecordSuppression) XXX_Unmarshal

func (m *RecordSuppression) XXX_Unmarshal(b []byte) error

type RecordTransformations

type RecordTransformations struct {
	// Transform the record by applying various field transformations.
	FieldTransformations []*FieldTransformation `protobuf:"bytes,1,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"`
	// Configuration defining which records get suppressed entirely. Records that
	// match any suppression rule are omitted from the output.
	RecordSuppressions   []*RecordSuppression `protobuf:"bytes,2,rep,name=record_suppressions,json=recordSuppressions,proto3" json:"record_suppressions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A type of transformation that is applied over structured data such as a table.

func (*RecordTransformations) Descriptor

func (*RecordTransformations) Descriptor() ([]byte, []int)

func (*RecordTransformations) GetFieldTransformations

func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation

func (*RecordTransformations) GetRecordSuppressions

func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression

func (*RecordTransformations) ProtoMessage

func (*RecordTransformations) ProtoMessage()

func (*RecordTransformations) Reset

func (m *RecordTransformations) Reset()

func (*RecordTransformations) String

func (m *RecordTransformations) String() string

func (*RecordTransformations) XXX_DiscardUnknown

func (m *RecordTransformations) XXX_DiscardUnknown()

func (*RecordTransformations) XXX_Marshal

func (m *RecordTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordTransformations) XXX_Merge

func (m *RecordTransformations) XXX_Merge(src proto.Message)

func (*RecordTransformations) XXX_Size

func (m *RecordTransformations) XXX_Size() int

func (*RecordTransformations) XXX_Unmarshal

func (m *RecordTransformations) XXX_Unmarshal(b []byte) error

type RedactConfig

type RedactConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Redact a given value. For example, if used with an `InfoTypeTransformation` transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '.

func (*RedactConfig) Descriptor

func (*RedactConfig) Descriptor() ([]byte, []int)

func (*RedactConfig) ProtoMessage

func (*RedactConfig) ProtoMessage()

func (*RedactConfig) Reset

func (m *RedactConfig) Reset()

func (*RedactConfig) String

func (m *RedactConfig) String() string

func (*RedactConfig) XXX_DiscardUnknown

func (m *RedactConfig) XXX_DiscardUnknown()

func (*RedactConfig) XXX_Marshal

func (m *RedactConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedactConfig) XXX_Merge

func (m *RedactConfig) XXX_Merge(src proto.Message)

func (*RedactConfig) XXX_Size

func (m *RedactConfig) XXX_Size() int

func (*RedactConfig) XXX_Unmarshal

func (m *RedactConfig) XXX_Unmarshal(b []byte) error

type RedactImageRequest

type RedactImageRequest struct {
	// The parent resource name, for example projects/my-project-id
	// or projects/my-project-id/locations/{location_id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Deprecated. This field has no effect.
	LocationId string `protobuf:"bytes,8,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Configuration for the inspector.
	InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
	// The configuration for specifying what content to redact from images.
	ImageRedactionConfigs []*RedactImageRequest_ImageRedactionConfig `` /* 126-byte string literal not displayed */
	// Whether the response should include findings along with the redacted
	// image.
	IncludeFindings bool `protobuf:"varint,6,opt,name=include_findings,json=includeFindings,proto3" json:"include_findings,omitempty"`
	// The content must be PNG, JPEG, SVG or BMP.
	ByteItem             *ByteContentItem `protobuf:"bytes,7,opt,name=byte_item,json=byteItem,proto3" json:"byte_item,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.

func (*RedactImageRequest) Descriptor

func (*RedactImageRequest) Descriptor() ([]byte, []int)

func (*RedactImageRequest) GetByteItem

func (m *RedactImageRequest) GetByteItem() *ByteContentItem

func (*RedactImageRequest) GetImageRedactionConfigs

func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig

func (*RedactImageRequest) GetIncludeFindings

func (m *RedactImageRequest) GetIncludeFindings() bool

func (*RedactImageRequest) GetInspectConfig

func (m *RedactImageRequest) GetInspectConfig() *InspectConfig

func (*RedactImageRequest) GetLocationId

func (m *RedactImageRequest) GetLocationId() string

func (*RedactImageRequest) GetParent

func (m *RedactImageRequest) GetParent() string

func (*RedactImageRequest) ProtoMessage

func (*RedactImageRequest) ProtoMessage()

func (*RedactImageRequest) Reset

func (m *RedactImageRequest) Reset()

func (*RedactImageRequest) String

func (m *RedactImageRequest) String() string

func (*RedactImageRequest) XXX_DiscardUnknown

func (m *RedactImageRequest) XXX_DiscardUnknown()

func (*RedactImageRequest) XXX_Marshal

func (m *RedactImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedactImageRequest) XXX_Merge

func (m *RedactImageRequest) XXX_Merge(src proto.Message)

func (*RedactImageRequest) XXX_Size

func (m *RedactImageRequest) XXX_Size() int

func (*RedactImageRequest) XXX_Unmarshal

func (m *RedactImageRequest) XXX_Unmarshal(b []byte) error

type RedactImageRequest_ImageRedactionConfig

type RedactImageRequest_ImageRedactionConfig struct {
	// Type of information to redact from images.
	//
	// Types that are valid to be assigned to Target:
	//	*RedactImageRequest_ImageRedactionConfig_InfoType
	//	*RedactImageRequest_ImageRedactionConfig_RedactAllText
	Target isRedactImageRequest_ImageRedactionConfig_Target `protobuf_oneof:"target"`
	// The color to use when redacting content from an image. If not specified,
	// the default is black.
	RedactionColor       *Color   `protobuf:"bytes,3,opt,name=redaction_color,json=redactionColor,proto3" json:"redaction_color,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for determining how redaction of images should occur.

func (*RedactImageRequest_ImageRedactionConfig) Descriptor

func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int)

func (*RedactImageRequest_ImageRedactionConfig) GetInfoType

func (*RedactImageRequest_ImageRedactionConfig) GetRedactAllText

func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool

func (*RedactImageRequest_ImageRedactionConfig) GetRedactionColor

func (m *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color

func (*RedactImageRequest_ImageRedactionConfig) GetTarget

func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target

func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage

func (*RedactImageRequest_ImageRedactionConfig) Reset

func (*RedactImageRequest_ImageRedactionConfig) String

func (*RedactImageRequest_ImageRedactionConfig) XXX_DiscardUnknown

func (m *RedactImageRequest_ImageRedactionConfig) XXX_DiscardUnknown()

func (*RedactImageRequest_ImageRedactionConfig) XXX_Marshal

func (m *RedactImageRequest_ImageRedactionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedactImageRequest_ImageRedactionConfig) XXX_Merge

func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofWrappers

func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RedactImageRequest_ImageRedactionConfig) XXX_Size

func (*RedactImageRequest_ImageRedactionConfig) XXX_Unmarshal

func (m *RedactImageRequest_ImageRedactionConfig) XXX_Unmarshal(b []byte) error

type RedactImageRequest_ImageRedactionConfig_InfoType

type RedactImageRequest_ImageRedactionConfig_InfoType struct {
	InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3,oneof"`
}

type RedactImageRequest_ImageRedactionConfig_RedactAllText

type RedactImageRequest_ImageRedactionConfig_RedactAllText struct {
	RedactAllText bool `protobuf:"varint,2,opt,name=redact_all_text,json=redactAllText,proto3,oneof"`
}

type RedactImageResponse

type RedactImageResponse struct {
	// The redacted image. The type will be the same as the original image.
	RedactedImage []byte `protobuf:"bytes,1,opt,name=redacted_image,json=redactedImage,proto3" json:"redacted_image,omitempty"`
	// If an image was being inspected and the InspectConfig's include_quote was
	// set to true, then this field will include all text, if any, that was found
	// in the image.
	ExtractedText string `protobuf:"bytes,2,opt,name=extracted_text,json=extractedText,proto3" json:"extracted_text,omitempty"`
	// The findings. Populated when include_findings in the request is true.
	InspectResult        *InspectResult `protobuf:"bytes,3,opt,name=inspect_result,json=inspectResult,proto3" json:"inspect_result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Results of redacting an image.

func (*RedactImageResponse) Descriptor

func (*RedactImageResponse) Descriptor() ([]byte, []int)

func (*RedactImageResponse) GetExtractedText

func (m *RedactImageResponse) GetExtractedText() string

func (*RedactImageResponse) GetInspectResult

func (m *RedactImageResponse) GetInspectResult() *InspectResult

func (*RedactImageResponse) GetRedactedImage

func (m *RedactImageResponse) GetRedactedImage() []byte

func (*RedactImageResponse) ProtoMessage

func (*RedactImageResponse) ProtoMessage()

func (*RedactImageResponse) Reset

func (m *RedactImageResponse) Reset()

func (*RedactImageResponse) String

func (m *RedactImageResponse) String() string

func (*RedactImageResponse) XXX_DiscardUnknown

func (m *RedactImageResponse) XXX_DiscardUnknown()

func (*RedactImageResponse) XXX_Marshal

func (m *RedactImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedactImageResponse) XXX_Merge

func (m *RedactImageResponse) XXX_Merge(src proto.Message)

func (*RedactImageResponse) XXX_Size

func (m *RedactImageResponse) XXX_Size() int

func (*RedactImageResponse) XXX_Unmarshal

func (m *RedactImageResponse) XXX_Unmarshal(b []byte) error

type ReidentifyContentRequest

type ReidentifyContentRequest struct {
	// Required. The parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Configuration for the re-identification of the content item.
	// This field shares the same proto message type that is used for
	// de-identification, however its usage here is for the reversal of the
	// previous de-identification. Re-identification is performed by examining
	// the transformations used to de-identify the items and executing the
	// reverse. This requires that only reversible transformations
	// be provided here. The reversible transformations are:
	//
	//  - `CryptoDeterministicConfig`
	//  - `CryptoReplaceFfxFpeConfig`
	ReidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=reidentify_config,json=reidentifyConfig,proto3" json:"reidentify_config,omitempty"`
	// Configuration for the inspector.
	InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
	// The item to re-identify. Will be treated as text.
	Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
	// 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.
	InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
	// Template to use. References an instance of `DeidentifyTemplate`.
	// Any configuration directly specified in `reidentify_config` or
	// `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.
	ReidentifyTemplateName string `` /* 129-byte string literal not displayed */
	// Deprecated. This field has no effect.
	LocationId           string   `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to re-identify an item.

func (*ReidentifyContentRequest) Descriptor

func (*ReidentifyContentRequest) Descriptor() ([]byte, []int)

func (*ReidentifyContentRequest) GetInspectConfig

func (m *ReidentifyContentRequest) GetInspectConfig() *InspectConfig

func (*ReidentifyContentRequest) GetInspectTemplateName

func (m *ReidentifyContentRequest) GetInspectTemplateName() string

func (*ReidentifyContentRequest) GetItem

func (m *ReidentifyContentRequest) GetItem() *ContentItem

func (*ReidentifyContentRequest) GetLocationId

func (m *ReidentifyContentRequest) GetLocationId() string

func (*ReidentifyContentRequest) GetParent

func (m *ReidentifyContentRequest) GetParent() string

func (*ReidentifyContentRequest) GetReidentifyConfig

func (m *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig

func (*ReidentifyContentRequest) GetReidentifyTemplateName

func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string

func (*ReidentifyContentRequest) ProtoMessage

func (*ReidentifyContentRequest) ProtoMessage()

func (*ReidentifyContentRequest) Reset

func (m *ReidentifyContentRequest) Reset()

func (*ReidentifyContentRequest) String

func (m *ReidentifyContentRequest) String() string

func (*ReidentifyContentRequest) XXX_DiscardUnknown

func (m *ReidentifyContentRequest) XXX_DiscardUnknown()

func (*ReidentifyContentRequest) XXX_Marshal

func (m *ReidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReidentifyContentRequest) XXX_Merge

func (m *ReidentifyContentRequest) XXX_Merge(src proto.Message)

func (*ReidentifyContentRequest) XXX_Size

func (m *ReidentifyContentRequest) XXX_Size() int

func (*ReidentifyContentRequest) XXX_Unmarshal

func (m *ReidentifyContentRequest) XXX_Unmarshal(b []byte) error

type ReidentifyContentResponse

type ReidentifyContentResponse struct {
	// The re-identified item.
	Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// An overview of the changes that were made to the `item`.
	Overview             *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Results of re-identifying a item.

func (*ReidentifyContentResponse) Descriptor

func (*ReidentifyContentResponse) Descriptor() ([]byte, []int)

func (*ReidentifyContentResponse) GetItem

func (m *ReidentifyContentResponse) GetItem() *ContentItem

func (*ReidentifyContentResponse) GetOverview

func (*ReidentifyContentResponse) ProtoMessage

func (*ReidentifyContentResponse) ProtoMessage()

func (*ReidentifyContentResponse) Reset

func (m *ReidentifyContentResponse) Reset()

func (*ReidentifyContentResponse) String

func (m *ReidentifyContentResponse) String() string

func (*ReidentifyContentResponse) XXX_DiscardUnknown

func (m *ReidentifyContentResponse) XXX_DiscardUnknown()

func (*ReidentifyContentResponse) XXX_Marshal

func (m *ReidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReidentifyContentResponse) XXX_Merge

func (m *ReidentifyContentResponse) XXX_Merge(src proto.Message)

func (*ReidentifyContentResponse) XXX_Size

func (m *ReidentifyContentResponse) XXX_Size() int

func (*ReidentifyContentResponse) XXX_Unmarshal

func (m *ReidentifyContentResponse) XXX_Unmarshal(b []byte) error

type RelationalOperator

type RelationalOperator int32

Operators available for comparing the value of fields.

const (
	// Unused
	RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED RelationalOperator = 0
	// Equal. Attempts to match even with incompatible types.
	RelationalOperator_EQUAL_TO RelationalOperator = 1
	// Not equal to. Attempts to match even with incompatible types.
	RelationalOperator_NOT_EQUAL_TO RelationalOperator = 2
	// Greater than.
	RelationalOperator_GREATER_THAN RelationalOperator = 3
	// Less than.
	RelationalOperator_LESS_THAN RelationalOperator = 4
	// Greater than or equals.
	RelationalOperator_GREATER_THAN_OR_EQUALS RelationalOperator = 5
	// Less than or equals.
	RelationalOperator_LESS_THAN_OR_EQUALS RelationalOperator = 6
	// Exists
	RelationalOperator_EXISTS RelationalOperator = 7
)

func (RelationalOperator) EnumDescriptor

func (RelationalOperator) EnumDescriptor() ([]byte, []int)

func (RelationalOperator) String

func (x RelationalOperator) String() string

type ReplaceValueConfig

type ReplaceValueConfig struct {
	// Value to replace it with.
	NewValue             *Value   `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Replace each input value with a given `Value`.

func (*ReplaceValueConfig) Descriptor

func (*ReplaceValueConfig) Descriptor() ([]byte, []int)

func (*ReplaceValueConfig) GetNewValue

func (m *ReplaceValueConfig) GetNewValue() *Value

func (*ReplaceValueConfig) ProtoMessage

func (*ReplaceValueConfig) ProtoMessage()

func (*ReplaceValueConfig) Reset

func (m *ReplaceValueConfig) Reset()

func (*ReplaceValueConfig) String

func (m *ReplaceValueConfig) String() string

func (*ReplaceValueConfig) XXX_DiscardUnknown

func (m *ReplaceValueConfig) XXX_DiscardUnknown()

func (*ReplaceValueConfig) XXX_Marshal

func (m *ReplaceValueConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplaceValueConfig) XXX_Merge

func (m *ReplaceValueConfig) XXX_Merge(src proto.Message)

func (*ReplaceValueConfig) XXX_Size

func (m *ReplaceValueConfig) XXX_Size() int

func (*ReplaceValueConfig) XXX_Unmarshal

func (m *ReplaceValueConfig) XXX_Unmarshal(b []byte) error

type ReplaceWithInfoTypeConfig

type ReplaceWithInfoTypeConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Replace each matching finding with the name of the info_type.

func (*ReplaceWithInfoTypeConfig) Descriptor

func (*ReplaceWithInfoTypeConfig) Descriptor() ([]byte, []int)

func (*ReplaceWithInfoTypeConfig) ProtoMessage

func (*ReplaceWithInfoTypeConfig) ProtoMessage()

func (*ReplaceWithInfoTypeConfig) Reset

func (m *ReplaceWithInfoTypeConfig) Reset()

func (*ReplaceWithInfoTypeConfig) String

func (m *ReplaceWithInfoTypeConfig) String() string

func (*ReplaceWithInfoTypeConfig) XXX_DiscardUnknown

func (m *ReplaceWithInfoTypeConfig) XXX_DiscardUnknown()

func (*ReplaceWithInfoTypeConfig) XXX_Marshal

func (m *ReplaceWithInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplaceWithInfoTypeConfig) XXX_Merge

func (m *ReplaceWithInfoTypeConfig) XXX_Merge(src proto.Message)

func (*ReplaceWithInfoTypeConfig) XXX_Size

func (m *ReplaceWithInfoTypeConfig) XXX_Size() int

func (*ReplaceWithInfoTypeConfig) XXX_Unmarshal

func (m *ReplaceWithInfoTypeConfig) XXX_Unmarshal(b []byte) error

type RiskAnalysisJobConfig

type RiskAnalysisJobConfig struct {
	// Privacy metric to compute.
	PrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=privacy_metric,json=privacyMetric,proto3" json:"privacy_metric,omitempty"`
	// Input dataset to compute metrics over.
	SourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
	// Actions to execute at the completion of the job. Are executed in the order
	// provided.
	Actions              []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.

func (*RiskAnalysisJobConfig) Descriptor

func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int)

func (*RiskAnalysisJobConfig) GetActions

func (m *RiskAnalysisJobConfig) GetActions() []*Action

func (*RiskAnalysisJobConfig) GetPrivacyMetric

func (m *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric

func (*RiskAnalysisJobConfig) GetSourceTable

func (m *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable

func (*RiskAnalysisJobConfig) ProtoMessage

func (*RiskAnalysisJobConfig) ProtoMessage()

func (*RiskAnalysisJobConfig) Reset

func (m *RiskAnalysisJobConfig) Reset()

func (*RiskAnalysisJobConfig) String

func (m *RiskAnalysisJobConfig) String() string

func (*RiskAnalysisJobConfig) XXX_DiscardUnknown

func (m *RiskAnalysisJobConfig) XXX_DiscardUnknown()

func (*RiskAnalysisJobConfig) XXX_Marshal

func (m *RiskAnalysisJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RiskAnalysisJobConfig) XXX_Merge

func (m *RiskAnalysisJobConfig) XXX_Merge(src proto.Message)

func (*RiskAnalysisJobConfig) XXX_Size

func (m *RiskAnalysisJobConfig) XXX_Size() int

func (*RiskAnalysisJobConfig) XXX_Unmarshal

func (m *RiskAnalysisJobConfig) XXX_Unmarshal(b []byte) error

type Schedule

type Schedule struct {
	// Types that are valid to be assigned to Option:
	//	*Schedule_RecurrencePeriodDuration
	Option               isSchedule_Option `protobuf_oneof:"option"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Schedule for triggeredJobs.

func (*Schedule) Descriptor

func (*Schedule) Descriptor() ([]byte, []int)

func (*Schedule) GetOption

func (m *Schedule) GetOption() isSchedule_Option

func (*Schedule) GetRecurrencePeriodDuration

func (m *Schedule) GetRecurrencePeriodDuration() *duration.Duration

func (*Schedule) ProtoMessage

func (*Schedule) ProtoMessage()

func (*Schedule) Reset

func (m *Schedule) Reset()

func (*Schedule) String

func (m *Schedule) String() string

func (*Schedule) XXX_DiscardUnknown

func (m *Schedule) XXX_DiscardUnknown()

func (*Schedule) XXX_Marshal

func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Schedule) XXX_Merge

func (m *Schedule) XXX_Merge(src proto.Message)

func (*Schedule) XXX_OneofWrappers

func (*Schedule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Schedule) XXX_Size

func (m *Schedule) XXX_Size() int

func (*Schedule) XXX_Unmarshal

func (m *Schedule) XXX_Unmarshal(b []byte) error

type Schedule_RecurrencePeriodDuration

type Schedule_RecurrencePeriodDuration struct {
	RecurrencePeriodDuration *duration.Duration `protobuf:"bytes,1,opt,name=recurrence_period_duration,json=recurrencePeriodDuration,proto3,oneof"`
}

type StatisticalTable

type StatisticalTable struct {
	// Required. Auxiliary table location.
	Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	// Required. Quasi-identifier columns.
	QuasiIds []*StatisticalTable_QuasiIdentifierField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// Required. The relative frequency column must contain a floating-point
	// number between 0 and 1 (inclusive). Null values are assumed to be zero.
	RelativeFrequency    *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An auxiliary table containing statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).

func (*StatisticalTable) Descriptor

func (*StatisticalTable) Descriptor() ([]byte, []int)

func (*StatisticalTable) GetQuasiIds

func (*StatisticalTable) GetRelativeFrequency

func (m *StatisticalTable) GetRelativeFrequency() *FieldId

func (*StatisticalTable) GetTable

func (m *StatisticalTable) GetTable() *BigQueryTable

func (*StatisticalTable) ProtoMessage

func (*StatisticalTable) ProtoMessage()

func (*StatisticalTable) Reset

func (m *StatisticalTable) Reset()

func (*StatisticalTable) String

func (m *StatisticalTable) String() string

func (*StatisticalTable) XXX_DiscardUnknown

func (m *StatisticalTable) XXX_DiscardUnknown()

func (*StatisticalTable) XXX_Marshal

func (m *StatisticalTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatisticalTable) XXX_Merge

func (m *StatisticalTable) XXX_Merge(src proto.Message)

func (*StatisticalTable) XXX_Size

func (m *StatisticalTable) XXX_Size() int

func (*StatisticalTable) XXX_Unmarshal

func (m *StatisticalTable) XXX_Unmarshal(b []byte) error

type StatisticalTable_QuasiIdentifierField

type StatisticalTable_QuasiIdentifierField struct {
	// Identifies the column.
	Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// A column can be tagged with a custom tag. In this case, the user must
	// indicate an auxiliary table that contains statistical information on
	// the possible values of this column (below).
	CustomTag            string   `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.

func (*StatisticalTable_QuasiIdentifierField) Descriptor

func (*StatisticalTable_QuasiIdentifierField) Descriptor() ([]byte, []int)

func (*StatisticalTable_QuasiIdentifierField) GetCustomTag

func (*StatisticalTable_QuasiIdentifierField) GetField

func (*StatisticalTable_QuasiIdentifierField) ProtoMessage

func (*StatisticalTable_QuasiIdentifierField) ProtoMessage()

func (*StatisticalTable_QuasiIdentifierField) Reset

func (*StatisticalTable_QuasiIdentifierField) String

func (*StatisticalTable_QuasiIdentifierField) XXX_DiscardUnknown

func (m *StatisticalTable_QuasiIdentifierField) XXX_DiscardUnknown()

func (*StatisticalTable_QuasiIdentifierField) XXX_Marshal

func (m *StatisticalTable_QuasiIdentifierField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatisticalTable_QuasiIdentifierField) XXX_Merge

func (*StatisticalTable_QuasiIdentifierField) XXX_Size

func (*StatisticalTable_QuasiIdentifierField) XXX_Unmarshal

func (m *StatisticalTable_QuasiIdentifierField) XXX_Unmarshal(b []byte) error

type StorageConfig

type StorageConfig struct {
	// Types that are valid to be assigned to Type:
	//	*StorageConfig_DatastoreOptions
	//	*StorageConfig_CloudStorageOptions
	//	*StorageConfig_BigQueryOptions
	//	*StorageConfig_HybridOptions
	Type                 isStorageConfig_Type          `protobuf_oneof:"type"`
	TimespanConfig       *StorageConfig_TimespanConfig `protobuf:"bytes,6,opt,name=timespan_config,json=timespanConfig,proto3" json:"timespan_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Shared message indicating Cloud storage type.

func (*StorageConfig) Descriptor

func (*StorageConfig) Descriptor() ([]byte, []int)

func (*StorageConfig) GetBigQueryOptions

func (m *StorageConfig) GetBigQueryOptions() *BigQueryOptions

func (*StorageConfig) GetCloudStorageOptions

func (m *StorageConfig) GetCloudStorageOptions() *CloudStorageOptions

func (*StorageConfig) GetDatastoreOptions

func (m *StorageConfig) GetDatastoreOptions() *DatastoreOptions

func (*StorageConfig) GetHybridOptions

func (m *StorageConfig) GetHybridOptions() *HybridOptions

func (*StorageConfig) GetTimespanConfig

func (m *StorageConfig) GetTimespanConfig() *StorageConfig_TimespanConfig

func (*StorageConfig) GetType

func (m *StorageConfig) GetType() isStorageConfig_Type

func (*StorageConfig) ProtoMessage

func (*StorageConfig) ProtoMessage()

func (*StorageConfig) Reset

func (m *StorageConfig) Reset()

func (*StorageConfig) String

func (m *StorageConfig) String() string

func (*StorageConfig) XXX_DiscardUnknown

func (m *StorageConfig) XXX_DiscardUnknown()

func (*StorageConfig) XXX_Marshal

func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageConfig) XXX_Merge

func (m *StorageConfig) XXX_Merge(src proto.Message)

func (*StorageConfig) XXX_OneofWrappers

func (*StorageConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StorageConfig) XXX_Size

func (m *StorageConfig) XXX_Size() int

func (*StorageConfig) XXX_Unmarshal

func (m *StorageConfig) XXX_Unmarshal(b []byte) error

type StorageConfig_BigQueryOptions

type StorageConfig_BigQueryOptions struct {
	BigQueryOptions *BigQueryOptions `protobuf:"bytes,4,opt,name=big_query_options,json=bigQueryOptions,proto3,oneof"`
}

type StorageConfig_CloudStorageOptions

type StorageConfig_CloudStorageOptions struct {
	CloudStorageOptions *CloudStorageOptions `protobuf:"bytes,3,opt,name=cloud_storage_options,json=cloudStorageOptions,proto3,oneof"`
}

type StorageConfig_DatastoreOptions

type StorageConfig_DatastoreOptions struct {
	DatastoreOptions *DatastoreOptions `protobuf:"bytes,2,opt,name=datastore_options,json=datastoreOptions,proto3,oneof"`
}

type StorageConfig_HybridOptions

type StorageConfig_HybridOptions struct {
	HybridOptions *HybridOptions `protobuf:"bytes,9,opt,name=hybrid_options,json=hybridOptions,proto3,oneof"`
}

type StorageConfig_TimespanConfig

type StorageConfig_TimespanConfig struct {
	// Exclude files or rows older than this value.
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Exclude files or rows newer than this value.
	// If set to zero, no upper time limit is applied.
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Specification of the field containing the timestamp of scanned items.
	// Used for data sources like Datastore and BigQuery.
	//
	// For BigQuery:
	// Required to filter out rows based on the given start and
	// end times. If not specified and the table was modified between the given
	// start and end times, the entire table will be scanned.
	// The valid data types of the timestamp field are: `INTEGER`, `DATE`,
	// `TIMESTAMP`, or `DATETIME` BigQuery column.
	//
	// For Datastore.
	// Valid data types of the timestamp field are: `TIMESTAMP`.
	// Datastore entity will be scanned if the timestamp property does not
	// exist or its value is empty or invalid.
	TimestampField *FieldId `protobuf:"bytes,3,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"`
	// When the job is started by a JobTrigger we will automatically figure out
	// a valid start_time to avoid scanning files that have not been modified
	// since the last time the JobTrigger executed. This will be based on the
	// time of the execution of the last run of the JobTrigger.
	EnableAutoPopulationOfTimespanConfig bool     `` /* 178-byte string literal not displayed */
	XXX_NoUnkeyedLiteral                 struct{} `json:"-"`
	XXX_unrecognized                     []byte   `json:"-"`
	XXX_sizecache                        int32    `json:"-"`
}

Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery.

func (*StorageConfig_TimespanConfig) Descriptor

func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int)

func (*StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig

func (m *StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig() bool

func (*StorageConfig_TimespanConfig) GetEndTime

func (*StorageConfig_TimespanConfig) GetStartTime

func (*StorageConfig_TimespanConfig) GetTimestampField

func (m *StorageConfig_TimespanConfig) GetTimestampField() *FieldId

func (*StorageConfig_TimespanConfig) ProtoMessage

func (*StorageConfig_TimespanConfig) ProtoMessage()

func (*StorageConfig_TimespanConfig) Reset

func (m *StorageConfig_TimespanConfig) Reset()

func (*StorageConfig_TimespanConfig) String

func (*StorageConfig_TimespanConfig) XXX_DiscardUnknown

func (m *StorageConfig_TimespanConfig) XXX_DiscardUnknown()

func (*StorageConfig_TimespanConfig) XXX_Marshal

func (m *StorageConfig_TimespanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageConfig_TimespanConfig) XXX_Merge

func (m *StorageConfig_TimespanConfig) XXX_Merge(src proto.Message)

func (*StorageConfig_TimespanConfig) XXX_Size

func (m *StorageConfig_TimespanConfig) XXX_Size() int

func (*StorageConfig_TimespanConfig) XXX_Unmarshal

func (m *StorageConfig_TimespanConfig) XXX_Unmarshal(b []byte) error

type StorageMetadataLabel

type StorageMetadataLabel struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Storage metadata label to indicate which metadata entry contains findings.

func (*StorageMetadataLabel) Descriptor

func (*StorageMetadataLabel) Descriptor() ([]byte, []int)

func (*StorageMetadataLabel) GetKey

func (m *StorageMetadataLabel) GetKey() string

func (*StorageMetadataLabel) ProtoMessage

func (*StorageMetadataLabel) ProtoMessage()

func (*StorageMetadataLabel) Reset

func (m *StorageMetadataLabel) Reset()

func (*StorageMetadataLabel) String

func (m *StorageMetadataLabel) String() string

func (*StorageMetadataLabel) XXX_DiscardUnknown

func (m *StorageMetadataLabel) XXX_DiscardUnknown()

func (*StorageMetadataLabel) XXX_Marshal

func (m *StorageMetadataLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageMetadataLabel) XXX_Merge

func (m *StorageMetadataLabel) XXX_Merge(src proto.Message)

func (*StorageMetadataLabel) XXX_Size

func (m *StorageMetadataLabel) XXX_Size() int

func (*StorageMetadataLabel) XXX_Unmarshal

func (m *StorageMetadataLabel) XXX_Unmarshal(b []byte) error

type StoredInfoType

type StoredInfoType struct {
	// Resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Current version of the stored info type.
	CurrentVersion *StoredInfoTypeVersion `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
	// Pending versions of the stored info type. Empty if no versions are
	// pending.
	PendingVersions      []*StoredInfoTypeVersion `protobuf:"bytes,3,rep,name=pending_versions,json=pendingVersions,proto3" json:"pending_versions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

StoredInfoType resource message that contains information about the current version and any pending updates.

func (*StoredInfoType) Descriptor

func (*StoredInfoType) Descriptor() ([]byte, []int)

func (*StoredInfoType) GetCurrentVersion

func (m *StoredInfoType) GetCurrentVersion() *StoredInfoTypeVersion

func (*StoredInfoType) GetName

func (m *StoredInfoType) GetName() string

func (*StoredInfoType) GetPendingVersions

func (m *StoredInfoType) GetPendingVersions() []*StoredInfoTypeVersion

func (*StoredInfoType) ProtoMessage

func (*StoredInfoType) ProtoMessage()

func (*StoredInfoType) Reset

func (m *StoredInfoType) Reset()

func (*StoredInfoType) String

func (m *StoredInfoType) String() string

func (*StoredInfoType) XXX_DiscardUnknown

func (m *StoredInfoType) XXX_DiscardUnknown()

func (*StoredInfoType) XXX_Marshal

func (m *StoredInfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoredInfoType) XXX_Merge

func (m *StoredInfoType) XXX_Merge(src proto.Message)

func (*StoredInfoType) XXX_Size

func (m *StoredInfoType) XXX_Size() int

func (*StoredInfoType) XXX_Unmarshal

func (m *StoredInfoType) XXX_Unmarshal(b []byte) error

type StoredInfoTypeConfig

type StoredInfoTypeConfig struct {
	// Display name of the StoredInfoType (max 256 characters).
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Description of the StoredInfoType (max 256 characters).
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Stored infotype types.
	//
	// Types that are valid to be assigned to Type:
	//	*StoredInfoTypeConfig_LargeCustomDictionary
	//	*StoredInfoTypeConfig_Dictionary
	//	*StoredInfoTypeConfig_Regex
	Type                 isStoredInfoTypeConfig_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes.

func (*StoredInfoTypeConfig) Descriptor

func (*StoredInfoTypeConfig) Descriptor() ([]byte, []int)

func (*StoredInfoTypeConfig) GetDescription

func (m *StoredInfoTypeConfig) GetDescription() string

func (*StoredInfoTypeConfig) GetDictionary

func (m *StoredInfoTypeConfig) GetDictionary() *CustomInfoType_Dictionary

func (*StoredInfoTypeConfig) GetDisplayName

func (m *StoredInfoTypeConfig) GetDisplayName() string

func (*StoredInfoTypeConfig) GetLargeCustomDictionary

func (m *StoredInfoTypeConfig) GetLargeCustomDictionary() *LargeCustomDictionaryConfig

func (*StoredInfoTypeConfig) GetRegex

func (*StoredInfoTypeConfig) GetType

func (m *StoredInfoTypeConfig) GetType() isStoredInfoTypeConfig_Type

func (*StoredInfoTypeConfig) ProtoMessage

func (*StoredInfoTypeConfig) ProtoMessage()

func (*StoredInfoTypeConfig) Reset

func (m *StoredInfoTypeConfig) Reset()

func (*StoredInfoTypeConfig) String

func (m *StoredInfoTypeConfig) String() string

func (*StoredInfoTypeConfig) XXX_DiscardUnknown

func (m *StoredInfoTypeConfig) XXX_DiscardUnknown()

func (*StoredInfoTypeConfig) XXX_Marshal

func (m *StoredInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoredInfoTypeConfig) XXX_Merge

func (m *StoredInfoTypeConfig) XXX_Merge(src proto.Message)

func (*StoredInfoTypeConfig) XXX_OneofWrappers

func (*StoredInfoTypeConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StoredInfoTypeConfig) XXX_Size

func (m *StoredInfoTypeConfig) XXX_Size() int

func (*StoredInfoTypeConfig) XXX_Unmarshal

func (m *StoredInfoTypeConfig) XXX_Unmarshal(b []byte) error

type StoredInfoTypeConfig_Dictionary

type StoredInfoTypeConfig_Dictionary struct {
	Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,4,opt,name=dictionary,proto3,oneof"`
}

type StoredInfoTypeConfig_LargeCustomDictionary

type StoredInfoTypeConfig_LargeCustomDictionary struct {
	LargeCustomDictionary *LargeCustomDictionaryConfig `protobuf:"bytes,3,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"`
}

type StoredInfoTypeConfig_Regex

type StoredInfoTypeConfig_Regex struct {
	Regex *CustomInfoType_Regex `protobuf:"bytes,5,opt,name=regex,proto3,oneof"`
}

type StoredInfoTypeState

type StoredInfoTypeState int32

State of a StoredInfoType version.

const (
	// Unused
	StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED StoredInfoTypeState = 0
	// StoredInfoType version is being created.
	StoredInfoTypeState_PENDING StoredInfoTypeState = 1
	// StoredInfoType version is ready for use.
	StoredInfoTypeState_READY StoredInfoTypeState = 2
	// StoredInfoType creation failed. All relevant error messages are returned in
	// the `StoredInfoTypeVersion` message.
	StoredInfoTypeState_FAILED StoredInfoTypeState = 3
	// StoredInfoType is no longer valid because artifacts stored in
	// user-controlled storage were modified. To fix an invalid StoredInfoType,
	// use the `UpdateStoredInfoType` method to create a new version.
	StoredInfoTypeState_INVALID StoredInfoTypeState = 4
)

func (StoredInfoTypeState) EnumDescriptor

func (StoredInfoTypeState) EnumDescriptor() ([]byte, []int)

func (StoredInfoTypeState) String

func (x StoredInfoTypeState) String() string

type StoredInfoTypeStats

type StoredInfoTypeStats struct {
	// Stat types
	//
	// Types that are valid to be assigned to Type:
	//	*StoredInfoTypeStats_LargeCustomDictionary
	Type                 isStoredInfoTypeStats_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Statistics for a StoredInfoType.

func (*StoredInfoTypeStats) Descriptor

func (*StoredInfoTypeStats) Descriptor() ([]byte, []int)

func (*StoredInfoTypeStats) GetLargeCustomDictionary

func (m *StoredInfoTypeStats) GetLargeCustomDictionary() *LargeCustomDictionaryStats

func (*StoredInfoTypeStats) GetType

func (m *StoredInfoTypeStats) GetType() isStoredInfoTypeStats_Type

func (*StoredInfoTypeStats) ProtoMessage

func (*StoredInfoTypeStats) ProtoMessage()

func (*StoredInfoTypeStats) Reset

func (m *StoredInfoTypeStats) Reset()

func (*StoredInfoTypeStats) String

func (m *StoredInfoTypeStats) String() string

func (*StoredInfoTypeStats) XXX_DiscardUnknown

func (m *StoredInfoTypeStats) XXX_DiscardUnknown()

func (*StoredInfoTypeStats) XXX_Marshal

func (m *StoredInfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoredInfoTypeStats) XXX_Merge

func (m *StoredInfoTypeStats) XXX_Merge(src proto.Message)

func (*StoredInfoTypeStats) XXX_OneofWrappers

func (*StoredInfoTypeStats) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StoredInfoTypeStats) XXX_Size

func (m *StoredInfoTypeStats) XXX_Size() int

func (*StoredInfoTypeStats) XXX_Unmarshal

func (m *StoredInfoTypeStats) XXX_Unmarshal(b []byte) error

type StoredInfoTypeStats_LargeCustomDictionary

type StoredInfoTypeStats_LargeCustomDictionary struct {
	LargeCustomDictionary *LargeCustomDictionaryStats `protobuf:"bytes,1,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"`
}

type StoredInfoTypeVersion

type StoredInfoTypeVersion struct {
	// StoredInfoType configuration.
	Config *StoredInfoTypeConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Create timestamp of the version. Read-only, determined by the system
	// when the version is created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Stored info type version state. Read-only, updated by the system
	// during dictionary creation.
	State StoredInfoTypeState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.StoredInfoTypeState" json:"state,omitempty"`
	// Errors that occurred when creating this storedInfoType version, or
	// anomalies detected in the storedInfoType data that render it unusable. Only
	// the five most recent errors will be displayed, with the most recent error
	// appearing first.
	//
	// For example, some of the data for stored custom dictionaries is put in
	// the user's Google Cloud Storage bucket, and if this data is modified or
	// deleted by the user or another system, the dictionary becomes invalid.
	//
	// If any errors occur, fix the problem indicated by the error message and
	// use the UpdateStoredInfoType API method to create another version of the
	// storedInfoType to continue using it, reusing the same `config` if it was
	// not the source of the error.
	Errors []*Error `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
	// Statistics about this storedInfoType version.
	Stats                *StoredInfoTypeStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.

func (*StoredInfoTypeVersion) Descriptor

func (*StoredInfoTypeVersion) Descriptor() ([]byte, []int)

func (*StoredInfoTypeVersion) GetConfig

func (*StoredInfoTypeVersion) GetCreateTime

func (m *StoredInfoTypeVersion) GetCreateTime() *timestamp.Timestamp

func (*StoredInfoTypeVersion) GetErrors

func (m *StoredInfoTypeVersion) GetErrors() []*Error

func (*StoredInfoTypeVersion) GetState

func (*StoredInfoTypeVersion) GetStats

func (*StoredInfoTypeVersion) ProtoMessage

func (*StoredInfoTypeVersion) ProtoMessage()

func (*StoredInfoTypeVersion) Reset

func (m *StoredInfoTypeVersion) Reset()

func (*StoredInfoTypeVersion) String

func (m *StoredInfoTypeVersion) String() string

func (*StoredInfoTypeVersion) XXX_DiscardUnknown

func (m *StoredInfoTypeVersion) XXX_DiscardUnknown()

func (*StoredInfoTypeVersion) XXX_Marshal

func (m *StoredInfoTypeVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoredInfoTypeVersion) XXX_Merge

func (m *StoredInfoTypeVersion) XXX_Merge(src proto.Message)

func (*StoredInfoTypeVersion) XXX_Size

func (m *StoredInfoTypeVersion) XXX_Size() int

func (*StoredInfoTypeVersion) XXX_Unmarshal

func (m *StoredInfoTypeVersion) XXX_Unmarshal(b []byte) error

type StoredType

type StoredType struct {
	// Resource name of the requested `StoredInfoType`, for example
	// `organizations/433245324/storedInfoTypes/432452342` or
	// `projects/project-id/storedInfoTypes/432452342`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Timestamp indicating when the version of the `StoredInfoType` used for
	// inspection was created. Output-only field, populated by the system.
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A reference to a StoredInfoType to use with scanning.

func (*StoredType) Descriptor

func (*StoredType) Descriptor() ([]byte, []int)

func (*StoredType) GetCreateTime

func (m *StoredType) GetCreateTime() *timestamp.Timestamp

func (*StoredType) GetName

func (m *StoredType) GetName() string

func (*StoredType) ProtoMessage

func (*StoredType) ProtoMessage()

func (*StoredType) Reset

func (m *StoredType) Reset()

func (*StoredType) String

func (m *StoredType) String() string

func (*StoredType) XXX_DiscardUnknown

func (m *StoredType) XXX_DiscardUnknown()

func (*StoredType) XXX_Marshal

func (m *StoredType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoredType) XXX_Merge

func (m *StoredType) XXX_Merge(src proto.Message)

func (*StoredType) XXX_Size

func (m *StoredType) XXX_Size() int

func (*StoredType) XXX_Unmarshal

func (m *StoredType) XXX_Unmarshal(b []byte) error

type Table

type Table struct {
	// Headers of the table.
	Headers []*FieldId `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	// Rows of the table.
	Rows                 []*Table_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Structured content to inspect. Up to 50,000 `Value`s per request allowed. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.

func (*Table) Descriptor

func (*Table) Descriptor() ([]byte, []int)

func (*Table) GetHeaders

func (m *Table) GetHeaders() []*FieldId

func (*Table) GetRows

func (m *Table) GetRows() []*Table_Row

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) Reset

func (m *Table) Reset()

func (*Table) String

func (m *Table) String() string

func (*Table) XXX_DiscardUnknown

func (m *Table) XXX_DiscardUnknown()

func (*Table) XXX_Marshal

func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Table) XXX_Merge

func (m *Table) XXX_Merge(src proto.Message)

func (*Table) XXX_Size

func (m *Table) XXX_Size() int

func (*Table) XXX_Unmarshal

func (m *Table) XXX_Unmarshal(b []byte) error

type TableLocation

type TableLocation struct {
	// The zero-based index of the row where the finding is located. Only
	// populated for resources that have a natural ordering, not BigQuery. In
	// BigQuery, to identify the row a finding came from, populate
	// BigQueryOptions.identifying_fields with your primary key column names and
	// when you store the findings the value of those columns will be stored
	// inside of Finding.
	RowIndex             int64    `protobuf:"varint,1,opt,name=row_index,json=rowIndex,proto3" json:"row_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Location of a finding within a table.

func (*TableLocation) Descriptor

func (*TableLocation) Descriptor() ([]byte, []int)

func (*TableLocation) GetRowIndex

func (m *TableLocation) GetRowIndex() int64

func (*TableLocation) ProtoMessage

func (*TableLocation) ProtoMessage()

func (*TableLocation) Reset

func (m *TableLocation) Reset()

func (*TableLocation) String

func (m *TableLocation) String() string

func (*TableLocation) XXX_DiscardUnknown

func (m *TableLocation) XXX_DiscardUnknown()

func (*TableLocation) XXX_Marshal

func (m *TableLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableLocation) XXX_Merge

func (m *TableLocation) XXX_Merge(src proto.Message)

func (*TableLocation) XXX_Size

func (m *TableLocation) XXX_Size() int

func (*TableLocation) XXX_Unmarshal

func (m *TableLocation) XXX_Unmarshal(b []byte) error

type TableOptions

type TableOptions struct {
	// The columns that are the primary keys for table objects included in
	// ContentItem. A copy of this cell's value will stored alongside alongside
	// each finding so that the finding can be traced to the specific row it came
	// from. No more than 3 may be provided.
	IdentifyingFields    []*FieldId `protobuf:"bytes,1,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Instructions regarding the table content being inspected.

func (*TableOptions) Descriptor

func (*TableOptions) Descriptor() ([]byte, []int)

func (*TableOptions) GetIdentifyingFields

func (m *TableOptions) GetIdentifyingFields() []*FieldId

func (*TableOptions) ProtoMessage

func (*TableOptions) ProtoMessage()

func (*TableOptions) Reset

func (m *TableOptions) Reset()

func (*TableOptions) String

func (m *TableOptions) String() string

func (*TableOptions) XXX_DiscardUnknown

func (m *TableOptions) XXX_DiscardUnknown()

func (*TableOptions) XXX_Marshal

func (m *TableOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableOptions) XXX_Merge

func (m *TableOptions) XXX_Merge(src proto.Message)

func (*TableOptions) XXX_Size

func (m *TableOptions) XXX_Size() int

func (*TableOptions) XXX_Unmarshal

func (m *TableOptions) XXX_Unmarshal(b []byte) error

type Table_Row

type Table_Row struct {
	// Individual cells.
	Values               []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Values of the row.

func (*Table_Row) Descriptor

func (*Table_Row) Descriptor() ([]byte, []int)

func (*Table_Row) GetValues

func (m *Table_Row) GetValues() []*Value

func (*Table_Row) ProtoMessage

func (*Table_Row) ProtoMessage()

func (*Table_Row) Reset

func (m *Table_Row) Reset()

func (*Table_Row) String

func (m *Table_Row) String() string

func (*Table_Row) XXX_DiscardUnknown

func (m *Table_Row) XXX_DiscardUnknown()

func (*Table_Row) XXX_Marshal

func (m *Table_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Table_Row) XXX_Merge

func (m *Table_Row) XXX_Merge(src proto.Message)

func (*Table_Row) XXX_Size

func (m *Table_Row) XXX_Size() int

func (*Table_Row) XXX_Unmarshal

func (m *Table_Row) XXX_Unmarshal(b []byte) error

type TimePartConfig

type TimePartConfig struct {
	// The part of the time to keep.
	PartToExtract        TimePartConfig_TimePart `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value.

func (*TimePartConfig) Descriptor

func (*TimePartConfig) Descriptor() ([]byte, []int)

func (*TimePartConfig) GetPartToExtract

func (m *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart

func (*TimePartConfig) ProtoMessage

func (*TimePartConfig) ProtoMessage()

func (*TimePartConfig) Reset

func (m *TimePartConfig) Reset()

func (*TimePartConfig) String

func (m *TimePartConfig) String() string

func (*TimePartConfig) XXX_DiscardUnknown

func (m *TimePartConfig) XXX_DiscardUnknown()

func (*TimePartConfig) XXX_Marshal

func (m *TimePartConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimePartConfig) XXX_Merge

func (m *TimePartConfig) XXX_Merge(src proto.Message)

func (*TimePartConfig) XXX_Size

func (m *TimePartConfig) XXX_Size() int

func (*TimePartConfig) XXX_Unmarshal

func (m *TimePartConfig) XXX_Unmarshal(b []byte) error

type TimePartConfig_TimePart

type TimePartConfig_TimePart int32

Components that make up time.

const (
	// Unused
	TimePartConfig_TIME_PART_UNSPECIFIED TimePartConfig_TimePart = 0
	// [0-9999]
	TimePartConfig_YEAR TimePartConfig_TimePart = 1
	// [1-12]
	TimePartConfig_MONTH TimePartConfig_TimePart = 2
	// [1-31]
	TimePartConfig_DAY_OF_MONTH TimePartConfig_TimePart = 3
	// [1-7]
	TimePartConfig_DAY_OF_WEEK TimePartConfig_TimePart = 4
	// [1-53]
	TimePartConfig_WEEK_OF_YEAR TimePartConfig_TimePart = 5
	// [0-23]
	TimePartConfig_HOUR_OF_DAY TimePartConfig_TimePart = 6
)

func (TimePartConfig_TimePart) EnumDescriptor

func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int)

func (TimePartConfig_TimePart) String

func (x TimePartConfig_TimePart) String() string

type TransformationErrorHandling

type TransformationErrorHandling struct {
	// How transformation errors should be handled.
	//
	// Types that are valid to be assigned to Mode:
	//	*TransformationErrorHandling_ThrowError_
	//	*TransformationErrorHandling_LeaveUntransformed_
	Mode                 isTransformationErrorHandling_Mode `protobuf_oneof:"mode"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a `DateShift` transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the `TransformationOverviews`.

func (*TransformationErrorHandling) Descriptor

func (*TransformationErrorHandling) Descriptor() ([]byte, []int)

func (*TransformationErrorHandling) GetLeaveUntransformed

func (*TransformationErrorHandling) GetMode

func (m *TransformationErrorHandling) GetMode() isTransformationErrorHandling_Mode

func (*TransformationErrorHandling) GetThrowError

func (*TransformationErrorHandling) ProtoMessage

func (*TransformationErrorHandling) ProtoMessage()

func (*TransformationErrorHandling) Reset

func (m *TransformationErrorHandling) Reset()

func (*TransformationErrorHandling) String

func (m *TransformationErrorHandling) String() string

func (*TransformationErrorHandling) XXX_DiscardUnknown

func (m *TransformationErrorHandling) XXX_DiscardUnknown()

func (*TransformationErrorHandling) XXX_Marshal

func (m *TransformationErrorHandling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationErrorHandling) XXX_Merge

func (m *TransformationErrorHandling) XXX_Merge(src proto.Message)

func (*TransformationErrorHandling) XXX_OneofWrappers

func (*TransformationErrorHandling) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TransformationErrorHandling) XXX_Size

func (m *TransformationErrorHandling) XXX_Size() int

func (*TransformationErrorHandling) XXX_Unmarshal

func (m *TransformationErrorHandling) XXX_Unmarshal(b []byte) error

type TransformationErrorHandling_LeaveUntransformed

type TransformationErrorHandling_LeaveUntransformed struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Skips the data without modifying it if the requested transformation would cause an error. For example, if a `DateShift` transformation were applied an an IP address, this mode would leave the IP address unchanged in the response.

func (*TransformationErrorHandling_LeaveUntransformed) Descriptor

func (*TransformationErrorHandling_LeaveUntransformed) ProtoMessage

func (*TransformationErrorHandling_LeaveUntransformed) Reset

func (*TransformationErrorHandling_LeaveUntransformed) String

func (*TransformationErrorHandling_LeaveUntransformed) XXX_DiscardUnknown

func (m *TransformationErrorHandling_LeaveUntransformed) XXX_DiscardUnknown()

func (*TransformationErrorHandling_LeaveUntransformed) XXX_Marshal

func (m *TransformationErrorHandling_LeaveUntransformed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationErrorHandling_LeaveUntransformed) XXX_Merge

func (*TransformationErrorHandling_LeaveUntransformed) XXX_Size

func (*TransformationErrorHandling_LeaveUntransformed) XXX_Unmarshal

type TransformationErrorHandling_LeaveUntransformed_

type TransformationErrorHandling_LeaveUntransformed_ struct {
	LeaveUntransformed *TransformationErrorHandling_LeaveUntransformed `protobuf:"bytes,2,opt,name=leave_untransformed,json=leaveUntransformed,proto3,oneof"`
}

type TransformationErrorHandling_ThrowError

type TransformationErrorHandling_ThrowError struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Throw an error and fail the request when a transformation error occurs.

func (*TransformationErrorHandling_ThrowError) Descriptor

func (*TransformationErrorHandling_ThrowError) Descriptor() ([]byte, []int)

func (*TransformationErrorHandling_ThrowError) ProtoMessage

func (*TransformationErrorHandling_ThrowError) Reset

func (*TransformationErrorHandling_ThrowError) String

func (*TransformationErrorHandling_ThrowError) XXX_DiscardUnknown

func (m *TransformationErrorHandling_ThrowError) XXX_DiscardUnknown()

func (*TransformationErrorHandling_ThrowError) XXX_Marshal

func (m *TransformationErrorHandling_ThrowError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationErrorHandling_ThrowError) XXX_Merge

func (*TransformationErrorHandling_ThrowError) XXX_Size

func (*TransformationErrorHandling_ThrowError) XXX_Unmarshal

func (m *TransformationErrorHandling_ThrowError) XXX_Unmarshal(b []byte) error

type TransformationErrorHandling_ThrowError_

type TransformationErrorHandling_ThrowError_ struct {
	ThrowError *TransformationErrorHandling_ThrowError `protobuf:"bytes,1,opt,name=throw_error,json=throwError,proto3,oneof"`
}

type TransformationOverview

type TransformationOverview struct {
	// Total size in bytes that were transformed in some way.
	TransformedBytes int64 `protobuf:"varint,2,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"`
	// Transformations applied to the dataset.
	TransformationSummaries []*TransformationSummary `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}                 `json:"-"`
	XXX_unrecognized        []byte                   `json:"-"`
	XXX_sizecache           int32                    `json:"-"`
}

Overview of the modifications that occurred.

func (*TransformationOverview) Descriptor

func (*TransformationOverview) Descriptor() ([]byte, []int)

func (*TransformationOverview) GetTransformationSummaries

func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary

func (*TransformationOverview) GetTransformedBytes

func (m *TransformationOverview) GetTransformedBytes() int64

func (*TransformationOverview) ProtoMessage

func (*TransformationOverview) ProtoMessage()

func (*TransformationOverview) Reset

func (m *TransformationOverview) Reset()

func (*TransformationOverview) String

func (m *TransformationOverview) String() string

func (*TransformationOverview) XXX_DiscardUnknown

func (m *TransformationOverview) XXX_DiscardUnknown()

func (*TransformationOverview) XXX_Marshal

func (m *TransformationOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationOverview) XXX_Merge

func (m *TransformationOverview) XXX_Merge(src proto.Message)

func (*TransformationOverview) XXX_Size

func (m *TransformationOverview) XXX_Size() int

func (*TransformationOverview) XXX_Unmarshal

func (m *TransformationOverview) XXX_Unmarshal(b []byte) error

type TransformationSummary

type TransformationSummary struct {
	// Set if the transformation was limited to a specific InfoType.
	InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
	// Set if the transformation was limited to a specific FieldId.
	Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	// The specific transformation these stats apply to.
	Transformation *PrimitiveTransformation `protobuf:"bytes,3,opt,name=transformation,proto3" json:"transformation,omitempty"`
	// 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.
	FieldTransformations []*FieldTransformation `protobuf:"bytes,5,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"`
	// The specific suppression option these stats apply to.
	RecordSuppress *RecordSuppression `protobuf:"bytes,6,opt,name=record_suppress,json=recordSuppress,proto3" json:"record_suppress,omitempty"`
	// Collection of all transformations that took place or had an error.
	Results []*TransformationSummary_SummaryResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"`
	// Total size in bytes that were transformed in some way.
	TransformedBytes     int64    `protobuf:"varint,7,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TransformationSummary) Descriptor

func (*TransformationSummary) Descriptor() ([]byte, []int)

func (*TransformationSummary) GetField

func (m *TransformationSummary) GetField() *FieldId

func (*TransformationSummary) GetFieldTransformations

func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation

func (*TransformationSummary) GetInfoType

func (m *TransformationSummary) GetInfoType() *InfoType

func (*TransformationSummary) GetRecordSuppress

func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression

func (*TransformationSummary) GetResults

func (*TransformationSummary) GetTransformation

func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation

func (*TransformationSummary) GetTransformedBytes

func (m *TransformationSummary) GetTransformedBytes() int64

func (*TransformationSummary) ProtoMessage

func (*TransformationSummary) ProtoMessage()

func (*TransformationSummary) Reset

func (m *TransformationSummary) Reset()

func (*TransformationSummary) String

func (m *TransformationSummary) String() string

func (*TransformationSummary) XXX_DiscardUnknown

func (m *TransformationSummary) XXX_DiscardUnknown()

func (*TransformationSummary) XXX_Marshal

func (m *TransformationSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationSummary) XXX_Merge

func (m *TransformationSummary) XXX_Merge(src proto.Message)

func (*TransformationSummary) XXX_Size

func (m *TransformationSummary) XXX_Size() int

func (*TransformationSummary) XXX_Unmarshal

func (m *TransformationSummary) XXX_Unmarshal(b []byte) error

type TransformationSummary_SummaryResult

type TransformationSummary_SummaryResult struct {
	// Number of transformations counted by this result.
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// Outcome of the transformation.
	Code TransformationSummary_TransformationResultCode `` /* 136-byte string literal not displayed */
	// A place for warnings or errors to show up if a transformation didn't
	// work as expected.
	Details              string   `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection that informs the user the number of times a particular `TransformationResultCode` and error details occurred.

func (*TransformationSummary_SummaryResult) Descriptor

func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int)

func (*TransformationSummary_SummaryResult) GetCode

func (*TransformationSummary_SummaryResult) GetCount

func (*TransformationSummary_SummaryResult) GetDetails

func (*TransformationSummary_SummaryResult) ProtoMessage

func (*TransformationSummary_SummaryResult) ProtoMessage()

func (*TransformationSummary_SummaryResult) Reset

func (*TransformationSummary_SummaryResult) String

func (*TransformationSummary_SummaryResult) XXX_DiscardUnknown

func (m *TransformationSummary_SummaryResult) XXX_DiscardUnknown()

func (*TransformationSummary_SummaryResult) XXX_Marshal

func (m *TransformationSummary_SummaryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationSummary_SummaryResult) XXX_Merge

func (*TransformationSummary_SummaryResult) XXX_Size

func (*TransformationSummary_SummaryResult) XXX_Unmarshal

func (m *TransformationSummary_SummaryResult) XXX_Unmarshal(b []byte) error

type TransformationSummary_TransformationResultCode

type TransformationSummary_TransformationResultCode int32

Possible outcomes of transformations.

const (
	// Unused
	TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED TransformationSummary_TransformationResultCode = 0
	// Transformation completed without an error.
	TransformationSummary_SUCCESS TransformationSummary_TransformationResultCode = 1
	// Transformation had an error.
	TransformationSummary_ERROR TransformationSummary_TransformationResultCode = 2
)

func (TransformationSummary_TransformationResultCode) EnumDescriptor

func (TransformationSummary_TransformationResultCode) String

type TransientCryptoKey

type TransientCryptoKey struct {
	// Required. Name of the key.
	// This is an arbitrary string used to differentiate different keys.
	// A unique key is generated per name: two separate `TransientCryptoKey`
	// protos share the same generated key if their names are the same.
	// When the data crypto key is generated, this name is not used in any way
	// (repeating the api call will result in a different key being generated).
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Use this to have a random data crypto key generated. It will be discarded after the request finishes.

func (*TransientCryptoKey) Descriptor

func (*TransientCryptoKey) Descriptor() ([]byte, []int)

func (*TransientCryptoKey) GetName

func (m *TransientCryptoKey) GetName() string

func (*TransientCryptoKey) ProtoMessage

func (*TransientCryptoKey) ProtoMessage()

func (*TransientCryptoKey) Reset

func (m *TransientCryptoKey) Reset()

func (*TransientCryptoKey) String

func (m *TransientCryptoKey) String() string

func (*TransientCryptoKey) XXX_DiscardUnknown

func (m *TransientCryptoKey) XXX_DiscardUnknown()

func (*TransientCryptoKey) XXX_Marshal

func (m *TransientCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransientCryptoKey) XXX_Merge

func (m *TransientCryptoKey) XXX_Merge(src proto.Message)

func (*TransientCryptoKey) XXX_Size

func (m *TransientCryptoKey) XXX_Size() int

func (*TransientCryptoKey) XXX_Unmarshal

func (m *TransientCryptoKey) XXX_Unmarshal(b []byte) error

type UnimplementedDlpServiceServer

type UnimplementedDlpServiceServer struct {
}

UnimplementedDlpServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDlpServiceServer) ActivateJobTrigger

func (*UnimplementedDlpServiceServer) CancelDlpJob

func (*UnimplementedDlpServiceServer) CreateDeidentifyTemplate

func (*UnimplementedDlpServiceServer) CreateDlpJob

func (*UnimplementedDlpServiceServer) CreateInspectTemplate

func (*UnimplementedDlpServiceServer) CreateJobTrigger

func (*UnimplementedDlpServiceServer) CreateStoredInfoType

func (*UnimplementedDlpServiceServer) DeidentifyContent

func (*UnimplementedDlpServiceServer) DeleteDeidentifyTemplate

func (*UnimplementedDlpServiceServer) DeleteDlpJob

func (*UnimplementedDlpServiceServer) DeleteInspectTemplate

func (*UnimplementedDlpServiceServer) DeleteJobTrigger

func (*UnimplementedDlpServiceServer) DeleteStoredInfoType

func (*UnimplementedDlpServiceServer) FinishDlpJob

func (*UnimplementedDlpServiceServer) GetDeidentifyTemplate

func (*UnimplementedDlpServiceServer) GetDlpJob

func (*UnimplementedDlpServiceServer) GetInspectTemplate

func (*UnimplementedDlpServiceServer) GetJobTrigger

func (*UnimplementedDlpServiceServer) GetStoredInfoType

func (*UnimplementedDlpServiceServer) HybridInspectDlpJob

func (*UnimplementedDlpServiceServer) HybridInspectJobTrigger

func (*UnimplementedDlpServiceServer) InspectContent

func (*UnimplementedDlpServiceServer) ListDeidentifyTemplates

func (*UnimplementedDlpServiceServer) ListDlpJobs

func (*UnimplementedDlpServiceServer) ListInfoTypes

func (*UnimplementedDlpServiceServer) ListInspectTemplates

func (*UnimplementedDlpServiceServer) ListJobTriggers

func (*UnimplementedDlpServiceServer) ListStoredInfoTypes

func (*UnimplementedDlpServiceServer) RedactImage

func (*UnimplementedDlpServiceServer) ReidentifyContent

func (*UnimplementedDlpServiceServer) UpdateDeidentifyTemplate

func (*UnimplementedDlpServiceServer) UpdateInspectTemplate

func (*UnimplementedDlpServiceServer) UpdateJobTrigger

func (*UnimplementedDlpServiceServer) UpdateStoredInfoType

type UnwrappedCryptoKey

type UnwrappedCryptoKey struct {
	// Required. A 128/192/256 bit key.
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.

func (*UnwrappedCryptoKey) Descriptor

func (*UnwrappedCryptoKey) Descriptor() ([]byte, []int)

func (*UnwrappedCryptoKey) GetKey

func (m *UnwrappedCryptoKey) GetKey() []byte

func (*UnwrappedCryptoKey) ProtoMessage

func (*UnwrappedCryptoKey) ProtoMessage()

func (*UnwrappedCryptoKey) Reset

func (m *UnwrappedCryptoKey) Reset()

func (*UnwrappedCryptoKey) String

func (m *UnwrappedCryptoKey) String() string

func (*UnwrappedCryptoKey) XXX_DiscardUnknown

func (m *UnwrappedCryptoKey) XXX_DiscardUnknown()

func (*UnwrappedCryptoKey) XXX_Marshal

func (m *UnwrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnwrappedCryptoKey) XXX_Merge

func (m *UnwrappedCryptoKey) XXX_Merge(src proto.Message)

func (*UnwrappedCryptoKey) XXX_Size

func (m *UnwrappedCryptoKey) XXX_Size() int

func (*UnwrappedCryptoKey) XXX_Unmarshal

func (m *UnwrappedCryptoKey) XXX_Unmarshal(b []byte) error

type UpdateDeidentifyTemplateRequest

type UpdateDeidentifyTemplateRequest struct {
	// Required. Resource name of organization and deidentify template to be
	// updated, for example
	// `organizations/433245324/deidentifyTemplates/432452342` or
	// projects/project-id/deidentifyTemplates/432452342.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// New DeidentifyTemplate value.
	DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"`
	// Mask to control which fields get updated.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for UpdateDeidentifyTemplate.

func (*UpdateDeidentifyTemplateRequest) Descriptor

func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)

func (*UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate

func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate

func (*UpdateDeidentifyTemplateRequest) GetName

func (*UpdateDeidentifyTemplateRequest) GetUpdateMask

func (*UpdateDeidentifyTemplateRequest) ProtoMessage

func (*UpdateDeidentifyTemplateRequest) ProtoMessage()

func (*UpdateDeidentifyTemplateRequest) Reset

func (*UpdateDeidentifyTemplateRequest) String

func (*UpdateDeidentifyTemplateRequest) XXX_DiscardUnknown

func (m *UpdateDeidentifyTemplateRequest) XXX_DiscardUnknown()

func (*UpdateDeidentifyTemplateRequest) XXX_Marshal

func (m *UpdateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDeidentifyTemplateRequest) XXX_Merge

func (m *UpdateDeidentifyTemplateRequest) XXX_Merge(src proto.Message)

func (*UpdateDeidentifyTemplateRequest) XXX_Size

func (m *UpdateDeidentifyTemplateRequest) XXX_Size() int

func (*UpdateDeidentifyTemplateRequest) XXX_Unmarshal

func (m *UpdateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error

type UpdateInspectTemplateRequest

type UpdateInspectTemplateRequest struct {
	// Required. Resource name of organization and inspectTemplate to be updated,
	// for example `organizations/433245324/inspectTemplates/432452342` or
	// projects/project-id/inspectTemplates/432452342.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// New InspectTemplate value.
	InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
	// Mask to control which fields get updated.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for UpdateInspectTemplate.

func (*UpdateInspectTemplateRequest) Descriptor

func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int)

func (*UpdateInspectTemplateRequest) GetInspectTemplate

func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate

func (*UpdateInspectTemplateRequest) GetName

func (m *UpdateInspectTemplateRequest) GetName() string

func (*UpdateInspectTemplateRequest) GetUpdateMask

func (*UpdateInspectTemplateRequest) ProtoMessage

func (*UpdateInspectTemplateRequest) ProtoMessage()

func (*UpdateInspectTemplateRequest) Reset

func (m *UpdateInspectTemplateRequest) Reset()

func (*UpdateInspectTemplateRequest) String

func (*UpdateInspectTemplateRequest) XXX_DiscardUnknown

func (m *UpdateInspectTemplateRequest) XXX_DiscardUnknown()

func (*UpdateInspectTemplateRequest) XXX_Marshal

func (m *UpdateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateInspectTemplateRequest) XXX_Merge

func (m *UpdateInspectTemplateRequest) XXX_Merge(src proto.Message)

func (*UpdateInspectTemplateRequest) XXX_Size

func (m *UpdateInspectTemplateRequest) XXX_Size() int

func (*UpdateInspectTemplateRequest) XXX_Unmarshal

func (m *UpdateInspectTemplateRequest) XXX_Unmarshal(b []byte) error

type UpdateJobTriggerRequest

type UpdateJobTriggerRequest struct {
	// Required. Resource name of the project and the triggeredJob, for example
	// `projects/dlp-test-project/jobTriggers/53234423`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// New JobTrigger value.
	JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"`
	// Mask to control which fields get updated.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for UpdateJobTrigger.

func (*UpdateJobTriggerRequest) Descriptor

func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int)

func (*UpdateJobTriggerRequest) GetJobTrigger

func (m *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger

func (*UpdateJobTriggerRequest) GetName

func (m *UpdateJobTriggerRequest) GetName() string

func (*UpdateJobTriggerRequest) GetUpdateMask

func (m *UpdateJobTriggerRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateJobTriggerRequest) ProtoMessage

func (*UpdateJobTriggerRequest) ProtoMessage()

func (*UpdateJobTriggerRequest) Reset

func (m *UpdateJobTriggerRequest) Reset()

func (*UpdateJobTriggerRequest) String

func (m *UpdateJobTriggerRequest) String() string

func (*UpdateJobTriggerRequest) XXX_DiscardUnknown

func (m *UpdateJobTriggerRequest) XXX_DiscardUnknown()

func (*UpdateJobTriggerRequest) XXX_Marshal

func (m *UpdateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateJobTriggerRequest) XXX_Merge

func (m *UpdateJobTriggerRequest) XXX_Merge(src proto.Message)

func (*UpdateJobTriggerRequest) XXX_Size

func (m *UpdateJobTriggerRequest) XXX_Size() int

func (*UpdateJobTriggerRequest) XXX_Unmarshal

func (m *UpdateJobTriggerRequest) XXX_Unmarshal(b []byte) error

type UpdateStoredInfoTypeRequest

type UpdateStoredInfoTypeRequest struct {
	// Required. Resource name of organization and storedInfoType to be updated, for
	// example `organizations/433245324/storedInfoTypes/432452342` or
	// projects/project-id/storedInfoTypes/432452342.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Updated configuration for the storedInfoType. If not provided, a new
	// version of the storedInfoType will be created with the existing
	// configuration.
	Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Mask to control which fields get updated.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for UpdateStoredInfoType.

func (*UpdateStoredInfoTypeRequest) Descriptor

func (*UpdateStoredInfoTypeRequest) Descriptor() ([]byte, []int)

func (*UpdateStoredInfoTypeRequest) GetConfig

func (*UpdateStoredInfoTypeRequest) GetName

func (m *UpdateStoredInfoTypeRequest) GetName() string

func (*UpdateStoredInfoTypeRequest) GetUpdateMask

func (m *UpdateStoredInfoTypeRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateStoredInfoTypeRequest) ProtoMessage

func (*UpdateStoredInfoTypeRequest) ProtoMessage()

func (*UpdateStoredInfoTypeRequest) Reset

func (m *UpdateStoredInfoTypeRequest) Reset()

func (*UpdateStoredInfoTypeRequest) String

func (m *UpdateStoredInfoTypeRequest) String() string

func (*UpdateStoredInfoTypeRequest) XXX_DiscardUnknown

func (m *UpdateStoredInfoTypeRequest) XXX_DiscardUnknown()

func (*UpdateStoredInfoTypeRequest) XXX_Marshal

func (m *UpdateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateStoredInfoTypeRequest) XXX_Merge

func (m *UpdateStoredInfoTypeRequest) XXX_Merge(src proto.Message)

func (*UpdateStoredInfoTypeRequest) XXX_Size

func (m *UpdateStoredInfoTypeRequest) XXX_Size() int

func (*UpdateStoredInfoTypeRequest) XXX_Unmarshal

func (m *UpdateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error

type Value

type Value struct {
	// Value types
	//
	// Types that are valid to be assigned to Type:
	//	*Value_IntegerValue
	//	*Value_FloatValue
	//	*Value_StringValue
	//	*Value_BooleanValue
	//	*Value_TimestampValue
	//	*Value_TimeValue
	//	*Value_DateValue
	//	*Value_DayOfWeekValue
	Type                 isValue_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.

func (*Value) Descriptor

func (*Value) Descriptor() ([]byte, []int)

func (*Value) GetBooleanValue

func (m *Value) GetBooleanValue() bool

func (*Value) GetDateValue

func (m *Value) GetDateValue() *date.Date

func (*Value) GetDayOfWeekValue

func (m *Value) GetDayOfWeekValue() dayofweek.DayOfWeek

func (*Value) GetFloatValue

func (m *Value) GetFloatValue() float64

func (*Value) GetIntegerValue

func (m *Value) GetIntegerValue() int64

func (*Value) GetStringValue

func (m *Value) GetStringValue() string

func (*Value) GetTimeValue

func (m *Value) GetTimeValue() *timeofday.TimeOfDay

func (*Value) GetTimestampValue

func (m *Value) GetTimestampValue() *timestamp.Timestamp

func (*Value) GetType

func (m *Value) GetType() isValue_Type

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (m *Value) String() string

func (*Value) XXX_DiscardUnknown

func (m *Value) XXX_DiscardUnknown()

func (*Value) XXX_Marshal

func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Value) XXX_Merge

func (m *Value) XXX_Merge(src proto.Message)

func (*Value) XXX_OneofWrappers

func (*Value) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Value) XXX_Size

func (m *Value) XXX_Size() int

func (*Value) XXX_Unmarshal

func (m *Value) XXX_Unmarshal(b []byte) error

type ValueFrequency

type ValueFrequency struct {
	// A value contained in the field in question.
	Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// How many times the value is contained in the field.
	Count                int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A value of a field, including its frequency.

func (*ValueFrequency) Descriptor

func (*ValueFrequency) Descriptor() ([]byte, []int)

func (*ValueFrequency) GetCount

func (m *ValueFrequency) GetCount() int64

func (*ValueFrequency) GetValue

func (m *ValueFrequency) GetValue() *Value

func (*ValueFrequency) ProtoMessage

func (*ValueFrequency) ProtoMessage()

func (*ValueFrequency) Reset

func (m *ValueFrequency) Reset()

func (*ValueFrequency) String

func (m *ValueFrequency) String() string

func (*ValueFrequency) XXX_DiscardUnknown

func (m *ValueFrequency) XXX_DiscardUnknown()

func (*ValueFrequency) XXX_Marshal

func (m *ValueFrequency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueFrequency) XXX_Merge

func (m *ValueFrequency) XXX_Merge(src proto.Message)

func (*ValueFrequency) XXX_Size

func (m *ValueFrequency) XXX_Size() int

func (*ValueFrequency) XXX_Unmarshal

func (m *ValueFrequency) XXX_Unmarshal(b []byte) error

type Value_BooleanValue

type Value_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,4,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}

type Value_DateValue

type Value_DateValue struct {
	DateValue *date.Date `protobuf:"bytes,7,opt,name=date_value,json=dateValue,proto3,oneof"`
}

type Value_DayOfWeekValue

type Value_DayOfWeekValue struct {
	DayOfWeekValue dayofweek.DayOfWeek `protobuf:"varint,8,opt,name=day_of_week_value,json=dayOfWeekValue,proto3,enum=google.type.DayOfWeek,oneof"`
}

type Value_FloatValue

type Value_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Value_IntegerValue

type Value_IntegerValue struct {
	IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Value_TimeValue

type Value_TimeValue struct {
	TimeValue *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=time_value,json=timeValue,proto3,oneof"`
}

type Value_TimestampValue

type Value_TimestampValue struct {
	TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL