dlp

package
v0.0.0-...-2a72893 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 14 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",
}
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,
}
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 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",
}
View Source
var DlpJob_JobState_value = map[string]int32{
	"JOB_STATE_UNSPECIFIED": 0,
	"PENDING":               1,
	"RUNNING":               2,
	"DONE":                  3,
	"CANCELED":              4,
	"FAILED":                5,
}
View Source
var FileType_name = map[int32]string{
	0: "FILE_TYPE_UNSPECIFIED",
	1: "BINARY_FILE",
	2: "TEXT_FILE",
}
View Source
var FileType_value = map[string]int32{
	"FILE_TYPE_UNSPECIFIED": 0,
	"BINARY_FILE":           1,
	"TEXT_FILE":             2,
}
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 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 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               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) GetPubSub

func (m *Action) GetPubSub() *Action_PublishToPubSub

func (*Action) GetPublishSummaryToCscc

func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc

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 (dst *Action) XXX_Merge(src proto.Message)

func (*Action) XXX_OneofFuncs

func (*Action) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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_PubSub

type Action_PubSub struct {
	PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,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 (dst *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 the results of a DlpJob to a pub sub channel. 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 (dst *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_SaveFindings

type Action_SaveFindings struct {
	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 (dst *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 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 (dst *AnalyzeDataSourceRiskDetails) XXX_Merge(src proto.Message)

func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs

func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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:"-"`
}

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:"-"`
}

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:"-"`
}

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 BigQueryKey

type BigQueryKey struct {
	// Complete BigQuery table reference.
	TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"`
	// Absolute number of the row from the beginning of the table at the time
	// of scanning.
	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 (dst *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"`
	// References to fields uniquely identifying rows within the table.
	// Nested fields in the format, like `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. Cannot be used in conjunction with TimespanConfig.
	RowsLimit            int64                        `protobuf:"varint,3,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"`
	SampleMethod         BigQueryOptions_SampleMethod `` /* 154-byte string literal not displayed */
	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) GetIdentifyingFields

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

func (*BigQueryOptions) GetRowsLimit

func (m *BigQueryOptions) GetRowsLimit() int64

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 (dst *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 rows_limit. 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 (dst *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 (dst *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 (dst *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 (dst *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 (dst *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
const (
	ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0
	ByteContentItem_IMAGE                  ByteContentItem_BytesType = 6
	ByteContentItem_IMAGE_JPEG             ByteContentItem_BytesType = 1
	ByteContentItem_IMAGE_BMP              ByteContentItem_BytesType = 2
	ByteContentItem_IMAGE_PNG              ByteContentItem_BytesType = 3
	ByteContentItem_IMAGE_SVG              ByteContentItem_BytesType = 4
	ByteContentItem_TEXT_UTF8              ByteContentItem_BytesType = 5
)

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 {
	// 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 (dst *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 mask the sensitive values&mdash;for example, "*" for an
	// alphabetic string such as name, or "0" for a numeric string such as ZIP
	// code or credit card number. String must have length 1. If not supplied, we
	// will default to "*" for strings, 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
	// 1234-5678-9012-3456 -> 00000000000000-3456
	// If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
	// is true, then 12345 -> 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.
	// For example, if your string is 555-555-5555 and you ask us to skip `-` and
	// mask 5 chars with * we would produce ***-*55-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 (dst *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 (dst *CharsToIgnore) XXX_Merge(src proto.Message)

func (*CharsToIgnore) XXX_OneofFuncs

func (*CharsToIgnore) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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
const (
	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 CloudStorageOptions

type CloudStorageOptions struct {
	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.
	BytesLimitPerFile int64 `protobuf:"varint,4,opt,name=bytes_limit_per_file,json=bytesLimitPerFile,proto3" json:"bytes_limit_per_file,omitempty"`
	// List of file type groups to include in the scan.
	// If empty, all files are scanned and available data format processors
	// are applied.
	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 (path ending with *) within a Google Cloud Storage bucket.

func (*CloudStorageOptions) Descriptor

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

func (*CloudStorageOptions) GetBytesLimitPerFile

func (m *CloudStorageOptions) GetBytesLimitPerFile() int64

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 (dst *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 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:"-"`
}

Set of files to scan.

func (*CloudStorageOptions_FileSet) Descriptor

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

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 (dst *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 (dst *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 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 (dst *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 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 (dst *ContentItem) XXX_Merge(src proto.Message)

func (*ContentItem) XXX_OneofFuncs

func (*ContentItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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. 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
	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:"-"`
}

Findings container location data.

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) 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 (dst *ContentLocation) XXX_Merge(src proto.Message)

func (*ContentLocation) XXX_OneofFuncs

func (*ContentLocation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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_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 {
	// The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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"`
	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) 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 (dst *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 {
	// The parent resource name, for example projects/my-project-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"`
	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) 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 (dst *CreateDlpJobRequest) XXX_Merge(src proto.Message)

func (*CreateDlpJobRequest) XXX_OneofFuncs

func (*CreateDlpJobRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 {
	// The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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"`
	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) 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 (dst *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 {
	// The parent resource name, for example projects/my-project-id.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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"`
	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) 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 (dst *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 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 32 byte digest as an uppercase hex string (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). Currently, only string and integer values can be hashed.

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 (dst *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 {
	// 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 (dst *CryptoKey) XXX_Merge(src proto.Message)

func (*CryptoKey) XXX_OneofFuncs

func (*CryptoKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 {
	// The key used by the encryption algorithm. [required]
	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"`
	// 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 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.

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 (dst *CryptoReplaceFfxFpeConfig) XXX_Merge(src proto.Message)

func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs

func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (
	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 {
	// All CustomInfoTypes must have a name
	// that does not conflict with built-in InfoTypes or other CustomInfoTypes.
	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_
	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"`
	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) 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) 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 (dst *CustomInfoType) XXX_Merge(src proto.Message)

func (*CustomInfoType) XXX_OneofFuncs

func (*CustomInfoType) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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:"-"`
}

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 info type.

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 (dst *CustomInfoType_DetectionRule) XXX_Merge(src proto.Message)

func (*CustomInfoType_DetectionRule) XXX_OneofFuncs

func (*CustomInfoType_DetectionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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_OneofFuncs

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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.

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 (dst *CustomInfoType_Dictionary) XXX_Merge(src proto.Message)

func (*CustomInfoType_Dictionary) XXX_OneofFuncs

func (*CustomInfoType_Dictionary) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *CustomInfoType_Dictionary_WordList) XXX_Merge(src proto.Message)

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_Regex

type CustomInfoType_Regex struct {
	// Pattern defining the regular expression.
	Pattern              string   `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,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) 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 (dst *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_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 (dst *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 (dst *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 (dst *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 {
	// 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.
	// [Required]
	UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays,proto3" json:"upper_bound_days,omitempty"`
	// For example, -5 means shift date to at most 5 days back in the past.
	// [Required]
	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 method. 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 (dst *DateShiftConfig) XXX_Merge(src proto.Message)

func (*DateShiftConfig) XXX_OneofFuncs

func (*DateShiftConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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. All fields are optional, but
	// when set must be valid date or time values.
	Date                 *date.Date           `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	DayOfWeek            dayofweek.DayOfWeek  `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
	Time                 *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	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.

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 (dst *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:"-"`
}

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 (dst *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"`
	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) 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 (dst *DeidentifyConfig) XXX_Merge(src proto.Message)

func (*DeidentifyConfig) XXX_OneofFuncs

func (*DeidentifyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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.
	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"`
	// Optional 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"`
	// Optional 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 */
	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) 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 (dst *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 (dst *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 {
	// The template name. Output only.
	//
	// 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"`
	// The creation timestamp of a inspectTemplate, output only field.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of a inspectTemplate, output only field.
	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:"-"`
}

The DeidentifyTemplates contains instructions on how to deidentify 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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 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 (dst *DlpJob) XXX_Merge(src proto.Message)

func (*DlpJob) XXX_OneofFuncs

func (*DlpJob) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 type of DLP jobs.

const (
	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
const (
	DlpJob_JOB_STATE_UNSPECIFIED DlpJob_JobState = 0
	// The job has not yet started.
	DlpJob_PENDING DlpJob_JobState = 1
	// The job is currently running.
	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
)

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)
	// 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)
	// 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)
}

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.ClientConn) 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)
	// 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)
	// 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)
}

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 (dst *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 (dst *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 {
	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. Output only field.

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 (dst *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 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 (dst *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 {
	// Input field(s) to apply the transformation to. [required]
	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. [optional]
	//
	// 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 (dst *FieldTransformation) XXX_Merge(src proto.Message)

func (*FieldTransformation) XXX_OneofFuncs

func (*FieldTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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
)

func (FileType) EnumDescriptor

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

func (FileType) String

func (x FileType) String() string

type Finding

type Finding struct {
	// 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"`
	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) GetLikelihood

func (m *Finding) GetLikelihood() Likelihood

func (*Finding) GetLocation

func (m *Finding) GetLocation() *Location

func (*Finding) GetQuote

func (m *Finding) GetQuote() string

func (*Finding) GetQuoteInfo

func (m *Finding) GetQuoteInfo() *QuoteInfo

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 (dst *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 FixedSizeBucketingConfig

type FixedSizeBucketingConfig struct {
	// 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”. [Required].
	LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
	// 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+”.
	// [Required].
	UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	// 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. [Required].
	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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 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 (dst *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.
	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 (dst *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 */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

InfoType description.

func (*InfoTypeDescription) Descriptor

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

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 (dst *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 (dst *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 (
	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 {
	// Transformation for each infoType. Cannot specify more than one
	// for a given infoType. [required]
	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 (dst *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"`
	// Primitive transformation to apply to the infoType. [required]
	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.
	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 */
	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 */
	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) 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 (dst *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 `InspectDataSourceRequest`,
	// the maximum returned is 1000 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 1000
	// 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:"-"`
}

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 (dst *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.
	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"`
	// Optional 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"`
	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) 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 (dst *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 (dst *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 (dst *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 */
	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:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*InspectDataSourceDetails_Result) Descriptor

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

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 (dst *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. Are executed in the order
	// provided.
	Actions              []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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 (dst *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 (dst *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 {
	// The template name. Output only.
	//
	// 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"`
	// The creation timestamp of a inspectTemplate, output only field.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of a inspectTemplate, output only field.
	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 (dst *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 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/triggeredJobs/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"`
	// A stream of errors encountered when the trigger was activated. Repeated
	// errors may result in the JobTrigger automaticaly being paused.
	// Will return the last 100 errors. Whenever the JobTrigger is modified
	// this list will be cleared. Output only field.
	Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"`
	// The creation timestamp of a triggeredJob, output only field.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of a triggeredJob, output only field.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The timestamp of the last time this trigger executed, output only field.
	LastRunTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"`
	// A status for this trigger. [required]
	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 (dst *JobTrigger) XXX_Merge(src proto.Message)

func (*JobTrigger) XXX_OneofFuncs

func (*JobTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (
	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
	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) 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 (dst *JobTrigger_Trigger) XXX_Merge(src proto.Message)

func (*JobTrigger_Trigger) XXX_OneofFuncs

func (*JobTrigger_Trigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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_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 (dst *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 (dst *Key_PathElement) XXX_Merge(src proto.Message)

func (*Key_PathElement) XXX_OneofFuncs

func (*Key_PathElement) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *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 {
	// The wrapped data crypto key. [required]
	WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"`
	// The resource name of the KMS CryptoKey to use for unwrapping. [required]
	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. 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 (dst *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 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 {
	// The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional 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"`
	// Optional 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"`
	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) 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 (dst *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 (dst *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 {
	// The parent resource name, for example projects/my-project-id.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. 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.
	// * Supported fields for risk analysis jobs:
	//     - `state` - RUNNING|CANCELED|FINISHED|FAILED
	// * 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)
	//
	// 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"`
	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) 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 (dst *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 (dst *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 {
	// Optional 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"`
	// Optional 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"`
	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) 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 (dst *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 (dst *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 {
	// The parent resource name, for example projects/my-project-id or
	// organizations/my-org-id.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional 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"`
	// Optional 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"`
	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) 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 (dst *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 (dst *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 {
	// The parent resource name, for example `projects/my-project-id`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional 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"`
	// Optional 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"`
	// Optional 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 triggeredJob was created.
	// - `update_time`: corresponds to time the triggeredJob was last updated.
	// - `name`: corresponds to JobTrigger's name.
	OrderBy              string   `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,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) 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 (dst *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 (dst *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 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"`
	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) 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 (dst *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 OutputStorageConfig

type OutputStorageConfig struct {
	// 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,
	// and no changes will be made to an existing table.
	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 (dst *OutputStorageConfig) XXX_Merge(src proto.Message)

func (*OutputStorageConfig) XXX_OneofFuncs

func (*OutputStorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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.

const (
	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 (dst *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
	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) 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 (dst *PrimitiveTransformation) XXX_Merge(src proto.Message)

func (*PrimitiveTransformation) XXX_OneofFuncs

func (*PrimitiveTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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_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 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 (dst *PrivacyMetric) XXX_Merge(src proto.Message)

func (*PrivacyMetric) XXX_OneofFuncs

func (*PrivacyMetric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 {
	// Fields considered to be quasi-identifiers. No two fields can have the
	// same tag. [required]
	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.
	// Required 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"`
	// Optional 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 distict 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 (dst *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 {
	// Fields considered to be quasi-identifiers. No two columns can have the
	// same tag. [required]
	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.
	// Required 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. A column with a semantic tag attached.

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 (dst *PrivacyMetric_KMapEstimationConfig) XXX_Merge(src proto.Message)

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 {
	// Auxiliary table location. [required]
	Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	// Quasi-identifier columns. [required]
	QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// The relative frequency column must contain a floating-point number
	// between 0 and 1 (inclusive). Null values are assumed to be zero.
	// [required]
	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 {
	Field                *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	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 {
	// Identifies the column. [required]
	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:"-"`
}

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_OneofFuncs

func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *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 (dst *PrivacyMetric_NumericalStatsConfig) XXX_Merge(src proto.Message)

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 {
	// Identifies the column. [required]
	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 (dst *QuasiId) XXX_Merge(src proto.Message)

func (*QuasiId) XXX_OneofFuncs

func (*QuasiId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *QuoteInfo) XXX_Merge(src proto.Message)

func (*QuoteInfo) XXX_OneofFuncs

func (*QuoteInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *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 (dst *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 {
	// Field within the record this condition is evaluated against. [required]
	Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// Operator used to compare the field or infoType to the value. [required]
	Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=google.privacy.dlp.v2.RelationalOperator" json:"operator,omitempty"`
	// Value to compare against. [Required, 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.

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 (dst *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 {
	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 (dst *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 */
	// 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 (dst *RecordCondition_Expressions) XXX_Merge(src proto.Message)

func (*RecordCondition_Expressions) XXX_OneofFuncs

func (*RecordCondition_Expressions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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
const (
	RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED RecordCondition_Expressions_LogicalOperator = 0
	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"`
	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) 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 (dst *RecordKey) XXX_Merge(src proto.Message)

func (*RecordKey) XXX_OneofFuncs

func (*RecordKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *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 (dst *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 [optional].
	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 (dst *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 (dst *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.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,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) 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 (dst *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_OneofFuncs

func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *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 {
	// 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:
	//
	//  - `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"`
	// Optional 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"`
	// Optional 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 */
	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) 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 (dst *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 (dst *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 (
	RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED RelationalOperator = 0
	// Equal.
	RelationalOperator_EQUAL_TO RelationalOperator = 1
	// Not equal to.
	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 (dst *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 (dst *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 (dst *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 (dst *Schedule) XXX_Merge(src proto.Message)

func (*Schedule) XXX_OneofFuncs

func (*Schedule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 {
	// Auxiliary table location. [required]
	Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	// Quasi-identifier columns. [required]
	QuasiIds []*StatisticalTable_QuasiIdentifierField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
	// The relative frequency column must contain a floating-point number
	// between 0 and 1 (inclusive). Null values are assumed to be zero.
	// [required]
	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 (dst *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 {
	Field                *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	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
	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) 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 (dst *StorageConfig) XXX_Merge(src proto.Message)

func (*StorageConfig) XXX_OneofFuncs

func (*StorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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_TimespanConfig

type StorageConfig_TimespanConfig struct {
	// Exclude files older than this value.
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Exclude files 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.
	// Required for data sources like Datastore or BigQuery.
	// The valid data types of the timestamp field are:
	// for BigQuery - timestamp, date, datetime;
	// for Datastore - 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 (dst *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 Table

type Table struct {
	Headers              []*FieldId   `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	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 (dst *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.
	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 (dst *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 Table_Row

type Table_Row struct {
	Values               []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 (dst *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 {
	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 (dst *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
const (
	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-52]
	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 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 (dst *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 info_type.
	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"`
	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 tranformation. 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 (dst *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 {
	Count int64                                          `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	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 (
	TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED TransformationSummary_TransformationResultCode = 0
	TransformationSummary_SUCCESS                                TransformationSummary_TransformationResultCode = 1
	TransformationSummary_ERROR                                  TransformationSummary_TransformationResultCode = 2
)

func (TransformationSummary_TransformationResultCode) EnumDescriptor

func (TransformationSummary_TransformationResultCode) String

type TransientCryptoKey

type TransientCryptoKey struct {
	// Name of the key. [required]
	// 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 (dst *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 UnwrappedCryptoKey

type UnwrappedCryptoKey struct {
	// The AES 128/192/256 bit key. [required]
	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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 {
	// 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 (dst *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 Value

type Value struct {
	// 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 (dst *Value) XXX_Merge(src proto.Message)

func (*Value) XXX_OneofFuncs

func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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 (dst *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