genproto: google.golang.org/genproto/googleapis/privacy/dlp/v2 Index | Files

package dlp

import "google.golang.org/genproto/googleapis/privacy/dlp/v2"

Index

Package Files

dlp.pb.go storage.pb.go

Variables

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.

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.

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.

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.

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.

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.

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.

var (
    ByteContentItem_BytesType_name = map[int32]string{
        0:  "BYTES_TYPE_UNSPECIFIED",
        6:  "IMAGE",
        1:  "IMAGE_JPEG",
        2:  "IMAGE_BMP",
        3:  "IMAGE_PNG",
        4:  "IMAGE_SVG",
        5:  "TEXT_UTF8",
        7:  "WORD_DOCUMENT",
        8:  "PDF",
        11: "AVRO",
        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,
        "AVRO":                   11,
        "CSV":                    12,
        "TSV":                    13,
    }
)

Enum value maps for ByteContentItem_BytesType.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

Enum value maps for FileType.

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.

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.

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.

var File_google_privacy_dlp_v2_dlp_proto protoreflect.FileDescriptor
var File_google_privacy_dlp_v2_storage_proto protoreflect.FileDescriptor

func RegisterDlpServiceServer Uses

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

type Action Uses

type Action struct {

    // Types that are assignable to Action:
    //	*Action_SaveFindings_
    //	*Action_PubSub
    //	*Action_PublishSummaryToCscc_
    //	*Action_PublishFindingsToCloudDataCatalog_
    //	*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 Uses

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetAction Uses

func (m *Action) GetAction() isAction_Action

func (*Action) GetJobNotificationEmails Uses

func (x *Action) GetJobNotificationEmails() *Action_JobNotificationEmails

func (*Action) GetPubSub Uses

func (x *Action) GetPubSub() *Action_PublishToPubSub

func (*Action) GetPublishFindingsToCloudDataCatalog Uses

func (x *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog

func (*Action) GetPublishSummaryToCscc Uses

func (x *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc

func (*Action) GetPublishToStackdriver Uses

func (x *Action) GetPublishToStackdriver() *Action_PublishToStackdriver

func (*Action) GetSaveFindings Uses

func (x *Action) GetSaveFindings() *Action_SaveFindings

func (*Action) ProtoMessage Uses

func (*Action) ProtoMessage()

func (*Action) ProtoReflect Uses

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

func (*Action) Reset Uses

func (x *Action) Reset()

func (*Action) String Uses

func (x *Action) String() string

type Action_JobNotificationEmails Uses

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

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

func (*Action_JobNotificationEmails) Descriptor Uses

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

Deprecated: Use Action_JobNotificationEmails.ProtoReflect.Descriptor instead.

func (*Action_JobNotificationEmails) ProtoMessage Uses

func (*Action_JobNotificationEmails) ProtoMessage()

func (*Action_JobNotificationEmails) ProtoReflect Uses

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

func (*Action_JobNotificationEmails) Reset Uses

func (x *Action_JobNotificationEmails) Reset()

func (*Action_JobNotificationEmails) String Uses

func (x *Action_JobNotificationEmails) String() string

type Action_JobNotificationEmails_ Uses

type Action_JobNotificationEmails_ struct {
    // Enable email notification for project owners and editors on job's
    // completion/failure.
    JobNotificationEmails *Action_JobNotificationEmails `protobuf:"bytes,8,opt,name=job_notification_emails,json=jobNotificationEmails,proto3,oneof"`
}

type Action_PubSub Uses

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

type Action_PublishFindingsToCloudDataCatalog Uses

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

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

func (*Action_PublishFindingsToCloudDataCatalog) Descriptor Uses

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

Deprecated: Use Action_PublishFindingsToCloudDataCatalog.ProtoReflect.Descriptor instead.

func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage Uses

func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage()

func (*Action_PublishFindingsToCloudDataCatalog) ProtoReflect Uses

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

func (*Action_PublishFindingsToCloudDataCatalog) Reset Uses

func (x *Action_PublishFindingsToCloudDataCatalog) Reset()

func (*Action_PublishFindingsToCloudDataCatalog) String Uses

func (x *Action_PublishFindingsToCloudDataCatalog) String() string

type Action_PublishFindingsToCloudDataCatalog_ Uses

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

type Action_PublishSummaryToCscc Uses

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

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

func (*Action_PublishSummaryToCscc) Descriptor Uses

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

Deprecated: Use Action_PublishSummaryToCscc.ProtoReflect.Descriptor instead.

func (*Action_PublishSummaryToCscc) ProtoMessage Uses

func (*Action_PublishSummaryToCscc) ProtoMessage()

func (*Action_PublishSummaryToCscc) ProtoReflect Uses

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

func (*Action_PublishSummaryToCscc) Reset Uses

func (x *Action_PublishSummaryToCscc) Reset()

func (*Action_PublishSummaryToCscc) String Uses

func (x *Action_PublishSummaryToCscc) String() string

type Action_PublishSummaryToCscc_ Uses

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

type Action_PublishToPubSub Uses

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 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`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk

func (*Action_PublishToPubSub) Descriptor Uses

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

Deprecated: Use Action_PublishToPubSub.ProtoReflect.Descriptor instead.

func (*Action_PublishToPubSub) GetTopic Uses

func (x *Action_PublishToPubSub) GetTopic() string

func (*Action_PublishToPubSub) ProtoMessage Uses

func (*Action_PublishToPubSub) ProtoMessage()

func (*Action_PublishToPubSub) ProtoReflect Uses

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

func (*Action_PublishToPubSub) Reset Uses

func (x *Action_PublishToPubSub) Reset()

func (*Action_PublishToPubSub) String Uses

func (x *Action_PublishToPubSub) String() string

type Action_PublishToStackdriver Uses

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 Uses

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

Deprecated: Use Action_PublishToStackdriver.ProtoReflect.Descriptor instead.

func (*Action_PublishToStackdriver) ProtoMessage Uses

func (*Action_PublishToStackdriver) ProtoMessage()

func (*Action_PublishToStackdriver) ProtoReflect Uses

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

func (*Action_PublishToStackdriver) Reset Uses

func (x *Action_PublishToStackdriver) Reset()

func (*Action_PublishToStackdriver) String Uses

func (x *Action_PublishToStackdriver) String() string

type Action_PublishToStackdriver_ Uses

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

type Action_SaveFindings Uses

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 Uses

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

Deprecated: Use Action_SaveFindings.ProtoReflect.Descriptor instead.

func (*Action_SaveFindings) GetOutputConfig Uses

func (x *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig

func (*Action_SaveFindings) ProtoMessage Uses

func (*Action_SaveFindings) ProtoMessage()

func (*Action_SaveFindings) ProtoReflect Uses

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

func (*Action_SaveFindings) Reset Uses

func (x *Action_SaveFindings) Reset()

func (*Action_SaveFindings) String Uses

func (x *Action_SaveFindings) String() string

type Action_SaveFindings_ Uses

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

type ActivateJobTriggerRequest Uses

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 Uses

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

Deprecated: Use ActivateJobTriggerRequest.ProtoReflect.Descriptor instead.

func (*ActivateJobTriggerRequest) GetName Uses

func (x *ActivateJobTriggerRequest) GetName() string

func (*ActivateJobTriggerRequest) ProtoMessage Uses

func (*ActivateJobTriggerRequest) ProtoMessage()

func (*ActivateJobTriggerRequest) ProtoReflect Uses

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

func (*ActivateJobTriggerRequest) Reset Uses

func (x *ActivateJobTriggerRequest) Reset()

func (*ActivateJobTriggerRequest) String Uses

func (x *ActivateJobTriggerRequest) String() string

type AnalyzeDataSourceRiskDetails Uses

type AnalyzeDataSourceRiskDetails struct {

    // Privacy metric to compute.
    RequestedPrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=requested_privacy_metric,json=requestedPrivacyMetric,proto3" json:"requested_privacy_metric,omitempty"`
    // Input dataset to compute metrics over.
    RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"`
    // Values associated with this metric.
    //
    // Types that are assignable to Result:
    //	*AnalyzeDataSourceRiskDetails_NumericalStatsResult_
    //	*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_
    //	*AnalyzeDataSourceRiskDetails_KAnonymityResult_
    //	*AnalyzeDataSourceRiskDetails_LDiversityResult_
    //	*AnalyzeDataSourceRiskDetails_KMapEstimationResult_
    //	*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_
    Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"`
    // contains filtered or unexported fields
}

Result of a risk analysis operation request.

func (*AnalyzeDataSourceRiskDetails) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult Uses

func (x *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult Uses

func (x *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult Uses

func (x *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult

func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult Uses

func (x *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult Uses

func (x *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult

func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult Uses

func (x *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric Uses

func (x *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric

func (*AnalyzeDataSourceRiskDetails) GetRequestedSourceTable Uses

func (x *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable

func (*AnalyzeDataSourceRiskDetails) GetResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result

func (*AnalyzeDataSourceRiskDetails) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails) Reset Uses

func (x *AnalyzeDataSourceRiskDetails) Reset()

func (*AnalyzeDataSourceRiskDetails) String Uses

func (x *AnalyzeDataSourceRiskDetails) String() string

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult Uses

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct {

    // Histogram of value frequencies in the column.
    ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `protobuf:"bytes,5,rep,name=value_frequency_histogram_buckets,json=valueFrequencyHistogramBuckets,proto3" json:"value_frequency_histogram_buckets,omitempty"`
    // contains filtered or unexported fields
}

Result of the categorical stats computation.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ Uses

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

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket Uses

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct {

    // Lower bound on the value frequency of the values in this bucket.
    ValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=value_frequency_lower_bound,json=valueFrequencyLowerBound,proto3" json:"value_frequency_lower_bound,omitempty"`
    // Upper bound on the value frequency of the values in this bucket.
    ValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=value_frequency_upper_bound,json=valueFrequencyUpperBound,proto3" json:"value_frequency_upper_bound,omitempty"`
    // Total number of values in this bucket.
    BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
    // Sample of value frequencies in this bucket. The total number of
    // values returned per bucket is capped at 20.
    BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
    // Total number of distinct values in this bucket.
    BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
    // contains filtered or unexported fields
}

Histogram of value frequencies in the column.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String Uses

func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult Uses

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct {

    // The intervals [min_probability, max_probability) do not overlap. If a
    // value doesn't correspond to any such interval, the associated frequency
    // is zero. For example, the following records:
    //   {min_probability: 0, max_probability: 0.1, frequency: 17}
    //   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
    //   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
    // mean that there are no record with an estimated probability in [0.1, 0.2)
    // nor larger or equal to 0.4.
    DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket `protobuf:"bytes,1,rep,name=delta_presence_estimation_histogram,json=deltaPresenceEstimationHistogram,proto3" json:"delta_presence_estimation_histogram,omitempty"`
    // contains filtered or unexported fields
}

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ Uses

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

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket Uses

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 Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() string

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues Uses

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 Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String Uses

func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() string

type AnalyzeDataSourceRiskDetails_KAnonymityResult Uses

type AnalyzeDataSourceRiskDetails_KAnonymityResult struct {

    // Histogram of k-anonymity equivalence classes.
    EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `protobuf:"bytes,5,rep,name=equivalence_class_histogram_buckets,json=equivalenceClassHistogramBuckets,proto3" json:"equivalence_class_histogram_buckets,omitempty"`
    // contains filtered or unexported fields
}

Result of the k-anonymity computation.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string

type AnalyzeDataSourceRiskDetails_KAnonymityResult_ Uses

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

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass Uses

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 Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket Uses

type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct {

    // Lower bound on the size of the equivalence classes in this bucket.
    EquivalenceClassSizeLowerBound int64 `protobuf:"varint,1,opt,name=equivalence_class_size_lower_bound,json=equivalenceClassSizeLowerBound,proto3" json:"equivalence_class_size_lower_bound,omitempty"`
    // Upper bound on the size of the equivalence classes in this bucket.
    EquivalenceClassSizeUpperBound int64 `protobuf:"varint,2,opt,name=equivalence_class_size_upper_bound,json=equivalenceClassSizeUpperBound,proto3" json:"equivalence_class_size_upper_bound,omitempty"`
    // Total number of equivalence classes in this bucket.
    BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
    // Sample of equivalence classes in this bucket. The total number of
    // classes returned per bucket is capped at 20.
    BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
    // Total number of distinct equivalence classes in this bucket.
    BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
    // contains filtered or unexported fields
}

Histogram of k-anonymity equivalence classes.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String Uses

func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string

type AnalyzeDataSourceRiskDetails_KMapEstimationResult Uses

type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct {

    // The intervals [min_anonymity, max_anonymity] do not overlap. If a value
    // doesn't correspond to any such interval, the associated frequency is
    // zero. For example, the following records:
    //   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
    //   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
    //   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
    // mean that there are no record with an estimated anonymity of 4, 5, or
    // larger than 10.
    KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket `protobuf:"bytes,1,rep,name=k_map_estimation_histogram,json=kMapEstimationHistogram,proto3" json:"k_map_estimation_histogram,omitempty"`
    // contains filtered or unexported fields
}

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ Uses

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

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket Uses

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 Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues Uses

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 Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String Uses

func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string

type AnalyzeDataSourceRiskDetails_LDiversityResult Uses

type AnalyzeDataSourceRiskDetails_LDiversityResult struct {

    // Histogram of l-diversity equivalence class sensitive value frequencies.
    SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `protobuf:"bytes,5,rep,name=sensitive_value_frequency_histogram_buckets,json=sensitiveValueFrequencyHistogramBuckets,proto3" json:"sensitive_value_frequency_histogram_buckets,omitempty"`
    // contains filtered or unexported fields
}

Result of the l-diversity computation.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string

type AnalyzeDataSourceRiskDetails_LDiversityResult_ Uses

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

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass Uses

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct {

    // Quasi-identifier values defining the k-anonymity equivalence
    // class. The order is always the same as the original request.
    QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
    // Size of the k-anonymity equivalence class.
    EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"`
    // Number of distinct sensitive values in this equivalence class.
    NumDistinctSensitiveValues int64 `protobuf:"varint,3,opt,name=num_distinct_sensitive_values,json=numDistinctSensitiveValues,proto3" json:"num_distinct_sensitive_values,omitempty"`
    // Estimated frequencies of top sensitive values.
    TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"`
    // contains filtered or unexported fields
}

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket Uses

type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct {

    // Lower bound on the sensitive value frequencies of the equivalence
    // classes in this bucket.
    SensitiveValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=sensitive_value_frequency_lower_bound,json=sensitiveValueFrequencyLowerBound,proto3" json:"sensitive_value_frequency_lower_bound,omitempty"`
    // Upper bound on the sensitive value frequencies of the equivalence
    // classes in this bucket.
    SensitiveValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=sensitive_value_frequency_upper_bound,json=sensitiveValueFrequencyUpperBound,proto3" json:"sensitive_value_frequency_upper_bound,omitempty"`
    // Total number of equivalence classes in this bucket.
    BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
    // Sample of equivalence classes in this bucket. The total number of
    // classes returned per bucket is capped at 20.
    BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
    // Total number of distinct equivalence classes in this bucket.
    BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
    // contains filtered or unexported fields
}

Histogram of l-diversity equivalence class sensitive value frequencies.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String Uses

func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string

type AnalyzeDataSourceRiskDetails_NumericalStatsResult Uses

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 Uses

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

Deprecated: Use AnalyzeDataSourceRiskDetails_NumericalStatsResult.ProtoReflect.Descriptor instead.

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue Uses

func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue Uses

func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues Uses

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect Uses

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset Uses

func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String Uses

func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string

type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ Uses

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

type BigQueryField Uses

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 Uses

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

Deprecated: Use BigQueryField.ProtoReflect.Descriptor instead.

func (*BigQueryField) GetField Uses

func (x *BigQueryField) GetField() *FieldId

func (*BigQueryField) GetTable Uses

func (x *BigQueryField) GetTable() *BigQueryTable

func (*BigQueryField) ProtoMessage Uses

func (*BigQueryField) ProtoMessage()

func (*BigQueryField) ProtoReflect Uses

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

func (*BigQueryField) Reset Uses

func (x *BigQueryField) Reset()

func (*BigQueryField) String Uses

func (x *BigQueryField) String() string

type BigQueryKey Uses

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 Uses

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

Deprecated: Use BigQueryKey.ProtoReflect.Descriptor instead.

func (*BigQueryKey) GetRowNumber Uses

func (x *BigQueryKey) GetRowNumber() int64

func (*BigQueryKey) GetTableReference Uses

func (x *BigQueryKey) GetTableReference() *BigQueryTable

func (*BigQueryKey) ProtoMessage Uses

func (*BigQueryKey) ProtoMessage()

func (*BigQueryKey) ProtoReflect Uses

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

func (*BigQueryKey) Reset Uses

func (x *BigQueryKey) Reset()

func (*BigQueryKey) String Uses

func (x *BigQueryKey) String() string

type BigQueryOptions Uses

type BigQueryOptions struct {

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

Options defining BigQuery table and row identifiers.

func (*BigQueryOptions) Descriptor Uses

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

Deprecated: Use BigQueryOptions.ProtoReflect.Descriptor instead.

func (*BigQueryOptions) GetExcludedFields Uses

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

func (*BigQueryOptions) GetIdentifyingFields Uses

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

func (*BigQueryOptions) GetRowsLimit Uses

func (x *BigQueryOptions) GetRowsLimit() int64

func (*BigQueryOptions) GetRowsLimitPercent Uses

func (x *BigQueryOptions) GetRowsLimitPercent() int32

func (*BigQueryOptions) GetSampleMethod Uses

func (x *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod

func (*BigQueryOptions) GetTableReference Uses

func (x *BigQueryOptions) GetTableReference() *BigQueryTable

func (*BigQueryOptions) ProtoMessage Uses

func (*BigQueryOptions) ProtoMessage()

func (*BigQueryOptions) ProtoReflect Uses

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

func (*BigQueryOptions) Reset Uses

func (x *BigQueryOptions) Reset()

func (*BigQueryOptions) String Uses

func (x *BigQueryOptions) String() string

type BigQueryOptions_SampleMethod Uses

type BigQueryOptions_SampleMethod int32

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

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

func (BigQueryOptions_SampleMethod) Descriptor Uses

func (BigQueryOptions_SampleMethod) Descriptor() protoreflect.EnumDescriptor

func (BigQueryOptions_SampleMethod) Enum Uses

func (x BigQueryOptions_SampleMethod) Enum() *BigQueryOptions_SampleMethod

func (BigQueryOptions_SampleMethod) EnumDescriptor Uses

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

Deprecated: Use BigQueryOptions_SampleMethod.Descriptor instead.

func (BigQueryOptions_SampleMethod) Number Uses

func (x BigQueryOptions_SampleMethod) Number() protoreflect.EnumNumber

func (BigQueryOptions_SampleMethod) String Uses

func (x BigQueryOptions_SampleMethod) String() string

func (BigQueryOptions_SampleMethod) Type Uses

func (BigQueryOptions_SampleMethod) Type() protoreflect.EnumType

type BigQueryTable Uses

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 Uses

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

Deprecated: Use BigQueryTable.ProtoReflect.Descriptor instead.

func (*BigQueryTable) GetDatasetId Uses

func (x *BigQueryTable) GetDatasetId() string

func (*BigQueryTable) GetProjectId Uses

func (x *BigQueryTable) GetProjectId() string

func (*BigQueryTable) GetTableId Uses

func (x *BigQueryTable) GetTableId() string

func (*BigQueryTable) ProtoMessage Uses

func (*BigQueryTable) ProtoMessage()

func (*BigQueryTable) ProtoReflect Uses

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

func (*BigQueryTable) Reset Uses

func (x *BigQueryTable) Reset()

func (*BigQueryTable) String Uses

func (x *BigQueryTable) String() string

type BoundingBox Uses

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 Uses

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

Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.

func (*BoundingBox) GetHeight Uses

func (x *BoundingBox) GetHeight() int32

func (*BoundingBox) GetLeft Uses

func (x *BoundingBox) GetLeft() int32

func (*BoundingBox) GetTop Uses

func (x *BoundingBox) GetTop() int32

func (*BoundingBox) GetWidth Uses

func (x *BoundingBox) GetWidth() int32

func (*BoundingBox) ProtoMessage Uses

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) ProtoReflect Uses

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

func (*BoundingBox) Reset Uses

func (x *BoundingBox) Reset()

func (*BoundingBox) String Uses

func (x *BoundingBox) String() string

type BucketingConfig Uses

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 Uses

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

Deprecated: Use BucketingConfig.ProtoReflect.Descriptor instead.

func (*BucketingConfig) GetBuckets Uses

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

func (*BucketingConfig) ProtoMessage Uses

func (*BucketingConfig) ProtoMessage()

func (*BucketingConfig) ProtoReflect Uses

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

func (*BucketingConfig) Reset Uses

func (x *BucketingConfig) Reset()

func (*BucketingConfig) String Uses

func (x *BucketingConfig) String() string

type BucketingConfig_Bucket Uses

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 Uses

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

Deprecated: Use BucketingConfig_Bucket.ProtoReflect.Descriptor instead.

func (*BucketingConfig_Bucket) GetMax Uses

func (x *BucketingConfig_Bucket) GetMax() *Value

func (*BucketingConfig_Bucket) GetMin Uses

func (x *BucketingConfig_Bucket) GetMin() *Value

func (*BucketingConfig_Bucket) GetReplacementValue Uses

func (x *BucketingConfig_Bucket) GetReplacementValue() *Value

func (*BucketingConfig_Bucket) ProtoMessage Uses

func (*BucketingConfig_Bucket) ProtoMessage()

func (*BucketingConfig_Bucket) ProtoReflect Uses

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

func (*BucketingConfig_Bucket) Reset Uses

func (x *BucketingConfig_Bucket) Reset()

func (*BucketingConfig_Bucket) String Uses

func (x *BucketingConfig_Bucket) String() string

type ByteContentItem Uses

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 Uses

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

Deprecated: Use ByteContentItem.ProtoReflect.Descriptor instead.

func (*ByteContentItem) GetData Uses

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

func (*ByteContentItem) GetType Uses

func (x *ByteContentItem) GetType() ByteContentItem_BytesType

func (*ByteContentItem) ProtoMessage Uses

func (*ByteContentItem) ProtoMessage()

func (*ByteContentItem) ProtoReflect Uses

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

func (*ByteContentItem) Reset Uses

func (x *ByteContentItem) Reset()

func (*ByteContentItem) String Uses

func (x *ByteContentItem) String() string

type ByteContentItem_BytesType Uses

type ByteContentItem_BytesType int32

The type of data being sent for inspection.

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

func (ByteContentItem_BytesType) Descriptor Uses

func (ByteContentItem_BytesType) Descriptor() protoreflect.EnumDescriptor

func (ByteContentItem_BytesType) Enum Uses

func (x ByteContentItem_BytesType) Enum() *ByteContentItem_BytesType

func (ByteContentItem_BytesType) EnumDescriptor Uses

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

Deprecated: Use ByteContentItem_BytesType.Descriptor instead.

func (ByteContentItem_BytesType) Number Uses

func (x ByteContentItem_BytesType) Number() protoreflect.EnumNumber

func (ByteContentItem_BytesType) String Uses

func (x ByteContentItem_BytesType) String() string

func (ByteContentItem_BytesType) Type Uses

func (ByteContentItem_BytesType) Type() protoreflect.EnumType

type CancelDlpJobRequest Uses

type CancelDlpJobRequest struct {

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

The request message for canceling a DLP job.

func (*CancelDlpJobRequest) Descriptor Uses

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

Deprecated: Use CancelDlpJobRequest.ProtoReflect.Descriptor instead.

func (*CancelDlpJobRequest) GetName Uses

func (x *CancelDlpJobRequest) GetName() string

func (*CancelDlpJobRequest) ProtoMessage Uses

func (*CancelDlpJobRequest) ProtoMessage()

func (*CancelDlpJobRequest) ProtoReflect Uses

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

func (*CancelDlpJobRequest) Reset Uses

func (x *CancelDlpJobRequest) Reset()

func (*CancelDlpJobRequest) String Uses

func (x *CancelDlpJobRequest) String() string

type CharacterMaskConfig Uses

type CharacterMaskConfig struct {

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

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

func (*CharacterMaskConfig) Descriptor Uses

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

Deprecated: Use CharacterMaskConfig.ProtoReflect.Descriptor instead.

func (*CharacterMaskConfig) GetCharactersToIgnore Uses

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

func (*CharacterMaskConfig) GetMaskingCharacter Uses

func (x *CharacterMaskConfig) GetMaskingCharacter() string

func (*CharacterMaskConfig) GetNumberToMask Uses

func (x *CharacterMaskConfig) GetNumberToMask() int32

func (*CharacterMaskConfig) GetReverseOrder Uses

func (x *CharacterMaskConfig) GetReverseOrder() bool

func (*CharacterMaskConfig) ProtoMessage Uses

func (*CharacterMaskConfig) ProtoMessage()

func (*CharacterMaskConfig) ProtoReflect Uses

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

func (*CharacterMaskConfig) Reset Uses

func (x *CharacterMaskConfig) Reset()

func (*CharacterMaskConfig) String Uses

func (x *CharacterMaskConfig) String() string

type CharsToIgnore Uses

type CharsToIgnore struct {

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

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

func (*CharsToIgnore) Descriptor Uses

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

Deprecated: Use CharsToIgnore.ProtoReflect.Descriptor instead.

func (*CharsToIgnore) GetCharacters Uses

func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters

func (*CharsToIgnore) GetCharactersToSkip Uses

func (x *CharsToIgnore) GetCharactersToSkip() string

func (*CharsToIgnore) GetCommonCharactersToIgnore Uses

func (x *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore

func (*CharsToIgnore) ProtoMessage Uses

func (*CharsToIgnore) ProtoMessage()

func (*CharsToIgnore) ProtoReflect Uses

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

func (*CharsToIgnore) Reset Uses

func (x *CharsToIgnore) Reset()

func (*CharsToIgnore) String Uses

func (x *CharsToIgnore) String() string

type CharsToIgnore_CharactersToSkip Uses

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

type CharsToIgnore_CommonCharactersToIgnore Uses

type CharsToIgnore_CommonCharactersToIgnore struct {
    // Common characters to not transform when masking. Useful to avoid removing
    // punctuation.
    CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `protobuf:"varint,2,opt,name=common_characters_to_ignore,json=commonCharactersToIgnore,proto3,enum=google.privacy.dlp.v2.CharsToIgnore_CommonCharsToIgnore,oneof"`
}

type CharsToIgnore_CommonCharsToIgnore Uses

type CharsToIgnore_CommonCharsToIgnore int32

Convenience enum for indication common characters to not transform.

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

func (CharsToIgnore_CommonCharsToIgnore) Descriptor Uses

func (CharsToIgnore_CommonCharsToIgnore) Descriptor() protoreflect.EnumDescriptor

func (CharsToIgnore_CommonCharsToIgnore) Enum Uses

func (x CharsToIgnore_CommonCharsToIgnore) Enum() *CharsToIgnore_CommonCharsToIgnore

func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor Uses

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

Deprecated: Use CharsToIgnore_CommonCharsToIgnore.Descriptor instead.

func (CharsToIgnore_CommonCharsToIgnore) Number Uses

func (x CharsToIgnore_CommonCharsToIgnore) Number() protoreflect.EnumNumber

func (CharsToIgnore_CommonCharsToIgnore) String Uses

func (x CharsToIgnore_CommonCharsToIgnore) String() string

func (CharsToIgnore_CommonCharsToIgnore) Type Uses

func (CharsToIgnore_CommonCharsToIgnore) Type() protoreflect.EnumType

type CloudStorageFileSet Uses

type CloudStorageFileSet struct {

    // The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    // path is allowed.
    Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
    // contains filtered or unexported fields
}

Message representing a set of files in Cloud Storage.

func (*CloudStorageFileSet) Descriptor Uses

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

Deprecated: Use CloudStorageFileSet.ProtoReflect.Descriptor instead.

func (*CloudStorageFileSet) GetUrl Uses

func (x *CloudStorageFileSet) GetUrl() string

func (*CloudStorageFileSet) ProtoMessage Uses

func (*CloudStorageFileSet) ProtoMessage()

func (*CloudStorageFileSet) ProtoReflect Uses

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

func (*CloudStorageFileSet) Reset Uses

func (x *CloudStorageFileSet) Reset()

func (*CloudStorageFileSet) String Uses

func (x *CloudStorageFileSet) String() string

type CloudStorageOptions Uses

type CloudStorageOptions struct {

    // The set of one or more files to scan.
    FileSet *CloudStorageOptions_FileSet `protobuf:"bytes,1,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"`
    // Max number of bytes to scan from a file. If a scanned file's size is bigger
    // than this value then the rest of the bytes are omitted. Only one
    // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
    BytesLimitPerFile int64 `protobuf:"varint,4,opt,name=bytes_limit_per_file,json=bytesLimitPerFile,proto3" json:"bytes_limit_per_file,omitempty"`
    // Max percentage of bytes to scan from a file. The rest are omitted. The
    // number of bytes scanned is rounded down. Must be between 0 and 100,
    // inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one
    // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
    BytesLimitPerFilePercent int32 `protobuf:"varint,8,opt,name=bytes_limit_per_file_percent,json=bytesLimitPerFilePercent,proto3" json:"bytes_limit_per_file_percent,omitempty"`
    // List of file type groups to include in the scan.
    // If empty, all files are scanned and available data format processors
    // are applied. In addition, the binary content of the selected files
    // is always scanned as well.
    // Images are scanned only as binary if the specified region
    // does not support image inspection and no file_types were specified.
    // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
    FileTypes    []FileType                       `protobuf:"varint,5,rep,packed,name=file_types,json=fileTypes,proto3,enum=google.privacy.dlp.v2.FileType" json:"file_types,omitempty"`
    SampleMethod CloudStorageOptions_SampleMethod `protobuf:"varint,6,opt,name=sample_method,json=sampleMethod,proto3,enum=google.privacy.dlp.v2.CloudStorageOptions_SampleMethod" json:"sample_method,omitempty"`
    // Limits the number of files to scan to this percentage of the input FileSet.
    // Number of files scanned is rounded down. Must be between 0 and 100,
    // inclusively. Both 0 and 100 means no limit. Defaults to 0.
    FilesLimitPercent int32 `protobuf:"varint,7,opt,name=files_limit_percent,json=filesLimitPercent,proto3" json:"files_limit_percent,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CloudStorageOptions) Descriptor Uses

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

Deprecated: Use CloudStorageOptions.ProtoReflect.Descriptor instead.

func (*CloudStorageOptions) GetBytesLimitPerFile Uses

func (x *CloudStorageOptions) GetBytesLimitPerFile() int64

func (*CloudStorageOptions) GetBytesLimitPerFilePercent Uses

func (x *CloudStorageOptions) GetBytesLimitPerFilePercent() int32

func (*CloudStorageOptions) GetFileSet Uses

func (x *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet

func (*CloudStorageOptions) GetFileTypes Uses

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

func (*CloudStorageOptions) GetFilesLimitPercent Uses

func (x *CloudStorageOptions) GetFilesLimitPercent() int32

func (*CloudStorageOptions) GetSampleMethod Uses

func (x *CloudStorageOptions) GetSampleMethod() CloudStorageOptions_SampleMethod

func (*CloudStorageOptions) ProtoMessage Uses

func (*CloudStorageOptions) ProtoMessage()

func (*CloudStorageOptions) ProtoReflect Uses

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

func (*CloudStorageOptions) Reset Uses

func (x *CloudStorageOptions) Reset()

func (*CloudStorageOptions) String Uses

func (x *CloudStorageOptions) String() string

type CloudStorageOptions_FileSet Uses

type CloudStorageOptions_FileSet struct {

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

Set of files to scan.

func (*CloudStorageOptions_FileSet) Descriptor Uses

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

Deprecated: Use CloudStorageOptions_FileSet.ProtoReflect.Descriptor instead.

func (*CloudStorageOptions_FileSet) GetRegexFileSet Uses

func (x *CloudStorageOptions_FileSet) GetRegexFileSet() *CloudStorageRegexFileSet

func (*CloudStorageOptions_FileSet) GetUrl Uses

func (x *CloudStorageOptions_FileSet) GetUrl() string

func (*CloudStorageOptions_FileSet) ProtoMessage Uses

func (*CloudStorageOptions_FileSet) ProtoMessage()

func (*CloudStorageOptions_FileSet) ProtoReflect Uses

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

func (*CloudStorageOptions_FileSet) Reset Uses

func (x *CloudStorageOptions_FileSet) Reset()

func (*CloudStorageOptions_FileSet) String Uses

func (x *CloudStorageOptions_FileSet) String() string

type CloudStorageOptions_SampleMethod Uses

type CloudStorageOptions_SampleMethod int32

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

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

func (CloudStorageOptions_SampleMethod) Descriptor Uses

func (CloudStorageOptions_SampleMethod) Descriptor() protoreflect.EnumDescriptor

func (CloudStorageOptions_SampleMethod) Enum Uses

func (x CloudStorageOptions_SampleMethod) Enum() *CloudStorageOptions_SampleMethod

func (CloudStorageOptions_SampleMethod) EnumDescriptor Uses

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

Deprecated: Use CloudStorageOptions_SampleMethod.Descriptor instead.

func (CloudStorageOptions_SampleMethod) Number Uses

func (x CloudStorageOptions_SampleMethod) Number() protoreflect.EnumNumber

func (CloudStorageOptions_SampleMethod) String Uses

func (x CloudStorageOptions_SampleMethod) String() string

func (CloudStorageOptions_SampleMethod) Type Uses

func (CloudStorageOptions_SampleMethod) Type() protoreflect.EnumType

type CloudStoragePath Uses

type CloudStoragePath struct {

    // A url representing a file or path (no wildcards) in Cloud Storage.
    // Example: gs://[BUCKET_NAME]/dictionary.txt
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // contains filtered or unexported fields
}

Message representing a single file or path in Cloud Storage.

func (*CloudStoragePath) Descriptor Uses

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

Deprecated: Use CloudStoragePath.ProtoReflect.Descriptor instead.

func (*CloudStoragePath) GetPath Uses

func (x *CloudStoragePath) GetPath() string

func (*CloudStoragePath) ProtoMessage Uses

func (*CloudStoragePath) ProtoMessage()

func (*CloudStoragePath) ProtoReflect Uses

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

func (*CloudStoragePath) Reset Uses

func (x *CloudStoragePath) Reset()

func (*CloudStoragePath) String Uses

func (x *CloudStoragePath) String() string

type CloudStorageRegexFileSet Uses

type CloudStorageRegexFileSet struct {

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

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

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

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

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

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

Some other common use cases:

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

func (*CloudStorageRegexFileSet) Descriptor Uses

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

Deprecated: Use CloudStorageRegexFileSet.ProtoReflect.Descriptor instead.

func (*CloudStorageRegexFileSet) GetBucketName Uses

func (x *CloudStorageRegexFileSet) GetBucketName() string

func (*CloudStorageRegexFileSet) GetExcludeRegex Uses

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

func (*CloudStorageRegexFileSet) GetIncludeRegex Uses

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

func (*CloudStorageRegexFileSet) ProtoMessage Uses

func (*CloudStorageRegexFileSet) ProtoMessage()

func (*CloudStorageRegexFileSet) ProtoReflect Uses

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

func (*CloudStorageRegexFileSet) Reset Uses

func (x *CloudStorageRegexFileSet) Reset()

func (*CloudStorageRegexFileSet) String Uses

func (x *CloudStorageRegexFileSet) String() string

type Color Uses

type Color struct {

    // The amount of red in the color as a value in the interval [0, 1].
    Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"`
    // The amount of green in the color as a value in the interval [0, 1].
    Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"`
    // The amount of blue in the color as a value in the interval [0, 1].
    Blue float32 `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"`
    // contains filtered or unexported fields
}

Represents a color in the RGB color space.

func (*Color) Descriptor Uses

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

Deprecated: Use Color.ProtoReflect.Descriptor instead.

func (*Color) GetBlue Uses

func (x *Color) GetBlue() float32

func (*Color) GetGreen Uses

func (x *Color) GetGreen() float32

func (*Color) GetRed Uses

func (x *Color) GetRed() float32

func (*Color) ProtoMessage Uses

func (*Color) ProtoMessage()

func (*Color) ProtoReflect Uses

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

func (*Color) Reset Uses

func (x *Color) Reset()

func (*Color) String Uses

func (x *Color) String() string

type Container Uses

type Container struct {

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

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

func (*Container) Descriptor Uses

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetFullPath Uses

func (x *Container) GetFullPath() string

func (*Container) GetProjectId Uses

func (x *Container) GetProjectId() string

func (*Container) GetRelativePath Uses

func (x *Container) GetRelativePath() string

func (*Container) GetRootPath Uses

func (x *Container) GetRootPath() string

func (*Container) GetType Uses

func (x *Container) GetType() string

func (*Container) GetUpdateTime Uses

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

func (*Container) GetVersion Uses

func (x *Container) GetVersion() string

func (*Container) ProtoMessage Uses

func (*Container) ProtoMessage()

func (*Container) ProtoReflect Uses

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

func (*Container) Reset Uses

func (x *Container) Reset()

func (*Container) String Uses

func (x *Container) String() string

type ContentItem Uses

type ContentItem struct {

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

Container structure for the content to inspect.

func (*ContentItem) Descriptor Uses

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

Deprecated: Use ContentItem.ProtoReflect.Descriptor instead.

func (*ContentItem) GetByteItem Uses

func (x *ContentItem) GetByteItem() *ByteContentItem

func (*ContentItem) GetDataItem Uses

func (m *ContentItem) GetDataItem() isContentItem_DataItem

func (*ContentItem) GetTable Uses

func (x *ContentItem) GetTable() *Table

func (*ContentItem) GetValue Uses

func (x *ContentItem) GetValue() string

func (*ContentItem) ProtoMessage Uses

func (*ContentItem) ProtoMessage()

func (*ContentItem) ProtoReflect Uses

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

func (*ContentItem) Reset Uses

func (x *ContentItem) Reset()

func (*ContentItem) String Uses

func (x *ContentItem) String() string

type ContentItem_ByteItem Uses

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

type ContentItem_Table Uses

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

type ContentItem_Value Uses

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

type ContentLocation Uses

type ContentLocation struct {

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

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

func (*ContentLocation) Descriptor Uses

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

Deprecated: Use ContentLocation.ProtoReflect.Descriptor instead.

func (*ContentLocation) GetContainerName Uses

func (x *ContentLocation) GetContainerName() string

func (*ContentLocation) GetContainerTimestamp Uses

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

func (*ContentLocation) GetContainerVersion Uses

func (x *ContentLocation) GetContainerVersion() string

func (*ContentLocation) GetDocumentLocation Uses

func (x *ContentLocation) GetDocumentLocation() *DocumentLocation

func (*ContentLocation) GetImageLocation Uses

func (x *ContentLocation) GetImageLocation() *ImageLocation

func (*ContentLocation) GetLocation Uses

func (m *ContentLocation) GetLocation() isContentLocation_Location

func (*ContentLocation) GetMetadataLocation Uses

func (x *ContentLocation) GetMetadataLocation() *MetadataLocation

func (*ContentLocation) GetRecordLocation Uses

func (x *ContentLocation) GetRecordLocation() *RecordLocation

func (*ContentLocation) ProtoMessage Uses

func (*ContentLocation) ProtoMessage()

func (*ContentLocation) ProtoReflect Uses

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

func (*ContentLocation) Reset Uses

func (x *ContentLocation) Reset()

func (*ContentLocation) String Uses

func (x *ContentLocation) String() string

type ContentLocation_DocumentLocation Uses

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

type ContentLocation_ImageLocation Uses

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

type ContentLocation_MetadataLocation Uses

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

type ContentLocation_RecordLocation Uses

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

type ContentOption Uses

type ContentOption int32

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

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

func (ContentOption) Descriptor Uses

func (ContentOption) Descriptor() protoreflect.EnumDescriptor

func (ContentOption) Enum Uses

func (x ContentOption) Enum() *ContentOption

func (ContentOption) EnumDescriptor Uses

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

Deprecated: Use ContentOption.Descriptor instead.

func (ContentOption) Number Uses

func (x ContentOption) Number() protoreflect.EnumNumber

func (ContentOption) String Uses

func (x ContentOption) String() string

func (ContentOption) Type Uses

func (ContentOption) Type() protoreflect.EnumType

type CreateDeidentifyTemplateRequest Uses

type CreateDeidentifyTemplateRequest struct {

    // Required. Parent resource name.
    // - Format:projects/[PROJECT-ID]
    // - Format:organizations/[ORGANIZATION-ID]
    // - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
    // - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The DeidentifyTemplate to create.
    DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"`
    // The template id can contain uppercase and lowercase letters,
    // numbers, and hyphens; that is, it must match the regular
    // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
    // characters. Can be empty to allow the system to generate one.
    TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
    // Deprecated. This field has no effect.
    LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
    // contains filtered or unexported fields
}

Request message for CreateDeidentifyTemplate.

func (*CreateDeidentifyTemplateRequest) Descriptor Uses

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

Deprecated: Use CreateDeidentifyTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateDeidentifyTemplateRequest) GetDeidentifyTemplate Uses

func (x *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate

func (*CreateDeidentifyTemplateRequest) GetLocationId Uses

func (x *CreateDeidentifyTemplateRequest) GetLocationId() string

func (*CreateDeidentifyTemplateRequest) GetParent Uses

func (x *CreateDeidentifyTemplateRequest) GetParent() string

func (*CreateDeidentifyTemplateRequest) GetTemplateId Uses

func (x *CreateDeidentifyTemplateRequest) GetTemplateId() string

func (*CreateDeidentifyTemplateRequest) ProtoMessage Uses

func (*CreateDeidentifyTemplateRequest) ProtoMessage()

func (*CreateDeidentifyTemplateRequest) ProtoReflect Uses

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

func (*CreateDeidentifyTemplateRequest) Reset Uses

func (x *CreateDeidentifyTemplateRequest) Reset()

func (*CreateDeidentifyTemplateRequest) String Uses

func (x *CreateDeidentifyTemplateRequest) String() string

type CreateDlpJobRequest Uses

type CreateDlpJobRequest struct {

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

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

func (*CreateDlpJobRequest) Descriptor Uses

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

Deprecated: Use CreateDlpJobRequest.ProtoReflect.Descriptor instead.

func (*CreateDlpJobRequest) GetInspectJob Uses

func (x *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig

func (*CreateDlpJobRequest) GetJob Uses

func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job

func (*CreateDlpJobRequest) GetJobId Uses

func (x *CreateDlpJobRequest) GetJobId() string

func (*CreateDlpJobRequest) GetLocationId Uses

func (x *CreateDlpJobRequest) GetLocationId() string

func (*CreateDlpJobRequest) GetParent Uses

func (x *CreateDlpJobRequest) GetParent() string

func (*CreateDlpJobRequest) GetRiskJob Uses

func (x *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig

func (*CreateDlpJobRequest) ProtoMessage Uses

func (*CreateDlpJobRequest) ProtoMessage()

func (*CreateDlpJobRequest) ProtoReflect Uses

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

func (*CreateDlpJobRequest) Reset Uses

func (x *CreateDlpJobRequest) Reset()

func (*CreateDlpJobRequest) String Uses

func (x *CreateDlpJobRequest) String() string

type CreateDlpJobRequest_InspectJob Uses

type CreateDlpJobRequest_InspectJob struct {
    // Set to control what and how to inspect.
    InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"`
}

type CreateDlpJobRequest_RiskJob Uses

type CreateDlpJobRequest_RiskJob struct {
    // Set to choose what metric to calculate.
    RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"`
}

type CreateInspectTemplateRequest Uses

type CreateInspectTemplateRequest struct {

    // Required. Parent resource name.
    // - Format:projects/[PROJECT-ID]
    // - Format:organizations/[ORGANIZATION-ID]
    // - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
    // - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The InspectTemplate to create.
    InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
    // The template id can contain uppercase and lowercase letters,
    // numbers, and hyphens; that is, it must match the regular
    // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
    // characters. Can be empty to allow the system to generate one.
    TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
    // Deprecated. This field has no effect.
    LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
    // contains filtered or unexported fields
}

Request message for CreateInspectTemplate.

func (*CreateInspectTemplateRequest) Descriptor Uses

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

Deprecated: Use CreateInspectTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateInspectTemplateRequest) GetInspectTemplate Uses

func (x *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate

func (*CreateInspectTemplateRequest) GetLocationId Uses

func (x *CreateInspectTemplateRequest) GetLocationId() string

func (*CreateInspectTemplateRequest) GetParent Uses

func (x *CreateInspectTemplateRequest) GetParent() string

func (*CreateInspectTemplateRequest) GetTemplateId Uses

func (x *CreateInspectTemplateRequest) GetTemplateId() string

func (*CreateInspectTemplateRequest) ProtoMessage Uses

func (*CreateInspectTemplateRequest) ProtoMessage()

func (*CreateInspectTemplateRequest) ProtoReflect Uses

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

func (*CreateInspectTemplateRequest) Reset Uses

func (x *CreateInspectTemplateRequest) Reset()

func (*CreateInspectTemplateRequest) String Uses

func (x *CreateInspectTemplateRequest) String() string

type CreateJobTriggerRequest Uses

type CreateJobTriggerRequest struct {

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

Request message for CreateJobTrigger.

func (*CreateJobTriggerRequest) Descriptor Uses

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

Deprecated: Use CreateJobTriggerRequest.ProtoReflect.Descriptor instead.

func (*CreateJobTriggerRequest) GetJobTrigger Uses

func (x *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger

func (*CreateJobTriggerRequest) GetLocationId Uses

func (x *CreateJobTriggerRequest) GetLocationId() string

func (*CreateJobTriggerRequest) GetParent Uses

func (x *CreateJobTriggerRequest) GetParent() string

func (*CreateJobTriggerRequest) GetTriggerId Uses

func (x *CreateJobTriggerRequest) GetTriggerId() string

func (*CreateJobTriggerRequest) ProtoMessage Uses

func (*CreateJobTriggerRequest) ProtoMessage()

func (*CreateJobTriggerRequest) ProtoReflect Uses

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

func (*CreateJobTriggerRequest) Reset Uses

func (x *CreateJobTriggerRequest) Reset()

func (*CreateJobTriggerRequest) String Uses

func (x *CreateJobTriggerRequest) String() string

type CreateStoredInfoTypeRequest Uses

type CreateStoredInfoTypeRequest struct {

    // Required. Parent resource name.
    // - Format:projects/[PROJECT-ID]
    // - Format:organizations/[ORGANIZATION-ID]
    // - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
    // - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Configuration of the storedInfoType to create.
    Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
    // The storedInfoType ID can contain uppercase and lowercase letters,
    // numbers, and hyphens; that is, it must match the regular
    // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
    // characters. Can be empty to allow the system to generate one.
    StoredInfoTypeId string `protobuf:"bytes,3,opt,name=stored_info_type_id,json=storedInfoTypeId,proto3" json:"stored_info_type_id,omitempty"`
    // Deprecated. This field has no effect.
    LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
    // contains filtered or unexported fields
}

Request message for CreateStoredInfoType.

func (*CreateStoredInfoTypeRequest) Descriptor Uses

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

Deprecated: Use CreateStoredInfoTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateStoredInfoTypeRequest) GetConfig Uses

func (x *CreateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig

func (*CreateStoredInfoTypeRequest) GetLocationId Uses

func (x *CreateStoredInfoTypeRequest) GetLocationId() string

func (*CreateStoredInfoTypeRequest) GetParent Uses

func (x *CreateStoredInfoTypeRequest) GetParent() string

func (*CreateStoredInfoTypeRequest) GetStoredInfoTypeId Uses

func (x *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string

func (*CreateStoredInfoTypeRequest) ProtoMessage Uses

func (*CreateStoredInfoTypeRequest) ProtoMessage()

func (*CreateStoredInfoTypeRequest) ProtoReflect Uses

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

func (*CreateStoredInfoTypeRequest) Reset Uses

func (x *CreateStoredInfoTypeRequest) Reset()

func (*CreateStoredInfoTypeRequest) String Uses

func (x *CreateStoredInfoTypeRequest) String() string

type CryptoDeterministicConfig Uses

type CryptoDeterministicConfig struct {

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

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

func (*CryptoDeterministicConfig) Descriptor Uses

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

Deprecated: Use CryptoDeterministicConfig.ProtoReflect.Descriptor instead.

func (*CryptoDeterministicConfig) GetContext Uses

func (x *CryptoDeterministicConfig) GetContext() *FieldId

func (*CryptoDeterministicConfig) GetCryptoKey Uses

func (x *CryptoDeterministicConfig) GetCryptoKey() *CryptoKey

func (*CryptoDeterministicConfig) GetSurrogateInfoType Uses

func (x *CryptoDeterministicConfig) GetSurrogateInfoType() *InfoType

func (*CryptoDeterministicConfig) ProtoMessage Uses

func (*CryptoDeterministicConfig) ProtoMessage()

func (*CryptoDeterministicConfig) ProtoReflect Uses

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

func (*CryptoDeterministicConfig) Reset Uses

func (x *CryptoDeterministicConfig) Reset()

func (*CryptoDeterministicConfig) String Uses

func (x *CryptoDeterministicConfig) String() string

type CryptoHashConfig Uses

type CryptoHashConfig struct {

    // The key used by the hash function.
    CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CryptoHashConfig) Descriptor Uses

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

Deprecated: Use CryptoHashConfig.ProtoReflect.Descriptor instead.

func (*CryptoHashConfig) GetCryptoKey Uses

func (x *CryptoHashConfig) GetCryptoKey() *CryptoKey

func (*CryptoHashConfig) ProtoMessage Uses

func (*CryptoHashConfig) ProtoMessage()

func (*CryptoHashConfig) ProtoReflect Uses

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

func (*CryptoHashConfig) Reset Uses

func (x *CryptoHashConfig) Reset()

func (*CryptoHashConfig) String Uses

func (x *CryptoHashConfig) String() string

type CryptoKey Uses

type CryptoKey struct {

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

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

func (*CryptoKey) Descriptor Uses

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

Deprecated: Use CryptoKey.ProtoReflect.Descriptor instead.

func (*CryptoKey) GetKmsWrapped Uses

func (x *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey

func (*CryptoKey) GetSource Uses

func (m *CryptoKey) GetSource() isCryptoKey_Source

func (*CryptoKey) GetTransient Uses

func (x *CryptoKey) GetTransient() *TransientCryptoKey

func (*CryptoKey) GetUnwrapped Uses

func (x *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey

func (*CryptoKey) ProtoMessage Uses

func (*CryptoKey) ProtoMessage()

func (*CryptoKey) ProtoReflect Uses

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

func (*CryptoKey) Reset Uses

func (x *CryptoKey) Reset()

func (*CryptoKey) String Uses

func (x *CryptoKey) String() string

type CryptoKey_KmsWrapped Uses

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

type CryptoKey_Transient Uses

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

type CryptoKey_Unwrapped Uses

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

type CryptoReplaceFfxFpeConfig Uses

type CryptoReplaceFfxFpeConfig struct {

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

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

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

func (*CryptoReplaceFfxFpeConfig) Descriptor Uses

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

Deprecated: Use CryptoReplaceFfxFpeConfig.ProtoReflect.Descriptor instead.

func (*CryptoReplaceFfxFpeConfig) GetAlphabet Uses

func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet

func (*CryptoReplaceFfxFpeConfig) GetCommonAlphabet Uses

func (x *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet

func (*CryptoReplaceFfxFpeConfig) GetContext Uses

func (x *CryptoReplaceFfxFpeConfig) GetContext() *FieldId

func (*CryptoReplaceFfxFpeConfig) GetCryptoKey Uses

func (x *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey

func (*CryptoReplaceFfxFpeConfig) GetCustomAlphabet Uses

func (x *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string

func (*CryptoReplaceFfxFpeConfig) GetRadix Uses

func (x *CryptoReplaceFfxFpeConfig) GetRadix() int32

func (*CryptoReplaceFfxFpeConfig) GetSurrogateInfoType Uses

func (x *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType

func (*CryptoReplaceFfxFpeConfig) ProtoMessage Uses

func (*CryptoReplaceFfxFpeConfig) ProtoMessage()

func (*CryptoReplaceFfxFpeConfig) ProtoReflect Uses

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

func (*CryptoReplaceFfxFpeConfig) Reset Uses

func (x *CryptoReplaceFfxFpeConfig) Reset()

func (*CryptoReplaceFfxFpeConfig) String Uses

func (x *CryptoReplaceFfxFpeConfig) String() string

type CryptoReplaceFfxFpeConfig_CommonAlphabet Uses

type CryptoReplaceFfxFpeConfig_CommonAlphabet struct {
    // Common alphabets.
    CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `protobuf:"varint,4,opt,name=common_alphabet,json=commonAlphabet,proto3,enum=google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet,oneof"`
}

type CryptoReplaceFfxFpeConfig_CustomAlphabet Uses

type CryptoReplaceFfxFpeConfig_CustomAlphabet struct {
    // This is supported by mapping these to the alphanumeric characters
    // that the FFX mode natively supports. This happens before/after
    // encryption/decryption.
    // Each character listed must appear only once.
    // Number of characters must be in the range [2, 95].
    // This must be encoded as ASCII.
    // The order of characters does not matter.
    CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"`
}

type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet Uses

type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet int32

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

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

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Descriptor Uses

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Descriptor() protoreflect.EnumDescriptor

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Enum Uses

func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Enum() *CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor Uses

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

Deprecated: Use CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet.Descriptor instead.

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Number Uses

func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Number() protoreflect.EnumNumber

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String Uses

func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Type Uses

func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Type() protoreflect.EnumType

type CryptoReplaceFfxFpeConfig_Radix Uses

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

type CustomInfoType Uses

type CustomInfoType struct {

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

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

func (*CustomInfoType) Descriptor Uses

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

Deprecated: Use CustomInfoType.ProtoReflect.Descriptor instead.

func (*CustomInfoType) GetDetectionRules Uses

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

func (*CustomInfoType) GetDictionary Uses

func (x *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary

func (*CustomInfoType) GetExclusionType Uses

func (x *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType

func (*CustomInfoType) GetInfoType Uses

func (x *CustomInfoType) GetInfoType() *InfoType

func (*CustomInfoType) GetLikelihood Uses

func (x *CustomInfoType) GetLikelihood() Likelihood

func (*CustomInfoType) GetRegex Uses

func (x *CustomInfoType) GetRegex() *CustomInfoType_Regex

func (*CustomInfoType) GetStoredType Uses

func (x *CustomInfoType) GetStoredType() *StoredType

func (*CustomInfoType) GetSurrogateType Uses

func (x *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType

func (*CustomInfoType) GetType Uses

func (m *CustomInfoType) GetType() isCustomInfoType_Type

func (*CustomInfoType) ProtoMessage Uses

func (*CustomInfoType) ProtoMessage()

func (*CustomInfoType) ProtoReflect Uses

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

func (*CustomInfoType) Reset Uses

func (x *CustomInfoType) Reset()

func (*CustomInfoType) String Uses

func (x *CustomInfoType) String() string

type CustomInfoType_DetectionRule Uses

type CustomInfoType_DetectionRule struct {

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

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

func (*CustomInfoType_DetectionRule) Descriptor Uses

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

Deprecated: Use CustomInfoType_DetectionRule.ProtoReflect.Descriptor instead.

func (*CustomInfoType_DetectionRule) GetHotwordRule Uses

func (x *CustomInfoType_DetectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule

func (*CustomInfoType_DetectionRule) GetType Uses

func (m *CustomInfoType_DetectionRule) GetType() isCustomInfoType_DetectionRule_Type

func (*CustomInfoType_DetectionRule) ProtoMessage Uses

func (*CustomInfoType_DetectionRule) ProtoMessage()

func (*CustomInfoType_DetectionRule) ProtoReflect Uses

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

func (*CustomInfoType_DetectionRule) Reset Uses

func (x *CustomInfoType_DetectionRule) Reset()

func (*CustomInfoType_DetectionRule) String Uses

func (x *CustomInfoType_DetectionRule) String() string

type CustomInfoType_DetectionRule_HotwordRule Uses

type CustomInfoType_DetectionRule_HotwordRule struct {

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

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

func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor Uses

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

Deprecated: Use CustomInfoType_DetectionRule_HotwordRule.ProtoReflect.Descriptor instead.

func (*CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex Uses

func (x *CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex() *CustomInfoType_Regex

func (*CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment Uses

func (x *CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment() *CustomInfoType_DetectionRule_LikelihoodAdjustment

func (*CustomInfoType_DetectionRule_HotwordRule) GetProximity Uses

func (x *CustomInfoType_DetectionRule_HotwordRule) GetProximity() *CustomInfoType_DetectionRule_Proximity

func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage Uses

func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage()

func (*CustomInfoType_DetectionRule_HotwordRule) ProtoReflect Uses

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

func (*CustomInfoType_DetectionRule_HotwordRule) Reset Uses

func (x *CustomInfoType_DetectionRule_HotwordRule) Reset()

func (*CustomInfoType_DetectionRule_HotwordRule) String Uses

func (x *CustomInfoType_DetectionRule_HotwordRule) String() string

type CustomInfoType_DetectionRule_HotwordRule_ Uses

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

type CustomInfoType_DetectionRule_LikelihoodAdjustment Uses

type CustomInfoType_DetectionRule_LikelihoodAdjustment struct {

    // Types that are assignable to Adjustment:
    //	*CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood
    //	*CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood
    Adjustment isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment `protobuf_oneof:"adjustment"`
    // contains filtered or unexported fields
}

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

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor Uses

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

Deprecated: Use CustomInfoType_DetectionRule_LikelihoodAdjustment.ProtoReflect.Descriptor instead.

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment Uses

func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood Uses

func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood() Likelihood

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood Uses

func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage Uses

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage()

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoReflect Uses

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

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset Uses

func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset()

func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) String Uses

func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string

type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood Uses

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

type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood Uses

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

type CustomInfoType_DetectionRule_Proximity Uses

type CustomInfoType_DetectionRule_Proximity struct {

    // Number of characters before the finding to consider.
    WindowBefore int32 `protobuf:"varint,1,opt,name=window_before,json=windowBefore,proto3" json:"window_before,omitempty"`
    // Number of characters after the finding to consider.
    WindowAfter int32 `protobuf:"varint,2,opt,name=window_after,json=windowAfter,proto3" json:"window_after,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CustomInfoType_DetectionRule_Proximity) Descriptor Uses

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

Deprecated: Use CustomInfoType_DetectionRule_Proximity.ProtoReflect.Descriptor instead.

func (*CustomInfoType_DetectionRule_Proximity) GetWindowAfter Uses

func (x *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32

func (*CustomInfoType_DetectionRule_Proximity) GetWindowBefore Uses

func (x *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32

func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage Uses

func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage()

func (*CustomInfoType_DetectionRule_Proximity) ProtoReflect Uses

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

func (*CustomInfoType_DetectionRule_Proximity) Reset Uses

func (x *CustomInfoType_DetectionRule_Proximity) Reset()

func (*CustomInfoType_DetectionRule_Proximity) String Uses

func (x *CustomInfoType_DetectionRule_Proximity) String() string

type CustomInfoType_Dictionary Uses

type CustomInfoType_Dictionary struct {

    // Types that are assignable to Source:
    //	*CustomInfoType_Dictionary_WordList_
    //	*CustomInfoType_Dictionary_CloudStoragePath
    Source isCustomInfoType_Dictionary_Source `protobuf_oneof:"source"`
    // contains filtered or unexported fields
}

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

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

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

func (*CustomInfoType_Dictionary) Descriptor Uses

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

Deprecated: Use CustomInfoType_Dictionary.ProtoReflect.Descriptor instead.

func (*CustomInfoType_Dictionary) GetCloudStoragePath Uses

func (x *CustomInfoType_Dictionary) GetCloudStoragePath() *CloudStoragePath

func (*CustomInfoType_Dictionary) GetSource Uses

func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source

func (*CustomInfoType_Dictionary) GetWordList Uses

func (x *CustomInfoType_Dictionary) GetWordList() *CustomInfoType_Dictionary_WordList

func (*CustomInfoType_Dictionary) ProtoMessage Uses

func (*CustomInfoType_Dictionary) ProtoMessage()

func (*CustomInfoType_Dictionary) ProtoReflect Uses

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

func (*CustomInfoType_Dictionary) Reset Uses

func (x *CustomInfoType_Dictionary) Reset()

func (*CustomInfoType_Dictionary) String Uses

func (x *CustomInfoType_Dictionary) String() string

type CustomInfoType_Dictionary_ Uses

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

type CustomInfoType_Dictionary_CloudStoragePath Uses

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

type CustomInfoType_Dictionary_WordList Uses

type CustomInfoType_Dictionary_WordList struct {

    // Words or phrases defining the dictionary. The dictionary must contain
    // at least one phrase and every phrase must contain at least 2 characters
    // that are letters or digits. [required]
    Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CustomInfoType_Dictionary_WordList) Descriptor Uses

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

Deprecated: Use CustomInfoType_Dictionary_WordList.ProtoReflect.Descriptor instead.

func (*CustomInfoType_Dictionary_WordList) GetWords Uses

func (x *CustomInfoType_Dictionary_WordList) GetWords() []string

func (*CustomInfoType_Dictionary_WordList) ProtoMessage Uses

func (*CustomInfoType_Dictionary_WordList) ProtoMessage()

func (*CustomInfoType_Dictionary_WordList) ProtoReflect Uses

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

func (*CustomInfoType_Dictionary_WordList) Reset Uses

func (x *CustomInfoType_Dictionary_WordList) Reset()

func (*CustomInfoType_Dictionary_WordList) String Uses

func (x *CustomInfoType_Dictionary_WordList) String() string

type CustomInfoType_Dictionary_WordList_ Uses

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

type CustomInfoType_ExclusionType Uses

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

func (CustomInfoType_ExclusionType) Descriptor Uses

func (CustomInfoType_ExclusionType) Descriptor() protoreflect.EnumDescriptor

func (CustomInfoType_ExclusionType) Enum Uses

func (x CustomInfoType_ExclusionType) Enum() *CustomInfoType_ExclusionType

func (CustomInfoType_ExclusionType) EnumDescriptor Uses

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

Deprecated: Use CustomInfoType_ExclusionType.Descriptor instead.

func (CustomInfoType_ExclusionType) Number Uses

func (x CustomInfoType_ExclusionType) Number() protoreflect.EnumNumber

func (CustomInfoType_ExclusionType) String Uses

func (x CustomInfoType_ExclusionType) String() string

func (CustomInfoType_ExclusionType) Type Uses

func (CustomInfoType_ExclusionType) Type() protoreflect.EnumType

type CustomInfoType_Regex Uses

type CustomInfoType_Regex struct {

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

Message defining a custom regular expression.

func (*CustomInfoType_Regex) Descriptor Uses

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

Deprecated: Use CustomInfoType_Regex.ProtoReflect.Descriptor instead.

func (*CustomInfoType_Regex) GetGroupIndexes Uses

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

func (*CustomInfoType_Regex) GetPattern Uses

func (x *CustomInfoType_Regex) GetPattern() string

func (*CustomInfoType_Regex) ProtoMessage Uses

func (*CustomInfoType_Regex) ProtoMessage()

func (*CustomInfoType_Regex) ProtoReflect Uses

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

func (*CustomInfoType_Regex) Reset Uses

func (x *CustomInfoType_Regex) Reset()

func (*CustomInfoType_Regex) String Uses

func (x *CustomInfoType_Regex) String() string

type CustomInfoType_Regex_ Uses

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

type CustomInfoType_StoredType Uses

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

type CustomInfoType_SurrogateType Uses

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

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

func (*CustomInfoType_SurrogateType) Descriptor Uses

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

Deprecated: Use CustomInfoType_SurrogateType.ProtoReflect.Descriptor instead.

func (*CustomInfoType_SurrogateType) ProtoMessage Uses

func (*CustomInfoType_SurrogateType) ProtoMessage()

func (*CustomInfoType_SurrogateType) ProtoReflect Uses

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

func (*CustomInfoType_SurrogateType) Reset Uses

func (x *CustomInfoType_SurrogateType) Reset()

func (*CustomInfoType_SurrogateType) String Uses

func (x *CustomInfoType_SurrogateType) String() string

type CustomInfoType_SurrogateType_ Uses

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

type DatastoreKey Uses

type DatastoreKey struct {

    // Datastore entity key.
    EntityKey *Key `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
    // contains filtered or unexported fields
}

Record key for a finding in Cloud Datastore.

func (*DatastoreKey) Descriptor