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

func RegisterDlpServiceServer Uses

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

type Action Uses

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

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

func (*Action) Descriptor Uses

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

func (*Action) GetAction Uses

func (m *Action) GetAction() isAction_Action

func (*Action) GetJobNotificationEmails Uses

func (m *Action) GetJobNotificationEmails() *Action_JobNotificationEmails

func (*Action) GetPubSub Uses

func (m *Action) GetPubSub() *Action_PublishToPubSub

func (*Action) GetPublishFindingsToCloudDataCatalog Uses

func (m *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog

func (*Action) GetPublishSummaryToCscc Uses

func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc

func (*Action) GetSaveFindings Uses

func (m *Action) GetSaveFindings() *Action_SaveFindings

func (*Action) ProtoMessage Uses

func (*Action) ProtoMessage()

func (*Action) Reset Uses

func (m *Action) Reset()

func (*Action) String Uses

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown Uses

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal Uses

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

func (*Action) XXX_Merge Uses

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

func (*Action) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Action) XXX_Size Uses

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal Uses

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

type Action_JobNotificationEmails Uses

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

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

func (*Action_JobNotificationEmails) Descriptor Uses

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

func (*Action_JobNotificationEmails) ProtoMessage Uses

func (*Action_JobNotificationEmails) ProtoMessage()

func (*Action_JobNotificationEmails) Reset Uses

func (m *Action_JobNotificationEmails) Reset()

func (*Action_JobNotificationEmails) String Uses

func (m *Action_JobNotificationEmails) String() string

func (*Action_JobNotificationEmails) XXX_DiscardUnknown Uses

func (m *Action_JobNotificationEmails) XXX_DiscardUnknown()

func (*Action_JobNotificationEmails) XXX_Marshal Uses

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

func (*Action_JobNotificationEmails) XXX_Merge Uses

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

func (*Action_JobNotificationEmails) XXX_Size Uses

func (m *Action_JobNotificationEmails) XXX_Size() int

func (*Action_JobNotificationEmails) XXX_Unmarshal Uses

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

type Action_JobNotificationEmails_ Uses

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

type Action_PubSub Uses

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

type Action_PublishFindingsToCloudDataCatalog Uses

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

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

func (*Action_PublishFindingsToCloudDataCatalog) Descriptor Uses

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

func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage Uses

func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage()

func (*Action_PublishFindingsToCloudDataCatalog) Reset Uses

func (m *Action_PublishFindingsToCloudDataCatalog) Reset()

func (*Action_PublishFindingsToCloudDataCatalog) String Uses

func (m *Action_PublishFindingsToCloudDataCatalog) String() string

func (*Action_PublishFindingsToCloudDataCatalog) XXX_DiscardUnknown Uses

func (m *Action_PublishFindingsToCloudDataCatalog) XXX_DiscardUnknown()

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Marshal Uses

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

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Merge Uses

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

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Size Uses

func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Size() int

func (*Action_PublishFindingsToCloudDataCatalog) XXX_Unmarshal Uses

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

type Action_PublishFindingsToCloudDataCatalog_ Uses

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

type Action_PublishSummaryToCscc Uses

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

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

func (*Action_PublishSummaryToCscc) Descriptor Uses

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

func (*Action_PublishSummaryToCscc) ProtoMessage Uses

func (*Action_PublishSummaryToCscc) ProtoMessage()

func (*Action_PublishSummaryToCscc) Reset Uses

func (m *Action_PublishSummaryToCscc) Reset()

func (*Action_PublishSummaryToCscc) String Uses

func (m *Action_PublishSummaryToCscc) String() string

func (*Action_PublishSummaryToCscc) XXX_DiscardUnknown Uses

func (m *Action_PublishSummaryToCscc) XXX_DiscardUnknown()

func (*Action_PublishSummaryToCscc) XXX_Marshal Uses

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

func (*Action_PublishSummaryToCscc) XXX_Merge Uses

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

func (*Action_PublishSummaryToCscc) XXX_Size Uses

func (m *Action_PublishSummaryToCscc) XXX_Size() int

func (*Action_PublishSummaryToCscc) XXX_Unmarshal Uses

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

type Action_PublishSummaryToCscc_ Uses

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

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

func (*Action_PublishToPubSub) Descriptor Uses

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

func (*Action_PublishToPubSub) GetTopic Uses

func (m *Action_PublishToPubSub) GetTopic() string

func (*Action_PublishToPubSub) ProtoMessage Uses

func (*Action_PublishToPubSub) ProtoMessage()

func (*Action_PublishToPubSub) Reset Uses

func (m *Action_PublishToPubSub) Reset()

func (*Action_PublishToPubSub) String Uses

func (m *Action_PublishToPubSub) String() string

func (*Action_PublishToPubSub) XXX_DiscardUnknown Uses

func (m *Action_PublishToPubSub) XXX_DiscardUnknown()

func (*Action_PublishToPubSub) XXX_Marshal Uses

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

func (*Action_PublishToPubSub) XXX_Merge Uses

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

func (*Action_PublishToPubSub) XXX_Size Uses

func (m *Action_PublishToPubSub) XXX_Size() int

func (*Action_PublishToPubSub) XXX_Unmarshal Uses

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

type Action_SaveFindings Uses

type Action_SaveFindings struct {
    OutputConfig         *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

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

func (*Action_SaveFindings) Descriptor Uses

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

func (*Action_SaveFindings) GetOutputConfig Uses

func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig

func (*Action_SaveFindings) ProtoMessage Uses

func (*Action_SaveFindings) ProtoMessage()

func (*Action_SaveFindings) Reset Uses

func (m *Action_SaveFindings) Reset()

func (*Action_SaveFindings) String Uses

func (m *Action_SaveFindings) String() string

func (*Action_SaveFindings) XXX_DiscardUnknown Uses

func (m *Action_SaveFindings) XXX_DiscardUnknown()

func (*Action_SaveFindings) XXX_Marshal Uses

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

func (*Action_SaveFindings) XXX_Merge Uses

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

func (*Action_SaveFindings) XXX_Size Uses

func (m *Action_SaveFindings) XXX_Size() int

func (*Action_SaveFindings) XXX_Unmarshal Uses

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

type Action_SaveFindings_ Uses

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

type ActivateJobTriggerRequest Uses

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

Request message for ActivateJobTrigger.

func (*ActivateJobTriggerRequest) Descriptor Uses

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

func (*ActivateJobTriggerRequest) GetName Uses

func (m *ActivateJobTriggerRequest) GetName() string

func (*ActivateJobTriggerRequest) ProtoMessage Uses

func (*ActivateJobTriggerRequest) ProtoMessage()

func (*ActivateJobTriggerRequest) Reset Uses

func (m *ActivateJobTriggerRequest) Reset()

func (*ActivateJobTriggerRequest) String Uses

func (m *ActivateJobTriggerRequest) String() string

func (*ActivateJobTriggerRequest) XXX_DiscardUnknown Uses

func (m *ActivateJobTriggerRequest) XXX_DiscardUnknown()

func (*ActivateJobTriggerRequest) XXX_Marshal Uses

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

func (*ActivateJobTriggerRequest) XXX_Merge Uses

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

func (*ActivateJobTriggerRequest) XXX_Size Uses

func (m *ActivateJobTriggerRequest) XXX_Size() int

func (*ActivateJobTriggerRequest) XXX_Unmarshal Uses

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

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 valid to be assigned to Result:
    //	*AnalyzeDataSourceRiskDetails_NumericalStatsResult_
    //	*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_
    //	*AnalyzeDataSourceRiskDetails_KAnonymityResult_
    //	*AnalyzeDataSourceRiskDetails_LDiversityResult_
    //	*AnalyzeDataSourceRiskDetails_KMapEstimationResult_
    //	*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_
    Result               isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"`
    XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
    XXX_unrecognized     []byte                                `json:"-"`
    XXX_sizecache        int32                                 `json:"-"`
}

Result of a risk analysis operation request.

func (*AnalyzeDataSourceRiskDetails) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult

func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult

func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult

func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult

func (*AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric Uses

func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric

func (*AnalyzeDataSourceRiskDetails) GetRequestedSourceTable Uses

func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable

func (*AnalyzeDataSourceRiskDetails) GetResult Uses

func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result

func (*AnalyzeDataSourceRiskDetails) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails) Reset Uses

func (m *AnalyzeDataSourceRiskDetails) Reset()

func (*AnalyzeDataSourceRiskDetails) String Uses

func (m *AnalyzeDataSourceRiskDetails) String() string

func (*AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnalyzeDataSourceRiskDetails) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails) XXX_Unmarshal Uses

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

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

Result of the categorical stats computation.

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Unmarshal Uses

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

type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Unmarshal Uses

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

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

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Unmarshal Uses

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

type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ Uses

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

A DeltaPresenceEstimationHistogramBucket message with the following values:

min_probability: 0.1
max_probability: 0.2
frequency: 42

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() string

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Unmarshal Uses

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

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

A tuple of values for the quasi-identifier columns.

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() string

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Unmarshal Uses

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

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

Result of the k-anonymity computation.

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Unmarshal Uses

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

type AnalyzeDataSourceRiskDetails_KAnonymityResult_ Uses

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

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Unmarshal Uses

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

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Unmarshal Uses

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

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

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Unmarshal Uses

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

type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ Uses

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

A KMapEstimationHistogramBucket message with the following values:

min_anonymity: 3
max_anonymity: 5
frequency: 42

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Unmarshal Uses

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

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

A tuple of values for the quasi-identifier columns.

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Unmarshal Uses

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

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

Result of the l-diversity computation.

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Unmarshal Uses

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

type AnalyzeDataSourceRiskDetails_LDiversityResult_ Uses

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

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Unmarshal Uses

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

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Unmarshal Uses

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

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

Result of the numerical stats computation.

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor Uses

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue Uses

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue Uses

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues Uses

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage Uses

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset Uses

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String Uses

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown Uses

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown()

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal Uses

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Merge Uses

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

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size Uses

func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size() int

func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Unmarshal Uses

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

type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ Uses

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

Message defining a field of a BigQuery table.

func (*BigQueryField) Descriptor Uses

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

func (*BigQueryField) GetField Uses

func (m *BigQueryField) GetField() *FieldId

func (*BigQueryField) GetTable Uses

func (m *BigQueryField) GetTable() *BigQueryTable

func (*BigQueryField) ProtoMessage Uses

func (*BigQueryField) ProtoMessage()

func (*BigQueryField) Reset Uses

func (m *BigQueryField) Reset()

func (*BigQueryField) String Uses

func (m *BigQueryField) String() string

func (*BigQueryField) XXX_DiscardUnknown Uses

func (m *BigQueryField) XXX_DiscardUnknown()

func (*BigQueryField) XXX_Marshal Uses

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

func (*BigQueryField) XXX_Merge Uses

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

func (*BigQueryField) XXX_Size Uses

func (m *BigQueryField) XXX_Size() int

func (*BigQueryField) XXX_Unmarshal Uses

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

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"`
    // Absolute number of the row from the beginning of the table at the time
    // of scanning.
    RowNumber            int64    `protobuf:"varint,2,opt,name=row_number,json=rowNumber,proto3" json:"row_number,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Row key for identifying a record in BigQuery table.

func (*BigQueryKey) Descriptor Uses

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

func (*BigQueryKey) GetRowNumber Uses

func (m *BigQueryKey) GetRowNumber() int64

func (*BigQueryKey) GetTableReference Uses

func (m *BigQueryKey) GetTableReference() *BigQueryTable

func (*BigQueryKey) ProtoMessage Uses

func (*BigQueryKey) ProtoMessage()

func (*BigQueryKey) Reset Uses

func (m *BigQueryKey) Reset()

func (*BigQueryKey) String Uses

func (m *BigQueryKey) String() string

func (*BigQueryKey) XXX_DiscardUnknown Uses

func (m *BigQueryKey) XXX_DiscardUnknown()

func (*BigQueryKey) XXX_Marshal Uses

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

func (*BigQueryKey) XXX_Merge Uses

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

func (*BigQueryKey) XXX_Size Uses

func (m *BigQueryKey) XXX_Size() int

func (*BigQueryKey) XXX_Unmarshal Uses

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

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"`
    // References to fields uniquely identifying rows within the table.
    // Nested fields in the format, like `person.birthdate.year`, are allowed.
    IdentifyingFields []*FieldId `protobuf:"bytes,2,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"`
    // Max number of rows to scan. If the table has more rows than this value, the
    // rest of the rows are omitted. If not set, or if set to 0, all rows will be
    // scanned. 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"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

Options defining BigQuery table and row identifiers.

func (*BigQueryOptions) Descriptor Uses

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

func (*BigQueryOptions) GetExcludedFields Uses

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

func (*BigQueryOptions) GetIdentifyingFields Uses

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

func (*BigQueryOptions) GetRowsLimit Uses

func (m *BigQueryOptions) GetRowsLimit() int64

func (*BigQueryOptions) GetRowsLimitPercent Uses

func (m *BigQueryOptions) GetRowsLimitPercent() int32

func (*BigQueryOptions) GetSampleMethod Uses

func (m *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod

func (*BigQueryOptions) GetTableReference Uses

func (m *BigQueryOptions) GetTableReference() *BigQueryTable

func (*BigQueryOptions) ProtoMessage Uses

func (*BigQueryOptions) ProtoMessage()

func (*BigQueryOptions) Reset Uses

func (m *BigQueryOptions) Reset()

func (*BigQueryOptions) String Uses

func (m *BigQueryOptions) String() string

func (*BigQueryOptions) XXX_DiscardUnknown Uses

func (m *BigQueryOptions) XXX_DiscardUnknown()

func (*BigQueryOptions) XXX_Marshal Uses

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

func (*BigQueryOptions) XXX_Merge Uses

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

func (*BigQueryOptions) XXX_Size Uses

func (m *BigQueryOptions) XXX_Size() int

func (*BigQueryOptions) XXX_Unmarshal Uses

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

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) EnumDescriptor Uses

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

func (BigQueryOptions_SampleMethod) String Uses

func (x BigQueryOptions_SampleMethod) String() string

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

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

func (*BigQueryTable) Descriptor Uses

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

func (*BigQueryTable) GetDatasetId Uses

func (m *BigQueryTable) GetDatasetId() string

func (*BigQueryTable) GetProjectId Uses

func (m *BigQueryTable) GetProjectId() string

func (*BigQueryTable) GetTableId Uses

func (m *BigQueryTable) GetTableId() string

func (*BigQueryTable) ProtoMessage Uses

func (*BigQueryTable) ProtoMessage()

func (*BigQueryTable) Reset Uses

func (m *BigQueryTable) Reset()

func (*BigQueryTable) String Uses

func (m *BigQueryTable) String() string

func (*BigQueryTable) XXX_DiscardUnknown Uses

func (m *BigQueryTable) XXX_DiscardUnknown()

func (*BigQueryTable) XXX_Marshal Uses

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

func (*BigQueryTable) XXX_Merge Uses

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

func (*BigQueryTable) XXX_Size Uses

func (m *BigQueryTable) XXX_Size() int

func (*BigQueryTable) XXX_Unmarshal Uses

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

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

Bounding box encompassing detected text within an image.

func (*BoundingBox) Descriptor Uses

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

func (*BoundingBox) GetHeight Uses

func (m *BoundingBox) GetHeight() int32

func (*BoundingBox) GetLeft Uses

func (m *BoundingBox) GetLeft() int32

func (*BoundingBox) GetTop Uses

func (m *BoundingBox) GetTop() int32

func (*BoundingBox) GetWidth Uses

func (m *BoundingBox) GetWidth() int32

func (*BoundingBox) ProtoMessage Uses

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) Reset Uses

func (m *BoundingBox) Reset()

func (*BoundingBox) String Uses

func (m *BoundingBox) String() string

func (*BoundingBox) XXX_DiscardUnknown Uses

func (m *BoundingBox) XXX_DiscardUnknown()

func (*BoundingBox) XXX_Marshal Uses

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

func (*BoundingBox) XXX_Merge Uses

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

func (*BoundingBox) XXX_Size Uses

func (m *BoundingBox) XXX_Size() int

func (*BoundingBox) XXX_Unmarshal Uses

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

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

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

func (*BucketingConfig) Descriptor Uses

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

func (*BucketingConfig) GetBuckets Uses

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

func (*BucketingConfig) ProtoMessage Uses

func (*BucketingConfig) ProtoMessage()

func (*BucketingConfig) Reset Uses

func (m *BucketingConfig) Reset()

func (*BucketingConfig) String Uses

func (m *BucketingConfig) String() string

func (*BucketingConfig) XXX_DiscardUnknown Uses

func (m *BucketingConfig) XXX_DiscardUnknown()

func (*BucketingConfig) XXX_Marshal Uses

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

func (*BucketingConfig) XXX_Merge Uses

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

func (*BucketingConfig) XXX_Size Uses

func (m *BucketingConfig) XXX_Size() int

func (*BucketingConfig) XXX_Unmarshal Uses

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

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"`
    // Replacement value for this bucket. If not provided
    // the default behavior will be to hyphenate the min-max range.
    ReplacementValue     *Value   `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*BucketingConfig_Bucket) Descriptor Uses

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

func (*BucketingConfig_Bucket) GetMax Uses

func (m *BucketingConfig_Bucket) GetMax() *Value

func (*BucketingConfig_Bucket) GetMin Uses

func (m *BucketingConfig_Bucket) GetMin() *Value

func (*BucketingConfig_Bucket) GetReplacementValue Uses

func (m *BucketingConfig_Bucket) GetReplacementValue() *Value

func (*BucketingConfig_Bucket) ProtoMessage Uses

func (*BucketingConfig_Bucket) ProtoMessage()

func (*BucketingConfig_Bucket) Reset Uses

func (m *BucketingConfig_Bucket) Reset()

func (*BucketingConfig_Bucket) String Uses

func (m *BucketingConfig_Bucket) String() string

func (*BucketingConfig_Bucket) XXX_DiscardUnknown Uses

func (m *BucketingConfig_Bucket) XXX_DiscardUnknown()

func (*BucketingConfig_Bucket) XXX_Marshal Uses

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

func (*BucketingConfig_Bucket) XXX_Merge Uses

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

func (*BucketingConfig_Bucket) XXX_Size Uses

func (m *BucketingConfig_Bucket) XXX_Size() int

func (*BucketingConfig_Bucket) XXX_Unmarshal Uses

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

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

Container for bytes to inspect or redact.

func (*ByteContentItem) Descriptor Uses

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

func (*ByteContentItem) GetData Uses

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

func (*ByteContentItem) GetType Uses

func (m *ByteContentItem) GetType() ByteContentItem_BytesType

func (*ByteContentItem) ProtoMessage Uses

func (*ByteContentItem) ProtoMessage()

func (*ByteContentItem) Reset Uses

func (m *ByteContentItem) Reset()

func (*ByteContentItem) String Uses

func (m *ByteContentItem) String() string

func (*ByteContentItem) XXX_DiscardUnknown Uses

func (m *ByteContentItem) XXX_DiscardUnknown()

func (*ByteContentItem) XXX_Marshal Uses

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

func (*ByteContentItem) XXX_Merge Uses

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

func (*ByteContentItem) XXX_Size Uses

func (m *ByteContentItem) XXX_Size() int

func (*ByteContentItem) XXX_Unmarshal Uses

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

type ByteContentItem_BytesType Uses

type ByteContentItem_BytesType int32
const (
    ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0
    ByteContentItem_IMAGE                  ByteContentItem_BytesType = 6
    ByteContentItem_IMAGE_JPEG             ByteContentItem_BytesType = 1
    ByteContentItem_IMAGE_BMP              ByteContentItem_BytesType = 2
    ByteContentItem_IMAGE_PNG              ByteContentItem_BytesType = 3
    ByteContentItem_IMAGE_SVG              ByteContentItem_BytesType = 4
    ByteContentItem_TEXT_UTF8              ByteContentItem_BytesType = 5
    ByteContentItem_AVRO                   ByteContentItem_BytesType = 11
)

func (ByteContentItem_BytesType) EnumDescriptor Uses

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

func (ByteContentItem_BytesType) String Uses

func (x ByteContentItem_BytesType) String() string

type CancelDlpJobRequest Uses

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

The request message for canceling a DLP job.

func (*CancelDlpJobRequest) Descriptor Uses

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

func (*CancelDlpJobRequest) GetName Uses

func (m *CancelDlpJobRequest) GetName() string

func (*CancelDlpJobRequest) ProtoMessage Uses

func (*CancelDlpJobRequest) ProtoMessage()

func (*CancelDlpJobRequest) Reset Uses

func (m *CancelDlpJobRequest) Reset()

func (*CancelDlpJobRequest) String Uses

func (m *CancelDlpJobRequest) String() string

func (*CancelDlpJobRequest) XXX_DiscardUnknown Uses

func (m *CancelDlpJobRequest) XXX_DiscardUnknown()

func (*CancelDlpJobRequest) XXX_Marshal Uses

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

func (*CancelDlpJobRequest) XXX_Merge Uses

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

func (*CancelDlpJobRequest) XXX_Size Uses

func (m *CancelDlpJobRequest) XXX_Size() int

func (*CancelDlpJobRequest) XXX_Unmarshal Uses

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

type CharacterMaskConfig Uses

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

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

func (*CharacterMaskConfig) Descriptor Uses

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

func (*CharacterMaskConfig) GetCharactersToIgnore Uses

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

func (*CharacterMaskConfig) GetMaskingCharacter Uses

func (m *CharacterMaskConfig) GetMaskingCharacter() string

func (*CharacterMaskConfig) GetNumberToMask Uses

func (m *CharacterMaskConfig) GetNumberToMask() int32

func (*CharacterMaskConfig) GetReverseOrder Uses

func (m *CharacterMaskConfig) GetReverseOrder() bool

func (*CharacterMaskConfig) ProtoMessage Uses

func (*CharacterMaskConfig) ProtoMessage()

func (*CharacterMaskConfig) Reset Uses

func (m *CharacterMaskConfig) Reset()

func (*CharacterMaskConfig) String Uses

func (m *CharacterMaskConfig) String() string

func (*CharacterMaskConfig) XXX_DiscardUnknown Uses

func (m *CharacterMaskConfig) XXX_DiscardUnknown()

func (*CharacterMaskConfig) XXX_Marshal Uses

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

func (*CharacterMaskConfig) XXX_Merge Uses

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

func (*CharacterMaskConfig) XXX_Size Uses

func (m *CharacterMaskConfig) XXX_Size() int

func (*CharacterMaskConfig) XXX_Unmarshal Uses

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

type CharsToIgnore Uses

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

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

func (*CharsToIgnore) Descriptor Uses

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

func (*CharsToIgnore) GetCharacters Uses

func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters

func (*CharsToIgnore) GetCharactersToSkip Uses

func (m *CharsToIgnore) GetCharactersToSkip() string

func (*CharsToIgnore) GetCommonCharactersToIgnore Uses

func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore

func (*CharsToIgnore) ProtoMessage Uses

func (*CharsToIgnore) ProtoMessage()

func (*CharsToIgnore) Reset Uses

func (m *CharsToIgnore) Reset()

func (*CharsToIgnore) String Uses

func (m *CharsToIgnore) String() string

func (*CharsToIgnore) XXX_DiscardUnknown Uses

func (m *CharsToIgnore) XXX_DiscardUnknown()

func (*CharsToIgnore) XXX_Marshal Uses

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

func (*CharsToIgnore) XXX_Merge Uses

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

func (*CharsToIgnore) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CharsToIgnore) XXX_Size Uses

func (m *CharsToIgnore) XXX_Size() int

func (*CharsToIgnore) XXX_Unmarshal Uses

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

type CharsToIgnore_CharactersToSkip Uses

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

type CharsToIgnore_CommonCharactersToIgnore Uses

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

func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor Uses

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

func (CharsToIgnore_CommonCharsToIgnore) String Uses

func (x CharsToIgnore_CommonCharsToIgnore) String() string

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

Message representing a set of files in Cloud Storage.

func (*CloudStorageFileSet) Descriptor Uses

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

func (*CloudStorageFileSet) GetUrl Uses

func (m *CloudStorageFileSet) GetUrl() string

func (*CloudStorageFileSet) ProtoMessage Uses

func (*CloudStorageFileSet) ProtoMessage()

func (*CloudStorageFileSet) Reset Uses

func (m *CloudStorageFileSet) Reset()

func (*CloudStorageFileSet) String Uses

func (m *CloudStorageFileSet) String() string

func (*CloudStorageFileSet) XXX_DiscardUnknown Uses

func (m *CloudStorageFileSet) XXX_DiscardUnknown()

func (*CloudStorageFileSet) XXX_Marshal Uses

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

func (*CloudStorageFileSet) XXX_Merge Uses

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

func (*CloudStorageFileSet) XXX_Size Uses

func (m *CloudStorageFileSet) XXX_Size() int

func (*CloudStorageFileSet) XXX_Unmarshal Uses

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

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

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

func (*CloudStorageOptions) Descriptor Uses

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

func (*CloudStorageOptions) GetBytesLimitPerFile Uses

func (m *CloudStorageOptions) GetBytesLimitPerFile() int64

func (*CloudStorageOptions) GetBytesLimitPerFilePercent Uses

func (m *CloudStorageOptions) GetBytesLimitPerFilePercent() int32

func (*CloudStorageOptions) GetFileSet Uses

func (m *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet

func (*CloudStorageOptions) GetFileTypes Uses

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

func (*CloudStorageOptions) GetFilesLimitPercent Uses

func (m *CloudStorageOptions) GetFilesLimitPercent() int32

func (*CloudStorageOptions) GetSampleMethod Uses

func (m *CloudStorageOptions) GetSampleMethod() CloudStorageOptions_SampleMethod

func (*CloudStorageOptions) ProtoMessage Uses

func (*CloudStorageOptions) ProtoMessage()

func (*CloudStorageOptions) Reset Uses

func (m *CloudStorageOptions) Reset()

func (*CloudStorageOptions) String Uses

func (m *CloudStorageOptions) String() string

func (*CloudStorageOptions) XXX_DiscardUnknown Uses

func (m *CloudStorageOptions) XXX_DiscardUnknown()

func (*CloudStorageOptions) XXX_Marshal Uses

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

func (*CloudStorageOptions) XXX_Merge Uses

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

func (*CloudStorageOptions) XXX_Size Uses

func (m *CloudStorageOptions) XXX_Size() int

func (*CloudStorageOptions) XXX_Unmarshal Uses

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

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

Set of files to scan.

func (*CloudStorageOptions_FileSet) Descriptor Uses

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

func (*CloudStorageOptions_FileSet) GetRegexFileSet Uses

func (m *CloudStorageOptions_FileSet) GetRegexFileSet() *CloudStorageRegexFileSet

func (*CloudStorageOptions_FileSet) GetUrl Uses

func (m *CloudStorageOptions_FileSet) GetUrl() string

func (*CloudStorageOptions_FileSet) ProtoMessage Uses

func (*CloudStorageOptions_FileSet) ProtoMessage()

func (*CloudStorageOptions_FileSet) Reset Uses

func (m *CloudStorageOptions_FileSet) Reset()

func (*CloudStorageOptions_FileSet) String Uses

func (m *CloudStorageOptions_FileSet) String() string

func (*CloudStorageOptions_FileSet) XXX_DiscardUnknown Uses

func (m *CloudStorageOptions_FileSet) XXX_DiscardUnknown()

func (*CloudStorageOptions_FileSet) XXX_Marshal Uses

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

func (*CloudStorageOptions_FileSet) XXX_Merge Uses

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

func (*CloudStorageOptions_FileSet) XXX_Size Uses

func (m *CloudStorageOptions_FileSet) XXX_Size() int

func (*CloudStorageOptions_FileSet) XXX_Unmarshal Uses

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

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) EnumDescriptor Uses

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

func (CloudStorageOptions_SampleMethod) String Uses

func (x CloudStorageOptions_SampleMethod) String() string

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

Message representing a single file or path in Cloud Storage.

func (*CloudStoragePath) Descriptor Uses

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

func (*CloudStoragePath) GetPath Uses

func (m *CloudStoragePath) GetPath() string

func (*CloudStoragePath) ProtoMessage Uses

func (*CloudStoragePath) ProtoMessage()

func (*CloudStoragePath) Reset Uses

func (m *CloudStoragePath) Reset()

func (*CloudStoragePath) String Uses

func (m *CloudStoragePath) String() string

func (*CloudStoragePath) XXX_DiscardUnknown Uses

func (m *CloudStoragePath) XXX_DiscardUnknown()

func (*CloudStoragePath) XXX_Marshal Uses

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

func (*CloudStoragePath) XXX_Merge Uses

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

func (*CloudStoragePath) XXX_Size Uses

func (m *CloudStoragePath) XXX_Size() int

func (*CloudStoragePath) XXX_Unmarshal Uses

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

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

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

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

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

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

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

Some other common use cases:

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

func (*CloudStorageRegexFileSet) Descriptor Uses

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

func (*CloudStorageRegexFileSet) GetBucketName Uses

func (m *CloudStorageRegexFileSet) GetBucketName() string

func (*CloudStorageRegexFileSet) GetExcludeRegex Uses

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

func (*CloudStorageRegexFileSet) GetIncludeRegex Uses

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

func (*CloudStorageRegexFileSet) ProtoMessage Uses

func (*CloudStorageRegexFileSet) ProtoMessage()

func (*CloudStorageRegexFileSet) Reset Uses

func (m *CloudStorageRegexFileSet) Reset()

func (*CloudStorageRegexFileSet) String Uses

func (m *CloudStorageRegexFileSet) String() string

func (*CloudStorageRegexFileSet) XXX_DiscardUnknown Uses

func (m *CloudStorageRegexFileSet) XXX_DiscardUnknown()

func (*CloudStorageRegexFileSet) XXX_Marshal Uses

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

func (*CloudStorageRegexFileSet) XXX_Merge Uses

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

func (*CloudStorageRegexFileSet) XXX_Size Uses

func (m *CloudStorageRegexFileSet) XXX_Size() int

func (*CloudStorageRegexFileSet) XXX_Unmarshal Uses

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

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

Represents a color in the RGB color space.

func (*Color) Descriptor Uses

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

func (*Color) GetBlue Uses

func (m *Color) GetBlue() float32

func (*Color) GetGreen Uses

func (m *Color) GetGreen() float32

func (*Color) GetRed Uses

func (m *Color) GetRed() float32

func (*Color) ProtoMessage Uses

func (*Color) ProtoMessage()

func (*Color) Reset Uses

func (m *Color) Reset()

func (*Color) String Uses

func (m *Color) String() string

func (*Color) XXX_DiscardUnknown Uses

func (m *Color) XXX_DiscardUnknown()

func (*Color) XXX_Marshal Uses

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

func (*Color) XXX_Merge Uses

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

func (*Color) XXX_Size Uses

func (m *Color) XXX_Size() int

func (*Color) XXX_Unmarshal Uses

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

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 valid to be assigned to DataItem:
    //	*ContentItem_Value
    //	*ContentItem_Table
    //	*ContentItem_ByteItem
    DataItem             isContentItem_DataItem `protobuf_oneof:"data_item"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

Container structure for the content to inspect.

func (*ContentItem) Descriptor Uses

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

func (*ContentItem) GetByteItem Uses

func (m *ContentItem) GetByteItem() *ByteContentItem

func (*ContentItem) GetDataItem Uses

func (m *ContentItem) GetDataItem() isContentItem_DataItem

func (*ContentItem) GetTable Uses

func (m *ContentItem) GetTable() *Table

func (*ContentItem) GetValue Uses

func (m *ContentItem) GetValue() string

func (*ContentItem) ProtoMessage Uses

func (*ContentItem) ProtoMessage()

func (*ContentItem) Reset Uses

func (m *ContentItem) Reset()

func (*ContentItem) String Uses

func (m *ContentItem) String() string

func (*ContentItem) XXX_DiscardUnknown Uses

func (m *ContentItem) XXX_DiscardUnknown()

func (*ContentItem) XXX_Marshal Uses

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

func (*ContentItem) XXX_Merge Uses

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

func (*ContentItem) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContentItem) XXX_Size Uses

func (m *ContentItem) XXX_Size() int

func (*ContentItem) XXX_Unmarshal Uses

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

type ContentItem_ByteItem Uses

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

type ContentItem_Table Uses

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

type ContentItem_Value Uses

type ContentItem_Value struct {
    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 valid to be assigned to Location:
    //	*ContentLocation_RecordLocation
    //	*ContentLocation_ImageLocation
    //	*ContentLocation_DocumentLocation
    Location isContentLocation_Location `protobuf_oneof:"location"`
    // Findings container modification timestamp, if applicable.
    // For Google Cloud Storage contains last file modification timestamp.
    // For BigQuery table contains last_modified_time property.
    // For Datastore - not populated.
    ContainerTimestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"`
    // Findings container version, if available
    // ("generation" for Google Cloud Storage).
    ContainerVersion     string   `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Findings container location data.

func (*ContentLocation) Descriptor Uses

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

func (*ContentLocation) GetContainerName Uses

func (m *ContentLocation) GetContainerName() string

func (*ContentLocation) GetContainerTimestamp Uses

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

func (*ContentLocation) GetContainerVersion Uses

func (m *ContentLocation) GetContainerVersion() string

func (*ContentLocation) GetDocumentLocation Uses

func (m *ContentLocation) GetDocumentLocation() *DocumentLocation

func (*ContentLocation) GetImageLocation Uses

func (m *ContentLocation) GetImageLocation() *ImageLocation

func (*ContentLocation) GetLocation Uses

func (m *ContentLocation) GetLocation() isContentLocation_Location

func (*ContentLocation) GetRecordLocation Uses

func (m *ContentLocation) GetRecordLocation() *RecordLocation

func (*ContentLocation) ProtoMessage Uses

func (*ContentLocation) ProtoMessage()

func (*ContentLocation) Reset Uses

func (m *ContentLocation) Reset()

func (*ContentLocation) String Uses

func (m *ContentLocation) String() string

func (*ContentLocation) XXX_DiscardUnknown Uses

func (m *ContentLocation) XXX_DiscardUnknown()

func (*ContentLocation) XXX_Marshal Uses

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

func (*ContentLocation) XXX_Merge Uses

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

func (*ContentLocation) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContentLocation) XXX_Size Uses

func (m *ContentLocation) XXX_Size() int

func (*ContentLocation) XXX_Unmarshal Uses

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

type ContentLocation_DocumentLocation Uses

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

type ContentLocation_ImageLocation Uses

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

type ContentLocation_RecordLocation Uses

type ContentLocation_RecordLocation struct {
    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) EnumDescriptor Uses

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

func (ContentOption) String Uses

func (x ContentOption) String() string

type CreateDeidentifyTemplateRequest Uses

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

Request message for CreateDeidentifyTemplate.

func (*CreateDeidentifyTemplateRequest) Descriptor Uses

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

func (*CreateDeidentifyTemplateRequest) GetDeidentifyTemplate Uses

func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate

func (*CreateDeidentifyTemplateRequest) GetParent Uses

func (m *CreateDeidentifyTemplateRequest) GetParent() string

func (*CreateDeidentifyTemplateRequest) GetTemplateId Uses

func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string

func (*CreateDeidentifyTemplateRequest) ProtoMessage Uses

func (*CreateDeidentifyTemplateRequest) ProtoMessage()

func (*CreateDeidentifyTemplateRequest) Reset Uses

func (m *CreateDeidentifyTemplateRequest) Reset()

func (*CreateDeidentifyTemplateRequest) String Uses

func (m *CreateDeidentifyTemplateRequest) String() string

func (*CreateDeidentifyTemplateRequest) XXX_DiscardUnknown Uses

func (m *CreateDeidentifyTemplateRequest) XXX_DiscardUnknown()

func (*CreateDeidentifyTemplateRequest) XXX_Marshal Uses

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

func (*CreateDeidentifyTemplateRequest) XXX_Merge Uses

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

func (*CreateDeidentifyTemplateRequest) XXX_Size Uses

func (m *CreateDeidentifyTemplateRequest) XXX_Size() int

func (*CreateDeidentifyTemplateRequest) XXX_Unmarshal Uses

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

type CreateDlpJobRequest Uses

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

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

func (*CreateDlpJobRequest) Descriptor Uses

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

func (*CreateDlpJobRequest) GetInspectJob Uses

func (m *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig

func (*CreateDlpJobRequest) GetJob Uses

func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job

func (*CreateDlpJobRequest) GetJobId Uses

func (m *CreateDlpJobRequest) GetJobId() string

func (*CreateDlpJobRequest) GetParent Uses

func (m *CreateDlpJobRequest) GetParent() string

func (*CreateDlpJobRequest) GetRiskJob Uses

func (m *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig

func (*CreateDlpJobRequest) ProtoMessage Uses

func (*CreateDlpJobRequest) ProtoMessage()

func (*CreateDlpJobRequest) Reset Uses

func (m *CreateDlpJobRequest) Reset()

func (*CreateDlpJobRequest) String Uses

func (m *CreateDlpJobRequest) String() string

func (*CreateDlpJobRequest) XXX_DiscardUnknown Uses

func (m *CreateDlpJobRequest) XXX_DiscardUnknown()

func (*CreateDlpJobRequest) XXX_Marshal Uses

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

func (*CreateDlpJobRequest) XXX_Merge Uses

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

func (*CreateDlpJobRequest) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CreateDlpJobRequest) XXX_Size Uses

func (m *CreateDlpJobRequest) XXX_Size() int

func (*CreateDlpJobRequest) XXX_Unmarshal Uses

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

type CreateDlpJobRequest_InspectJob Uses

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

type CreateDlpJobRequest_RiskJob Uses

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

type CreateInspectTemplateRequest Uses

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

Request message for CreateInspectTemplate.

func (*CreateInspectTemplateRequest) Descriptor