Package cloud.google.com/go/dlp/apiv2/dlppb (v1.14.3)

Variables

TransformationResultStatusType_name, TransformationResultStatusType_value

var (
	TransformationResultStatusType_name = map[int32]string{
		0: "STATE_TYPE_UNSPECIFIED",
		1: "INVALID_TRANSFORM",
		2: "BIGQUERY_MAX_ROW_SIZE_EXCEEDED",
		3: "METADATA_UNRETRIEVABLE",
		4: "SUCCESS",
	}
	TransformationResultStatusType_value = map[string]int32{
		"STATE_TYPE_UNSPECIFIED":         0,
		"INVALID_TRANSFORM":              1,
		"BIGQUERY_MAX_ROW_SIZE_EXCEEDED": 2,
		"METADATA_UNRETRIEVABLE":         3,
		"SUCCESS":                        4,
	}
)

Enum value maps for TransformationResultStatusType.

TransformationContainerType_name, TransformationContainerType_value

var (
	TransformationContainerType_name = map[int32]string{
		0: "TRANSFORM_UNKNOWN_CONTAINER",
		1: "TRANSFORM_BODY",
		2: "TRANSFORM_METADATA",
		3: "TRANSFORM_TABLE",
	}
	TransformationContainerType_value = map[string]int32{
		"TRANSFORM_UNKNOWN_CONTAINER": 0,
		"TRANSFORM_BODY":              1,
		"TRANSFORM_METADATA":          2,
		"TRANSFORM_TABLE":             3,
	}
)

Enum value maps for TransformationContainerType.

TransformationType_name, TransformationType_value

var (
	TransformationType_name = map[int32]string{
		0:  "TRANSFORMATION_TYPE_UNSPECIFIED",
		1:  "RECORD_SUPPRESSION",
		2:  "REPLACE_VALUE",
		15: "REPLACE_DICTIONARY",
		3:  "REDACT",
		4:  "CHARACTER_MASK",
		5:  "CRYPTO_REPLACE_FFX_FPE",
		6:  "FIXED_SIZE_BUCKETING",
		7:  "BUCKETING",
		8:  "REPLACE_WITH_INFO_TYPE",
		9:  "TIME_PART",
		10: "CRYPTO_HASH",
		12: "DATE_SHIFT",
		13: "CRYPTO_DETERMINISTIC_CONFIG",
		14: "REDACT_IMAGE",
	}
	TransformationType_value = map[string]int32{
		"TRANSFORMATION_TYPE_UNSPECIFIED": 0,
		"RECORD_SUPPRESSION":              1,
		"REPLACE_VALUE":                   2,
		"REPLACE_DICTIONARY":              15,
		"REDACT":                          3,
		"CHARACTER_MASK":                  4,
		"CRYPTO_REPLACE_FFX_FPE":          5,
		"FIXED_SIZE_BUCKETING":            6,
		"BUCKETING":                       7,
		"REPLACE_WITH_INFO_TYPE":          8,
		"TIME_PART":                       9,
		"CRYPTO_HASH":                     10,
		"DATE_SHIFT":                      12,
		"CRYPTO_DETERMINISTIC_CONFIG":     13,
		"REDACT_IMAGE":                    14,
	}
)

Enum value maps for TransformationType.

BigQueryTableTypeCollection_name, BigQueryTableTypeCollection_value

var (
	BigQueryTableTypeCollection_name = map[int32]string{
		0: "BIG_QUERY_COLLECTION_UNSPECIFIED",
		1: "BIG_QUERY_COLLECTION_ALL_TYPES",
		2: "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES",
	}
	BigQueryTableTypeCollection_value = map[string]int32{
		"BIG_QUERY_COLLECTION_UNSPECIFIED":          0,
		"BIG_QUERY_COLLECTION_ALL_TYPES":            1,
		"BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES": 2,
	}
)

Enum value maps for BigQueryTableTypeCollection.

BigQueryTableType_name, BigQueryTableType_value

var (
	BigQueryTableType_name = map[int32]string{
		0: "BIG_QUERY_TABLE_TYPE_UNSPECIFIED",
		1: "BIG_QUERY_TABLE_TYPE_TABLE",
		2: "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE",
	}
	BigQueryTableType_value = map[string]int32{
		"BIG_QUERY_TABLE_TYPE_UNSPECIFIED":       0,
		"BIG_QUERY_TABLE_TYPE_TABLE":             1,
		"BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2,
	}
)

Enum value maps for BigQueryTableType.

DataProfileUpdateFrequency_name, DataProfileUpdateFrequency_value

var (
	DataProfileUpdateFrequency_name = map[int32]string{
		0: "UPDATE_FREQUENCY_UNSPECIFIED",
		1: "UPDATE_FREQUENCY_NEVER",
		2: "UPDATE_FREQUENCY_DAILY",
		4: "UPDATE_FREQUENCY_MONTHLY",
	}
	DataProfileUpdateFrequency_value = map[string]int32{
		"UPDATE_FREQUENCY_UNSPECIFIED": 0,
		"UPDATE_FREQUENCY_NEVER":       1,
		"UPDATE_FREQUENCY_DAILY":       2,
		"UPDATE_FREQUENCY_MONTHLY":     4,
	}
)

Enum value maps for DataProfileUpdateFrequency.

BigQueryTableModification_name, BigQueryTableModification_value

var (
	BigQueryTableModification_name = map[int32]string{
		0: "TABLE_MODIFICATION_UNSPECIFIED",
		1: "TABLE_MODIFIED_TIMESTAMP",
	}
	BigQueryTableModification_value = map[string]int32{
		"TABLE_MODIFICATION_UNSPECIFIED": 0,
		"TABLE_MODIFIED_TIMESTAMP":       1,
	}
)

Enum value maps for BigQueryTableModification.

BigQuerySchemaModification_name, BigQuerySchemaModification_value

var (
	BigQuerySchemaModification_name = map[int32]string{
		0: "SCHEMA_MODIFICATION_UNSPECIFIED",
		1: "SCHEMA_NEW_COLUMNS",
		2: "SCHEMA_REMOVED_COLUMNS",
	}
	BigQuerySchemaModification_value = map[string]int32{
		"SCHEMA_MODIFICATION_UNSPECIFIED": 0,
		"SCHEMA_NEW_COLUMNS":              1,
		"SCHEMA_REMOVED_COLUMNS":          2,
	}
)

Enum value maps for BigQuerySchemaModification.

RelationalOperator_name, RelationalOperator_value

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",
	}
	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,
	}
)

Enum value maps for RelationalOperator.

MatchingType_name, MatchingType_value

var (
	MatchingType_name = map[int32]string{
		0: "MATCHING_TYPE_UNSPECIFIED",
		1: "MATCHING_TYPE_FULL_MATCH",
		2: "MATCHING_TYPE_PARTIAL_MATCH",
		3: "MATCHING_TYPE_INVERSE_MATCH",
	}
	MatchingType_value = map[string]int32{
		"MATCHING_TYPE_UNSPECIFIED":   0,
		"MATCHING_TYPE_FULL_MATCH":    1,
		"MATCHING_TYPE_PARTIAL_MATCH": 2,
		"MATCHING_TYPE_INVERSE_MATCH": 3,
	}
)

Enum value maps for MatchingType.

ContentOption_name, ContentOption_value

var (
	ContentOption_name = map[int32]string{
		0: "CONTENT_UNSPECIFIED",
		1: "CONTENT_TEXT",
		2: "CONTENT_IMAGE",
	}
	ContentOption_value = map[string]int32{
		"CONTENT_UNSPECIFIED": 0,
		"CONTENT_TEXT":        1,
		"CONTENT_IMAGE":       2,
	}
)

Enum value maps for ContentOption.

MetadataType_name, MetadataType_value

var (
	MetadataType_name = map[int32]string{
		0: "METADATATYPE_UNSPECIFIED",
		2: "STORAGE_METADATA",
	}
	MetadataType_value = map[string]int32{
		"METADATATYPE_UNSPECIFIED": 0,
		"STORAGE_METADATA":         2,
	}
)

Enum value maps for MetadataType.

InfoTypeSupportedBy_name, InfoTypeSupportedBy_value

var (
	InfoTypeSupportedBy_name = map[int32]string{
		0: "ENUM_TYPE_UNSPECIFIED",
		1: "INSPECT",
		2: "RISK_ANALYSIS",
	}
	InfoTypeSupportedBy_value = map[string]int32{
		"ENUM_TYPE_UNSPECIFIED": 0,
		"INSPECT":               1,
		"RISK_ANALYSIS":         2,
	}
)

Enum value maps for InfoTypeSupportedBy.

DlpJobType_name, DlpJobType_value

var (
	DlpJobType_name = map[int32]string{
		0: "DLP_JOB_TYPE_UNSPECIFIED",
		1: "INSPECT_JOB",
		2: "RISK_ANALYSIS_JOB",
	}
	DlpJobType_value = map[string]int32{
		"DLP_JOB_TYPE_UNSPECIFIED": 0,
		"INSPECT_JOB":              1,
		"RISK_ANALYSIS_JOB":        2,
	}
)

Enum value maps for DlpJobType.

StoredInfoTypeState_name, StoredInfoTypeState_value

var (
	StoredInfoTypeState_name = map[int32]string{
		0: "STORED_INFO_TYPE_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "READY",
		3: "FAILED",
		4: "INVALID",
	}
	StoredInfoTypeState_value = map[string]int32{
		"STORED_INFO_TYPE_STATE_UNSPECIFIED": 0,
		"PENDING":                            1,
		"READY":                              2,
		"FAILED":                             3,
		"INVALID":                            4,
	}
)

Enum value maps for StoredInfoTypeState.

ResourceVisibility_name, ResourceVisibility_value

var (
	ResourceVisibility_name = map[int32]string{
		0:  "RESOURCE_VISIBILITY_UNSPECIFIED",
		10: "RESOURCE_VISIBILITY_PUBLIC",
		15: "RESOURCE_VISIBILITY_INCONCLUSIVE",
		20: "RESOURCE_VISIBILITY_RESTRICTED",
	}
	ResourceVisibility_value = map[string]int32{
		"RESOURCE_VISIBILITY_UNSPECIFIED":  0,
		"RESOURCE_VISIBILITY_PUBLIC":       10,
		"RESOURCE_VISIBILITY_INCONCLUSIVE": 15,
		"RESOURCE_VISIBILITY_RESTRICTED":   20,
	}
)

Enum value maps for ResourceVisibility.

EncryptionStatus_name, EncryptionStatus_value

var (
	EncryptionStatus_name = map[int32]string{
		0: "ENCRYPTION_STATUS_UNSPECIFIED",
		1: "ENCRYPTION_GOOGLE_MANAGED",
		2: "ENCRYPTION_CUSTOMER_MANAGED",
	}
	EncryptionStatus_value = map[string]int32{
		"ENCRYPTION_STATUS_UNSPECIFIED": 0,
		"ENCRYPTION_GOOGLE_MANAGED":     1,
		"ENCRYPTION_CUSTOMER_MANAGED":   2,
	}
)

Enum value maps for EncryptionStatus.

NullPercentageLevel_name, NullPercentageLevel_value

var (
	NullPercentageLevel_name = map[int32]string{
		0: "NULL_PERCENTAGE_LEVEL_UNSPECIFIED",
		1: "NULL_PERCENTAGE_VERY_LOW",
		2: "NULL_PERCENTAGE_LOW",
		3: "NULL_PERCENTAGE_MEDIUM",
		4: "NULL_PERCENTAGE_HIGH",
	}
	NullPercentageLevel_value = map[string]int32{
		"NULL_PERCENTAGE_LEVEL_UNSPECIFIED": 0,
		"NULL_PERCENTAGE_VERY_LOW":          1,
		"NULL_PERCENTAGE_LOW":               2,
		"NULL_PERCENTAGE_MEDIUM":            3,
		"NULL_PERCENTAGE_HIGH":              4,
	}
)

Enum value maps for NullPercentageLevel.

UniquenessScoreLevel_name, UniquenessScoreLevel_value

var (
	UniquenessScoreLevel_name = map[int32]string{
		0: "UNIQUENESS_SCORE_LEVEL_UNSPECIFIED",
		1: "UNIQUENESS_SCORE_LOW",
		2: "UNIQUENESS_SCORE_MEDIUM",
		3: "UNIQUENESS_SCORE_HIGH",
	}
	UniquenessScoreLevel_value = map[string]int32{
		"UNIQUENESS_SCORE_LEVEL_UNSPECIFIED": 0,
		"UNIQUENESS_SCORE_LOW":               1,
		"UNIQUENESS_SCORE_MEDIUM":            2,
		"UNIQUENESS_SCORE_HIGH":              3,
	}
)

Enum value maps for UniquenessScoreLevel.

ConnectionState_name, ConnectionState_value

var (
	ConnectionState_name = map[int32]string{
		0: "CONNECTION_STATE_UNSPECIFIED",
		1: "MISSING_CREDENTIALS",
		2: "AVAILABLE",
		3: "ERROR",
	}
	ConnectionState_value = map[string]int32{
		"CONNECTION_STATE_UNSPECIFIED": 0,
		"MISSING_CREDENTIALS":          1,
		"AVAILABLE":                    2,
		"ERROR":                        3,
	}
)

Enum value maps for ConnectionState.

ByteContentItem_BytesType_name, ByteContentItem_BytesType_value

var (
	ByteContentItem_BytesType_name = map[int32]string{
		0:  "BYTES_TYPE_UNSPECIFIED",
		6:  "IMAGE",
		1:  "IMAGE_JPEG",
		2:  "IMAGE_BMP",
		3:  "IMAGE_PNG",
		4:  "IMAGE_SVG",
		5:  "TEXT_UTF8",
		7:  "WORD_DOCUMENT",
		8:  "PDF",
		9:  "POWERPOINT_DOCUMENT",
		10: "EXCEL_DOCUMENT",
		11: "AVRO",
		12: "CSV",
		13: "TSV",
	}
	ByteContentItem_BytesType_value = map[string]int32{
		"BYTES_TYPE_UNSPECIFIED": 0,
		"IMAGE":                  6,
		"IMAGE_JPEG":             1,
		"IMAGE_BMP":              2,
		"IMAGE_PNG":              3,
		"IMAGE_SVG":              4,
		"TEXT_UTF8":              5,
		"WORD_DOCUMENT":          7,
		"PDF":                    8,
		"POWERPOINT_DOCUMENT":    9,
		"EXCEL_DOCUMENT":         10,
		"AVRO":                   11,
		"CSV":                    12,
		"TSV":                    13,
	}
)

Enum value maps for ByteContentItem_BytesType.

OutputStorageConfig_OutputSchema_name, OutputStorageConfig_OutputSchema_value

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",
	}
	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,
	}
)

Enum value maps for OutputStorageConfig_OutputSchema.

InfoTypeCategory_LocationCategory_name, InfoTypeCategory_LocationCategory_value

var (
	InfoTypeCategory_LocationCategory_name = map[int32]string{
		0:  "LOCATION_UNSPECIFIED",
		1:  "GLOBAL",
		2:  "ARGENTINA",
		3:  "AUSTRALIA",
		48: "AZERBAIJAN",
		4:  "BELGIUM",
		5:  "BRAZIL",
		6:  "CANADA",
		7:  "CHILE",
		8:  "CHINA",
		9:  "COLOMBIA",
		42: "CROATIA",
		10: "DENMARK",
		11: "FRANCE",
		12: "FINLAND",
		13: "GERMANY",
		14: "HONG_KONG",
		15: "INDIA",
		16: "INDONESIA",
		17: "IRELAND",
		18: "ISRAEL",
		19: "ITALY",
		20: "JAPAN",
		47: "KAZAKHSTAN",
		21: "KOREA",
		22: "MEXICO",
		23: "THE_NETHERLANDS",
		41: "NEW_ZEALAND",
		24: "NORWAY",
		25: "PARAGUAY",
		26: "PERU",
		27: "POLAND",
		28: "PORTUGAL",
		44: "RUSSIA",
		29: "SINGAPORE",
		30: "SOUTH_AFRICA",
		31: "SPAIN",
		32: "SWEDEN",
		43: "SWITZERLAND",
		33: "TAIWAN",
		34: "THAILAND",
		35: "TURKEY",
		45: "UKRAINE",
		36: "UNITED_KINGDOM",
		37: "UNITED_STATES",
		38: "URUGUAY",
		46: "UZBEKISTAN",
		39: "VENEZUELA",
		40: "INTERNAL",
	}
	InfoTypeCategory_LocationCategory_value = map[string]int32{
		"LOCATION_UNSPECIFIED": 0,
		"GLOBAL":               1,
		"ARGENTINA":            2,
		"AUSTRALIA":            3,
		"AZERBAIJAN":           48,
		"BELGIUM":              4,
		"BRAZIL":               5,
		"CANADA":               6,
		"CHILE":                7,
		"CHINA":                8,
		"COLOMBIA":             9,
		"CROATIA":              42,
		"DENMARK":              10,
		"FRANCE":               11,
		"FINLAND":              12,
		"GERMANY":              13,
		"HONG_KONG":            14,
		"INDIA":                15,
		"INDONESIA":            16,
		"IRELAND":              17,
		"ISRAEL":               18,
		"ITALY":                19,
		"JAPAN":                20,
		"KAZAKHSTAN":           47,
		"KOREA":                21,
		"MEXICO":               22,
		"THE_NETHERLANDS":      23,
		"NEW_ZEALAND":          41,
		"NORWAY":               24,
		"PARAGUAY":             25,
		"PERU":                 26,
		"POLAND":               27,
		"PORTUGAL":             28,
		"RUSSIA":               44,
		"SINGAPORE":            29,
		"SOUTH_AFRICA":         30,
		"SPAIN":                31,
		"SWEDEN":               32,
		"SWITZERLAND":          43,
		"TAIWAN":               33,
		"THAILAND":             34,
		"TURKEY":               35,
		"UKRAINE":              45,
		"UNITED_KINGDOM":       36,
		"UNITED_STATES":        37,
		"URUGUAY":              38,
		"UZBEKISTAN":           46,
		"VENEZUELA":            39,
		"INTERNAL":             40,
	}
)

Enum value maps for InfoTypeCategory_LocationCategory.

InfoTypeCategory_IndustryCategory_name, InfoTypeCategory_IndustryCategory_value

var (
	InfoTypeCategory_IndustryCategory_name = map[int32]string{
		0: "INDUSTRY_UNSPECIFIED",
		1: "FINANCE",
		2: "HEALTH",
		3: "TELECOMMUNICATIONS",
	}
	InfoTypeCategory_IndustryCategory_value = map[string]int32{
		"INDUSTRY_UNSPECIFIED": 0,
		"FINANCE":              1,
		"HEALTH":               2,
		"TELECOMMUNICATIONS":   3,
	}
)

Enum value maps for InfoTypeCategory_IndustryCategory.

InfoTypeCategory_TypeCategory_name, InfoTypeCategory_TypeCategory_value

var (
	InfoTypeCategory_TypeCategory_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "PII",
		2: "SPII",
		3: "DEMOGRAPHIC",
		4: "CREDENTIAL",
		5: "GOVERNMENT_ID",
		6: "DOCUMENT",
		7: "CONTEXTUAL_INFORMATION",
	}
	InfoTypeCategory_TypeCategory_value = map[string]int32{
		"TYPE_UNSPECIFIED":       0,
		"PII":                    1,
		"SPII":                   2,
		"DEMOGRAPHIC":            3,
		"CREDENTIAL":             4,
		"GOVERNMENT_ID":          5,
		"DOCUMENT":               6,
		"CONTEXTUAL_INFORMATION": 7,
	}
)

Enum value maps for InfoTypeCategory_TypeCategory.

TimePartConfig_TimePart_name, TimePartConfig_TimePart_value

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",
	}
	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,
	}
)

Enum value maps for TimePartConfig_TimePart.

CharsToIgnore_CommonCharsToIgnore_name, CharsToIgnore_CommonCharsToIgnore_value

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",
	}
	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,
	}
)

Enum value maps for CharsToIgnore_CommonCharsToIgnore.

CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name, CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value

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",
	}
	CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value = map[string]int32{
		"FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED": 0,
		"NUMERIC":                                1,
		"HEXADECIMAL":                            2,
		"UPPER_CASE_ALPHA_NUMERIC":               3,
		"ALPHA_NUMERIC":                          4,
	}
)

Enum value maps for CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet.

RecordCondition_Expressions_LogicalOperator_name, RecordCondition_Expressions_LogicalOperator_value

var (
	RecordCondition_Expressions_LogicalOperator_name = map[int32]string{
		0: "LOGICAL_OPERATOR_UNSPECIFIED",
		1: "AND",
	}
	RecordCondition_Expressions_LogicalOperator_value = map[string]int32{
		"LOGICAL_OPERATOR_UNSPECIFIED": 0,
		"AND":                          1,
	}
)

Enum value maps for RecordCondition_Expressions_LogicalOperator.

TransformationSummary_TransformationResultCode_name, TransformationSummary_TransformationResultCode_value

var (
	TransformationSummary_TransformationResultCode_name = map[int32]string{
		0: "TRANSFORMATION_RESULT_CODE_UNSPECIFIED",
		1: "SUCCESS",
		2: "ERROR",
	}
	TransformationSummary_TransformationResultCode_value = map[string]int32{
		"TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
		"SUCCESS":                                1,
		"ERROR":                                  2,
	}
)

Enum value maps for TransformationSummary_TransformationResultCode.

JobTrigger_Status_name, JobTrigger_Status_value

var (
	JobTrigger_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "HEALTHY",
		2: "PAUSED",
		3: "CANCELLED",
	}
	JobTrigger_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"HEALTHY":            1,
		"PAUSED":             2,
		"CANCELLED":          3,
	}
)

Enum value maps for JobTrigger_Status.

DataProfileAction_EventType_name, DataProfileAction_EventType_value

var (
	DataProfileAction_EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNSPECIFIED",
		1: "NEW_PROFILE",
		2: "CHANGED_PROFILE",
		3: "SCORE_INCREASED",
		4: "ERROR_CHANGED",
	}
	DataProfileAction_EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED": 0,
		"NEW_PROFILE":            1,
		"CHANGED_PROFILE":        2,
		"SCORE_INCREASED":        3,
		"ERROR_CHANGED":          4,
	}
)

Enum value maps for DataProfileAction_EventType.

DataProfileAction_PubSubNotification_DetailLevel_name, DataProfileAction_PubSubNotification_DetailLevel_value

var (
	DataProfileAction_PubSubNotification_DetailLevel_name = map[int32]string{
		0: "DETAIL_LEVEL_UNSPECIFIED",
		1: "TABLE_PROFILE",
		2: "RESOURCE_NAME",
	}
	DataProfileAction_PubSubNotification_DetailLevel_value = map[string]int32{
		"DETAIL_LEVEL_UNSPECIFIED": 0,
		"TABLE_PROFILE":            1,
		"RESOURCE_NAME":            2,
	}
)

Enum value maps for DataProfileAction_PubSubNotification_DetailLevel.

DiscoveryConfig_Status_name, DiscoveryConfig_Status_value

var (
	DiscoveryConfig_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "RUNNING",
		2: "PAUSED",
	}
	DiscoveryConfig_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"RUNNING":            1,
		"PAUSED":             2,
	}
)

Enum value maps for DiscoveryConfig_Status.

DiscoveryCloudSqlConditions_DatabaseEngine_name, DiscoveryCloudSqlConditions_DatabaseEngine_value

var (
	DiscoveryCloudSqlConditions_DatabaseEngine_name = map[int32]string{
		0: "DATABASE_ENGINE_UNSPECIFIED",
		1: "ALL_SUPPORTED_DATABASE_ENGINES",
		2: "MYSQL",
		3: "POSTGRES",
	}
	DiscoveryCloudSqlConditions_DatabaseEngine_value = map[string]int32{
		"DATABASE_ENGINE_UNSPECIFIED":    0,
		"ALL_SUPPORTED_DATABASE_ENGINES": 1,
		"MYSQL":                          2,
		"POSTGRES":                       3,
	}
)

Enum value maps for DiscoveryCloudSqlConditions_DatabaseEngine.

DiscoveryCloudSqlConditions_DatabaseResourceType_name, DiscoveryCloudSqlConditions_DatabaseResourceType_value

var (
	DiscoveryCloudSqlConditions_DatabaseResourceType_name = map[int32]string{
		0: "DATABASE_RESOURCE_TYPE_UNSPECIFIED",
		1: "DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES",
		2: "DATABASE_RESOURCE_TYPE_TABLE",
	}
	DiscoveryCloudSqlConditions_DatabaseResourceType_value = map[string]int32{
		"DATABASE_RESOURCE_TYPE_UNSPECIFIED":         0,
		"DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES": 1,
		"DATABASE_RESOURCE_TYPE_TABLE":               2,
	}
)

Enum value maps for DiscoveryCloudSqlConditions_DatabaseResourceType.

DiscoveryCloudSqlGenerationCadence_SchemaModifiedCadence_CloudSqlSchemaModification_name, DiscoveryCloudSqlGenerationCadence_SchemaModifiedCadence_CloudSqlSchemaModification_value

var (
	DiscoveryCloudSqlGenerationCadence_SchemaModifiedCadence_CloudSqlSchemaModification_name = map[int32]string{
		0: "SQL_SCHEMA_MODIFICATION_UNSPECIFIED",
		1: "NEW_COLUMNS",
		2: "REMOVED_COLUMNS",
	}
	DiscoveryCloudSqlGenerationCadence_SchemaModifiedCadence_CloudSqlSchemaModification_value = map[string]int32{
		"SQL_SCHEMA_MODIFICATION_UNSPECIFIED": 0,
		"NEW_COLUMNS":                         1,
		"REMOVED_COLUMNS":                     2,
	}
)

Enum value maps for DiscoveryCloudSqlGenerationCadence_SchemaModifiedCadence_CloudSqlSchemaModification.

DlpJob_JobState_name, DlpJob_JobState_value

var (
	DlpJob_JobState_name = map[int32]string{
		0: "JOB_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
		4: "CANCELED",
		5: "FAILED",
		6: "ACTIVE",
	}
	DlpJob_JobState_value = map[string]int32{
		"JOB_STATE_UNSPECIFIED": 0,
		"PENDING":               1,
		"RUNNING":               2,
		"DONE":                  3,
		"CANCELED":              4,
		"FAILED":                5,
		"ACTIVE":                6,
	}
)

Enum value maps for DlpJob_JobState.

DataRiskLevel_DataRiskLevelScore_name, DataRiskLevel_DataRiskLevelScore_value

var (
	DataRiskLevel_DataRiskLevelScore_name = map[int32]string{
		0:  "RISK_SCORE_UNSPECIFIED",
		10: "RISK_LOW",
		20: "RISK_MODERATE",
		30: "RISK_HIGH",
	}
	DataRiskLevel_DataRiskLevelScore_value = map[string]int32{
		"RISK_SCORE_UNSPECIFIED": 0,
		"RISK_LOW":               10,
		"RISK_MODERATE":          20,
		"RISK_HIGH":              30,
	}
)

Enum value maps for DataRiskLevel_DataRiskLevelScore.

TableDataProfile_State_name, TableDataProfile_State_value

var (
	TableDataProfile_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "DONE",
	}
	TableDataProfile_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"DONE":              2,
	}
)

Enum value maps for TableDataProfile_State.

ColumnDataProfile_State_name, ColumnDataProfile_State_value

var (
	ColumnDataProfile_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "DONE",
	}
	ColumnDataProfile_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"DONE":              2,
	}
)

Enum value maps for ColumnDataProfile_State.

ColumnDataProfile_ColumnDataType_name, ColumnDataProfile_ColumnDataType_value

var (
	ColumnDataProfile_ColumnDataType_name = map[int32]string{
		0:  "COLUMN_DATA_TYPE_UNSPECIFIED",
		1:  "TYPE_INT64",
		2:  "TYPE_BOOL",
		3:  "TYPE_FLOAT64",
		4:  "TYPE_STRING",
		5:  "TYPE_BYTES",
		6:  "TYPE_TIMESTAMP",
		7:  "TYPE_DATE",
		8:  "TYPE_TIME",
		9:  "TYPE_DATETIME",
		10: "TYPE_GEOGRAPHY",
		11: "TYPE_NUMERIC",
		12: "TYPE_RECORD",
		13: "TYPE_BIGNUMERIC",
		14: "TYPE_JSON",
		15: "TYPE_INTERVAL",
		16: "TYPE_RANGE_DATE",
		17: "TYPE_RANGE_DATETIME",
		18: "TYPE_RANGE_TIMESTAMP",
	}
	ColumnDataProfile_ColumnDataType_value = map[string]int32{
		"COLUMN_DATA_TYPE_UNSPECIFIED": 0,
		"TYPE_INT64":                   1,
		"TYPE_BOOL":                    2,
		"TYPE_FLOAT64":                 3,
		"TYPE_STRING":                  4,
		"TYPE_BYTES":                   5,
		"TYPE_TIMESTAMP":               6,
		"TYPE_DATE":                    7,
		"TYPE_TIME":                    8,
		"TYPE_DATETIME":                9,
		"TYPE_GEOGRAPHY":               10,
		"TYPE_NUMERIC":                 11,
		"TYPE_RECORD":                  12,
		"TYPE_BIGNUMERIC":              13,
		"TYPE_JSON":                    14,
		"TYPE_INTERVAL":                15,
		"TYPE_RANGE_DATE":              16,
		"TYPE_RANGE_DATETIME":          17,
		"TYPE_RANGE_TIMESTAMP":         18,
	}
)

Enum value maps for ColumnDataProfile_ColumnDataType.

ColumnDataProfile_ColumnPolicyState_name, ColumnDataProfile_ColumnPolicyState_value

var (
	ColumnDataProfile_ColumnPolicyState_name = map[int32]string{
		0: "COLUMN_POLICY_STATE_UNSPECIFIED",
		1: "COLUMN_POLICY_TAGGED",
	}
	ColumnDataProfile_ColumnPolicyState_value = map[string]int32{
		"COLUMN_POLICY_STATE_UNSPECIFIED": 0,
		"COLUMN_POLICY_TAGGED":            1,
	}
)

Enum value maps for ColumnDataProfile_ColumnPolicyState.

DataProfilePubSubCondition_ProfileScoreBucket_name, DataProfilePubSubCondition_ProfileScoreBucket_value

var (
	DataProfilePubSubCondition_ProfileScoreBucket_name = map[int32]string{
		0: "PROFILE_SCORE_BUCKET_UNSPECIFIED",
		1: "HIGH",
		2: "MEDIUM_OR_HIGH",
	}
	DataProfilePubSubCondition_ProfileScoreBucket_value = map[string]int32{
		"PROFILE_SCORE_BUCKET_UNSPECIFIED": 0,
		"HIGH":                             1,
		"MEDIUM_OR_HIGH":                   2,
	}
)

Enum value maps for DataProfilePubSubCondition_ProfileScoreBucket.

DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator_name, DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator_value

var (
	DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator_name = map[int32]string{
		0: "LOGICAL_OPERATOR_UNSPECIFIED",
		1: "OR",
		2: "AND",
	}
	DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator_value = map[string]int32{
		"LOGICAL_OPERATOR_UNSPECIFIED": 0,
		"OR":                           1,
		"AND":                          2,
	}
)

Enum value maps for DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator.

CloudSqlProperties_DatabaseEngine_name, CloudSqlProperties_DatabaseEngine_value

var (
	CloudSqlProperties_DatabaseEngine_name = map[int32]string{
		0: "DATABASE_ENGINE_UNKNOWN",
		1: "DATABASE_ENGINE_MYSQL",
		2: "DATABASE_ENGINE_POSTGRES",
	}
	CloudSqlProperties_DatabaseEngine_value = map[string]int32{
		"DATABASE_ENGINE_UNKNOWN":  0,
		"DATABASE_ENGINE_MYSQL":    1,
		"DATABASE_ENGINE_POSTGRES": 2,
	}
)

Enum value maps for CloudSqlProperties_DatabaseEngine.

Likelihood_name, Likelihood_value

var (
	Likelihood_name = map[int32]string{
		0: "LIKELIHOOD_UNSPECIFIED",
		1: "VERY_UNLIKELY",
		2: "UNLIKELY",
		3: "POSSIBLE",
		4: "LIKELY",
		5: "VERY_LIKELY",
	}
	Likelihood_value = map[string]int32{
		"LIKELIHOOD_UNSPECIFIED": 0,
		"VERY_UNLIKELY":          1,
		"UNLIKELY":               2,
		"POSSIBLE":               3,
		"LIKELY":                 4,
		"VERY_LIKELY":            5,
	}
)

Enum value maps for Likelihood.

FileType_name, FileType_value

var (
	FileType_name = map[int32]string{
		0:  "FILE_TYPE_UNSPECIFIED",
		1:  "BINARY_FILE",
		2:  "TEXT_FILE",
		3:  "IMAGE",
		5:  "WORD",
		6:  "PDF",
		7:  "AVRO",
		8:  "CSV",
		9:  "TSV",
		11: "POWERPOINT",
		12: "EXCEL",
	}
	FileType_value = map[string]int32{
		"FILE_TYPE_UNSPECIFIED": 0,
		"BINARY_FILE":           1,
		"TEXT_FILE":             2,
		"IMAGE":                 3,
		"WORD":                  5,
		"PDF":                   6,
		"AVRO":                  7,
		"CSV":                   8,
		"TSV":                   9,
		"POWERPOINT":            11,
		"EXCEL":                 12,
	}
)

Enum value maps for FileType.

SensitivityScore_SensitivityScoreLevel_name, SensitivityScore_SensitivityScoreLevel_value

var (
	SensitivityScore_SensitivityScoreLevel_name = map[int32]string{
		0:  "SENSITIVITY_SCORE_UNSPECIFIED",
		10: "SENSITIVITY_LOW",
		20: "SENSITIVITY_MODERATE",
		30: "SENSITIVITY_HIGH",
	}
	SensitivityScore_SensitivityScoreLevel_value = map[string]int32{
		"SENSITIVITY_SCORE_UNSPECIFIED": 0,
		"SENSITIVITY_LOW":               10,
		"SENSITIVITY_MODERATE":          20,
		"SENSITIVITY_HIGH":              30,
	}
)

Enum value maps for SensitivityScore_SensitivityScoreLevel.

CustomInfoType_ExclusionType_name, CustomInfoType_ExclusionType_value

var (
	CustomInfoType_ExclusionType_name = map[int32]string{
		0: "EXCLUSION_TYPE_UNSPECIFIED",
		1: "EXCLUSION_TYPE_EXCLUDE",
	}
	CustomInfoType_ExclusionType_value = map[string]int32{
		"EXCLUSION_TYPE_UNSPECIFIED": 0,
		"EXCLUSION_TYPE_EXCLUDE":     1,
	}
)

Enum value maps for CustomInfoType_ExclusionType.

CloudStorageOptions_SampleMethod_name, CloudStorageOptions_SampleMethod_value

var (
	CloudStorageOptions_SampleMethod_name = map[int32]string{
		0: "SAMPLE_METHOD_UNSPECIFIED",
		1: "TOP",
		2: "RANDOM_START",
	}
	CloudStorageOptions_SampleMethod_value = map[string]int32{
		"SAMPLE_METHOD_UNSPECIFIED": 0,
		"TOP":                       1,
		"RANDOM_START":              2,
	}
)

Enum value maps for CloudStorageOptions_SampleMethod.

BigQueryOptions_SampleMethod_name, BigQueryOptions_SampleMethod_value

var (
	BigQueryOptions_SampleMethod_name = map[int32]string{
		0: "SAMPLE_METHOD_UNSPECIFIED",
		1: "TOP",
		2: "RANDOM_START",
	}
	BigQueryOptions_SampleMethod_value = map[string]int32{
		"SAMPLE_METHOD_UNSPECIFIED": 0,
		"TOP":                       1,
		"RANDOM_START":              2,
	}
)

Enum value maps for BigQueryOptions_SampleMethod.

File_google_privacy_dlp_v2_dlp_proto

var File_google_privacy_dlp_v2_dlp_proto protoreflect.FileDescriptor

File_google_privacy_dlp_v2_storage_proto

var File_google_privacy_dlp_v2_storage_proto protoreflect.FileDescriptor

Functions

func RegisterDlpServiceServer

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

Action

type Action struct {

	// Extra events to execute after the job has finished.
	//
	// Types that are assignable to Action:
	//
	//	*Action_SaveFindings_
	//	*Action_PubSub
	//	*Action_PublishSummaryToCscc_
	//	*Action_PublishFindingsToCloudDataCatalog_
	//	*Action_Deidentify_
	//	*Action_JobNotificationEmails_
	//	*Action_PublishToStackdriver_
	Action isAction_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

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

func (*Action) Descriptor

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetAction

func (m *Action) GetAction() isAction_Action

func (*Action) GetDeidentify

func (x *Action) GetDeidentify() *Action_Deidentify

func (*Action) GetJobNotificationEmails

func (x *Action) GetJobNotificationEmails() *Action_JobNotificationEmails

func (*Action) GetPubSub

func (x *Action) GetPubSub() *Action_PublishToPubSub

func (*Action) GetPublishFindingsToCloudDataCatalog

func (x *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog

func (*Action) GetPublishSummaryToCscc

func (x *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc

func (*Action) GetPublishToStackdriver

func (x *Action) GetPublishToStackdriver() *Action_PublishToStackdriver

func (*Action) GetSaveFindings

func (x *Action) GetSaveFindings() *Action_SaveFindings

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

ActionDetails

type ActionDetails struct {

	// Summary of what occurred in the actions.
	//
	// Types that are assignable to Details:
	//
	//	*ActionDetails_DeidentifyDetails
	Details isActionDetails_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

The results of an [Action][google.privacy.dlp.v2.Action].

func (*ActionDetails) Descriptor

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

Deprecated: Use ActionDetails.ProtoReflect.Descriptor instead.

func (*ActionDetails) GetDeidentifyDetails

func (x *ActionDetails) GetDeidentifyDetails() *DeidentifyDataSourceDetails

func (*ActionDetails) GetDetails

func (m *ActionDetails) GetDetails() isActionDetails_Details

func (*ActionDetails) ProtoMessage

func (*ActionDetails) ProtoMessage()

func (*ActionDetails) ProtoReflect

func (x *ActionDetails) ProtoReflect() protoreflect.Message

func (*ActionDetails) Reset

func (x *ActionDetails) Reset()

func (*ActionDetails) String

func (x *ActionDetails) String() string

ActionDetails_DeidentifyDetails

type ActionDetails_DeidentifyDetails struct {
	// Outcome of a de-identification action.
	DeidentifyDetails *DeidentifyDataSourceDetails `protobuf:"bytes,1,opt,name=deidentify_details,json=deidentifyDetails,proto3,oneof"`
}

Action_Deidentify

type Action_Deidentify struct {
	TransformationConfig *TransformationConfig `protobuf:"bytes,7,opt,name=transformation_config,json=transformationConfig,proto3" json:"transformation_config,omitempty"`

	TransformationDetailsStorageConfig *TransformationDetailsStorageConfig "" /* 167 byte string literal not displayed */

	Output isAction_Deidentify_Output `protobuf_oneof:"output"`

	FileTypesToTransform []FileType "" /* 169 byte string literal not displayed */

}

Create a de-identified copy of the requested table or files.

A TransformationDetail will be created for each transformation.

If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table.

Compatible with: Inspect

func (*Action_Deidentify) Descriptor

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

Deprecated: Use Action_Deidentify.ProtoReflect.Descriptor instead.

func (*Action_Deidentify) GetCloudStorageOutput

func (x *Action_Deidentify) GetCloudStorageOutput() string

func (*Action_Deidentify) GetFileTypesToTransform

func (x *Action_Deidentify) GetFileTypesToTransform() []FileType

func (*Action_Deidentify) GetOutput

func (m *Action_Deidentify) GetOutput() isAction_Deidentify_Output

func (*Action_Deidentify) GetTransformationConfig

func (x *Action_Deidentify) GetTransformationConfig() *TransformationConfig

func (*Action_Deidentify) GetTransformationDetailsStorageConfig

func (x *Action_Deidentify) GetTransformationDetailsStorageConfig() *TransformationDetailsStorageConfig

func (*Action_Deidentify) ProtoMessage

func (*Action_Deidentify) ProtoMessage()

func (*Action_Deidentify) ProtoReflect

func (x *Action_Deidentify) ProtoReflect() protoreflect.Message

func (*Action_Deidentify) Reset

func (x *Action_Deidentify) Reset()

func (*Action_Deidentify) String

func (x *Action_Deidentify) String() string

Action_Deidentify_

type Action_Deidentify_ struct {
	// Create a de-identified copy of the input data.
	Deidentify *Action_Deidentify `protobuf:"bytes,7,opt,name=deidentify,proto3,oneof"`
}

Action_Deidentify_CloudStorageOutput

type Action_Deidentify_CloudStorageOutput struct {
	// Required. User settable Cloud Storage bucket and folders to store
	// de-identified files. This field must be set for cloud storage
	// deidentification. The output Cloud Storage bucket must be different
	// from the input bucket. De-identified files will overwrite files in the
	// output path.
	//
	// Form of: gs://bucket/folder/ or gs://bucket
	CloudStorageOutput string `protobuf:"bytes,9,opt,name=cloud_storage_output,json=cloudStorageOutput,proto3,oneof"`
}

Action_JobNotificationEmails

type Action_JobNotificationEmails struct {
	// contains filtered or unexported fields
}

Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.

func (*Action_JobNotificationEmails) Descriptor

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

Deprecated: Use Action_JobNotificationEmails.ProtoReflect.Descriptor instead.

func (*Action_JobNotificationEmails) ProtoMessage

func (*Action_JobNotificationEmails) ProtoMessage()

func (*Action_JobNotificationEmails) ProtoReflect

func (*Action_JobNotificationEmails) Reset

func (x *Action_JobNotificationEmails) Reset()

func (*Action_JobNotificationEmails) String

Action_JobNotificationEmails_

type Action_JobNotificationEmails_ struct {
	// Sends an email when the job completes. The email goes to IAM project
	// owners and technical [Essential
	// Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
	JobNotificationEmails *Action_JobNotificationEmails `protobuf:"bytes,8,opt,name=job_notification_emails,json=jobNotificationEmails,proto3,oneof"`
}

Action_PubSub

type Action_PubSub struct {
	// Publish a notification to a Pub/Sub topic.
	PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"`
}

Action_PublishFindingsToCloudDataCatalog

type Action_PublishFindingsToCloudDataCatalog struct {
	// contains filtered or unexported fields
}

Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the roles/datacatalog.tagTemplateOwner permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. [InfoType naming patterns][google.privacy.dlp.v2.InfoType] are strictly enforced when using this feature.

Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see Service Specific Terms.

Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect

func (*Action_PublishFindingsToCloudDataCatalog) Descriptor

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

Deprecated: Use Action_PublishFindingsToCloudDataCatalog.ProtoReflect.Descriptor instead.

func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage

func (*Action_PublishFindingsToCloudDataCatalog) ProtoReflect

func (*Action_PublishFindingsToCloudDataCatalog) Reset

func (*Action_PublishFindingsToCloudDataCatalog) String

Action_PublishFindingsToCloudDataCatalog_

type Action_PublishFindingsToCloudDataCatalog_ struct {
	// Publish findings to Cloud Datahub.
	PublishFindingsToCloudDataCatalog *Action_PublishFindingsToCloudDataCatalog `protobuf:"bytes,5,opt,name=publish_findings_to_cloud_data_catalog,json=publishFindingsToCloudDataCatalog,proto3,oneof"`
}

Action_PublishSummaryToCscc

type Action_PublishSummaryToCscc struct {
	// contains filtered or unexported fields
}

Publish the result summary of a DlpJob to Security Command Center. This action is available for only projects that belong to an organization. This action publishes the count of finding instances and their infoTypes. The summary of findings are persisted in Security Command Center and are governed by service-specific policies for Security Command Center. Only a single instance of this action can be specified. Compatible with: Inspect

func (*Action_PublishSummaryToCscc) Descriptor

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

Deprecated: Use Action_PublishSummaryToCscc.ProtoReflect.Descriptor instead.

func (*Action_PublishSummaryToCscc) ProtoMessage

func (*Action_PublishSummaryToCscc) ProtoMessage()

func (*Action_PublishSummaryToCscc) ProtoReflect

func (*Action_PublishSummaryToCscc) Reset

func (x *Action_PublishSummaryToCscc) Reset()

func (*Action_PublishSummaryToCscc) String

func (x *Action_PublishSummaryToCscc) String() string

Action_PublishSummaryToCscc_

type Action_PublishSummaryToCscc_ struct {
	// Publish summary to Cloud Security Command Center (Alpha).
	PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"`
}

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"`
	// contains filtered or unexported fields
}

Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, DlpJobName, which is equal to the finished job's DlpJob.name. Compatible with: Inspect, Risk

func (*Action_PublishToPubSub) Descriptor

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

Deprecated: Use Action_PublishToPubSub.ProtoReflect.Descriptor instead.

func (*Action_PublishToPubSub) GetTopic

func (x *Action_PublishToPubSub) GetTopic() string

func (*Action_PublishToPubSub) ProtoMessage

func (*Action_PublishToPubSub) ProtoMessage()

func (*Action_PublishToPubSub) ProtoReflect

func (x *Action_PublishToPubSub) ProtoReflect() protoreflect.Message

func (*Action_PublishToPubSub) Reset

func (x *Action_PublishToPubSub) Reset()

func (*Action_PublishToPubSub) String

func (x *Action_PublishToPubSub) String() string

Action_PublishToStackdriver

type Action_PublishToStackdriver struct {
	// contains filtered or unexported fields
}

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

func (*Action_PublishToStackdriver) Descriptor

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

Deprecated: Use Action_PublishToStackdriver.ProtoReflect.Descriptor instead.

func (*Action_PublishToStackdriver) ProtoMessage

func (*Action_PublishToStackdriver) ProtoMessage()

func (*Action_PublishToStackdriver) ProtoReflect

func (*Action_PublishToStackdriver) Reset

func (x *Action_PublishToStackdriver) Reset()

func (*Action_PublishToStackdriver) String

func (x *Action_PublishToStackdriver) String() string

Action_PublishToStackdriver_

type Action_PublishToStackdriver_ struct {
	// Enable Stackdriver metric dlp.googleapis.com/finding_count.
	PublishToStackdriver *Action_PublishToStackdriver `protobuf:"bytes,9,opt,name=publish_to_stackdriver,json=publishToStackdriver,proto3,oneof"`
}

Action_SaveFindings

type Action_SaveFindings struct {

	// Location to store findings outside of DLP.
	OutputConfig *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
	// contains filtered or unexported fields
}

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)

Deprecated: Use Action_SaveFindings.ProtoReflect.Descriptor instead.

func (*Action_SaveFindings) GetOutputConfig

func (x *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig

func (*Action_SaveFindings) ProtoMessage

func (*Action_SaveFindings) ProtoMessage()

func (*Action_SaveFindings) ProtoReflect

func (x *Action_SaveFindings) ProtoReflect() protoreflect.Message

func (*Action_SaveFindings) Reset

func (x *Action_SaveFindings) Reset()

func (*Action_SaveFindings) String

func (x *Action_SaveFindings) String() string

Action_SaveFindings_

type Action_SaveFindings_ struct {
	// Save resulting findings in a provided location.
	SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"`
}

ActivateJobTriggerRequest

type ActivateJobTriggerRequest struct {

	// Required. Resource name of the trigger to activate, for example
	// `projects/dlp-test-project/jobTriggers/53234423`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ActivateJobTrigger.

func (*ActivateJobTriggerRequest) Descriptor

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

Deprecated: Use ActivateJobTriggerRequest.ProtoReflect.Descriptor instead.

func (*ActivateJobTriggerRequest) GetName

func (x *ActivateJobTriggerRequest) GetName() string

func (*ActivateJobTriggerRequest) ProtoMessage

func (*ActivateJobTriggerRequest) ProtoMessage()

func (*ActivateJobTriggerRequest) ProtoReflect

func (*ActivateJobTriggerRequest) Reset

func (x *ActivateJobTriggerRequest) Reset()

func (*ActivateJobTriggerRequest) String

func (x *ActivateJobTriggerRequest) String() string

AllOtherDatabaseResources

type AllOtherDatabaseResources struct {
	// contains filtered or unexported fields
}

Match database resources not covered by any other filter.

func (*AllOtherDatabaseResources) Descriptor

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

Deprecated: Use AllOtherDatabaseResources.ProtoReflect.Descriptor instead.

func (*AllOtherDatabaseResources) ProtoMessage

func (*AllOtherDatabaseResources) ProtoMessage()

func (*AllOtherDatabaseResources) ProtoReflect

func (*AllOtherDatabaseResources) Reset

func (x *AllOtherDatabaseResources) Reset()

func (*AllOtherDatabaseResources) String

func (x *AllOtherDatabaseResources) String() string

AnalyzeDataSourceRiskDetails

type AnalyzeDataSourceRiskDetails struct {
	RequestedPrivacyMetric *PrivacyMetric "" /* 129 byte string literal not displayed */

	RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"`

	Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"`

	RequestedOptions *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions `protobuf:"bytes,10,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"`

}

Result of a risk analysis operation request.

func (*AnalyzeDataSourceRiskDetails) Descriptor

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

Deprecated: Use AnalyzeDataSourceRiskDetails.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult

func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult

func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetRequestedOptions

func (*AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric

func (x *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric

func (*AnalyzeDataSourceRiskDetails) GetRequestedSourceTable

func (x *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable

func (*AnalyzeDataSourceRiskDetails) GetResult

func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result

func (*AnalyzeDataSourceRiskDetails) ProtoMessage

func (*AnalyzeDataSourceRiskDetails) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails) ProtoReflect

func (*AnalyzeDataSourceRiskDetails) Reset

func (x *AnalyzeDataSourceRiskDetails) Reset()

func (*AnalyzeDataSourceRiskDetails) String

AnalyzeDataSourceRiskDetails_CategoricalStatsResult

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct {
	ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket "" /* 155 byte string literal not displayed */

}

Result of the categorical stats computation.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String

AnalyzeDataSourceRiskDetails_CategoricalStatsResult_

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

AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct {
	ValueFrequencyLowerBound int64 "" /* 138 byte string literal not displayed */

	ValueFrequencyUpperBound int64 "" /* 138 byte string literal not displayed */

	BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`

	BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`

	BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`

}

Histogram of value frequencies in the column.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.ProtoReflect.Descriptor instead.

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String

AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct {
	DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket "" /* 161 byte string literal not displayed */

}

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String

AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_

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

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"`
	// contains filtered or unexported fields
}

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

Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.ProtoReflect.Descriptor instead.

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String

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"`
	// contains filtered or unexported fields
}

A tuple of values for the quasi-identifier columns.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String

AnalyzeDataSourceRiskDetails_KAnonymityResult

type AnalyzeDataSourceRiskDetails_KAnonymityResult struct {
	EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket "" /* 161 byte string literal not displayed */

}

Result of the k-anonymity computation.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String

AnalyzeDataSourceRiskDetails_KAnonymityResult_

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

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"`
	// contains filtered or unexported fields
}

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String

AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct {
	EquivalenceClassSizeLowerBound int64 "" /* 158 byte string literal not displayed */

	EquivalenceClassSizeUpperBound int64 "" /* 158 byte string literal not displayed */

	BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`

	BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`

	BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`

}

Histogram of k-anonymity equivalence classes.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.ProtoReflect.Descriptor instead.

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String

AnalyzeDataSourceRiskDetails_KMapEstimationResult

type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct {
	KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket "" /* 134 byte string literal not displayed */

}

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String

AnalyzeDataSourceRiskDetails_KMapEstimationResult_

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

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"`
	// contains filtered or unexported fields
}

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.ProtoReflect.Descriptor instead.

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String

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"`
	// contains filtered or unexported fields
}

A tuple of values for the quasi-identifier columns.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String

AnalyzeDataSourceRiskDetails_LDiversityResult

type AnalyzeDataSourceRiskDetails_LDiversityResult struct {
	SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket "" /* 184 byte string literal not displayed */

}

Result of the l-diversity computation.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String

AnalyzeDataSourceRiskDetails_LDiversityResult_

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

AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct {
	QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`

	EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"`

	NumDistinctSensitiveValues int64 "" /* 144 byte string literal not displayed */

	TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"`

}

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.ProtoReflect.Descriptor instead.

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String

AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct {
	SensitiveValueFrequencyLowerBound int64 "" /* 167 byte string literal not displayed */

	SensitiveValueFrequencyUpperBound int64 "" /* 167 byte string literal not displayed */

	BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`

	BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`

	BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`

}

Histogram of l-diversity equivalence class sensitive value frequencies.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String

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"`
	// contains filtered or unexported fields
}

Result of the numerical stats computation.

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_NumericalStatsResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String

AnalyzeDataSourceRiskDetails_NumericalStatsResult_

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

AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions

type AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions struct {

	// The job config for the risk job.
	JobConfig *RiskAnalysisJobConfig `protobuf:"bytes,1,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"`
	// contains filtered or unexported fields
}

Risk analysis options.

func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Descriptor

Deprecated: Use AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) GetJobConfig

func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoMessage

func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoReflect

func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Reset

func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) String

BigQueryDiscoveryTarget

type BigQueryDiscoveryTarget struct {

	// Required. The tables the discovery cadence applies to. The first target
	// with a matching filter will be the one to apply to a table.
	Filter *DiscoveryBigQueryFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// In addition to matching the filter, these conditions must be true
	// before a profile is generated.
	Conditions *DiscoveryBigQueryConditions `protobuf:"bytes,2,opt,name=conditions,proto3" json:"conditions,omitempty"`
	// The generation rule includes the logic on how frequently
	// to update the data profiles. If not specified, discovery will re-run and
	// update no more than once a month if new columns appear in the table.
	//
	// Types that are assignable to Frequency:
	//
	//	*BigQueryDiscoveryTarget_Cadence
	//	*BigQueryDiscoveryTarget_Disabled
	Frequency isBigQueryDiscoveryTarget_Frequency `protobuf_oneof:"frequency"`
	// contains filtered or unexported fields
}

Target used to match against for discovery with BigQuery tables

func (*BigQueryDiscoveryTarget) Descriptor

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

Deprecated: Use BigQueryDiscoveryTarget.ProtoReflect.Descriptor instead.

func (*BigQueryDiscoveryTarget) GetCadence

func (*BigQueryDiscoveryTarget) GetConditions

func (*BigQueryDiscoveryTarget) GetDisabled

func (x *BigQueryDiscoveryTarget) GetDisabled() *Disabled

func (*BigQueryDiscoveryTarget) GetFilter

func (*BigQueryDiscoveryTarget) GetFrequency

func (m *BigQueryDiscoveryTarget) GetFrequency() isBigQueryDiscoveryTarget_Frequency

func (*BigQueryDiscoveryTarget) ProtoMessage

func (*BigQueryDiscoveryTarget) ProtoMessage()

func (*BigQueryDiscoveryTarget) ProtoReflect

func (x *BigQueryDiscoveryTarget) ProtoReflect() protoreflect.Message

func (*BigQueryDiscoveryTarget) Reset

func (x *BigQueryDiscoveryTarget) Reset()

func (*BigQueryDiscoveryTarget) String

func (x *BigQueryDiscoveryTarget) String() string

BigQueryDiscoveryTarget_Cadence

type BigQueryDiscoveryTarget_Cadence struct {
	// How often and when to update profiles. New tables that match both the
	// filter and conditions are scanned as quickly as possible depending on
	// system capacity.
	Cadence *DiscoveryGenerationCadence `protobuf:"bytes,3,opt,name=cadence,proto3,oneof"`
}

BigQueryDiscoveryTarget_Disabled

type BigQueryDiscoveryTarget_Disabled struct {
	// Tables that match this filter will not have profiles created.
	Disabled *Disabled `protobuf:"bytes,4,opt,name=disabled,proto3,oneof"`
}

BigQueryField

type BigQueryField struct {

	// Source table of the field.
	Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	// Designated field in the BigQuery table.
	Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

Message defining a field of a BigQuery table.

func (*BigQueryField) Descriptor

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

Deprecated: Use BigQueryField.ProtoReflect.Descriptor instead.

func (*BigQueryField) GetField

func (x *BigQueryField) GetField() *FieldId

func (*BigQueryField) GetTable

func (x *BigQueryField) GetTable() *BigQueryTable

func (*BigQueryField) ProtoMessage

func (*BigQueryField) ProtoMessage()

func (*BigQueryField) ProtoReflect

func (x *BigQueryField) ProtoReflect() protoreflect.Message

func (*BigQueryField) Reset

func (x *BigQueryField) Reset()

func (*BigQueryField) String

func (x *BigQueryField) String() string

BigQueryKey

type BigQueryKey struct {

	// Complete BigQuery table reference.
	TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"`
	// Row number inferred at the time the table was scanned. This value is
	// nondeterministic, cannot be queried, and may be null for inspection
	// jobs. To locate findings within a table, specify
	// `inspect_job.storage_config.big_query_options.identifying_fields` in
	// `CreateDlpJobRequest`.
	RowNumber int64 `protobuf:"varint,2,opt,name=row_number,json=rowNumber,proto3" json:"row_number,omitempty"`
	// contains filtered or unexported fields
}

Row key for identifying a record in BigQuery table.

func (*BigQueryKey) Descriptor

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

Deprecated: Use BigQueryKey.ProtoReflect.Descriptor instead.

func (*BigQueryKey) GetRowNumber

func (x *BigQueryKey) GetRowNumber() int64

func (*BigQueryKey) GetTableReference

func (x *BigQueryKey) GetTableReference() *BigQueryTable

func (*BigQueryKey) ProtoMessage

func (*BigQueryKey) ProtoMessage()

func (*BigQueryKey) ProtoReflect

func (x *BigQueryKey) ProtoReflect() protoreflect.Message

func (*BigQueryKey) Reset

func (x *BigQueryKey) Reset()

func (*BigQueryKey) String

func (x *BigQueryKey) String() string

BigQueryOptions

type BigQueryOptions struct {
	TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"`

	IdentifyingFields []*FieldId `protobuf:"bytes,2,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"`

	RowsLimit int64 `protobuf:"varint,3,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"`

	RowsLimitPercent int32 `protobuf:"varint,6,opt,name=rows_limit_percent,json=rowsLimitPercent,proto3" json:"rows_limit_percent,omitempty"`

	SampleMethod BigQueryOptions_SampleMethod "" /* 154 byte string literal not displayed */

	ExcludedFields []*FieldId `protobuf:"bytes,5,rep,name=excluded_fields,json=excludedFields,proto3" json:"excluded_fields,omitempty"`

	IncludedFields []*FieldId `protobuf:"bytes,7,rep,name=included_fields,json=includedFields,proto3" json:"included_fields,omitempty"`

}

Options defining BigQuery table and row identifiers.

func (*BigQueryOptions) Descriptor

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

Deprecated: Use BigQueryOptions.ProtoReflect.Descriptor instead.

func (*BigQueryOptions) GetExcludedFields

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

func (*BigQueryOptions) GetIdentifyingFields

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

func (*BigQueryOptions) GetIncludedFields

func (x *BigQueryOptions) GetIncludedFields() []*FieldId

func (*BigQueryOptions) GetRowsLimit

func (x *BigQueryOptions) GetRowsLimit() int64

func (*BigQueryOptions) GetRowsLimitPercent

func (x *BigQueryOptions) GetRowsLimitPercent() int32

func (*BigQueryOptions) GetSampleMethod

func (x *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod

func (*BigQueryOptions) GetTableReference

func (x *BigQueryOptions) GetTableReference() *BigQueryTable

func (*BigQueryOptions) ProtoMessage

func (*BigQueryOptions) ProtoMessage()

func (*BigQueryOptions) ProtoReflect

func (x *BigQueryOptions) ProtoReflect() protoreflect.Message

func (*BigQueryOptions) Reset

func (x *BigQueryOptions) Reset()

func (*BigQueryOptions) String

func (x *BigQueryOptions) String() string

BigQueryOptions_SampleMethod

type BigQueryOptions_SampleMethod int32

How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, rows are scanned in the order BigQuery reads them.

BigQueryOptions_SAMPLE_METHOD_UNSPECIFIED, BigQueryOptions_TOP, BigQueryOptions_RANDOM_START

const (
	// No sampling.
	BigQueryOptions_SAMPLE_METHOD_UNSPECIFIED BigQueryOptions_SampleMethod = 0
	// Scan groups of rows in the order BigQuery provides (default). Multiple
	// groups of rows may be scanned in parallel, so results may not appear in
	// the same order the rows are read.
	BigQueryOptions_TOP BigQueryOptions_SampleMethod = 1
	// Randomly pick groups of rows to scan.
	BigQueryOptions_RANDOM_START BigQueryOptions_SampleMethod = 2
)

func (BigQueryOptions_SampleMethod) Descriptor

func (BigQueryOptions_SampleMethod) Enum

func (BigQueryOptions_SampleMethod) EnumDescriptor

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

Deprecated: Use BigQueryOptions_SampleMethod.Descriptor instead.

func (BigQueryOptions_SampleMethod) Number

func (BigQueryOptions_SampleMethod) String

func (BigQueryOptions_SampleMethod) Type

BigQueryRegex

type BigQueryRegex struct {

	// For organizations, if unset, will match all projects. Has no effect
	// for data profile configurations created within a project.
	ProjectIdRegex string `protobuf:"bytes,1,opt,name=project_id_regex,json=projectIdRegex,proto3" json:"project_id_regex,omitempty"`
	// If unset, this property matches all datasets.
	DatasetIdRegex string `protobuf:"bytes,2,opt,name=dataset_id_regex,json=datasetIdRegex,proto3" json:"dataset_id_regex,omitempty"`
	// If unset, this property matches all tables.
	TableIdRegex string `protobuf:"bytes,3,opt,name=table_id_regex,json=tableIdRegex,proto3" json:"table_id_regex,omitempty"`
	// contains filtered or unexported fields
}

A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.

func (*BigQueryRegex) Descriptor

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

Deprecated: Use BigQueryRegex.ProtoReflect.Descriptor instead.

func (*BigQueryRegex) GetDatasetIdRegex

func (x *BigQueryRegex) GetDatasetIdRegex() string

func (*BigQueryRegex) GetProjectIdRegex

func (x *BigQueryRegex) GetProjectIdRegex() string

func (*BigQueryRegex) GetTableIdRegex

func (x *BigQueryRegex) GetTableIdRegex() string

func (*BigQueryRegex) ProtoMessage

func (*BigQueryRegex) ProtoMessage()

func (*BigQueryRegex) ProtoReflect

func (x *BigQueryRegex) ProtoReflect() protoreflect.Message

func (*BigQueryRegex) Reset

func (x *BigQueryRegex) Reset()

func (*BigQueryRegex) String

func (x *BigQueryRegex) String() string

BigQueryRegexes

type BigQueryRegexes struct {

	// A single BigQuery regular expression pattern to match against one or more
	// tables, datasets, or projects that contain BigQuery tables.
	Patterns []*BigQueryRegex `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"`
	// contains filtered or unexported fields
}

A collection of regular expressions to determine what tables to match against.

func (*BigQueryRegexes) Descriptor

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

Deprecated: Use BigQueryRegexes.ProtoReflect.Descriptor instead.

func (*BigQueryRegexes) GetPatterns

func (x *BigQueryRegexes) GetPatterns() []*BigQueryRegex

func (*BigQueryRegexes) ProtoMessage

func (*BigQueryRegexes) ProtoMessage()

func (*BigQueryRegexes) ProtoReflect

func (x *BigQueryRegexes) ProtoReflect() protoreflect.Message

func (*BigQueryRegexes) Reset

func (x *BigQueryRegexes) Reset()

func (*BigQueryRegexes) String

func (x *BigQueryRegexes) String() string

BigQuerySchemaModification

type BigQuerySchemaModification int32

Attributes evaluated to determine if a schema has been modified. New values may be added at a later time.

BigQuerySchemaModification_SCHEMA_MODIFICATION_UNSPECIFIED, BigQuerySchemaModification_SCHEMA_NEW_COLUMNS, BigQuerySchemaModification_SCHEMA_REMOVED_COLUMNS

const (
	// Unused
	BigQuerySchemaModification_SCHEMA_MODIFICATION_UNSPECIFIED BigQuerySchemaModification = 0
	// Profiles should be regenerated when new columns are added to the table.
	// Default.
	BigQuerySchemaModification_SCHEMA_NEW_COLUMNS BigQuerySchemaModification = 1
	// Profiles should be regenerated when columns are removed from the table.
	BigQuerySchemaModification_SCHEMA_REMOVED_COLUMNS BigQuerySchemaModification = 2
)

func (BigQuerySchemaModification) Descriptor

func (BigQuerySchemaModification) Enum

func (BigQuerySchemaModification) EnumDescriptor

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

Deprecated: Use BigQuerySchemaModification.Descriptor instead.

func (BigQuerySchemaModification) Number

func (BigQuerySchemaModification) String

func (BigQuerySchemaModification) 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"`
	// contains filtered or unexported fields
}

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)

Deprecated: Use BigQueryTable.ProtoReflect.Descriptor instead.

func (*BigQueryTable) GetDatasetId

func (x *BigQueryTable) GetDatasetId() string

func (*BigQueryTable) GetProjectId

func (x *BigQueryTable) GetProjectId() string

func (*BigQueryTable) GetTableId

func (x *BigQueryTable) GetTableId() string

func (*BigQueryTable) ProtoMessage

func (*BigQueryTable) ProtoMessage()

func (*BigQueryTable) ProtoReflect

func (x *BigQueryTable) ProtoReflect() protoreflect.Message

func (*BigQueryTable) Reset

func (x *BigQueryTable) Reset()

func (*BigQueryTable) String

func (x *BigQueryTable) String() string

BigQueryTableCollection

type BigQueryTableCollection struct {

	// Maximum of 100 entries.
	// The first filter containing a pattern that matches a table will be used.
	//
	// Types that are assignable to Pattern:
	//
	//	*BigQueryTableCollection_IncludeRegexes
	Pattern isBigQueryTableCollection_Pattern `protobuf_oneof:"pattern"`
	// contains filtered or unexported fields
}

Specifies a collection of BigQuery tables. Used for Discovery.

func (*BigQueryTableCollection) Descriptor

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

Deprecated: Use BigQueryTableCollection.ProtoReflect.Descriptor instead.

func (*BigQueryTableCollection) GetIncludeRegexes

func (x *BigQueryTableCollection) GetIncludeRegexes() *BigQueryRegexes

func (*BigQueryTableCollection) GetPattern

func (m *BigQueryTableCollection) GetPattern() isBigQueryTableCollection_Pattern

func (*BigQueryTableCollection) ProtoMessage

func (*BigQueryTableCollection) ProtoMessage()

func (*BigQueryTableCollection) ProtoReflect

func (x *BigQueryTableCollection) ProtoReflect() protoreflect.Message

func (*BigQueryTableCollection) Reset

func (x *BigQueryTableCollection) Reset()

func (*BigQueryTableCollection) String

func (x *BigQueryTableCollection) String() string

BigQueryTableCollection_IncludeRegexes

type BigQueryTableCollection_IncludeRegexes struct {
	// A collection of regular expressions to match a BigQuery table against.
	IncludeRegexes *BigQueryRegexes `protobuf:"bytes,1,opt,name=include_regexes,json=includeRegexes,proto3,oneof"`
}

BigQueryTableModification

type BigQueryTableModification int32

Attributes evaluated to determine if a table has been modified. New values may be added at a later time.

BigQueryTableModification_TABLE_MODIFICATION_UNSPECIFIED, BigQueryTableModification_TABLE_MODIFIED_TIMESTAMP

const (
	// Unused.
	BigQueryTableModification_TABLE_MODIFICATION_UNSPECIFIED BigQueryTableModification = 0
	// A table will be considered modified when the last_modified_time from
	// BigQuery has been updated.
	BigQueryTableModification_TABLE_MODIFIED_TIMESTAMP BigQueryTableModification = 1
)

func (BigQueryTableModification) Descriptor

func (BigQueryTableModification) Enum

func (BigQueryTableModification) EnumDescriptor

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

Deprecated: Use BigQueryTableModification.Descriptor instead.

func (BigQueryTableModification) Number

func (BigQueryTableModification) String

func (x BigQueryTableModification) String() string

func (BigQueryTableModification) Type

BigQueryTableType

type BigQueryTableType int32

Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, SNAPSHOT, and non-BigLake external tables are not supported.

BigQueryTableType_BIG_QUERY_TABLE_TYPE_UNSPECIFIED, BigQueryTableType_BIG_QUERY_TABLE_TYPE_TABLE, BigQueryTableType_BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE

const (
	// Unused.
	BigQueryTableType_BIG_QUERY_TABLE_TYPE_UNSPECIFIED BigQueryTableType = 0
	// A normal BigQuery table.
	BigQueryTableType_BIG_QUERY_TABLE_TYPE_TABLE BigQueryTableType = 1
	// A table that references data stored in Cloud Storage.
	BigQueryTableType_BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE BigQueryTableType = 2
)

func (BigQueryTableType) Descriptor

func (BigQueryTableType) Enum

func (BigQueryTableType) EnumDescriptor

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

Deprecated: Use BigQueryTableType.Descriptor instead.

func (BigQueryTableType) Number

func (BigQueryTableType) String

func (x BigQueryTableType) String() string

func (BigQueryTableType) Type

BigQueryTableTypeCollection

type BigQueryTableTypeCollection int32

Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and SNAPSHOT are not supported.

BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_UNSPECIFIED, BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_ALL_TYPES, BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES

const (
	// Unused.
	BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_UNSPECIFIED BigQueryTableTypeCollection = 0
	// Automatically generate profiles for all tables, even if the table type is
	// not yet fully supported for analysis. Profiles for unsupported tables will
	// be generated with errors to indicate their partial support. When full
	// support is added, the tables will automatically be profiled during the next
	// scheduled run.
	BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_ALL_TYPES BigQueryTableTypeCollection = 1
	// Only those types fully supported will be profiled. Will expand
	// automatically as Cloud DLP adds support for new table types. Unsupported
	// table types will not have partial profiles generated.
	BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES BigQueryTableTypeCollection = 2
)

func (BigQueryTableTypeCollection) Descriptor

func (BigQueryTableTypeCollection) Enum

func (BigQueryTableTypeCollection) EnumDescriptor

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

Deprecated: Use BigQueryTableTypeCollection.Descriptor instead.

func (BigQueryTableTypeCollection) Number

func (BigQueryTableTypeCollection) String

func (BigQueryTableTypeCollection) Type

BigQueryTableTypes

type BigQueryTableTypes struct {

	// A set of BigQuery table types.
	Types []BigQueryTableType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=google.privacy.dlp.v2.BigQueryTableType" json:"types,omitempty"`
	// contains filtered or unexported fields
}

The types of BigQuery tables supported by Cloud DLP.

func (*BigQueryTableTypes) Descriptor

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

Deprecated: Use BigQueryTableTypes.ProtoReflect.Descriptor instead.

func (*BigQueryTableTypes) GetTypes

func (x *BigQueryTableTypes) GetTypes() []BigQueryTableType

func (*BigQueryTableTypes) ProtoMessage

func (*BigQueryTableTypes) ProtoMessage()

func (*BigQueryTableTypes) ProtoReflect

func (x *BigQueryTableTypes) ProtoReflect() protoreflect.Message

func (*BigQueryTableTypes) Reset

func (x *BigQueryTableTypes) Reset()

func (*BigQueryTableTypes) String

func (x *BigQueryTableTypes) String() string

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"`
	// contains filtered or unexported fields
}

Bounding box encompassing detected text within an image.

func (*BoundingBox) Descriptor

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

Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.

func (*BoundingBox) GetHeight

func (x *BoundingBox) GetHeight() int32

func (*BoundingBox) GetLeft

func (x *BoundingBox) GetLeft() int32

func (*BoundingBox) GetTop

func (x *BoundingBox) GetTop() int32

func (*BoundingBox) GetWidth

func (x *BoundingBox) GetWidth() int32

func (*BoundingBox) ProtoMessage

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) ProtoReflect

func (x *BoundingBox) ProtoReflect() protoreflect.Message

func (*BoundingBox) Reset

func (x *BoundingBox) Reset()

func (*BoundingBox) String

func (x *BoundingBox) String() string

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"`
	// contains filtered or unexported fields
}

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/sensitive-data-protection/docs/concepts-bucketing to learn more.

func (*BucketingConfig) Descriptor

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

Deprecated: Use BucketingConfig.ProtoReflect.Descriptor instead.

func (*BucketingConfig) GetBuckets

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

func (*BucketingConfig) ProtoMessage

func (*BucketingConfig) ProtoMessage()

func (*BucketingConfig) ProtoReflect

func (x *BucketingConfig) ProtoReflect() protoreflect.Message

func (*BucketingConfig) Reset

func (x *BucketingConfig) Reset()

func (*BucketingConfig) String

func (x *BucketingConfig) String() string

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"`
	// Required. Replacement value for this bucket.
	ReplacementValue *Value `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BucketingConfig_Bucket) Descriptor

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

Deprecated: Use BucketingConfig_Bucket.ProtoReflect.Descriptor instead.

func (*BucketingConfig_Bucket) GetMax

func (x *BucketingConfig_Bucket) GetMax() *Value

func (*BucketingConfig_Bucket) GetMin

func (x *BucketingConfig_Bucket) GetMin() *Value

func (*BucketingConfig_Bucket) GetReplacementValue

func (x *BucketingConfig_Bucket) GetReplacementValue() *Value

func (*BucketingConfig_Bucket) ProtoMessage

func (*BucketingConfig_Bucket) ProtoMessage()

func (*BucketingConfig_Bucket) ProtoReflect

func (x *BucketingConfig_Bucket) ProtoReflect() protoreflect.Message

func (*BucketingConfig_Bucket) Reset

func (x *BucketingConfig_Bucket) Reset()

func (*BucketingConfig_Bucket) String

func (x *BucketingConfig_Bucket) String() string

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"`
	// contains filtered or unexported fields
}

Container for bytes to inspect or redact.

func (*ByteContentItem) Descriptor

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

Deprecated: Use ByteContentItem.ProtoReflect.Descriptor instead.

func (*ByteContentItem) GetData

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

func (*ByteContentItem) GetType

func (*ByteContentItem) ProtoMessage

func (*ByteContentItem) ProtoMessage()

func (*ByteContentItem) ProtoReflect

func (x *ByteContentItem) ProtoReflect() protoreflect.Message

func (*ByteContentItem) Reset

func (x *ByteContentItem) Reset()

func (*ByteContentItem) String

func (x *ByteContentItem) String() string

ByteContentItem_BytesType

type ByteContentItem_BytesType int32

The type of data being sent for inspection. To learn more, see Supported file types.

ByteContentItem_BYTES_TYPE_UNSPECIFIED, ByteContentItem_IMAGE, ByteContentItem_IMAGE_JPEG, ByteContentItem_IMAGE_BMP, ByteContentItem_IMAGE_PNG, ByteContentItem_IMAGE_SVG, ByteContentItem_TEXT_UTF8, ByteContentItem_WORD_DOCUMENT, ByteContentItem_PDF, ByteContentItem_POWERPOINT_DOCUMENT, ByteContentItem_EXCEL_DOCUMENT, ByteContentItem_AVRO, ByteContentItem_CSV, ByteContentItem_TSV

const (
	// Unused
	ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0
	// Any image type.
	ByteContentItem_IMAGE ByteContentItem_BytesType = 6
	// jpeg
	ByteContentItem_IMAGE_JPEG ByteContentItem_BytesType = 1
	// bmp
	ByteContentItem_IMAGE_BMP ByteContentItem_BytesType = 2
	// png
	ByteContentItem_IMAGE_PNG ByteContentItem_BytesType = 3
	// svg
	ByteContentItem_IMAGE_SVG ByteContentItem_BytesType = 4
	// plain text
	ByteContentItem_TEXT_UTF8 ByteContentItem_BytesType = 5
	// docx, docm, dotx, dotm
	ByteContentItem_WORD_DOCUMENT ByteContentItem_BytesType = 7
	// pdf
	ByteContentItem_PDF ByteContentItem_BytesType = 8
	// pptx, pptm, potx, potm, pot
	ByteContentItem_POWERPOINT_DOCUMENT ByteContentItem_BytesType = 9
	// xlsx, xlsm, xltx, xltm
	ByteContentItem_EXCEL_DOCUMENT ByteContentItem_BytesType = 10
	// avro
	ByteContentItem_AVRO ByteContentItem_BytesType = 11
	// csv
	ByteContentItem_CSV ByteContentItem_BytesType = 12
	// tsv
	ByteContentItem_TSV ByteContentItem_BytesType = 13
)

func (ByteContentItem_BytesType) Descriptor

func (ByteContentItem_BytesType) Enum

func (ByteContentItem_BytesType) EnumDescriptor

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

Deprecated: Use ByteContentItem_BytesType.Descriptor instead.

func (ByteContentItem_BytesType) Number

func (ByteContentItem_BytesType) String

func (x ByteContentItem_BytesType) String() string

func (ByteContentItem_BytesType) Type

CancelDlpJobRequest

type CancelDlpJobRequest struct {

	// Required. The name of the DlpJob resource to be cancelled.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message for canceling a DLP job.

func (*CancelDlpJobRequest) Descriptor

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

Deprecated: Use CancelDlpJobRequest.ProtoReflect.Descriptor instead.

func (*CancelDlpJobRequest) GetName

func (x *CancelDlpJobRequest) GetName() string

func (*CancelDlpJobRequest) ProtoMessage

func (*CancelDlpJobRequest) ProtoMessage()

func (*CancelDlpJobRequest) ProtoReflect

func (x *CancelDlpJobRequest) ProtoReflect() protoreflect.Message

func (*CancelDlpJobRequest) Reset

func (x *CancelDlpJobRequest) Reset()

func (*CancelDlpJobRequest) String

func (x *CancelDlpJobRequest) String() string

CharacterMaskConfig

type CharacterMaskConfig struct {

	// Character to use to mask the sensitive values—for example, `*` for an
	// alphabetic string such as a name, or `0` for a numeric string such as ZIP
	// code or credit card number. This string must have a length of 1. If not
	// supplied, this value defaults to `*` for strings, and `0` for digits.
	MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter,proto3" json:"masking_character,omitempty"`
	// Number of characters to mask. If not set, all matching chars will be
	// masked. Skipped characters do not count towards this tally.
	//
	// If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
	// masks all but a number of characters.
	// For example, suppose you have the following values:
	//
	// - `masking_character` is `*`
	// - `number_to_mask` is `-4`
	// - `reverse_order` is `false`
	// - `CharsToIgnore` includes `-`
	// - Input string is `1234-5678-9012-3456`
	//
	// The resulting de-identified string is
	// `****-****-****-3456`. Cloud DLP masks all but the last four characters.
	// If `reverse_order` is `true`, all but the first four characters are masked
	// as `1234-****-****-****`.
	NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask,proto3" json:"number_to_mask,omitempty"`
	// Mask characters in reverse order. For example, if `masking_character` is
	// `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
	// input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
	// If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
	// is `true`, then the string `12345` is masked as `12***`.
	ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder,proto3" json:"reverse_order,omitempty"`
	// When masking a string, items in this list will be skipped when replacing
	// characters. For example, if the input string is `555-555-5555` and you
	// instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
	// returns `***-**5-5555`.
	CharactersToIgnore []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore,proto3" json:"characters_to_ignore,omitempty"`
	// contains filtered or unexported fields
}

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)

Deprecated: Use CharacterMaskConfig.ProtoReflect.Descriptor instead.

func (*CharacterMaskConfig) GetCharactersToIgnore

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

func (*CharacterMaskConfig) GetMaskingCharacter

func (x *CharacterMaskConfig) GetMaskingCharacter() string

func (*CharacterMaskConfig) GetNumberToMask

func (x *CharacterMaskConfig) GetNumberToMask() int32

func (*CharacterMaskConfig) GetReverseOrder

func (x *CharacterMaskConfig) GetReverseOrder() bool

func (*CharacterMaskConfig) ProtoMessage

func (*CharacterMaskConfig) ProtoMessage()

func (*CharacterMaskConfig) ProtoReflect

func (x *CharacterMaskConfig) ProtoReflect() protoreflect.Message

func (*CharacterMaskConfig) Reset

func (x *CharacterMaskConfig) Reset()

func (*CharacterMaskConfig) String

func (x *CharacterMaskConfig) String() string

CharsToIgnore

type CharsToIgnore struct {

	// Type of characters to skip.
	//
	// Types that are assignable to Characters:
	//
	//	*CharsToIgnore_CharactersToSkip
	//	*CharsToIgnore_CommonCharactersToIgnore
	Characters isCharsToIgnore_Characters `protobuf_oneof:"characters"`
	// contains filtered or unexported fields
}

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

func (*CharsToIgnore) Descriptor

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

Deprecated: Use CharsToIgnore.ProtoReflect.Descriptor instead.

func (*CharsToIgnore) GetCharacters

func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters

func (*CharsToIgnore) GetCharactersToSkip

func (x *CharsToIgnore) GetCharactersToSkip() string

func (*CharsToIgnore) GetCommonCharactersToIgnore

func (x *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore

func (*CharsToIgnore) ProtoMessage

func (*CharsToIgnore) ProtoMessage()

func (*CharsToIgnore) ProtoReflect

func (x *CharsToIgnore) ProtoReflect() protoreflect.Message

func (*CharsToIgnore) Reset

func (x *CharsToIgnore) Reset()

func (*CharsToIgnore) String

func (x *CharsToIgnore) String() string

CharsToIgnore_CharactersToSkip

type CharsToIgnore_CharactersToSkip struct {
	// Characters to not transform when masking.
	CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,proto3,oneof"`
}

CharsToIgnore_CommonCharactersToIgnore

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

CharsToIgnore_CommonCharsToIgnore

type CharsToIgnore_CommonCharsToIgnore int32

Convenience enum for indicating common characters to not transform.

CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED, CharsToIgnore_NUMERIC, CharsToIgnore_ALPHA_UPPER_CASE, CharsToIgnore_ALPHA_LOWER_CASE, CharsToIgnore_PUNCTUATION, CharsToIgnore_WHITESPACE

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

func (CharsToIgnore_CommonCharsToIgnore) Descriptor

func (CharsToIgnore_CommonCharsToIgnore) Enum

func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor

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

Deprecated: Use CharsToIgnore_CommonCharsToIgnore.Descriptor instead.

func (CharsToIgnore_CommonCharsToIgnore) Number

func (CharsToIgnore_CommonCharsToIgnore) String

func (CharsToIgnore_CommonCharsToIgnore) Type

CloudSqlDiscoveryTarget

type CloudSqlDiscoveryTarget struct {

	// Required. The tables the discovery cadence applies to. The first target
	// with a matching filter will be the one to apply to a table.
	Filter *DiscoveryCloudSqlFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// In addition to matching the filter, these conditions must be true
	// before a profile is generated.
	Conditions *DiscoveryCloudSqlConditions `protobuf:"bytes,2,opt,name=conditions,proto3" json:"conditions,omitempty"`
	// Type of schedule.
	//
	// Types that are assignable to Cadence:
	//
	//	*CloudSqlDiscoveryTarget_GenerationCadence
	//	*CloudSqlDiscoveryTarget_Disabled
	Cadence isCloudSqlDiscoveryTarget_Cadence `protobuf_oneof:"cadence"`
	// contains filtered or unexported fields
}

Target used to match against for discovery with Cloud SQL tables.

func (*CloudSqlDiscoveryTarget) Descriptor

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

Deprecated: Use CloudSqlDiscoveryTarget.ProtoReflect.Descriptor instead.

func (*CloudSqlDiscoveryTarget) GetCadence

func (m *CloudSqlDiscoveryTarget) GetCadence() isCloudSqlDiscoveryTarget_Cadence

func (*CloudSqlDiscoveryTarget) GetConditions

func (*CloudSqlDiscoveryTarget) GetDisabled

func (x *CloudSqlDiscoveryTarget) GetDisabled() *Disabled

func (*CloudSqlDiscoveryTarget) GetFilter

func (*CloudSqlDiscoveryTarget) GetGenerationCadence

func (*CloudSqlDiscoveryTarget) ProtoMessage

func (*CloudSqlDiscoveryTarget) ProtoMessage()

func (*CloudSqlDiscoveryTarget) ProtoReflect

func (x *CloudSqlDiscoveryTarget) ProtoReflect() protoreflect.Message

func (*CloudSqlDiscoveryTarget) Reset

func (x *CloudSqlDiscoveryTarget) Reset()

func (*CloudSqlDiscoveryTarget) String

func (x *CloudSqlDiscoveryTarget) String() string

CloudSqlDiscoveryTarget_Disabled

type CloudSqlDiscoveryTarget_Disabled struct {
	// Disable profiling for database resources that match this filter.
	Disabled *Disabled `protobuf:"bytes,4,opt,name=disabled,proto3,oneof"`
}

CloudSqlDiscoveryTarget_GenerationCadence

type CloudSqlDiscoveryTarget_GenerationCadence struct {
	// How often and when to update profiles. New tables that match both the
	// filter and conditions are scanned as quickly as possible depending on
	// system capacity.
	GenerationCadence *DiscoveryCloudSqlGenerationCadence `protobuf:"bytes,3,opt,name=generation_cadence,json=generationCadence,proto3,oneof"`
}

CloudSqlIamCredential

type CloudSqlIamCredential struct {
	// contains filtered or unexported fields
}

Use IAM authentication to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication.

func (*CloudSqlIamCredential) Descriptor

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

Deprecated: Use CloudSqlIamCredential.ProtoReflect.Descriptor instead.

func (*CloudSqlIamCredential) ProtoMessage

func (*CloudSqlIamCredential) ProtoMessage()

func (*CloudSqlIamCredential) ProtoReflect

func (x *CloudSqlIamCredential) ProtoReflect() protoreflect.Message

func (*CloudSqlIamCredential) Reset

func (x *CloudSqlIamCredential) Reset()

func (*CloudSqlIamCredential) String

func (x *CloudSqlIamCredential) String() string

CloudSqlProperties

type CloudSqlProperties struct {
	ConnectionName string `protobuf:"bytes,1,opt,name=connection_name,json=connectionName,proto3" json:"connection_name,omitempty"`

	Credential isCloudSqlProperties_Credential `protobuf_oneof:"credential"`

	MaxConnections int32 `protobuf:"varint,4,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`

	DatabaseEngine CloudSqlProperties_DatabaseEngine "" /* 165 byte string literal not displayed */

}

Cloud SQL connection properties.

func (*CloudSqlProperties) Descriptor

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

Deprecated: Use CloudSqlProperties.ProtoReflect.Descriptor instead.

func (*CloudSqlProperties) GetCloudSqlIam

func (x *CloudSqlProperties) GetCloudSqlIam() *CloudSqlIamCredential

func (*CloudSqlProperties) GetConnectionName

func (x *CloudSqlProperties) GetConnectionName() string

func (*CloudSqlProperties) GetCredential

func (m *CloudSqlProperties) GetCredential() isCloudSqlProperties_Credential

func (*CloudSqlProperties) GetDatabaseEngine

func (*CloudSqlProperties) GetMaxConnections

func (x *CloudSqlProperties) GetMaxConnections() int32

func (*CloudSqlProperties) GetUsernamePassword

func (x *CloudSqlProperties) GetUsernamePassword() *SecretManagerCredential

func (*CloudSqlProperties) ProtoMessage

func (*CloudSqlProperties) ProtoMessage()

func (*CloudSqlProperties) ProtoReflect

func (x *CloudSqlProperties) ProtoReflect() protoreflect.Message

func (*CloudSqlProperties) Reset

func (x *CloudSqlProperties) Reset()

func (*CloudSqlProperties) String

func (x *CloudSqlProperties) String() string

CloudSqlProperties_CloudSqlIam

type CloudSqlProperties_CloudSqlIam struct {
	// Built-in IAM authentication (must be configured in Cloud SQL).
	CloudSqlIam *CloudSqlIamCredential `protobuf:"bytes,3,opt,name=cloud_sql_iam,json=cloudSqlIam,proto3,oneof"`
}

CloudSqlProperties_DatabaseEngine

type CloudSqlProperties_DatabaseEngine int32

Database engine of a Cloud SQL instance. New values may be added over time.

CloudSqlProperties_DATABASE_ENGINE_UNKNOWN, CloudSqlProperties_DATABASE_ENGINE_MYSQL, CloudSqlProperties_DATABASE_ENGINE_POSTGRES

const (
	// An engine that is not currently supported by Sensitive Data Protection.
	CloudSqlProperties_DATABASE_ENGINE_UNKNOWN CloudSqlProperties_DatabaseEngine = 0
	// Cloud SQL for MySQL instance.
	CloudSqlProperties_DATABASE_ENGINE_MYSQL CloudSqlProperties_DatabaseEngine = 1
	// Cloud SQL for PostgreSQL instance.
	CloudSqlProperties_DATABASE_ENGINE_POSTGRES CloudSqlProperties_DatabaseEngine = 2
)

func (CloudSqlProperties_DatabaseEngine) Descriptor

func (CloudSqlProperties_DatabaseEngine) Enum

func (CloudSqlProperties_DatabaseEngine) EnumDescriptor

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

Deprecated: Use CloudSqlProperties_DatabaseEngine.Descriptor instead.

func (CloudSqlProperties_DatabaseEngine) Number

func (CloudSqlProperties_DatabaseEngine) String

func (CloudSqlProperties_DatabaseEngine) Type

CloudSqlProperties_UsernamePassword

type CloudSqlProperties_UsernamePassword struct {
	// A username and password stored in Secret Manager.
	UsernamePassword *SecretManagerCredential `protobuf:"bytes,2,opt,name=username_password,json=usernamePassword,proto3,oneof"`
}

CloudStorageFileSet

type CloudStorageFileSet struct {

	// The url, in the format `gs://

Message representing a set of files in Cloud Storage.

func (*CloudStorageFileSet) Descriptor

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

Deprecated: Use CloudStorageFileSet.ProtoReflect.Descriptor instead.

func (*CloudStorageFileSet) GetUrl

func (x *CloudStorageFileSet) GetUrl() string

func (*CloudStorageFileSet) ProtoMessage

func (*CloudStorageFileSet) ProtoMessage()

func (*CloudStorageFileSet) ProtoReflect

func (x *CloudStorageFileSet) ProtoReflect() protoreflect.Message

func (*CloudStorageFileSet) Reset

func (x *CloudStorageFileSet) Reset()

func (*CloudStorageFileSet) String

func (x *CloudStorageFileSet) String() string

CloudStorageOptions

type CloudStorageOptions struct {
	FileSet *CloudStorageOptions_FileSet `protobuf:"bytes,1,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"`

	BytesLimitPerFile int64 `protobuf:"varint,4,opt,name=bytes_limit_per_file,json=bytesLimitPerFile,proto3" json:"bytes_limit_per_file,omitempty"`

	BytesLimitPerFilePercent int32 "" /* 140 byte string literal not displayed */

	FileTypes []FileType "" /* 132 byte string literal not displayed */

	SampleMethod CloudStorageOptions_SampleMethod "" /* 158 byte string literal not displayed */

	FilesLimitPercent int32 `protobuf:"varint,7,opt,name=files_limit_percent,json=filesLimitPercent,proto3" json:"files_limit_percent,omitempty"`

}

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

func (*CloudStorageOptions) Descriptor

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

Deprecated: Use CloudStorageOptions.ProtoReflect.Descriptor instead.

func (*CloudStorageOptions) GetBytesLimitPerFile

func (x *CloudStorageOptions) GetBytesLimitPerFile() int64

func (*CloudStorageOptions) GetBytesLimitPerFilePercent

func (x *CloudStorageOptions) GetBytesLimitPerFilePercent() int32

func (*CloudStorageOptions) GetFileSet

func (*CloudStorageOptions) GetFileTypes

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

func (*CloudStorageOptions) GetFilesLimitPercent

func (x *CloudStorageOptions) GetFilesLimitPercent() int32

func (*CloudStorageOptions) GetSampleMethod

func (*CloudStorageOptions) ProtoMessage

func (*CloudStorageOptions) ProtoMessage()

func (*CloudStorageOptions) ProtoReflect

func (x *CloudStorageOptions) ProtoReflect() protoreflect.Message

func (*CloudStorageOptions) Reset

func (x *CloudStorageOptions) Reset()

func (*CloudStorageOptions) String

func (x *CloudStorageOptions) String() string

CloudStorageOptions_FileSet

type CloudStorageOptions_FileSet struct {

	// The Cloud Storage url of the file(s) to scan, in the format
	// `gs://

Set of files to scan.

func (*CloudStorageOptions_FileSet) Descriptor

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

Deprecated: Use CloudStorageOptions_FileSet.ProtoReflect.Descriptor instead.

func (*CloudStorageOptions_FileSet) GetRegexFileSet

func (*CloudStorageOptions_FileSet) GetUrl

func (x *CloudStorageOptions_FileSet) GetUrl() string

func (*CloudStorageOptions_FileSet) ProtoMessage

func (*CloudStorageOptions_FileSet) ProtoMessage()

func (*CloudStorageOptions_FileSet) ProtoReflect

func (*CloudStorageOptions_FileSet) Reset

func (x *CloudStorageOptions_FileSet) Reset()

func (*CloudStorageOptions_FileSet) String

func (x *CloudStorageOptions_FileSet) String() string

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.

CloudStorageOptions_SAMPLE_METHOD_UNSPECIFIED, CloudStorageOptions_TOP, CloudStorageOptions_RANDOM_START

const (
	// No sampling.
	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) Descriptor

func (CloudStorageOptions_SampleMethod) Enum

func (CloudStorageOptions_SampleMethod) EnumDescriptor

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

Deprecated: Use CloudStorageOptions_SampleMethod.Descriptor instead.

func (CloudStorageOptions_SampleMethod) Number

func (CloudStorageOptions_SampleMethod) String

func (CloudStorageOptions_SampleMethod) 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"`
	// contains filtered or unexported fields
}

Message representing a single file or path in Cloud Storage.

func (*CloudStoragePath) Descriptor

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

Deprecated: Use CloudStoragePath.ProtoReflect.Descriptor instead.

func (*CloudStoragePath) GetPath

func (x *CloudStoragePath) GetPath() string

func (*CloudStoragePath) ProtoMessage

func (*CloudStoragePath) ProtoMessage()

func (*CloudStoragePath) ProtoReflect

func (x *CloudStoragePath) ProtoReflect() protoreflect.Message

func (*CloudStoragePath) Reset

func (x *CloudStoragePath) Reset()

func (*CloudStoragePath) String

func (x *CloudStoragePath) String() string

CloudStorageRegexFileSet

type CloudStorageRegexFileSet struct {

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

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

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

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

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

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

Some other common use cases:

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

func (*CloudStorageRegexFileSet) Descriptor

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

Deprecated: Use CloudStorageRegexFileSet.ProtoReflect.Descriptor instead.

func (*CloudStorageRegexFileSet) GetBucketName

func (x *CloudStorageRegexFileSet) GetBucketName() string

func (*CloudStorageRegexFileSet) GetExcludeRegex

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

func (*CloudStorageRegexFileSet) GetIncludeRegex

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

func (*CloudStorageRegexFileSet) ProtoMessage

func (*CloudStorageRegexFileSet) ProtoMessage()

func (*CloudStorageRegexFileSet) ProtoReflect

func (x *CloudStorageRegexFileSet) ProtoReflect() protoreflect.Message

func (*CloudStorageRegexFileSet) Reset

func (x *CloudStorageRegexFileSet) Reset()

func (*CloudStorageRegexFileSet) String

func (x *CloudStorageRegexFileSet) String() string

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"`
	// contains filtered or unexported fields
}

Represents a color in the RGB color space.

func (*Color) Descriptor

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

Deprecated: Use Color.ProtoReflect.Descriptor instead.

func (*Color) GetBlue

func (x *Color) GetBlue() float32

func (*Color) GetGreen

func (x *Color) GetGreen() float32

func (*Color) GetRed

func (x *Color) GetRed() float32

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) ProtoReflect

func (x *Color) ProtoReflect() protoreflect.Message

func (*Color) Reset

func (x *Color) Reset()

func (*Color) String

func (x *Color) String() string

ColumnDataProfile

type ColumnDataProfile struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	ProfileStatus *ProfileStatus `protobuf:"bytes,17,opt,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"`

	State ColumnDataProfile_State `protobuf:"varint,18,opt,name=state,proto3,enum=google.privacy.dlp.v2.ColumnDataProfile_State" json:"state,omitempty"`

	ProfileLastGenerated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=profile_last_generated,json=profileLastGenerated,proto3" json:"profile_last_generated,omitempty"`

	TableDataProfile string `protobuf:"bytes,4,opt,name=table_data_profile,json=tableDataProfile,proto3" json:"table_data_profile,omitempty"`

	TableFullResource string `protobuf:"bytes,5,opt,name=table_full_resource,json=tableFullResource,proto3" json:"table_full_resource,omitempty"`

	DatasetProjectId string `protobuf:"bytes,19,opt,name=dataset_project_id,json=datasetProjectId,proto3" json:"dataset_project_id,omitempty"`

	DatasetLocation string `protobuf:"bytes,20,opt,name=dataset_location,json=datasetLocation,proto3" json:"dataset_location,omitempty"`

	DatasetId string `protobuf:"bytes,21,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`

	TableId string `protobuf:"bytes,22,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`

	Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"`

	SensitivityScore *SensitivityScore `protobuf:"bytes,7,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"`

	DataRiskLevel *DataRiskLevel `protobuf:"bytes,8,opt,name=data_risk_level,json=dataRiskLevel,proto3" json:"data_risk_level,omitempty"`

	ColumnInfoType *InfoTypeSummary `protobuf:"bytes,9,opt,name=column_info_type,json=columnInfoType,proto3" json:"column_info_type,omitempty"`

	OtherMatches []*OtherInfoTypeSummary `protobuf:"bytes,10,rep,name=other_matches,json=otherMatches,proto3" json:"other_matches,omitempty"`

	EstimatedNullPercentage NullPercentageLevel "" /* 181 byte string literal not displayed */

	EstimatedUniquenessScore UniquenessScoreLevel "" /* 185 byte string literal not displayed */

	FreeTextScore float64 `protobuf:"fixed64,13,opt,name=free_text_score,json=freeTextScore,proto3" json:"free_text_score,omitempty"`

	ColumnType ColumnDataProfile_ColumnDataType "" /* 153 byte string literal not displayed */

	PolicyState ColumnDataProfile_ColumnPolicyState "" /* 159 byte string literal not displayed */

}

The profile for a scanned column within a table.

func (*ColumnDataProfile) Descriptor

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

Deprecated: Use ColumnDataProfile.ProtoReflect.Descriptor instead.

func (*ColumnDataProfile) GetColumn

func (x *ColumnDataProfile) GetColumn() string

func (*ColumnDataProfile) GetColumnInfoType

func (x *ColumnDataProfile) GetColumnInfoType() *InfoTypeSummary

func (*ColumnDataProfile) GetColumnType

func (*ColumnDataProfile) GetDataRiskLevel

func (x *ColumnDataProfile) GetDataRiskLevel() *DataRiskLevel

func (*ColumnDataProfile) GetDatasetId

func (x *ColumnDataProfile) GetDatasetId() string

func (*ColumnDataProfile) GetDatasetLocation

func (x *ColumnDataProfile) GetDatasetLocation() string

func (*ColumnDataProfile) GetDatasetProjectId

func (x *ColumnDataProfile) GetDatasetProjectId() string

func (*ColumnDataProfile) GetEstimatedNullPercentage

func (x *ColumnDataProfile) GetEstimatedNullPercentage() NullPercentageLevel

func (*ColumnDataProfile) GetEstimatedUniquenessScore

func (x *ColumnDataProfile) GetEstimatedUniquenessScore() UniquenessScoreLevel

func (*ColumnDataProfile) GetFreeTextScore

func (x *ColumnDataProfile) GetFreeTextScore() float64

func (*ColumnDataProfile) GetName

func (x *ColumnDataProfile) GetName() string

func (*ColumnDataProfile) GetOtherMatches

func (x *ColumnDataProfile) GetOtherMatches() []*OtherInfoTypeSummary

func (*ColumnDataProfile) GetPolicyState

func (*ColumnDataProfile) GetProfileLastGenerated

func (x *ColumnDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp

func (*ColumnDataProfile) GetProfileStatus

func (x *ColumnDataProfile) GetProfileStatus() *ProfileStatus

func (*ColumnDataProfile) GetSensitivityScore

func (x *ColumnDataProfile) GetSensitivityScore() *SensitivityScore

func (*ColumnDataProfile) GetState

func (*ColumnDataProfile) GetTableDataProfile

func (x *ColumnDataProfile) GetTableDataProfile() string

func (*ColumnDataProfile) GetTableFullResource

func (x *ColumnDataProfile) GetTableFullResource() string

func (*ColumnDataProfile) GetTableId

func (x *ColumnDataProfile) GetTableId() string

func (*ColumnDataProfile) ProtoMessage

func (*ColumnDataProfile) ProtoMessage()

func (*ColumnDataProfile) ProtoReflect

func (x *ColumnDataProfile) ProtoReflect() protoreflect.Message

func (*ColumnDataProfile) Reset

func (x *ColumnDataProfile) Reset()

func (*ColumnDataProfile) String

func (x *ColumnDataProfile) String() string

ColumnDataProfile_ColumnDataType

type ColumnDataProfile_ColumnDataType int32

Data types of the data in a column. Types may be added over time.

ColumnDataProfile_COLUMN_DATA_TYPE_UNSPECIFIED, ColumnDataProfile_TYPE_INT64, ColumnDataProfile_TYPE_BOOL, ColumnDataProfile_TYPE_FLOAT64, ColumnDataProfile_TYPE_STRING, ColumnDataProfile_TYPE_BYTES, ColumnDataProfile_TYPE_TIMESTAMP, ColumnDataProfile_TYPE_DATE, ColumnDataProfile_TYPE_TIME, ColumnDataProfile_TYPE_DATETIME, ColumnDataProfile_TYPE_GEOGRAPHY, ColumnDataProfile_TYPE_NUMERIC, ColumnDataProfile_TYPE_RECORD, ColumnDataProfile_TYPE_BIGNUMERIC, ColumnDataProfile_TYPE_JSON, ColumnDataProfile_TYPE_INTERVAL, ColumnDataProfile_TYPE_RANGE_DATE, ColumnDataProfile_TYPE_RANGE_DATETIME, ColumnDataProfile_TYPE_RANGE_TIMESTAMP

const (
	// Invalid type.
	ColumnDataProfile_COLUMN_DATA_TYPE_UNSPECIFIED ColumnDataProfile_ColumnDataType = 0
	// Encoded as a string in decimal format.
	ColumnDataProfile_TYPE_INT64 ColumnDataProfile_ColumnDataType = 1
	// Encoded as a boolean "false" or "true".
	ColumnDataProfile_TYPE_BOOL ColumnDataProfile_ColumnDataType = 2
	// Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
	ColumnDataProfile_TYPE_FLOAT64 ColumnDataProfile_ColumnDataType = 3
	// Encoded as a string value.
	ColumnDataProfile_TYPE_STRING ColumnDataProfile_ColumnDataType = 4
	// Encoded as a base64 string per RFC 4648, section 4.
	ColumnDataProfile_TYPE_BYTES ColumnDataProfile_ColumnDataType = 5
	// Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string:
	// 1985-04-12T23:20:50.52Z
	ColumnDataProfile_TYPE_TIMESTAMP ColumnDataProfile_ColumnDataType = 6
	// Encoded as RFC 3339 full-date format string: 1985-04-12
	ColumnDataProfile_TYPE_DATE ColumnDataProfile_ColumnDataType = 7
	// Encoded as RFC 3339 partial-time format string: 23:20:50.52
	ColumnDataProfile_TYPE_TIME ColumnDataProfile_ColumnDataType = 8
	// Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
	ColumnDataProfile_TYPE_DATETIME ColumnDataProfile_ColumnDataType = 9
	// Encoded as WKT
	ColumnDataProfile_TYPE_GEOGRAPHY ColumnDataProfile_ColumnDataType = 10
	// Encoded as a decimal string.
	ColumnDataProfile_TYPE_NUMERIC ColumnDataProfile_ColumnDataType = 11
	// Container of ordered fields, each with a type and field name.
	ColumnDataProfile_TYPE_RECORD ColumnDataProfile_ColumnDataType = 12
	// Decimal type.
	ColumnDataProfile_TYPE_BIGNUMERIC ColumnDataProfile_ColumnDataType = 13
	// Json type.
	ColumnDataProfile_TYPE_JSON ColumnDataProfile_ColumnDataType = 14
	// Interval type.
	ColumnDataProfile_TYPE_INTERVAL ColumnDataProfile_ColumnDataType = 15
	// `Range

func (ColumnDataProfile_ColumnDataType) Descriptor

func (ColumnDataProfile_ColumnDataType) Enum

func (ColumnDataProfile_ColumnDataType) EnumDescriptor

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

Deprecated: Use ColumnDataProfile_ColumnDataType.Descriptor instead.

func (ColumnDataProfile_ColumnDataType) Number

func (ColumnDataProfile_ColumnDataType) String

func (ColumnDataProfile_ColumnDataType) Type

ColumnDataProfile_ColumnPolicyState

type ColumnDataProfile_ColumnPolicyState int32

The possible policy states for a column.

ColumnDataProfile_COLUMN_POLICY_STATE_UNSPECIFIED, ColumnDataProfile_COLUMN_POLICY_TAGGED

const (
	// No policy tags.
	ColumnDataProfile_COLUMN_POLICY_STATE_UNSPECIFIED ColumnDataProfile_ColumnPolicyState = 0
	// Column has policy tag applied.
	ColumnDataProfile_COLUMN_POLICY_TAGGED ColumnDataProfile_ColumnPolicyState = 1
)

func (ColumnDataProfile_ColumnPolicyState) Descriptor

func (ColumnDataProfile_ColumnPolicyState) Enum

func (ColumnDataProfile_ColumnPolicyState) EnumDescriptor

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

Deprecated: Use ColumnDataProfile_ColumnPolicyState.Descriptor instead.

func (ColumnDataProfile_ColumnPolicyState) Number

func (ColumnDataProfile_ColumnPolicyState) String

func (ColumnDataProfile_ColumnPolicyState) Type

ColumnDataProfile_State

type ColumnDataProfile_State int32

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

ColumnDataProfile_STATE_UNSPECIFIED, ColumnDataProfile_RUNNING, ColumnDataProfile_DONE

const (
	// Unused.
	ColumnDataProfile_STATE_UNSPECIFIED ColumnDataProfile_State = 0
	// The profile is currently running. Once a profile has finished it will
	// transition to DONE.
	ColumnDataProfile_RUNNING ColumnDataProfile_State = 1
	// The profile is no longer generating.
	// If profile_status.status.code is 0, the profile succeeded, otherwise, it
	// failed.
	ColumnDataProfile_DONE ColumnDataProfile_State = 2
)

func (ColumnDataProfile_State) Descriptor

func (ColumnDataProfile_State) Enum

func (ColumnDataProfile_State) EnumDescriptor

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

Deprecated: Use ColumnDataProfile_State.Descriptor instead.

func (ColumnDataProfile_State) Number

func (ColumnDataProfile_State) String

func (x ColumnDataProfile_State) String() string

func (ColumnDataProfile_State) Type

Connection

type Connection struct {

	// Output only. Name of the connection:
	// `projects/{project}/locations/{location}/connections/{name}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The connection's state in its lifecycle.
	State ConnectionState `protobuf:"varint,2,opt,name=state,proto3,enum=google.privacy.dlp.v2.ConnectionState" json:"state,omitempty"`
	// Output only. Set if status == ERROR, to provide additional details. Will
	// store the last 10 errors sorted with the most recent first.
	Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// Type of connection.
	//
	// Types that are assignable to Properties:
	//
	//	*Connection_CloudSql
	Properties isConnection_Properties `protobuf_oneof:"properties"`
	// contains filtered or unexported fields
}

A data connection to allow DLP to profile data in locations that require additional configuration.

func (*Connection) Descriptor

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

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetCloudSql

func (x *Connection) GetCloudSql() *CloudSqlProperties

func (*Connection) GetErrors

func (x *Connection) GetErrors() []*Error

func (*Connection) GetName

func (x *Connection) GetName() string

func (*Connection) GetProperties

func (m *Connection) GetProperties() isConnection_Properties

func (*Connection) GetState

func (x *Connection) GetState() ConnectionState

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect

func (x *Connection) ProtoReflect() protoreflect.Message

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) String

func (x *Connection) String() string

ConnectionState

type ConnectionState int32

State of the connection. New values may be added over time.

ConnectionState_CONNECTION_STATE_UNSPECIFIED, ConnectionState_MISSING_CREDENTIALS, ConnectionState_AVAILABLE, ConnectionState_ERROR

const (
	// Unused
	ConnectionState_CONNECTION_STATE_UNSPECIFIED ConnectionState = 0
	// DLP automatically created this connection during an initial scan, and it is
	// awaiting full configuration by a user.
	ConnectionState_MISSING_CREDENTIALS ConnectionState = 1
	// A configured connection that has not encountered any errors.
	ConnectionState_AVAILABLE ConnectionState = 2
	// A configured connection that encountered errors during its last use. It
	// will not be used again until it is set to AVAILABLE.
	//
	// If the resolution requires external action, then the client must send a
	// request to set the status to AVAILABLE when the connection is ready for
	// use. If the resolution doesn't require external action, then any changes to
	// the connection properties will automatically mark it as AVAILABLE.
	ConnectionState_ERROR ConnectionState = 3
)

func (ConnectionState) Descriptor

func (ConnectionState) Enum

func (x ConnectionState) Enum() *ConnectionState

func (ConnectionState) EnumDescriptor

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

Deprecated: Use ConnectionState.Descriptor instead.

func (ConnectionState) Number

func (ConnectionState) String

func (x ConnectionState) String() string

func (ConnectionState) Type

Connection_CloudSql

type Connection_CloudSql struct {
	// Connect to a Cloud SQL instance.
	CloudSql *CloudSqlProperties `protobuf:"bytes,4,opt,name=cloud_sql,json=cloudSql,proto3,oneof"`
}

Container

type Container struct {

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

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

func (*Container) Descriptor

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetFullPath

func (x *Container) GetFullPath() string

func (*Container) GetProjectId

func (x *Container) GetProjectId() string

func (*Container) GetRelativePath

func (x *Container) GetRelativePath() string

func (*Container) GetRootPath

func (x *Container) GetRootPath() string

func (*Container) GetType

func (x *Container) GetType() string

func (*Container) GetUpdateTime

func (x *Container) GetUpdateTime() *timestamppb.Timestamp

func (*Container) GetVersion

func (x *Container) GetVersion() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

ContentItem

type ContentItem struct {

	// Data of the item either in the byte array or UTF-8 string form, or table.
	//
	// Types that are assignable to DataItem:
	//
	//	*ContentItem_Value
	//	*ContentItem_Table
	//	*ContentItem_ByteItem
	DataItem isContentItem_DataItem `protobuf_oneof:"data_item"`
	// contains filtered or unexported fields
}

Type of content to inspect.

func (*ContentItem) Descriptor

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

Deprecated: Use ContentItem.ProtoReflect.Descriptor instead.

func (*ContentItem) GetByteItem

func (x *ContentItem) GetByteItem() *ByteContentItem

func (*ContentItem) GetDataItem

func (m *ContentItem) GetDataItem() isContentItem_DataItem

func (*ContentItem) GetTable

func (x *ContentItem) GetTable() *Table

func (*ContentItem) GetValue

func (x *ContentItem) GetValue() string

func (*ContentItem) ProtoMessage

func (*ContentItem) ProtoMessage()

func (*ContentItem) ProtoReflect

func (x *ContentItem) ProtoReflect() protoreflect.Message

func (*ContentItem) Reset

func (x *ContentItem) Reset()

func (*ContentItem) String

func (x *ContentItem) String() string

ContentItem_ByteItem

type ContentItem_ByteItem struct {
	// Content data to inspect or redact. Replaces `type` and `data`.
	ByteItem *ByteContentItem `protobuf:"bytes,5,opt,name=byte_item,json=byteItem,proto3,oneof"`
}

ContentItem_Table

type ContentItem_Table struct {
	// Structured content for inspection. See
	// https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table
	// to learn more.
	Table *Table `protobuf:"bytes,4,opt,name=table,proto3,oneof"`
}

ContentItem_Value

type ContentItem_Value struct {
	// String data to inspect or redact.
	Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

ContentLocation

type ContentLocation struct {

	// Name of the container where the finding is located.
	// The top level name is the source file name or table name. Names of some
	// common storage containers are formatted as follows:
	//
	// * BigQuery tables:  `{project_id}:{dataset_id}.{table_id}`
	// * Cloud Storage files: `gs://{bucket}/{path}`
	// * Datastore namespace: {namespace}
	//
	// Nested names could be absent if the embedded object has no string
	// identifier (for 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 assignable to Location:
	//
	//	*ContentLocation_RecordLocation
	//	*ContentLocation_ImageLocation
	//	*ContentLocation_DocumentLocation
	//	*ContentLocation_MetadataLocation
	Location isContentLocation_Location `protobuf_oneof:"location"`
	// Finding container modification timestamp, if applicable. For Cloud Storage,
	// this field contains the last file modification timestamp. For a BigQuery
	// table, this field contains the last_modified_time property. For Datastore,
	// this field isn't populated.
	ContainerTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"`
	// Finding container version, if available
	// ("generation" for Cloud Storage).
	ContainerVersion string `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ContentLocation) Descriptor

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

Deprecated: Use ContentLocation.ProtoReflect.Descriptor instead.

func (*ContentLocation) GetContainerName

func (x *ContentLocation) GetContainerName() string

func (*ContentLocation) GetContainerTimestamp

func (x *ContentLocation) GetContainerTimestamp() *timestamppb.Timestamp

func (*ContentLocation) GetContainerVersion

func (x *ContentLocation) GetContainerVersion() string

func (*ContentLocation) GetDocumentLocation

func (x *ContentLocation) GetDocumentLocation() *DocumentLocation

func (*ContentLocation) GetImageLocation

func (x *ContentLocation) GetImageLocation() *ImageLocation

func (*ContentLocation) GetLocation

func (m *ContentLocation) GetLocation() isContentLocation_Location

func (*ContentLocation) GetMetadataLocation

func (x *ContentLocation) GetMetadataLocation() *MetadataLocation

func (*ContentLocation) GetRecordLocation

func (x *ContentLocation) GetRecordLocation() *RecordLocation

func (*ContentLocation) ProtoMessage

func (*ContentLocation) ProtoMessage()

func (*ContentLocation) ProtoReflect

func (x *ContentLocation) ProtoReflect() protoreflect.Message

func (*ContentLocation) Reset

func (x *ContentLocation) Reset()

func (*ContentLocation) String

func (x *ContentLocation) String() string

ContentLocation_DocumentLocation

type ContentLocation_DocumentLocation struct {
	// Location data for document files.
	DocumentLocation *DocumentLocation `protobuf:"bytes,5,opt,name=document_location,json=documentLocation,proto3,oneof"`
}

ContentLocation_ImageLocation

type ContentLocation_ImageLocation struct {
	// Location within an image's pixels.
	ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"`
}

ContentLocation_MetadataLocation

type ContentLocation_MetadataLocation struct {
	// Location within the metadata for inspected content.
	MetadataLocation *MetadataLocation `protobuf:"bytes,8,opt,name=metadata_location,json=metadataLocation,proto3,oneof"`
}

ContentLocation_RecordLocation

type ContentLocation_RecordLocation struct {
	// Location within a row or record of a database table.
	RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"`
}

ContentOption

type ContentOption int32

Deprecated and unused.

ContentOption_CONTENT_UNSPECIFIED, ContentOption_CONTENT_TEXT, ContentOption_CONTENT_IMAGE

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

func (ContentOption) Enum

func (x ContentOption) Enum() *ContentOption

func (ContentOption) EnumDescriptor

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

Deprecated: Use ContentOption.Descriptor instead.

func (ContentOption) Number

func (ContentOption) String

func (x ContentOption) String() string

func (ContentOption) Type

CreateConnectionRequest

type CreateConnectionRequest struct {

	// Required. Parent resource name in the format:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The connection resource.
	Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateConnection.

func (*CreateConnectionRequest) Descriptor

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

Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateConnectionRequest) GetConnection

func (x *CreateConnectionRequest) GetConnection() *Connection

func (*CreateConnectionRequest) GetParent

func (x *CreateConnectionRequest) GetParent() string

func (*CreateConnectionRequest) ProtoMessage

func (*CreateConnectionRequest) ProtoMessage()

func (*CreateConnectionRequest) ProtoReflect

func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message

func (*CreateConnectionRequest) Reset

func (x *CreateConnectionRequest) Reset()

func (*CreateConnectionRequest) String

func (x *CreateConnectionRequest) String() string

CreateDeidentifyTemplateRequest

type CreateDeidentifyTemplateRequest struct {

	// Required. Parent resource name.
	//
	// The format of this value varies depending on the scope of the request
	// (project or organization) and whether you have [specified a processing
	// location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
	//
	//   - Projects scope, location specified:
// `projects/`PROJECT_ID`/locations/`LOCATION_ID // - Projects scope, no location specified (defaults to global):
// `projects/`PROJECT_ID // - Organizations scope, location specified:
// `organizations/`ORG_ID`/locations/`LOCATION_ID // - Organizations scope, no location specified (defaults to global):
// `organizations/`ORG_ID // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The DeidentifyTemplate to create. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` // The template id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }

Request message for CreateDeidentifyTemplate.

func (*CreateDeidentifyTemplateRequest) Descriptor

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

Deprecated: Use CreateDeidentifyTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateDeidentifyTemplateRequest) GetDeidentifyTemplate

func (x *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate

func (*CreateDeidentifyTemplateRequest) GetLocationId

func (x *CreateDeidentifyTemplateRequest) GetLocationId() string

func (*CreateDeidentifyTemplateRequest) GetParent

func (x *CreateDeidentifyTemplateRequest) GetParent() string

func (*CreateDeidentifyTemplateRequest) GetTemplateId

func (x *CreateDeidentifyTemplateRequest) GetTemplateId() string

func (*CreateDeidentifyTemplateRequest) ProtoMessage

func (*CreateDeidentifyTemplateRequest) ProtoMessage()

func (*CreateDeidentifyTemplateRequest) ProtoReflect

func (*CreateDeidentifyTemplateRequest) Reset

func (*CreateDeidentifyTemplateRequest) String

CreateDiscoveryConfigRequest

type CreateDiscoveryConfigRequest struct {

	// Required. Parent resource name.
	//
	// The format of this value is as follows:
	// `projects/`PROJECT_ID`/locations/`LOCATION_ID
	//
	// The following example `parent` string specifies a parent project with the
	// identifier `example-project`, and specifies the `europe-west3` location
	// for processing data:
	//
	//	parent=projects/example-project/locations/europe-west3
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The DiscoveryConfig to create.
	DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,2,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"`
	// The config 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.
	ConfigId string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateDiscoveryConfig.

func (*CreateDiscoveryConfigRequest) Descriptor

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

Deprecated: Use CreateDiscoveryConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateDiscoveryConfigRequest) GetConfigId

func (x *CreateDiscoveryConfigRequest) GetConfigId() string

func (*CreateDiscoveryConfigRequest) GetDiscoveryConfig

func (x *CreateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig

func (*CreateDiscoveryConfigRequest) GetParent

func (x *CreateDiscoveryConfigRequest) GetParent() string

func (*CreateDiscoveryConfigRequest) ProtoMessage

func (*CreateDiscoveryConfigRequest) ProtoMessage()

func (*CreateDiscoveryConfigRequest) ProtoReflect

func (*CreateDiscoveryConfigRequest) Reset

func (x *CreateDiscoveryConfigRequest) Reset()

func (*CreateDiscoveryConfigRequest) String

CreateDlpJobRequest

type CreateDlpJobRequest struct {

	// Required. Parent resource name.
	//
	// The format of this value varies depending on whether you have [specified a
	// processing
	// location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
	//
	//   - Projects scope, location specified:
// `projects/`PROJECT_ID`/locations/`LOCATION_ID // - Projects scope, no location specified (defaults to global):
// `projects/`PROJECT_ID // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 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 assignable to Job: // // *CreateDlpJobRequest_InspectJob // *CreateDlpJobRequest_RiskJob Job isCreateDlpJobRequest_Job `protobuf_oneof:"job"` // The job id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }

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)

Deprecated: Use CreateDlpJobRequest.ProtoReflect.Descriptor instead.

func (*CreateDlpJobRequest) GetInspectJob

func (x *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig

func (*CreateDlpJobRequest) GetJob

func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job

func (*CreateDlpJobRequest) GetJobId

func (x *CreateDlpJobRequest) GetJobId() string

func (*CreateDlpJobRequest) GetLocationId

func (x *CreateDlpJobRequest) GetLocationId() string

func (*CreateDlpJobRequest) GetParent

func (x *CreateDlpJobRequest) GetParent() string

func (*CreateDlpJobRequest) GetRiskJob

func (x *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig

func (*CreateDlpJobRequest) ProtoMessage

func (*CreateDlpJobRequest) ProtoMessage()

func (*CreateDlpJobRequest) ProtoReflect

func (x *CreateDlpJobRequest) ProtoReflect() protoreflect.Message

func (*CreateDlpJobRequest) Reset

func (x *CreateDlpJobRequest) Reset()

func (*CreateDlpJobRequest) String

func (x *CreateDlpJobRequest) String() string

CreateDlpJobRequest_InspectJob

type CreateDlpJobRequest_InspectJob struct {
	// An inspection job scans a storage repository for InfoTypes.
	InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"`
}

CreateDlpJobRequest_RiskJob

type CreateDlpJobRequest_RiskJob struct {
	// A risk analysis job calculates re-identification risk metrics for a
	// BigQuery table.
	RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"`
}

CreateInspectTemplateRequest

type CreateInspectTemplateRequest struct {

	// Required. Parent resource name.
	//
	// The format of this value varies depending on the scope of the request
	// (project or organization) and whether you have [specified a processing
	// location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
	//
	//   - Projects scope, location specified:
// `projects/`PROJECT_ID`/locations/`LOCATION_ID // - Projects scope, no location specified (defaults to global):
// `projects/`PROJECT_ID // - Organizations scope, location specified:
// `organizations/`ORG_ID`/locations/`LOCATION_ID // - Organizations scope, no location specified (defaults to global):
// `organizations/`ORG_ID // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The InspectTemplate to create. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` // The template id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }

Request message for CreateInspectTemplate.

func (*CreateInspectTemplateRequest) Descriptor

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

Deprecated: Use CreateInspectTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateInspectTemplateRequest) GetInspectTemplate

func (x *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate

func (*CreateInspectTemplateRequest) GetLocationId

func (x *CreateInspectTemplateRequest) GetLocationId() string

func (*CreateInspectTemplateRequest) GetParent

func (x *CreateInspectTemplateRequest) GetParent() string

func (*CreateInspectTemplateRequest) GetTemplateId

func (x *CreateInspectTemplateRequest) GetTemplateId() string

func (*CreateInspectTemplateRequest) ProtoMessage

func (*CreateInspectTemplateRequest) ProtoMessage()

func (*CreateInspectTemplateRequest) ProtoReflect

func (*CreateInspectTemplateRequest) Reset

func (x *CreateInspectTemplateRequest) Reset()

func (*CreateInspectTemplateRequest) String

CreateJobTriggerRequest

type CreateJobTriggerRequest struct {

	// Required. Parent resource name.
	//
	// The format of this value varies depending on whether you have [specified a
	// processing
	// location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
	//
	//   - Projects scope, location specified:
// `projects/`PROJECT_ID`/locations/`LOCATION_ID // - Projects scope, no location specified (defaults to global):
// `projects/`PROJECT_ID // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The JobTrigger to create. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` // The trigger id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }

Request message for CreateJobTrigger.

func (*CreateJobTriggerRequest) Descriptor

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

Deprecated: Use CreateJobTriggerRequest.ProtoReflect.Descriptor instead.

func (*CreateJobTriggerRequest) GetJobTrigger

func (x *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger

func (*CreateJobTriggerRequest) GetLocationId

func (x *CreateJobTriggerRequest) GetLocationId() string

func (*CreateJobTriggerRequest) GetParent

func (x *CreateJobTriggerRequest) GetParent() string

func (*CreateJobTriggerRequest) GetTriggerId

func (x *CreateJobTriggerRequest) GetTriggerId() string

func (*CreateJobTriggerRequest) ProtoMessage

func (*CreateJobTriggerRequest) ProtoMessage()

func (*CreateJobTriggerRequest) ProtoReflect

func (x *CreateJobTriggerRequest) ProtoReflect() protoreflect.Message

func (*CreateJobTriggerRequest) Reset

func (x *CreateJobTriggerRequest) Reset()

func (*CreateJobTriggerRequest) String

func (x *CreateJobTriggerRequest) String() string

CreateStoredInfoTypeRequest

type CreateStoredInfoTypeRequest struct {

	// Required. Parent resource name.
	//
	// The format of this value varies depending on the scope of the request
	// (project or organization) and whether you have [specified a processing
	// location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
	//
	//   - Projects scope, location specified:
// `projects/`PROJECT_ID`/locations/`LOCATION_ID // - Projects scope, no location specified (defaults to global):
// `projects/`PROJECT_ID // - Organizations scope, location specified:
// `organizations/`ORG_ID`/locations/`LOCATION_ID // - Organizations scope, no location specified (defaults to global):
// `organizations/`ORG_ID // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Configuration of the storedInfoType to create. Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // The storedInfoType ID can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. StoredInfoTypeId string `protobuf:"bytes,3,opt,name=stored_info_type_id,json=storedInfoTypeId,proto3" json:"stored_info_type_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }

Request message for CreateStoredInfoType.

func (*CreateStoredInfoTypeRequest) Descriptor

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

Deprecated: Use CreateStoredInfoTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateStoredInfoTypeRequest) GetConfig

func (*CreateStoredInfoTypeRequest) GetLocationId

func (x *CreateStoredInfoTypeRequest) GetLocationId() string

func (*CreateStoredInfoTypeRequest) GetParent

func (x *CreateStoredInfoTypeRequest) GetParent() string

func (*CreateStoredInfoTypeRequest) GetStoredInfoTypeId

func (x *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string

func (*CreateStoredInfoTypeRequest) ProtoMessage

func (*CreateStoredInfoTypeRequest) ProtoMessage()

func (*CreateStoredInfoTypeRequest) ProtoReflect

func (*CreateStoredInfoTypeRequest) Reset

func (x *CreateStoredInfoTypeRequest) Reset()

func (*CreateStoredInfoTypeRequest) String

func (x *CreateStoredInfoTypeRequest) String() string

CryptoDeterministicConfig

type CryptoDeterministicConfig struct {

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

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

func (*CryptoDeterministicConfig) Descriptor

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

Deprecated: Use CryptoDeterministicConfig.ProtoReflect.Descriptor instead.

func (*CryptoDeterministicConfig) GetContext

func (x *CryptoDeterministicConfig) GetContext() *FieldId

func (*CryptoDeterministicConfig) GetCryptoKey

func (x *CryptoDeterministicConfig) GetCryptoKey() *CryptoKey

func (*CryptoDeterministicConfig) GetSurrogateInfoType

func (x *CryptoDeterministicConfig) GetSurrogateInfoType() *InfoType

func (*CryptoDeterministicConfig) ProtoMessage

func (*CryptoDeterministicConfig) ProtoMessage()

func (*CryptoDeterministicConfig) ProtoReflect

func (*CryptoDeterministicConfig) Reset

func (x *CryptoDeterministicConfig) Reset()

func (*CryptoDeterministicConfig) String

func (x *CryptoDeterministicConfig) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*CryptoHashConfig) Descriptor

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

Deprecated: Use CryptoHashConfig.ProtoReflect.Descriptor instead.

func (*CryptoHashConfig) GetCryptoKey

func (x *CryptoHashConfig) GetCryptoKey() *CryptoKey

func (*CryptoHashConfig) ProtoMessage

func (*CryptoHashConfig) ProtoMessage()

func (*CryptoHashConfig) ProtoReflect

func (x *CryptoHashConfig) ProtoReflect() protoreflect.Message

func (*CryptoHashConfig) Reset

func (x *CryptoHashConfig) Reset()

func (*CryptoHashConfig) String

func (x *CryptoHashConfig) String() string

CryptoKey

type CryptoKey struct {

	// Sources of crypto keys.
	//
	// Types that are assignable to Source:
	//
	//	*CryptoKey_Transient
	//	*CryptoKey_Unwrapped
	//	*CryptoKey_KmsWrapped
	Source isCryptoKey_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.

func (*CryptoKey) Descriptor

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

Deprecated: Use CryptoKey.ProtoReflect.Descriptor instead.

func (*CryptoKey) GetKmsWrapped

func (x *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey

func (*CryptoKey) GetSource

func (m *CryptoKey) GetSource() isCryptoKey_Source

func (*CryptoKey) GetTransient

func (x *CryptoKey) GetTransient() *TransientCryptoKey

func (*CryptoKey) GetUnwrapped

func (x *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey

func (*CryptoKey) ProtoMessage

func (*CryptoKey) ProtoMessage()

func (*CryptoKey) ProtoReflect

func (x *CryptoKey) ProtoReflect() protoreflect.Message

func (*CryptoKey) Reset

func (x *CryptoKey) Reset()

func (*CryptoKey) String

func (x *CryptoKey) String() string

CryptoKey_KmsWrapped

type CryptoKey_KmsWrapped struct {
	// Key wrapped using Cloud KMS
	KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,proto3,oneof"`
}

CryptoKey_Transient

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

CryptoKey_Unwrapped

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

CryptoReplaceFfxFpeConfig

type CryptoReplaceFfxFpeConfig struct {

	// Required. The key used by the encryption algorithm.
	CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
	// The 'tweak', a context may be used for higher security since the same
	// identifier in two different contexts won't be given the same surrogate. If
	// the context is not set, a default tweak will be used.
	//
	// If the context is set but:
	//
	// 1. there is no record present when transforming a given value or
	// 1. the field is not present when transforming a given value,
	//
	// a default tweak will be used.
	//
	// Note that case (1) is expected when an `InfoTypeTransformation` is
	// applied to both structured and unstructured `ContentItem`s.
	// Currently, the referenced field may be of value type integer or string.
	//
	// The tweak is constructed as a sequence of bytes in big endian byte order
	// such that:
	//
	// - a 64 bit integer is encoded followed by a single byte of value 1
	// - a string is encoded in UTF-8 format followed by a single byte of value 2
	Context *FieldId `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// Choose an alphabet which the data being transformed will be made up of.
	//
	// Types that are assignable 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`](https://cloud.google.com/sensitive-data-protection/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"`
	// contains filtered or unexported fields
}

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

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

func (*CryptoReplaceFfxFpeConfig) Descriptor

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

Deprecated: Use CryptoReplaceFfxFpeConfig.ProtoReflect.Descriptor instead.

func (*CryptoReplaceFfxFpeConfig) GetAlphabet

func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet

func (*CryptoReplaceFfxFpeConfig) GetCommonAlphabet

func (*CryptoReplaceFfxFpeConfig) GetContext

func (x *CryptoReplaceFfxFpeConfig) GetContext() *FieldId

func (*CryptoReplaceFfxFpeConfig) GetCryptoKey

func (x *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey

func (*CryptoReplaceFfxFpeConfig) GetCustomAlphabet

func (x *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string

func (*CryptoReplaceFfxFpeConfig) GetRadix

func (x *CryptoReplaceFfxFpeConfig) GetRadix() int32

func (*CryptoReplaceFfxFpeConfig) GetSurrogateInfoType

func (x *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType

func (*CryptoReplaceFfxFpeConfig) ProtoMessage

func (*CryptoReplaceFfxFpeConfig) ProtoMessage()

func (*CryptoReplaceFfxFpeConfig) ProtoReflect

func (*CryptoReplaceFfxFpeConfig) Reset

func (x *CryptoReplaceFfxFpeConfig) Reset()

func (*CryptoReplaceFfxFpeConfig) String

func (x *CryptoReplaceFfxFpeConfig) String() string

CryptoReplaceFfxFpeConfig_CommonAlphabet

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

CryptoReplaceFfxFpeConfig_CustomAlphabet

type CryptoReplaceFfxFpeConfig_CustomAlphabet struct {
	// This is supported by mapping these to the alphanumeric characters
	// that the FFX mode natively supports. This happens before/after
	// encryption/decryption.
	// Each character listed must appear only once.
	// Number of characters must be in the range [2, 95].
	// This must be encoded as ASCII.
	// The order of characters does not matter.
	// The full list of allowed characters is:
	// 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
	// ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/
	CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"`
}

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 a particular radix.

CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED, CryptoReplaceFfxFpeConfig_NUMERIC, CryptoReplaceFfxFpeConfig_HEXADECIMAL, CryptoReplaceFfxFpeConfig_UPPER_CASE_ALPHA_NUMERIC, CryptoReplaceFfxFpeConfig_ALPHA_NUMERIC

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

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Descriptor

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Enum

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor

Deprecated: Use CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet.Descriptor instead.

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Number

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Type

CryptoReplaceFfxFpeConfig_Radix

type CryptoReplaceFfxFpeConfig_Radix struct {
	// The native way to select the alphabet. Must be in the range [2, 95].
	Radix int32 `protobuf:"varint,6,opt,name=radix,proto3,oneof"`
}

CustomInfoType

type CustomInfoType struct {
	InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`

	Likelihood Likelihood `protobuf:"varint,6,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"`

	Type isCustomInfoType_Type `protobuf_oneof:"type"`

	DetectionRules []*CustomInfoType_DetectionRule `protobuf:"bytes,7,rep,name=detection_rules,json=detectionRules,proto3" json:"detection_rules,omitempty"`

	ExclusionType CustomInfoType_ExclusionType "" /* 157 byte string literal not displayed */

	SensitivityScore *SensitivityScore `protobuf:"bytes,9,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"`

}

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)

Deprecated: Use CustomInfoType.ProtoReflect.Descriptor instead.

func (*CustomInfoType) GetDetectionRules

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

func (*CustomInfoType) GetDictionary

func (x *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary

func (*CustomInfoType) GetExclusionType

func (x *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType

func (*CustomInfoType) GetInfoType

func (x *CustomInfoType) GetInfoType() *InfoType

func (*CustomInfoType) GetLikelihood

func (x *CustomInfoType) GetLikelihood() Likelihood

func (*CustomInfoType) GetRegex

func (x *CustomInfoType) GetRegex() *CustomInfoType_Regex

func (*CustomInfoType) GetSensitivityScore

func (x *CustomInfoType) GetSensitivityScore() *SensitivityScore

func (*CustomInfoType) GetStoredType

func (x *CustomInfoType) GetStoredType() *StoredType

func (*CustomInfoType) GetSurrogateType

func (x *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType

func (*CustomInfoType) GetType

func (m *CustomInfoType) GetType() isCustomInfoType_Type

func (*CustomInfoType) ProtoMessage

func (*CustomInfoType) ProtoMessage()

func (*CustomInfoType) ProtoReflect

func (x *CustomInfoType) ProtoReflect() protoreflect.Message

func (*CustomInfoType) Reset

func (x *CustomInfoType) Reset()

func (*CustomInfoType) String

func (x *CustomInfoType) String() string

CustomInfoType_DetectionRule

type CustomInfoType_DetectionRule struct {

	// Type of hotword rule.
	//
	// Types that are assignable to Type:
	//
	//	*CustomInfoType_DetectionRule_HotwordRule_
	Type isCustomInfoType_DetectionRule_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

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

func (*CustomInfoType_DetectionRule) Descriptor

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

Deprecated: Use CustomInfoType_DetectionRule.ProtoReflect.Descriptor instead.

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

func (*CustomInfoType_DetectionRule) Reset

func (x *CustomInfoType_DetectionRule) Reset()

func (*CustomInfoType_DetectionRule) String

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"`
	// Range of characters within which the entire hotword must reside.
	// The total length of the window cannot exceed 1000 characters.
	// The finding itself will be included in the window, so that hotwords can
	// be used to match substrings of the finding itself. Suppose you
	// want Cloud DLP to promote the likelihood of the phone number
	// regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the
	// area code of a company's office. In this case, use the hotword regex
	// "\(xxx\)", where "xxx" is the area code in question.
	//
	// For tabular data, if you want to modify the likelihood of an entire
	// column of findngs, see
	// [Hotword example: Set the match likelihood of a table column]
	// (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values).
	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"`
	// contains filtered or unexported fields
}

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)

Deprecated: Use CustomInfoType_DetectionRule_HotwordRule.ProtoReflect.Descriptor instead.

func (*CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex

func (*CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment

func (*CustomInfoType_DetectionRule_HotwordRule) GetProximity

func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage

func (*CustomInfoType_DetectionRule_HotwordRule) ProtoReflect

func (*CustomInfoType_DetectionRule_HotwordRule) Reset

func (*CustomInfoType_DetectionRule_HotwordRule) String

CustomInfoType_DetectionRule_HotwordRule_

type CustomInfoType_DetectionRule_HotwordRule_ struct {
	// Hotword-based detection rule.
	HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"`
}

CustomInfoType_DetectionRule_LikelihoodAdjustment

type CustomInfoType_DetectionRule_LikelihoodAdjustment struct {

	// How the likelihood will be modified.
	//
	// Types that are assignable to Adjustment:
	//
	//	*CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood
	//	*CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood
	Adjustment isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment `protobuf_oneof:"adjustment"`
	// contains filtered or unexported fields
}

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

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor

Deprecated: Use CustomInfoType_DetectionRule_LikelihoodAdjustment.ProtoReflect.Descriptor instead.

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 (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoReflect

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) String

CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood

type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood struct {
	// Set the likelihood of a finding to a fixed value.
	FixedLikelihood Likelihood `protobuf:"varint,1,opt,name=fixed_likelihood,json=fixedLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood,oneof"`
}

CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood

type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood struct {
	// Increase or decrease the likelihood by the specified number of
	// levels. For example, if a finding would be `POSSIBLE` without the
	// detection rule and `relative_likelihood` is 1, then it is upgraded to
	// `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
	// Likelihood may never drop below `VERY_UNLIKELY` or exceed
	// `VERY_LIKELY`, so applying an adjustment of 1 followed by an
	// adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
	// a final likelihood of `LIKELY`.
	RelativeLikelihood int32 `protobuf:"varint,2,opt,name=relative_likelihood,json=relativeLikelihood,proto3,oneof"`
}

CustomInfoType_DetectionRule_Proximity

type CustomInfoType_DetectionRule_Proximity struct {

	// Number of characters before the finding to consider. For tabular data,
	// if you want to modify the likelihood of an entire column of findngs,
	// set this to 1. For more information, see
	// [Hotword example: Set the match likelihood of a table column]
	// (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values).
	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"`
	// contains filtered or unexported fields
}

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)

Deprecated: Use CustomInfoType_DetectionRule_Proximity.ProtoReflect.Descriptor instead.

func (*CustomInfoType_DetectionRule_Proximity) GetWindowAfter

func (x *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32

func (*CustomInfoType_DetectionRule_Proximity) GetWindowBefore

func (x *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32

func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage

func (*CustomInfoType_DetectionRule_Proximity) ProtoReflect

func (*CustomInfoType_DetectionRule_Proximity) Reset

func (*CustomInfoType_DetectionRule_Proximity) String

CustomInfoType_Dictionary

type CustomInfoType_Dictionary struct {

	// The potential places the data can be read from.
	//
	// Types that are assignable to Source:
	//
	//	*CustomInfoType_Dictionary_WordList_
	//	*CustomInfoType_Dictionary_CloudStoragePath
	Source isCustomInfoType_Dictionary_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

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 will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer".

Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The limits page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using LargeCustomDictionaryConfig in the StoredInfoType API.

func (*CustomInfoType_Dictionary) Descriptor

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

Deprecated: Use CustomInfoType_Dictionary.ProtoReflect.Descriptor instead.

func (*CustomInfoType_Dictionary) GetCloudStoragePath

func (x *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) ProtoReflect

func (*CustomInfoType_Dictionary) Reset

func (x *CustomInfoType_Dictionary) Reset()

func (*CustomInfoType_Dictionary) String

func (x *CustomInfoType_Dictionary) String() string

CustomInfoType_Dictionary_

type CustomInfoType_Dictionary_ struct {
	// A list of phrases to detect as a CustomInfoType.
	Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,2,opt,name=dictionary,proto3,oneof"`
}

CustomInfoType_Dictionary_CloudStoragePath

type CustomInfoType_Dictionary_CloudStoragePath struct {
	// Newline-delimited file of words in Cloud Storage. Only a single file
	// is accepted.
	CloudStoragePath *CloudStoragePath `protobuf:"bytes,3,opt,name=cloud_storage_path,json=cloudStoragePath,proto3,oneof"`
}

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"`
	// contains filtered or unexported fields
}

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)

Deprecated: Use CustomInfoType_Dictionary_WordList.ProtoReflect.Descriptor instead.

func (*CustomInfoType_Dictionary_WordList) GetWords

func (*CustomInfoType_Dictionary_WordList) ProtoMessage

func (*CustomInfoType_Dictionary_WordList) ProtoMessage()

func (*CustomInfoType_Dictionary_WordList) ProtoReflect

func (*CustomInfoType_Dictionary_WordList) Reset

func (*CustomInfoType_Dictionary_WordList) String

CustomInfoType_Dictionary_WordList_

type CustomInfoType_Dictionary_WordList_ struct {
	// List of words or phrases to search for.
	WordList *CustomInfoType_Dictionary_WordList `protobuf:"bytes,1,opt,name=word_list,json=wordList,proto3,oneof"`
}

CustomInfoType_ExclusionType

type CustomInfoType_ExclusionType int32

Type of exclusion rule.

CustomInfoType_EXCLUSION_TYPE_UNSPECIFIED, CustomInfoType_EXCLUSION_TYPE_EXCLUDE

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

func (CustomInfoType_ExclusionType) Descriptor

func (CustomInfoType_ExclusionType) Enum

func (CustomInfoType_ExclusionType) EnumDescriptor

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

Deprecated: Use CustomInfoType_ExclusionType.Descriptor instead.

func (CustomInfoType_ExclusionType) Number

func (CustomInfoType_ExclusionType) String

func (CustomInfoType_ExclusionType) Type

CustomInfoType_Regex

type CustomInfoType_Regex struct {

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

Message defining a custom regular expression.

func (*CustomInfoType_Regex) Descriptor

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

Deprecated: Use CustomInfoType_Regex.ProtoReflect.Descriptor instead.

func (*CustomInfoType_Regex) GetGroupIndexes

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

func (*CustomInfoType_Regex) GetPattern

func (x *CustomInfoType_Regex) GetPattern() string

func (*CustomInfoType_Regex) ProtoMessage

func (*CustomInfoType_Regex) ProtoMessage()

func (*CustomInfoType_Regex) ProtoReflect

func (x *CustomInfoType_Regex) ProtoReflect() protoreflect.Message

func (*CustomInfoType_Regex) Reset

func (x *CustomInfoType_Regex) Reset()

func (*CustomInfoType_Regex) String

func (x *CustomInfoType_Regex) String() string

CustomInfoType_Regex_

type CustomInfoType_Regex_ struct {
	// Regular expression based CustomInfoType.
	Regex *CustomInfoType_Regex `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}

CustomInfoType_StoredType

type CustomInfoType_StoredType struct {
	// Load an existing `StoredInfoType` resource for use in
	// `InspectDataSource`. Not currently supported in `InspectContent`.
	StoredType *StoredType `protobuf:"bytes,5,opt,name=stored_type,json=storedType,proto3,oneof"`
}

CustomInfoType_SurrogateType

type CustomInfoType_SurrogateType struct {
	// contains filtered or unexported fields
}

Message for detecting output from deidentification transformations such as 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)

Deprecated: Use CustomInfoType_SurrogateType.ProtoReflect.Descriptor instead.

func (*CustomInfoType_SurrogateType) ProtoMessage

func (*CustomInfoType_SurrogateType) ProtoMessage()

func (*CustomInfoType_SurrogateType) ProtoReflect

func (*CustomInfoType_SurrogateType) Reset

func (x *CustomInfoType_SurrogateType) Reset()

func (*CustomInfoType_SurrogateType) String

CustomInfoType_SurrogateType_

type CustomInfoType_SurrogateType_ struct {
	// Message for detecting output from deidentification transformations that
	// support reversing.
	SurrogateType *CustomInfoType_SurrogateType `protobuf:"bytes,4,opt,name=surrogate_type,json=surrogateType,proto3,oneof"`
}

DataProfileAction

type DataProfileAction struct {

	// Type of action to execute when a profile is generated.
	//
	// Types that are assignable to Action:
	//
	//	*DataProfileAction_ExportData
	//	*DataProfileAction_PubSubNotification_
	Action isDataProfileAction_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

A task to execute when a data profile has been generated.

func (*DataProfileAction) Descriptor

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

Deprecated: Use DataProfileAction.ProtoReflect.Descriptor instead.

func (*DataProfileAction) GetAction

func (m *DataProfileAction) GetAction() isDataProfileAction_Action

func (*DataProfileAction) GetExportData

func (x *DataProfileAction) GetExportData() *DataProfileAction_Export

func (*DataProfileAction) GetPubSubNotification

func (x *DataProfileAction) GetPubSubNotification() *DataProfileAction_PubSubNotification

func (*DataProfileAction) ProtoMessage

func (*DataProfileAction) ProtoMessage()

func (*DataProfileAction) ProtoReflect

func (x *DataProfileAction) ProtoReflect() protoreflect.Message

func (*DataProfileAction) Reset

func (x *DataProfileAction) Reset()

func (*DataProfileAction) String

func (x *DataProfileAction) String() string

DataProfileAction_EventType

type DataProfileAction_EventType int32

Types of event that can trigger an action.

DataProfileAction_EVENT_TYPE_UNSPECIFIED, DataProfileAction_NEW_PROFILE, DataProfileAction_CHANGED_PROFILE, DataProfileAction_SCORE_INCREASED, DataProfileAction_ERROR_CHANGED

const (
	// Unused.
	DataProfileAction_EVENT_TYPE_UNSPECIFIED DataProfileAction_EventType = 0
	// New profile (not a re-profile).
	DataProfileAction_NEW_PROFILE DataProfileAction_EventType = 1
	// One of the following profile metrics changed: Data risk score,
	// Sensitivity score, Resource visibility, Encryption type, Predicted
	// infoTypes, Other infoTypes
	DataProfileAction_CHANGED_PROFILE DataProfileAction_EventType = 2
	// Table data risk score or sensitivity score increased.
	DataProfileAction_SCORE_INCREASED DataProfileAction_EventType = 3
	// A user (non-internal) error occurred.
	DataProfileAction_ERROR_CHANGED DataProfileAction_EventType = 4
)

func (DataProfileAction_EventType) Descriptor

func (DataProfileAction_EventType) Enum

func (DataProfileAction_EventType) EnumDescriptor

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

Deprecated: Use DataProfileAction_EventType.Descriptor instead.

func (DataProfileAction_EventType) Number

func (DataProfileAction_EventType) String

func (DataProfileAction_EventType) Type

DataProfileAction_Export

type DataProfileAction_Export struct {

	// Store all table and column profiles in an existing table or a new table
	// in an existing dataset. Each re-generation will result in new rows in
	// BigQuery. Data is inserted using [streaming
	// insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
	// and so data may be in the buffer for a period of time after the profile
	// has finished. The Pub/Sub notification is sent before the streaming
	// buffer is guaranteed to be written, so data may not be instantly
	// visible to queries by the time your topic receives the Pub/Sub
	// notification.
	ProfileTable *BigQueryTable `protobuf:"bytes,1,opt,name=profile_table,json=profileTable,proto3" json:"profile_table,omitempty"`
	// contains filtered or unexported fields
}

If set, the detailed data profiles will be persisted to the location of your choice whenever updated.

func (*DataProfileAction_Export) Descriptor