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",
20: "RESOURCE_VISIBILITY_RESTRICTED",
}
ResourceVisibility_value = map[string]int32{
"RESOURCE_VISIBILITY_UNSPECIFIED": 0,
"RESOURCE_VISIBILITY_PUBLIC": 10,
"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.
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",
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",
21: "KOREA",
22: "MEXICO",
23: "THE_NETHERLANDS",
41: "NEW_ZEALAND",
24: "NORWAY",
25: "PARAGUAY",
26: "PERU",
27: "POLAND",
28: "PORTUGAL",
29: "SINGAPORE",
30: "SOUTH_AFRICA",
31: "SPAIN",
32: "SWEDEN",
43: "SWITZERLAND",
33: "TAIWAN",
34: "THAILAND",
35: "TURKEY",
36: "UNITED_KINGDOM",
37: "UNITED_STATES",
38: "URUGUAY",
39: "VENEZUELA",
40: "INTERNAL",
}
InfoTypeCategory_LocationCategory_value = map[string]int32{
"LOCATION_UNSPECIFIED": 0,
"GLOBAL": 1,
"ARGENTINA": 2,
"AUSTRALIA": 3,
"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,
"KOREA": 21,
"MEXICO": 22,
"THE_NETHERLANDS": 23,
"NEW_ZEALAND": 41,
"NORWAY": 24,
"PARAGUAY": 25,
"PERU": 26,
"POLAND": 27,
"PORTUGAL": 28,
"SINGAPORE": 29,
"SOUTH_AFRICA": 30,
"SPAIN": 31,
"SWEDEN": 32,
"SWITZERLAND": 43,
"TAIWAN": 33,
"THAILAND": 34,
"TURKEY": 35,
"UNITED_KINGDOM": 36,
"UNITED_STATES": 37,
"URUGUAY": 38,
"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.
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",
}
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,
}
)
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.
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 {
// 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/dlp/docs/concepts-actions to learn more.
func (*Action) Descriptor
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
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 (x *Action_JobNotificationEmails) ProtoReflect() protoreflect.Message
func (*Action_JobNotificationEmails) Reset
func (x *Action_JobNotificationEmails) Reset()
func (*Action_JobNotificationEmails) String
func (x *Action_JobNotificationEmails) String() 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) ProtoMessage()
func (*Action_PublishFindingsToCloudDataCatalog) ProtoReflect
func (x *Action_PublishFindingsToCloudDataCatalog) ProtoReflect() protoreflect.Message
func (*Action_PublishFindingsToCloudDataCatalog) Reset
func (x *Action_PublishFindingsToCloudDataCatalog) Reset()
func (*Action_PublishFindingsToCloudDataCatalog) String
func (x *Action_PublishFindingsToCloudDataCatalog) String() 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 (x *Action_PublishSummaryToCscc) ProtoReflect() protoreflect.Message
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 (x *Action_PublishToStackdriver) ProtoReflect() protoreflect.Message
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 (x *ActivateJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*ActivateJobTriggerRequest) Reset
func (x *ActivateJobTriggerRequest) Reset()
func (*ActivateJobTriggerRequest) String
func (x *ActivateJobTriggerRequest) 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 (x *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult
func (*AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult
func (x *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult
func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult
func (x *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult
func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult
func (x *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult
func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult
func (x *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult
func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult
func (x *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult
func (*AnalyzeDataSourceRiskDetails) GetRequestedOptions
func (x *AnalyzeDataSourceRiskDetails) GetRequestedOptions() *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions
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 (x *AnalyzeDataSourceRiskDetails) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails) Reset
func (x *AnalyzeDataSourceRiskDetails) Reset()
func (*AnalyzeDataSourceRiskDetails) String
func (x *AnalyzeDataSourceRiskDetails) String() 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
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() 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
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() 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
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() 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
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() 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
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() 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
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() 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
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() 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
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() 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
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() 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
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() 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
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() 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
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) String() 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
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() 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
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass
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) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() 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
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_NumericalStatsResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() 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
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) GetJobConfig
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) GetJobConfig() *RiskAnalysisJobConfig
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoMessage
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoReflect
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Reset
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Reset()
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) String
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) String() 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 (x *BigQueryDiscoveryTarget) GetCadence() *DiscoveryGenerationCadence
func (*BigQueryDiscoveryTarget) GetConditions
func (x *BigQueryDiscoveryTarget) GetConditions() *DiscoveryBigQueryConditions
func (*BigQueryDiscoveryTarget) GetDisabled
func (x *BigQueryDiscoveryTarget) GetDisabled() *Disabled
func (*BigQueryDiscoveryTarget) GetFilter
func (x *BigQueryDiscoveryTarget) GetFilter() *DiscoveryBigQueryFilter
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 (
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) Descriptor() protoreflect.EnumDescriptor
func (BigQueryOptions_SampleMethod) Enum
func (x BigQueryOptions_SampleMethod) Enum() *BigQueryOptions_SampleMethod
func (BigQueryOptions_SampleMethod) EnumDescriptor
func (BigQueryOptions_SampleMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryOptions_SampleMethod.Descriptor instead.
func (BigQueryOptions_SampleMethod) Number
func (x BigQueryOptions_SampleMethod) Number() protoreflect.EnumNumber
func (BigQueryOptions_SampleMethod) String
func (x BigQueryOptions_SampleMethod) String() string
func (BigQueryOptions_SampleMethod) Type
func (BigQueryOptions_SampleMethod) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (BigQuerySchemaModification) Enum
func (x BigQuerySchemaModification) Enum() *BigQuerySchemaModification
func (BigQuerySchemaModification) EnumDescriptor
func (BigQuerySchemaModification) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQuerySchemaModification.Descriptor instead.
func (BigQuerySchemaModification) Number
func (x BigQuerySchemaModification) Number() protoreflect.EnumNumber
func (BigQuerySchemaModification) String
func (x BigQuerySchemaModification) String() string
func (BigQuerySchemaModification) Type
func (BigQuerySchemaModification) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (BigQueryTableModification) Enum
func (x BigQueryTableModification) Enum() *BigQueryTableModification
func (BigQueryTableModification) EnumDescriptor
func (BigQueryTableModification) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryTableModification.Descriptor instead.
func (BigQueryTableModification) Number
func (x BigQueryTableModification) Number() protoreflect.EnumNumber
func (BigQueryTableModification) String
func (x BigQueryTableModification) String() string
func (BigQueryTableModification) Type
func (BigQueryTableModification) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (BigQueryTableType) Enum
func (x BigQueryTableType) Enum() *BigQueryTableType
func (BigQueryTableType) EnumDescriptor
func (BigQueryTableType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryTableType.Descriptor instead.
func (BigQueryTableType) Number
func (x BigQueryTableType) Number() protoreflect.EnumNumber
func (BigQueryTableType) String
func (x BigQueryTableType) String() string
func (BigQueryTableType) Type
func (BigQueryTableType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (BigQueryTableTypeCollection) Enum
func (x BigQueryTableTypeCollection) Enum() *BigQueryTableTypeCollection
func (BigQueryTableTypeCollection) EnumDescriptor
func (BigQueryTableTypeCollection) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryTableTypeCollection.Descriptor instead.
func (BigQueryTableTypeCollection) Number
func (x BigQueryTableTypeCollection) Number() protoreflect.EnumNumber
func (BigQueryTableTypeCollection) String
func (x BigQueryTableTypeCollection) String() string
func (BigQueryTableTypeCollection) Type
func (BigQueryTableTypeCollection) Type() protoreflect.EnumType
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/dlp/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 (x *ByteContentItem) GetType() ByteContentItem_BytesType
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 =