Documentation ¶
Index ¶
- Variables
- func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (m *Action) GetAction() isAction_Action
- func (x *Action) GetDeidentify() *Action_Deidentify
- func (x *Action) GetJobNotificationEmails() *Action_JobNotificationEmails
- func (x *Action) GetPubSub() *Action_PublishToPubSub
- func (x *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog
- func (x *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc
- func (x *Action) GetPublishToStackdriver() *Action_PublishToStackdriver
- func (x *Action) GetSaveFindings() *Action_SaveFindings
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ActionDetails
- func (*ActionDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ActionDetails) GetDeidentifyDetails() *DeidentifyDataSourceDetails
- func (m *ActionDetails) GetDetails() isActionDetails_Details
- func (*ActionDetails) ProtoMessage()
- func (x *ActionDetails) ProtoReflect() protoreflect.Message
- func (x *ActionDetails) Reset()
- func (x *ActionDetails) String() string
- type ActionDetails_DeidentifyDetails
- type Action_Deidentify
- func (*Action_Deidentify) Descriptor() ([]byte, []int)deprecated
- func (x *Action_Deidentify) GetCloudStorageOutput() string
- func (x *Action_Deidentify) GetFileTypesToTransform() []FileType
- func (m *Action_Deidentify) GetOutput() isAction_Deidentify_Output
- func (x *Action_Deidentify) GetTransformationConfig() *TransformationConfig
- func (x *Action_Deidentify) GetTransformationDetailsStorageConfig() *TransformationDetailsStorageConfig
- func (*Action_Deidentify) ProtoMessage()
- func (x *Action_Deidentify) ProtoReflect() protoreflect.Message
- func (x *Action_Deidentify) Reset()
- func (x *Action_Deidentify) String() string
- type Action_Deidentify_
- type Action_Deidentify_CloudStorageOutput
- type Action_JobNotificationEmails
- func (*Action_JobNotificationEmails) Descriptor() ([]byte, []int)deprecated
- func (*Action_JobNotificationEmails) ProtoMessage()
- func (x *Action_JobNotificationEmails) ProtoReflect() protoreflect.Message
- func (x *Action_JobNotificationEmails) Reset()
- func (x *Action_JobNotificationEmails) String() string
- type Action_JobNotificationEmails_
- type Action_PubSub
- type Action_PublishFindingsToCloudDataCatalog
- func (*Action_PublishFindingsToCloudDataCatalog) Descriptor() ([]byte, []int)deprecated
- func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage()
- func (x *Action_PublishFindingsToCloudDataCatalog) ProtoReflect() protoreflect.Message
- func (x *Action_PublishFindingsToCloudDataCatalog) Reset()
- func (x *Action_PublishFindingsToCloudDataCatalog) String() string
- type Action_PublishFindingsToCloudDataCatalog_
- type Action_PublishSummaryToCscc
- type Action_PublishSummaryToCscc_
- type Action_PublishToPubSub
- func (*Action_PublishToPubSub) Descriptor() ([]byte, []int)deprecated
- func (x *Action_PublishToPubSub) GetTopic() string
- func (*Action_PublishToPubSub) ProtoMessage()
- func (x *Action_PublishToPubSub) ProtoReflect() protoreflect.Message
- func (x *Action_PublishToPubSub) Reset()
- func (x *Action_PublishToPubSub) String() string
- type Action_PublishToStackdriver
- type Action_PublishToStackdriver_
- type Action_SaveFindings
- func (*Action_SaveFindings) Descriptor() ([]byte, []int)deprecated
- func (x *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig
- func (*Action_SaveFindings) ProtoMessage()
- func (x *Action_SaveFindings) ProtoReflect() protoreflect.Message
- func (x *Action_SaveFindings) Reset()
- func (x *Action_SaveFindings) String() string
- type Action_SaveFindings_
- type ActivateJobTriggerRequest
- func (*ActivateJobTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateJobTriggerRequest) GetName() string
- func (*ActivateJobTriggerRequest) ProtoMessage()
- func (x *ActivateJobTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateJobTriggerRequest) Reset()
- func (x *ActivateJobTriggerRequest) String() string
- type AnalyzeDataSourceRiskDetails
- func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult
- func (x *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult
- func (x *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult
- func (x *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult
- func (x *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult
- func (x *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult
- func (x *AnalyzeDataSourceRiskDetails) GetRequestedOptions() *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions
- func (x *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric
- func (x *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable
- func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result
- func (*AnalyzeDataSourceRiskDetails) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails) Reset()
- func (x *AnalyzeDataSourceRiskDetails) String() string
- type AnalyzeDataSourceRiskDetails_CategoricalStatsResult
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() ...
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string
- type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_
- type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset()
- func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult
- func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() ...
- func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset()
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string
- type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_
- type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues() ...
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64
- func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset()
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues
- func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset()
- func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() string
- type AnalyzeDataSourceRiskDetails_KAnonymityResult
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string
- type AnalyzeDataSourceRiskDetails_KAnonymityResult_
- type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string
- type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()
- func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() ...
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult_
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() ...
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset()
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset()
- func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string
- type AnalyzeDataSourceRiskDetails_LDiversityResult
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string
- type AnalyzeDataSourceRiskDetails_LDiversityResult_
- type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string
- type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()
- func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_NumericalStatsResult
- func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value
- func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value
- func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()
- func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string
- type AnalyzeDataSourceRiskDetails_NumericalStatsResult_
- type AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions
- func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) GetJobConfig() *RiskAnalysisJobConfig
- func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoMessage()
- func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Reset()
- func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) String() string
- type BigQueryDiscoveryTarget
- func (*BigQueryDiscoveryTarget) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryDiscoveryTarget) GetCadence() *DiscoveryGenerationCadence
- func (x *BigQueryDiscoveryTarget) GetConditions() *DiscoveryBigQueryConditions
- func (x *BigQueryDiscoveryTarget) GetDisabled() *Disabled
- func (x *BigQueryDiscoveryTarget) GetFilter() *DiscoveryBigQueryFilter
- func (m *BigQueryDiscoveryTarget) GetFrequency() isBigQueryDiscoveryTarget_Frequency
- func (*BigQueryDiscoveryTarget) ProtoMessage()
- func (x *BigQueryDiscoveryTarget) ProtoReflect() protoreflect.Message
- func (x *BigQueryDiscoveryTarget) Reset()
- func (x *BigQueryDiscoveryTarget) String() string
- type BigQueryDiscoveryTarget_Cadence
- type BigQueryDiscoveryTarget_Disabled
- type BigQueryField
- func (*BigQueryField) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryField) GetField() *FieldId
- func (x *BigQueryField) GetTable() *BigQueryTable
- func (*BigQueryField) ProtoMessage()
- func (x *BigQueryField) ProtoReflect() protoreflect.Message
- func (x *BigQueryField) Reset()
- func (x *BigQueryField) String() string
- type BigQueryKey
- func (*BigQueryKey) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryKey) GetRowNumber() int64
- func (x *BigQueryKey) GetTableReference() *BigQueryTable
- func (*BigQueryKey) ProtoMessage()
- func (x *BigQueryKey) ProtoReflect() protoreflect.Message
- func (x *BigQueryKey) Reset()
- func (x *BigQueryKey) String() string
- type BigQueryOptions
- func (*BigQueryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryOptions) GetExcludedFields() []*FieldId
- func (x *BigQueryOptions) GetIdentifyingFields() []*FieldId
- func (x *BigQueryOptions) GetIncludedFields() []*FieldId
- func (x *BigQueryOptions) GetRowsLimit() int64
- func (x *BigQueryOptions) GetRowsLimitPercent() int32
- func (x *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod
- func (x *BigQueryOptions) GetTableReference() *BigQueryTable
- func (*BigQueryOptions) ProtoMessage()
- func (x *BigQueryOptions) ProtoReflect() protoreflect.Message
- func (x *BigQueryOptions) Reset()
- func (x *BigQueryOptions) String() string
- type BigQueryOptions_SampleMethod
- func (BigQueryOptions_SampleMethod) Descriptor() protoreflect.EnumDescriptor
- func (x BigQueryOptions_SampleMethod) Enum() *BigQueryOptions_SampleMethod
- func (BigQueryOptions_SampleMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x BigQueryOptions_SampleMethod) Number() protoreflect.EnumNumber
- func (x BigQueryOptions_SampleMethod) String() string
- func (BigQueryOptions_SampleMethod) Type() protoreflect.EnumType
- type BigQueryRegex
- func (*BigQueryRegex) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryRegex) GetDatasetIdRegex() string
- func (x *BigQueryRegex) GetProjectIdRegex() string
- func (x *BigQueryRegex) GetTableIdRegex() string
- func (*BigQueryRegex) ProtoMessage()
- func (x *BigQueryRegex) ProtoReflect() protoreflect.Message
- func (x *BigQueryRegex) Reset()
- func (x *BigQueryRegex) String() string
- type BigQueryRegexes
- type BigQuerySchemaModification
- func (BigQuerySchemaModification) Descriptor() protoreflect.EnumDescriptor
- func (x BigQuerySchemaModification) Enum() *BigQuerySchemaModification
- func (BigQuerySchemaModification) EnumDescriptor() ([]byte, []int)deprecated
- func (x BigQuerySchemaModification) Number() protoreflect.EnumNumber
- func (x BigQuerySchemaModification) String() string
- func (BigQuerySchemaModification) Type() protoreflect.EnumType
- type BigQueryTable
- func (*BigQueryTable) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryTable) GetDatasetId() string
- func (x *BigQueryTable) GetProjectId() string
- func (x *BigQueryTable) GetTableId() string
- func (*BigQueryTable) ProtoMessage()
- func (x *BigQueryTable) ProtoReflect() protoreflect.Message
- func (x *BigQueryTable) Reset()
- func (x *BigQueryTable) String() string
- type BigQueryTableCollection
- func (*BigQueryTableCollection) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryTableCollection) GetIncludeRegexes() *BigQueryRegexes
- func (m *BigQueryTableCollection) GetPattern() isBigQueryTableCollection_Pattern
- func (*BigQueryTableCollection) ProtoMessage()
- func (x *BigQueryTableCollection) ProtoReflect() protoreflect.Message
- func (x *BigQueryTableCollection) Reset()
- func (x *BigQueryTableCollection) String() string
- type BigQueryTableCollection_IncludeRegexes
- type BigQueryTableModification
- func (BigQueryTableModification) Descriptor() protoreflect.EnumDescriptor
- func (x BigQueryTableModification) Enum() *BigQueryTableModification
- func (BigQueryTableModification) EnumDescriptor() ([]byte, []int)deprecated
- func (x BigQueryTableModification) Number() protoreflect.EnumNumber
- func (x BigQueryTableModification) String() string
- func (BigQueryTableModification) Type() protoreflect.EnumType
- type BigQueryTableType
- func (BigQueryTableType) Descriptor() protoreflect.EnumDescriptor
- func (x BigQueryTableType) Enum() *BigQueryTableType
- func (BigQueryTableType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BigQueryTableType) Number() protoreflect.EnumNumber
- func (x BigQueryTableType) String() string
- func (BigQueryTableType) Type() protoreflect.EnumType
- type BigQueryTableTypeCollection
- func (BigQueryTableTypeCollection) Descriptor() protoreflect.EnumDescriptor
- func (x BigQueryTableTypeCollection) Enum() *BigQueryTableTypeCollection
- func (BigQueryTableTypeCollection) EnumDescriptor() ([]byte, []int)deprecated
- func (x BigQueryTableTypeCollection) Number() protoreflect.EnumNumber
- func (x BigQueryTableTypeCollection) String() string
- func (BigQueryTableTypeCollection) Type() protoreflect.EnumType
- type BigQueryTableTypes
- func (*BigQueryTableTypes) Descriptor() ([]byte, []int)deprecated
- func (x *BigQueryTableTypes) GetTypes() []BigQueryTableType
- func (*BigQueryTableTypes) ProtoMessage()
- func (x *BigQueryTableTypes) ProtoReflect() protoreflect.Message
- func (x *BigQueryTableTypes) Reset()
- func (x *BigQueryTableTypes) String() string
- type BoundingBox
- func (*BoundingBox) Descriptor() ([]byte, []int)deprecated
- func (x *BoundingBox) GetHeight() int32
- func (x *BoundingBox) GetLeft() int32
- func (x *BoundingBox) GetTop() int32
- func (x *BoundingBox) GetWidth() int32
- func (*BoundingBox) ProtoMessage()
- func (x *BoundingBox) ProtoReflect() protoreflect.Message
- func (x *BoundingBox) Reset()
- func (x *BoundingBox) String() string
- type BucketingConfig
- func (*BucketingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket
- func (*BucketingConfig) ProtoMessage()
- func (x *BucketingConfig) ProtoReflect() protoreflect.Message
- func (x *BucketingConfig) Reset()
- func (x *BucketingConfig) String() string
- type BucketingConfig_Bucket
- func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *BucketingConfig_Bucket) GetMax() *Value
- func (x *BucketingConfig_Bucket) GetMin() *Value
- func (x *BucketingConfig_Bucket) GetReplacementValue() *Value
- func (*BucketingConfig_Bucket) ProtoMessage()
- func (x *BucketingConfig_Bucket) ProtoReflect() protoreflect.Message
- func (x *BucketingConfig_Bucket) Reset()
- func (x *BucketingConfig_Bucket) String() string
- type ByteContentItem
- func (*ByteContentItem) Descriptor() ([]byte, []int)deprecated
- func (x *ByteContentItem) GetData() []byte
- func (x *ByteContentItem) GetType() ByteContentItem_BytesType
- func (*ByteContentItem) ProtoMessage()
- func (x *ByteContentItem) ProtoReflect() protoreflect.Message
- func (x *ByteContentItem) Reset()
- func (x *ByteContentItem) String() string
- type ByteContentItem_BytesType
- func (ByteContentItem_BytesType) Descriptor() protoreflect.EnumDescriptor
- func (x ByteContentItem_BytesType) Enum() *ByteContentItem_BytesType
- func (ByteContentItem_BytesType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ByteContentItem_BytesType) Number() protoreflect.EnumNumber
- func (x ByteContentItem_BytesType) String() string
- func (ByteContentItem_BytesType) Type() protoreflect.EnumType
- type CancelDlpJobRequest
- func (*CancelDlpJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelDlpJobRequest) GetName() string
- func (*CancelDlpJobRequest) ProtoMessage()
- func (x *CancelDlpJobRequest) ProtoReflect() protoreflect.Message
- func (x *CancelDlpJobRequest) Reset()
- func (x *CancelDlpJobRequest) String() string
- type CharacterMaskConfig
- func (*CharacterMaskConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore
- func (x *CharacterMaskConfig) GetMaskingCharacter() string
- func (x *CharacterMaskConfig) GetNumberToMask() int32
- func (x *CharacterMaskConfig) GetReverseOrder() bool
- func (*CharacterMaskConfig) ProtoMessage()
- func (x *CharacterMaskConfig) ProtoReflect() protoreflect.Message
- func (x *CharacterMaskConfig) Reset()
- func (x *CharacterMaskConfig) String() string
- type CharsToIgnore
- func (*CharsToIgnore) Descriptor() ([]byte, []int)deprecated
- func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters
- func (x *CharsToIgnore) GetCharactersToSkip() string
- func (x *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore
- func (*CharsToIgnore) ProtoMessage()
- func (x *CharsToIgnore) ProtoReflect() protoreflect.Message
- func (x *CharsToIgnore) Reset()
- func (x *CharsToIgnore) String() string
- type CharsToIgnore_CharactersToSkip
- type CharsToIgnore_CommonCharactersToIgnore
- type CharsToIgnore_CommonCharsToIgnore
- func (CharsToIgnore_CommonCharsToIgnore) Descriptor() protoreflect.EnumDescriptor
- func (x CharsToIgnore_CommonCharsToIgnore) Enum() *CharsToIgnore_CommonCharsToIgnore
- func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int)deprecated
- func (x CharsToIgnore_CommonCharsToIgnore) Number() protoreflect.EnumNumber
- func (x CharsToIgnore_CommonCharsToIgnore) String() string
- func (CharsToIgnore_CommonCharsToIgnore) Type() protoreflect.EnumType
- type CloudStorageFileSet
- func (*CloudStorageFileSet) Descriptor() ([]byte, []int)deprecated
- func (x *CloudStorageFileSet) GetUrl() string
- func (*CloudStorageFileSet) ProtoMessage()
- func (x *CloudStorageFileSet) ProtoReflect() protoreflect.Message
- func (x *CloudStorageFileSet) Reset()
- func (x *CloudStorageFileSet) String() string
- type CloudStorageOptions
- func (*CloudStorageOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CloudStorageOptions) GetBytesLimitPerFile() int64
- func (x *CloudStorageOptions) GetBytesLimitPerFilePercent() int32
- func (x *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet
- func (x *CloudStorageOptions) GetFileTypes() []FileType
- func (x *CloudStorageOptions) GetFilesLimitPercent() int32
- func (x *CloudStorageOptions) GetSampleMethod() CloudStorageOptions_SampleMethod
- func (*CloudStorageOptions) ProtoMessage()
- func (x *CloudStorageOptions) ProtoReflect() protoreflect.Message
- func (x *CloudStorageOptions) Reset()
- func (x *CloudStorageOptions) String() string
- type CloudStorageOptions_FileSet
- func (*CloudStorageOptions_FileSet) Descriptor() ([]byte, []int)deprecated
- func (x *CloudStorageOptions_FileSet) GetRegexFileSet() *CloudStorageRegexFileSet
- func (x *CloudStorageOptions_FileSet) GetUrl() string
- func (*CloudStorageOptions_FileSet) ProtoMessage()
- func (x *CloudStorageOptions_FileSet) ProtoReflect() protoreflect.Message
- func (x *CloudStorageOptions_FileSet) Reset()
- func (x *CloudStorageOptions_FileSet) String() string
- type CloudStorageOptions_SampleMethod
- func (CloudStorageOptions_SampleMethod) Descriptor() protoreflect.EnumDescriptor
- func (x CloudStorageOptions_SampleMethod) Enum() *CloudStorageOptions_SampleMethod
- func (CloudStorageOptions_SampleMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudStorageOptions_SampleMethod) Number() protoreflect.EnumNumber
- func (x CloudStorageOptions_SampleMethod) String() string
- func (CloudStorageOptions_SampleMethod) Type() protoreflect.EnumType
- type CloudStoragePath
- type CloudStorageRegexFileSet
- func (*CloudStorageRegexFileSet) Descriptor() ([]byte, []int)deprecated
- func (x *CloudStorageRegexFileSet) GetBucketName() string
- func (x *CloudStorageRegexFileSet) GetExcludeRegex() []string
- func (x *CloudStorageRegexFileSet) GetIncludeRegex() []string
- func (*CloudStorageRegexFileSet) ProtoMessage()
- func (x *CloudStorageRegexFileSet) ProtoReflect() protoreflect.Message
- func (x *CloudStorageRegexFileSet) Reset()
- func (x *CloudStorageRegexFileSet) String() string
- type Color
- type ColumnDataProfile
- func (*ColumnDataProfile) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnDataProfile) GetColumn() string
- func (x *ColumnDataProfile) GetColumnInfoType() *InfoTypeSummary
- func (x *ColumnDataProfile) GetColumnType() ColumnDataProfile_ColumnDataType
- func (x *ColumnDataProfile) GetDataRiskLevel() *DataRiskLevel
- func (x *ColumnDataProfile) GetDatasetId() string
- func (x *ColumnDataProfile) GetDatasetLocation() string
- func (x *ColumnDataProfile) GetDatasetProjectId() string
- func (x *ColumnDataProfile) GetEstimatedNullPercentage() NullPercentageLevel
- func (x *ColumnDataProfile) GetEstimatedUniquenessScore() UniquenessScoreLevel
- func (x *ColumnDataProfile) GetFreeTextScore() float64
- func (x *ColumnDataProfile) GetName() string
- func (x *ColumnDataProfile) GetOtherMatches() []*OtherInfoTypeSummary
- func (x *ColumnDataProfile) GetPolicyState() ColumnDataProfile_ColumnPolicyState
- func (x *ColumnDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp
- func (x *ColumnDataProfile) GetProfileStatus() *ProfileStatus
- func (x *ColumnDataProfile) GetSensitivityScore() *SensitivityScore
- func (x *ColumnDataProfile) GetState() ColumnDataProfile_State
- func (x *ColumnDataProfile) GetTableDataProfile() string
- func (x *ColumnDataProfile) GetTableFullResource() string
- func (x *ColumnDataProfile) GetTableId() string
- func (*ColumnDataProfile) ProtoMessage()
- func (x *ColumnDataProfile) ProtoReflect() protoreflect.Message
- func (x *ColumnDataProfile) Reset()
- func (x *ColumnDataProfile) String() string
- type ColumnDataProfile_ColumnDataType
- func (ColumnDataProfile_ColumnDataType) Descriptor() protoreflect.EnumDescriptor
- func (x ColumnDataProfile_ColumnDataType) Enum() *ColumnDataProfile_ColumnDataType
- func (ColumnDataProfile_ColumnDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ColumnDataProfile_ColumnDataType) Number() protoreflect.EnumNumber
- func (x ColumnDataProfile_ColumnDataType) String() string
- func (ColumnDataProfile_ColumnDataType) Type() protoreflect.EnumType
- type ColumnDataProfile_ColumnPolicyState
- func (ColumnDataProfile_ColumnPolicyState) Descriptor() protoreflect.EnumDescriptor
- func (x ColumnDataProfile_ColumnPolicyState) Enum() *ColumnDataProfile_ColumnPolicyState
- func (ColumnDataProfile_ColumnPolicyState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ColumnDataProfile_ColumnPolicyState) Number() protoreflect.EnumNumber
- func (x ColumnDataProfile_ColumnPolicyState) String() string
- func (ColumnDataProfile_ColumnPolicyState) Type() protoreflect.EnumType
- type ColumnDataProfile_State
- func (ColumnDataProfile_State) Descriptor() protoreflect.EnumDescriptor
- func (x ColumnDataProfile_State) Enum() *ColumnDataProfile_State
- func (ColumnDataProfile_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ColumnDataProfile_State) Number() protoreflect.EnumNumber
- func (x ColumnDataProfile_State) String() string
- func (ColumnDataProfile_State) Type() protoreflect.EnumType
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetFullPath() string
- func (x *Container) GetProjectId() string
- func (x *Container) GetRelativePath() string
- func (x *Container) GetRootPath() string
- func (x *Container) GetType() string
- func (x *Container) GetUpdateTime() *timestamppb.Timestamp
- func (x *Container) GetVersion() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContentItem
- func (*ContentItem) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItem) GetByteItem() *ByteContentItem
- func (m *ContentItem) GetDataItem() isContentItem_DataItem
- func (x *ContentItem) GetTable() *Table
- func (x *ContentItem) GetValue() string
- func (*ContentItem) ProtoMessage()
- func (x *ContentItem) ProtoReflect() protoreflect.Message
- func (x *ContentItem) Reset()
- func (x *ContentItem) String() string
- type ContentItem_ByteItem
- type ContentItem_Table
- type ContentItem_Value
- type ContentLocation
- func (*ContentLocation) Descriptor() ([]byte, []int)deprecated
- func (x *ContentLocation) GetContainerName() string
- func (x *ContentLocation) GetContainerTimestamp() *timestamppb.Timestamp
- func (x *ContentLocation) GetContainerVersion() string
- func (x *ContentLocation) GetDocumentLocation() *DocumentLocation
- func (x *ContentLocation) GetImageLocation() *ImageLocation
- func (m *ContentLocation) GetLocation() isContentLocation_Location
- func (x *ContentLocation) GetMetadataLocation() *MetadataLocation
- func (x *ContentLocation) GetRecordLocation() *RecordLocation
- func (*ContentLocation) ProtoMessage()
- func (x *ContentLocation) ProtoReflect() protoreflect.Message
- func (x *ContentLocation) Reset()
- func (x *ContentLocation) String() string
- type ContentLocation_DocumentLocation
- type ContentLocation_ImageLocation
- type ContentLocation_MetadataLocation
- type ContentLocation_RecordLocation
- type ContentOption
- func (ContentOption) Descriptor() protoreflect.EnumDescriptor
- func (x ContentOption) Enum() *ContentOption
- func (ContentOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentOption) Number() protoreflect.EnumNumber
- func (x ContentOption) String() string
- func (ContentOption) Type() protoreflect.EnumType
- type CreateDeidentifyTemplateRequest
- func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
- func (x *CreateDeidentifyTemplateRequest) GetLocationId() string
- func (x *CreateDeidentifyTemplateRequest) GetParent() string
- func (x *CreateDeidentifyTemplateRequest) GetTemplateId() string
- func (*CreateDeidentifyTemplateRequest) ProtoMessage()
- func (x *CreateDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeidentifyTemplateRequest) Reset()
- func (x *CreateDeidentifyTemplateRequest) String() string
- type CreateDiscoveryConfigRequest
- func (*CreateDiscoveryConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDiscoveryConfigRequest) GetConfigId() string
- func (x *CreateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig
- func (x *CreateDiscoveryConfigRequest) GetParent() string
- func (*CreateDiscoveryConfigRequest) ProtoMessage()
- func (x *CreateDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDiscoveryConfigRequest) Reset()
- func (x *CreateDiscoveryConfigRequest) String() string
- type CreateDlpJobRequest
- func (*CreateDlpJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig
- func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job
- func (x *CreateDlpJobRequest) GetJobId() string
- func (x *CreateDlpJobRequest) GetLocationId() string
- func (x *CreateDlpJobRequest) GetParent() string
- func (x *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig
- func (*CreateDlpJobRequest) ProtoMessage()
- func (x *CreateDlpJobRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDlpJobRequest) Reset()
- func (x *CreateDlpJobRequest) String() string
- type CreateDlpJobRequest_InspectJob
- type CreateDlpJobRequest_RiskJob
- type CreateInspectTemplateRequest
- func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
- func (x *CreateInspectTemplateRequest) GetLocationId() string
- func (x *CreateInspectTemplateRequest) GetParent() string
- func (x *CreateInspectTemplateRequest) GetTemplateId() string
- func (*CreateInspectTemplateRequest) ProtoMessage()
- func (x *CreateInspectTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInspectTemplateRequest) Reset()
- func (x *CreateInspectTemplateRequest) String() string
- type CreateJobTriggerRequest
- func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger
- func (x *CreateJobTriggerRequest) GetLocationId() string
- func (x *CreateJobTriggerRequest) GetParent() string
- func (x *CreateJobTriggerRequest) GetTriggerId() string
- func (*CreateJobTriggerRequest) ProtoMessage()
- func (x *CreateJobTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateJobTriggerRequest) Reset()
- func (x *CreateJobTriggerRequest) String() string
- type CreateStoredInfoTypeRequest
- func (*CreateStoredInfoTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig
- func (x *CreateStoredInfoTypeRequest) GetLocationId() string
- func (x *CreateStoredInfoTypeRequest) GetParent() string
- func (x *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string
- func (*CreateStoredInfoTypeRequest) ProtoMessage()
- func (x *CreateStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStoredInfoTypeRequest) Reset()
- func (x *CreateStoredInfoTypeRequest) String() string
- type CryptoDeterministicConfig
- func (*CryptoDeterministicConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoDeterministicConfig) GetContext() *FieldId
- func (x *CryptoDeterministicConfig) GetCryptoKey() *CryptoKey
- func (x *CryptoDeterministicConfig) GetSurrogateInfoType() *InfoType
- func (*CryptoDeterministicConfig) ProtoMessage()
- func (x *CryptoDeterministicConfig) ProtoReflect() protoreflect.Message
- func (x *CryptoDeterministicConfig) Reset()
- func (x *CryptoDeterministicConfig) String() string
- type CryptoHashConfig
- type CryptoKey
- func (*CryptoKey) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey
- func (m *CryptoKey) GetSource() isCryptoKey_Source
- func (x *CryptoKey) GetTransient() *TransientCryptoKey
- func (x *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey
- func (*CryptoKey) ProtoMessage()
- func (x *CryptoKey) ProtoReflect() protoreflect.Message
- func (x *CryptoKey) Reset()
- func (x *CryptoKey) String() string
- type CryptoKey_KmsWrapped
- type CryptoKey_Transient
- type CryptoKey_Unwrapped
- type CryptoReplaceFfxFpeConfig
- func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int)deprecated
- func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet
- func (x *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
- func (x *CryptoReplaceFfxFpeConfig) GetContext() *FieldId
- func (x *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey
- func (x *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string
- func (x *CryptoReplaceFfxFpeConfig) GetRadix() int32
- func (x *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType
- func (*CryptoReplaceFfxFpeConfig) ProtoMessage()
- func (x *CryptoReplaceFfxFpeConfig) ProtoReflect() protoreflect.Message
- func (x *CryptoReplaceFfxFpeConfig) Reset()
- func (x *CryptoReplaceFfxFpeConfig) String() string
- type CryptoReplaceFfxFpeConfig_CommonAlphabet
- type CryptoReplaceFfxFpeConfig_CustomAlphabet
- type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
- func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Descriptor() protoreflect.EnumDescriptor
- func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Enum() *CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
- func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor() ([]byte, []int)deprecated
- func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Number() protoreflect.EnumNumber
- func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string
- func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Type() protoreflect.EnumType
- type CryptoReplaceFfxFpeConfig_Radix
- type CustomInfoType
- func (*CustomInfoType) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule
- func (x *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary
- func (x *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType
- func (x *CustomInfoType) GetInfoType() *InfoType
- func (x *CustomInfoType) GetLikelihood() Likelihood
- func (x *CustomInfoType) GetRegex() *CustomInfoType_Regex
- func (x *CustomInfoType) GetSensitivityScore() *SensitivityScore
- func (x *CustomInfoType) GetStoredType() *StoredType
- func (x *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType
- func (m *CustomInfoType) GetType() isCustomInfoType_Type
- func (*CustomInfoType) ProtoMessage()
- func (x *CustomInfoType) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType) Reset()
- func (x *CustomInfoType) String() string
- type CustomInfoType_DetectionRule
- func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType_DetectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule
- func (m *CustomInfoType_DetectionRule) GetType() isCustomInfoType_DetectionRule_Type
- func (*CustomInfoType_DetectionRule) ProtoMessage()
- func (x *CustomInfoType_DetectionRule) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_DetectionRule) Reset()
- func (x *CustomInfoType_DetectionRule) String() string
- type CustomInfoType_DetectionRule_HotwordRule
- func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex() *CustomInfoType_Regex
- func (x *CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment() *CustomInfoType_DetectionRule_LikelihoodAdjustment
- func (x *CustomInfoType_DetectionRule_HotwordRule) GetProximity() *CustomInfoType_DetectionRule_Proximity
- func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage()
- func (x *CustomInfoType_DetectionRule_HotwordRule) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_DetectionRule_HotwordRule) Reset()
- func (x *CustomInfoType_DetectionRule_HotwordRule) String() string
- type CustomInfoType_DetectionRule_HotwordRule_
- type CustomInfoType_DetectionRule_LikelihoodAdjustment
- func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor() ([]byte, []int)deprecated
- func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment
- func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood() Likelihood
- func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32
- func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage()
- func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset()
- func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string
- type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood
- type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood
- type CustomInfoType_DetectionRule_Proximity
- func (*CustomInfoType_DetectionRule_Proximity) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32
- func (x *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32
- func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage()
- func (x *CustomInfoType_DetectionRule_Proximity) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_DetectionRule_Proximity) Reset()
- func (x *CustomInfoType_DetectionRule_Proximity) String() string
- type CustomInfoType_Dictionary
- func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType_Dictionary) GetCloudStoragePath() *CloudStoragePath
- func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source
- func (x *CustomInfoType_Dictionary) GetWordList() *CustomInfoType_Dictionary_WordList
- func (*CustomInfoType_Dictionary) ProtoMessage()
- func (x *CustomInfoType_Dictionary) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_Dictionary) Reset()
- func (x *CustomInfoType_Dictionary) String() string
- type CustomInfoType_Dictionary_
- type CustomInfoType_Dictionary_CloudStoragePath
- type CustomInfoType_Dictionary_WordList
- func (*CustomInfoType_Dictionary_WordList) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType_Dictionary_WordList) GetWords() []string
- func (*CustomInfoType_Dictionary_WordList) ProtoMessage()
- func (x *CustomInfoType_Dictionary_WordList) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_Dictionary_WordList) Reset()
- func (x *CustomInfoType_Dictionary_WordList) String() string
- type CustomInfoType_Dictionary_WordList_
- type CustomInfoType_ExclusionType
- func (CustomInfoType_ExclusionType) Descriptor() protoreflect.EnumDescriptor
- func (x CustomInfoType_ExclusionType) Enum() *CustomInfoType_ExclusionType
- func (CustomInfoType_ExclusionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CustomInfoType_ExclusionType) Number() protoreflect.EnumNumber
- func (x CustomInfoType_ExclusionType) String() string
- func (CustomInfoType_ExclusionType) Type() protoreflect.EnumType
- type CustomInfoType_Regex
- func (*CustomInfoType_Regex) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInfoType_Regex) GetGroupIndexes() []int32
- func (x *CustomInfoType_Regex) GetPattern() string
- func (*CustomInfoType_Regex) ProtoMessage()
- func (x *CustomInfoType_Regex) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_Regex) Reset()
- func (x *CustomInfoType_Regex) String() string
- type CustomInfoType_Regex_
- type CustomInfoType_StoredType
- type CustomInfoType_SurrogateType
- func (*CustomInfoType_SurrogateType) Descriptor() ([]byte, []int)deprecated
- func (*CustomInfoType_SurrogateType) ProtoMessage()
- func (x *CustomInfoType_SurrogateType) ProtoReflect() protoreflect.Message
- func (x *CustomInfoType_SurrogateType) Reset()
- func (x *CustomInfoType_SurrogateType) String() string
- type CustomInfoType_SurrogateType_
- type DataProfileAction
- func (*DataProfileAction) Descriptor() ([]byte, []int)deprecated
- func (m *DataProfileAction) GetAction() isDataProfileAction_Action
- func (x *DataProfileAction) GetExportData() *DataProfileAction_Export
- func (x *DataProfileAction) GetPubSubNotification() *DataProfileAction_PubSubNotification
- func (*DataProfileAction) ProtoMessage()
- func (x *DataProfileAction) ProtoReflect() protoreflect.Message
- func (x *DataProfileAction) Reset()
- func (x *DataProfileAction) String() string
- type DataProfileAction_EventType
- func (DataProfileAction_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x DataProfileAction_EventType) Enum() *DataProfileAction_EventType
- func (DataProfileAction_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataProfileAction_EventType) Number() protoreflect.EnumNumber
- func (x DataProfileAction_EventType) String() string
- func (DataProfileAction_EventType) Type() protoreflect.EnumType
- type DataProfileAction_Export
- func (*DataProfileAction_Export) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfileAction_Export) GetProfileTable() *BigQueryTable
- func (*DataProfileAction_Export) ProtoMessage()
- func (x *DataProfileAction_Export) ProtoReflect() protoreflect.Message
- func (x *DataProfileAction_Export) Reset()
- func (x *DataProfileAction_Export) String() string
- type DataProfileAction_ExportData
- type DataProfileAction_PubSubNotification
- func (*DataProfileAction_PubSubNotification) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfileAction_PubSubNotification) GetDetailOfMessage() DataProfileAction_PubSubNotification_DetailLevel
- func (x *DataProfileAction_PubSubNotification) GetEvent() DataProfileAction_EventType
- func (x *DataProfileAction_PubSubNotification) GetPubsubCondition() *DataProfilePubSubCondition
- func (x *DataProfileAction_PubSubNotification) GetTopic() string
- func (*DataProfileAction_PubSubNotification) ProtoMessage()
- func (x *DataProfileAction_PubSubNotification) ProtoReflect() protoreflect.Message
- func (x *DataProfileAction_PubSubNotification) Reset()
- func (x *DataProfileAction_PubSubNotification) String() string
- type DataProfileAction_PubSubNotification_
- type DataProfileAction_PubSubNotification_DetailLevel
- func (DataProfileAction_PubSubNotification_DetailLevel) Descriptor() protoreflect.EnumDescriptor
- func (x DataProfileAction_PubSubNotification_DetailLevel) Enum() *DataProfileAction_PubSubNotification_DetailLevel
- func (DataProfileAction_PubSubNotification_DetailLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataProfileAction_PubSubNotification_DetailLevel) Number() protoreflect.EnumNumber
- func (x DataProfileAction_PubSubNotification_DetailLevel) String() string
- func (DataProfileAction_PubSubNotification_DetailLevel) Type() protoreflect.EnumType
- type DataProfileBigQueryRowSchema
- func (*DataProfileBigQueryRowSchema) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfileBigQueryRowSchema) GetColumnProfile() *ColumnDataProfile
- func (m *DataProfileBigQueryRowSchema) GetDataProfile() isDataProfileBigQueryRowSchema_DataProfile
- func (x *DataProfileBigQueryRowSchema) GetTableProfile() *TableDataProfile
- func (*DataProfileBigQueryRowSchema) ProtoMessage()
- func (x *DataProfileBigQueryRowSchema) ProtoReflect() protoreflect.Message
- func (x *DataProfileBigQueryRowSchema) Reset()
- func (x *DataProfileBigQueryRowSchema) String() string
- type DataProfileBigQueryRowSchema_ColumnProfile
- type DataProfileBigQueryRowSchema_TableProfile
- type DataProfileConfigSnapshot
- func (*DataProfileConfigSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfileConfigSnapshot) GetDataProfileJob() *DataProfileJobConfigdeprecated
- func (x *DataProfileConfigSnapshot) GetDiscoveryConfig() *DiscoveryConfig
- func (x *DataProfileConfigSnapshot) GetInspectConfig() *InspectConfig
- func (x *DataProfileConfigSnapshot) GetInspectTemplateModifiedTime() *timestamppb.Timestamp
- func (x *DataProfileConfigSnapshot) GetInspectTemplateName() string
- func (*DataProfileConfigSnapshot) ProtoMessage()
- func (x *DataProfileConfigSnapshot) ProtoReflect() protoreflect.Message
- func (x *DataProfileConfigSnapshot) Reset()
- func (x *DataProfileConfigSnapshot) String() string
- type DataProfileJobConfig
- func (*DataProfileJobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfileJobConfig) GetDataProfileActions() []*DataProfileAction
- func (x *DataProfileJobConfig) GetInspectTemplates() []string
- func (x *DataProfileJobConfig) GetLocation() *DataProfileLocation
- func (x *DataProfileJobConfig) GetProjectId() string
- func (*DataProfileJobConfig) ProtoMessage()
- func (x *DataProfileJobConfig) ProtoReflect() protoreflect.Message
- func (x *DataProfileJobConfig) Reset()
- func (x *DataProfileJobConfig) String() string
- type DataProfileLocation
- func (*DataProfileLocation) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfileLocation) GetFolderId() int64
- func (m *DataProfileLocation) GetLocation() isDataProfileLocation_Location
- func (x *DataProfileLocation) GetOrganizationId() int64
- func (*DataProfileLocation) ProtoMessage()
- func (x *DataProfileLocation) ProtoReflect() protoreflect.Message
- func (x *DataProfileLocation) Reset()
- func (x *DataProfileLocation) String() string
- type DataProfileLocation_FolderId
- type DataProfileLocation_OrganizationId
- type DataProfilePubSubCondition
- func (*DataProfilePubSubCondition) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfilePubSubCondition) GetExpressions() *DataProfilePubSubCondition_PubSubExpressions
- func (*DataProfilePubSubCondition) ProtoMessage()
- func (x *DataProfilePubSubCondition) ProtoReflect() protoreflect.Message
- func (x *DataProfilePubSubCondition) Reset()
- func (x *DataProfilePubSubCondition) String() string
- type DataProfilePubSubCondition_ProfileScoreBucket
- func (DataProfilePubSubCondition_ProfileScoreBucket) Descriptor() protoreflect.EnumDescriptor
- func (x DataProfilePubSubCondition_ProfileScoreBucket) Enum() *DataProfilePubSubCondition_ProfileScoreBucket
- func (DataProfilePubSubCondition_ProfileScoreBucket) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataProfilePubSubCondition_ProfileScoreBucket) Number() protoreflect.EnumNumber
- func (x DataProfilePubSubCondition_ProfileScoreBucket) String() string
- func (DataProfilePubSubCondition_ProfileScoreBucket) Type() protoreflect.EnumType
- type DataProfilePubSubCondition_PubSubCondition
- func (*DataProfilePubSubCondition_PubSubCondition) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfilePubSubCondition_PubSubCondition) GetMinimumRiskScore() DataProfilePubSubCondition_ProfileScoreBucket
- func (x *DataProfilePubSubCondition_PubSubCondition) GetMinimumSensitivityScore() DataProfilePubSubCondition_ProfileScoreBucket
- func (m *DataProfilePubSubCondition_PubSubCondition) GetValue() isDataProfilePubSubCondition_PubSubCondition_Value
- func (*DataProfilePubSubCondition_PubSubCondition) ProtoMessage()
- func (x *DataProfilePubSubCondition_PubSubCondition) ProtoReflect() protoreflect.Message
- func (x *DataProfilePubSubCondition_PubSubCondition) Reset()
- func (x *DataProfilePubSubCondition_PubSubCondition) String() string
- type DataProfilePubSubCondition_PubSubCondition_MinimumRiskScore
- type DataProfilePubSubCondition_PubSubCondition_MinimumSensitivityScore
- type DataProfilePubSubCondition_PubSubExpressions
- func (*DataProfilePubSubCondition_PubSubExpressions) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfilePubSubCondition_PubSubExpressions) GetConditions() []*DataProfilePubSubCondition_PubSubCondition
- func (x *DataProfilePubSubCondition_PubSubExpressions) GetLogicalOperator() DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator
- func (*DataProfilePubSubCondition_PubSubExpressions) ProtoMessage()
- func (x *DataProfilePubSubCondition_PubSubExpressions) ProtoReflect() protoreflect.Message
- func (x *DataProfilePubSubCondition_PubSubExpressions) Reset()
- func (x *DataProfilePubSubCondition_PubSubExpressions) String() string
- type DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator
- func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) Descriptor() protoreflect.EnumDescriptor
- func (x DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) Enum() *DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator
- func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) Number() protoreflect.EnumNumber
- func (x DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) String() string
- func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) Type() protoreflect.EnumType
- type DataProfilePubSubMessage
- func (*DataProfilePubSubMessage) Descriptor() ([]byte, []int)deprecated
- func (x *DataProfilePubSubMessage) GetEvent() DataProfileAction_EventType
- func (x *DataProfilePubSubMessage) GetProfile() *TableDataProfile
- func (*DataProfilePubSubMessage) ProtoMessage()
- func (x *DataProfilePubSubMessage) ProtoReflect() protoreflect.Message
- func (x *DataProfilePubSubMessage) Reset()
- func (x *DataProfilePubSubMessage) String() string
- type DataProfileUpdateFrequency
- func (DataProfileUpdateFrequency) Descriptor() protoreflect.EnumDescriptor
- func (x DataProfileUpdateFrequency) Enum() *DataProfileUpdateFrequency
- func (DataProfileUpdateFrequency) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataProfileUpdateFrequency) Number() protoreflect.EnumNumber
- func (x DataProfileUpdateFrequency) String() string
- func (DataProfileUpdateFrequency) Type() protoreflect.EnumType
- type DataRiskLevel
- type DataRiskLevel_DataRiskLevelScore
- func (DataRiskLevel_DataRiskLevelScore) Descriptor() protoreflect.EnumDescriptor
- func (x DataRiskLevel_DataRiskLevelScore) Enum() *DataRiskLevel_DataRiskLevelScore
- func (DataRiskLevel_DataRiskLevelScore) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataRiskLevel_DataRiskLevelScore) Number() protoreflect.EnumNumber
- func (x DataRiskLevel_DataRiskLevelScore) String() string
- func (DataRiskLevel_DataRiskLevelScore) Type() protoreflect.EnumType
- type DataSourceType
- type DatastoreKey
- type DatastoreOptions
- func (*DatastoreOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DatastoreOptions) GetKind() *KindExpression
- func (x *DatastoreOptions) GetPartitionId() *PartitionId
- func (*DatastoreOptions) ProtoMessage()
- func (x *DatastoreOptions) ProtoReflect() protoreflect.Message
- func (x *DatastoreOptions) Reset()
- func (x *DatastoreOptions) String() string
- type DateShiftConfig
- func (*DateShiftConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DateShiftConfig) GetContext() *FieldId
- func (x *DateShiftConfig) GetCryptoKey() *CryptoKey
- func (x *DateShiftConfig) GetLowerBoundDays() int32
- func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method
- func (x *DateShiftConfig) GetUpperBoundDays() int32
- func (*DateShiftConfig) ProtoMessage()
- func (x *DateShiftConfig) ProtoReflect() protoreflect.Message
- func (x *DateShiftConfig) Reset()
- func (x *DateShiftConfig) String() string
- type DateShiftConfig_CryptoKey
- type DateTime
- func (*DateTime) Descriptor() ([]byte, []int)deprecated
- func (x *DateTime) GetDate() *date.Date
- func (x *DateTime) GetDayOfWeek() dayofweek.DayOfWeek
- func (x *DateTime) GetTime() *timeofday.TimeOfDay
- func (x *DateTime) GetTimeZone() *DateTime_TimeZone
- func (*DateTime) ProtoMessage()
- func (x *DateTime) ProtoReflect() protoreflect.Message
- func (x *DateTime) Reset()
- func (x *DateTime) String() string
- type DateTime_TimeZone
- func (*DateTime_TimeZone) Descriptor() ([]byte, []int)deprecated
- func (x *DateTime_TimeZone) GetOffsetMinutes() int32
- func (*DateTime_TimeZone) ProtoMessage()
- func (x *DateTime_TimeZone) ProtoReflect() protoreflect.Message
- func (x *DateTime_TimeZone) Reset()
- func (x *DateTime_TimeZone) String() string
- type DeidentifyConfig
- func (*DeidentifyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyConfig) GetImageTransformations() *ImageTransformations
- func (x *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations
- func (x *DeidentifyConfig) GetRecordTransformations() *RecordTransformations
- func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation
- func (x *DeidentifyConfig) GetTransformationErrorHandling() *TransformationErrorHandling
- func (*DeidentifyConfig) ProtoMessage()
- func (x *DeidentifyConfig) ProtoReflect() protoreflect.Message
- func (x *DeidentifyConfig) Reset()
- func (x *DeidentifyConfig) String() string
- type DeidentifyConfig_ImageTransformations
- type DeidentifyConfig_InfoTypeTransformations
- type DeidentifyConfig_RecordTransformations
- type DeidentifyContentRequest
- func (*DeidentifyContentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig
- func (x *DeidentifyContentRequest) GetDeidentifyTemplateName() string
- func (x *DeidentifyContentRequest) GetInspectConfig() *InspectConfig
- func (x *DeidentifyContentRequest) GetInspectTemplateName() string
- func (x *DeidentifyContentRequest) GetItem() *ContentItem
- func (x *DeidentifyContentRequest) GetLocationId() string
- func (x *DeidentifyContentRequest) GetParent() string
- func (*DeidentifyContentRequest) ProtoMessage()
- func (x *DeidentifyContentRequest) ProtoReflect() protoreflect.Message
- func (x *DeidentifyContentRequest) Reset()
- func (x *DeidentifyContentRequest) String() string
- type DeidentifyContentResponse
- func (*DeidentifyContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyContentResponse) GetItem() *ContentItem
- func (x *DeidentifyContentResponse) GetOverview() *TransformationOverview
- func (*DeidentifyContentResponse) ProtoMessage()
- func (x *DeidentifyContentResponse) ProtoReflect() protoreflect.Message
- func (x *DeidentifyContentResponse) Reset()
- func (x *DeidentifyContentResponse) String() string
- type DeidentifyDataSourceDetails
- func (*DeidentifyDataSourceDetails) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyDataSourceDetails) GetDeidentifyStats() *DeidentifyDataSourceStats
- func (x *DeidentifyDataSourceDetails) GetRequestedOptions() *DeidentifyDataSourceDetails_RequestedDeidentifyOptions
- func (*DeidentifyDataSourceDetails) ProtoMessage()
- func (x *DeidentifyDataSourceDetails) ProtoReflect() protoreflect.Message
- func (x *DeidentifyDataSourceDetails) Reset()
- func (x *DeidentifyDataSourceDetails) String() string
- type DeidentifyDataSourceDetails_RequestedDeidentifyOptions
- func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotDeidentifyTemplate() *DeidentifyTemplate
- func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotImageRedactTemplate() *DeidentifyTemplate
- func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotStructuredDeidentifyTemplate() *DeidentifyTemplate
- func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) ProtoMessage()
- func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) ProtoReflect() protoreflect.Message
- func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) Reset()
- func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) String() string
- type DeidentifyDataSourceStats
- func (*DeidentifyDataSourceStats) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyDataSourceStats) GetTransformationCount() int64
- func (x *DeidentifyDataSourceStats) GetTransformationErrorCount() int64
- func (x *DeidentifyDataSourceStats) GetTransformedBytes() int64
- func (*DeidentifyDataSourceStats) ProtoMessage()
- func (x *DeidentifyDataSourceStats) ProtoReflect() protoreflect.Message
- func (x *DeidentifyDataSourceStats) Reset()
- func (x *DeidentifyDataSourceStats) String() string
- type DeidentifyTemplate
- func (*DeidentifyTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *DeidentifyTemplate) GetCreateTime() *timestamppb.Timestamp
- func (x *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig
- func (x *DeidentifyTemplate) GetDescription() string
- func (x *DeidentifyTemplate) GetDisplayName() string
- func (x *DeidentifyTemplate) GetName() string
- func (x *DeidentifyTemplate) GetUpdateTime() *timestamppb.Timestamp
- func (*DeidentifyTemplate) ProtoMessage()
- func (x *DeidentifyTemplate) ProtoReflect() protoreflect.Message
- func (x *DeidentifyTemplate) Reset()
- func (x *DeidentifyTemplate) String() string
- type DeleteDeidentifyTemplateRequest
- func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeidentifyTemplateRequest) GetName() string
- func (*DeleteDeidentifyTemplateRequest) ProtoMessage()
- func (x *DeleteDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeidentifyTemplateRequest) Reset()
- func (x *DeleteDeidentifyTemplateRequest) String() string
- type DeleteDiscoveryConfigRequest
- func (*DeleteDiscoveryConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDiscoveryConfigRequest) GetName() string
- func (*DeleteDiscoveryConfigRequest) ProtoMessage()
- func (x *DeleteDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDiscoveryConfigRequest) Reset()
- func (x *DeleteDiscoveryConfigRequest) String() string
- type DeleteDlpJobRequest
- func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDlpJobRequest) GetName() string
- func (*DeleteDlpJobRequest) ProtoMessage()
- func (x *DeleteDlpJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDlpJobRequest) Reset()
- func (x *DeleteDlpJobRequest) String() string
- type DeleteInspectTemplateRequest
- func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInspectTemplateRequest) GetName() string
- func (*DeleteInspectTemplateRequest) ProtoMessage()
- func (x *DeleteInspectTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInspectTemplateRequest) Reset()
- func (x *DeleteInspectTemplateRequest) String() string
- type DeleteJobTriggerRequest
- func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteJobTriggerRequest) GetName() string
- func (*DeleteJobTriggerRequest) ProtoMessage()
- func (x *DeleteJobTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteJobTriggerRequest) Reset()
- func (x *DeleteJobTriggerRequest) String() string
- type DeleteStoredInfoTypeRequest
- func (*DeleteStoredInfoTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStoredInfoTypeRequest) GetName() string
- func (*DeleteStoredInfoTypeRequest) ProtoMessage()
- func (x *DeleteStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStoredInfoTypeRequest) Reset()
- func (x *DeleteStoredInfoTypeRequest) String() string
- type Disabled
- type DiscoveryBigQueryConditions
- func (*DiscoveryBigQueryConditions) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryBigQueryConditions) GetCreatedAfter() *timestamppb.Timestamp
- func (m *DiscoveryBigQueryConditions) GetIncludedTypes() isDiscoveryBigQueryConditions_IncludedTypes
- func (x *DiscoveryBigQueryConditions) GetOrConditions() *DiscoveryBigQueryConditions_OrConditions
- func (x *DiscoveryBigQueryConditions) GetTypeCollection() BigQueryTableTypeCollection
- func (x *DiscoveryBigQueryConditions) GetTypes() *BigQueryTableTypes
- func (*DiscoveryBigQueryConditions) ProtoMessage()
- func (x *DiscoveryBigQueryConditions) ProtoReflect() protoreflect.Message
- func (x *DiscoveryBigQueryConditions) Reset()
- func (x *DiscoveryBigQueryConditions) String() string
- type DiscoveryBigQueryConditions_OrConditions
- func (*DiscoveryBigQueryConditions_OrConditions) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryBigQueryConditions_OrConditions) GetMinAge() *durationpb.Duration
- func (x *DiscoveryBigQueryConditions_OrConditions) GetMinRowCount() int32
- func (*DiscoveryBigQueryConditions_OrConditions) ProtoMessage()
- func (x *DiscoveryBigQueryConditions_OrConditions) ProtoReflect() protoreflect.Message
- func (x *DiscoveryBigQueryConditions_OrConditions) Reset()
- func (x *DiscoveryBigQueryConditions_OrConditions) String() string
- type DiscoveryBigQueryConditions_TypeCollection
- type DiscoveryBigQueryConditions_Types
- type DiscoveryBigQueryFilter
- func (*DiscoveryBigQueryFilter) Descriptor() ([]byte, []int)deprecated
- func (m *DiscoveryBigQueryFilter) GetFilter() isDiscoveryBigQueryFilter_Filter
- func (x *DiscoveryBigQueryFilter) GetOtherTables() *DiscoveryBigQueryFilter_AllOtherBigQueryTables
- func (x *DiscoveryBigQueryFilter) GetTables() *BigQueryTableCollection
- func (*DiscoveryBigQueryFilter) ProtoMessage()
- func (x *DiscoveryBigQueryFilter) ProtoReflect() protoreflect.Message
- func (x *DiscoveryBigQueryFilter) Reset()
- func (x *DiscoveryBigQueryFilter) String() string
- type DiscoveryBigQueryFilter_AllOtherBigQueryTables
- func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) Descriptor() ([]byte, []int)deprecated
- func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) ProtoMessage()
- func (x *DiscoveryBigQueryFilter_AllOtherBigQueryTables) ProtoReflect() protoreflect.Message
- func (x *DiscoveryBigQueryFilter_AllOtherBigQueryTables) Reset()
- func (x *DiscoveryBigQueryFilter_AllOtherBigQueryTables) String() string
- type DiscoveryBigQueryFilter_OtherTables
- type DiscoveryBigQueryFilter_Tables
- type DiscoveryConfig
- func (*DiscoveryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryConfig) GetActions() []*DataProfileAction
- func (x *DiscoveryConfig) GetCreateTime() *timestamppb.Timestamp
- func (x *DiscoveryConfig) GetDisplayName() string
- func (x *DiscoveryConfig) GetErrors() []*Error
- func (x *DiscoveryConfig) GetInspectTemplates() []string
- func (x *DiscoveryConfig) GetLastRunTime() *timestamppb.Timestamp
- func (x *DiscoveryConfig) GetName() string
- func (x *DiscoveryConfig) GetOrgConfig() *DiscoveryConfig_OrgConfig
- func (x *DiscoveryConfig) GetStatus() DiscoveryConfig_Status
- func (x *DiscoveryConfig) GetTargets() []*DiscoveryTarget
- func (x *DiscoveryConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*DiscoveryConfig) ProtoMessage()
- func (x *DiscoveryConfig) ProtoReflect() protoreflect.Message
- func (x *DiscoveryConfig) Reset()
- func (x *DiscoveryConfig) String() string
- type DiscoveryConfig_OrgConfig
- func (*DiscoveryConfig_OrgConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryConfig_OrgConfig) GetLocation() *DiscoveryStartingLocation
- func (x *DiscoveryConfig_OrgConfig) GetProjectId() string
- func (*DiscoveryConfig_OrgConfig) ProtoMessage()
- func (x *DiscoveryConfig_OrgConfig) ProtoReflect() protoreflect.Message
- func (x *DiscoveryConfig_OrgConfig) Reset()
- func (x *DiscoveryConfig_OrgConfig) String() string
- type DiscoveryConfig_Status
- func (DiscoveryConfig_Status) Descriptor() protoreflect.EnumDescriptor
- func (x DiscoveryConfig_Status) Enum() *DiscoveryConfig_Status
- func (DiscoveryConfig_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiscoveryConfig_Status) Number() protoreflect.EnumNumber
- func (x DiscoveryConfig_Status) String() string
- func (DiscoveryConfig_Status) Type() protoreflect.EnumType
- type DiscoveryGenerationCadence
- func (*DiscoveryGenerationCadence) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryGenerationCadence) GetSchemaModifiedCadence() *DiscoverySchemaModifiedCadence
- func (x *DiscoveryGenerationCadence) GetTableModifiedCadence() *DiscoveryTableModifiedCadence
- func (*DiscoveryGenerationCadence) ProtoMessage()
- func (x *DiscoveryGenerationCadence) ProtoReflect() protoreflect.Message
- func (x *DiscoveryGenerationCadence) Reset()
- func (x *DiscoveryGenerationCadence) String() string
- type DiscoverySchemaModifiedCadence
- func (*DiscoverySchemaModifiedCadence) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverySchemaModifiedCadence) GetFrequency() DataProfileUpdateFrequency
- func (x *DiscoverySchemaModifiedCadence) GetTypes() []BigQuerySchemaModification
- func (*DiscoverySchemaModifiedCadence) ProtoMessage()
- func (x *DiscoverySchemaModifiedCadence) ProtoReflect() protoreflect.Message
- func (x *DiscoverySchemaModifiedCadence) Reset()
- func (x *DiscoverySchemaModifiedCadence) String() string
- type DiscoveryStartingLocation
- func (*DiscoveryStartingLocation) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryStartingLocation) GetFolderId() int64
- func (m *DiscoveryStartingLocation) GetLocation() isDiscoveryStartingLocation_Location
- func (x *DiscoveryStartingLocation) GetOrganizationId() int64
- func (*DiscoveryStartingLocation) ProtoMessage()
- func (x *DiscoveryStartingLocation) ProtoReflect() protoreflect.Message
- func (x *DiscoveryStartingLocation) Reset()
- func (x *DiscoveryStartingLocation) String() string
- type DiscoveryStartingLocation_FolderId
- type DiscoveryStartingLocation_OrganizationId
- type DiscoveryTableModifiedCadence
- func (*DiscoveryTableModifiedCadence) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryTableModifiedCadence) GetFrequency() DataProfileUpdateFrequency
- func (x *DiscoveryTableModifiedCadence) GetTypes() []BigQueryTableModification
- func (*DiscoveryTableModifiedCadence) ProtoMessage()
- func (x *DiscoveryTableModifiedCadence) ProtoReflect() protoreflect.Message
- func (x *DiscoveryTableModifiedCadence) Reset()
- func (x *DiscoveryTableModifiedCadence) String() string
- type DiscoveryTarget
- func (*DiscoveryTarget) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryTarget) GetBigQueryTarget() *BigQueryDiscoveryTarget
- func (m *DiscoveryTarget) GetTarget() isDiscoveryTarget_Target
- func (*DiscoveryTarget) ProtoMessage()
- func (x *DiscoveryTarget) ProtoReflect() protoreflect.Message
- func (x *DiscoveryTarget) Reset()
- func (x *DiscoveryTarget) String() string
- type DiscoveryTarget_BigQueryTarget
- type DlpJob
- func (*DlpJob) Descriptor() ([]byte, []int)deprecated
- func (x *DlpJob) GetActionDetails() []*ActionDetails
- func (x *DlpJob) GetCreateTime() *timestamppb.Timestamp
- func (m *DlpJob) GetDetails() isDlpJob_Details
- func (x *DlpJob) GetEndTime() *timestamppb.Timestamp
- func (x *DlpJob) GetErrors() []*Error
- func (x *DlpJob) GetInspectDetails() *InspectDataSourceDetails
- func (x *DlpJob) GetJobTriggerName() string
- func (x *DlpJob) GetLastModified() *timestamppb.Timestamp
- func (x *DlpJob) GetName() string
- func (x *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails
- func (x *DlpJob) GetStartTime() *timestamppb.Timestamp
- func (x *DlpJob) GetState() DlpJob_JobState
- func (x *DlpJob) GetType() DlpJobType
- func (*DlpJob) ProtoMessage()
- func (x *DlpJob) ProtoReflect() protoreflect.Message
- func (x *DlpJob) Reset()
- func (x *DlpJob) String() string
- type DlpJobType
- type DlpJob_InspectDetails
- type DlpJob_JobState
- func (DlpJob_JobState) Descriptor() protoreflect.EnumDescriptor
- func (x DlpJob_JobState) Enum() *DlpJob_JobState
- func (DlpJob_JobState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DlpJob_JobState) Number() protoreflect.EnumNumber
- func (x DlpJob_JobState) String() string
- func (DlpJob_JobState) Type() protoreflect.EnumType
- type DlpJob_RiskDetails
- type DlpServiceClient
- type DlpServiceServer
- type DocumentLocation
- type EncryptionStatus
- func (EncryptionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionStatus) Enum() *EncryptionStatus
- func (EncryptionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionStatus) Number() protoreflect.EnumNumber
- func (x EncryptionStatus) String() string
- func (EncryptionStatus) Type() protoreflect.EnumType
- type EntityId
- type Error
- type ExcludeByHotword
- func (*ExcludeByHotword) Descriptor() ([]byte, []int)deprecated
- func (x *ExcludeByHotword) GetHotwordRegex() *CustomInfoType_Regex
- func (x *ExcludeByHotword) GetProximity() *CustomInfoType_DetectionRule_Proximity
- func (*ExcludeByHotword) ProtoMessage()
- func (x *ExcludeByHotword) ProtoReflect() protoreflect.Message
- func (x *ExcludeByHotword) Reset()
- func (x *ExcludeByHotword) String() string
- type ExcludeInfoTypes
- type ExclusionRule
- func (*ExclusionRule) Descriptor() ([]byte, []int)deprecated
- func (x *ExclusionRule) GetDictionary() *CustomInfoType_Dictionary
- func (x *ExclusionRule) GetExcludeByHotword() *ExcludeByHotword
- func (x *ExclusionRule) GetExcludeInfoTypes() *ExcludeInfoTypes
- func (x *ExclusionRule) GetMatchingType() MatchingType
- func (x *ExclusionRule) GetRegex() *CustomInfoType_Regex
- func (m *ExclusionRule) GetType() isExclusionRule_Type
- func (*ExclusionRule) ProtoMessage()
- func (x *ExclusionRule) ProtoReflect() protoreflect.Message
- func (x *ExclusionRule) Reset()
- func (x *ExclusionRule) String() string
- type ExclusionRule_Dictionary
- type ExclusionRule_ExcludeByHotword
- type ExclusionRule_ExcludeInfoTypes
- type ExclusionRule_Regex
- type FieldId
- type FieldTransformation
- func (*FieldTransformation) Descriptor() ([]byte, []int)deprecated
- func (x *FieldTransformation) GetCondition() *RecordCondition
- func (x *FieldTransformation) GetFields() []*FieldId
- func (x *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations
- func (x *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
- func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation
- func (*FieldTransformation) ProtoMessage()
- func (x *FieldTransformation) ProtoReflect() protoreflect.Message
- func (x *FieldTransformation) Reset()
- func (x *FieldTransformation) String() string
- type FieldTransformation_InfoTypeTransformations
- type FieldTransformation_PrimitiveTransformation
- type FileType
- type Finding
- func (*Finding) Descriptor() ([]byte, []int)deprecated
- func (x *Finding) GetCreateTime() *timestamppb.Timestamp
- func (x *Finding) GetFindingId() string
- func (x *Finding) GetInfoType() *InfoType
- func (x *Finding) GetJobCreateTime() *timestamppb.Timestamp
- func (x *Finding) GetJobName() string
- func (x *Finding) GetLabels() map[string]string
- func (x *Finding) GetLikelihood() Likelihood
- func (x *Finding) GetLocation() *Location
- func (x *Finding) GetName() string
- func (x *Finding) GetQuote() string
- func (x *Finding) GetQuoteInfo() *QuoteInfo
- func (x *Finding) GetResourceName() string
- func (x *Finding) GetTriggerName() string
- func (*Finding) ProtoMessage()
- func (x *Finding) ProtoReflect() protoreflect.Message
- func (x *Finding) Reset()
- func (x *Finding) String() string
- type FinishDlpJobRequest
- func (*FinishDlpJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinishDlpJobRequest) GetName() string
- func (*FinishDlpJobRequest) ProtoMessage()
- func (x *FinishDlpJobRequest) ProtoReflect() protoreflect.Message
- func (x *FinishDlpJobRequest) Reset()
- func (x *FinishDlpJobRequest) String() string
- type FixedSizeBucketingConfig
- func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FixedSizeBucketingConfig) GetBucketSize() float64
- func (x *FixedSizeBucketingConfig) GetLowerBound() *Value
- func (x *FixedSizeBucketingConfig) GetUpperBound() *Value
- func (*FixedSizeBucketingConfig) ProtoMessage()
- func (x *FixedSizeBucketingConfig) ProtoReflect() protoreflect.Message
- func (x *FixedSizeBucketingConfig) Reset()
- func (x *FixedSizeBucketingConfig) String() string
- type GetColumnDataProfileRequest
- func (*GetColumnDataProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetColumnDataProfileRequest) GetName() string
- func (*GetColumnDataProfileRequest) ProtoMessage()
- func (x *GetColumnDataProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetColumnDataProfileRequest) Reset()
- func (x *GetColumnDataProfileRequest) String() string
- type GetDeidentifyTemplateRequest
- func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeidentifyTemplateRequest) GetName() string
- func (*GetDeidentifyTemplateRequest) ProtoMessage()
- func (x *GetDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeidentifyTemplateRequest) Reset()
- func (x *GetDeidentifyTemplateRequest) String() string
- type GetDiscoveryConfigRequest
- func (*GetDiscoveryConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiscoveryConfigRequest) GetName() string
- func (*GetDiscoveryConfigRequest) ProtoMessage()
- func (x *GetDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetDiscoveryConfigRequest) Reset()
- func (x *GetDiscoveryConfigRequest) String() string
- type GetDlpJobRequest
- type GetInspectTemplateRequest
- func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInspectTemplateRequest) GetName() string
- func (*GetInspectTemplateRequest) ProtoMessage()
- func (x *GetInspectTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetInspectTemplateRequest) Reset()
- func (x *GetInspectTemplateRequest) String() string
- type GetJobTriggerRequest
- func (*GetJobTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobTriggerRequest) GetName() string
- func (*GetJobTriggerRequest) ProtoMessage()
- func (x *GetJobTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *GetJobTriggerRequest) Reset()
- func (x *GetJobTriggerRequest) String() string
- type GetProjectDataProfileRequest
- func (*GetProjectDataProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectDataProfileRequest) GetName() string
- func (*GetProjectDataProfileRequest) ProtoMessage()
- func (x *GetProjectDataProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectDataProfileRequest) Reset()
- func (x *GetProjectDataProfileRequest) String() string
- type GetStoredInfoTypeRequest
- func (*GetStoredInfoTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStoredInfoTypeRequest) GetName() string
- func (*GetStoredInfoTypeRequest) ProtoMessage()
- func (x *GetStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GetStoredInfoTypeRequest) Reset()
- func (x *GetStoredInfoTypeRequest) String() string
- type GetTableDataProfileRequest
- func (*GetTableDataProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTableDataProfileRequest) GetName() string
- func (*GetTableDataProfileRequest) ProtoMessage()
- func (x *GetTableDataProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetTableDataProfileRequest) Reset()
- func (x *GetTableDataProfileRequest) String() string
- type HybridContentItem
- func (*HybridContentItem) Descriptor() ([]byte, []int)deprecated
- func (x *HybridContentItem) GetFindingDetails() *HybridFindingDetails
- func (x *HybridContentItem) GetItem() *ContentItem
- func (*HybridContentItem) ProtoMessage()
- func (x *HybridContentItem) ProtoReflect() protoreflect.Message
- func (x *HybridContentItem) Reset()
- func (x *HybridContentItem) String() string
- type HybridFindingDetails
- func (*HybridFindingDetails) Descriptor() ([]byte, []int)deprecated
- func (x *HybridFindingDetails) GetContainerDetails() *Container
- func (x *HybridFindingDetails) GetFileOffset() int64
- func (x *HybridFindingDetails) GetLabels() map[string]string
- func (x *HybridFindingDetails) GetRowOffset() int64
- func (x *HybridFindingDetails) GetTableOptions() *TableOptions
- func (*HybridFindingDetails) ProtoMessage()
- func (x *HybridFindingDetails) ProtoReflect() protoreflect.Message
- func (x *HybridFindingDetails) Reset()
- func (x *HybridFindingDetails) String() string
- type HybridInspectDlpJobRequest
- func (*HybridInspectDlpJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HybridInspectDlpJobRequest) GetHybridItem() *HybridContentItem
- func (x *HybridInspectDlpJobRequest) GetName() string
- func (*HybridInspectDlpJobRequest) ProtoMessage()
- func (x *HybridInspectDlpJobRequest) ProtoReflect() protoreflect.Message
- func (x *HybridInspectDlpJobRequest) Reset()
- func (x *HybridInspectDlpJobRequest) String() string
- type HybridInspectJobTriggerRequest
- func (*HybridInspectJobTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HybridInspectJobTriggerRequest) GetHybridItem() *HybridContentItem
- func (x *HybridInspectJobTriggerRequest) GetName() string
- func (*HybridInspectJobTriggerRequest) ProtoMessage()
- func (x *HybridInspectJobTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *HybridInspectJobTriggerRequest) Reset()
- func (x *HybridInspectJobTriggerRequest) String() string
- type HybridInspectResponse
- type HybridInspectStatistics
- func (*HybridInspectStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *HybridInspectStatistics) GetAbortedCount() int64
- func (x *HybridInspectStatistics) GetPendingCount() int64
- func (x *HybridInspectStatistics) GetProcessedCount() int64
- func (*HybridInspectStatistics) ProtoMessage()
- func (x *HybridInspectStatistics) ProtoReflect() protoreflect.Message
- func (x *HybridInspectStatistics) Reset()
- func (x *HybridInspectStatistics) String() string
- type HybridOptions
- func (*HybridOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HybridOptions) GetDescription() string
- func (x *HybridOptions) GetLabels() map[string]string
- func (x *HybridOptions) GetRequiredFindingLabelKeys() []string
- func (x *HybridOptions) GetTableOptions() *TableOptions
- func (*HybridOptions) ProtoMessage()
- func (x *HybridOptions) ProtoReflect() protoreflect.Message
- func (x *HybridOptions) Reset()
- func (x *HybridOptions) String() string
- type ImageLocation
- type ImageTransformations
- func (*ImageTransformations) Descriptor() ([]byte, []int)deprecated
- func (x *ImageTransformations) GetTransforms() []*ImageTransformations_ImageTransformation
- func (*ImageTransformations) ProtoMessage()
- func (x *ImageTransformations) ProtoReflect() protoreflect.Message
- func (x *ImageTransformations) Reset()
- func (x *ImageTransformations) String() string
- type ImageTransformations_ImageTransformation
- func (*ImageTransformations_ImageTransformation) Descriptor() ([]byte, []int)deprecated
- func (x *ImageTransformations_ImageTransformation) GetAllInfoTypes() *ImageTransformations_ImageTransformation_AllInfoTypes
- func (x *ImageTransformations_ImageTransformation) GetAllText() *ImageTransformations_ImageTransformation_AllText
- func (x *ImageTransformations_ImageTransformation) GetRedactionColor() *Color
- func (x *ImageTransformations_ImageTransformation) GetSelectedInfoTypes() *ImageTransformations_ImageTransformation_SelectedInfoTypes
- func (m *ImageTransformations_ImageTransformation) GetTarget() isImageTransformations_ImageTransformation_Target
- func (*ImageTransformations_ImageTransformation) ProtoMessage()
- func (x *ImageTransformations_ImageTransformation) ProtoReflect() protoreflect.Message
- func (x *ImageTransformations_ImageTransformation) Reset()
- func (x *ImageTransformations_ImageTransformation) String() string
- type ImageTransformations_ImageTransformation_AllInfoTypes
- func (*ImageTransformations_ImageTransformation_AllInfoTypes) Descriptor() ([]byte, []int)deprecated
- func (*ImageTransformations_ImageTransformation_AllInfoTypes) ProtoMessage()
- func (x *ImageTransformations_ImageTransformation_AllInfoTypes) ProtoReflect() protoreflect.Message
- func (x *ImageTransformations_ImageTransformation_AllInfoTypes) Reset()
- func (x *ImageTransformations_ImageTransformation_AllInfoTypes) String() string
- type ImageTransformations_ImageTransformation_AllInfoTypes_
- type ImageTransformations_ImageTransformation_AllText
- func (*ImageTransformations_ImageTransformation_AllText) Descriptor() ([]byte, []int)deprecated
- func (*ImageTransformations_ImageTransformation_AllText) ProtoMessage()
- func (x *ImageTransformations_ImageTransformation_AllText) ProtoReflect() protoreflect.Message
- func (x *ImageTransformations_ImageTransformation_AllText) Reset()
- func (x *ImageTransformations_ImageTransformation_AllText) String() string
- type ImageTransformations_ImageTransformation_AllText_
- type ImageTransformations_ImageTransformation_SelectedInfoTypes
- func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) Descriptor() ([]byte, []int)deprecated
- func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) GetInfoTypes() []*InfoType
- func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) ProtoMessage()
- func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) ProtoReflect() protoreflect.Message
- func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) Reset()
- func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) String() string
- type ImageTransformations_ImageTransformation_SelectedInfoTypes_
- type InfoType
- func (*InfoType) Descriptor() ([]byte, []int)deprecated
- func (x *InfoType) GetName() string
- func (x *InfoType) GetSensitivityScore() *SensitivityScore
- func (x *InfoType) GetVersion() string
- func (*InfoType) ProtoMessage()
- func (x *InfoType) ProtoReflect() protoreflect.Message
- func (x *InfoType) Reset()
- func (x *InfoType) String() string
- type InfoTypeCategory
- func (*InfoTypeCategory) Descriptor() ([]byte, []int)deprecated
- func (m *InfoTypeCategory) GetCategory() isInfoTypeCategory_Category
- func (x *InfoTypeCategory) GetIndustryCategory() InfoTypeCategory_IndustryCategory
- func (x *InfoTypeCategory) GetLocationCategory() InfoTypeCategory_LocationCategory
- func (x *InfoTypeCategory) GetTypeCategory() InfoTypeCategory_TypeCategory
- func (*InfoTypeCategory) ProtoMessage()
- func (x *InfoTypeCategory) ProtoReflect() protoreflect.Message
- func (x *InfoTypeCategory) Reset()
- func (x *InfoTypeCategory) String() string
- type InfoTypeCategory_IndustryCategory
- func (InfoTypeCategory_IndustryCategory) Descriptor() protoreflect.EnumDescriptor
- func (x InfoTypeCategory_IndustryCategory) Enum() *InfoTypeCategory_IndustryCategory
- func (InfoTypeCategory_IndustryCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x InfoTypeCategory_IndustryCategory) Number() protoreflect.EnumNumber
- func (x InfoTypeCategory_IndustryCategory) String() string
- func (InfoTypeCategory_IndustryCategory) Type() protoreflect.EnumType
- type InfoTypeCategory_IndustryCategory_
- type InfoTypeCategory_LocationCategory
- func (InfoTypeCategory_LocationCategory) Descriptor() protoreflect.EnumDescriptor
- func (x InfoTypeCategory_LocationCategory) Enum() *InfoTypeCategory_LocationCategory
- func (InfoTypeCategory_LocationCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x InfoTypeCategory_LocationCategory) Number() protoreflect.EnumNumber
- func (x InfoTypeCategory_LocationCategory) String() string
- func (InfoTypeCategory_LocationCategory) Type() protoreflect.EnumType
- type InfoTypeCategory_LocationCategory_
- type InfoTypeCategory_TypeCategory
- func (InfoTypeCategory_TypeCategory) Descriptor() protoreflect.EnumDescriptor
- func (x InfoTypeCategory_TypeCategory) Enum() *InfoTypeCategory_TypeCategory
- func (InfoTypeCategory_TypeCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x InfoTypeCategory_TypeCategory) Number() protoreflect.EnumNumber
- func (x InfoTypeCategory_TypeCategory) String() string
- func (InfoTypeCategory_TypeCategory) Type() protoreflect.EnumType
- type InfoTypeCategory_TypeCategory_
- type InfoTypeDescription
- func (*InfoTypeDescription) Descriptor() ([]byte, []int)deprecated
- func (x *InfoTypeDescription) GetCategories() []*InfoTypeCategory
- func (x *InfoTypeDescription) GetDescription() string
- func (x *InfoTypeDescription) GetDisplayName() string
- func (x *InfoTypeDescription) GetName() string
- func (x *InfoTypeDescription) GetSensitivityScore() *SensitivityScore
- func (x *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy
- func (x *InfoTypeDescription) GetVersions() []*VersionDescription
- func (*InfoTypeDescription) ProtoMessage()
- func (x *InfoTypeDescription) ProtoReflect() protoreflect.Message
- func (x *InfoTypeDescription) Reset()
- func (x *InfoTypeDescription) String() string
- type InfoTypeStats
- func (*InfoTypeStats) Descriptor() ([]byte, []int)deprecated
- func (x *InfoTypeStats) GetCount() int64
- func (x *InfoTypeStats) GetInfoType() *InfoType
- func (*InfoTypeStats) ProtoMessage()
- func (x *InfoTypeStats) ProtoReflect() protoreflect.Message
- func (x *InfoTypeStats) Reset()
- func (x *InfoTypeStats) String() string
- type InfoTypeSummary
- func (*InfoTypeSummary) Descriptor() ([]byte, []int)deprecated
- func (x *InfoTypeSummary) GetEstimatedPrevalence() int32deprecated
- func (x *InfoTypeSummary) GetInfoType() *InfoType
- func (*InfoTypeSummary) ProtoMessage()
- func (x *InfoTypeSummary) ProtoReflect() protoreflect.Message
- func (x *InfoTypeSummary) Reset()
- func (x *InfoTypeSummary) String() string
- type InfoTypeSupportedBy
- func (InfoTypeSupportedBy) Descriptor() protoreflect.EnumDescriptor
- func (x InfoTypeSupportedBy) Enum() *InfoTypeSupportedBy
- func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int)deprecated
- func (x InfoTypeSupportedBy) Number() protoreflect.EnumNumber
- func (x InfoTypeSupportedBy) String() string
- func (InfoTypeSupportedBy) Type() protoreflect.EnumType
- type InfoTypeTransformations
- func (*InfoTypeTransformations) Descriptor() ([]byte, []int)deprecated
- func (x *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation
- func (*InfoTypeTransformations) ProtoMessage()
- func (x *InfoTypeTransformations) ProtoReflect() protoreflect.Message
- func (x *InfoTypeTransformations) Reset()
- func (x *InfoTypeTransformations) String() string
- type InfoTypeTransformations_InfoTypeTransformation
- func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int)deprecated
- func (x *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType
- func (x *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
- func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage()
- func (x *InfoTypeTransformations_InfoTypeTransformation) ProtoReflect() protoreflect.Message
- func (x *InfoTypeTransformations_InfoTypeTransformation) Reset()
- func (x *InfoTypeTransformations_InfoTypeTransformation) String() string
- type InspectConfig
- func (*InspectConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InspectConfig) GetContentOptions() []ContentOption
- func (x *InspectConfig) GetCustomInfoTypes() []*CustomInfoType
- func (x *InspectConfig) GetExcludeInfoTypes() bool
- func (x *InspectConfig) GetIncludeQuote() bool
- func (x *InspectConfig) GetInfoTypes() []*InfoType
- func (x *InspectConfig) GetLimits() *InspectConfig_FindingLimits
- func (x *InspectConfig) GetMinLikelihood() Likelihood
- func (x *InspectConfig) GetMinLikelihoodPerInfoType() []*InspectConfig_InfoTypeLikelihood
- func (x *InspectConfig) GetRuleSet() []*InspectionRuleSet
- func (*InspectConfig) ProtoMessage()
- func (x *InspectConfig) ProtoReflect() protoreflect.Message
- func (x *InspectConfig) Reset()
- func (x *InspectConfig) String() string
- type InspectConfig_FindingLimits
- func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int)deprecated
- func (x *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit
- func (x *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32
- func (x *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32
- func (*InspectConfig_FindingLimits) ProtoMessage()
- func (x *InspectConfig_FindingLimits) ProtoReflect() protoreflect.Message
- func (x *InspectConfig_FindingLimits) Reset()
- func (x *InspectConfig_FindingLimits) String() string
- type InspectConfig_FindingLimits_InfoTypeLimit
- func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int)deprecated
- func (x *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType
- func (x *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32
- func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage()
- func (x *InspectConfig_FindingLimits_InfoTypeLimit) ProtoReflect() protoreflect.Message
- func (x *InspectConfig_FindingLimits_InfoTypeLimit) Reset()
- func (x *InspectConfig_FindingLimits_InfoTypeLimit) String() string
- type InspectConfig_InfoTypeLikelihood
- func (*InspectConfig_InfoTypeLikelihood) Descriptor() ([]byte, []int)deprecated
- func (x *InspectConfig_InfoTypeLikelihood) GetInfoType() *InfoType
- func (x *InspectConfig_InfoTypeLikelihood) GetMinLikelihood() Likelihood
- func (*InspectConfig_InfoTypeLikelihood) ProtoMessage()
- func (x *InspectConfig_InfoTypeLikelihood) ProtoReflect() protoreflect.Message
- func (x *InspectConfig_InfoTypeLikelihood) Reset()
- func (x *InspectConfig_InfoTypeLikelihood) String() string
- type InspectContentRequest
- func (*InspectContentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectContentRequest) GetInspectConfig() *InspectConfig
- func (x *InspectContentRequest) GetInspectTemplateName() string
- func (x *InspectContentRequest) GetItem() *ContentItem
- func (x *InspectContentRequest) GetLocationId() string
- func (x *InspectContentRequest) GetParent() string
- func (*InspectContentRequest) ProtoMessage()
- func (x *InspectContentRequest) ProtoReflect() protoreflect.Message
- func (x *InspectContentRequest) Reset()
- func (x *InspectContentRequest) String() string
- type InspectContentResponse
- func (*InspectContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InspectContentResponse) GetResult() *InspectResult
- func (*InspectContentResponse) ProtoMessage()
- func (x *InspectContentResponse) ProtoReflect() protoreflect.Message
- func (x *InspectContentResponse) Reset()
- func (x *InspectContentResponse) String() string
- type InspectDataSourceDetails
- func (*InspectDataSourceDetails) Descriptor() ([]byte, []int)deprecated
- func (x *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions
- func (x *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result
- func (*InspectDataSourceDetails) ProtoMessage()
- func (x *InspectDataSourceDetails) ProtoReflect() protoreflect.Message
- func (x *InspectDataSourceDetails) Reset()
- func (x *InspectDataSourceDetails) String() string
- type InspectDataSourceDetails_RequestedOptions
- func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int)deprecated
- func (x *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig
- func (x *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate
- func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage()
- func (x *InspectDataSourceDetails_RequestedOptions) ProtoReflect() protoreflect.Message
- func (x *InspectDataSourceDetails_RequestedOptions) Reset()
- func (x *InspectDataSourceDetails_RequestedOptions) String() string
- type InspectDataSourceDetails_Result
- func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int)deprecated
- func (x *InspectDataSourceDetails_Result) GetHybridStats() *HybridInspectStatistics
- func (x *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats
- func (x *InspectDataSourceDetails_Result) GetProcessedBytes() int64
- func (x *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64
- func (*InspectDataSourceDetails_Result) ProtoMessage()
- func (x *InspectDataSourceDetails_Result) ProtoReflect() protoreflect.Message
- func (x *InspectDataSourceDetails_Result) Reset()
- func (x *InspectDataSourceDetails_Result) String() string
- type InspectJobConfig
- func (*InspectJobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InspectJobConfig) GetActions() []*Action
- func (x *InspectJobConfig) GetInspectConfig() *InspectConfig
- func (x *InspectJobConfig) GetInspectTemplateName() string
- func (x *InspectJobConfig) GetStorageConfig() *StorageConfig
- func (*InspectJobConfig) ProtoMessage()
- func (x *InspectJobConfig) ProtoReflect() protoreflect.Message
- func (x *InspectJobConfig) Reset()
- func (x *InspectJobConfig) String() string
- type InspectResult
- func (*InspectResult) Descriptor() ([]byte, []int)deprecated
- func (x *InspectResult) GetFindings() []*Finding
- func (x *InspectResult) GetFindingsTruncated() bool
- func (*InspectResult) ProtoMessage()
- func (x *InspectResult) ProtoReflect() protoreflect.Message
- func (x *InspectResult) Reset()
- func (x *InspectResult) String() string
- type InspectTemplate
- func (*InspectTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *InspectTemplate) GetCreateTime() *timestamppb.Timestamp
- func (x *InspectTemplate) GetDescription() string
- func (x *InspectTemplate) GetDisplayName() string
- func (x *InspectTemplate) GetInspectConfig() *InspectConfig
- func (x *InspectTemplate) GetName() string
- func (x *InspectTemplate) GetUpdateTime() *timestamppb.Timestamp
- func (*InspectTemplate) ProtoMessage()
- func (x *InspectTemplate) ProtoReflect() protoreflect.Message
- func (x *InspectTemplate) Reset()
- func (x *InspectTemplate) String() string
- type InspectionRule
- func (*InspectionRule) Descriptor() ([]byte, []int)deprecated
- func (x *InspectionRule) GetExclusionRule() *ExclusionRule
- func (x *InspectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule
- func (m *InspectionRule) GetType() isInspectionRule_Type
- func (*InspectionRule) ProtoMessage()
- func (x *InspectionRule) ProtoReflect() protoreflect.Message
- func (x *InspectionRule) Reset()
- func (x *InspectionRule) String() string
- type InspectionRuleSet
- func (*InspectionRuleSet) Descriptor() ([]byte, []int)deprecated
- func (x *InspectionRuleSet) GetInfoTypes() []*InfoType
- func (x *InspectionRuleSet) GetRules() []*InspectionRule
- func (*InspectionRuleSet) ProtoMessage()
- func (x *InspectionRuleSet) ProtoReflect() protoreflect.Message
- func (x *InspectionRuleSet) Reset()
- func (x *InspectionRuleSet) String() string
- type InspectionRule_ExclusionRule
- type InspectionRule_HotwordRule
- type JobTrigger
- func (*JobTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *JobTrigger) GetCreateTime() *timestamppb.Timestamp
- func (x *JobTrigger) GetDescription() string
- func (x *JobTrigger) GetDisplayName() string
- func (x *JobTrigger) GetErrors() []*Error
- func (x *JobTrigger) GetInspectJob() *InspectJobConfig
- func (m *JobTrigger) GetJob() isJobTrigger_Job
- func (x *JobTrigger) GetLastRunTime() *timestamppb.Timestamp
- func (x *JobTrigger) GetName() string
- func (x *JobTrigger) GetStatus() JobTrigger_Status
- func (x *JobTrigger) GetTriggers() []*JobTrigger_Trigger
- func (x *JobTrigger) GetUpdateTime() *timestamppb.Timestamp
- func (*JobTrigger) ProtoMessage()
- func (x *JobTrigger) ProtoReflect() protoreflect.Message
- func (x *JobTrigger) Reset()
- func (x *JobTrigger) String() string
- type JobTrigger_InspectJob
- type JobTrigger_Status
- func (JobTrigger_Status) Descriptor() protoreflect.EnumDescriptor
- func (x JobTrigger_Status) Enum() *JobTrigger_Status
- func (JobTrigger_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x JobTrigger_Status) Number() protoreflect.EnumNumber
- func (x JobTrigger_Status) String() string
- func (JobTrigger_Status) Type() protoreflect.EnumType
- type JobTrigger_Trigger
- func (*JobTrigger_Trigger) Descriptor() ([]byte, []int)deprecated
- func (x *JobTrigger_Trigger) GetManual() *Manual
- func (x *JobTrigger_Trigger) GetSchedule() *Schedule
- func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger
- func (*JobTrigger_Trigger) ProtoMessage()
- func (x *JobTrigger_Trigger) ProtoReflect() protoreflect.Message
- func (x *JobTrigger_Trigger) Reset()
- func (x *JobTrigger_Trigger) String() string
- type JobTrigger_Trigger_Manual
- type JobTrigger_Trigger_Schedule
- type Key
- type Key_PathElement
- func (*Key_PathElement) Descriptor() ([]byte, []int)deprecated
- func (x *Key_PathElement) GetId() int64
- func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType
- func (x *Key_PathElement) GetKind() string
- func (x *Key_PathElement) GetName() string
- func (*Key_PathElement) ProtoMessage()
- func (x *Key_PathElement) ProtoReflect() protoreflect.Message
- func (x *Key_PathElement) Reset()
- func (x *Key_PathElement) String() string
- type Key_PathElement_Id
- type Key_PathElement_Name
- type KindExpression
- type KmsWrappedCryptoKey
- func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int)deprecated
- func (x *KmsWrappedCryptoKey) GetCryptoKeyName() string
- func (x *KmsWrappedCryptoKey) GetWrappedKey() []byte
- func (*KmsWrappedCryptoKey) ProtoMessage()
- func (x *KmsWrappedCryptoKey) ProtoReflect() protoreflect.Message
- func (x *KmsWrappedCryptoKey) Reset()
- func (x *KmsWrappedCryptoKey) String() string
- type LargeCustomDictionaryConfig
- func (*LargeCustomDictionaryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LargeCustomDictionaryConfig) GetBigQueryField() *BigQueryField
- func (x *LargeCustomDictionaryConfig) GetCloudStorageFileSet() *CloudStorageFileSet
- func (x *LargeCustomDictionaryConfig) GetOutputPath() *CloudStoragePath
- func (m *LargeCustomDictionaryConfig) GetSource() isLargeCustomDictionaryConfig_Source
- func (*LargeCustomDictionaryConfig) ProtoMessage()
- func (x *LargeCustomDictionaryConfig) ProtoReflect() protoreflect.Message
- func (x *LargeCustomDictionaryConfig) Reset()
- func (x *LargeCustomDictionaryConfig) String() string
- type LargeCustomDictionaryConfig_BigQueryField
- type LargeCustomDictionaryConfig_CloudStorageFileSet
- type LargeCustomDictionaryStats
- func (*LargeCustomDictionaryStats) Descriptor() ([]byte, []int)deprecated
- func (x *LargeCustomDictionaryStats) GetApproxNumPhrases() int64
- func (*LargeCustomDictionaryStats) ProtoMessage()
- func (x *LargeCustomDictionaryStats) ProtoReflect() protoreflect.Message
- func (x *LargeCustomDictionaryStats) Reset()
- func (x *LargeCustomDictionaryStats) String() string
- type Likelihood
- type ListColumnDataProfilesRequest
- func (*ListColumnDataProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListColumnDataProfilesRequest) GetFilter() string
- func (x *ListColumnDataProfilesRequest) GetOrderBy() string
- func (x *ListColumnDataProfilesRequest) GetPageSize() int32
- func (x *ListColumnDataProfilesRequest) GetPageToken() string
- func (x *ListColumnDataProfilesRequest) GetParent() string
- func (*ListColumnDataProfilesRequest) ProtoMessage()
- func (x *ListColumnDataProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListColumnDataProfilesRequest) Reset()
- func (x *ListColumnDataProfilesRequest) String() string
- type ListColumnDataProfilesResponse
- func (*ListColumnDataProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListColumnDataProfilesResponse) GetColumnDataProfiles() []*ColumnDataProfile
- func (x *ListColumnDataProfilesResponse) GetNextPageToken() string
- func (*ListColumnDataProfilesResponse) ProtoMessage()
- func (x *ListColumnDataProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListColumnDataProfilesResponse) Reset()
- func (x *ListColumnDataProfilesResponse) String() string
- type ListDeidentifyTemplatesRequest
- func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeidentifyTemplatesRequest) GetLocationId() string
- func (x *ListDeidentifyTemplatesRequest) GetOrderBy() string
- func (x *ListDeidentifyTemplatesRequest) GetPageSize() int32
- func (x *ListDeidentifyTemplatesRequest) GetPageToken() string
- func (x *ListDeidentifyTemplatesRequest) GetParent() string
- func (*ListDeidentifyTemplatesRequest) ProtoMessage()
- func (x *ListDeidentifyTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeidentifyTemplatesRequest) Reset()
- func (x *ListDeidentifyTemplatesRequest) String() string
- type ListDeidentifyTemplatesResponse
- func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate
- func (x *ListDeidentifyTemplatesResponse) GetNextPageToken() string
- func (*ListDeidentifyTemplatesResponse) ProtoMessage()
- func (x *ListDeidentifyTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeidentifyTemplatesResponse) Reset()
- func (x *ListDeidentifyTemplatesResponse) String() string
- type ListDiscoveryConfigsRequest
- func (*ListDiscoveryConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDiscoveryConfigsRequest) GetOrderBy() string
- func (x *ListDiscoveryConfigsRequest) GetPageSize() int32
- func (x *ListDiscoveryConfigsRequest) GetPageToken() string
- func (x *ListDiscoveryConfigsRequest) GetParent() string
- func (*ListDiscoveryConfigsRequest) ProtoMessage()
- func (x *ListDiscoveryConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDiscoveryConfigsRequest) Reset()
- func (x *ListDiscoveryConfigsRequest) String() string
- type ListDiscoveryConfigsResponse
- func (*ListDiscoveryConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDiscoveryConfigsResponse) GetDiscoveryConfigs() []*DiscoveryConfig
- func (x *ListDiscoveryConfigsResponse) GetNextPageToken() string
- func (*ListDiscoveryConfigsResponse) ProtoMessage()
- func (x *ListDiscoveryConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDiscoveryConfigsResponse) Reset()
- func (x *ListDiscoveryConfigsResponse) String() string
- type ListDlpJobsRequest
- func (*ListDlpJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDlpJobsRequest) GetFilter() string
- func (x *ListDlpJobsRequest) GetLocationId() string
- func (x *ListDlpJobsRequest) GetOrderBy() string
- func (x *ListDlpJobsRequest) GetPageSize() int32
- func (x *ListDlpJobsRequest) GetPageToken() string
- func (x *ListDlpJobsRequest) GetParent() string
- func (x *ListDlpJobsRequest) GetType() DlpJobType
- func (*ListDlpJobsRequest) ProtoMessage()
- func (x *ListDlpJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDlpJobsRequest) Reset()
- func (x *ListDlpJobsRequest) String() string
- type ListDlpJobsResponse
- func (*ListDlpJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDlpJobsResponse) GetJobs() []*DlpJob
- func (x *ListDlpJobsResponse) GetNextPageToken() string
- func (*ListDlpJobsResponse) ProtoMessage()
- func (x *ListDlpJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDlpJobsResponse) Reset()
- func (x *ListDlpJobsResponse) String() string
- type ListInfoTypesRequest
- func (*ListInfoTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInfoTypesRequest) GetFilter() string
- func (x *ListInfoTypesRequest) GetLanguageCode() string
- func (x *ListInfoTypesRequest) GetLocationId() string
- func (x *ListInfoTypesRequest) GetParent() string
- func (*ListInfoTypesRequest) ProtoMessage()
- func (x *ListInfoTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInfoTypesRequest) Reset()
- func (x *ListInfoTypesRequest) String() string
- type ListInfoTypesResponse
- func (*ListInfoTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription
- func (*ListInfoTypesResponse) ProtoMessage()
- func (x *ListInfoTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInfoTypesResponse) Reset()
- func (x *ListInfoTypesResponse) String() string
- type ListInspectTemplatesRequest
- func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInspectTemplatesRequest) GetLocationId() string
- func (x *ListInspectTemplatesRequest) GetOrderBy() string
- func (x *ListInspectTemplatesRequest) GetPageSize() int32
- func (x *ListInspectTemplatesRequest) GetPageToken() string
- func (x *ListInspectTemplatesRequest) GetParent() string
- func (*ListInspectTemplatesRequest) ProtoMessage()
- func (x *ListInspectTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInspectTemplatesRequest) Reset()
- func (x *ListInspectTemplatesRequest) String() string
- type ListInspectTemplatesResponse
- func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate
- func (x *ListInspectTemplatesResponse) GetNextPageToken() string
- func (*ListInspectTemplatesResponse) ProtoMessage()
- func (x *ListInspectTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInspectTemplatesResponse) Reset()
- func (x *ListInspectTemplatesResponse) String() string
- type ListJobTriggersRequest
- func (*ListJobTriggersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobTriggersRequest) GetFilter() string
- func (x *ListJobTriggersRequest) GetLocationId() string
- func (x *ListJobTriggersRequest) GetOrderBy() string
- func (x *ListJobTriggersRequest) GetPageSize() int32
- func (x *ListJobTriggersRequest) GetPageToken() string
- func (x *ListJobTriggersRequest) GetParent() string
- func (x *ListJobTriggersRequest) GetType() DlpJobType
- func (*ListJobTriggersRequest) ProtoMessage()
- func (x *ListJobTriggersRequest) ProtoReflect() protoreflect.Message
- func (x *ListJobTriggersRequest) Reset()
- func (x *ListJobTriggersRequest) String() string
- type ListJobTriggersResponse
- func (*ListJobTriggersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger
- func (x *ListJobTriggersResponse) GetNextPageToken() string
- func (*ListJobTriggersResponse) ProtoMessage()
- func (x *ListJobTriggersResponse) ProtoReflect() protoreflect.Message
- func (x *ListJobTriggersResponse) Reset()
- func (x *ListJobTriggersResponse) String() string
- type ListProjectDataProfilesRequest
- func (*ListProjectDataProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectDataProfilesRequest) GetFilter() string
- func (x *ListProjectDataProfilesRequest) GetOrderBy() string
- func (x *ListProjectDataProfilesRequest) GetPageSize() int32
- func (x *ListProjectDataProfilesRequest) GetPageToken() string
- func (x *ListProjectDataProfilesRequest) GetParent() string
- func (*ListProjectDataProfilesRequest) ProtoMessage()
- func (x *ListProjectDataProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectDataProfilesRequest) Reset()
- func (x *ListProjectDataProfilesRequest) String() string
- type ListProjectDataProfilesResponse
- func (*ListProjectDataProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectDataProfilesResponse) GetNextPageToken() string
- func (x *ListProjectDataProfilesResponse) GetProjectDataProfiles() []*ProjectDataProfile
- func (*ListProjectDataProfilesResponse) ProtoMessage()
- func (x *ListProjectDataProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectDataProfilesResponse) Reset()
- func (x *ListProjectDataProfilesResponse) String() string
- type ListStoredInfoTypesRequest
- func (*ListStoredInfoTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoredInfoTypesRequest) GetLocationId() string
- func (x *ListStoredInfoTypesRequest) GetOrderBy() string
- func (x *ListStoredInfoTypesRequest) GetPageSize() int32
- func (x *ListStoredInfoTypesRequest) GetPageToken() string
- func (x *ListStoredInfoTypesRequest) GetParent() string
- func (*ListStoredInfoTypesRequest) ProtoMessage()
- func (x *ListStoredInfoTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListStoredInfoTypesRequest) Reset()
- func (x *ListStoredInfoTypesRequest) String() string
- type ListStoredInfoTypesResponse
- func (*ListStoredInfoTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoredInfoTypesResponse) GetNextPageToken() string
- func (x *ListStoredInfoTypesResponse) GetStoredInfoTypes() []*StoredInfoType
- func (*ListStoredInfoTypesResponse) ProtoMessage()
- func (x *ListStoredInfoTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListStoredInfoTypesResponse) Reset()
- func (x *ListStoredInfoTypesResponse) String() string
- type ListTableDataProfilesRequest
- func (*ListTableDataProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTableDataProfilesRequest) GetFilter() string
- func (x *ListTableDataProfilesRequest) GetOrderBy() string
- func (x *ListTableDataProfilesRequest) GetPageSize() int32
- func (x *ListTableDataProfilesRequest) GetPageToken() string
- func (x *ListTableDataProfilesRequest) GetParent() string
- func (*ListTableDataProfilesRequest) ProtoMessage()
- func (x *ListTableDataProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTableDataProfilesRequest) Reset()
- func (x *ListTableDataProfilesRequest) String() string
- type ListTableDataProfilesResponse
- func (*ListTableDataProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTableDataProfilesResponse) GetNextPageToken() string
- func (x *ListTableDataProfilesResponse) GetTableDataProfiles() []*TableDataProfile
- func (*ListTableDataProfilesResponse) ProtoMessage()
- func (x *ListTableDataProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTableDataProfilesResponse) Reset()
- func (x *ListTableDataProfilesResponse) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetByteRange() *Range
- func (x *Location) GetCodepointRange() *Range
- func (x *Location) GetContainer() *Container
- func (x *Location) GetContentLocations() []*ContentLocation
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Manual
- type MatchingType
- func (MatchingType) Descriptor() protoreflect.EnumDescriptor
- func (x MatchingType) Enum() *MatchingType
- func (MatchingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchingType) Number() protoreflect.EnumNumber
- func (x MatchingType) String() string
- func (MatchingType) Type() protoreflect.EnumType
- type MetadataLocation
- func (*MetadataLocation) Descriptor() ([]byte, []int)deprecated
- func (m *MetadataLocation) GetLabel() isMetadataLocation_Label
- func (x *MetadataLocation) GetStorageLabel() *StorageMetadataLabel
- func (x *MetadataLocation) GetType() MetadataType
- func (*MetadataLocation) ProtoMessage()
- func (x *MetadataLocation) ProtoReflect() protoreflect.Message
- func (x *MetadataLocation) Reset()
- func (x *MetadataLocation) String() string
- type MetadataLocation_StorageLabel
- type MetadataType
- func (MetadataType) Descriptor() protoreflect.EnumDescriptor
- func (x MetadataType) Enum() *MetadataType
- func (MetadataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetadataType) Number() protoreflect.EnumNumber
- func (x MetadataType) String() string
- func (MetadataType) Type() protoreflect.EnumType
- type NullPercentageLevel
- func (NullPercentageLevel) Descriptor() protoreflect.EnumDescriptor
- func (x NullPercentageLevel) Enum() *NullPercentageLevel
- func (NullPercentageLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x NullPercentageLevel) Number() protoreflect.EnumNumber
- func (x NullPercentageLevel) String() string
- func (NullPercentageLevel) Type() protoreflect.EnumType
- type OtherInfoTypeSummary
- func (*OtherInfoTypeSummary) Descriptor() ([]byte, []int)deprecated
- func (x *OtherInfoTypeSummary) GetEstimatedPrevalence() int32
- func (x *OtherInfoTypeSummary) GetExcludedFromAnalysis() bool
- func (x *OtherInfoTypeSummary) GetInfoType() *InfoType
- func (*OtherInfoTypeSummary) ProtoMessage()
- func (x *OtherInfoTypeSummary) ProtoReflect() protoreflect.Message
- func (x *OtherInfoTypeSummary) Reset()
- func (x *OtherInfoTypeSummary) String() string
- type OutputStorageConfig
- func (*OutputStorageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema
- func (x *OutputStorageConfig) GetTable() *BigQueryTable
- func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type
- func (*OutputStorageConfig) ProtoMessage()
- func (x *OutputStorageConfig) ProtoReflect() protoreflect.Message
- func (x *OutputStorageConfig) Reset()
- func (x *OutputStorageConfig) String() string
- type OutputStorageConfig_OutputSchema
- func (OutputStorageConfig_OutputSchema) Descriptor() protoreflect.EnumDescriptor
- func (x OutputStorageConfig_OutputSchema) Enum() *OutputStorageConfig_OutputSchema
- func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int)deprecated
- func (x OutputStorageConfig_OutputSchema) Number() protoreflect.EnumNumber
- func (x OutputStorageConfig_OutputSchema) String() string
- func (OutputStorageConfig_OutputSchema) Type() protoreflect.EnumType
- type OutputStorageConfig_Table
- type PartitionId
- func (*PartitionId) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionId) GetNamespaceId() string
- func (x *PartitionId) GetProjectId() string
- func (*PartitionId) ProtoMessage()
- func (x *PartitionId) ProtoReflect() protoreflect.Message
- func (x *PartitionId) Reset()
- func (x *PartitionId) String() string
- type PrimitiveTransformation
- func (*PrimitiveTransformation) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig
- func (x *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig
- func (x *PrimitiveTransformation) GetCryptoDeterministicConfig() *CryptoDeterministicConfig
- func (x *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig
- func (x *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig
- func (x *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig
- func (x *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig
- func (x *PrimitiveTransformation) GetRedactConfig() *RedactConfig
- func (x *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig
- func (x *PrimitiveTransformation) GetReplaceDictionaryConfig() *ReplaceDictionaryConfig
- func (x *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig
- func (x *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig
- func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation
- func (*PrimitiveTransformation) ProtoMessage()
- func (x *PrimitiveTransformation) ProtoReflect() protoreflect.Message
- func (x *PrimitiveTransformation) Reset()
- func (x *PrimitiveTransformation) String() string
- type PrimitiveTransformation_BucketingConfig
- type PrimitiveTransformation_CharacterMaskConfig
- type PrimitiveTransformation_CryptoDeterministicConfig
- type PrimitiveTransformation_CryptoHashConfig
- type PrimitiveTransformation_CryptoReplaceFfxFpeConfig
- type PrimitiveTransformation_DateShiftConfig
- type PrimitiveTransformation_FixedSizeBucketingConfig
- type PrimitiveTransformation_RedactConfig
- type PrimitiveTransformation_ReplaceConfig
- type PrimitiveTransformation_ReplaceDictionaryConfig
- type PrimitiveTransformation_ReplaceWithInfoTypeConfig
- type PrimitiveTransformation_TimePartConfig
- type PrivacyMetric
- func (*PrivacyMetric) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig
- func (x *PrivacyMetric) GetDeltaPresenceEstimationConfig() *PrivacyMetric_DeltaPresenceEstimationConfig
- func (x *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig
- func (x *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig
- func (x *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig
- func (x *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig
- func (m *PrivacyMetric) GetType() isPrivacyMetric_Type
- func (*PrivacyMetric) ProtoMessage()
- func (x *PrivacyMetric) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric) Reset()
- func (x *PrivacyMetric) String() string
- type PrivacyMetric_CategoricalStatsConfig
- func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId
- func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage()
- func (x *PrivacyMetric_CategoricalStatsConfig) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_CategoricalStatsConfig) Reset()
- func (x *PrivacyMetric_CategoricalStatsConfig) String() string
- type PrivacyMetric_CategoricalStatsConfig_
- type PrivacyMetric_DeltaPresenceEstimationConfig
- func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables() []*StatisticalTable
- func (x *PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds() []*QuasiId
- func (x *PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode() string
- func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage()
- func (x *PrivacyMetric_DeltaPresenceEstimationConfig) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_DeltaPresenceEstimationConfig) Reset()
- func (x *PrivacyMetric_DeltaPresenceEstimationConfig) String() string
- type PrivacyMetric_DeltaPresenceEstimationConfig_
- type PrivacyMetric_KAnonymityConfig
- func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId
- func (x *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId
- func (*PrivacyMetric_KAnonymityConfig) ProtoMessage()
- func (x *PrivacyMetric_KAnonymityConfig) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_KAnonymityConfig) Reset()
- func (x *PrivacyMetric_KAnonymityConfig) String() string
- type PrivacyMetric_KAnonymityConfig_
- type PrivacyMetric_KMapEstimationConfig
- func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable
- func (x *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField
- func (x *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string
- func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage()
- func (x *PrivacyMetric_KMapEstimationConfig) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_KMapEstimationConfig) Reset()
- func (x *PrivacyMetric_KMapEstimationConfig) String() string
- type PrivacyMetric_KMapEstimationConfig_
- type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage()
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset()
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string
- type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage()
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset()
- func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string
- type PrivacyMetric_KMapEstimationConfig_TaggedField
- func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *emptypb.Empty
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag
- func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage()
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset()
- func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string
- type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag
- type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred
- type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType
- type PrivacyMetric_LDiversityConfig
- func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId
- func (x *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId
- func (*PrivacyMetric_LDiversityConfig) ProtoMessage()
- func (x *PrivacyMetric_LDiversityConfig) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_LDiversityConfig) Reset()
- func (x *PrivacyMetric_LDiversityConfig) String() string
- type PrivacyMetric_LDiversityConfig_
- type PrivacyMetric_NumericalStatsConfig
- func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId
- func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage()
- func (x *PrivacyMetric_NumericalStatsConfig) ProtoReflect() protoreflect.Message
- func (x *PrivacyMetric_NumericalStatsConfig) Reset()
- func (x *PrivacyMetric_NumericalStatsConfig) String() string
- type PrivacyMetric_NumericalStatsConfig_
- type ProfileStatus
- func (*ProfileStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileStatus) GetStatus() *status.Status
- func (x *ProfileStatus) GetTimestamp() *timestamppb.Timestamp
- func (*ProfileStatus) ProtoMessage()
- func (x *ProfileStatus) ProtoReflect() protoreflect.Message
- func (x *ProfileStatus) Reset()
- func (x *ProfileStatus) String() string
- type ProjectDataProfile
- func (*ProjectDataProfile) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectDataProfile) GetDataRiskLevel() *DataRiskLevel
- func (x *ProjectDataProfile) GetName() string
- func (x *ProjectDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp
- func (x *ProjectDataProfile) GetProfileStatus() *ProfileStatus
- func (x *ProjectDataProfile) GetProjectId() string
- func (x *ProjectDataProfile) GetSensitivityScore() *SensitivityScore
- func (*ProjectDataProfile) ProtoMessage()
- func (x *ProjectDataProfile) ProtoReflect() protoreflect.Message
- func (x *ProjectDataProfile) Reset()
- func (x *ProjectDataProfile) String() string
- type QuasiId
- func (*QuasiId) Descriptor() ([]byte, []int)deprecated
- func (x *QuasiId) GetCustomTag() string
- func (x *QuasiId) GetField() *FieldId
- func (x *QuasiId) GetInferred() *emptypb.Empty
- func (x *QuasiId) GetInfoType() *InfoType
- func (m *QuasiId) GetTag() isQuasiId_Tag
- func (*QuasiId) ProtoMessage()
- func (x *QuasiId) ProtoReflect() protoreflect.Message
- func (x *QuasiId) Reset()
- func (x *QuasiId) String() string
- type QuasiId_CustomTag
- type QuasiId_Inferred
- type QuasiId_InfoType
- type QuoteInfo
- func (*QuoteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QuoteInfo) GetDateTime() *DateTime
- func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote
- func (*QuoteInfo) ProtoMessage()
- func (x *QuoteInfo) ProtoReflect() protoreflect.Message
- func (x *QuoteInfo) Reset()
- func (x *QuoteInfo) String() string
- type QuoteInfo_DateTime
- type Range
- type RecordCondition
- func (*RecordCondition) Descriptor() ([]byte, []int)deprecated
- func (x *RecordCondition) GetExpressions() *RecordCondition_Expressions
- func (*RecordCondition) ProtoMessage()
- func (x *RecordCondition) ProtoReflect() protoreflect.Message
- func (x *RecordCondition) Reset()
- func (x *RecordCondition) String() string
- type RecordCondition_Condition
- func (*RecordCondition_Condition) Descriptor() ([]byte, []int)deprecated
- func (x *RecordCondition_Condition) GetField() *FieldId
- func (x *RecordCondition_Condition) GetOperator() RelationalOperator
- func (x *RecordCondition_Condition) GetValue() *Value
- func (*RecordCondition_Condition) ProtoMessage()
- func (x *RecordCondition_Condition) ProtoReflect() protoreflect.Message
- func (x *RecordCondition_Condition) Reset()
- func (x *RecordCondition_Condition) String() string
- type RecordCondition_Conditions
- func (*RecordCondition_Conditions) Descriptor() ([]byte, []int)deprecated
- func (x *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition
- func (*RecordCondition_Conditions) ProtoMessage()
- func (x *RecordCondition_Conditions) ProtoReflect() protoreflect.Message
- func (x *RecordCondition_Conditions) Reset()
- func (x *RecordCondition_Conditions) String() string
- type RecordCondition_Expressions
- func (*RecordCondition_Expressions) Descriptor() ([]byte, []int)deprecated
- func (x *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions
- func (x *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator
- func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type
- func (*RecordCondition_Expressions) ProtoMessage()
- func (x *RecordCondition_Expressions) ProtoReflect() protoreflect.Message
- func (x *RecordCondition_Expressions) Reset()
- func (x *RecordCondition_Expressions) String() string
- type RecordCondition_Expressions_Conditions
- type RecordCondition_Expressions_LogicalOperator
- func (RecordCondition_Expressions_LogicalOperator) Descriptor() protoreflect.EnumDescriptor
- func (x RecordCondition_Expressions_LogicalOperator) Enum() *RecordCondition_Expressions_LogicalOperator
- func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecordCondition_Expressions_LogicalOperator) Number() protoreflect.EnumNumber
- func (x RecordCondition_Expressions_LogicalOperator) String() string
- func (RecordCondition_Expressions_LogicalOperator) Type() protoreflect.EnumType
- type RecordKey
- func (*RecordKey) Descriptor() ([]byte, []int)deprecated
- func (x *RecordKey) GetBigQueryKey() *BigQueryKey
- func (x *RecordKey) GetDatastoreKey() *DatastoreKey
- func (x *RecordKey) GetIdValues() []string
- func (m *RecordKey) GetType() isRecordKey_Type
- func (*RecordKey) ProtoMessage()
- func (x *RecordKey) ProtoReflect() protoreflect.Message
- func (x *RecordKey) Reset()
- func (x *RecordKey) String() string
- type RecordKey_BigQueryKey
- type RecordKey_DatastoreKey
- type RecordLocation
- func (*RecordLocation) Descriptor() ([]byte, []int)deprecated
- func (x *RecordLocation) GetFieldId() *FieldId
- func (x *RecordLocation) GetRecordKey() *RecordKey
- func (x *RecordLocation) GetTableLocation() *TableLocation
- func (*RecordLocation) ProtoMessage()
- func (x *RecordLocation) ProtoReflect() protoreflect.Message
- func (x *RecordLocation) Reset()
- func (x *RecordLocation) String() string
- type RecordSuppression
- func (*RecordSuppression) Descriptor() ([]byte, []int)deprecated
- func (x *RecordSuppression) GetCondition() *RecordCondition
- func (*RecordSuppression) ProtoMessage()
- func (x *RecordSuppression) ProtoReflect() protoreflect.Message
- func (x *RecordSuppression) Reset()
- func (x *RecordSuppression) String() string
- type RecordTransformation
- func (*RecordTransformation) Descriptor() ([]byte, []int)deprecated
- func (x *RecordTransformation) GetContainerTimestamp() *timestamppb.Timestamp
- func (x *RecordTransformation) GetContainerVersion() string
- func (x *RecordTransformation) GetFieldId() *FieldId
- func (*RecordTransformation) ProtoMessage()
- func (x *RecordTransformation) ProtoReflect() protoreflect.Message
- func (x *RecordTransformation) Reset()
- func (x *RecordTransformation) String() string
- type RecordTransformations
- func (*RecordTransformations) Descriptor() ([]byte, []int)deprecated
- func (x *RecordTransformations) GetFieldTransformations() []*FieldTransformation
- func (x *RecordTransformations) GetRecordSuppressions() []*RecordSuppression
- func (*RecordTransformations) ProtoMessage()
- func (x *RecordTransformations) ProtoReflect() protoreflect.Message
- func (x *RecordTransformations) Reset()
- func (x *RecordTransformations) String() string
- type RedactConfig
- type RedactImageRequest
- func (*RedactImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RedactImageRequest) GetByteItem() *ByteContentItem
- func (x *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig
- func (x *RedactImageRequest) GetIncludeFindings() bool
- func (x *RedactImageRequest) GetInspectConfig() *InspectConfig
- func (x *RedactImageRequest) GetLocationId() string
- func (x *RedactImageRequest) GetParent() string
- func (*RedactImageRequest) ProtoMessage()
- func (x *RedactImageRequest) ProtoReflect() protoreflect.Message
- func (x *RedactImageRequest) Reset()
- func (x *RedactImageRequest) String() string
- type RedactImageRequest_ImageRedactionConfig
- func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType
- func (x *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool
- func (x *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color
- func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target
- func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage()
- func (x *RedactImageRequest_ImageRedactionConfig) ProtoReflect() protoreflect.Message
- func (x *RedactImageRequest_ImageRedactionConfig) Reset()
- func (x *RedactImageRequest_ImageRedactionConfig) String() string
- type RedactImageRequest_ImageRedactionConfig_InfoType
- type RedactImageRequest_ImageRedactionConfig_RedactAllText
- type RedactImageResponse
- func (*RedactImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RedactImageResponse) GetExtractedText() string
- func (x *RedactImageResponse) GetInspectResult() *InspectResult
- func (x *RedactImageResponse) GetRedactedImage() []byte
- func (*RedactImageResponse) ProtoMessage()
- func (x *RedactImageResponse) ProtoReflect() protoreflect.Message
- func (x *RedactImageResponse) Reset()
- func (x *RedactImageResponse) String() string
- type ReidentifyContentRequest
- func (*ReidentifyContentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReidentifyContentRequest) GetInspectConfig() *InspectConfig
- func (x *ReidentifyContentRequest) GetInspectTemplateName() string
- func (x *ReidentifyContentRequest) GetItem() *ContentItem
- func (x *ReidentifyContentRequest) GetLocationId() string
- func (x *ReidentifyContentRequest) GetParent() string
- func (x *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig
- func (x *ReidentifyContentRequest) GetReidentifyTemplateName() string
- func (*ReidentifyContentRequest) ProtoMessage()
- func (x *ReidentifyContentRequest) ProtoReflect() protoreflect.Message
- func (x *ReidentifyContentRequest) Reset()
- func (x *ReidentifyContentRequest) String() string
- type ReidentifyContentResponse
- func (*ReidentifyContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReidentifyContentResponse) GetItem() *ContentItem
- func (x *ReidentifyContentResponse) GetOverview() *TransformationOverview
- func (*ReidentifyContentResponse) ProtoMessage()
- func (x *ReidentifyContentResponse) ProtoReflect() protoreflect.Message
- func (x *ReidentifyContentResponse) Reset()
- func (x *ReidentifyContentResponse) String() string
- type RelationalOperator
- func (RelationalOperator) Descriptor() protoreflect.EnumDescriptor
- func (x RelationalOperator) Enum() *RelationalOperator
- func (RelationalOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationalOperator) Number() protoreflect.EnumNumber
- func (x RelationalOperator) String() string
- func (RelationalOperator) Type() protoreflect.EnumType
- type ReplaceDictionaryConfig
- func (*ReplaceDictionaryConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ReplaceDictionaryConfig) GetType() isReplaceDictionaryConfig_Type
- func (x *ReplaceDictionaryConfig) GetWordList() *CustomInfoType_Dictionary_WordList
- func (*ReplaceDictionaryConfig) ProtoMessage()
- func (x *ReplaceDictionaryConfig) ProtoReflect() protoreflect.Message
- func (x *ReplaceDictionaryConfig) Reset()
- func (x *ReplaceDictionaryConfig) String() string
- type ReplaceDictionaryConfig_WordList
- type ReplaceValueConfig
- func (*ReplaceValueConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceValueConfig) GetNewValue() *Value
- func (*ReplaceValueConfig) ProtoMessage()
- func (x *ReplaceValueConfig) ProtoReflect() protoreflect.Message
- func (x *ReplaceValueConfig) Reset()
- func (x *ReplaceValueConfig) String() string
- type ReplaceWithInfoTypeConfig
- type ResourceVisibility
- func (ResourceVisibility) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceVisibility) Enum() *ResourceVisibility
- func (ResourceVisibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceVisibility) Number() protoreflect.EnumNumber
- func (x ResourceVisibility) String() string
- func (ResourceVisibility) Type() protoreflect.EnumType
- type RiskAnalysisJobConfig
- func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RiskAnalysisJobConfig) GetActions() []*Action
- func (x *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric
- func (x *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable
- func (*RiskAnalysisJobConfig) ProtoMessage()
- func (x *RiskAnalysisJobConfig) ProtoReflect() protoreflect.Message
- func (x *RiskAnalysisJobConfig) Reset()
- func (x *RiskAnalysisJobConfig) String() string
- type Schedule
- func (*Schedule) Descriptor() ([]byte, []int)deprecated
- func (m *Schedule) GetOption() isSchedule_Option
- func (x *Schedule) GetRecurrencePeriodDuration() *durationpb.Duration
- func (*Schedule) ProtoMessage()
- func (x *Schedule) ProtoReflect() protoreflect.Message
- func (x *Schedule) Reset()
- func (x *Schedule) String() string
- type Schedule_RecurrencePeriodDuration
- type SensitivityScore
- func (*SensitivityScore) Descriptor() ([]byte, []int)deprecated
- func (x *SensitivityScore) GetScore() SensitivityScore_SensitivityScoreLevel
- func (*SensitivityScore) ProtoMessage()
- func (x *SensitivityScore) ProtoReflect() protoreflect.Message
- func (x *SensitivityScore) Reset()
- func (x *SensitivityScore) String() string
- type SensitivityScore_SensitivityScoreLevel
- func (SensitivityScore_SensitivityScoreLevel) Descriptor() protoreflect.EnumDescriptor
- func (x SensitivityScore_SensitivityScoreLevel) Enum() *SensitivityScore_SensitivityScoreLevel
- func (SensitivityScore_SensitivityScoreLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x SensitivityScore_SensitivityScoreLevel) Number() protoreflect.EnumNumber
- func (x SensitivityScore_SensitivityScoreLevel) String() string
- func (SensitivityScore_SensitivityScoreLevel) Type() protoreflect.EnumType
- type StatisticalTable
- func (*StatisticalTable) Descriptor() ([]byte, []int)deprecated
- func (x *StatisticalTable) GetQuasiIds() []*StatisticalTable_QuasiIdentifierField
- func (x *StatisticalTable) GetRelativeFrequency() *FieldId
- func (x *StatisticalTable) GetTable() *BigQueryTable
- func (*StatisticalTable) ProtoMessage()
- func (x *StatisticalTable) ProtoReflect() protoreflect.Message
- func (x *StatisticalTable) Reset()
- func (x *StatisticalTable) String() string
- type StatisticalTable_QuasiIdentifierField
- func (*StatisticalTable_QuasiIdentifierField) Descriptor() ([]byte, []int)deprecated
- func (x *StatisticalTable_QuasiIdentifierField) GetCustomTag() string
- func (x *StatisticalTable_QuasiIdentifierField) GetField() *FieldId
- func (*StatisticalTable_QuasiIdentifierField) ProtoMessage()
- func (x *StatisticalTable_QuasiIdentifierField) ProtoReflect() protoreflect.Message
- func (x *StatisticalTable_QuasiIdentifierField) Reset()
- func (x *StatisticalTable_QuasiIdentifierField) String() string
- type StorageConfig
- func (*StorageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StorageConfig) GetBigQueryOptions() *BigQueryOptions
- func (x *StorageConfig) GetCloudStorageOptions() *CloudStorageOptions
- func (x *StorageConfig) GetDatastoreOptions() *DatastoreOptions
- func (x *StorageConfig) GetHybridOptions() *HybridOptions
- func (x *StorageConfig) GetTimespanConfig() *StorageConfig_TimespanConfig
- func (m *StorageConfig) GetType() isStorageConfig_Type
- func (*StorageConfig) ProtoMessage()
- func (x *StorageConfig) ProtoReflect() protoreflect.Message
- func (x *StorageConfig) Reset()
- func (x *StorageConfig) String() string
- type StorageConfig_BigQueryOptions
- type StorageConfig_CloudStorageOptions
- type StorageConfig_DatastoreOptions
- type StorageConfig_HybridOptions
- type StorageConfig_TimespanConfig
- func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig() bool
- func (x *StorageConfig_TimespanConfig) GetEndTime() *timestamppb.Timestamp
- func (x *StorageConfig_TimespanConfig) GetStartTime() *timestamppb.Timestamp
- func (x *StorageConfig_TimespanConfig) GetTimestampField() *FieldId
- func (*StorageConfig_TimespanConfig) ProtoMessage()
- func (x *StorageConfig_TimespanConfig) ProtoReflect() protoreflect.Message
- func (x *StorageConfig_TimespanConfig) Reset()
- func (x *StorageConfig_TimespanConfig) String() string
- type StorageMetadataLabel
- func (*StorageMetadataLabel) Descriptor() ([]byte, []int)deprecated
- func (x *StorageMetadataLabel) GetKey() string
- func (*StorageMetadataLabel) ProtoMessage()
- func (x *StorageMetadataLabel) ProtoReflect() protoreflect.Message
- func (x *StorageMetadataLabel) Reset()
- func (x *StorageMetadataLabel) String() string
- type StoredInfoType
- func (*StoredInfoType) Descriptor() ([]byte, []int)deprecated
- func (x *StoredInfoType) GetCurrentVersion() *StoredInfoTypeVersion
- func (x *StoredInfoType) GetName() string
- func (x *StoredInfoType) GetPendingVersions() []*StoredInfoTypeVersion
- func (*StoredInfoType) ProtoMessage()
- func (x *StoredInfoType) ProtoReflect() protoreflect.Message
- func (x *StoredInfoType) Reset()
- func (x *StoredInfoType) String() string
- type StoredInfoTypeConfig
- func (*StoredInfoTypeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StoredInfoTypeConfig) GetDescription() string
- func (x *StoredInfoTypeConfig) GetDictionary() *CustomInfoType_Dictionary
- func (x *StoredInfoTypeConfig) GetDisplayName() string
- func (x *StoredInfoTypeConfig) GetLargeCustomDictionary() *LargeCustomDictionaryConfig
- func (x *StoredInfoTypeConfig) GetRegex() *CustomInfoType_Regex
- func (m *StoredInfoTypeConfig) GetType() isStoredInfoTypeConfig_Type
- func (*StoredInfoTypeConfig) ProtoMessage()
- func (x *StoredInfoTypeConfig) ProtoReflect() protoreflect.Message
- func (x *StoredInfoTypeConfig) Reset()
- func (x *StoredInfoTypeConfig) String() string
- type StoredInfoTypeConfig_Dictionary
- type StoredInfoTypeConfig_LargeCustomDictionary
- type StoredInfoTypeConfig_Regex
- type StoredInfoTypeState
- func (StoredInfoTypeState) Descriptor() protoreflect.EnumDescriptor
- func (x StoredInfoTypeState) Enum() *StoredInfoTypeState
- func (StoredInfoTypeState) EnumDescriptor() ([]byte, []int)deprecated
- func (x StoredInfoTypeState) Number() protoreflect.EnumNumber
- func (x StoredInfoTypeState) String() string
- func (StoredInfoTypeState) Type() protoreflect.EnumType
- type StoredInfoTypeStats
- func (*StoredInfoTypeStats) Descriptor() ([]byte, []int)deprecated
- func (x *StoredInfoTypeStats) GetLargeCustomDictionary() *LargeCustomDictionaryStats
- func (m *StoredInfoTypeStats) GetType() isStoredInfoTypeStats_Type
- func (*StoredInfoTypeStats) ProtoMessage()
- func (x *StoredInfoTypeStats) ProtoReflect() protoreflect.Message
- func (x *StoredInfoTypeStats) Reset()
- func (x *StoredInfoTypeStats) String() string
- type StoredInfoTypeStats_LargeCustomDictionary
- type StoredInfoTypeVersion
- func (*StoredInfoTypeVersion) Descriptor() ([]byte, []int)deprecated
- func (x *StoredInfoTypeVersion) GetConfig() *StoredInfoTypeConfig
- func (x *StoredInfoTypeVersion) GetCreateTime() *timestamppb.Timestamp
- func (x *StoredInfoTypeVersion) GetErrors() []*Error
- func (x *StoredInfoTypeVersion) GetState() StoredInfoTypeState
- func (x *StoredInfoTypeVersion) GetStats() *StoredInfoTypeStats
- func (*StoredInfoTypeVersion) ProtoMessage()
- func (x *StoredInfoTypeVersion) ProtoReflect() protoreflect.Message
- func (x *StoredInfoTypeVersion) Reset()
- func (x *StoredInfoTypeVersion) String() string
- type StoredType
- func (*StoredType) Descriptor() ([]byte, []int)deprecated
- func (x *StoredType) GetCreateTime() *timestamppb.Timestamp
- func (x *StoredType) GetName() string
- func (*StoredType) ProtoMessage()
- func (x *StoredType) ProtoReflect() protoreflect.Message
- func (x *StoredType) Reset()
- func (x *StoredType) String() string
- type Table
- type TableDataProfile
- func (*TableDataProfile) Descriptor() ([]byte, []int)deprecated
- func (x *TableDataProfile) GetConfigSnapshot() *DataProfileConfigSnapshot
- func (x *TableDataProfile) GetCreateTime() *timestamppb.Timestamp
- func (x *TableDataProfile) GetDataRiskLevel() *DataRiskLevel
- func (x *TableDataProfile) GetDataSourceType() *DataSourceType
- func (x *TableDataProfile) GetDatasetId() string
- func (x *TableDataProfile) GetDatasetLocation() string
- func (x *TableDataProfile) GetDatasetProjectId() string
- func (x *TableDataProfile) GetEncryptionStatus() EncryptionStatus
- func (x *TableDataProfile) GetExpirationTime() *timestamppb.Timestamp
- func (x *TableDataProfile) GetFailedColumnCount() int64
- func (x *TableDataProfile) GetFullResource() string
- func (x *TableDataProfile) GetLastModifiedTime() *timestamppb.Timestamp
- func (x *TableDataProfile) GetName() string
- func (x *TableDataProfile) GetOtherInfoTypes() []*OtherInfoTypeSummary
- func (x *TableDataProfile) GetPredictedInfoTypes() []*InfoTypeSummary
- func (x *TableDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp
- func (x *TableDataProfile) GetProfileStatus() *ProfileStatus
- func (x *TableDataProfile) GetProjectDataProfile() string
- func (x *TableDataProfile) GetResourceLabels() map[string]string
- func (x *TableDataProfile) GetResourceVisibility() ResourceVisibility
- func (x *TableDataProfile) GetRowCount() int64
- func (x *TableDataProfile) GetScannedColumnCount() int64
- func (x *TableDataProfile) GetSensitivityScore() *SensitivityScore
- func (x *TableDataProfile) GetState() TableDataProfile_State
- func (x *TableDataProfile) GetTableId() string
- func (x *TableDataProfile) GetTableSizeBytes() int64
- func (*TableDataProfile) ProtoMessage()
- func (x *TableDataProfile) ProtoReflect() protoreflect.Message
- func (x *TableDataProfile) Reset()
- func (x *TableDataProfile) String() string
- type TableDataProfile_State
- func (TableDataProfile_State) Descriptor() protoreflect.EnumDescriptor
- func (x TableDataProfile_State) Enum() *TableDataProfile_State
- func (TableDataProfile_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x TableDataProfile_State) Number() protoreflect.EnumNumber
- func (x TableDataProfile_State) String() string
- func (TableDataProfile_State) Type() protoreflect.EnumType
- type TableLocation
- type TableOptions
- type Table_Row
- type TimePartConfig
- func (*TimePartConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart
- func (*TimePartConfig) ProtoMessage()
- func (x *TimePartConfig) ProtoReflect() protoreflect.Message
- func (x *TimePartConfig) Reset()
- func (x *TimePartConfig) String() string
- type TimePartConfig_TimePart
- func (TimePartConfig_TimePart) Descriptor() protoreflect.EnumDescriptor
- func (x TimePartConfig_TimePart) Enum() *TimePartConfig_TimePart
- func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimePartConfig_TimePart) Number() protoreflect.EnumNumber
- func (x TimePartConfig_TimePart) String() string
- func (TimePartConfig_TimePart) Type() protoreflect.EnumType
- type TransformationConfig
- func (*TransformationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationConfig) GetDeidentifyTemplate() string
- func (x *TransformationConfig) GetImageRedactTemplate() string
- func (x *TransformationConfig) GetStructuredDeidentifyTemplate() string
- func (*TransformationConfig) ProtoMessage()
- func (x *TransformationConfig) ProtoReflect() protoreflect.Message
- func (x *TransformationConfig) Reset()
- func (x *TransformationConfig) String() string
- type TransformationContainerType
- func (TransformationContainerType) Descriptor() protoreflect.EnumDescriptor
- func (x TransformationContainerType) Enum() *TransformationContainerType
- func (TransformationContainerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransformationContainerType) Number() protoreflect.EnumNumber
- func (x TransformationContainerType) String() string
- func (TransformationContainerType) Type() protoreflect.EnumType
- type TransformationDescription
- func (*TransformationDescription) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationDescription) GetCondition() string
- func (x *TransformationDescription) GetDescription() string
- func (x *TransformationDescription) GetInfoType() *InfoType
- func (x *TransformationDescription) GetType() TransformationType
- func (*TransformationDescription) ProtoMessage()
- func (x *TransformationDescription) ProtoReflect() protoreflect.Message
- func (x *TransformationDescription) Reset()
- func (x *TransformationDescription) String() string
- type TransformationDetails
- func (*TransformationDetails) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationDetails) GetContainerName() string
- func (x *TransformationDetails) GetResourceName() string
- func (x *TransformationDetails) GetStatusDetails() *TransformationResultStatus
- func (x *TransformationDetails) GetTransformation() []*TransformationDescription
- func (x *TransformationDetails) GetTransformationLocation() *TransformationLocation
- func (x *TransformationDetails) GetTransformedBytes() int64
- func (*TransformationDetails) ProtoMessage()
- func (x *TransformationDetails) ProtoReflect() protoreflect.Message
- func (x *TransformationDetails) Reset()
- func (x *TransformationDetails) String() string
- type TransformationDetailsStorageConfig
- func (*TransformationDetailsStorageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationDetailsStorageConfig) GetTable() *BigQueryTable
- func (m *TransformationDetailsStorageConfig) GetType() isTransformationDetailsStorageConfig_Type
- func (*TransformationDetailsStorageConfig) ProtoMessage()
- func (x *TransformationDetailsStorageConfig) ProtoReflect() protoreflect.Message
- func (x *TransformationDetailsStorageConfig) Reset()
- func (x *TransformationDetailsStorageConfig) String() string
- type TransformationDetailsStorageConfig_Table
- type TransformationErrorHandling
- func (*TransformationErrorHandling) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationErrorHandling) GetLeaveUntransformed() *TransformationErrorHandling_LeaveUntransformed
- func (m *TransformationErrorHandling) GetMode() isTransformationErrorHandling_Mode
- func (x *TransformationErrorHandling) GetThrowError() *TransformationErrorHandling_ThrowError
- func (*TransformationErrorHandling) ProtoMessage()
- func (x *TransformationErrorHandling) ProtoReflect() protoreflect.Message
- func (x *TransformationErrorHandling) Reset()
- func (x *TransformationErrorHandling) String() string
- type TransformationErrorHandling_LeaveUntransformed
- func (*TransformationErrorHandling_LeaveUntransformed) Descriptor() ([]byte, []int)deprecated
- func (*TransformationErrorHandling_LeaveUntransformed) ProtoMessage()
- func (x *TransformationErrorHandling_LeaveUntransformed) ProtoReflect() protoreflect.Message
- func (x *TransformationErrorHandling_LeaveUntransformed) Reset()
- func (x *TransformationErrorHandling_LeaveUntransformed) String() string
- type TransformationErrorHandling_LeaveUntransformed_
- type TransformationErrorHandling_ThrowError
- func (*TransformationErrorHandling_ThrowError) Descriptor() ([]byte, []int)deprecated
- func (*TransformationErrorHandling_ThrowError) ProtoMessage()
- func (x *TransformationErrorHandling_ThrowError) ProtoReflect() protoreflect.Message
- func (x *TransformationErrorHandling_ThrowError) Reset()
- func (x *TransformationErrorHandling_ThrowError) String() string
- type TransformationErrorHandling_ThrowError_
- type TransformationLocation
- func (*TransformationLocation) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationLocation) GetContainerType() TransformationContainerType
- func (x *TransformationLocation) GetFindingId() string
- func (m *TransformationLocation) GetLocationType() isTransformationLocation_LocationType
- func (x *TransformationLocation) GetRecordTransformation() *RecordTransformation
- func (*TransformationLocation) ProtoMessage()
- func (x *TransformationLocation) ProtoReflect() protoreflect.Message
- func (x *TransformationLocation) Reset()
- func (x *TransformationLocation) String() string
- type TransformationLocation_FindingId
- type TransformationLocation_RecordTransformation
- type TransformationOverview
- func (*TransformationOverview) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationOverview) GetTransformationSummaries() []*TransformationSummary
- func (x *TransformationOverview) GetTransformedBytes() int64
- func (*TransformationOverview) ProtoMessage()
- func (x *TransformationOverview) ProtoReflect() protoreflect.Message
- func (x *TransformationOverview) Reset()
- func (x *TransformationOverview) String() string
- type TransformationResultStatus
- func (*TransformationResultStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationResultStatus) GetDetails() *status.Status
- func (x *TransformationResultStatus) GetResultStatusType() TransformationResultStatusType
- func (*TransformationResultStatus) ProtoMessage()
- func (x *TransformationResultStatus) ProtoReflect() protoreflect.Message
- func (x *TransformationResultStatus) Reset()
- func (x *TransformationResultStatus) String() string
- type TransformationResultStatusType
- func (TransformationResultStatusType) Descriptor() protoreflect.EnumDescriptor
- func (x TransformationResultStatusType) Enum() *TransformationResultStatusType
- func (TransformationResultStatusType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransformationResultStatusType) Number() protoreflect.EnumNumber
- func (x TransformationResultStatusType) String() string
- func (TransformationResultStatusType) Type() protoreflect.EnumType
- type TransformationSummary
- func (*TransformationSummary) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationSummary) GetField() *FieldId
- func (x *TransformationSummary) GetFieldTransformations() []*FieldTransformation
- func (x *TransformationSummary) GetInfoType() *InfoType
- func (x *TransformationSummary) GetRecordSuppress() *RecordSuppression
- func (x *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult
- func (x *TransformationSummary) GetTransformation() *PrimitiveTransformation
- func (x *TransformationSummary) GetTransformedBytes() int64
- func (*TransformationSummary) ProtoMessage()
- func (x *TransformationSummary) ProtoReflect() protoreflect.Message
- func (x *TransformationSummary) Reset()
- func (x *TransformationSummary) String() string
- type TransformationSummary_SummaryResult
- func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int)deprecated
- func (x *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode
- func (x *TransformationSummary_SummaryResult) GetCount() int64
- func (x *TransformationSummary_SummaryResult) GetDetails() string
- func (*TransformationSummary_SummaryResult) ProtoMessage()
- func (x *TransformationSummary_SummaryResult) ProtoReflect() protoreflect.Message
- func (x *TransformationSummary_SummaryResult) Reset()
- func (x *TransformationSummary_SummaryResult) String() string
- type TransformationSummary_TransformationResultCode
- func (TransformationSummary_TransformationResultCode) Descriptor() protoreflect.EnumDescriptor
- func (x TransformationSummary_TransformationResultCode) Enum() *TransformationSummary_TransformationResultCode
- func (TransformationSummary_TransformationResultCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransformationSummary_TransformationResultCode) Number() protoreflect.EnumNumber
- func (x TransformationSummary_TransformationResultCode) String() string
- func (TransformationSummary_TransformationResultCode) Type() protoreflect.EnumType
- type TransformationType
- func (TransformationType) Descriptor() protoreflect.EnumDescriptor
- func (x TransformationType) Enum() *TransformationType
- func (TransformationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransformationType) Number() protoreflect.EnumNumber
- func (x TransformationType) String() string
- func (TransformationType) Type() protoreflect.EnumType
- type TransientCryptoKey
- func (*TransientCryptoKey) Descriptor() ([]byte, []int)deprecated
- func (x *TransientCryptoKey) GetName() string
- func (*TransientCryptoKey) ProtoMessage()
- func (x *TransientCryptoKey) ProtoReflect() protoreflect.Message
- func (x *TransientCryptoKey) Reset()
- func (x *TransientCryptoKey) String() string
- type UnimplementedDlpServiceServer
- func (*UnimplementedDlpServiceServer) ActivateJobTrigger(context.Context, *ActivateJobTriggerRequest) (*DlpJob, error)
- func (*UnimplementedDlpServiceServer) CancelDlpJob(context.Context, *CancelDlpJobRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
- func (*UnimplementedDlpServiceServer) CreateDiscoveryConfig(context.Context, *CreateDiscoveryConfigRequest) (*DiscoveryConfig, error)
- func (*UnimplementedDlpServiceServer) CreateDlpJob(context.Context, *CreateDlpJobRequest) (*DlpJob, error)
- func (*UnimplementedDlpServiceServer) CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error)
- func (*UnimplementedDlpServiceServer) CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error)
- func (*UnimplementedDlpServiceServer) CreateStoredInfoType(context.Context, *CreateStoredInfoTypeRequest) (*StoredInfoType, error)
- func (*UnimplementedDlpServiceServer) DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error)
- func (*UnimplementedDlpServiceServer) DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) DeleteDiscoveryConfig(context.Context, *DeleteDiscoveryConfigRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) DeleteStoredInfoType(context.Context, *DeleteStoredInfoTypeRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) FinishDlpJob(context.Context, *FinishDlpJobRequest) (*emptypb.Empty, error)
- func (*UnimplementedDlpServiceServer) GetColumnDataProfile(context.Context, *GetColumnDataProfileRequest) (*ColumnDataProfile, error)
- func (*UnimplementedDlpServiceServer) GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
- func (*UnimplementedDlpServiceServer) GetDiscoveryConfig(context.Context, *GetDiscoveryConfigRequest) (*DiscoveryConfig, error)
- func (*UnimplementedDlpServiceServer) GetDlpJob(context.Context, *GetDlpJobRequest) (*DlpJob, error)
- func (*UnimplementedDlpServiceServer) GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error)
- func (*UnimplementedDlpServiceServer) GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error)
- func (*UnimplementedDlpServiceServer) GetProjectDataProfile(context.Context, *GetProjectDataProfileRequest) (*ProjectDataProfile, error)
- func (*UnimplementedDlpServiceServer) GetStoredInfoType(context.Context, *GetStoredInfoTypeRequest) (*StoredInfoType, error)
- func (*UnimplementedDlpServiceServer) GetTableDataProfile(context.Context, *GetTableDataProfileRequest) (*TableDataProfile, error)
- func (*UnimplementedDlpServiceServer) HybridInspectDlpJob(context.Context, *HybridInspectDlpJobRequest) (*HybridInspectResponse, error)
- func (*UnimplementedDlpServiceServer) HybridInspectJobTrigger(context.Context, *HybridInspectJobTriggerRequest) (*HybridInspectResponse, error)
- func (*UnimplementedDlpServiceServer) InspectContent(context.Context, *InspectContentRequest) (*InspectContentResponse, error)
- func (*UnimplementedDlpServiceServer) ListColumnDataProfiles(context.Context, *ListColumnDataProfilesRequest) (*ListColumnDataProfilesResponse, error)
- func (*UnimplementedDlpServiceServer) ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error)
- func (*UnimplementedDlpServiceServer) ListDiscoveryConfigs(context.Context, *ListDiscoveryConfigsRequest) (*ListDiscoveryConfigsResponse, error)
- func (*UnimplementedDlpServiceServer) ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error)
- func (*UnimplementedDlpServiceServer) ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error)
- func (*UnimplementedDlpServiceServer) ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error)
- func (*UnimplementedDlpServiceServer) ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error)
- func (*UnimplementedDlpServiceServer) ListProjectDataProfiles(context.Context, *ListProjectDataProfilesRequest) (*ListProjectDataProfilesResponse, error)
- func (*UnimplementedDlpServiceServer) ListStoredInfoTypes(context.Context, *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error)
- func (*UnimplementedDlpServiceServer) ListTableDataProfiles(context.Context, *ListTableDataProfilesRequest) (*ListTableDataProfilesResponse, error)
- func (*UnimplementedDlpServiceServer) RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error)
- func (*UnimplementedDlpServiceServer) ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error)
- func (*UnimplementedDlpServiceServer) UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
- func (*UnimplementedDlpServiceServer) UpdateDiscoveryConfig(context.Context, *UpdateDiscoveryConfigRequest) (*DiscoveryConfig, error)
- func (*UnimplementedDlpServiceServer) UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error)
- func (*UnimplementedDlpServiceServer) UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error)
- func (*UnimplementedDlpServiceServer) UpdateStoredInfoType(context.Context, *UpdateStoredInfoTypeRequest) (*StoredInfoType, error)
- type UniquenessScoreLevel
- func (UniquenessScoreLevel) Descriptor() protoreflect.EnumDescriptor
- func (x UniquenessScoreLevel) Enum() *UniquenessScoreLevel
- func (UniquenessScoreLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x UniquenessScoreLevel) Number() protoreflect.EnumNumber
- func (x UniquenessScoreLevel) String() string
- func (UniquenessScoreLevel) Type() protoreflect.EnumType
- type UnwrappedCryptoKey
- type UpdateDeidentifyTemplateRequest
- func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
- func (x *UpdateDeidentifyTemplateRequest) GetName() string
- func (x *UpdateDeidentifyTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDeidentifyTemplateRequest) ProtoMessage()
- func (x *UpdateDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeidentifyTemplateRequest) Reset()
- func (x *UpdateDeidentifyTemplateRequest) String() string
- type UpdateDiscoveryConfigRequest
- func (*UpdateDiscoveryConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig
- func (x *UpdateDiscoveryConfigRequest) GetName() string
- func (x *UpdateDiscoveryConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDiscoveryConfigRequest) ProtoMessage()
- func (x *UpdateDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDiscoveryConfigRequest) Reset()
- func (x *UpdateDiscoveryConfigRequest) String() string
- type UpdateInspectTemplateRequest
- func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
- func (x *UpdateInspectTemplateRequest) GetName() string
- func (x *UpdateInspectTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateInspectTemplateRequest) ProtoMessage()
- func (x *UpdateInspectTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInspectTemplateRequest) Reset()
- func (x *UpdateInspectTemplateRequest) String() string
- type UpdateJobTriggerRequest
- func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger
- func (x *UpdateJobTriggerRequest) GetName() string
- func (x *UpdateJobTriggerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateJobTriggerRequest) ProtoMessage()
- func (x *UpdateJobTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateJobTriggerRequest) Reset()
- func (x *UpdateJobTriggerRequest) String() string
- type UpdateStoredInfoTypeRequest
- func (*UpdateStoredInfoTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig
- func (x *UpdateStoredInfoTypeRequest) GetName() string
- func (x *UpdateStoredInfoTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateStoredInfoTypeRequest) ProtoMessage()
- func (x *UpdateStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStoredInfoTypeRequest) Reset()
- func (x *UpdateStoredInfoTypeRequest) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBooleanValue() bool
- func (x *Value) GetDateValue() *date.Date
- func (x *Value) GetDayOfWeekValue() dayofweek.DayOfWeek
- func (x *Value) GetFloatValue() float64
- func (x *Value) GetIntegerValue() int64
- func (x *Value) GetStringValue() string
- func (x *Value) GetTimeValue() *timeofday.TimeOfDay
- func (x *Value) GetTimestampValue() *timestamppb.Timestamp
- func (m *Value) GetType() isValue_Type
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type ValueFrequency
- func (*ValueFrequency) Descriptor() ([]byte, []int)deprecated
- func (x *ValueFrequency) GetCount() int64
- func (x *ValueFrequency) GetValue() *Value
- func (*ValueFrequency) ProtoMessage()
- func (x *ValueFrequency) ProtoReflect() protoreflect.Message
- func (x *ValueFrequency) Reset()
- func (x *ValueFrequency) String() string
- type Value_BooleanValue
- type Value_DateValue
- type Value_DayOfWeekValue
- type Value_FloatValue
- type Value_IntegerValue
- type Value_StringValue
- type Value_TimeValue
- type Value_TimestampValue
- type VersionDescription
- func (*VersionDescription) Descriptor() ([]byte, []int)deprecated
- func (x *VersionDescription) GetDescription() string
- func (x *VersionDescription) GetVersion() string
- func (*VersionDescription) ProtoMessage()
- func (x *VersionDescription) ProtoReflect() protoreflect.Message
- func (x *VersionDescription) Reset()
- func (x *VersionDescription) String() string
Constants ¶
This section is empty.
Variables ¶
var ( TransformationResultStatusType_name = map[int32]string{ 0: "STATE_TYPE_UNSPECIFIED", 1: "INVALID_TRANSFORM", 2: "BIGQUERY_MAX_ROW_SIZE_EXCEEDED", 3: "METADATA_UNRETRIEVABLE", 4: "SUCCESS", } TransformationResultStatusType_value = map[string]int32{ "STATE_TYPE_UNSPECIFIED": 0, "INVALID_TRANSFORM": 1, "BIGQUERY_MAX_ROW_SIZE_EXCEEDED": 2, "METADATA_UNRETRIEVABLE": 3, "SUCCESS": 4, } )
Enum value maps for TransformationResultStatusType.
var ( TransformationContainerType_name = map[int32]string{ 0: "TRANSFORM_UNKNOWN_CONTAINER", 1: "TRANSFORM_BODY", 2: "TRANSFORM_METADATA", 3: "TRANSFORM_TABLE", } TransformationContainerType_value = map[string]int32{ "TRANSFORM_UNKNOWN_CONTAINER": 0, "TRANSFORM_BODY": 1, "TRANSFORM_METADATA": 2, "TRANSFORM_TABLE": 3, } )
Enum value maps for TransformationContainerType.
var ( TransformationType_name = map[int32]string{ 0: "TRANSFORMATION_TYPE_UNSPECIFIED", 1: "RECORD_SUPPRESSION", 2: "REPLACE_VALUE", 15: "REPLACE_DICTIONARY", 3: "REDACT", 4: "CHARACTER_MASK", 5: "CRYPTO_REPLACE_FFX_FPE", 6: "FIXED_SIZE_BUCKETING", 7: "BUCKETING", 8: "REPLACE_WITH_INFO_TYPE", 9: "TIME_PART", 10: "CRYPTO_HASH", 12: "DATE_SHIFT", 13: "CRYPTO_DETERMINISTIC_CONFIG", 14: "REDACT_IMAGE", } TransformationType_value = map[string]int32{ "TRANSFORMATION_TYPE_UNSPECIFIED": 0, "RECORD_SUPPRESSION": 1, "REPLACE_VALUE": 2, "REPLACE_DICTIONARY": 15, "REDACT": 3, "CHARACTER_MASK": 4, "CRYPTO_REPLACE_FFX_FPE": 5, "FIXED_SIZE_BUCKETING": 6, "BUCKETING": 7, "REPLACE_WITH_INFO_TYPE": 8, "TIME_PART": 9, "CRYPTO_HASH": 10, "DATE_SHIFT": 12, "CRYPTO_DETERMINISTIC_CONFIG": 13, "REDACT_IMAGE": 14, } )
Enum value maps for TransformationType.
var ( BigQueryTableTypeCollection_name = map[int32]string{ 0: "BIG_QUERY_COLLECTION_UNSPECIFIED", 1: "BIG_QUERY_COLLECTION_ALL_TYPES", 2: "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES", } BigQueryTableTypeCollection_value = map[string]int32{ "BIG_QUERY_COLLECTION_UNSPECIFIED": 0, "BIG_QUERY_COLLECTION_ALL_TYPES": 1, "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES": 2, } )
Enum value maps for BigQueryTableTypeCollection.
var ( BigQueryTableType_name = map[int32]string{ 0: "BIG_QUERY_TABLE_TYPE_UNSPECIFIED", 1: "BIG_QUERY_TABLE_TYPE_TABLE", 2: "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE", } BigQueryTableType_value = map[string]int32{ "BIG_QUERY_TABLE_TYPE_UNSPECIFIED": 0, "BIG_QUERY_TABLE_TYPE_TABLE": 1, "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2, } )
Enum value maps for BigQueryTableType.
var ( DataProfileUpdateFrequency_name = map[int32]string{ 0: "UPDATE_FREQUENCY_UNSPECIFIED", 1: "UPDATE_FREQUENCY_NEVER", 2: "UPDATE_FREQUENCY_DAILY", 4: "UPDATE_FREQUENCY_MONTHLY", } DataProfileUpdateFrequency_value = map[string]int32{ "UPDATE_FREQUENCY_UNSPECIFIED": 0, "UPDATE_FREQUENCY_NEVER": 1, "UPDATE_FREQUENCY_DAILY": 2, "UPDATE_FREQUENCY_MONTHLY": 4, } )
Enum value maps for DataProfileUpdateFrequency.
var ( BigQueryTableModification_name = map[int32]string{ 0: "TABLE_MODIFICATION_UNSPECIFIED", 1: "TABLE_MODIFIED_TIMESTAMP", } BigQueryTableModification_value = map[string]int32{ "TABLE_MODIFICATION_UNSPECIFIED": 0, "TABLE_MODIFIED_TIMESTAMP": 1, } )
Enum value maps for BigQueryTableModification.
var ( BigQuerySchemaModification_name = map[int32]string{ 0: "SCHEMA_MODIFICATION_UNSPECIFIED", 1: "SCHEMA_NEW_COLUMNS", 2: "SCHEMA_REMOVED_COLUMNS", } BigQuerySchemaModification_value = map[string]int32{ "SCHEMA_MODIFICATION_UNSPECIFIED": 0, "SCHEMA_NEW_COLUMNS": 1, "SCHEMA_REMOVED_COLUMNS": 2, } )
Enum value maps for BigQuerySchemaModification.
var ( RelationalOperator_name = map[int32]string{ 0: "RELATIONAL_OPERATOR_UNSPECIFIED", 1: "EQUAL_TO", 2: "NOT_EQUAL_TO", 3: "GREATER_THAN", 4: "LESS_THAN", 5: "GREATER_THAN_OR_EQUALS", 6: "LESS_THAN_OR_EQUALS", 7: "EXISTS", } RelationalOperator_value = map[string]int32{ "RELATIONAL_OPERATOR_UNSPECIFIED": 0, "EQUAL_TO": 1, "NOT_EQUAL_TO": 2, "GREATER_THAN": 3, "LESS_THAN": 4, "GREATER_THAN_OR_EQUALS": 5, "LESS_THAN_OR_EQUALS": 6, "EXISTS": 7, } )
Enum value maps for RelationalOperator.
var ( MatchingType_name = map[int32]string{ 0: "MATCHING_TYPE_UNSPECIFIED", 1: "MATCHING_TYPE_FULL_MATCH", 2: "MATCHING_TYPE_PARTIAL_MATCH", 3: "MATCHING_TYPE_INVERSE_MATCH", } MatchingType_value = map[string]int32{ "MATCHING_TYPE_UNSPECIFIED": 0, "MATCHING_TYPE_FULL_MATCH": 1, "MATCHING_TYPE_PARTIAL_MATCH": 2, "MATCHING_TYPE_INVERSE_MATCH": 3, } )
Enum value maps for MatchingType.
var ( ContentOption_name = map[int32]string{ 0: "CONTENT_UNSPECIFIED", 1: "CONTENT_TEXT", 2: "CONTENT_IMAGE", } ContentOption_value = map[string]int32{ "CONTENT_UNSPECIFIED": 0, "CONTENT_TEXT": 1, "CONTENT_IMAGE": 2, } )
Enum value maps for ContentOption.
var ( MetadataType_name = map[int32]string{ 0: "METADATATYPE_UNSPECIFIED", 2: "STORAGE_METADATA", } MetadataType_value = map[string]int32{ "METADATATYPE_UNSPECIFIED": 0, "STORAGE_METADATA": 2, } )
Enum value maps for MetadataType.
var ( InfoTypeSupportedBy_name = map[int32]string{ 0: "ENUM_TYPE_UNSPECIFIED", 1: "INSPECT", 2: "RISK_ANALYSIS", } InfoTypeSupportedBy_value = map[string]int32{ "ENUM_TYPE_UNSPECIFIED": 0, "INSPECT": 1, "RISK_ANALYSIS": 2, } )
Enum value maps for InfoTypeSupportedBy.
var ( DlpJobType_name = map[int32]string{ 0: "DLP_JOB_TYPE_UNSPECIFIED", 1: "INSPECT_JOB", 2: "RISK_ANALYSIS_JOB", } DlpJobType_value = map[string]int32{ "DLP_JOB_TYPE_UNSPECIFIED": 0, "INSPECT_JOB": 1, "RISK_ANALYSIS_JOB": 2, } )
Enum value maps for DlpJobType.
var ( StoredInfoTypeState_name = map[int32]string{ 0: "STORED_INFO_TYPE_STATE_UNSPECIFIED", 1: "PENDING", 2: "READY", 3: "FAILED", 4: "INVALID", } StoredInfoTypeState_value = map[string]int32{ "STORED_INFO_TYPE_STATE_UNSPECIFIED": 0, "PENDING": 1, "READY": 2, "FAILED": 3, "INVALID": 4, } )
Enum value maps for StoredInfoTypeState.
var ( ResourceVisibility_name = map[int32]string{ 0: "RESOURCE_VISIBILITY_UNSPECIFIED", 10: "RESOURCE_VISIBILITY_PUBLIC", 20: "RESOURCE_VISIBILITY_RESTRICTED", } ResourceVisibility_value = map[string]int32{ "RESOURCE_VISIBILITY_UNSPECIFIED": 0, "RESOURCE_VISIBILITY_PUBLIC": 10, "RESOURCE_VISIBILITY_RESTRICTED": 20, } )
Enum value maps for ResourceVisibility.
var ( EncryptionStatus_name = map[int32]string{ 0: "ENCRYPTION_STATUS_UNSPECIFIED", 1: "ENCRYPTION_GOOGLE_MANAGED", 2: "ENCRYPTION_CUSTOMER_MANAGED", } EncryptionStatus_value = map[string]int32{ "ENCRYPTION_STATUS_UNSPECIFIED": 0, "ENCRYPTION_GOOGLE_MANAGED": 1, "ENCRYPTION_CUSTOMER_MANAGED": 2, } )
Enum value maps for EncryptionStatus.
var ( NullPercentageLevel_name = map[int32]string{ 0: "NULL_PERCENTAGE_LEVEL_UNSPECIFIED", 1: "NULL_PERCENTAGE_VERY_LOW", 2: "NULL_PERCENTAGE_LOW", 3: "NULL_PERCENTAGE_MEDIUM", 4: "NULL_PERCENTAGE_HIGH", } NullPercentageLevel_value = map[string]int32{ "NULL_PERCENTAGE_LEVEL_UNSPECIFIED": 0, "NULL_PERCENTAGE_VERY_LOW": 1, "NULL_PERCENTAGE_LOW": 2, "NULL_PERCENTAGE_MEDIUM": 3, "NULL_PERCENTAGE_HIGH": 4, } )
Enum value maps for NullPercentageLevel.
var ( UniquenessScoreLevel_name = map[int32]string{ 0: "UNIQUENESS_SCORE_LEVEL_UNSPECIFIED", 1: "UNIQUENESS_SCORE_LOW", 2: "UNIQUENESS_SCORE_MEDIUM", 3: "UNIQUENESS_SCORE_HIGH", } UniquenessScoreLevel_value = map[string]int32{ "UNIQUENESS_SCORE_LEVEL_UNSPECIFIED": 0, "UNIQUENESS_SCORE_LOW": 1, "UNIQUENESS_SCORE_MEDIUM": 2, "UNIQUENESS_SCORE_HIGH": 3, } )
Enum value maps for UniquenessScoreLevel.
var ( ByteContentItem_BytesType_name = map[int32]string{ 0: "BYTES_TYPE_UNSPECIFIED", 6: "IMAGE", 1: "IMAGE_JPEG", 2: "IMAGE_BMP", 3: "IMAGE_PNG", 4: "IMAGE_SVG", 5: "TEXT_UTF8", 7: "WORD_DOCUMENT", 8: "PDF", 9: "POWERPOINT_DOCUMENT", 10: "EXCEL_DOCUMENT", 11: "AVRO", 12: "CSV", 13: "TSV", } ByteContentItem_BytesType_value = map[string]int32{ "BYTES_TYPE_UNSPECIFIED": 0, "IMAGE": 6, "IMAGE_JPEG": 1, "IMAGE_BMP": 2, "IMAGE_PNG": 3, "IMAGE_SVG": 4, "TEXT_UTF8": 5, "WORD_DOCUMENT": 7, "PDF": 8, "POWERPOINT_DOCUMENT": 9, "EXCEL_DOCUMENT": 10, "AVRO": 11, "CSV": 12, "TSV": 13, } )
Enum value maps for ByteContentItem_BytesType.
var ( OutputStorageConfig_OutputSchema_name = map[int32]string{ 0: "OUTPUT_SCHEMA_UNSPECIFIED", 1: "BASIC_COLUMNS", 2: "GCS_COLUMNS", 3: "DATASTORE_COLUMNS", 4: "BIG_QUERY_COLUMNS", 5: "ALL_COLUMNS", } OutputStorageConfig_OutputSchema_value = map[string]int32{ "OUTPUT_SCHEMA_UNSPECIFIED": 0, "BASIC_COLUMNS": 1, "GCS_COLUMNS": 2, "DATASTORE_COLUMNS": 3, "BIG_QUERY_COLUMNS": 4, "ALL_COLUMNS": 5, } )
Enum value maps for OutputStorageConfig_OutputSchema.
var ( InfoTypeCategory_LocationCategory_name = map[int32]string{ 0: "LOCATION_UNSPECIFIED", 1: "GLOBAL", 2: "ARGENTINA", 3: "AUSTRALIA", 4: "BELGIUM", 5: "BRAZIL", 6: "CANADA", 7: "CHILE", 8: "CHINA", 9: "COLOMBIA", 42: "CROATIA", 10: "DENMARK", 11: "FRANCE", 12: "FINLAND", 13: "GERMANY", 14: "HONG_KONG", 15: "INDIA", 16: "INDONESIA", 17: "IRELAND", 18: "ISRAEL", 19: "ITALY", 20: "JAPAN", 21: "KOREA", 22: "MEXICO", 23: "THE_NETHERLANDS", 41: "NEW_ZEALAND", 24: "NORWAY", 25: "PARAGUAY", 26: "PERU", 27: "POLAND", 28: "PORTUGAL", 29: "SINGAPORE", 30: "SOUTH_AFRICA", 31: "SPAIN", 32: "SWEDEN", 43: "SWITZERLAND", 33: "TAIWAN", 34: "THAILAND", 35: "TURKEY", 36: "UNITED_KINGDOM", 37: "UNITED_STATES", 38: "URUGUAY", 39: "VENEZUELA", 40: "INTERNAL", } InfoTypeCategory_LocationCategory_value = map[string]int32{ "LOCATION_UNSPECIFIED": 0, "GLOBAL": 1, "ARGENTINA": 2, "AUSTRALIA": 3, "BELGIUM": 4, "BRAZIL": 5, "CANADA": 6, "CHILE": 7, "CHINA": 8, "COLOMBIA": 9, "CROATIA": 42, "DENMARK": 10, "FRANCE": 11, "FINLAND": 12, "GERMANY": 13, "HONG_KONG": 14, "INDIA": 15, "INDONESIA": 16, "IRELAND": 17, "ISRAEL": 18, "ITALY": 19, "JAPAN": 20, "KOREA": 21, "MEXICO": 22, "THE_NETHERLANDS": 23, "NEW_ZEALAND": 41, "NORWAY": 24, "PARAGUAY": 25, "PERU": 26, "POLAND": 27, "PORTUGAL": 28, "SINGAPORE": 29, "SOUTH_AFRICA": 30, "SPAIN": 31, "SWEDEN": 32, "SWITZERLAND": 43, "TAIWAN": 33, "THAILAND": 34, "TURKEY": 35, "UNITED_KINGDOM": 36, "UNITED_STATES": 37, "URUGUAY": 38, "VENEZUELA": 39, "INTERNAL": 40, } )
Enum value maps for InfoTypeCategory_LocationCategory.
var ( InfoTypeCategory_IndustryCategory_name = map[int32]string{ 0: "INDUSTRY_UNSPECIFIED", 1: "FINANCE", 2: "HEALTH", 3: "TELECOMMUNICATIONS", } InfoTypeCategory_IndustryCategory_value = map[string]int32{ "INDUSTRY_UNSPECIFIED": 0, "FINANCE": 1, "HEALTH": 2, "TELECOMMUNICATIONS": 3, } )
Enum value maps for InfoTypeCategory_IndustryCategory.
var ( InfoTypeCategory_TypeCategory_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "PII", 2: "SPII", 3: "DEMOGRAPHIC", 4: "CREDENTIAL", 5: "GOVERNMENT_ID", 6: "DOCUMENT", 7: "CONTEXTUAL_INFORMATION", } InfoTypeCategory_TypeCategory_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "PII": 1, "SPII": 2, "DEMOGRAPHIC": 3, "CREDENTIAL": 4, "GOVERNMENT_ID": 5, "DOCUMENT": 6, "CONTEXTUAL_INFORMATION": 7, } )
Enum value maps for InfoTypeCategory_TypeCategory.
var ( TimePartConfig_TimePart_name = map[int32]string{ 0: "TIME_PART_UNSPECIFIED", 1: "YEAR", 2: "MONTH", 3: "DAY_OF_MONTH", 4: "DAY_OF_WEEK", 5: "WEEK_OF_YEAR", 6: "HOUR_OF_DAY", } TimePartConfig_TimePart_value = map[string]int32{ "TIME_PART_UNSPECIFIED": 0, "YEAR": 1, "MONTH": 2, "DAY_OF_MONTH": 3, "DAY_OF_WEEK": 4, "WEEK_OF_YEAR": 5, "HOUR_OF_DAY": 6, } )
Enum value maps for TimePartConfig_TimePart.
var ( CharsToIgnore_CommonCharsToIgnore_name = map[int32]string{ 0: "COMMON_CHARS_TO_IGNORE_UNSPECIFIED", 1: "NUMERIC", 2: "ALPHA_UPPER_CASE", 3: "ALPHA_LOWER_CASE", 4: "PUNCTUATION", 5: "WHITESPACE", } CharsToIgnore_CommonCharsToIgnore_value = map[string]int32{ "COMMON_CHARS_TO_IGNORE_UNSPECIFIED": 0, "NUMERIC": 1, "ALPHA_UPPER_CASE": 2, "ALPHA_LOWER_CASE": 3, "PUNCTUATION": 4, "WHITESPACE": 5, } )
Enum value maps for CharsToIgnore_CommonCharsToIgnore.
var ( CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name = map[int32]string{ 0: "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED", 1: "NUMERIC", 2: "HEXADECIMAL", 3: "UPPER_CASE_ALPHA_NUMERIC", 4: "ALPHA_NUMERIC", } CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value = map[string]int32{ "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED": 0, "NUMERIC": 1, "HEXADECIMAL": 2, "UPPER_CASE_ALPHA_NUMERIC": 3, "ALPHA_NUMERIC": 4, } )
Enum value maps for CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet.
var ( RecordCondition_Expressions_LogicalOperator_name = map[int32]string{ 0: "LOGICAL_OPERATOR_UNSPECIFIED", 1: "AND", } RecordCondition_Expressions_LogicalOperator_value = map[string]int32{ "LOGICAL_OPERATOR_UNSPECIFIED": 0, "AND": 1, } )
Enum value maps for RecordCondition_Expressions_LogicalOperator.
var ( TransformationSummary_TransformationResultCode_name = map[int32]string{ 0: "TRANSFORMATION_RESULT_CODE_UNSPECIFIED", 1: "SUCCESS", 2: "ERROR", } TransformationSummary_TransformationResultCode_value = map[string]int32{ "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0, "SUCCESS": 1, "ERROR": 2, } )
Enum value maps for TransformationSummary_TransformationResultCode.
var ( JobTrigger_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "HEALTHY", 2: "PAUSED", 3: "CANCELLED", } JobTrigger_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "HEALTHY": 1, "PAUSED": 2, "CANCELLED": 3, } )
Enum value maps for JobTrigger_Status.
var ( DataProfileAction_EventType_name = map[int32]string{ 0: "EVENT_TYPE_UNSPECIFIED", 1: "NEW_PROFILE", 2: "CHANGED_PROFILE", 3: "SCORE_INCREASED", 4: "ERROR_CHANGED", } DataProfileAction_EventType_value = map[string]int32{ "EVENT_TYPE_UNSPECIFIED": 0, "NEW_PROFILE": 1, "CHANGED_PROFILE": 2, "SCORE_INCREASED": 3, "ERROR_CHANGED": 4, } )
Enum value maps for DataProfileAction_EventType.
var ( DataProfileAction_PubSubNotification_DetailLevel_name = map[int32]string{ 0: "DETAIL_LEVEL_UNSPECIFIED", 1: "TABLE_PROFILE", 2: "RESOURCE_NAME", } DataProfileAction_PubSubNotification_DetailLevel_value = map[string]int32{ "DETAIL_LEVEL_UNSPECIFIED": 0, "TABLE_PROFILE": 1, "RESOURCE_NAME": 2, } )
Enum value maps for DataProfileAction_PubSubNotification_DetailLevel.
var ( DiscoveryConfig_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "RUNNING", 2: "PAUSED", } DiscoveryConfig_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "RUNNING": 1, "PAUSED": 2, } )
Enum value maps for DiscoveryConfig_Status.
var ( DlpJob_JobState_name = map[int32]string{ 0: "JOB_STATE_UNSPECIFIED", 1: "PENDING", 2: "RUNNING", 3: "DONE", 4: "CANCELED", 5: "FAILED", 6: "ACTIVE", } DlpJob_JobState_value = map[string]int32{ "JOB_STATE_UNSPECIFIED": 0, "PENDING": 1, "RUNNING": 2, "DONE": 3, "CANCELED": 4, "FAILED": 5, "ACTIVE": 6, } )
Enum value maps for DlpJob_JobState.
var ( DataRiskLevel_DataRiskLevelScore_name = map[int32]string{ 0: "RISK_SCORE_UNSPECIFIED", 10: "RISK_LOW", 20: "RISK_MODERATE", 30: "RISK_HIGH", } DataRiskLevel_DataRiskLevelScore_value = map[string]int32{ "RISK_SCORE_UNSPECIFIED": 0, "RISK_LOW": 10, "RISK_MODERATE": 20, "RISK_HIGH": 30, } )
Enum value maps for DataRiskLevel_DataRiskLevelScore.
var ( TableDataProfile_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "RUNNING", 2: "DONE", } TableDataProfile_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "RUNNING": 1, "DONE": 2, } )
Enum value maps for TableDataProfile_State.
var ( ColumnDataProfile_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "RUNNING", 2: "DONE", } ColumnDataProfile_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "RUNNING": 1, "DONE": 2, } )
Enum value maps for ColumnDataProfile_State.
var ( ColumnDataProfile_ColumnDataType_name = map[int32]string{ 0: "COLUMN_DATA_TYPE_UNSPECIFIED", 1: "TYPE_INT64", 2: "TYPE_BOOL", 3: "TYPE_FLOAT64", 4: "TYPE_STRING", 5: "TYPE_BYTES", 6: "TYPE_TIMESTAMP", 7: "TYPE_DATE", 8: "TYPE_TIME", 9: "TYPE_DATETIME", 10: "TYPE_GEOGRAPHY", 11: "TYPE_NUMERIC", 12: "TYPE_RECORD", 13: "TYPE_BIGNUMERIC", 14: "TYPE_JSON", } ColumnDataProfile_ColumnDataType_value = map[string]int32{ "COLUMN_DATA_TYPE_UNSPECIFIED": 0, "TYPE_INT64": 1, "TYPE_BOOL": 2, "TYPE_FLOAT64": 3, "TYPE_STRING": 4, "TYPE_BYTES": 5, "TYPE_TIMESTAMP": 6, "TYPE_DATE": 7, "TYPE_TIME": 8, "TYPE_DATETIME": 9, "TYPE_GEOGRAPHY": 10, "TYPE_NUMERIC": 11, "TYPE_RECORD": 12, "TYPE_BIGNUMERIC": 13, "TYPE_JSON": 14, } )
Enum value maps for ColumnDataProfile_ColumnDataType.
var ( ColumnDataProfile_ColumnPolicyState_name = map[int32]string{ 0: "COLUMN_POLICY_STATE_UNSPECIFIED", 1: "COLUMN_POLICY_TAGGED", } ColumnDataProfile_ColumnPolicyState_value = map[string]int32{ "COLUMN_POLICY_STATE_UNSPECIFIED": 0, "COLUMN_POLICY_TAGGED": 1, } )
Enum value maps for ColumnDataProfile_ColumnPolicyState.
var ( DataProfilePubSubCondition_ProfileScoreBucket_name = map[int32]string{ 0: "PROFILE_SCORE_BUCKET_UNSPECIFIED", 1: "HIGH", 2: "MEDIUM_OR_HIGH", } DataProfilePubSubCondition_ProfileScoreBucket_value = map[string]int32{ "PROFILE_SCORE_BUCKET_UNSPECIFIED": 0, "HIGH": 1, "MEDIUM_OR_HIGH": 2, } )
Enum value maps for DataProfilePubSubCondition_ProfileScoreBucket.
var ( DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator_name = map[int32]string{ 0: "LOGICAL_OPERATOR_UNSPECIFIED", 1: "OR", 2: "AND", } DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator_value = map[string]int32{ "LOGICAL_OPERATOR_UNSPECIFIED": 0, "OR": 1, "AND": 2, } )
Enum value maps for DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator.
var ( Likelihood_name = map[int32]string{ 0: "LIKELIHOOD_UNSPECIFIED", 1: "VERY_UNLIKELY", 2: "UNLIKELY", 3: "POSSIBLE", 4: "LIKELY", 5: "VERY_LIKELY", } Likelihood_value = map[string]int32{ "LIKELIHOOD_UNSPECIFIED": 0, "VERY_UNLIKELY": 1, "UNLIKELY": 2, "POSSIBLE": 3, "LIKELY": 4, "VERY_LIKELY": 5, } )
Enum value maps for Likelihood.
var ( FileType_name = map[int32]string{ 0: "FILE_TYPE_UNSPECIFIED", 1: "BINARY_FILE", 2: "TEXT_FILE", 3: "IMAGE", 5: "WORD", 6: "PDF", 7: "AVRO", 8: "CSV", 9: "TSV", 11: "POWERPOINT", 12: "EXCEL", } FileType_value = map[string]int32{ "FILE_TYPE_UNSPECIFIED": 0, "BINARY_FILE": 1, "TEXT_FILE": 2, "IMAGE": 3, "WORD": 5, "PDF": 6, "AVRO": 7, "CSV": 8, "TSV": 9, "POWERPOINT": 11, "EXCEL": 12, } )
Enum value maps for FileType.
var ( SensitivityScore_SensitivityScoreLevel_name = map[int32]string{ 0: "SENSITIVITY_SCORE_UNSPECIFIED", 10: "SENSITIVITY_LOW", 20: "SENSITIVITY_MODERATE", 30: "SENSITIVITY_HIGH", } SensitivityScore_SensitivityScoreLevel_value = map[string]int32{ "SENSITIVITY_SCORE_UNSPECIFIED": 0, "SENSITIVITY_LOW": 10, "SENSITIVITY_MODERATE": 20, "SENSITIVITY_HIGH": 30, } )
Enum value maps for SensitivityScore_SensitivityScoreLevel.
var ( CustomInfoType_ExclusionType_name = map[int32]string{ 0: "EXCLUSION_TYPE_UNSPECIFIED", 1: "EXCLUSION_TYPE_EXCLUDE", } CustomInfoType_ExclusionType_value = map[string]int32{ "EXCLUSION_TYPE_UNSPECIFIED": 0, "EXCLUSION_TYPE_EXCLUDE": 1, } )
Enum value maps for CustomInfoType_ExclusionType.
var ( CloudStorageOptions_SampleMethod_name = map[int32]string{ 0: "SAMPLE_METHOD_UNSPECIFIED", 1: "TOP", 2: "RANDOM_START", } CloudStorageOptions_SampleMethod_value = map[string]int32{ "SAMPLE_METHOD_UNSPECIFIED": 0, "TOP": 1, "RANDOM_START": 2, } )
Enum value maps for CloudStorageOptions_SampleMethod.
var ( BigQueryOptions_SampleMethod_name = map[int32]string{ 0: "SAMPLE_METHOD_UNSPECIFIED", 1: "TOP", 2: "RANDOM_START", } BigQueryOptions_SampleMethod_value = map[string]int32{ "SAMPLE_METHOD_UNSPECIFIED": 0, "TOP": 1, "RANDOM_START": 2, } )
Enum value maps for BigQueryOptions_SampleMethod.
var File_google_privacy_dlp_v2_dlp_proto protoreflect.FileDescriptor
var File_google_privacy_dlp_v2_storage_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDlpServiceServer ¶
func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer)
Types ¶
type Action ¶
type Action struct { // Extra events to execute after the job has finished. // // Types that are assignable to Action: // // *Action_SaveFindings_ // *Action_PubSub // *Action_PublishSummaryToCscc_ // *Action_PublishFindingsToCloudDataCatalog_ // *Action_Deidentify_ // *Action_JobNotificationEmails_ // *Action_PublishToStackdriver_ Action isAction_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
A task to execute on the completion of a job. See https://cloud.google.com/sensitive-data-protection/docs/concepts-actions to learn more.
func (*Action) Descriptor
deprecated
func (*Action) GetDeidentify ¶
func (x *Action) GetDeidentify() *Action_Deidentify
func (*Action) GetJobNotificationEmails ¶
func (x *Action) GetJobNotificationEmails() *Action_JobNotificationEmails
func (*Action) GetPubSub ¶
func (x *Action) GetPubSub() *Action_PublishToPubSub
func (*Action) GetPublishFindingsToCloudDataCatalog ¶
func (x *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog
func (*Action) GetPublishSummaryToCscc ¶
func (x *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc
func (*Action) GetPublishToStackdriver ¶
func (x *Action) GetPublishToStackdriver() *Action_PublishToStackdriver
func (*Action) GetSaveFindings ¶
func (x *Action) GetSaveFindings() *Action_SaveFindings
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionDetails ¶ added in v1.11.0
type ActionDetails struct { // Summary of what occurred in the actions. // // Types that are assignable to Details: // // *ActionDetails_DeidentifyDetails Details isActionDetails_Details `protobuf_oneof:"details"` // contains filtered or unexported fields }
The results of an Action[google.privacy.dlp.v2.Action].
func (*ActionDetails) Descriptor
deprecated
added in
v1.11.0
func (*ActionDetails) Descriptor() ([]byte, []int)
Deprecated: Use ActionDetails.ProtoReflect.Descriptor instead.
func (*ActionDetails) GetDeidentifyDetails ¶ added in v1.11.0
func (x *ActionDetails) GetDeidentifyDetails() *DeidentifyDataSourceDetails
func (*ActionDetails) GetDetails ¶ added in v1.11.0
func (m *ActionDetails) GetDetails() isActionDetails_Details
func (*ActionDetails) ProtoMessage ¶ added in v1.11.0
func (*ActionDetails) ProtoMessage()
func (*ActionDetails) ProtoReflect ¶ added in v1.11.0
func (x *ActionDetails) ProtoReflect() protoreflect.Message
func (*ActionDetails) Reset ¶ added in v1.11.0
func (x *ActionDetails) Reset()
func (*ActionDetails) String ¶ added in v1.11.0
func (x *ActionDetails) String() string
type ActionDetails_DeidentifyDetails ¶ added in v1.11.0
type ActionDetails_DeidentifyDetails struct { // Outcome of a de-identification action. DeidentifyDetails *DeidentifyDataSourceDetails `protobuf:"bytes,1,opt,name=deidentify_details,json=deidentifyDetails,proto3,oneof"` }
type Action_Deidentify ¶
type Action_Deidentify struct { // User specified deidentify templates and configs for structured, // unstructured, and image files. TransformationConfig *TransformationConfig `protobuf:"bytes,7,opt,name=transformation_config,json=transformationConfig,proto3" json:"transformation_config,omitempty"` // Config for storing transformation details. This is separate from the // de-identified content, and contains metadata about the successful // transformations and/or failures that occurred while de-identifying. This // needs to be set in order for users to access information about the status // of each transformation (see // [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] // message for more information about what is noted). TransformationDetailsStorageConfig *TransformationDetailsStorageConfig `` /* 167-byte string literal not displayed */ // Where to store the output. // // Types that are assignable to Output: // // *Action_Deidentify_CloudStorageOutput Output isAction_Deidentify_Output `protobuf_oneof:"output"` // List of user-specified file type groups to transform. If specified, only // the files with these filetypes will be transformed. If empty, all // supported files will be transformed. Supported types may be automatically // added over time. If a file type is set in this field that isn't supported // by the Deidentify action then the job will fail and will not be // successfully created/started. Currently the only filetypes supported are: // IMAGES, TEXT_FILES, CSV, TSV. FileTypesToTransform []FileType `` /* 169-byte string literal not displayed */ // contains filtered or unexported fields }
Create a de-identified copy of the requested table or files.
A TransformationDetail will be created for each transformation.
If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table.
Compatible with: Inspect
func (*Action_Deidentify) Descriptor
deprecated
func (*Action_Deidentify) Descriptor() ([]byte, []int)
Deprecated: Use Action_Deidentify.ProtoReflect.Descriptor instead.
func (*Action_Deidentify) GetCloudStorageOutput ¶
func (x *Action_Deidentify) GetCloudStorageOutput() string
func (*Action_Deidentify) GetFileTypesToTransform ¶
func (x *Action_Deidentify) GetFileTypesToTransform() []FileType
func (*Action_Deidentify) GetOutput ¶
func (m *Action_Deidentify) GetOutput() isAction_Deidentify_Output
func (*Action_Deidentify) GetTransformationConfig ¶
func (x *Action_Deidentify) GetTransformationConfig() *TransformationConfig
func (*Action_Deidentify) GetTransformationDetailsStorageConfig ¶
func (x *Action_Deidentify) GetTransformationDetailsStorageConfig() *TransformationDetailsStorageConfig
func (*Action_Deidentify) ProtoMessage ¶
func (*Action_Deidentify) ProtoMessage()
func (*Action_Deidentify) ProtoReflect ¶
func (x *Action_Deidentify) ProtoReflect() protoreflect.Message
func (*Action_Deidentify) Reset ¶
func (x *Action_Deidentify) Reset()
func (*Action_Deidentify) String ¶
func (x *Action_Deidentify) String() string
type Action_Deidentify_ ¶
type Action_Deidentify_ struct { // Create a de-identified copy of the input data. Deidentify *Action_Deidentify `protobuf:"bytes,7,opt,name=deidentify,proto3,oneof"` }
type Action_Deidentify_CloudStorageOutput ¶
type Action_Deidentify_CloudStorageOutput struct { // Required. User settable Cloud Storage bucket and folders to store // de-identified files. This field must be set for cloud storage // deidentification. The output Cloud Storage bucket must be different // from the input bucket. De-identified files will overwrite files in the // output path. // // Form of: gs://bucket/folder/ or gs://bucket CloudStorageOutput string `protobuf:"bytes,9,opt,name=cloud_storage_output,json=cloudStorageOutput,proto3,oneof"` }
type Action_JobNotificationEmails ¶
type Action_JobNotificationEmails struct {
// contains filtered or unexported fields
}
Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
func (*Action_JobNotificationEmails) Descriptor
deprecated
func (*Action_JobNotificationEmails) Descriptor() ([]byte, []int)
Deprecated: Use Action_JobNotificationEmails.ProtoReflect.Descriptor instead.
func (*Action_JobNotificationEmails) ProtoMessage ¶
func (*Action_JobNotificationEmails) ProtoMessage()
func (*Action_JobNotificationEmails) ProtoReflect ¶
func (x *Action_JobNotificationEmails) ProtoReflect() protoreflect.Message
func (*Action_JobNotificationEmails) Reset ¶
func (x *Action_JobNotificationEmails) Reset()
func (*Action_JobNotificationEmails) String ¶
func (x *Action_JobNotificationEmails) String() string
type Action_JobNotificationEmails_ ¶
type Action_JobNotificationEmails_ struct { // Sends an email when the job completes. The email goes to IAM project // owners and technical [Essential // Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). JobNotificationEmails *Action_JobNotificationEmails `protobuf:"bytes,8,opt,name=job_notification_emails,json=jobNotificationEmails,proto3,oneof"` }
type Action_PubSub ¶
type Action_PubSub struct { // Publish a notification to a Pub/Sub topic. PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"` }
type Action_PublishFindingsToCloudDataCatalog ¶
type Action_PublishFindingsToCloudDataCatalog struct {
// contains filtered or unexported fields
}
Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the `roles/datacatalog.tagTemplateOwner` permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. [InfoType naming patterns][google.privacy.dlp.v2.InfoType] are strictly enforced when using this feature.
Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see [Service Specific Terms](https://cloud.google.com/terms/service-terms).
Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect
func (*Action_PublishFindingsToCloudDataCatalog) Descriptor
deprecated
func (*Action_PublishFindingsToCloudDataCatalog) Descriptor() ([]byte, []int)
Deprecated: Use Action_PublishFindingsToCloudDataCatalog.ProtoReflect.Descriptor instead.
func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage ¶
func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage()
func (*Action_PublishFindingsToCloudDataCatalog) ProtoReflect ¶
func (x *Action_PublishFindingsToCloudDataCatalog) ProtoReflect() protoreflect.Message
func (*Action_PublishFindingsToCloudDataCatalog) Reset ¶
func (x *Action_PublishFindingsToCloudDataCatalog) Reset()
func (*Action_PublishFindingsToCloudDataCatalog) String ¶
func (x *Action_PublishFindingsToCloudDataCatalog) String() string
type Action_PublishFindingsToCloudDataCatalog_ ¶
type Action_PublishFindingsToCloudDataCatalog_ struct { // Publish findings to Cloud Datahub. PublishFindingsToCloudDataCatalog *Action_PublishFindingsToCloudDataCatalog `protobuf:"bytes,5,opt,name=publish_findings_to_cloud_data_catalog,json=publishFindingsToCloudDataCatalog,proto3,oneof"` }
type Action_PublishSummaryToCscc ¶
type Action_PublishSummaryToCscc struct {
// contains filtered or unexported fields
}
Publish the result summary of a DlpJob to [Security Command Center](https://cloud.google.com/security-command-center). This action is available for only projects that belong to an organization. This action publishes the count of finding instances and their infoTypes. The summary of findings are persisted in Security Command Center and are governed by [service-specific policies for Security Command Center](https://cloud.google.com/terms/service-terms). Only a single instance of this action can be specified. Compatible with: Inspect
func (*Action_PublishSummaryToCscc) Descriptor
deprecated
func (*Action_PublishSummaryToCscc) Descriptor() ([]byte, []int)
Deprecated: Use Action_PublishSummaryToCscc.ProtoReflect.Descriptor instead.
func (*Action_PublishSummaryToCscc) ProtoMessage ¶
func (*Action_PublishSummaryToCscc) ProtoMessage()
func (*Action_PublishSummaryToCscc) ProtoReflect ¶
func (x *Action_PublishSummaryToCscc) ProtoReflect() protoreflect.Message
func (*Action_PublishSummaryToCscc) Reset ¶
func (x *Action_PublishSummaryToCscc) Reset()
func (*Action_PublishSummaryToCscc) String ¶
func (x *Action_PublishSummaryToCscc) String() string
type Action_PublishSummaryToCscc_ ¶
type Action_PublishSummaryToCscc_ struct { // Publish summary to Cloud Security Command Center (Alpha). PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"` }
type Action_PublishToPubSub ¶
type Action_PublishToPubSub struct { // Cloud Pub/Sub topic to send notifications to. The topic must have given // publishing access rights to the DLP API service account executing // the long running DlpJob sending the notifications. // Format is projects/{project}/topics/{topic}. Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // contains filtered or unexported fields }
Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job's [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
func (*Action_PublishToPubSub) Descriptor
deprecated
func (*Action_PublishToPubSub) Descriptor() ([]byte, []int)
Deprecated: Use Action_PublishToPubSub.ProtoReflect.Descriptor instead.
func (*Action_PublishToPubSub) GetTopic ¶
func (x *Action_PublishToPubSub) GetTopic() string
func (*Action_PublishToPubSub) ProtoMessage ¶
func (*Action_PublishToPubSub) ProtoMessage()
func (*Action_PublishToPubSub) ProtoReflect ¶
func (x *Action_PublishToPubSub) ProtoReflect() protoreflect.Message
func (*Action_PublishToPubSub) Reset ¶
func (x *Action_PublishToPubSub) Reset()
func (*Action_PublishToPubSub) String ¶
func (x *Action_PublishToPubSub) String() string
type Action_PublishToStackdriver ¶
type Action_PublishToStackdriver struct {
// contains filtered or unexported fields
}
Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.
func (*Action_PublishToStackdriver) Descriptor
deprecated
func (*Action_PublishToStackdriver) Descriptor() ([]byte, []int)
Deprecated: Use Action_PublishToStackdriver.ProtoReflect.Descriptor instead.
func (*Action_PublishToStackdriver) ProtoMessage ¶
func (*Action_PublishToStackdriver) ProtoMessage()
func (*Action_PublishToStackdriver) ProtoReflect ¶
func (x *Action_PublishToStackdriver) ProtoReflect() protoreflect.Message
func (*Action_PublishToStackdriver) Reset ¶
func (x *Action_PublishToStackdriver) Reset()
func (*Action_PublishToStackdriver) String ¶
func (x *Action_PublishToStackdriver) String() string
type Action_PublishToStackdriver_ ¶
type Action_PublishToStackdriver_ struct { // Enable Stackdriver metric dlp.googleapis.com/finding_count. PublishToStackdriver *Action_PublishToStackdriver `protobuf:"bytes,9,opt,name=publish_to_stackdriver,json=publishToStackdriver,proto3,oneof"` }
type Action_SaveFindings ¶
type Action_SaveFindings struct { // Location to store findings outside of DLP. OutputConfig *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` // contains filtered or unexported fields }
If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk
func (*Action_SaveFindings) Descriptor
deprecated
func (*Action_SaveFindings) Descriptor() ([]byte, []int)
Deprecated: Use Action_SaveFindings.ProtoReflect.Descriptor instead.
func (*Action_SaveFindings) GetOutputConfig ¶
func (x *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig
func (*Action_SaveFindings) ProtoMessage ¶
func (*Action_SaveFindings) ProtoMessage()
func (*Action_SaveFindings) ProtoReflect ¶
func (x *Action_SaveFindings) ProtoReflect() protoreflect.Message
func (*Action_SaveFindings) Reset ¶
func (x *Action_SaveFindings) Reset()
func (*Action_SaveFindings) String ¶
func (x *Action_SaveFindings) String() string
type Action_SaveFindings_ ¶
type Action_SaveFindings_ struct { // Save resulting findings in a provided location. SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"` }
type ActivateJobTriggerRequest ¶
type ActivateJobTriggerRequest struct { // Required. Resource name of the trigger to activate, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for ActivateJobTrigger.
func (*ActivateJobTriggerRequest) Descriptor
deprecated
func (*ActivateJobTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateJobTriggerRequest.ProtoReflect.Descriptor instead.
func (*ActivateJobTriggerRequest) GetName ¶
func (x *ActivateJobTriggerRequest) GetName() string
func (*ActivateJobTriggerRequest) ProtoMessage ¶
func (*ActivateJobTriggerRequest) ProtoMessage()
func (*ActivateJobTriggerRequest) ProtoReflect ¶
func (x *ActivateJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*ActivateJobTriggerRequest) Reset ¶
func (x *ActivateJobTriggerRequest) Reset()
func (*ActivateJobTriggerRequest) String ¶
func (x *ActivateJobTriggerRequest) String() string
type AnalyzeDataSourceRiskDetails ¶
type AnalyzeDataSourceRiskDetails struct { // Privacy metric to compute. RequestedPrivacyMetric *PrivacyMetric `` /* 129-byte string literal not displayed */ // Input dataset to compute metrics over. RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"` // Values associated with this metric. // // Types that are assignable to Result: // // *AnalyzeDataSourceRiskDetails_NumericalStatsResult_ // *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ // *AnalyzeDataSourceRiskDetails_KAnonymityResult_ // *AnalyzeDataSourceRiskDetails_LDiversityResult_ // *AnalyzeDataSourceRiskDetails_KMapEstimationResult_ // *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"` // The configuration used for this job. RequestedOptions *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions `protobuf:"bytes,10,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"` // contains filtered or unexported fields }
Result of a risk analysis operation request.
func (*AnalyzeDataSourceRiskDetails) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult ¶
func (x *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult
func (*AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult ¶
func (x *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult
func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult ¶
func (x *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult
func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult ¶
func (x *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult
func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult ¶
func (x *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult
func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult ¶
func (x *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult
func (*AnalyzeDataSourceRiskDetails) GetRequestedOptions ¶
func (x *AnalyzeDataSourceRiskDetails) GetRequestedOptions() *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions
func (*AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric ¶
func (x *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric
func (*AnalyzeDataSourceRiskDetails) GetRequestedSourceTable ¶
func (x *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable
func (*AnalyzeDataSourceRiskDetails) GetResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result
func (*AnalyzeDataSourceRiskDetails) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails) Reset ¶
func (x *AnalyzeDataSourceRiskDetails) Reset()
func (*AnalyzeDataSourceRiskDetails) String ¶
func (x *AnalyzeDataSourceRiskDetails) String() string
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult ¶
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct { // Histogram of value frequencies in the column. ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Result of the categorical stats computation.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ ¶
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ struct { // Categorical stats result CategoricalStatsResult *AnalyzeDataSourceRiskDetails_CategoricalStatsResult `protobuf:"bytes,4,opt,name=categorical_stats_result,json=categoricalStatsResult,proto3,oneof"` }
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct { // Lower bound on the value frequency of the values in this bucket. ValueFrequencyLowerBound int64 `` /* 138-byte string literal not displayed */ // Upper bound on the value frequency of the values in this bucket. ValueFrequencyUpperBound int64 `` /* 138-byte string literal not displayed */ // Total number of values in this bucket. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // Sample of value frequencies in this bucket. The total number of // values returned per bucket is capped at 20. BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` // Total number of distinct values in this bucket. BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` // contains filtered or unexported fields }
Histogram of value frequencies in the column.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoReflect() protoreflect.Message
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult ¶
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct { // The intervals [min_probability, max_probability) do not overlap. If a // value doesn't correspond to any such interval, the associated frequency // is zero. For example, the following records: // // {min_probability: 0, max_probability: 0.1, frequency: 17} // {min_probability: 0.2, max_probability: 0.3, frequency: 42} // {min_probability: 0.3, max_probability: 0.4, frequency: 99} // // mean that there are no record with an estimated probability in [0.1, 0.2) // nor larger or equal to 0.4. DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Result of the δ-presence computation. Note that these results are an estimation, not exact values.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset()
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ ¶
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ struct { // Delta-presence result DeltaPresenceEstimationResult *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult `protobuf:"bytes,9,opt,name=delta_presence_estimation_result,json=deltaPresenceEstimationResult,proto3,oneof"` }
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket struct { // Between 0 and 1. MinProbability float64 `protobuf:"fixed64,1,opt,name=min_probability,json=minProbability,proto3" json:"min_probability,omitempty"` // Always greater than or equal to min_probability. MaxProbability float64 `protobuf:"fixed64,2,opt,name=max_probability,json=maxProbability,proto3" json:"max_probability,omitempty"` // Number of records within these probability bounds. BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // Sample of quasi-identifier tuple values in this bucket. The total // number of classes returned per bucket is capped at 20. BucketValues []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` // Total number of distinct quasi-identifier tuple values in this bucket. BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` // contains filtered or unexported fields }
A DeltaPresenceEstimationHistogramBucket message with the following values:
min_probability: 0.1 max_probability: 0.2 frequency: 42
means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min_probability = max_probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoReflect ¶
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset ¶
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues ¶
type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues struct { // The quasi-identifier values. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` // The estimated probability that a given individual sharing these // quasi-identifier values is in the dataset. This value, typically // called δ, is the ratio between the number of records in the dataset // with these quasi-identifier values, and the total number of individuals // (inside *and* outside the dataset) with these quasi-identifier values. // For example, if there are 15 individuals in the dataset who share the // same quasi-identifier values, and an estimated 100 people in the entire // population with these values, then δ is 0.15. EstimatedProbability float64 `protobuf:"fixed64,2,opt,name=estimated_probability,json=estimatedProbability,proto3" json:"estimated_probability,omitempty"` // contains filtered or unexported fields }
A tuple of values for the quasi-identifier columns.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues ¶
func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoReflect ¶
func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult struct { // Histogram of k-anonymity equivalence classes. EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Result of the k-anonymity computation.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string
type AnalyzeDataSourceRiskDetails_KAnonymityResult_ ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult_ struct { // K-anonymity result KAnonymityResult *AnalyzeDataSourceRiskDetails_KAnonymityResult `protobuf:"bytes,5,opt,name=k_anonymity_result,json=kAnonymityResult,proto3,oneof"` }
type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass struct { // Set of values defining the equivalence class. One value per // quasi-identifier column in the original KAnonymity metric message. // The order is always the same as the original request. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` // Size of the equivalence class, for example number of rows with the // above set of values. EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"` // contains filtered or unexported fields }
The set of columns' values that share the same ldiversity value
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string
type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct { // Lower bound on the size of the equivalence classes in this bucket. EquivalenceClassSizeLowerBound int64 `` /* 158-byte string literal not displayed */ // Upper bound on the size of the equivalence classes in this bucket. EquivalenceClassSizeUpperBound int64 `` /* 158-byte string literal not displayed */ // Total number of equivalence classes in this bucket. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // Sample of equivalence classes in this bucket. The total number of // classes returned per bucket is capped at 20. BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` // Total number of distinct equivalence classes in this bucket. BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` // contains filtered or unexported fields }
Histogram of k-anonymity equivalence classes.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String ¶
func (x *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string
type AnalyzeDataSourceRiskDetails_KMapEstimationResult ¶
type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct { // The intervals [min_anonymity, max_anonymity] do not overlap. If a value // doesn't correspond to any such interval, the associated frequency is // zero. For example, the following records: // // {min_anonymity: 1, max_anonymity: 1, frequency: 17} // {min_anonymity: 2, max_anonymity: 3, frequency: 42} // {min_anonymity: 5, max_anonymity: 10, frequency: 99} // // mean that there are no record with an estimated anonymity of 4, 5, or // larger than 10. KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ ¶
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ struct { // K-map result KMapEstimationResult *AnalyzeDataSourceRiskDetails_KMapEstimationResult `protobuf:"bytes,7,opt,name=k_map_estimation_result,json=kMapEstimationResult,proto3,oneof"` }
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket struct { // Always positive. MinAnonymity int64 `protobuf:"varint,1,opt,name=min_anonymity,json=minAnonymity,proto3" json:"min_anonymity,omitempty"` // Always greater than or equal to min_anonymity. MaxAnonymity int64 `protobuf:"varint,2,opt,name=max_anonymity,json=maxAnonymity,proto3" json:"max_anonymity,omitempty"` // Number of records within these anonymity bounds. BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // Sample of quasi-identifier tuple values in this bucket. The total // number of classes returned per bucket is capped at 20. BucketValues []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` // Total number of distinct quasi-identifier tuple values in this bucket. BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` // contains filtered or unexported fields }
A KMapEstimationHistogramBucket message with the following values:
min_anonymity: 3 max_anonymity: 5 frequency: 42
means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min_anonymity = max_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoReflect() protoreflect.Message
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues ¶
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues struct { // The quasi-identifier values. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` // The estimated anonymity for these quasi-identifier values. EstimatedAnonymity int64 `protobuf:"varint,2,opt,name=estimated_anonymity,json=estimatedAnonymity,proto3" json:"estimated_anonymity,omitempty"` // contains filtered or unexported fields }
A tuple of values for the quasi-identifier columns.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoReflect() protoreflect.Message
type AnalyzeDataSourceRiskDetails_LDiversityResult ¶
type AnalyzeDataSourceRiskDetails_LDiversityResult struct { // Histogram of l-diversity equivalence class sensitive value frequencies. SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
Result of the l-diversity computation.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string
type AnalyzeDataSourceRiskDetails_LDiversityResult_ ¶
type AnalyzeDataSourceRiskDetails_LDiversityResult_ struct { // L-divesity result LDiversityResult *AnalyzeDataSourceRiskDetails_LDiversityResult `protobuf:"bytes,6,opt,name=l_diversity_result,json=lDiversityResult,proto3,oneof"` }
type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass ¶
type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct { // Quasi-identifier values defining the k-anonymity equivalence // class. The order is always the same as the original request. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"` // Size of the k-anonymity equivalence class. EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"` // Number of distinct sensitive values in this equivalence class. NumDistinctSensitiveValues int64 `` /* 144-byte string literal not displayed */ // Estimated frequencies of top sensitive values. TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"` // contains filtered or unexported fields }
The set of columns' values that share the same ldiversity value.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string
type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct { // Lower bound on the sensitive value frequencies of the equivalence // classes in this bucket. SensitiveValueFrequencyLowerBound int64 `` /* 167-byte string literal not displayed */ // Upper bound on the sensitive value frequencies of the equivalence // classes in this bucket. SensitiveValueFrequencyUpperBound int64 `` /* 167-byte string literal not displayed */ // Total number of equivalence classes in this bucket. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // Sample of equivalence classes in this bucket. The total number of // classes returned per bucket is capped at 20. BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"` // Total number of distinct equivalence classes in this bucket. BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"` // contains filtered or unexported fields }
Histogram of l-diversity equivalence class sensitive value frequencies.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String ¶
func (x *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string
type AnalyzeDataSourceRiskDetails_NumericalStatsResult ¶
type AnalyzeDataSourceRiskDetails_NumericalStatsResult struct { // Minimum value appearing in the column. MinValue *Value `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` // Maximum value appearing in the column. MaxValue *Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` // List of 99 values that partition the set of field values into 100 equal // sized buckets. QuantileValues []*Value `protobuf:"bytes,4,rep,name=quantile_values,json=quantileValues,proto3" json:"quantile_values,omitempty"` // contains filtered or unexported fields }
Result of the numerical stats computation.
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_NumericalStatsResult.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue ¶
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue ¶
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues ¶
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String ¶
func (x *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string
type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ ¶
type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ struct { // Numerical stats result NumericalStatsResult *AnalyzeDataSourceRiskDetails_NumericalStatsResult `protobuf:"bytes,3,opt,name=numerical_stats_result,json=numericalStatsResult,proto3,oneof"` }
type AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions ¶
type AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions struct { // The job config for the risk job. JobConfig *RiskAnalysisJobConfig `protobuf:"bytes,1,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"` // contains filtered or unexported fields }
Risk analysis options.
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Descriptor
deprecated
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions.ProtoReflect.Descriptor instead.
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) GetJobConfig ¶
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) GetJobConfig() *RiskAnalysisJobConfig
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoReflect ¶
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) ProtoReflect() protoreflect.Message
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Reset ¶
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) Reset()
func (*AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) String ¶
func (x *AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions) String() string
type BigQueryDiscoveryTarget ¶ added in v1.11.0
type BigQueryDiscoveryTarget struct { // Required. The tables the discovery cadence applies to. The first target // with a matching filter will be the one to apply to a table. Filter *DiscoveryBigQueryFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // In addition to matching the filter, these conditions must be true // before a profile is generated. Conditions *DiscoveryBigQueryConditions `protobuf:"bytes,2,opt,name=conditions,proto3" json:"conditions,omitempty"` // The generation rule includes the logic on how frequently // to update the data profiles. If not specified, discovery will re-run and // update no more than once a month if new columns appear in the table. // // Types that are assignable to Frequency: // // *BigQueryDiscoveryTarget_Cadence // *BigQueryDiscoveryTarget_Disabled Frequency isBigQueryDiscoveryTarget_Frequency `protobuf_oneof:"frequency"` // contains filtered or unexported fields }
Target used to match against for discovery with BigQuery tables
func (*BigQueryDiscoveryTarget) Descriptor
deprecated
added in
v1.11.0
func (*BigQueryDiscoveryTarget) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryDiscoveryTarget.ProtoReflect.Descriptor instead.
func (*BigQueryDiscoveryTarget) GetCadence ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) GetCadence() *DiscoveryGenerationCadence
func (*BigQueryDiscoveryTarget) GetConditions ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) GetConditions() *DiscoveryBigQueryConditions
func (*BigQueryDiscoveryTarget) GetDisabled ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) GetDisabled() *Disabled
func (*BigQueryDiscoveryTarget) GetFilter ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) GetFilter() *DiscoveryBigQueryFilter
func (*BigQueryDiscoveryTarget) GetFrequency ¶ added in v1.11.0
func (m *BigQueryDiscoveryTarget) GetFrequency() isBigQueryDiscoveryTarget_Frequency
func (*BigQueryDiscoveryTarget) ProtoMessage ¶ added in v1.11.0
func (*BigQueryDiscoveryTarget) ProtoMessage()
func (*BigQueryDiscoveryTarget) ProtoReflect ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) ProtoReflect() protoreflect.Message
func (*BigQueryDiscoveryTarget) Reset ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) Reset()
func (*BigQueryDiscoveryTarget) String ¶ added in v1.11.0
func (x *BigQueryDiscoveryTarget) String() string
type BigQueryDiscoveryTarget_Cadence ¶ added in v1.11.0
type BigQueryDiscoveryTarget_Cadence struct { // How often and when to update profiles. New tables that match both the // filter and conditions are scanned as quickly as possible depending on // system capacity. Cadence *DiscoveryGenerationCadence `protobuf:"bytes,3,opt,name=cadence,proto3,oneof"` }
type BigQueryDiscoveryTarget_Disabled ¶ added in v1.11.0
type BigQueryDiscoveryTarget_Disabled struct { // Tables that match this filter will not have profiles created. Disabled *Disabled `protobuf:"bytes,4,opt,name=disabled,proto3,oneof"` }
type BigQueryField ¶
type BigQueryField struct { // Source table of the field. Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` // Designated field in the BigQuery table. Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
Message defining a field of a BigQuery table.
func (*BigQueryField) Descriptor
deprecated
func (*BigQueryField) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryField.ProtoReflect.Descriptor instead.
func (*BigQueryField) GetField ¶
func (x *BigQueryField) GetField() *FieldId
func (*BigQueryField) GetTable ¶
func (x *BigQueryField) GetTable() *BigQueryTable
func (*BigQueryField) ProtoMessage ¶
func (*BigQueryField) ProtoMessage()
func (*BigQueryField) ProtoReflect ¶
func (x *BigQueryField) ProtoReflect() protoreflect.Message
func (*BigQueryField) Reset ¶
func (x *BigQueryField) Reset()
func (*BigQueryField) String ¶
func (x *BigQueryField) String() string
type BigQueryKey ¶
type BigQueryKey struct { // Complete BigQuery table reference. TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"` // Row number inferred at the time the table was scanned. This value is // nondeterministic, cannot be queried, and may be null for inspection // jobs. To locate findings within a table, specify // `inspect_job.storage_config.big_query_options.identifying_fields` in // `CreateDlpJobRequest`. RowNumber int64 `protobuf:"varint,2,opt,name=row_number,json=rowNumber,proto3" json:"row_number,omitempty"` // contains filtered or unexported fields }
Row key for identifying a record in BigQuery table.
func (*BigQueryKey) Descriptor
deprecated
func (*BigQueryKey) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryKey.ProtoReflect.Descriptor instead.
func (*BigQueryKey) GetRowNumber ¶
func (x *BigQueryKey) GetRowNumber() int64
func (*BigQueryKey) GetTableReference ¶
func (x *BigQueryKey) GetTableReference() *BigQueryTable
func (*BigQueryKey) ProtoMessage ¶
func (*BigQueryKey) ProtoMessage()
func (*BigQueryKey) ProtoReflect ¶
func (x *BigQueryKey) ProtoReflect() protoreflect.Message
func (*BigQueryKey) Reset ¶
func (x *BigQueryKey) Reset()
func (*BigQueryKey) String ¶
func (x *BigQueryKey) String() string
type BigQueryOptions ¶
type BigQueryOptions struct { // Complete BigQuery table reference. TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"` // Table fields that may uniquely identify a row within the table. When // `actions.saveFindings.outputConfig.table` is specified, the values of // columns specified here are available in the output table under // `location.content_locations.record_location.record_key.id_values`. Nested // fields such as `person.birthdate.year` are allowed. IdentifyingFields []*FieldId `protobuf:"bytes,2,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"` // Max number of rows to scan. If the table has more rows than this value, the // rest of the rows are omitted. If not set, or if set to 0, all rows will be // scanned. Only one of rows_limit and rows_limit_percent can be specified. // Cannot be used in conjunction with TimespanConfig. RowsLimit int64 `protobuf:"varint,3,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"` // Max percentage of rows to scan. The rest are omitted. The number of rows // scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and // 100 means no limit. Defaults to 0. Only one of rows_limit and // rows_limit_percent can be specified. Cannot be used in conjunction with // TimespanConfig. // // Caution: A [known // issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) // is causing the `rowsLimitPercent` field to behave unexpectedly. We // recommend using `rowsLimit` instead. RowsLimitPercent int32 `protobuf:"varint,6,opt,name=rows_limit_percent,json=rowsLimitPercent,proto3" json:"rows_limit_percent,omitempty"` // How to sample the data. SampleMethod BigQueryOptions_SampleMethod `` /* 154-byte string literal not displayed */ // References to fields excluded from scanning. This allows you to skip // inspection of entire columns which you know have no findings. // When inspecting a table, we recommend that you inspect all columns. // Otherwise, findings might be affected because hints from excluded columns // will not be used. ExcludedFields []*FieldId `protobuf:"bytes,5,rep,name=excluded_fields,json=excludedFields,proto3" json:"excluded_fields,omitempty"` // Limit scanning only to these fields. // When inspecting a table, we recommend that you inspect all columns. // Otherwise, findings might be affected because hints from excluded columns // will not be used. IncludedFields []*FieldId `protobuf:"bytes,7,rep,name=included_fields,json=includedFields,proto3" json:"included_fields,omitempty"` // contains filtered or unexported fields }
Options defining BigQuery table and row identifiers.
func (*BigQueryOptions) Descriptor
deprecated
func (*BigQueryOptions) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryOptions.ProtoReflect.Descriptor instead.
func (*BigQueryOptions) GetExcludedFields ¶
func (x *BigQueryOptions) GetExcludedFields() []*FieldId
func (*BigQueryOptions) GetIdentifyingFields ¶
func (x *BigQueryOptions) GetIdentifyingFields() []*FieldId
func (*BigQueryOptions) GetIncludedFields ¶
func (x *BigQueryOptions) GetIncludedFields() []*FieldId
func (*BigQueryOptions) GetRowsLimit ¶
func (x *BigQueryOptions) GetRowsLimit() int64
func (*BigQueryOptions) GetRowsLimitPercent ¶
func (x *BigQueryOptions) GetRowsLimitPercent() int32
func (*BigQueryOptions) GetSampleMethod ¶
func (x *BigQueryOptions) GetSampleMethod() BigQueryOptions_SampleMethod
func (*BigQueryOptions) GetTableReference ¶
func (x *BigQueryOptions) GetTableReference() *BigQueryTable
func (*BigQueryOptions) ProtoMessage ¶
func (*BigQueryOptions) ProtoMessage()
func (*BigQueryOptions) ProtoReflect ¶
func (x *BigQueryOptions) ProtoReflect() protoreflect.Message
func (*BigQueryOptions) Reset ¶
func (x *BigQueryOptions) Reset()
func (*BigQueryOptions) String ¶
func (x *BigQueryOptions) String() string
type BigQueryOptions_SampleMethod ¶
type BigQueryOptions_SampleMethod int32
How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, rows are scanned in the order BigQuery reads them.
const ( // No sampling. BigQueryOptions_SAMPLE_METHOD_UNSPECIFIED BigQueryOptions_SampleMethod = 0 // Scan groups of rows in the order BigQuery provides (default). Multiple // groups of rows may be scanned in parallel, so results may not appear in // the same order the rows are read. BigQueryOptions_TOP BigQueryOptions_SampleMethod = 1 // Randomly pick groups of rows to scan. BigQueryOptions_RANDOM_START BigQueryOptions_SampleMethod = 2 )
func (BigQueryOptions_SampleMethod) Descriptor ¶
func (BigQueryOptions_SampleMethod) Descriptor() protoreflect.EnumDescriptor
func (BigQueryOptions_SampleMethod) Enum ¶
func (x BigQueryOptions_SampleMethod) Enum() *BigQueryOptions_SampleMethod
func (BigQueryOptions_SampleMethod) EnumDescriptor
deprecated
func (BigQueryOptions_SampleMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryOptions_SampleMethod.Descriptor instead.
func (BigQueryOptions_SampleMethod) Number ¶
func (x BigQueryOptions_SampleMethod) Number() protoreflect.EnumNumber
func (BigQueryOptions_SampleMethod) String ¶
func (x BigQueryOptions_SampleMethod) String() string
func (BigQueryOptions_SampleMethod) Type ¶
func (BigQueryOptions_SampleMethod) Type() protoreflect.EnumType
type BigQueryRegex ¶ added in v1.11.0
type BigQueryRegex struct { // For organizations, if unset, will match all projects. Has no effect // for data profile configurations created within a project. ProjectIdRegex string `protobuf:"bytes,1,opt,name=project_id_regex,json=projectIdRegex,proto3" json:"project_id_regex,omitempty"` // If unset, this property matches all datasets. DatasetIdRegex string `protobuf:"bytes,2,opt,name=dataset_id_regex,json=datasetIdRegex,proto3" json:"dataset_id_regex,omitempty"` // If unset, this property matches all tables. TableIdRegex string `protobuf:"bytes,3,opt,name=table_id_regex,json=tableIdRegex,proto3" json:"table_id_regex,omitempty"` // contains filtered or unexported fields }
A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
func (*BigQueryRegex) Descriptor
deprecated
added in
v1.11.0
func (*BigQueryRegex) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryRegex.ProtoReflect.Descriptor instead.
func (*BigQueryRegex) GetDatasetIdRegex ¶ added in v1.11.0
func (x *BigQueryRegex) GetDatasetIdRegex() string
func (*BigQueryRegex) GetProjectIdRegex ¶ added in v1.11.0
func (x *BigQueryRegex) GetProjectIdRegex() string
func (*BigQueryRegex) GetTableIdRegex ¶ added in v1.11.0
func (x *BigQueryRegex) GetTableIdRegex() string
func (*BigQueryRegex) ProtoMessage ¶ added in v1.11.0
func (*BigQueryRegex) ProtoMessage()
func (*BigQueryRegex) ProtoReflect ¶ added in v1.11.0
func (x *BigQueryRegex) ProtoReflect() protoreflect.Message
func (*BigQueryRegex) Reset ¶ added in v1.11.0
func (x *BigQueryRegex) Reset()
func (*BigQueryRegex) String ¶ added in v1.11.0
func (x *BigQueryRegex) String() string
type BigQueryRegexes ¶ added in v1.11.0
type BigQueryRegexes struct { // A single BigQuery regular expression pattern to match against one or more // tables, datasets, or projects that contain BigQuery tables. Patterns []*BigQueryRegex `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"` // contains filtered or unexported fields }
A collection of regular expressions to determine what tables to match against.
func (*BigQueryRegexes) Descriptor
deprecated
added in
v1.11.0
func (*BigQueryRegexes) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryRegexes.ProtoReflect.Descriptor instead.
func (*BigQueryRegexes) GetPatterns ¶ added in v1.11.0
func (x *BigQueryRegexes) GetPatterns() []*BigQueryRegex
func (*BigQueryRegexes) ProtoMessage ¶ added in v1.11.0
func (*BigQueryRegexes) ProtoMessage()
func (*BigQueryRegexes) ProtoReflect ¶ added in v1.11.0
func (x *BigQueryRegexes) ProtoReflect() protoreflect.Message
func (*BigQueryRegexes) Reset ¶ added in v1.11.0
func (x *BigQueryRegexes) Reset()
func (*BigQueryRegexes) String ¶ added in v1.11.0
func (x *BigQueryRegexes) String() string
type BigQuerySchemaModification ¶ added in v1.11.0
type BigQuerySchemaModification int32
Attributes evaluated to determine if a schema has been modified. New values may be added at a later time.
const ( // Unused BigQuerySchemaModification_SCHEMA_MODIFICATION_UNSPECIFIED BigQuerySchemaModification = 0 // Profiles should be regenerated when new columns are added to the table. // Default. BigQuerySchemaModification_SCHEMA_NEW_COLUMNS BigQuerySchemaModification = 1 // Profiles should be regenerated when columns are removed from the table. BigQuerySchemaModification_SCHEMA_REMOVED_COLUMNS BigQuerySchemaModification = 2 )
func (BigQuerySchemaModification) Descriptor ¶ added in v1.11.0
func (BigQuerySchemaModification) Descriptor() protoreflect.EnumDescriptor
func (BigQuerySchemaModification) Enum ¶ added in v1.11.0
func (x BigQuerySchemaModification) Enum() *BigQuerySchemaModification
func (BigQuerySchemaModification) EnumDescriptor
deprecated
added in
v1.11.0
func (BigQuerySchemaModification) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQuerySchemaModification.Descriptor instead.
func (BigQuerySchemaModification) Number ¶ added in v1.11.0
func (x BigQuerySchemaModification) Number() protoreflect.EnumNumber
func (BigQuerySchemaModification) String ¶ added in v1.11.0
func (x BigQuerySchemaModification) String() string
func (BigQuerySchemaModification) Type ¶ added in v1.11.0
func (BigQuerySchemaModification) Type() protoreflect.EnumType
type BigQueryTable ¶
type BigQueryTable struct { // The Google Cloud Platform project ID of the project containing the table. // If omitted, project ID is inferred from the API call. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Dataset ID of the table. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Name of the table. TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // contains filtered or unexported fields }
Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: `<project_id>:<dataset_id>.<table_id>` or `<project_id>.<dataset_id>.<table_id>`.
func (*BigQueryTable) Descriptor
deprecated
func (*BigQueryTable) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryTable.ProtoReflect.Descriptor instead.
func (*BigQueryTable) GetDatasetId ¶
func (x *BigQueryTable) GetDatasetId() string
func (*BigQueryTable) GetProjectId ¶
func (x *BigQueryTable) GetProjectId() string
func (*BigQueryTable) GetTableId ¶
func (x *BigQueryTable) GetTableId() string
func (*BigQueryTable) ProtoMessage ¶
func (*BigQueryTable) ProtoMessage()
func (*BigQueryTable) ProtoReflect ¶
func (x *BigQueryTable) ProtoReflect() protoreflect.Message
func (*BigQueryTable) Reset ¶
func (x *BigQueryTable) Reset()
func (*BigQueryTable) String ¶
func (x *BigQueryTable) String() string
type BigQueryTableCollection ¶ added in v1.11.0
type BigQueryTableCollection struct { // Maximum of 100 entries. // The first filter containing a pattern that matches a table will be used. // // Types that are assignable to Pattern: // // *BigQueryTableCollection_IncludeRegexes Pattern isBigQueryTableCollection_Pattern `protobuf_oneof:"pattern"` // contains filtered or unexported fields }
Specifies a collection of BigQuery tables. Used for Discovery.
func (*BigQueryTableCollection) Descriptor
deprecated
added in
v1.11.0
func (*BigQueryTableCollection) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryTableCollection.ProtoReflect.Descriptor instead.
func (*BigQueryTableCollection) GetIncludeRegexes ¶ added in v1.11.0
func (x *BigQueryTableCollection) GetIncludeRegexes() *BigQueryRegexes
func (*BigQueryTableCollection) GetPattern ¶ added in v1.11.0
func (m *BigQueryTableCollection) GetPattern() isBigQueryTableCollection_Pattern
func (*BigQueryTableCollection) ProtoMessage ¶ added in v1.11.0
func (*BigQueryTableCollection) ProtoMessage()
func (*BigQueryTableCollection) ProtoReflect ¶ added in v1.11.0
func (x *BigQueryTableCollection) ProtoReflect() protoreflect.Message
func (*BigQueryTableCollection) Reset ¶ added in v1.11.0
func (x *BigQueryTableCollection) Reset()
func (*BigQueryTableCollection) String ¶ added in v1.11.0
func (x *BigQueryTableCollection) String() string
type BigQueryTableCollection_IncludeRegexes ¶ added in v1.11.0
type BigQueryTableCollection_IncludeRegexes struct { // A collection of regular expressions to match a BigQuery table against. IncludeRegexes *BigQueryRegexes `protobuf:"bytes,1,opt,name=include_regexes,json=includeRegexes,proto3,oneof"` }
type BigQueryTableModification ¶ added in v1.11.0
type BigQueryTableModification int32
Attributes evaluated to determine if a table has been modified. New values may be added at a later time.
const ( // Unused. BigQueryTableModification_TABLE_MODIFICATION_UNSPECIFIED BigQueryTableModification = 0 // A table will be considered modified when the last_modified_time from // BigQuery has been updated. BigQueryTableModification_TABLE_MODIFIED_TIMESTAMP BigQueryTableModification = 1 )
func (BigQueryTableModification) Descriptor ¶ added in v1.11.0
func (BigQueryTableModification) Descriptor() protoreflect.EnumDescriptor
func (BigQueryTableModification) Enum ¶ added in v1.11.0
func (x BigQueryTableModification) Enum() *BigQueryTableModification
func (BigQueryTableModification) EnumDescriptor
deprecated
added in
v1.11.0
func (BigQueryTableModification) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryTableModification.Descriptor instead.
func (BigQueryTableModification) Number ¶ added in v1.11.0
func (x BigQueryTableModification) Number() protoreflect.EnumNumber
func (BigQueryTableModification) String ¶ added in v1.11.0
func (x BigQueryTableModification) String() string
func (BigQueryTableModification) Type ¶ added in v1.11.0
func (BigQueryTableModification) Type() protoreflect.EnumType
type BigQueryTableType ¶ added in v1.11.0
type BigQueryTableType int32
Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, SNAPSHOT, and non-BigLake external tables are not supported.
const ( // Unused. BigQueryTableType_BIG_QUERY_TABLE_TYPE_UNSPECIFIED BigQueryTableType = 0 // A normal BigQuery table. BigQueryTableType_BIG_QUERY_TABLE_TYPE_TABLE BigQueryTableType = 1 // A table that references data stored in Cloud Storage. BigQueryTableType_BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE BigQueryTableType = 2 )
func (BigQueryTableType) Descriptor ¶ added in v1.11.0
func (BigQueryTableType) Descriptor() protoreflect.EnumDescriptor
func (BigQueryTableType) Enum ¶ added in v1.11.0
func (x BigQueryTableType) Enum() *BigQueryTableType
func (BigQueryTableType) EnumDescriptor
deprecated
added in
v1.11.0
func (BigQueryTableType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryTableType.Descriptor instead.
func (BigQueryTableType) Number ¶ added in v1.11.0
func (x BigQueryTableType) Number() protoreflect.EnumNumber
func (BigQueryTableType) String ¶ added in v1.11.0
func (x BigQueryTableType) String() string
func (BigQueryTableType) Type ¶ added in v1.11.0
func (BigQueryTableType) Type() protoreflect.EnumType
type BigQueryTableTypeCollection ¶ added in v1.11.0
type BigQueryTableTypeCollection int32
Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and SNAPSHOT are not supported.
const ( // Unused. BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_UNSPECIFIED BigQueryTableTypeCollection = 0 // Automatically generate profiles for all tables, even if the table type is // not yet fully supported for analysis. Profiles for unsupported tables will // be generated with errors to indicate their partial support. When full // support is added, the tables will automatically be profiled during the next // scheduled run. BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_ALL_TYPES BigQueryTableTypeCollection = 1 // Only those types fully supported will be profiled. Will expand // automatically as Cloud DLP adds support for new table types. Unsupported // table types will not have partial profiles generated. BigQueryTableTypeCollection_BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES BigQueryTableTypeCollection = 2 )
func (BigQueryTableTypeCollection) Descriptor ¶ added in v1.11.0
func (BigQueryTableTypeCollection) Descriptor() protoreflect.EnumDescriptor
func (BigQueryTableTypeCollection) Enum ¶ added in v1.11.0
func (x BigQueryTableTypeCollection) Enum() *BigQueryTableTypeCollection
func (BigQueryTableTypeCollection) EnumDescriptor
deprecated
added in
v1.11.0
func (BigQueryTableTypeCollection) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryTableTypeCollection.Descriptor instead.
func (BigQueryTableTypeCollection) Number ¶ added in v1.11.0
func (x BigQueryTableTypeCollection) Number() protoreflect.EnumNumber
func (BigQueryTableTypeCollection) String ¶ added in v1.11.0
func (x BigQueryTableTypeCollection) String() string
func (BigQueryTableTypeCollection) Type ¶ added in v1.11.0
func (BigQueryTableTypeCollection) Type() protoreflect.EnumType
type BigQueryTableTypes ¶ added in v1.11.0
type BigQueryTableTypes struct { // A set of BigQuery table types. Types []BigQueryTableType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=google.privacy.dlp.v2.BigQueryTableType" json:"types,omitempty"` // contains filtered or unexported fields }
The types of BigQuery tables supported by Cloud DLP.
func (*BigQueryTableTypes) Descriptor
deprecated
added in
v1.11.0
func (*BigQueryTableTypes) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryTableTypes.ProtoReflect.Descriptor instead.
func (*BigQueryTableTypes) GetTypes ¶ added in v1.11.0
func (x *BigQueryTableTypes) GetTypes() []BigQueryTableType
func (*BigQueryTableTypes) ProtoMessage ¶ added in v1.11.0
func (*BigQueryTableTypes) ProtoMessage()
func (*BigQueryTableTypes) ProtoReflect ¶ added in v1.11.0
func (x *BigQueryTableTypes) ProtoReflect() protoreflect.Message
func (*BigQueryTableTypes) Reset ¶ added in v1.11.0
func (x *BigQueryTableTypes) Reset()
func (*BigQueryTableTypes) String ¶ added in v1.11.0
func (x *BigQueryTableTypes) String() string
type BoundingBox ¶
type BoundingBox struct { // Top coordinate of the bounding box. (0,0) is upper left. Top int32 `protobuf:"varint,1,opt,name=top,proto3" json:"top,omitempty"` // Left coordinate of the bounding box. (0,0) is upper left. Left int32 `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"` // Width of the bounding box in pixels. Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // Height of the bounding box in pixels. Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
Bounding box encompassing detected text within an image.
func (*BoundingBox) Descriptor
deprecated
func (*BoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.
func (*BoundingBox) GetHeight ¶
func (x *BoundingBox) GetHeight() int32
func (*BoundingBox) GetLeft ¶
func (x *BoundingBox) GetLeft() int32
func (*BoundingBox) GetTop ¶
func (x *BoundingBox) GetTop() int32
func (*BoundingBox) GetWidth ¶
func (x *BoundingBox) GetWidth() int32
func (*BoundingBox) ProtoMessage ¶
func (*BoundingBox) ProtoMessage()
func (*BoundingBox) ProtoReflect ¶
func (x *BoundingBox) ProtoReflect() protoreflect.Message
func (*BoundingBox) Reset ¶
func (x *BoundingBox) Reset()
func (*BoundingBox) String ¶
func (x *BoundingBox) String() string
type BucketingConfig ¶
type BucketingConfig struct { // Set of buckets. Ranges must be non-overlapping. Buckets []*BucketingConfig_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // contains filtered or unexported fields }
Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, timestamp. If the bound `Value` type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing to learn more.
func (*BucketingConfig) Descriptor
deprecated
func (*BucketingConfig) Descriptor() ([]byte, []int)
Deprecated: Use BucketingConfig.ProtoReflect.Descriptor instead.
func (*BucketingConfig) GetBuckets ¶
func (x *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket
func (*BucketingConfig) ProtoMessage ¶
func (*BucketingConfig) ProtoMessage()
func (*BucketingConfig) ProtoReflect ¶
func (x *BucketingConfig) ProtoReflect() protoreflect.Message
func (*BucketingConfig) Reset ¶
func (x *BucketingConfig) Reset()
func (*BucketingConfig) String ¶
func (x *BucketingConfig) String() string
type BucketingConfig_Bucket ¶
type BucketingConfig_Bucket struct { // Lower bound of the range, inclusive. Type should be the same as max if // used. Min *Value `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` // Upper bound of the range, exclusive; type must match min. Max *Value `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"` // Required. Replacement value for this bucket. ReplacementValue *Value `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"` // contains filtered or unexported fields }
Bucket is represented as a range, along with replacement values.
func (*BucketingConfig_Bucket) Descriptor
deprecated
func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int)
Deprecated: Use BucketingConfig_Bucket.ProtoReflect.Descriptor instead.
func (*BucketingConfig_Bucket) GetMax ¶
func (x *BucketingConfig_Bucket) GetMax() *Value
func (*BucketingConfig_Bucket) GetMin ¶
func (x *BucketingConfig_Bucket) GetMin() *Value
func (*BucketingConfig_Bucket) GetReplacementValue ¶
func (x *BucketingConfig_Bucket) GetReplacementValue() *Value
func (*BucketingConfig_Bucket) ProtoMessage ¶
func (*BucketingConfig_Bucket) ProtoMessage()
func (*BucketingConfig_Bucket) ProtoReflect ¶
func (x *BucketingConfig_Bucket) ProtoReflect() protoreflect.Message
func (*BucketingConfig_Bucket) Reset ¶
func (x *BucketingConfig_Bucket) Reset()
func (*BucketingConfig_Bucket) String ¶
func (x *BucketingConfig_Bucket) String() string
type ByteContentItem ¶
type ByteContentItem struct { // The type of data stored in the bytes string. Default will be TEXT_UTF8. Type ByteContentItem_BytesType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.ByteContentItem_BytesType" json:"type,omitempty"` // Content data to inspect or redact. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Container for bytes to inspect or redact.
func (*ByteContentItem) Descriptor
deprecated
func (*ByteContentItem) Descriptor() ([]byte, []int)
Deprecated: Use ByteContentItem.ProtoReflect.Descriptor instead.
func (*ByteContentItem) GetData ¶
func (x *ByteContentItem) GetData() []byte
func (*ByteContentItem) GetType ¶
func (x *ByteContentItem) GetType() ByteContentItem_BytesType
func (*ByteContentItem) ProtoMessage ¶
func (*ByteContentItem) ProtoMessage()
func (*ByteContentItem) ProtoReflect ¶
func (x *ByteContentItem) ProtoReflect() protoreflect.Message
func (*ByteContentItem) Reset ¶
func (x *ByteContentItem) Reset()
func (*ByteContentItem) String ¶
func (x *ByteContentItem) String() string
type ByteContentItem_BytesType ¶
type ByteContentItem_BytesType int32
The type of data being sent for inspection. To learn more, see [Supported file types](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types).
const ( // Unused ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0 // Any image type. ByteContentItem_IMAGE ByteContentItem_BytesType = 6 // jpeg ByteContentItem_IMAGE_JPEG ByteContentItem_BytesType = 1 // bmp ByteContentItem_IMAGE_BMP ByteContentItem_BytesType = 2 // png ByteContentItem_IMAGE_PNG ByteContentItem_BytesType = 3 // svg ByteContentItem_IMAGE_SVG ByteContentItem_BytesType = 4 // plain text ByteContentItem_TEXT_UTF8 ByteContentItem_BytesType = 5 // docx, docm, dotx, dotm ByteContentItem_WORD_DOCUMENT ByteContentItem_BytesType = 7 // pdf ByteContentItem_PDF ByteContentItem_BytesType = 8 // pptx, pptm, potx, potm, pot ByteContentItem_POWERPOINT_DOCUMENT ByteContentItem_BytesType = 9 // xlsx, xlsm, xltx, xltm ByteContentItem_EXCEL_DOCUMENT ByteContentItem_BytesType = 10 // avro ByteContentItem_AVRO ByteContentItem_BytesType = 11 // csv ByteContentItem_CSV ByteContentItem_BytesType = 12 // tsv ByteContentItem_TSV ByteContentItem_BytesType = 13 )
func (ByteContentItem_BytesType) Descriptor ¶
func (ByteContentItem_BytesType) Descriptor() protoreflect.EnumDescriptor
func (ByteContentItem_BytesType) Enum ¶
func (x ByteContentItem_BytesType) Enum() *ByteContentItem_BytesType
func (ByteContentItem_BytesType) EnumDescriptor
deprecated
func (ByteContentItem_BytesType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ByteContentItem_BytesType.Descriptor instead.
func (ByteContentItem_BytesType) Number ¶
func (x ByteContentItem_BytesType) Number() protoreflect.EnumNumber
func (ByteContentItem_BytesType) String ¶
func (x ByteContentItem_BytesType) String() string
func (ByteContentItem_BytesType) Type ¶
func (ByteContentItem_BytesType) Type() protoreflect.EnumType
type CancelDlpJobRequest ¶
type CancelDlpJobRequest struct { // Required. The name of the DlpJob resource to be cancelled. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for canceling a DLP job.
func (*CancelDlpJobRequest) Descriptor
deprecated
func (*CancelDlpJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelDlpJobRequest.ProtoReflect.Descriptor instead.
func (*CancelDlpJobRequest) GetName ¶
func (x *CancelDlpJobRequest) GetName() string
func (*CancelDlpJobRequest) ProtoMessage ¶
func (*CancelDlpJobRequest) ProtoMessage()
func (*CancelDlpJobRequest) ProtoReflect ¶
func (x *CancelDlpJobRequest) ProtoReflect() protoreflect.Message
func (*CancelDlpJobRequest) Reset ¶
func (x *CancelDlpJobRequest) Reset()
func (*CancelDlpJobRequest) String ¶
func (x *CancelDlpJobRequest) String() string
type CharacterMaskConfig ¶
type CharacterMaskConfig struct { // Character to use to mask the sensitive values—for example, `*` for an // alphabetic string such as a name, or `0` for a numeric string such as ZIP // code or credit card number. This string must have a length of 1. If not // supplied, this value defaults to `*` for strings, and `0` for digits. MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter,proto3" json:"masking_character,omitempty"` // Number of characters to mask. If not set, all matching chars will be // masked. Skipped characters do not count towards this tally. // // If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP // masks all but a number of characters. // For example, suppose you have the following values: // // - `masking_character` is `*` // - `number_to_mask` is `-4` // - `reverse_order` is `false` // - `CharsToIgnore` includes `-` // - Input string is `1234-5678-9012-3456` // // The resulting de-identified string is // `****-****-****-3456`. Cloud DLP masks all but the last four characters. // If `reverse_order` is `true`, all but the first four characters are masked // as `1234-****-****-****`. NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask,proto3" json:"number_to_mask,omitempty"` // Mask characters in reverse order. For example, if `masking_character` is // `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the // input string `1234-5678-9012-3456` is masked as `00000000000000-3456`. // If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order` // is `true`, then the string `12345` is masked as `12***`. ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder,proto3" json:"reverse_order,omitempty"` // When masking a string, items in this list will be skipped when replacing // characters. For example, if the input string is `555-555-5555` and you // instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP // returns `***-**5-5555`. CharactersToIgnore []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore,proto3" json:"characters_to_ignore,omitempty"` // contains filtered or unexported fields }
Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3.
func (*CharacterMaskConfig) Descriptor
deprecated
func (*CharacterMaskConfig) Descriptor() ([]byte, []int)
Deprecated: Use CharacterMaskConfig.ProtoReflect.Descriptor instead.
func (*CharacterMaskConfig) GetCharactersToIgnore ¶
func (x *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore
func (*CharacterMaskConfig) GetMaskingCharacter ¶
func (x *CharacterMaskConfig) GetMaskingCharacter() string
func (*CharacterMaskConfig) GetNumberToMask ¶
func (x *CharacterMaskConfig) GetNumberToMask() int32
func (*CharacterMaskConfig) GetReverseOrder ¶
func (x *CharacterMaskConfig) GetReverseOrder() bool
func (*CharacterMaskConfig) ProtoMessage ¶
func (*CharacterMaskConfig) ProtoMessage()
func (*CharacterMaskConfig) ProtoReflect ¶
func (x *CharacterMaskConfig) ProtoReflect() protoreflect.Message
func (*CharacterMaskConfig) Reset ¶
func (x *CharacterMaskConfig) Reset()
func (*CharacterMaskConfig) String ¶
func (x *CharacterMaskConfig) String() string
type CharsToIgnore ¶
type CharsToIgnore struct { // Type of characters to skip. // // Types that are assignable to Characters: // // *CharsToIgnore_CharactersToSkip // *CharsToIgnore_CommonCharactersToIgnore Characters isCharsToIgnore_Characters `protobuf_oneof:"characters"` // contains filtered or unexported fields }
Characters to skip when doing deidentification of a value. These will be left alone and skipped.
func (*CharsToIgnore) Descriptor
deprecated
func (*CharsToIgnore) Descriptor() ([]byte, []int)
Deprecated: Use CharsToIgnore.ProtoReflect.Descriptor instead.
func (*CharsToIgnore) GetCharacters ¶
func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters
func (*CharsToIgnore) GetCharactersToSkip ¶
func (x *CharsToIgnore) GetCharactersToSkip() string
func (*CharsToIgnore) GetCommonCharactersToIgnore ¶
func (x *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore
func (*CharsToIgnore) ProtoMessage ¶
func (*CharsToIgnore) ProtoMessage()
func (*CharsToIgnore) ProtoReflect ¶
func (x *CharsToIgnore) ProtoReflect() protoreflect.Message
func (*CharsToIgnore) Reset ¶
func (x *CharsToIgnore) Reset()
func (*CharsToIgnore) String ¶
func (x *CharsToIgnore) String() string
type CharsToIgnore_CharactersToSkip ¶
type CharsToIgnore_CharactersToSkip struct { // Characters to not transform when masking. CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,proto3,oneof"` }
type CharsToIgnore_CommonCharactersToIgnore ¶
type CharsToIgnore_CommonCharactersToIgnore struct { // Common characters to not transform when masking. Useful to avoid removing // punctuation. CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `` /* 160-byte string literal not displayed */ }
type CharsToIgnore_CommonCharsToIgnore ¶
type CharsToIgnore_CommonCharsToIgnore int32
Convenience enum for indicating common characters to not transform.
const ( // Unused. CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED CharsToIgnore_CommonCharsToIgnore = 0 // 0-9 CharsToIgnore_NUMERIC CharsToIgnore_CommonCharsToIgnore = 1 // A-Z CharsToIgnore_ALPHA_UPPER_CASE CharsToIgnore_CommonCharsToIgnore = 2 // a-z CharsToIgnore_ALPHA_LOWER_CASE CharsToIgnore_CommonCharsToIgnore = 3 // US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ CharsToIgnore_PUNCTUATION CharsToIgnore_CommonCharsToIgnore = 4 // Whitespace character, one of [ \t\n\x0B\f\r] CharsToIgnore_WHITESPACE CharsToIgnore_CommonCharsToIgnore = 5 )
func (CharsToIgnore_CommonCharsToIgnore) Descriptor ¶
func (CharsToIgnore_CommonCharsToIgnore) Descriptor() protoreflect.EnumDescriptor
func (CharsToIgnore_CommonCharsToIgnore) Enum ¶
func (x CharsToIgnore_CommonCharsToIgnore) Enum() *CharsToIgnore_CommonCharsToIgnore
func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor
deprecated
func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int)
Deprecated: Use CharsToIgnore_CommonCharsToIgnore.Descriptor instead.
func (CharsToIgnore_CommonCharsToIgnore) Number ¶
func (x CharsToIgnore_CommonCharsToIgnore) Number() protoreflect.EnumNumber
func (CharsToIgnore_CommonCharsToIgnore) String ¶
func (x CharsToIgnore_CommonCharsToIgnore) String() string
func (CharsToIgnore_CommonCharsToIgnore) Type ¶
func (CharsToIgnore_CommonCharsToIgnore) Type() protoreflect.EnumType
type CloudStorageFileSet ¶
type CloudStorageFileSet struct { // The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the // path is allowed. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
Message representing a set of files in Cloud Storage.
func (*CloudStorageFileSet) Descriptor
deprecated
func (*CloudStorageFileSet) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorageFileSet.ProtoReflect.Descriptor instead.
func (*CloudStorageFileSet) GetUrl ¶
func (x *CloudStorageFileSet) GetUrl() string
func (*CloudStorageFileSet) ProtoMessage ¶
func (*CloudStorageFileSet) ProtoMessage()
func (*CloudStorageFileSet) ProtoReflect ¶
func (x *CloudStorageFileSet) ProtoReflect() protoreflect.Message
func (*CloudStorageFileSet) Reset ¶
func (x *CloudStorageFileSet) Reset()
func (*CloudStorageFileSet) String ¶
func (x *CloudStorageFileSet) String() string
type CloudStorageOptions ¶
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. // This field can't be set if de-identification is requested. For certain file // types, setting this field has no effect. For more information, see [Limits // on bytes scanned per // file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). 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. // This field can't be set if de-identification is requested. For certain file // types, setting this field has no effect. For more information, see [Limits // on bytes scanned per // file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). BytesLimitPerFilePercent int32 `` /* 140-byte string literal not displayed */ // List of file type groups to include in the scan. // If empty, all files are scanned and available data format processors // are applied. In addition, the binary content of the selected files // is always scanned as well. // Images are scanned only as binary if the specified region // does not support image inspection and no file_types were specified. // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. FileTypes []FileType `` /* 132-byte string literal not displayed */ // How to sample the data. SampleMethod CloudStorageOptions_SampleMethod `` /* 158-byte string literal not displayed */ // Limits the number of files to scan to this percentage of the input FileSet. // Number of files scanned is rounded down. Must be between 0 and 100, // inclusively. Both 0 and 100 means no limit. Defaults to 0. FilesLimitPercent int32 `protobuf:"varint,7,opt,name=files_limit_percent,json=filesLimitPercent,proto3" json:"files_limit_percent,omitempty"` // contains filtered or unexported fields }
Options defining a file or a set of files within a Cloud Storage bucket.
func (*CloudStorageOptions) Descriptor
deprecated
func (*CloudStorageOptions) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorageOptions.ProtoReflect.Descriptor instead.
func (*CloudStorageOptions) GetBytesLimitPerFile ¶
func (x *CloudStorageOptions) GetBytesLimitPerFile() int64
func (*CloudStorageOptions) GetBytesLimitPerFilePercent ¶
func (x *CloudStorageOptions) GetBytesLimitPerFilePercent() int32
func (*CloudStorageOptions) GetFileSet ¶
func (x *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet
func (*CloudStorageOptions) GetFileTypes ¶
func (x *CloudStorageOptions) GetFileTypes() []FileType
func (*CloudStorageOptions) GetFilesLimitPercent ¶
func (x *CloudStorageOptions) GetFilesLimitPercent() int32
func (*CloudStorageOptions) GetSampleMethod ¶
func (x *CloudStorageOptions) GetSampleMethod() CloudStorageOptions_SampleMethod
func (*CloudStorageOptions) ProtoMessage ¶
func (*CloudStorageOptions) ProtoMessage()
func (*CloudStorageOptions) ProtoReflect ¶
func (x *CloudStorageOptions) ProtoReflect() protoreflect.Message
func (*CloudStorageOptions) Reset ¶
func (x *CloudStorageOptions) Reset()
func (*CloudStorageOptions) String ¶
func (x *CloudStorageOptions) String() string
type CloudStorageOptions_FileSet ¶
type CloudStorageOptions_FileSet struct { // The Cloud Storage url of the file(s) to scan, in the format // `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. // // If the url ends in a trailing slash, the bucket or directory represented // by the url will be scanned non-recursively (content in sub-directories // will not be scanned). This means that `gs://mybucket/` is equivalent to // `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to // `gs://mybucket/directory/*`. // // Exactly one of `url` or `regex_file_set` must be set. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // The regex-filtered set of files to scan. Exactly one of `url` or // `regex_file_set` must be set. RegexFileSet *CloudStorageRegexFileSet `protobuf:"bytes,2,opt,name=regex_file_set,json=regexFileSet,proto3" json:"regex_file_set,omitempty"` // contains filtered or unexported fields }
Set of files to scan.
func (*CloudStorageOptions_FileSet) Descriptor
deprecated
func (*CloudStorageOptions_FileSet) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorageOptions_FileSet.ProtoReflect.Descriptor instead.
func (*CloudStorageOptions_FileSet) GetRegexFileSet ¶
func (x *CloudStorageOptions_FileSet) GetRegexFileSet() *CloudStorageRegexFileSet
func (*CloudStorageOptions_FileSet) GetUrl ¶
func (x *CloudStorageOptions_FileSet) GetUrl() string
func (*CloudStorageOptions_FileSet) ProtoMessage ¶
func (*CloudStorageOptions_FileSet) ProtoMessage()
func (*CloudStorageOptions_FileSet) ProtoReflect ¶
func (x *CloudStorageOptions_FileSet) ProtoReflect() protoreflect.Message
func (*CloudStorageOptions_FileSet) Reset ¶
func (x *CloudStorageOptions_FileSet) Reset()
func (*CloudStorageOptions_FileSet) String ¶
func (x *CloudStorageOptions_FileSet) String() string
type CloudStorageOptions_SampleMethod ¶
type CloudStorageOptions_SampleMethod int32
How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytes_limit_per_file. If not specified, scanning would start from the top.
const ( // No sampling. CloudStorageOptions_SAMPLE_METHOD_UNSPECIFIED CloudStorageOptions_SampleMethod = 0 // Scan from the top (default). CloudStorageOptions_TOP CloudStorageOptions_SampleMethod = 1 // For each file larger than bytes_limit_per_file, randomly pick the offset // to start scanning. The scanned bytes are contiguous. CloudStorageOptions_RANDOM_START CloudStorageOptions_SampleMethod = 2 )
func (CloudStorageOptions_SampleMethod) Descriptor ¶
func (CloudStorageOptions_SampleMethod) Descriptor() protoreflect.EnumDescriptor
func (CloudStorageOptions_SampleMethod) Enum ¶
func (x CloudStorageOptions_SampleMethod) Enum() *CloudStorageOptions_SampleMethod
func (CloudStorageOptions_SampleMethod) EnumDescriptor
deprecated
func (CloudStorageOptions_SampleMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudStorageOptions_SampleMethod.Descriptor instead.
func (CloudStorageOptions_SampleMethod) Number ¶
func (x CloudStorageOptions_SampleMethod) Number() protoreflect.EnumNumber
func (CloudStorageOptions_SampleMethod) String ¶
func (x CloudStorageOptions_SampleMethod) String() string
func (CloudStorageOptions_SampleMethod) Type ¶
func (CloudStorageOptions_SampleMethod) Type() protoreflect.EnumType
type CloudStoragePath ¶
type CloudStoragePath struct { // A URL representing a file or path (no wildcards) in Cloud Storage. // Example: `gs://[BUCKET_NAME]/dictionary.txt` Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Message representing a single file or path in Cloud Storage.
func (*CloudStoragePath) Descriptor
deprecated
func (*CloudStoragePath) Descriptor() ([]byte, []int)
Deprecated: Use CloudStoragePath.ProtoReflect.Descriptor instead.
func (*CloudStoragePath) GetPath ¶
func (x *CloudStoragePath) GetPath() string
func (*CloudStoragePath) ProtoMessage ¶
func (*CloudStoragePath) ProtoMessage()
func (*CloudStoragePath) ProtoReflect ¶
func (x *CloudStoragePath) ProtoReflect() protoreflect.Message
func (*CloudStoragePath) Reset ¶
func (x *CloudStoragePath) Reset()
func (*CloudStoragePath) String ¶
func (x *CloudStoragePath) String() string
type CloudStorageRegexFileSet ¶
type CloudStorageRegexFileSet struct { // The name of a Cloud Storage bucket. Required. BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // A list of regular expressions matching file paths to include. All files in // the bucket that match at least one of these regular expressions will be // included in the set of files, except for those that also match an item in // `exclude_regex`. Leaving this field empty will match all files by default // (this is equivalent to including `.*` in the list). // // Regular expressions use RE2 // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // under the google/re2 repository on GitHub. IncludeRegex []string `protobuf:"bytes,2,rep,name=include_regex,json=includeRegex,proto3" json:"include_regex,omitempty"` // A list of regular expressions matching file paths to exclude. All files in // the bucket that match at least one of these regular expressions will be // excluded from the scan. // // Regular expressions use RE2 // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // under the google/re2 repository on GitHub. ExcludeRegex []string `protobuf:"bytes,3,rep,name=exclude_regex,json=excludeRegex,proto3" json:"exclude_regex,omitempty"` // contains filtered or unexported fields }
Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include.
Included files are those that match at least one item in `include_regex` and do not match any items in `exclude_regex`. Note that a file that matches items from both lists will _not_ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression.
For example, given the input `{bucket_name: "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/excluded.*"]}`:
* `gs://mybucket/directory1/myfile` will be included * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/`) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the full path doesn't match any items in `include_regex`) * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path matches an item in `exclude_regex`)
If `include_regex` is left empty, it will match all files by default (this is equivalent to setting `include_regex: [".*"]`).
Some other common use cases:
* `{bucket_name: "mybucket", exclude_regex: [".*\.pdf"]}` will include all files in `mybucket` except for .pdf files * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will include all files directly under `gs://mybucket/directory/`, without matching across `/`
func (*CloudStorageRegexFileSet) Descriptor
deprecated
func (*CloudStorageRegexFileSet) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorageRegexFileSet.ProtoReflect.Descriptor instead.
func (*CloudStorageRegexFileSet) GetBucketName ¶
func (x *CloudStorageRegexFileSet) GetBucketName() string
func (*CloudStorageRegexFileSet) GetExcludeRegex ¶
func (x *CloudStorageRegexFileSet) GetExcludeRegex() []string
func (*CloudStorageRegexFileSet) GetIncludeRegex ¶
func (x *CloudStorageRegexFileSet) GetIncludeRegex() []string
func (*CloudStorageRegexFileSet) ProtoMessage ¶
func (*CloudStorageRegexFileSet) ProtoMessage()
func (*CloudStorageRegexFileSet) ProtoReflect ¶
func (x *CloudStorageRegexFileSet) ProtoReflect() protoreflect.Message
func (*CloudStorageRegexFileSet) Reset ¶
func (x *CloudStorageRegexFileSet) Reset()
func (*CloudStorageRegexFileSet) String ¶
func (x *CloudStorageRegexFileSet) String() string
type Color ¶
type Color struct { // The amount of red in the color as a value in the interval [0, 1]. Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"` // The amount of green in the color as a value in the interval [0, 1]. Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"` // The amount of blue in the color as a value in the interval [0, 1]. Blue float32 `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"` // contains filtered or unexported fields }
Represents a color in the RGB color space.
func (*Color) Descriptor
deprecated
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
func (*Color) ProtoReflect ¶
func (x *Color) ProtoReflect() protoreflect.Message
type ColumnDataProfile ¶ added in v1.11.0
type ColumnDataProfile struct { // The name of the profile. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Success or error status from the most recent profile generation attempt. // May be empty if the profile is still being generated. ProfileStatus *ProfileStatus `protobuf:"bytes,17,opt,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"` // State of a profile. State ColumnDataProfile_State `protobuf:"varint,18,opt,name=state,proto3,enum=google.privacy.dlp.v2.ColumnDataProfile_State" json:"state,omitempty"` // The last time the profile was generated. ProfileLastGenerated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=profile_last_generated,json=profileLastGenerated,proto3" json:"profile_last_generated,omitempty"` // The resource name of the table data profile. TableDataProfile string `protobuf:"bytes,4,opt,name=table_data_profile,json=tableDataProfile,proto3" json:"table_data_profile,omitempty"` // The resource name of the resource this column is within. TableFullResource string `protobuf:"bytes,5,opt,name=table_full_resource,json=tableFullResource,proto3" json:"table_full_resource,omitempty"` // The Google Cloud project ID that owns the profiled resource. DatasetProjectId string `protobuf:"bytes,19,opt,name=dataset_project_id,json=datasetProjectId,proto3" json:"dataset_project_id,omitempty"` // The BigQuery location where the dataset's data is stored. // See https://cloud.google.com/bigquery/docs/locations for supported // locations. DatasetLocation string `protobuf:"bytes,20,opt,name=dataset_location,json=datasetLocation,proto3" json:"dataset_location,omitempty"` // The BigQuery dataset ID. DatasetId string `protobuf:"bytes,21,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // The BigQuery table ID. TableId string `protobuf:"bytes,22,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // The name of the column. Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"` // The sensitivity of this column. SensitivityScore *SensitivityScore `protobuf:"bytes,7,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"` // The data risk level for this column. DataRiskLevel *DataRiskLevel `protobuf:"bytes,8,opt,name=data_risk_level,json=dataRiskLevel,proto3" json:"data_risk_level,omitempty"` // If it's been determined this column can be identified as a single type, // this will be set. Otherwise the column either has unidentifiable content // or mixed types. ColumnInfoType *InfoTypeSummary `protobuf:"bytes,9,opt,name=column_info_type,json=columnInfoType,proto3" json:"column_info_type,omitempty"` // Other types found within this column. List will be unordered. OtherMatches []*OtherInfoTypeSummary `protobuf:"bytes,10,rep,name=other_matches,json=otherMatches,proto3" json:"other_matches,omitempty"` // Approximate percentage of entries being null in the column. EstimatedNullPercentage NullPercentageLevel `` /* 181-byte string literal not displayed */ // Approximate uniqueness of the column. EstimatedUniquenessScore UniquenessScoreLevel `` /* 185-byte string literal not displayed */ // The likelihood that this column contains free-form text. // A value close to 1 may indicate the column is likely to contain // free-form or natural language text. // Range in 0-1. FreeTextScore float64 `protobuf:"fixed64,13,opt,name=free_text_score,json=freeTextScore,proto3" json:"free_text_score,omitempty"` // The data type of a given column. ColumnType ColumnDataProfile_ColumnDataType `` /* 153-byte string literal not displayed */ // Indicates if a policy tag has been applied to the column. PolicyState ColumnDataProfile_ColumnPolicyState `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
The profile for a scanned column within a table.
func (*ColumnDataProfile) Descriptor
deprecated
added in
v1.11.0
func (*ColumnDataProfile) Descriptor() ([]byte, []int)
Deprecated: Use ColumnDataProfile.ProtoReflect.Descriptor instead.
func (*ColumnDataProfile) GetColumn ¶ added in v1.11.0
func (x *ColumnDataProfile) GetColumn() string
func (*ColumnDataProfile) GetColumnInfoType ¶ added in v1.11.0
func (x *ColumnDataProfile) GetColumnInfoType() *InfoTypeSummary
func (*ColumnDataProfile) GetColumnType ¶ added in v1.11.0
func (x *ColumnDataProfile) GetColumnType() ColumnDataProfile_ColumnDataType
func (*ColumnDataProfile) GetDataRiskLevel ¶ added in v1.11.0
func (x *ColumnDataProfile) GetDataRiskLevel() *DataRiskLevel
func (*ColumnDataProfile) GetDatasetId ¶ added in v1.11.0
func (x *ColumnDataProfile) GetDatasetId() string
func (*ColumnDataProfile) GetDatasetLocation ¶ added in v1.11.0
func (x *ColumnDataProfile) GetDatasetLocation() string
func (*ColumnDataProfile) GetDatasetProjectId ¶ added in v1.11.0
func (x *ColumnDataProfile) GetDatasetProjectId() string
func (*ColumnDataProfile) GetEstimatedNullPercentage ¶ added in v1.11.0
func (x *ColumnDataProfile) GetEstimatedNullPercentage() NullPercentageLevel
func (*ColumnDataProfile) GetEstimatedUniquenessScore ¶ added in v1.11.0
func (x *ColumnDataProfile) GetEstimatedUniquenessScore() UniquenessScoreLevel
func (*ColumnDataProfile) GetFreeTextScore ¶ added in v1.11.0
func (x *ColumnDataProfile) GetFreeTextScore() float64
func (*ColumnDataProfile) GetName ¶ added in v1.11.0
func (x *ColumnDataProfile) GetName() string
func (*ColumnDataProfile) GetOtherMatches ¶ added in v1.11.0
func (x *ColumnDataProfile) GetOtherMatches() []*OtherInfoTypeSummary
func (*ColumnDataProfile) GetPolicyState ¶ added in v1.11.0
func (x *ColumnDataProfile) GetPolicyState() ColumnDataProfile_ColumnPolicyState
func (*ColumnDataProfile) GetProfileLastGenerated ¶ added in v1.11.0
func (x *ColumnDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp
func (*ColumnDataProfile) GetProfileStatus ¶ added in v1.11.0
func (x *ColumnDataProfile) GetProfileStatus() *ProfileStatus
func (*ColumnDataProfile) GetSensitivityScore ¶ added in v1.11.0
func (x *ColumnDataProfile) GetSensitivityScore() *SensitivityScore
func (*ColumnDataProfile) GetState ¶ added in v1.11.0
func (x *ColumnDataProfile) GetState() ColumnDataProfile_State
func (*ColumnDataProfile) GetTableDataProfile ¶ added in v1.11.0
func (x *ColumnDataProfile) GetTableDataProfile() string
func (*ColumnDataProfile) GetTableFullResource ¶ added in v1.11.0
func (x *ColumnDataProfile) GetTableFullResource() string
func (*ColumnDataProfile) GetTableId ¶ added in v1.11.0
func (x *ColumnDataProfile) GetTableId() string
func (*ColumnDataProfile) ProtoMessage ¶ added in v1.11.0
func (*ColumnDataProfile) ProtoMessage()
func (*ColumnDataProfile) ProtoReflect ¶ added in v1.11.0
func (x *ColumnDataProfile) ProtoReflect() protoreflect.Message
func (*ColumnDataProfile) Reset ¶ added in v1.11.0
func (x *ColumnDataProfile) Reset()
func (*ColumnDataProfile) String ¶ added in v1.11.0
func (x *ColumnDataProfile) String() string
type ColumnDataProfile_ColumnDataType ¶ added in v1.11.0
type ColumnDataProfile_ColumnDataType int32
Data types of the data in a column. Types may be added over time.
const ( // Invalid type. ColumnDataProfile_COLUMN_DATA_TYPE_UNSPECIFIED ColumnDataProfile_ColumnDataType = 0 // Encoded as a string in decimal format. ColumnDataProfile_TYPE_INT64 ColumnDataProfile_ColumnDataType = 1 // Encoded as a boolean "false" or "true". ColumnDataProfile_TYPE_BOOL ColumnDataProfile_ColumnDataType = 2 // Encoded as a number, or string "NaN", "Infinity" or "-Infinity". ColumnDataProfile_TYPE_FLOAT64 ColumnDataProfile_ColumnDataType = 3 // Encoded as a string value. ColumnDataProfile_TYPE_STRING ColumnDataProfile_ColumnDataType = 4 // Encoded as a base64 string per RFC 4648, section 4. ColumnDataProfile_TYPE_BYTES ColumnDataProfile_ColumnDataType = 5 // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: // 1985-04-12T23:20:50.52Z ColumnDataProfile_TYPE_TIMESTAMP ColumnDataProfile_ColumnDataType = 6 // Encoded as RFC 3339 full-date format string: 1985-04-12 ColumnDataProfile_TYPE_DATE ColumnDataProfile_ColumnDataType = 7 // Encoded as RFC 3339 partial-time format string: 23:20:50.52 ColumnDataProfile_TYPE_TIME ColumnDataProfile_ColumnDataType = 8 // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 ColumnDataProfile_TYPE_DATETIME ColumnDataProfile_ColumnDataType = 9 // Encoded as WKT ColumnDataProfile_TYPE_GEOGRAPHY ColumnDataProfile_ColumnDataType = 10 // Encoded as a decimal string. ColumnDataProfile_TYPE_NUMERIC ColumnDataProfile_ColumnDataType = 11 // Container of ordered fields, each with a type and field name. ColumnDataProfile_TYPE_RECORD ColumnDataProfile_ColumnDataType = 12 // Decimal type. ColumnDataProfile_TYPE_BIGNUMERIC ColumnDataProfile_ColumnDataType = 13 // Json type. ColumnDataProfile_TYPE_JSON ColumnDataProfile_ColumnDataType = 14 )
func (ColumnDataProfile_ColumnDataType) Descriptor ¶ added in v1.11.0
func (ColumnDataProfile_ColumnDataType) Descriptor() protoreflect.EnumDescriptor
func (ColumnDataProfile_ColumnDataType) Enum ¶ added in v1.11.0
func (x ColumnDataProfile_ColumnDataType) Enum() *ColumnDataProfile_ColumnDataType
func (ColumnDataProfile_ColumnDataType) EnumDescriptor
deprecated
added in
v1.11.0
func (ColumnDataProfile_ColumnDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColumnDataProfile_ColumnDataType.Descriptor instead.
func (ColumnDataProfile_ColumnDataType) Number ¶ added in v1.11.0
func (x ColumnDataProfile_ColumnDataType) Number() protoreflect.EnumNumber
func (ColumnDataProfile_ColumnDataType) String ¶ added in v1.11.0
func (x ColumnDataProfile_ColumnDataType) String() string
func (ColumnDataProfile_ColumnDataType) Type ¶ added in v1.11.0
func (ColumnDataProfile_ColumnDataType) Type() protoreflect.EnumType
type ColumnDataProfile_ColumnPolicyState ¶ added in v1.11.0
type ColumnDataProfile_ColumnPolicyState int32
The possible policy states for a column.
const ( // No policy tags. ColumnDataProfile_COLUMN_POLICY_STATE_UNSPECIFIED ColumnDataProfile_ColumnPolicyState = 0 // Column has policy tag applied. ColumnDataProfile_COLUMN_POLICY_TAGGED ColumnDataProfile_ColumnPolicyState = 1 )
func (ColumnDataProfile_ColumnPolicyState) Descriptor ¶ added in v1.11.0
func (ColumnDataProfile_ColumnPolicyState) Descriptor() protoreflect.EnumDescriptor
func (ColumnDataProfile_ColumnPolicyState) Enum ¶ added in v1.11.0
func (x ColumnDataProfile_ColumnPolicyState) Enum() *ColumnDataProfile_ColumnPolicyState
func (ColumnDataProfile_ColumnPolicyState) EnumDescriptor
deprecated
added in
v1.11.0
func (ColumnDataProfile_ColumnPolicyState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColumnDataProfile_ColumnPolicyState.Descriptor instead.
func (ColumnDataProfile_ColumnPolicyState) Number ¶ added in v1.11.0
func (x ColumnDataProfile_ColumnPolicyState) Number() protoreflect.EnumNumber
func (ColumnDataProfile_ColumnPolicyState) String ¶ added in v1.11.0
func (x ColumnDataProfile_ColumnPolicyState) String() string
func (ColumnDataProfile_ColumnPolicyState) Type ¶ added in v1.11.0
func (ColumnDataProfile_ColumnPolicyState) Type() protoreflect.EnumType
type ColumnDataProfile_State ¶ added in v1.11.0
type ColumnDataProfile_State int32
Possible states of a profile. New items may be added.
const ( // Unused. ColumnDataProfile_STATE_UNSPECIFIED ColumnDataProfile_State = 0 // The profile is currently running. Once a profile has finished it will // transition to DONE. ColumnDataProfile_RUNNING ColumnDataProfile_State = 1 // The profile is no longer generating. // If profile_status.status.code is 0, the profile succeeded, otherwise, it // failed. ColumnDataProfile_DONE ColumnDataProfile_State = 2 )
func (ColumnDataProfile_State) Descriptor ¶ added in v1.11.0
func (ColumnDataProfile_State) Descriptor() protoreflect.EnumDescriptor
func (ColumnDataProfile_State) Enum ¶ added in v1.11.0
func (x ColumnDataProfile_State) Enum() *ColumnDataProfile_State
func (ColumnDataProfile_State) EnumDescriptor
deprecated
added in
v1.11.0
func (ColumnDataProfile_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColumnDataProfile_State.Descriptor instead.
func (ColumnDataProfile_State) Number ¶ added in v1.11.0
func (x ColumnDataProfile_State) Number() protoreflect.EnumNumber
func (ColumnDataProfile_State) String ¶ added in v1.11.0
func (x ColumnDataProfile_State) String() string
func (ColumnDataProfile_State) Type ¶ added in v1.11.0
func (ColumnDataProfile_State) Type() protoreflect.EnumType
type Container ¶
type Container struct { // Container type, for example BigQuery or Cloud Storage. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Project where the finding was found. // Can be different from the project that owns the finding. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // A string representation of the full container name. // Examples: // - BigQuery: 'Project:DataSetId.TableId' // - Cloud Storage: 'gs://Bucket/folders/filename.txt' FullPath string `protobuf:"bytes,3,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"` // The root of the container. // Examples: // // - For BigQuery table `project_id:dataset_id.table_id`, the root is // `dataset_id` // - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root // is `gs://bucket` RootPath string `protobuf:"bytes,4,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` // The rest of the path after the root. // Examples: // // - For BigQuery table `project_id:dataset_id.table_id`, the relative path is // `table_id` // - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative // path is `folder/filename.txt` RelativePath string `protobuf:"bytes,5,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // Findings container modification timestamp, if applicable. For Cloud // Storage, this field contains the last file modification timestamp. For a // BigQuery table, this field contains the last_modified_time property. For // Datastore, this field isn't populated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Findings container version, if available // ("generation" for Cloud Storage). Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.
func (*Container) Descriptor
deprecated
func (*Container) GetFullPath ¶
func (*Container) GetProjectId ¶
func (*Container) GetRelativePath ¶
func (*Container) GetRootPath ¶
func (*Container) GetUpdateTime ¶
func (x *Container) GetUpdateTime() *timestamppb.Timestamp
func (*Container) GetVersion ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ContentItem ¶
type ContentItem struct { // Data of the item either in the byte array or UTF-8 string form, or table. // // Types that are assignable to DataItem: // // *ContentItem_Value // *ContentItem_Table // *ContentItem_ByteItem DataItem isContentItem_DataItem `protobuf_oneof:"data_item"` // contains filtered or unexported fields }
Type of content to inspect.
func (*ContentItem) Descriptor
deprecated
func (*ContentItem) Descriptor() ([]byte, []int)
Deprecated: Use ContentItem.ProtoReflect.Descriptor instead.
func (*ContentItem) GetByteItem ¶
func (x *ContentItem) GetByteItem() *ByteContentItem
func (*ContentItem) GetDataItem ¶
func (m *ContentItem) GetDataItem() isContentItem_DataItem
func (*ContentItem) GetTable ¶
func (x *ContentItem) GetTable() *Table
func (*ContentItem) GetValue ¶
func (x *ContentItem) GetValue() string
func (*ContentItem) ProtoMessage ¶
func (*ContentItem) ProtoMessage()
func (*ContentItem) ProtoReflect ¶
func (x *ContentItem) ProtoReflect() protoreflect.Message
func (*ContentItem) Reset ¶
func (x *ContentItem) Reset()
func (*ContentItem) String ¶
func (x *ContentItem) String() string
type ContentItem_ByteItem ¶
type ContentItem_ByteItem struct { // Content data to inspect or redact. Replaces `type` and `data`. ByteItem *ByteContentItem `protobuf:"bytes,5,opt,name=byte_item,json=byteItem,proto3,oneof"` }
type ContentItem_Table ¶
type ContentItem_Table struct { // Structured content for inspection. See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table // to learn more. Table *Table `protobuf:"bytes,4,opt,name=table,proto3,oneof"` }
type ContentItem_Value ¶
type ContentItem_Value struct { // String data to inspect or redact. Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"` }
type ContentLocation ¶
type ContentLocation struct { // Name of the container where the finding is located. // The top level name is the source file name or table name. Names of some // common storage containers are formatted as follows: // // * BigQuery tables: `{project_id}:{dataset_id}.{table_id}` // * Cloud Storage files: `gs://{bucket}/{path}` // * Datastore namespace: {namespace} // // Nested names could be absent if the embedded object has no string // identifier (for example, an image contained within a document). ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` // Type of the container within the file with location of the finding. // // Types that are assignable to Location: // // *ContentLocation_RecordLocation // *ContentLocation_ImageLocation // *ContentLocation_DocumentLocation // *ContentLocation_MetadataLocation Location isContentLocation_Location `protobuf_oneof:"location"` // Finding container modification timestamp, if applicable. For Cloud Storage, // this field contains the last file modification timestamp. For a BigQuery // table, this field contains the last_modified_time property. For Datastore, // this field isn't populated. ContainerTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"` // Finding container version, if available // ("generation" for Cloud Storage). ContainerVersion string `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"` // contains filtered or unexported fields }
Precise location of the finding within a document, record, image, or metadata container.
func (*ContentLocation) Descriptor
deprecated
func (*ContentLocation) Descriptor() ([]byte, []int)
Deprecated: Use ContentLocation.ProtoReflect.Descriptor instead.
func (*ContentLocation) GetContainerName ¶
func (x *ContentLocation) GetContainerName() string
func (*ContentLocation) GetContainerTimestamp ¶
func (x *ContentLocation) GetContainerTimestamp() *timestamppb.Timestamp
func (*ContentLocation) GetContainerVersion ¶
func (x *ContentLocation) GetContainerVersion() string
func (*ContentLocation) GetDocumentLocation ¶
func (x *ContentLocation) GetDocumentLocation() *DocumentLocation
func (*ContentLocation) GetImageLocation ¶
func (x *ContentLocation) GetImageLocation() *ImageLocation
func (*ContentLocation) GetLocation ¶
func (m *ContentLocation) GetLocation() isContentLocation_Location
func (*ContentLocation) GetMetadataLocation ¶
func (x *ContentLocation) GetMetadataLocation() *MetadataLocation
func (*ContentLocation) GetRecordLocation ¶
func (x *ContentLocation) GetRecordLocation() *RecordLocation
func (*ContentLocation) ProtoMessage ¶
func (*ContentLocation) ProtoMessage()
func (*ContentLocation) ProtoReflect ¶
func (x *ContentLocation) ProtoReflect() protoreflect.Message
func (*ContentLocation) Reset ¶
func (x *ContentLocation) Reset()
func (*ContentLocation) String ¶
func (x *ContentLocation) String() string
type ContentLocation_DocumentLocation ¶
type ContentLocation_DocumentLocation struct { // Location data for document files. DocumentLocation *DocumentLocation `protobuf:"bytes,5,opt,name=document_location,json=documentLocation,proto3,oneof"` }
type ContentLocation_ImageLocation ¶
type ContentLocation_ImageLocation struct { // Location within an image's pixels. ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"` }
type ContentLocation_MetadataLocation ¶
type ContentLocation_MetadataLocation struct { // Location within the metadata for inspected content. MetadataLocation *MetadataLocation `protobuf:"bytes,8,opt,name=metadata_location,json=metadataLocation,proto3,oneof"` }
type ContentLocation_RecordLocation ¶
type ContentLocation_RecordLocation struct { // Location within a row or record of a database table. RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"` }
type ContentOption ¶
type ContentOption int32
Deprecated and unused.
const ( // Includes entire content of a file or a data stream. ContentOption_CONTENT_UNSPECIFIED ContentOption = 0 // Text content within the data, excluding any metadata. ContentOption_CONTENT_TEXT ContentOption = 1 // Images found in the data. ContentOption_CONTENT_IMAGE ContentOption = 2 )
func (ContentOption) Descriptor ¶
func (ContentOption) Descriptor() protoreflect.EnumDescriptor
func (ContentOption) Enum ¶
func (x ContentOption) Enum() *ContentOption
func (ContentOption) EnumDescriptor
deprecated
func (ContentOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentOption.Descriptor instead.
func (ContentOption) Number ¶
func (x ContentOption) Number() protoreflect.EnumNumber
func (ContentOption) String ¶
func (x ContentOption) String() string
func (ContentOption) Type ¶
func (ContentOption) Type() protoreflect.EnumType
type CreateDeidentifyTemplateRequest ¶
type CreateDeidentifyTemplateRequest struct { // Required. Parent resource name. // // The format of this value varies depending on the scope of the request // (project or organization) and whether you have [specified a processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // - Organizations scope, location specified:<br/> // `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> // - Organizations scope, no location specified (defaults to global):<br/> // `organizations/`<var>ORG_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The DeidentifyTemplate to create. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` // The template id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for CreateDeidentifyTemplate.
func (*CreateDeidentifyTemplateRequest) Descriptor
deprecated
func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeidentifyTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateDeidentifyTemplateRequest) GetDeidentifyTemplate ¶
func (x *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
func (*CreateDeidentifyTemplateRequest) GetLocationId ¶
func (x *CreateDeidentifyTemplateRequest) GetLocationId() string
func (*CreateDeidentifyTemplateRequest) GetParent ¶
func (x *CreateDeidentifyTemplateRequest) GetParent() string
func (*CreateDeidentifyTemplateRequest) GetTemplateId ¶
func (x *CreateDeidentifyTemplateRequest) GetTemplateId() string
func (*CreateDeidentifyTemplateRequest) ProtoMessage ¶
func (*CreateDeidentifyTemplateRequest) ProtoMessage()
func (*CreateDeidentifyTemplateRequest) ProtoReflect ¶
func (x *CreateDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateDeidentifyTemplateRequest) Reset ¶
func (x *CreateDeidentifyTemplateRequest) Reset()
func (*CreateDeidentifyTemplateRequest) String ¶
func (x *CreateDeidentifyTemplateRequest) String() string
type CreateDiscoveryConfigRequest ¶ added in v1.11.0
type CreateDiscoveryConfigRequest struct { // Required. Parent resource name. // // The format of this value is as follows: // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The DiscoveryConfig to create. DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,2,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"` // The config ID can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. ConfigId string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` // contains filtered or unexported fields }
Request message for CreateDiscoveryConfig.
func (*CreateDiscoveryConfigRequest) Descriptor
deprecated
added in
v1.11.0
func (*CreateDiscoveryConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDiscoveryConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateDiscoveryConfigRequest) GetConfigId ¶ added in v1.11.0
func (x *CreateDiscoveryConfigRequest) GetConfigId() string
func (*CreateDiscoveryConfigRequest) GetDiscoveryConfig ¶ added in v1.11.0
func (x *CreateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig
func (*CreateDiscoveryConfigRequest) GetParent ¶ added in v1.11.0
func (x *CreateDiscoveryConfigRequest) GetParent() string
func (*CreateDiscoveryConfigRequest) ProtoMessage ¶ added in v1.11.0
func (*CreateDiscoveryConfigRequest) ProtoMessage()
func (*CreateDiscoveryConfigRequest) ProtoReflect ¶ added in v1.11.0
func (x *CreateDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateDiscoveryConfigRequest) Reset ¶ added in v1.11.0
func (x *CreateDiscoveryConfigRequest) Reset()
func (*CreateDiscoveryConfigRequest) String ¶ added in v1.11.0
func (x *CreateDiscoveryConfigRequest) String() string
type CreateDlpJobRequest ¶
type CreateDlpJobRequest struct { // Required. Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The configuration details for the specific type of job to run. // // Types that are assignable to Job: // // *CreateDlpJobRequest_InspectJob // *CreateDlpJobRequest_RiskJob Job isCreateDlpJobRequest_Job `protobuf_oneof:"job"` // The job id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.
func (*CreateDlpJobRequest) Descriptor
deprecated
func (*CreateDlpJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDlpJobRequest.ProtoReflect.Descriptor instead.
func (*CreateDlpJobRequest) GetInspectJob ¶
func (x *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig
func (*CreateDlpJobRequest) GetJob ¶
func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job
func (*CreateDlpJobRequest) GetJobId ¶
func (x *CreateDlpJobRequest) GetJobId() string
func (*CreateDlpJobRequest) GetLocationId ¶
func (x *CreateDlpJobRequest) GetLocationId() string
func (*CreateDlpJobRequest) GetParent ¶
func (x *CreateDlpJobRequest) GetParent() string
func (*CreateDlpJobRequest) GetRiskJob ¶
func (x *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig
func (*CreateDlpJobRequest) ProtoMessage ¶
func (*CreateDlpJobRequest) ProtoMessage()
func (*CreateDlpJobRequest) ProtoReflect ¶
func (x *CreateDlpJobRequest) ProtoReflect() protoreflect.Message
func (*CreateDlpJobRequest) Reset ¶
func (x *CreateDlpJobRequest) Reset()
func (*CreateDlpJobRequest) String ¶
func (x *CreateDlpJobRequest) String() string
type CreateDlpJobRequest_InspectJob ¶
type CreateDlpJobRequest_InspectJob struct { // An inspection job scans a storage repository for InfoTypes. InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"` }
type CreateDlpJobRequest_RiskJob ¶
type CreateDlpJobRequest_RiskJob struct { // A risk analysis job calculates re-identification risk metrics for a // BigQuery table. RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"` }
type CreateInspectTemplateRequest ¶
type CreateInspectTemplateRequest struct { // Required. Parent resource name. // // The format of this value varies depending on the scope of the request // (project or organization) and whether you have [specified a processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // - Organizations scope, location specified:<br/> // `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> // - Organizations scope, no location specified (defaults to global):<br/> // `organizations/`<var>ORG_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The InspectTemplate to create. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` // The template id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for CreateInspectTemplate.
func (*CreateInspectTemplateRequest) Descriptor
deprecated
func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInspectTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateInspectTemplateRequest) GetInspectTemplate ¶
func (x *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
func (*CreateInspectTemplateRequest) GetLocationId ¶
func (x *CreateInspectTemplateRequest) GetLocationId() string
func (*CreateInspectTemplateRequest) GetParent ¶
func (x *CreateInspectTemplateRequest) GetParent() string
func (*CreateInspectTemplateRequest) GetTemplateId ¶
func (x *CreateInspectTemplateRequest) GetTemplateId() string
func (*CreateInspectTemplateRequest) ProtoMessage ¶
func (*CreateInspectTemplateRequest) ProtoMessage()
func (*CreateInspectTemplateRequest) ProtoReflect ¶
func (x *CreateInspectTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateInspectTemplateRequest) Reset ¶
func (x *CreateInspectTemplateRequest) Reset()
func (*CreateInspectTemplateRequest) String ¶
func (x *CreateInspectTemplateRequest) String() string
type CreateJobTriggerRequest ¶
type CreateJobTriggerRequest struct { // Required. Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The JobTrigger to create. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` // The trigger id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for CreateJobTrigger.
func (*CreateJobTriggerRequest) Descriptor
deprecated
func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobTriggerRequest.ProtoReflect.Descriptor instead.
func (*CreateJobTriggerRequest) GetJobTrigger ¶
func (x *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger
func (*CreateJobTriggerRequest) GetLocationId ¶
func (x *CreateJobTriggerRequest) GetLocationId() string
func (*CreateJobTriggerRequest) GetParent ¶
func (x *CreateJobTriggerRequest) GetParent() string
func (*CreateJobTriggerRequest) GetTriggerId ¶
func (x *CreateJobTriggerRequest) GetTriggerId() string
func (*CreateJobTriggerRequest) ProtoMessage ¶
func (*CreateJobTriggerRequest) ProtoMessage()
func (*CreateJobTriggerRequest) ProtoReflect ¶
func (x *CreateJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*CreateJobTriggerRequest) Reset ¶
func (x *CreateJobTriggerRequest) Reset()
func (*CreateJobTriggerRequest) String ¶
func (x *CreateJobTriggerRequest) String() string
type CreateStoredInfoTypeRequest ¶
type CreateStoredInfoTypeRequest struct { // Required. Parent resource name. // // The format of this value varies depending on the scope of the request // (project or organization) and whether you have [specified a processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // - Organizations scope, location specified:<br/> // `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> // - Organizations scope, no location specified (defaults to global):<br/> // `organizations/`<var>ORG_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Configuration of the storedInfoType to create. Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // The storedInfoType ID can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. StoredInfoTypeId string `protobuf:"bytes,3,opt,name=stored_info_type_id,json=storedInfoTypeId,proto3" json:"stored_info_type_id,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for CreateStoredInfoType.
func (*CreateStoredInfoTypeRequest) Descriptor
deprecated
func (*CreateStoredInfoTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStoredInfoTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateStoredInfoTypeRequest) GetConfig ¶
func (x *CreateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig
func (*CreateStoredInfoTypeRequest) GetLocationId ¶
func (x *CreateStoredInfoTypeRequest) GetLocationId() string
func (*CreateStoredInfoTypeRequest) GetParent ¶
func (x *CreateStoredInfoTypeRequest) GetParent() string
func (*CreateStoredInfoTypeRequest) GetStoredInfoTypeId ¶
func (x *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string
func (*CreateStoredInfoTypeRequest) ProtoMessage ¶
func (*CreateStoredInfoTypeRequest) ProtoMessage()
func (*CreateStoredInfoTypeRequest) ProtoReflect ¶
func (x *CreateStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateStoredInfoTypeRequest) Reset ¶
func (x *CreateStoredInfoTypeRequest) Reset()
func (*CreateStoredInfoTypeRequest) String ¶
func (x *CreateStoredInfoTypeRequest) String() string
type CryptoDeterministicConfig ¶
type CryptoDeterministicConfig struct { // The key used by the encryption function. For deterministic encryption // using AES-SIV, the provided key is internally expanded to 64 bytes prior to // use. CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` // The custom info type to annotate the surrogate with. // This annotation will be applied to the surrogate by prefixing it with // the name of the custom info type followed by the number of // characters comprising the surrogate. The following scheme defines the // format: {info type name}({surrogate character count}):{surrogate} // // For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and // the surrogate is 'abc', the full replacement value // will be: 'MY_TOKEN_INFO_TYPE(3):abc' // // This annotation identifies the surrogate when inspecting content using the // custom info type 'Surrogate'. This facilitates reversal of the // surrogate when it occurs in free text. // // Note: For record transformations where the entire cell in a table is being // transformed, surrogates are not mandatory. Surrogates are used to denote // the location of the token and are necessary for re-identification in free // form text. // // In order for inspection to work properly, the name of this info type must // not occur naturally anywhere in your data; otherwise, inspection may either // // - reverse a surrogate that does not correspond to an actual identifier // - be unable to parse the surrogate and result in an error // // Therefore, choose your custom info type name carefully after considering // what your data looks like. One way to select a name that has a high chance // of yielding reliable detection is to include one or more unicode characters // that are highly improbable to exist in your data. // For example, assuming your data is entered from a regular ASCII keyboard, // the symbol with the hex code point 29DD might be used like so: // ⧝MY_TOKEN_TYPE. SurrogateInfoType *InfoType `protobuf:"bytes,2,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"` // A context may be used for higher security and maintaining // referential integrity such that the same identifier in two different // contexts will be given a distinct surrogate. The context is appended to // plaintext value being encrypted. On decryption the provided context is // validated against the value used during encryption. If a context was // provided during encryption, same context must be provided during decryption // as well. // // If the context is not set, plaintext would be used as is for encryption. // If the context is set but: // // 1. there is no record present when transforming a given value or // 2. the field is not present when transforming a given value, // // plaintext would be used as is for encryption. // // Note that case (1) is expected when an `InfoTypeTransformation` is // applied to both structured and unstructured `ContentItem`s. Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
func (*CryptoDeterministicConfig) Descriptor
deprecated
func (*CryptoDeterministicConfig) Descriptor() ([]byte, []int)
Deprecated: Use CryptoDeterministicConfig.ProtoReflect.Descriptor instead.
func (*CryptoDeterministicConfig) GetContext ¶
func (x *CryptoDeterministicConfig) GetContext() *FieldId
func (*CryptoDeterministicConfig) GetCryptoKey ¶
func (x *CryptoDeterministicConfig) GetCryptoKey() *CryptoKey
func (*CryptoDeterministicConfig) GetSurrogateInfoType ¶
func (x *CryptoDeterministicConfig) GetSurrogateInfoType() *InfoType
func (*CryptoDeterministicConfig) ProtoMessage ¶
func (*CryptoDeterministicConfig) ProtoMessage()
func (*CryptoDeterministicConfig) ProtoReflect ¶
func (x *CryptoDeterministicConfig) ProtoReflect() protoreflect.Message
func (*CryptoDeterministicConfig) Reset ¶
func (x *CryptoDeterministicConfig) Reset()
func (*CryptoDeterministicConfig) String ¶
func (x *CryptoDeterministicConfig) String() string
type CryptoHashConfig ¶
type CryptoHashConfig struct { // The key used by the hash function. CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` // contains filtered or unexported fields }
Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization to learn more.
func (*CryptoHashConfig) Descriptor
deprecated
func (*CryptoHashConfig) Descriptor() ([]byte, []int)
Deprecated: Use CryptoHashConfig.ProtoReflect.Descriptor instead.
func (*CryptoHashConfig) GetCryptoKey ¶
func (x *CryptoHashConfig) GetCryptoKey() *CryptoKey
func (*CryptoHashConfig) ProtoMessage ¶
func (*CryptoHashConfig) ProtoMessage()
func (*CryptoHashConfig) ProtoReflect ¶
func (x *CryptoHashConfig) ProtoReflect() protoreflect.Message
func (*CryptoHashConfig) Reset ¶
func (x *CryptoHashConfig) Reset()
func (*CryptoHashConfig) String ¶
func (x *CryptoHashConfig) String() string
type CryptoKey ¶
type CryptoKey struct { // Sources of crypto keys. // // Types that are assignable to Source: // // *CryptoKey_Transient // *CryptoKey_Unwrapped // *CryptoKey_KmsWrapped Source isCryptoKey_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.
func (*CryptoKey) Descriptor
deprecated
func (*CryptoKey) GetKmsWrapped ¶
func (x *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey
func (*CryptoKey) GetTransient ¶
func (x *CryptoKey) GetTransient() *TransientCryptoKey
func (*CryptoKey) GetUnwrapped ¶
func (x *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey
func (*CryptoKey) ProtoMessage ¶
func (*CryptoKey) ProtoMessage()
func (*CryptoKey) ProtoReflect ¶
func (x *CryptoKey) ProtoReflect() protoreflect.Message
type CryptoKey_KmsWrapped ¶
type CryptoKey_KmsWrapped struct { // Key wrapped using Cloud KMS KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,proto3,oneof"` }
type CryptoKey_Transient ¶
type CryptoKey_Transient struct { // Transient crypto key Transient *TransientCryptoKey `protobuf:"bytes,1,opt,name=transient,proto3,oneof"` }
type CryptoKey_Unwrapped ¶
type CryptoKey_Unwrapped struct { // Unwrapped crypto key Unwrapped *UnwrappedCryptoKey `protobuf:"bytes,2,opt,name=unwrapped,proto3,oneof"` }
type CryptoReplaceFfxFpeConfig ¶
type CryptoReplaceFfxFpeConfig struct { // Required. The key used by the encryption algorithm. CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` // The 'tweak', a context may be used for higher security since the same // identifier in two different contexts won't be given the same surrogate. If // the context is not set, a default tweak will be used. // // If the context is set but: // // 1. there is no record present when transforming a given value or // 1. the field is not present when transforming a given value, // // a default tweak will be used. // // Note that case (1) is expected when an `InfoTypeTransformation` is // applied to both structured and unstructured `ContentItem`s. // Currently, the referenced field may be of value type integer or string. // // The tweak is constructed as a sequence of bytes in big endian byte order // such that: // // - a 64 bit integer is encoded followed by a single byte of value 1 // - a string is encoded in UTF-8 format followed by a single byte of value 2 Context *FieldId `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // Choose an alphabet which the data being transformed will be made up of. // // Types that are assignable to Alphabet: // // *CryptoReplaceFfxFpeConfig_CommonAlphabet // *CryptoReplaceFfxFpeConfig_CustomAlphabet // *CryptoReplaceFfxFpeConfig_Radix Alphabet isCryptoReplaceFfxFpeConfig_Alphabet `protobuf_oneof:"alphabet"` // The custom infoType to annotate the surrogate with. // This annotation will be applied to the surrogate by prefixing it with // the name of the custom infoType followed by the number of // characters comprising the surrogate. The following scheme defines the // format: info_type_name(surrogate_character_count):surrogate // // For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and // the surrogate is 'abc', the full replacement value // will be: 'MY_TOKEN_INFO_TYPE(3):abc' // // This annotation identifies the surrogate when inspecting content using the // custom infoType // [`SurrogateType`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). // This facilitates reversal of the surrogate when it occurs in free text. // // In order for inspection to work properly, the name of this infoType must // not occur naturally anywhere in your data; otherwise, inspection may // find a surrogate that does not correspond to an actual identifier. // Therefore, choose your custom infoType name carefully after considering // what your data looks like. One way to select a name that has a high chance // of yielding reliable detection is to include one or more unicode characters // that are highly improbable to exist in your data. // For example, assuming your data is entered from a regular ASCII keyboard, // the symbol with the hex code point 29DD might be used like so: // ⧝MY_TOKEN_TYPE SurrogateInfoType *InfoType `protobuf:"bytes,8,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"` // contains filtered or unexported fields }
Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the `ReidentifyContent` API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization to learn more.
Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity.
func (*CryptoReplaceFfxFpeConfig) Descriptor
deprecated
func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int)
Deprecated: Use CryptoReplaceFfxFpeConfig.ProtoReflect.Descriptor instead.
func (*CryptoReplaceFfxFpeConfig) GetAlphabet ¶
func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet
func (*CryptoReplaceFfxFpeConfig) GetCommonAlphabet ¶
func (x *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
func (*CryptoReplaceFfxFpeConfig) GetContext ¶
func (x *CryptoReplaceFfxFpeConfig) GetContext() *FieldId
func (*CryptoReplaceFfxFpeConfig) GetCryptoKey ¶
func (x *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey
func (*CryptoReplaceFfxFpeConfig) GetCustomAlphabet ¶
func (x *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string
func (*CryptoReplaceFfxFpeConfig) GetRadix ¶
func (x *CryptoReplaceFfxFpeConfig) GetRadix() int32
func (*CryptoReplaceFfxFpeConfig) GetSurrogateInfoType ¶
func (x *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType
func (*CryptoReplaceFfxFpeConfig) ProtoMessage ¶
func (*CryptoReplaceFfxFpeConfig) ProtoMessage()
func (*CryptoReplaceFfxFpeConfig) ProtoReflect ¶
func (x *CryptoReplaceFfxFpeConfig) ProtoReflect() protoreflect.Message
func (*CryptoReplaceFfxFpeConfig) Reset ¶
func (x *CryptoReplaceFfxFpeConfig) Reset()
func (*CryptoReplaceFfxFpeConfig) String ¶
func (x *CryptoReplaceFfxFpeConfig) String() string
type CryptoReplaceFfxFpeConfig_CommonAlphabet ¶
type CryptoReplaceFfxFpeConfig_CommonAlphabet struct { // Common alphabets. CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `` /* 154-byte string literal not displayed */ }
type CryptoReplaceFfxFpeConfig_CustomAlphabet ¶
type CryptoReplaceFfxFpeConfig_CustomAlphabet struct { // This is supported by mapping these to the alphanumeric characters // that the FFX mode natively supports. This happens before/after // encryption/decryption. // Each character listed must appear only once. // Number of characters must be in the range [2, 95]. // This must be encoded as ASCII. // The order of characters does not matter. // The full list of allowed characters is: // <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz // ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/</code> CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"` }
type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet ¶
type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet int32
These are commonly used subsets of the alphabet that the FFX mode natively supports. In the algorithm, the alphabet is selected using the "radix". Therefore each corresponds to a particular radix.
const ( // Unused. CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 0 // `[0-9]` (radix of 10) CryptoReplaceFfxFpeConfig_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 1 // `[0-9A-F]` (radix of 16) CryptoReplaceFfxFpeConfig_HEXADECIMAL CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 2 // `[0-9A-Z]` (radix of 36) CryptoReplaceFfxFpeConfig_UPPER_CASE_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 3 // `[0-9A-Za-z]` (radix of 62) CryptoReplaceFfxFpeConfig_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 4 )
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Descriptor ¶
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Descriptor() protoreflect.EnumDescriptor
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor
deprecated
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor() ([]byte, []int)
Deprecated: Use CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet.Descriptor instead.
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Number ¶
func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) Number() protoreflect.EnumNumber
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String ¶
func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string
type CryptoReplaceFfxFpeConfig_Radix ¶
type CryptoReplaceFfxFpeConfig_Radix struct { // The native way to select the alphabet. Must be in the range [2, 95]. Radix int32 `protobuf:"varint,6,opt,name=radix,proto3,oneof"` }
type CustomInfoType ¶
type CustomInfoType struct { // CustomInfoType can either be a new infoType, or an extension of built-in // infoType, when the name matches one of existing infoTypes and that infoType // is specified in `InspectContent.info_types` field. Specifying the latter // adds findings to the one detected by the system. If built-in info type is // not specified in `InspectContent.info_types` list then the name is treated // as a custom info type. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Likelihood to return for this CustomInfoType. This base value can be // altered by a detection rule if the finding meets the criteria specified by // the rule. Defaults to `VERY_LIKELY` if not specified. Likelihood Likelihood `protobuf:"varint,6,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"` // Type of custom detector. // // Types that are assignable to Type: // // *CustomInfoType_Dictionary_ // *CustomInfoType_Regex_ // *CustomInfoType_SurrogateType_ // *CustomInfoType_StoredType Type isCustomInfoType_Type `protobuf_oneof:"type"` // Set of detection rules to apply to all findings of this CustomInfoType. // Rules are applied in order that they are specified. Not supported for the // `surrogate_type` CustomInfoType. DetectionRules []*CustomInfoType_DetectionRule `protobuf:"bytes,7,rep,name=detection_rules,json=detectionRules,proto3" json:"detection_rules,omitempty"` // If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding // to be returned. It still can be used for rules matching. ExclusionType CustomInfoType_ExclusionType `` /* 157-byte string literal not displayed */ // Sensitivity for this CustomInfoType. If this CustomInfoType extends an // existing InfoType, the sensitivity here will take precedence over that of // the original InfoType. If unset for a CustomInfoType, it will default to // HIGH. // This only applies to data profiling. SensitivityScore *SensitivityScore `protobuf:"bytes,9,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"` // contains filtered or unexported fields }
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
func (*CustomInfoType) Descriptor
deprecated
func (*CustomInfoType) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType.ProtoReflect.Descriptor instead.
func (*CustomInfoType) GetDetectionRules ¶
func (x *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule
func (*CustomInfoType) GetDictionary ¶
func (x *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary
func (*CustomInfoType) GetExclusionType ¶
func (x *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType
func (*CustomInfoType) GetInfoType ¶
func (x *CustomInfoType) GetInfoType() *InfoType
func (*CustomInfoType) GetLikelihood ¶
func (x *CustomInfoType) GetLikelihood() Likelihood
func (*CustomInfoType) GetRegex ¶
func (x *CustomInfoType) GetRegex() *CustomInfoType_Regex
func (*CustomInfoType) GetSensitivityScore ¶ added in v1.11.0
func (x *CustomInfoType) GetSensitivityScore() *SensitivityScore
func (*CustomInfoType) GetStoredType ¶
func (x *CustomInfoType) GetStoredType() *StoredType
func (*CustomInfoType) GetSurrogateType ¶
func (x *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType
func (*CustomInfoType) GetType ¶
func (m *CustomInfoType) GetType() isCustomInfoType_Type
func (*CustomInfoType) ProtoMessage ¶
func (*CustomInfoType) ProtoMessage()
func (*CustomInfoType) ProtoReflect ¶
func (x *CustomInfoType) ProtoReflect() protoreflect.Message
func (*CustomInfoType) Reset ¶
func (x *CustomInfoType) Reset()
func (*CustomInfoType) String ¶
func (x *CustomInfoType) String() string
type CustomInfoType_DetectionRule ¶
type CustomInfoType_DetectionRule struct { // Type of hotword rule. // // Types that are assignable to Type: // // *CustomInfoType_DetectionRule_HotwordRule_ Type isCustomInfoType_DetectionRule_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Deprecated; use `InspectionRuleSet` instead. Rule for modifying a `CustomInfoType` to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom infoType.
func (*CustomInfoType_DetectionRule) Descriptor
deprecated
func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_DetectionRule.ProtoReflect.Descriptor instead.
func (*CustomInfoType_DetectionRule) GetHotwordRule ¶
func (x *CustomInfoType_DetectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule
func (*CustomInfoType_DetectionRule) GetType ¶
func (m *CustomInfoType_DetectionRule) GetType() isCustomInfoType_DetectionRule_Type
func (*CustomInfoType_DetectionRule) ProtoMessage ¶
func (*CustomInfoType_DetectionRule) ProtoMessage()
func (*CustomInfoType_DetectionRule) ProtoReflect ¶
func (x *CustomInfoType_DetectionRule) ProtoReflect() protoreflect.Message
func (*CustomInfoType_DetectionRule) Reset ¶
func (x *CustomInfoType_DetectionRule) Reset()
func (*CustomInfoType_DetectionRule) String ¶
func (x *CustomInfoType_DetectionRule) String() string
type CustomInfoType_DetectionRule_HotwordRule ¶
type CustomInfoType_DetectionRule_HotwordRule struct { // Regular expression pattern defining what qualifies as a hotword. HotwordRegex *CustomInfoType_Regex `protobuf:"bytes,1,opt,name=hotword_regex,json=hotwordRegex,proto3" json:"hotword_regex,omitempty"` // Range of characters within which the entire hotword must reside. // The total length of the window cannot exceed 1000 characters. // The finding itself will be included in the window, so that hotwords can // be used to match substrings of the finding itself. Suppose you // want Cloud DLP to promote the likelihood of the phone number // regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the // area code of a company's office. In this case, use the hotword regex // "\(xxx\)", where "xxx" is the area code in question. // // For tabular data, if you want to modify the likelihood of an entire // column of findngs, see // [Hotword example: Set the match likelihood of a table column] // (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). Proximity *CustomInfoType_DetectionRule_Proximity `protobuf:"bytes,2,opt,name=proximity,proto3" json:"proximity,omitempty"` // Likelihood adjustment to apply to all matching findings. LikelihoodAdjustment *CustomInfoType_DetectionRule_LikelihoodAdjustment `protobuf:"bytes,3,opt,name=likelihood_adjustment,json=likelihoodAdjustment,proto3" json:"likelihood_adjustment,omitempty"` // contains filtered or unexported fields }
The rule that adjusts the likelihood of findings within a certain proximity of hotwords.
func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor
deprecated
func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_DetectionRule_HotwordRule.ProtoReflect.Descriptor instead.
func (*CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex ¶
func (x *CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex() *CustomInfoType_Regex
func (*CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment ¶
func (x *CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment() *CustomInfoType_DetectionRule_LikelihoodAdjustment
func (*CustomInfoType_DetectionRule_HotwordRule) GetProximity ¶
func (x *CustomInfoType_DetectionRule_HotwordRule) GetProximity() *CustomInfoType_DetectionRule_Proximity
func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage ¶
func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage()
func (*CustomInfoType_DetectionRule_HotwordRule) ProtoReflect ¶
func (x *CustomInfoType_DetectionRule_HotwordRule) ProtoReflect() protoreflect.Message
func (*CustomInfoType_DetectionRule_HotwordRule) Reset ¶
func (x *CustomInfoType_DetectionRule_HotwordRule) Reset()
func (*CustomInfoType_DetectionRule_HotwordRule) String ¶
func (x *CustomInfoType_DetectionRule_HotwordRule) String() string
type CustomInfoType_DetectionRule_HotwordRule_ ¶
type CustomInfoType_DetectionRule_HotwordRule_ struct { // Hotword-based detection rule. HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"` }
type CustomInfoType_DetectionRule_LikelihoodAdjustment ¶
type CustomInfoType_DetectionRule_LikelihoodAdjustment struct { // How the likelihood will be modified. // // Types that are assignable to Adjustment: // // *CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood // *CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood Adjustment isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment `protobuf_oneof:"adjustment"` // contains filtered or unexported fields }
Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor
deprecated
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_DetectionRule_LikelihoodAdjustment.ProtoReflect.Descriptor instead.
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment ¶
func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood ¶
func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood() Likelihood
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood ¶
func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage ¶
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage()
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoReflect ¶
func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoReflect() protoreflect.Message
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset ¶
func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset()
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) String ¶
func (x *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string
type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood ¶
type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood struct { // Set the likelihood of a finding to a fixed value. FixedLikelihood Likelihood `protobuf:"varint,1,opt,name=fixed_likelihood,json=fixedLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood,oneof"` }
type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood ¶
type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood struct { // Increase or decrease the likelihood by the specified number of // levels. For example, if a finding would be `POSSIBLE` without the // detection rule and `relative_likelihood` is 1, then it is upgraded to // `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`. // Likelihood may never drop below `VERY_UNLIKELY` or exceed // `VERY_LIKELY`, so applying an adjustment of 1 followed by an // adjustment of -1 when base likelihood is `VERY_LIKELY` will result in // a final likelihood of `LIKELY`. RelativeLikelihood int32 `protobuf:"varint,2,opt,name=relative_likelihood,json=relativeLikelihood,proto3,oneof"` }
type CustomInfoType_DetectionRule_Proximity ¶
type CustomInfoType_DetectionRule_Proximity struct { // Number of characters before the finding to consider. For tabular data, // if you want to modify the likelihood of an entire column of findngs, // set this to 1. For more information, see // [Hotword example: Set the match likelihood of a table column] // (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). WindowBefore int32 `protobuf:"varint,1,opt,name=window_before,json=windowBefore,proto3" json:"window_before,omitempty"` // Number of characters after the finding to consider. WindowAfter int32 `protobuf:"varint,2,opt,name=window_after,json=windowAfter,proto3" json:"window_after,omitempty"` // contains filtered or unexported fields }
Message for specifying a window around a finding to apply a detection rule.
func (*CustomInfoType_DetectionRule_Proximity) Descriptor
deprecated
func (*CustomInfoType_DetectionRule_Proximity) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_DetectionRule_Proximity.ProtoReflect.Descriptor instead.
func (*CustomInfoType_DetectionRule_Proximity) GetWindowAfter ¶
func (x *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32
func (*CustomInfoType_DetectionRule_Proximity) GetWindowBefore ¶
func (x *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32
func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage ¶
func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage()
func (*CustomInfoType_DetectionRule_Proximity) ProtoReflect ¶
func (x *CustomInfoType_DetectionRule_Proximity) ProtoReflect() protoreflect.Message
func (*CustomInfoType_DetectionRule_Proximity) Reset ¶
func (x *CustomInfoType_DetectionRule_Proximity) Reset()
func (*CustomInfoType_DetectionRule_Proximity) String ¶
func (x *CustomInfoType_DetectionRule_Proximity) String() string
type CustomInfoType_Dictionary ¶
type CustomInfoType_Dictionary struct { // The potential places the data can be read from. // // Types that are assignable to Source: // // *CustomInfoType_Dictionary_WordList_ // *CustomInfoType_Dictionary_CloudStoragePath Source isCustomInfoType_Dictionary_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles.
Dictionary words are case-insensitive and all characters other than letters and digits in the unicode [Basic Multilingual Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer".
Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The [limits](https://cloud.google.com/sensitive-data-protection/limits) page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.
func (*CustomInfoType_Dictionary) Descriptor
deprecated
func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_Dictionary.ProtoReflect.Descriptor instead.
func (*CustomInfoType_Dictionary) GetCloudStoragePath ¶
func (x *CustomInfoType_Dictionary) GetCloudStoragePath() *CloudStoragePath
func (*CustomInfoType_Dictionary) GetSource ¶
func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source
func (*CustomInfoType_Dictionary) GetWordList ¶
func (x *CustomInfoType_Dictionary) GetWordList() *CustomInfoType_Dictionary_WordList
func (*CustomInfoType_Dictionary) ProtoMessage ¶
func (*CustomInfoType_Dictionary) ProtoMessage()
func (*CustomInfoType_Dictionary) ProtoReflect ¶
func (x *CustomInfoType_Dictionary) ProtoReflect() protoreflect.Message
func (*CustomInfoType_Dictionary) Reset ¶
func (x *CustomInfoType_Dictionary) Reset()
func (*CustomInfoType_Dictionary) String ¶
func (x *CustomInfoType_Dictionary) String() string
type CustomInfoType_Dictionary_ ¶
type CustomInfoType_Dictionary_ struct { // A list of phrases to detect as a CustomInfoType. Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,2,opt,name=dictionary,proto3,oneof"` }
type CustomInfoType_Dictionary_CloudStoragePath ¶
type CustomInfoType_Dictionary_CloudStoragePath struct { // Newline-delimited file of words in Cloud Storage. Only a single file // is accepted. CloudStoragePath *CloudStoragePath `protobuf:"bytes,3,opt,name=cloud_storage_path,json=cloudStoragePath,proto3,oneof"` }
type CustomInfoType_Dictionary_WordList ¶
type CustomInfoType_Dictionary_WordList struct { // Words or phrases defining the dictionary. The dictionary must contain // at least one phrase and every phrase must contain at least 2 characters // that are letters or digits. [required] Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
Message defining a list of words or phrases to search for in the data.
func (*CustomInfoType_Dictionary_WordList) Descriptor
deprecated
func (*CustomInfoType_Dictionary_WordList) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_Dictionary_WordList.ProtoReflect.Descriptor instead.
func (*CustomInfoType_Dictionary_WordList) GetWords ¶
func (x *CustomInfoType_Dictionary_WordList) GetWords() []string
func (*CustomInfoType_Dictionary_WordList) ProtoMessage ¶
func (*CustomInfoType_Dictionary_WordList) ProtoMessage()
func (*CustomInfoType_Dictionary_WordList) ProtoReflect ¶
func (x *CustomInfoType_Dictionary_WordList) ProtoReflect() protoreflect.Message
func (*CustomInfoType_Dictionary_WordList) Reset ¶
func (x *CustomInfoType_Dictionary_WordList) Reset()
func (*CustomInfoType_Dictionary_WordList) String ¶
func (x *CustomInfoType_Dictionary_WordList) String() string
type CustomInfoType_Dictionary_WordList_ ¶
type CustomInfoType_Dictionary_WordList_ struct { // List of words or phrases to search for. WordList *CustomInfoType_Dictionary_WordList `protobuf:"bytes,1,opt,name=word_list,json=wordList,proto3,oneof"` }
type CustomInfoType_ExclusionType ¶
type CustomInfoType_ExclusionType int32
Type of exclusion rule.
const ( // A finding of this custom info type will not be excluded from results. CustomInfoType_EXCLUSION_TYPE_UNSPECIFIED CustomInfoType_ExclusionType = 0 // A finding of this custom info type will be excluded from final results, // but can still affect rule execution. CustomInfoType_EXCLUSION_TYPE_EXCLUDE CustomInfoType_ExclusionType = 1 )
func (CustomInfoType_ExclusionType) Descriptor ¶
func (CustomInfoType_ExclusionType) Descriptor() protoreflect.EnumDescriptor
func (CustomInfoType_ExclusionType) Enum ¶
func (x CustomInfoType_ExclusionType) Enum() *CustomInfoType_ExclusionType
func (CustomInfoType_ExclusionType) EnumDescriptor
deprecated
func (CustomInfoType_ExclusionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_ExclusionType.Descriptor instead.
func (CustomInfoType_ExclusionType) Number ¶
func (x CustomInfoType_ExclusionType) Number() protoreflect.EnumNumber
func (CustomInfoType_ExclusionType) String ¶
func (x CustomInfoType_ExclusionType) String() string
func (CustomInfoType_ExclusionType) Type ¶
func (CustomInfoType_ExclusionType) Type() protoreflect.EnumType
type CustomInfoType_Regex ¶
type CustomInfoType_Regex struct { // Pattern defining the regular expression. Its syntax // (https://github.com/google/re2/wiki/Syntax) can be found under the // google/re2 repository on GitHub. Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` // The index of the submatch to extract as findings. When not // specified, the entire match is returned. No more than 3 may be included. GroupIndexes []int32 `protobuf:"varint,2,rep,packed,name=group_indexes,json=groupIndexes,proto3" json:"group_indexes,omitempty"` // contains filtered or unexported fields }
Message defining a custom regular expression.
func (*CustomInfoType_Regex) Descriptor
deprecated
func (*CustomInfoType_Regex) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_Regex.ProtoReflect.Descriptor instead.
func (*CustomInfoType_Regex) GetGroupIndexes ¶
func (x *CustomInfoType_Regex) GetGroupIndexes() []int32
func (*CustomInfoType_Regex) GetPattern ¶
func (x *CustomInfoType_Regex) GetPattern() string
func (*CustomInfoType_Regex) ProtoMessage ¶
func (*CustomInfoType_Regex) ProtoMessage()
func (*CustomInfoType_Regex) ProtoReflect ¶
func (x *CustomInfoType_Regex) ProtoReflect() protoreflect.Message
func (*CustomInfoType_Regex) Reset ¶
func (x *CustomInfoType_Regex) Reset()
func (*CustomInfoType_Regex) String ¶
func (x *CustomInfoType_Regex) String() string
type CustomInfoType_Regex_ ¶
type CustomInfoType_Regex_ struct { // Regular expression based CustomInfoType. Regex *CustomInfoType_Regex `protobuf:"bytes,3,opt,name=regex,proto3,oneof"` }
type CustomInfoType_StoredType ¶
type CustomInfoType_StoredType struct { // Load an existing `StoredInfoType` resource for use in // `InspectDataSource`. Not currently supported in `InspectContent`. StoredType *StoredType `protobuf:"bytes,5,opt,name=stored_type,json=storedType,proto3,oneof"` }
type CustomInfoType_SurrogateType ¶
type CustomInfoType_SurrogateType struct {
// contains filtered or unexported fields
}
Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as `surrogate_info_type`. This CustomInfoType does not support the use of `detection_rules`.
func (*CustomInfoType_SurrogateType) Descriptor
deprecated
func (*CustomInfoType_SurrogateType) Descriptor() ([]byte, []int)
Deprecated: Use CustomInfoType_SurrogateType.ProtoReflect.Descriptor instead.
func (*CustomInfoType_SurrogateType) ProtoMessage ¶
func (*CustomInfoType_SurrogateType) ProtoMessage()
func (*CustomInfoType_SurrogateType) ProtoReflect ¶
func (x *CustomInfoType_SurrogateType) ProtoReflect() protoreflect.Message
func (*CustomInfoType_SurrogateType) Reset ¶
func (x *CustomInfoType_SurrogateType) Reset()
func (*CustomInfoType_SurrogateType) String ¶
func (x *CustomInfoType_SurrogateType) String() string
type CustomInfoType_SurrogateType_ ¶
type CustomInfoType_SurrogateType_ struct { // Message for detecting output from deidentification transformations that // support reversing. SurrogateType *CustomInfoType_SurrogateType `protobuf:"bytes,4,opt,name=surrogate_type,json=surrogateType,proto3,oneof"` }
type DataProfileAction ¶
type DataProfileAction struct { // Type of action to execute when a profile is generated. // // Types that are assignable to Action: // // *DataProfileAction_ExportData // *DataProfileAction_PubSubNotification_ Action isDataProfileAction_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
A task to execute when a data profile has been generated.
func (*DataProfileAction) Descriptor
deprecated
func (*DataProfileAction) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileAction.ProtoReflect.Descriptor instead.
func (*DataProfileAction) GetAction ¶
func (m *DataProfileAction) GetAction() isDataProfileAction_Action
func (*DataProfileAction) GetExportData ¶
func (x *DataProfileAction) GetExportData() *DataProfileAction_Export
func (*DataProfileAction) GetPubSubNotification ¶
func (x *DataProfileAction) GetPubSubNotification() *DataProfileAction_PubSubNotification
func (*DataProfileAction) ProtoMessage ¶
func (*DataProfileAction) ProtoMessage()
func (*DataProfileAction) ProtoReflect ¶
func (x *DataProfileAction) ProtoReflect() protoreflect.Message
func (*DataProfileAction) Reset ¶
func (x *DataProfileAction) Reset()
func (*DataProfileAction) String ¶
func (x *DataProfileAction) String() string
type DataProfileAction_EventType ¶
type DataProfileAction_EventType int32
Types of event that can trigger an action.
const ( // Unused. DataProfileAction_EVENT_TYPE_UNSPECIFIED DataProfileAction_EventType = 0 // New profile (not a re-profile). DataProfileAction_NEW_PROFILE DataProfileAction_EventType = 1 // Changed one of the following profile metrics: // * Table data risk score // * Table sensitivity score // * Table resource visibility // * Table encryption type // * Table predicted infoTypes // * Table other infoTypes DataProfileAction_CHANGED_PROFILE DataProfileAction_EventType = 2 // Table data risk score or sensitivity score increased. DataProfileAction_SCORE_INCREASED DataProfileAction_EventType = 3 // A user (non-internal) error occurred. DataProfileAction_ERROR_CHANGED DataProfileAction_EventType = 4 )
func (DataProfileAction_EventType) Descriptor ¶
func (DataProfileAction_EventType) Descriptor() protoreflect.EnumDescriptor
func (DataProfileAction_EventType) Enum ¶
func (x DataProfileAction_EventType) Enum() *DataProfileAction_EventType
func (DataProfileAction_EventType) EnumDescriptor
deprecated
func (DataProfileAction_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataProfileAction_EventType.Descriptor instead.
func (DataProfileAction_EventType) Number ¶
func (x DataProfileAction_EventType) Number() protoreflect.EnumNumber
func (DataProfileAction_EventType) String ¶
func (x DataProfileAction_EventType) String() string
func (DataProfileAction_EventType) Type ¶
func (DataProfileAction_EventType) Type() protoreflect.EnumType
type DataProfileAction_Export ¶
type DataProfileAction_Export struct { // Store all table and column profiles in an existing table or a new table // in an existing dataset. Each re-generation will result in a new row in // BigQuery. ProfileTable *BigQueryTable `protobuf:"bytes,1,opt,name=profile_table,json=profileTable,proto3" json:"profile_table,omitempty"` // contains filtered or unexported fields }
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
func (*DataProfileAction_Export) Descriptor
deprecated
func (*DataProfileAction_Export) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileAction_Export.ProtoReflect.Descriptor instead.
func (*DataProfileAction_Export) GetProfileTable ¶
func (x *DataProfileAction_Export) GetProfileTable() *BigQueryTable
func (*DataProfileAction_Export) ProtoMessage ¶
func (*DataProfileAction_Export) ProtoMessage()
func (*DataProfileAction_Export) ProtoReflect ¶
func (x *DataProfileAction_Export) ProtoReflect() protoreflect.Message
func (*DataProfileAction_Export) Reset ¶
func (x *DataProfileAction_Export) Reset()
func (*DataProfileAction_Export) String ¶
func (x *DataProfileAction_Export) String() string
type DataProfileAction_ExportData ¶
type DataProfileAction_ExportData struct { // Export data profiles into a provided location. ExportData *DataProfileAction_Export `protobuf:"bytes,1,opt,name=export_data,json=exportData,proto3,oneof"` }
type DataProfileAction_PubSubNotification ¶
type DataProfileAction_PubSubNotification struct { // Cloud Pub/Sub topic to send notifications to. // Format is projects/{project}/topics/{topic}. Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // The type of event that triggers a Pub/Sub. At most one // `PubSubNotification` per EventType is permitted. Event DataProfileAction_EventType `protobuf:"varint,2,opt,name=event,proto3,enum=google.privacy.dlp.v2.DataProfileAction_EventType" json:"event,omitempty"` // Conditions (e.g., data risk or sensitivity level) for triggering a // Pub/Sub. PubsubCondition *DataProfilePubSubCondition `protobuf:"bytes,3,opt,name=pubsub_condition,json=pubsubCondition,proto3" json:"pubsub_condition,omitempty"` // How much data to include in the Pub/Sub message. If the user wishes to // limit the size of the message, they can use resource_name and fetch the // profile fields they wish to. Per table profile (not per column). DetailOfMessage DataProfileAction_PubSubNotification_DetailLevel `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of `DataProfilePubSubMessage`.
func (*DataProfileAction_PubSubNotification) Descriptor
deprecated
func (*DataProfileAction_PubSubNotification) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileAction_PubSubNotification.ProtoReflect.Descriptor instead.
func (*DataProfileAction_PubSubNotification) GetDetailOfMessage ¶
func (x *DataProfileAction_PubSubNotification) GetDetailOfMessage() DataProfileAction_PubSubNotification_DetailLevel
func (*DataProfileAction_PubSubNotification) GetEvent ¶
func (x *DataProfileAction_PubSubNotification) GetEvent() DataProfileAction_EventType
func (*DataProfileAction_PubSubNotification) GetPubsubCondition ¶
func (x *DataProfileAction_PubSubNotification) GetPubsubCondition() *DataProfilePubSubCondition
func (*DataProfileAction_PubSubNotification) GetTopic ¶
func (x *DataProfileAction_PubSubNotification) GetTopic() string
func (*DataProfileAction_PubSubNotification) ProtoMessage ¶
func (*DataProfileAction_PubSubNotification) ProtoMessage()
func (*DataProfileAction_PubSubNotification) ProtoReflect ¶
func (x *DataProfileAction_PubSubNotification) ProtoReflect() protoreflect.Message
func (*DataProfileAction_PubSubNotification) Reset ¶
func (x *DataProfileAction_PubSubNotification) Reset()
func (*DataProfileAction_PubSubNotification) String ¶
func (x *DataProfileAction_PubSubNotification) String() string
type DataProfileAction_PubSubNotification_ ¶
type DataProfileAction_PubSubNotification_ struct { // Publish a message into the Pub/Sub topic. PubSubNotification *DataProfileAction_PubSubNotification `protobuf:"bytes,2,opt,name=pub_sub_notification,json=pubSubNotification,proto3,oneof"` }
type DataProfileAction_PubSubNotification_DetailLevel ¶
type DataProfileAction_PubSubNotification_DetailLevel int32
The levels of detail that can be included in the Pub/Sub message.
const ( // Unused. DataProfileAction_PubSubNotification_DETAIL_LEVEL_UNSPECIFIED DataProfileAction_PubSubNotification_DetailLevel = 0 // The full table data profile. DataProfileAction_PubSubNotification_TABLE_PROFILE DataProfileAction_PubSubNotification_DetailLevel = 1 // The resource name of the table. DataProfileAction_PubSubNotification_RESOURCE_NAME DataProfileAction_PubSubNotification_DetailLevel = 2 )
func (DataProfileAction_PubSubNotification_DetailLevel) Descriptor ¶
func (DataProfileAction_PubSubNotification_DetailLevel) Descriptor() protoreflect.EnumDescriptor
func (DataProfileAction_PubSubNotification_DetailLevel) EnumDescriptor
deprecated
func (DataProfileAction_PubSubNotification_DetailLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataProfileAction_PubSubNotification_DetailLevel.Descriptor instead.
func (DataProfileAction_PubSubNotification_DetailLevel) Number ¶
func (x DataProfileAction_PubSubNotification_DetailLevel) Number() protoreflect.EnumNumber
func (DataProfileAction_PubSubNotification_DetailLevel) String ¶
func (x DataProfileAction_PubSubNotification_DetailLevel) String() string
type DataProfileBigQueryRowSchema ¶ added in v1.11.0
type DataProfileBigQueryRowSchema struct { // Data profile type. // // Types that are assignable to DataProfile: // // *DataProfileBigQueryRowSchema_TableProfile // *DataProfileBigQueryRowSchema_ColumnProfile DataProfile isDataProfileBigQueryRowSchema_DataProfile `protobuf_oneof:"data_profile"` // contains filtered or unexported fields }
The schema of data to be saved to the BigQuery table when the `DataProfileAction` is enabled.
func (*DataProfileBigQueryRowSchema) Descriptor
deprecated
added in
v1.11.0
func (*DataProfileBigQueryRowSchema) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileBigQueryRowSchema.ProtoReflect.Descriptor instead.
func (*DataProfileBigQueryRowSchema) GetColumnProfile ¶ added in v1.11.0
func (x *DataProfileBigQueryRowSchema) GetColumnProfile() *ColumnDataProfile
func (*DataProfileBigQueryRowSchema) GetDataProfile ¶ added in v1.11.0
func (m *DataProfileBigQueryRowSchema) GetDataProfile() isDataProfileBigQueryRowSchema_DataProfile
func (*DataProfileBigQueryRowSchema) GetTableProfile ¶ added in v1.11.0
func (x *DataProfileBigQueryRowSchema) GetTableProfile() *TableDataProfile
func (*DataProfileBigQueryRowSchema) ProtoMessage ¶ added in v1.11.0
func (*DataProfileBigQueryRowSchema) ProtoMessage()
func (*DataProfileBigQueryRowSchema) ProtoReflect ¶ added in v1.11.0
func (x *DataProfileBigQueryRowSchema) ProtoReflect() protoreflect.Message
func (*DataProfileBigQueryRowSchema) Reset ¶ added in v1.11.0
func (x *DataProfileBigQueryRowSchema) Reset()
func (*DataProfileBigQueryRowSchema) String ¶ added in v1.11.0
func (x *DataProfileBigQueryRowSchema) String() string
type DataProfileBigQueryRowSchema_ColumnProfile ¶ added in v1.11.0
type DataProfileBigQueryRowSchema_ColumnProfile struct { // Column data profile column ColumnProfile *ColumnDataProfile `protobuf:"bytes,2,opt,name=column_profile,json=columnProfile,proto3,oneof"` }
type DataProfileBigQueryRowSchema_TableProfile ¶ added in v1.11.0
type DataProfileBigQueryRowSchema_TableProfile struct { // Table data profile column TableProfile *TableDataProfile `protobuf:"bytes,1,opt,name=table_profile,json=tableProfile,proto3,oneof"` }
type DataProfileConfigSnapshot ¶
type DataProfileConfigSnapshot struct { // A copy of the inspection config used to generate this profile. This // is a copy of the inspect_template specified in `DataProfileJobConfig`. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // A copy of the configuration used to generate this profile. This is // deprecated, and the DiscoveryConfig field is preferred moving forward. // DataProfileJobConfig will still be written here for Discovery in BigQuery // for backwards compatibility, but will not be updated with new fields, while // DiscoveryConfig will. // // Deprecated: Marked as deprecated in google/privacy/dlp/v2/dlp.proto. DataProfileJob *DataProfileJobConfig `protobuf:"bytes,3,opt,name=data_profile_job,json=dataProfileJob,proto3" json:"data_profile_job,omitempty"` // A copy of the configuration used to generate this profile. DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,4,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"` // Name of the inspection template used to generate this profile InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` // Timestamp when the template was modified InspectTemplateModifiedTime *timestamppb.Timestamp `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
Snapshot of the configurations used to generate the profile.
func (*DataProfileConfigSnapshot) Descriptor
deprecated
func (*DataProfileConfigSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileConfigSnapshot.ProtoReflect.Descriptor instead.
func (*DataProfileConfigSnapshot) GetDataProfileJob
deprecated
func (x *DataProfileConfigSnapshot) GetDataProfileJob() *DataProfileJobConfig
Deprecated: Marked as deprecated in google/privacy/dlp/v2/dlp.proto.
func (*DataProfileConfigSnapshot) GetDiscoveryConfig ¶ added in v1.12.0
func (x *DataProfileConfigSnapshot) GetDiscoveryConfig() *DiscoveryConfig
func (*DataProfileConfigSnapshot) GetInspectConfig ¶
func (x *DataProfileConfigSnapshot) GetInspectConfig() *InspectConfig
func (*DataProfileConfigSnapshot) GetInspectTemplateModifiedTime ¶ added in v1.12.0
func (x *DataProfileConfigSnapshot) GetInspectTemplateModifiedTime() *timestamppb.Timestamp
func (*DataProfileConfigSnapshot) GetInspectTemplateName ¶ added in v1.12.0
func (x *DataProfileConfigSnapshot) GetInspectTemplateName() string
func (*DataProfileConfigSnapshot) ProtoMessage ¶
func (*DataProfileConfigSnapshot) ProtoMessage()
func (*DataProfileConfigSnapshot) ProtoReflect ¶
func (x *DataProfileConfigSnapshot) ProtoReflect() protoreflect.Message
func (*DataProfileConfigSnapshot) Reset ¶
func (x *DataProfileConfigSnapshot) Reset()
func (*DataProfileConfigSnapshot) String ¶
func (x *DataProfileConfigSnapshot) String() string
type DataProfileJobConfig ¶
type DataProfileJobConfig struct { // The data to scan. Location *DataProfileLocation `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The project that will run the scan. The DLP service // account that exists within this project must have access to all resources // that are profiled, and the Cloud DLP API must be enabled. ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Detection logic for profile generation. // // Not all template features are used by profiles. FindingLimits, // include_quote and exclude_info_types have no impact on // data profiling. // // Multiple templates may be provided if there is data in multiple regions. // At most one template must be specified per-region (including "global"). // Each region is scanned using the applicable template. If no region-specific // template is specified, but a "global" template is specified, it will be // copied to that region and used instead. If no global or region-specific // template is provided for a region with data, that region's data will not be // scanned. // // For more information, see // https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. InspectTemplates []string `protobuf:"bytes,7,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"` // Actions to execute at the completion of the job. DataProfileActions []*DataProfileAction `protobuf:"bytes,6,rep,name=data_profile_actions,json=dataProfileActions,proto3" json:"data_profile_actions,omitempty"` // contains filtered or unexported fields }
Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project.
The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
func (*DataProfileJobConfig) Descriptor
deprecated
func (*DataProfileJobConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileJobConfig.ProtoReflect.Descriptor instead.
func (*DataProfileJobConfig) GetDataProfileActions ¶
func (x *DataProfileJobConfig) GetDataProfileActions() []*DataProfileAction
func (*DataProfileJobConfig) GetInspectTemplates ¶
func (x *DataProfileJobConfig) GetInspectTemplates() []string
func (*DataProfileJobConfig) GetLocation ¶
func (x *DataProfileJobConfig) GetLocation() *DataProfileLocation
func (*DataProfileJobConfig) GetProjectId ¶
func (x *DataProfileJobConfig) GetProjectId() string
func (*DataProfileJobConfig) ProtoMessage ¶
func (*DataProfileJobConfig) ProtoMessage()
func (*DataProfileJobConfig) ProtoReflect ¶
func (x *DataProfileJobConfig) ProtoReflect() protoreflect.Message
func (*DataProfileJobConfig) Reset ¶
func (x *DataProfileJobConfig) Reset()
func (*DataProfileJobConfig) String ¶
func (x *DataProfileJobConfig) String() string
type DataProfileLocation ¶
type DataProfileLocation struct { // The location to be scanned. // // Types that are assignable to Location: // // *DataProfileLocation_OrganizationId // *DataProfileLocation_FolderId Location isDataProfileLocation_Location `protobuf_oneof:"location"` // contains filtered or unexported fields }
The data that will be profiled.
func (*DataProfileLocation) Descriptor
deprecated
func (*DataProfileLocation) Descriptor() ([]byte, []int)
Deprecated: Use DataProfileLocation.ProtoReflect.Descriptor instead.
func (*DataProfileLocation) GetFolderId ¶
func (x *DataProfileLocation) GetFolderId() int64
func (*DataProfileLocation) GetLocation ¶
func (m *DataProfileLocation) GetLocation() isDataProfileLocation_Location
func (*DataProfileLocation) GetOrganizationId ¶
func (x *DataProfileLocation) GetOrganizationId() int64
func (*DataProfileLocation) ProtoMessage ¶
func (*DataProfileLocation) ProtoMessage()
func (*DataProfileLocation) ProtoReflect ¶
func (x *DataProfileLocation) ProtoReflect() protoreflect.Message
func (*DataProfileLocation) Reset ¶
func (x *DataProfileLocation) Reset()
func (*DataProfileLocation) String ¶
func (x *DataProfileLocation) String() string
type DataProfileLocation_FolderId ¶
type DataProfileLocation_FolderId struct { // The ID of the Folder within an organization to scan. FolderId int64 `protobuf:"varint,2,opt,name=folder_id,json=folderId,proto3,oneof"` }
type DataProfileLocation_OrganizationId ¶
type DataProfileLocation_OrganizationId struct { // The ID of an organization to scan. OrganizationId int64 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3,oneof"` }
type DataProfilePubSubCondition ¶
type DataProfilePubSubCondition struct { // An expression. Expressions *DataProfilePubSubCondition_PubSubExpressions `protobuf:"bytes,1,opt,name=expressions,proto3" json:"expressions,omitempty"` // contains filtered or unexported fields }
A condition for determining whether a Pub/Sub should be triggered.
func (*DataProfilePubSubCondition) Descriptor
deprecated
func (*DataProfilePubSubCondition) Descriptor() ([]byte, []int)
Deprecated: Use DataProfilePubSubCondition.ProtoReflect.Descriptor instead.
func (*DataProfilePubSubCondition) GetExpressions ¶
func (x *DataProfilePubSubCondition) GetExpressions() *DataProfilePubSubCondition_PubSubExpressions
func (*DataProfilePubSubCondition) ProtoMessage ¶
func (*DataProfilePubSubCondition) ProtoMessage()
func (*DataProfilePubSubCondition) ProtoReflect ¶
func (x *DataProfilePubSubCondition) ProtoReflect() protoreflect.Message
func (*DataProfilePubSubCondition) Reset ¶
func (x *DataProfilePubSubCondition) Reset()
func (*DataProfilePubSubCondition) String ¶
func (x *DataProfilePubSubCondition) String() string
type DataProfilePubSubCondition_ProfileScoreBucket ¶
type DataProfilePubSubCondition_ProfileScoreBucket int32
Various score levels for resources.
const ( // Unused. DataProfilePubSubCondition_PROFILE_SCORE_BUCKET_UNSPECIFIED DataProfilePubSubCondition_ProfileScoreBucket = 0 // High risk/sensitivity detected. DataProfilePubSubCondition_HIGH DataProfilePubSubCondition_ProfileScoreBucket = 1 // Medium or high risk/sensitivity detected. DataProfilePubSubCondition_MEDIUM_OR_HIGH DataProfilePubSubCondition_ProfileScoreBucket = 2 )
func (DataProfilePubSubCondition_ProfileScoreBucket) Descriptor ¶
func (DataProfilePubSubCondition_ProfileScoreBucket) Descriptor() protoreflect.EnumDescriptor
func (DataProfilePubSubCondition_ProfileScoreBucket) EnumDescriptor
deprecated
func (DataProfilePubSubCondition_ProfileScoreBucket) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataProfilePubSubCondition_ProfileScoreBucket.Descriptor instead.
func (DataProfilePubSubCondition_ProfileScoreBucket) Number ¶
func (x DataProfilePubSubCondition_ProfileScoreBucket) Number() protoreflect.EnumNumber
func (DataProfilePubSubCondition_ProfileScoreBucket) String ¶
func (x DataProfilePubSubCondition_ProfileScoreBucket) String() string
type DataProfilePubSubCondition_PubSubCondition ¶
type DataProfilePubSubCondition_PubSubCondition struct { // The value for the condition to trigger. // // Types that are assignable to Value: // // *DataProfilePubSubCondition_PubSubCondition_MinimumRiskScore // *DataProfilePubSubCondition_PubSubCondition_MinimumSensitivityScore Value isDataProfilePubSubCondition_PubSubCondition_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
A condition consisting of a value.
func (*DataProfilePubSubCondition_PubSubCondition) Descriptor
deprecated
func (*DataProfilePubSubCondition_PubSubCondition) Descriptor() ([]byte, []int)
Deprecated: Use DataProfilePubSubCondition_PubSubCondition.ProtoReflect.Descriptor instead.
func (*DataProfilePubSubCondition_PubSubCondition) GetMinimumRiskScore ¶
func (x *DataProfilePubSubCondition_PubSubCondition) GetMinimumRiskScore() DataProfilePubSubCondition_ProfileScoreBucket
func (*DataProfilePubSubCondition_PubSubCondition) GetMinimumSensitivityScore ¶
func (x *DataProfilePubSubCondition_PubSubCondition) GetMinimumSensitivityScore() DataProfilePubSubCondition_ProfileScoreBucket
func (*DataProfilePubSubCondition_PubSubCondition) GetValue ¶
func (m *DataProfilePubSubCondition_PubSubCondition) GetValue() isDataProfilePubSubCondition_PubSubCondition_Value
func (*DataProfilePubSubCondition_PubSubCondition) ProtoMessage ¶
func (*DataProfilePubSubCondition_PubSubCondition) ProtoMessage()
func (*DataProfilePubSubCondition_PubSubCondition) ProtoReflect ¶
func (x *DataProfilePubSubCondition_PubSubCondition) ProtoReflect() protoreflect.Message
func (*DataProfilePubSubCondition_PubSubCondition) Reset ¶
func (x *DataProfilePubSubCondition_PubSubCondition) Reset()
func (*DataProfilePubSubCondition_PubSubCondition) String ¶
func (x *DataProfilePubSubCondition_PubSubCondition) String() string
type DataProfilePubSubCondition_PubSubCondition_MinimumRiskScore ¶
type DataProfilePubSubCondition_PubSubCondition_MinimumRiskScore struct { // The minimum data risk score that triggers the condition. MinimumRiskScore DataProfilePubSubCondition_ProfileScoreBucket `` /* 155-byte string literal not displayed */ }
type DataProfilePubSubCondition_PubSubCondition_MinimumSensitivityScore ¶
type DataProfilePubSubCondition_PubSubCondition_MinimumSensitivityScore struct { // The minimum sensitivity level that triggers the condition. MinimumSensitivityScore DataProfilePubSubCondition_ProfileScoreBucket `` /* 169-byte string literal not displayed */ }
type DataProfilePubSubCondition_PubSubExpressions ¶
type DataProfilePubSubCondition_PubSubExpressions struct { // The operator to apply to the collection of conditions. LogicalOperator DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator `` /* 201-byte string literal not displayed */ // Conditions to apply to the expression. Conditions []*DataProfilePubSubCondition_PubSubCondition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
An expression, consisting of an operator and conditions.
func (*DataProfilePubSubCondition_PubSubExpressions) Descriptor
deprecated
func (*DataProfilePubSubCondition_PubSubExpressions) Descriptor() ([]byte, []int)
Deprecated: Use DataProfilePubSubCondition_PubSubExpressions.ProtoReflect.Descriptor instead.
func (*DataProfilePubSubCondition_PubSubExpressions) GetConditions ¶
func (x *DataProfilePubSubCondition_PubSubExpressions) GetConditions() []*DataProfilePubSubCondition_PubSubCondition
func (*DataProfilePubSubCondition_PubSubExpressions) GetLogicalOperator ¶
func (x *DataProfilePubSubCondition_PubSubExpressions) GetLogicalOperator() DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator
func (*DataProfilePubSubCondition_PubSubExpressions) ProtoMessage ¶
func (*DataProfilePubSubCondition_PubSubExpressions) ProtoMessage()
func (*DataProfilePubSubCondition_PubSubExpressions) ProtoReflect ¶
func (x *DataProfilePubSubCondition_PubSubExpressions) ProtoReflect() protoreflect.Message
func (*DataProfilePubSubCondition_PubSubExpressions) Reset ¶
func (x *DataProfilePubSubCondition_PubSubExpressions) Reset()
func (*DataProfilePubSubCondition_PubSubExpressions) String ¶
func (x *DataProfilePubSubCondition_PubSubExpressions) String() string
type DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator ¶
type DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator int32
Logical operators for conditional checks.
const ( // Unused. DataProfilePubSubCondition_PubSubExpressions_LOGICAL_OPERATOR_UNSPECIFIED DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator = 0 // Conditional OR. DataProfilePubSubCondition_PubSubExpressions_OR DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator = 1 // Conditional AND. DataProfilePubSubCondition_PubSubExpressions_AND DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator = 2 )
func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) Descriptor ¶
func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) EnumDescriptor
deprecated
func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator.Descriptor instead.
func (DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) String ¶
func (x DataProfilePubSubCondition_PubSubExpressions_PubSubLogicalOperator) String() string
type DataProfilePubSubMessage ¶
type DataProfilePubSubMessage struct { // If `DetailLevel` is `TABLE_PROFILE` this will be fully populated. // Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and // `full_resource` will be populated. Profile *TableDataProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // The event that caused the Pub/Sub message to be sent. Event DataProfileAction_EventType `protobuf:"varint,2,opt,name=event,proto3,enum=google.privacy.dlp.v2.DataProfileAction_EventType" json:"event,omitempty"` // contains filtered or unexported fields }
Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.
func (*DataProfilePubSubMessage) Descriptor
deprecated
func (*DataProfilePubSubMessage) Descriptor() ([]byte, []int)
Deprecated: Use DataProfilePubSubMessage.ProtoReflect.Descriptor instead.
func (*DataProfilePubSubMessage) GetEvent ¶
func (x *DataProfilePubSubMessage) GetEvent() DataProfileAction_EventType
func (*DataProfilePubSubMessage) GetProfile ¶
func (x *DataProfilePubSubMessage) GetProfile() *TableDataProfile
func (*DataProfilePubSubMessage) ProtoMessage ¶
func (*DataProfilePubSubMessage) ProtoMessage()
func (*DataProfilePubSubMessage) ProtoReflect ¶
func (x *DataProfilePubSubMessage) ProtoReflect() protoreflect.Message
func (*DataProfilePubSubMessage) Reset ¶
func (x *DataProfilePubSubMessage) Reset()
func (*DataProfilePubSubMessage) String ¶
func (x *DataProfilePubSubMessage) String() string
type DataProfileUpdateFrequency ¶ added in v1.11.0
type DataProfileUpdateFrequency int32
How frequently data profiles can be updated. New options can be added at a later time.
const ( // Unspecified. DataProfileUpdateFrequency_UPDATE_FREQUENCY_UNSPECIFIED DataProfileUpdateFrequency = 0 // After the data profile is created, it will never be updated. DataProfileUpdateFrequency_UPDATE_FREQUENCY_NEVER DataProfileUpdateFrequency = 1 // The data profile can be updated up to once every 24 hours. DataProfileUpdateFrequency_UPDATE_FREQUENCY_DAILY DataProfileUpdateFrequency = 2 // The data profile can be updated up to once every 30 days. Default. DataProfileUpdateFrequency_UPDATE_FREQUENCY_MONTHLY DataProfileUpdateFrequency = 4 )
func (DataProfileUpdateFrequency) Descriptor ¶ added in v1.11.0
func (DataProfileUpdateFrequency) Descriptor() protoreflect.EnumDescriptor
func (DataProfileUpdateFrequency) Enum ¶ added in v1.11.0
func (x DataProfileUpdateFrequency) Enum() *DataProfileUpdateFrequency
func (DataProfileUpdateFrequency) EnumDescriptor
deprecated
added in
v1.11.0
func (DataProfileUpdateFrequency) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataProfileUpdateFrequency.Descriptor instead.
func (DataProfileUpdateFrequency) Number ¶ added in v1.11.0
func (x DataProfileUpdateFrequency) Number() protoreflect.EnumNumber
func (DataProfileUpdateFrequency) String ¶ added in v1.11.0
func (x DataProfileUpdateFrequency) String() string
func (DataProfileUpdateFrequency) Type ¶ added in v1.11.0
func (DataProfileUpdateFrequency) Type() protoreflect.EnumType
type DataRiskLevel ¶
type DataRiskLevel struct { // The score applied to the resource. Score DataRiskLevel_DataRiskLevelScore `protobuf:"varint,1,opt,name=score,proto3,enum=google.privacy.dlp.v2.DataRiskLevel_DataRiskLevelScore" json:"score,omitempty"` // contains filtered or unexported fields }
Score is a summary of all elements in the data profile. A higher number means more risk.
func (*DataRiskLevel) Descriptor
deprecated
func (*DataRiskLevel) Descriptor() ([]byte, []int)
Deprecated: Use DataRiskLevel.ProtoReflect.Descriptor instead.
func (*DataRiskLevel) GetScore ¶
func (x *DataRiskLevel) GetScore() DataRiskLevel_DataRiskLevelScore
func (*DataRiskLevel) ProtoMessage ¶
func (*DataRiskLevel) ProtoMessage()
func (*DataRiskLevel) ProtoReflect ¶
func (x *DataRiskLevel) ProtoReflect() protoreflect.Message
func (*DataRiskLevel) Reset ¶
func (x *DataRiskLevel) Reset()
func (*DataRiskLevel) String ¶
func (x *DataRiskLevel) String() string
type DataRiskLevel_DataRiskLevelScore ¶
type DataRiskLevel_DataRiskLevelScore int32
Various score levels for resources.
const ( // Unused. DataRiskLevel_RISK_SCORE_UNSPECIFIED DataRiskLevel_DataRiskLevelScore = 0 // Low risk - Lower indication of sensitive data that appears to have // additional access restrictions in place or no indication of sensitive // data found. DataRiskLevel_RISK_LOW DataRiskLevel_DataRiskLevelScore = 10 // Medium risk - Sensitive data may be present but additional access or fine // grain access restrictions appear to be present. Consider limiting // access even further or transform data to mask. DataRiskLevel_RISK_MODERATE DataRiskLevel_DataRiskLevelScore = 20 // High risk – SPII may be present. Access controls may include public // ACLs. Exfiltration of data may lead to user data loss. Re-identification // of users may be possible. Consider limiting usage and or removing SPII. DataRiskLevel_RISK_HIGH DataRiskLevel_DataRiskLevelScore = 30 )
func (DataRiskLevel_DataRiskLevelScore) Descriptor ¶
func (DataRiskLevel_DataRiskLevelScore) Descriptor() protoreflect.EnumDescriptor
func (DataRiskLevel_DataRiskLevelScore) Enum ¶
func (x DataRiskLevel_DataRiskLevelScore) Enum() *DataRiskLevel_DataRiskLevelScore
func (DataRiskLevel_DataRiskLevelScore) EnumDescriptor
deprecated
func (DataRiskLevel_DataRiskLevelScore) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataRiskLevel_DataRiskLevelScore.Descriptor instead.
func (DataRiskLevel_DataRiskLevelScore) Number ¶
func (x DataRiskLevel_DataRiskLevelScore) Number() protoreflect.EnumNumber
func (DataRiskLevel_DataRiskLevelScore) String ¶
func (x DataRiskLevel_DataRiskLevelScore) String() string
func (DataRiskLevel_DataRiskLevelScore) Type ¶
func (DataRiskLevel_DataRiskLevelScore) Type() protoreflect.EnumType
type DataSourceType ¶ added in v1.12.0
type DataSourceType struct { // Output only. An identifying string to the type of resource being profiled. // Current values: google/bigquery/table, google/project DataSource string `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
Message used to identify the type of resource being profiled.
func (*DataSourceType) Descriptor
deprecated
added in
v1.12.0
func (*DataSourceType) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceType.ProtoReflect.Descriptor instead.
func (*DataSourceType) GetDataSource ¶ added in v1.12.0
func (x *DataSourceType) GetDataSource() string
func (*DataSourceType) ProtoMessage ¶ added in v1.12.0
func (*DataSourceType) ProtoMessage()
func (*DataSourceType) ProtoReflect ¶ added in v1.12.0
func (x *DataSourceType) ProtoReflect() protoreflect.Message
func (*DataSourceType) Reset ¶ added in v1.12.0
func (x *DataSourceType) Reset()
func (*DataSourceType) String ¶ added in v1.12.0
func (x *DataSourceType) String() string
type DatastoreKey ¶
type DatastoreKey struct { // Datastore entity key. EntityKey *Key `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"` // contains filtered or unexported fields }
Record key for a finding in Cloud Datastore.
func (*DatastoreKey) Descriptor
deprecated
func (*DatastoreKey) Descriptor() ([]byte, []int)
Deprecated: Use DatastoreKey.ProtoReflect.Descriptor instead.
func (*DatastoreKey) GetEntityKey ¶
func (x *DatastoreKey) GetEntityKey() *Key
func (*DatastoreKey) ProtoMessage ¶
func (*DatastoreKey) ProtoMessage()
func (*DatastoreKey) ProtoReflect ¶
func (x *DatastoreKey) ProtoReflect() protoreflect.Message
func (*DatastoreKey) Reset ¶
func (x *DatastoreKey) Reset()
func (*DatastoreKey) String ¶
func (x *DatastoreKey) String() string
type DatastoreOptions ¶
type DatastoreOptions struct { // A partition ID identifies a grouping of entities. The grouping is always // by project and namespace, however the namespace ID may be empty. PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` // The kind to process. Kind *KindExpression `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
Options defining a data set within Google Cloud Datastore.
func (*DatastoreOptions) Descriptor
deprecated
func (*DatastoreOptions) Descriptor() ([]byte, []int)
Deprecated: Use DatastoreOptions.ProtoReflect.Descriptor instead.
func (*DatastoreOptions) GetKind ¶
func (x *DatastoreOptions) GetKind() *KindExpression
func (*DatastoreOptions) GetPartitionId ¶
func (x *DatastoreOptions) GetPartitionId() *PartitionId
func (*DatastoreOptions) ProtoMessage ¶
func (*DatastoreOptions) ProtoMessage()
func (*DatastoreOptions) ProtoReflect ¶
func (x *DatastoreOptions) ProtoReflect() protoreflect.Message
func (*DatastoreOptions) Reset ¶
func (x *DatastoreOptions) Reset()
func (*DatastoreOptions) String ¶
func (x *DatastoreOptions) String() string
type DateShiftConfig ¶
type DateShiftConfig struct { // Required. Range of shift in days. Actual shift will be selected at random // within this range (inclusive ends). Negative means shift to earlier in // time. Must not be more than 365250 days (1000 years) each direction. // // For example, 3 means shift date to at most 3 days into the future. UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays,proto3" json:"upper_bound_days,omitempty"` // Required. For example, -5 means shift date to at most 5 days back in the // past. LowerBoundDays int32 `protobuf:"varint,2,opt,name=lower_bound_days,json=lowerBoundDays,proto3" json:"lower_bound_days,omitempty"` // Points to the field that contains the context, for example, an entity id. // If set, must also set cryptoKey. If set, shift will be consistent for the // given context. Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // Method for calculating shift that takes context into consideration. If // set, must also set context. Can only be applied to table items. // // Types that are assignable to Method: // // *DateShiftConfig_CryptoKey Method isDateShiftConfig_Method `protobuf_oneof:"method"` // contains filtered or unexported fields }
Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/sensitive-data-protection/docs/concepts-date-shifting to learn more.
func (*DateShiftConfig) Descriptor
deprecated
func (*DateShiftConfig) Descriptor() ([]byte, []int)
Deprecated: Use DateShiftConfig.ProtoReflect.Descriptor instead.
func (*DateShiftConfig) GetContext ¶
func (x *DateShiftConfig) GetContext() *FieldId
func (*DateShiftConfig) GetCryptoKey ¶
func (x *DateShiftConfig) GetCryptoKey() *CryptoKey
func (*DateShiftConfig) GetLowerBoundDays ¶
func (x *DateShiftConfig) GetLowerBoundDays() int32
func (*DateShiftConfig) GetMethod ¶
func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method
func (*DateShiftConfig) GetUpperBoundDays ¶
func (x *DateShiftConfig) GetUpperBoundDays() int32
func (*DateShiftConfig) ProtoMessage ¶
func (*DateShiftConfig) ProtoMessage()
func (*DateShiftConfig) ProtoReflect ¶
func (x *DateShiftConfig) ProtoReflect() protoreflect.Message
func (*DateShiftConfig) Reset ¶
func (x *DateShiftConfig) Reset()
func (*DateShiftConfig) String ¶
func (x *DateShiftConfig) String() string
type DateShiftConfig_CryptoKey ¶
type DateShiftConfig_CryptoKey struct { // Causes the shift to be computed based on this key and the context. This // results in the same shift for the same context and crypto_key. If // set, must also set context. Can only be applied to table items. CryptoKey *CryptoKey `protobuf:"bytes,4,opt,name=crypto_key,json=cryptoKey,proto3,oneof"` }
type DateTime ¶
type DateTime struct { // One or more of the following must be set. // Must be a valid date or time value. Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // Day of week DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` // Time of day Time *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // Time zone TimeZone *DateTime_TimeZone `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // contains filtered or unexported fields }
Message for a date time object. e.g. 2018-01-01, 5th August.
func (*DateTime) Descriptor
deprecated
func (*DateTime) GetDayOfWeek ¶
func (*DateTime) GetTimeZone ¶
func (x *DateTime) GetTimeZone() *DateTime_TimeZone
func (*DateTime) ProtoMessage ¶
func (*DateTime) ProtoMessage()
func (*DateTime) ProtoReflect ¶
func (x *DateTime) ProtoReflect() protoreflect.Message
type DateTime_TimeZone ¶
type DateTime_TimeZone struct { // Set only if the offset can be determined. Positive for time ahead of UTC. // E.g. For "UTC-9", this value is -540. OffsetMinutes int32 `protobuf:"varint,1,opt,name=offset_minutes,json=offsetMinutes,proto3" json:"offset_minutes,omitempty"` // contains filtered or unexported fields }
Time zone of the date time object.
func (*DateTime_TimeZone) Descriptor
deprecated
func (*DateTime_TimeZone) Descriptor() ([]byte, []int)
Deprecated: Use DateTime_TimeZone.ProtoReflect.Descriptor instead.
func (*DateTime_TimeZone) GetOffsetMinutes ¶
func (x *DateTime_TimeZone) GetOffsetMinutes() int32
func (*DateTime_TimeZone) ProtoMessage ¶
func (*DateTime_TimeZone) ProtoMessage()
func (*DateTime_TimeZone) ProtoReflect ¶
func (x *DateTime_TimeZone) ProtoReflect() protoreflect.Message
func (*DateTime_TimeZone) Reset ¶
func (x *DateTime_TimeZone) Reset()
func (*DateTime_TimeZone) String ¶
func (x *DateTime_TimeZone) String() string
type DeidentifyConfig ¶
type DeidentifyConfig struct { // Type of transformation // // Types that are assignable to Transformation: // // *DeidentifyConfig_InfoTypeTransformations // *DeidentifyConfig_RecordTransformations // *DeidentifyConfig_ImageTransformations Transformation isDeidentifyConfig_Transformation `protobuf_oneof:"transformation"` // Mode for handling transformation errors. If left unspecified, the default // mode is `TransformationErrorHandling.ThrowError`. TransformationErrorHandling *TransformationErrorHandling `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
The configuration that controls how the data will change.
func (*DeidentifyConfig) Descriptor
deprecated
func (*DeidentifyConfig) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyConfig.ProtoReflect.Descriptor instead.
func (*DeidentifyConfig) GetImageTransformations ¶
func (x *DeidentifyConfig) GetImageTransformations() *ImageTransformations
func (*DeidentifyConfig) GetInfoTypeTransformations ¶
func (x *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations
func (*DeidentifyConfig) GetRecordTransformations ¶
func (x *DeidentifyConfig) GetRecordTransformations() *RecordTransformations
func (*DeidentifyConfig) GetTransformation ¶
func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation
func (*DeidentifyConfig) GetTransformationErrorHandling ¶
func (x *DeidentifyConfig) GetTransformationErrorHandling() *TransformationErrorHandling
func (*DeidentifyConfig) ProtoMessage ¶
func (*DeidentifyConfig) ProtoMessage()
func (*DeidentifyConfig) ProtoReflect ¶
func (x *DeidentifyConfig) ProtoReflect() protoreflect.Message
func (*DeidentifyConfig) Reset ¶
func (x *DeidentifyConfig) Reset()
func (*DeidentifyConfig) String ¶
func (x *DeidentifyConfig) String() string
type DeidentifyConfig_ImageTransformations ¶
type DeidentifyConfig_ImageTransformations struct { // Treat the dataset as an image and redact. ImageTransformations *ImageTransformations `protobuf:"bytes,4,opt,name=image_transformations,json=imageTransformations,proto3,oneof"` }
type DeidentifyConfig_InfoTypeTransformations ¶
type DeidentifyConfig_InfoTypeTransformations struct { // Treat the dataset as free-form text and apply the same free text // transformation everywhere. InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,1,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` }
type DeidentifyConfig_RecordTransformations ¶
type DeidentifyConfig_RecordTransformations struct { // Treat the dataset as structured. Transformations can be applied to // specific locations within structured datasets, such as transforming // a column within a table. RecordTransformations *RecordTransformations `protobuf:"bytes,2,opt,name=record_transformations,json=recordTransformations,proto3,oneof"` }
type DeidentifyContentRequest ¶
type DeidentifyContentRequest struct { // Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Configuration for the de-identification of the content item. // Items specified here will override the template referenced by the // deidentify_template_name argument. DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"` // Configuration for the inspector. // Items specified here will override the template referenced by the // inspect_template_name argument. InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // The item to de-identify. Will be treated as text. // // This value must be of type // [Table][google.privacy.dlp.v2.Table] if your // [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config] // is a // [RecordTransformations][google.privacy.dlp.v2.RecordTransformations] // object. Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` // Template to use. Any configuration directly specified in // inspect_config will override those set in the template. Singular fields // that are set in this request will replace their corresponding fields in the // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` // Template to use. Any configuration directly specified in // deidentify_config will override those set in the template. Singular fields // that are set in this request will replace their corresponding fields in the // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. DeidentifyTemplateName string `` /* 129-byte string literal not displayed */ // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request to de-identify a ContentItem.
func (*DeidentifyContentRequest) Descriptor
deprecated
func (*DeidentifyContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyContentRequest.ProtoReflect.Descriptor instead.
func (*DeidentifyContentRequest) GetDeidentifyConfig ¶
func (x *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig
func (*DeidentifyContentRequest) GetDeidentifyTemplateName ¶
func (x *DeidentifyContentRequest) GetDeidentifyTemplateName() string
func (*DeidentifyContentRequest) GetInspectConfig ¶
func (x *DeidentifyContentRequest) GetInspectConfig() *InspectConfig
func (*DeidentifyContentRequest) GetInspectTemplateName ¶
func (x *DeidentifyContentRequest) GetInspectTemplateName() string
func (*DeidentifyContentRequest) GetItem ¶
func (x *DeidentifyContentRequest) GetItem() *ContentItem
func (*DeidentifyContentRequest) GetLocationId ¶
func (x *DeidentifyContentRequest) GetLocationId() string
func (*DeidentifyContentRequest) GetParent ¶
func (x *DeidentifyContentRequest) GetParent() string
func (*DeidentifyContentRequest) ProtoMessage ¶
func (*DeidentifyContentRequest) ProtoMessage()
func (*DeidentifyContentRequest) ProtoReflect ¶
func (x *DeidentifyContentRequest) ProtoReflect() protoreflect.Message
func (*DeidentifyContentRequest) Reset ¶
func (x *DeidentifyContentRequest) Reset()
func (*DeidentifyContentRequest) String ¶
func (x *DeidentifyContentRequest) String() string
type DeidentifyContentResponse ¶
type DeidentifyContentResponse struct { // The de-identified item. Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // An overview of the changes that were made on the `item`. Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` // contains filtered or unexported fields }
Results of de-identifying a ContentItem.
func (*DeidentifyContentResponse) Descriptor
deprecated
func (*DeidentifyContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyContentResponse.ProtoReflect.Descriptor instead.
func (*DeidentifyContentResponse) GetItem ¶
func (x *DeidentifyContentResponse) GetItem() *ContentItem
func (*DeidentifyContentResponse) GetOverview ¶
func (x *DeidentifyContentResponse) GetOverview() *TransformationOverview
func (*DeidentifyContentResponse) ProtoMessage ¶
func (*DeidentifyContentResponse) ProtoMessage()
func (*DeidentifyContentResponse) ProtoReflect ¶
func (x *DeidentifyContentResponse) ProtoReflect() protoreflect.Message
func (*DeidentifyContentResponse) Reset ¶
func (x *DeidentifyContentResponse) Reset()
func (*DeidentifyContentResponse) String ¶
func (x *DeidentifyContentResponse) String() string
type DeidentifyDataSourceDetails ¶ added in v1.11.0
type DeidentifyDataSourceDetails struct { // De-identification config used for the request. RequestedOptions *DeidentifyDataSourceDetails_RequestedDeidentifyOptions `protobuf:"bytes,1,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"` // Stats about the de-identification operation. DeidentifyStats *DeidentifyDataSourceStats `protobuf:"bytes,2,opt,name=deidentify_stats,json=deidentifyStats,proto3" json:"deidentify_stats,omitempty"` // contains filtered or unexported fields }
The results of a [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action from an inspect job.
func (*DeidentifyDataSourceDetails) Descriptor
deprecated
added in
v1.11.0
func (*DeidentifyDataSourceDetails) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyDataSourceDetails.ProtoReflect.Descriptor instead.
func (*DeidentifyDataSourceDetails) GetDeidentifyStats ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails) GetDeidentifyStats() *DeidentifyDataSourceStats
func (*DeidentifyDataSourceDetails) GetRequestedOptions ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails) GetRequestedOptions() *DeidentifyDataSourceDetails_RequestedDeidentifyOptions
func (*DeidentifyDataSourceDetails) ProtoMessage ¶ added in v1.11.0
func (*DeidentifyDataSourceDetails) ProtoMessage()
func (*DeidentifyDataSourceDetails) ProtoReflect ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails) ProtoReflect() protoreflect.Message
func (*DeidentifyDataSourceDetails) Reset ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails) Reset()
func (*DeidentifyDataSourceDetails) String ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails) String() string
type DeidentifyDataSourceDetails_RequestedDeidentifyOptions ¶ added in v1.11.0
type DeidentifyDataSourceDetails_RequestedDeidentifyOptions struct { // Snapshot of the state of the `DeidentifyTemplate` from the // [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time // this job was run. SnapshotDeidentifyTemplate *DeidentifyTemplate `` /* 141-byte string literal not displayed */ // Snapshot of the state of the structured `DeidentifyTemplate` from the // `Deidentify` action at the time this job was run. SnapshotStructuredDeidentifyTemplate *DeidentifyTemplate `` /* 173-byte string literal not displayed */ // Snapshot of the state of the image transformation `DeidentifyTemplate` // from the `Deidentify` action at the time this job was run. SnapshotImageRedactTemplate *DeidentifyTemplate `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
De-identification options.
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) Descriptor
deprecated
added in
v1.11.0
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyDataSourceDetails_RequestedDeidentifyOptions.ProtoReflect.Descriptor instead.
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotDeidentifyTemplate ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotDeidentifyTemplate() *DeidentifyTemplate
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotImageRedactTemplate ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotImageRedactTemplate() *DeidentifyTemplate
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotStructuredDeidentifyTemplate ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) GetSnapshotStructuredDeidentifyTemplate() *DeidentifyTemplate
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) ProtoMessage ¶ added in v1.11.0
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) ProtoMessage()
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) ProtoReflect ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) ProtoReflect() protoreflect.Message
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) Reset ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) Reset()
func (*DeidentifyDataSourceDetails_RequestedDeidentifyOptions) String ¶ added in v1.11.0
func (x *DeidentifyDataSourceDetails_RequestedDeidentifyOptions) String() string
type DeidentifyDataSourceStats ¶ added in v1.11.0
type DeidentifyDataSourceStats struct { // Total size in bytes that were transformed in some way. TransformedBytes int64 `protobuf:"varint,1,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` // Number of successfully applied transformations. TransformationCount int64 `protobuf:"varint,2,opt,name=transformation_count,json=transformationCount,proto3" json:"transformation_count,omitempty"` // Number of errors encountered while trying to apply transformations. TransformationErrorCount int64 `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
Summary of what was modified during a transformation.
func (*DeidentifyDataSourceStats) Descriptor
deprecated
added in
v1.11.0
func (*DeidentifyDataSourceStats) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyDataSourceStats.ProtoReflect.Descriptor instead.
func (*DeidentifyDataSourceStats) GetTransformationCount ¶ added in v1.11.0
func (x *DeidentifyDataSourceStats) GetTransformationCount() int64
func (*DeidentifyDataSourceStats) GetTransformationErrorCount ¶ added in v1.11.0
func (x *DeidentifyDataSourceStats) GetTransformationErrorCount() int64
func (*DeidentifyDataSourceStats) GetTransformedBytes ¶ added in v1.11.0
func (x *DeidentifyDataSourceStats) GetTransformedBytes() int64
func (*DeidentifyDataSourceStats) ProtoMessage ¶ added in v1.11.0
func (*DeidentifyDataSourceStats) ProtoMessage()
func (*DeidentifyDataSourceStats) ProtoReflect ¶ added in v1.11.0
func (x *DeidentifyDataSourceStats) ProtoReflect() protoreflect.Message
func (*DeidentifyDataSourceStats) Reset ¶ added in v1.11.0
func (x *DeidentifyDataSourceStats) Reset()
func (*DeidentifyDataSourceStats) String ¶ added in v1.11.0
func (x *DeidentifyDataSourceStats) String() string
type DeidentifyTemplate ¶
type DeidentifyTemplate struct { // Output only. The template name. // // The template will have one of the following formats: // `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR // `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name (max 256 chars). DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Short description (max 256 chars). Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. The creation timestamp of an inspectTemplate. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update timestamp of an inspectTemplate. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The core content of the template. DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,6,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"` // contains filtered or unexported fields }
DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more.
func (*DeidentifyTemplate) Descriptor
deprecated
func (*DeidentifyTemplate) Descriptor() ([]byte, []int)
Deprecated: Use DeidentifyTemplate.ProtoReflect.Descriptor instead.
func (*DeidentifyTemplate) GetCreateTime ¶
func (x *DeidentifyTemplate) GetCreateTime() *timestamppb.Timestamp
func (*DeidentifyTemplate) GetDeidentifyConfig ¶
func (x *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig
func (*DeidentifyTemplate) GetDescription ¶
func (x *DeidentifyTemplate) GetDescription() string
func (*DeidentifyTemplate) GetDisplayName ¶
func (x *DeidentifyTemplate) GetDisplayName() string
func (*DeidentifyTemplate) GetName ¶
func (x *DeidentifyTemplate) GetName() string
func (*DeidentifyTemplate) GetUpdateTime ¶
func (x *DeidentifyTemplate) GetUpdateTime() *timestamppb.Timestamp
func (*DeidentifyTemplate) ProtoMessage ¶
func (*DeidentifyTemplate) ProtoMessage()
func (*DeidentifyTemplate) ProtoReflect ¶
func (x *DeidentifyTemplate) ProtoReflect() protoreflect.Message
func (*DeidentifyTemplate) Reset ¶
func (x *DeidentifyTemplate) Reset()
func (*DeidentifyTemplate) String ¶
func (x *DeidentifyTemplate) String() string
type DeleteDeidentifyTemplateRequest ¶
type DeleteDeidentifyTemplateRequest struct { // Required. Resource name of the organization and deidentify template to be // deleted, for example // `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for DeleteDeidentifyTemplate.
func (*DeleteDeidentifyTemplateRequest) Descriptor
deprecated
func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeidentifyTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeidentifyTemplateRequest) GetName ¶
func (x *DeleteDeidentifyTemplateRequest) GetName() string
func (*DeleteDeidentifyTemplateRequest) ProtoMessage ¶
func (*DeleteDeidentifyTemplateRequest) ProtoMessage()
func (*DeleteDeidentifyTemplateRequest) ProtoReflect ¶
func (x *DeleteDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeidentifyTemplateRequest) Reset ¶
func (x *DeleteDeidentifyTemplateRequest) Reset()
func (*DeleteDeidentifyTemplateRequest) String ¶
func (x *DeleteDeidentifyTemplateRequest) String() string
type DeleteDiscoveryConfigRequest ¶ added in v1.11.0
type DeleteDiscoveryConfigRequest struct { // Required. Resource name of the project and the config, for example // `projects/dlp-test-project/discoveryConfigs/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for DeleteDiscoveryConfig.
func (*DeleteDiscoveryConfigRequest) Descriptor
deprecated
added in
v1.11.0
func (*DeleteDiscoveryConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDiscoveryConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteDiscoveryConfigRequest) GetName ¶ added in v1.11.0
func (x *DeleteDiscoveryConfigRequest) GetName() string
func (*DeleteDiscoveryConfigRequest) ProtoMessage ¶ added in v1.11.0
func (*DeleteDiscoveryConfigRequest) ProtoMessage()
func (*DeleteDiscoveryConfigRequest) ProtoReflect ¶ added in v1.11.0
func (x *DeleteDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteDiscoveryConfigRequest) Reset ¶ added in v1.11.0
func (x *DeleteDiscoveryConfigRequest) Reset()
func (*DeleteDiscoveryConfigRequest) String ¶ added in v1.11.0
func (x *DeleteDiscoveryConfigRequest) String() string
type DeleteDlpJobRequest ¶
type DeleteDlpJobRequest struct { // Required. The name of the DlpJob resource to be deleted. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for deleting a DLP job.
func (*DeleteDlpJobRequest) Descriptor
deprecated
func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDlpJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteDlpJobRequest) GetName ¶
func (x *DeleteDlpJobRequest) GetName() string
func (*DeleteDlpJobRequest) ProtoMessage ¶
func (*DeleteDlpJobRequest) ProtoMessage()
func (*DeleteDlpJobRequest) ProtoReflect ¶
func (x *DeleteDlpJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteDlpJobRequest) Reset ¶
func (x *DeleteDlpJobRequest) Reset()
func (*DeleteDlpJobRequest) String ¶
func (x *DeleteDlpJobRequest) String() string
type DeleteInspectTemplateRequest ¶
type DeleteInspectTemplateRequest struct { // Required. Resource name of the organization and inspectTemplate to be // deleted, for example `organizations/433245324/inspectTemplates/432452342` // or projects/project-id/inspectTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for DeleteInspectTemplate.
func (*DeleteInspectTemplateRequest) Descriptor
deprecated
func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInspectTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteInspectTemplateRequest) GetName ¶
func (x *DeleteInspectTemplateRequest) GetName() string
func (*DeleteInspectTemplateRequest) ProtoMessage ¶
func (*DeleteInspectTemplateRequest) ProtoMessage()
func (*DeleteInspectTemplateRequest) ProtoReflect ¶
func (x *DeleteInspectTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteInspectTemplateRequest) Reset ¶
func (x *DeleteInspectTemplateRequest) Reset()
func (*DeleteInspectTemplateRequest) String ¶
func (x *DeleteInspectTemplateRequest) String() string
type DeleteJobTriggerRequest ¶
type DeleteJobTriggerRequest struct { // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for DeleteJobTrigger.
func (*DeleteJobTriggerRequest) Descriptor
deprecated
func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobTriggerRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobTriggerRequest) GetName ¶
func (x *DeleteJobTriggerRequest) GetName() string
func (*DeleteJobTriggerRequest) ProtoMessage ¶
func (*DeleteJobTriggerRequest) ProtoMessage()
func (*DeleteJobTriggerRequest) ProtoReflect ¶
func (x *DeleteJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobTriggerRequest) Reset ¶
func (x *DeleteJobTriggerRequest) Reset()
func (*DeleteJobTriggerRequest) String ¶
func (x *DeleteJobTriggerRequest) String() string
type DeleteStoredInfoTypeRequest ¶
type DeleteStoredInfoTypeRequest struct { // Required. Resource name of the organization and storedInfoType to be // deleted, for example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for DeleteStoredInfoType.
func (*DeleteStoredInfoTypeRequest) Descriptor
deprecated
func (*DeleteStoredInfoTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStoredInfoTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteStoredInfoTypeRequest) GetName ¶
func (x *DeleteStoredInfoTypeRequest) GetName() string
func (*DeleteStoredInfoTypeRequest) ProtoMessage ¶
func (*DeleteStoredInfoTypeRequest) ProtoMessage()
func (*DeleteStoredInfoTypeRequest) ProtoReflect ¶
func (x *DeleteStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteStoredInfoTypeRequest) Reset ¶
func (x *DeleteStoredInfoTypeRequest) Reset()
func (*DeleteStoredInfoTypeRequest) String ¶
func (x *DeleteStoredInfoTypeRequest) String() string
type Disabled ¶ added in v1.11.0
type Disabled struct {
// contains filtered or unexported fields
}
Do not profile the tables.
func (*Disabled) Descriptor
deprecated
added in
v1.11.0
func (*Disabled) ProtoMessage ¶ added in v1.11.0
func (*Disabled) ProtoMessage()
func (*Disabled) ProtoReflect ¶ added in v1.11.0
func (x *Disabled) ProtoReflect() protoreflect.Message
type DiscoveryBigQueryConditions ¶ added in v1.11.0
type DiscoveryBigQueryConditions struct { // BigQuery table must have been created after this date. Used to avoid // backfilling. CreatedAfter *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"` // The type of BigQuery tables to scan. If nothing is set the default // behavior is to scan only tables of type TABLE and to give errors // for all unsupported tables. // // Types that are assignable to IncludedTypes: // // *DiscoveryBigQueryConditions_Types // *DiscoveryBigQueryConditions_TypeCollection IncludedTypes isDiscoveryBigQueryConditions_IncludedTypes `protobuf_oneof:"included_types"` // At least one of the conditions must be true for a table to be scanned. OrConditions *DiscoveryBigQueryConditions_OrConditions `protobuf:"bytes,4,opt,name=or_conditions,json=orConditions,proto3" json:"or_conditions,omitempty"` // contains filtered or unexported fields }
Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).
func (*DiscoveryBigQueryConditions) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryBigQueryConditions) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryBigQueryConditions.ProtoReflect.Descriptor instead.
func (*DiscoveryBigQueryConditions) GetCreatedAfter ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) GetCreatedAfter() *timestamppb.Timestamp
func (*DiscoveryBigQueryConditions) GetIncludedTypes ¶ added in v1.11.0
func (m *DiscoveryBigQueryConditions) GetIncludedTypes() isDiscoveryBigQueryConditions_IncludedTypes
func (*DiscoveryBigQueryConditions) GetOrConditions ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) GetOrConditions() *DiscoveryBigQueryConditions_OrConditions
func (*DiscoveryBigQueryConditions) GetTypeCollection ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) GetTypeCollection() BigQueryTableTypeCollection
func (*DiscoveryBigQueryConditions) GetTypes ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) GetTypes() *BigQueryTableTypes
func (*DiscoveryBigQueryConditions) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryBigQueryConditions) ProtoMessage()
func (*DiscoveryBigQueryConditions) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) ProtoReflect() protoreflect.Message
func (*DiscoveryBigQueryConditions) Reset ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) Reset()
func (*DiscoveryBigQueryConditions) String ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions) String() string
type DiscoveryBigQueryConditions_OrConditions ¶ added in v1.11.0
type DiscoveryBigQueryConditions_OrConditions struct { // Minimum number of rows that should be present before Cloud DLP // profiles a table MinRowCount int32 `protobuf:"varint,1,opt,name=min_row_count,json=minRowCount,proto3" json:"min_row_count,omitempty"` // Minimum age a table must have before Cloud DLP can profile it. Value must // be 1 hour or greater. MinAge *durationpb.Duration `protobuf:"bytes,2,opt,name=min_age,json=minAge,proto3" json:"min_age,omitempty"` // contains filtered or unexported fields }
There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.
func (*DiscoveryBigQueryConditions_OrConditions) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryBigQueryConditions_OrConditions) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryBigQueryConditions_OrConditions.ProtoReflect.Descriptor instead.
func (*DiscoveryBigQueryConditions_OrConditions) GetMinAge ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions_OrConditions) GetMinAge() *durationpb.Duration
func (*DiscoveryBigQueryConditions_OrConditions) GetMinRowCount ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions_OrConditions) GetMinRowCount() int32
func (*DiscoveryBigQueryConditions_OrConditions) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryBigQueryConditions_OrConditions) ProtoMessage()
func (*DiscoveryBigQueryConditions_OrConditions) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions_OrConditions) ProtoReflect() protoreflect.Message
func (*DiscoveryBigQueryConditions_OrConditions) Reset ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions_OrConditions) Reset()
func (*DiscoveryBigQueryConditions_OrConditions) String ¶ added in v1.11.0
func (x *DiscoveryBigQueryConditions_OrConditions) String() string
type DiscoveryBigQueryConditions_TypeCollection ¶ added in v1.11.0
type DiscoveryBigQueryConditions_TypeCollection struct { // Restrict discovery to categories of table types. TypeCollection BigQueryTableTypeCollection `` /* 132-byte string literal not displayed */ }
type DiscoveryBigQueryConditions_Types ¶ added in v1.11.0
type DiscoveryBigQueryConditions_Types struct { // Restrict discovery to specific table types. Types *BigQueryTableTypes `protobuf:"bytes,2,opt,name=types,proto3,oneof"` }
type DiscoveryBigQueryFilter ¶ added in v1.11.0
type DiscoveryBigQueryFilter struct { // Whether the filter applies to a specific set of tables or all other tables // within the location being profiled. The first filter to match will be // applied, regardless of the condition. If none is set, will default to // `other_tables`. // // Types that are assignable to Filter: // // *DiscoveryBigQueryFilter_Tables // *DiscoveryBigQueryFilter_OtherTables Filter isDiscoveryBigQueryFilter_Filter `protobuf_oneof:"filter"` // contains filtered or unexported fields }
Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.
func (*DiscoveryBigQueryFilter) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryBigQueryFilter) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryBigQueryFilter.ProtoReflect.Descriptor instead.
func (*DiscoveryBigQueryFilter) GetFilter ¶ added in v1.11.0
func (m *DiscoveryBigQueryFilter) GetFilter() isDiscoveryBigQueryFilter_Filter
func (*DiscoveryBigQueryFilter) GetOtherTables ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter) GetOtherTables() *DiscoveryBigQueryFilter_AllOtherBigQueryTables
func (*DiscoveryBigQueryFilter) GetTables ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter) GetTables() *BigQueryTableCollection
func (*DiscoveryBigQueryFilter) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryBigQueryFilter) ProtoMessage()
func (*DiscoveryBigQueryFilter) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter) ProtoReflect() protoreflect.Message
func (*DiscoveryBigQueryFilter) Reset ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter) Reset()
func (*DiscoveryBigQueryFilter) String ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter) String() string
type DiscoveryBigQueryFilter_AllOtherBigQueryTables ¶ added in v1.11.0
type DiscoveryBigQueryFilter_AllOtherBigQueryTables struct {
// contains filtered or unexported fields
}
Catch-all for all other tables not specified by other filters. Should always be last, except for single-table configurations, which will only have a TableReference target.
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryBigQueryFilter_AllOtherBigQueryTables.ProtoReflect.Descriptor instead.
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) ProtoMessage()
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter_AllOtherBigQueryTables) ProtoReflect() protoreflect.Message
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) Reset ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter_AllOtherBigQueryTables) Reset()
func (*DiscoveryBigQueryFilter_AllOtherBigQueryTables) String ¶ added in v1.11.0
func (x *DiscoveryBigQueryFilter_AllOtherBigQueryTables) String() string
type DiscoveryBigQueryFilter_OtherTables ¶ added in v1.11.0
type DiscoveryBigQueryFilter_OtherTables struct { // Catch-all. This should always be the last filter in the list because // anything above it will apply first. Should only appear once in a // configuration. If none is specified, a default one will be added // automatically. OtherTables *DiscoveryBigQueryFilter_AllOtherBigQueryTables `protobuf:"bytes,2,opt,name=other_tables,json=otherTables,proto3,oneof"` }
type DiscoveryBigQueryFilter_Tables ¶ added in v1.11.0
type DiscoveryBigQueryFilter_Tables struct { // A specific set of tables for this filter to apply to. A table collection // must be specified in only one filter per config. // If a table id or dataset is empty, Cloud DLP assumes all tables in that // collection must be profiled. Must specify a project ID. Tables *BigQueryTableCollection `protobuf:"bytes,1,opt,name=tables,proto3,oneof"` }
type DiscoveryConfig ¶ added in v1.11.0
type DiscoveryConfig struct { // Unique resource name for the DiscoveryConfig, assigned by the service when // the DiscoveryConfig is created, for example // `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name (max 100 chars) DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Only set when the parent is an org. OrgConfig *DiscoveryConfig_OrgConfig `protobuf:"bytes,2,opt,name=org_config,json=orgConfig,proto3" json:"org_config,omitempty"` // Detection logic for profile generation. // // Not all template features are used by Discovery. FindingLimits, // include_quote and exclude_info_types have no impact on // Discovery. // // Multiple templates may be provided if there is data in multiple regions. // At most one template must be specified per-region (including "global"). // Each region is scanned using the applicable template. If no region-specific // template is specified, but a "global" template is specified, it will be // copied to that region and used instead. If no global or region-specific // template is provided for a region with data, that region's data will not be // scanned. // // For more information, see // https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. InspectTemplates []string `protobuf:"bytes,3,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"` // Actions to execute at the completion of scanning. Actions []*DataProfileAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // Target to match against for determining what to scan and how frequently. Targets []*DiscoveryTarget `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"` // Output only. A stream of errors encountered when the config was activated. // Repeated errors may result in the config automatically being paused. Output // only field. Will return the last 100 errors. Whenever the config is // modified this list will be cleared. Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` // Output only. The creation timestamp of a DiscoveryConfig. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update timestamp of a DiscoveryConfig. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The timestamp of the last time this config was executed. LastRunTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"` // Required. A status for this configuration. Status DiscoveryConfig_Status `protobuf:"varint,10,opt,name=status,proto3,enum=google.privacy.dlp.v2.DiscoveryConfig_Status" json:"status,omitempty"` // contains filtered or unexported fields }
Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project.
The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
func (*DiscoveryConfig) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryConfig) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryConfig.ProtoReflect.Descriptor instead.
func (*DiscoveryConfig) GetActions ¶ added in v1.11.0
func (x *DiscoveryConfig) GetActions() []*DataProfileAction
func (*DiscoveryConfig) GetCreateTime ¶ added in v1.11.0
func (x *DiscoveryConfig) GetCreateTime() *timestamppb.Timestamp
func (*DiscoveryConfig) GetDisplayName ¶ added in v1.11.0
func (x *DiscoveryConfig) GetDisplayName() string
func (*DiscoveryConfig) GetErrors ¶ added in v1.11.0
func (x *DiscoveryConfig) GetErrors() []*Error
func (*DiscoveryConfig) GetInspectTemplates ¶ added in v1.11.0
func (x *DiscoveryConfig) GetInspectTemplates() []string
func (*DiscoveryConfig) GetLastRunTime ¶ added in v1.11.0
func (x *DiscoveryConfig) GetLastRunTime() *timestamppb.Timestamp
func (*DiscoveryConfig) GetName ¶ added in v1.11.0
func (x *DiscoveryConfig) GetName() string
func (*DiscoveryConfig) GetOrgConfig ¶ added in v1.11.0
func (x *DiscoveryConfig) GetOrgConfig() *DiscoveryConfig_OrgConfig
func (*DiscoveryConfig) GetStatus ¶ added in v1.11.0
func (x *DiscoveryConfig) GetStatus() DiscoveryConfig_Status
func (*DiscoveryConfig) GetTargets ¶ added in v1.11.0
func (x *DiscoveryConfig) GetTargets() []*DiscoveryTarget
func (*DiscoveryConfig) GetUpdateTime ¶ added in v1.11.0
func (x *DiscoveryConfig) GetUpdateTime() *timestamppb.Timestamp
func (*DiscoveryConfig) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryConfig) ProtoMessage()
func (*DiscoveryConfig) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryConfig) ProtoReflect() protoreflect.Message
func (*DiscoveryConfig) Reset ¶ added in v1.11.0
func (x *DiscoveryConfig) Reset()
func (*DiscoveryConfig) String ¶ added in v1.11.0
func (x *DiscoveryConfig) String() string
type DiscoveryConfig_OrgConfig ¶ added in v1.11.0
type DiscoveryConfig_OrgConfig struct { // The data to scan: folder, org, or project Location *DiscoveryStartingLocation `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The project that will run the scan. The DLP service // account that exists within this project must have access to all resources // that are profiled, and the Cloud DLP API must be enabled. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
Project and scan location information. Only set when the parent is an org.
func (*DiscoveryConfig_OrgConfig) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryConfig_OrgConfig) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryConfig_OrgConfig.ProtoReflect.Descriptor instead.
func (*DiscoveryConfig_OrgConfig) GetLocation ¶ added in v1.11.0
func (x *DiscoveryConfig_OrgConfig) GetLocation() *DiscoveryStartingLocation
func (*DiscoveryConfig_OrgConfig) GetProjectId ¶ added in v1.11.0
func (x *DiscoveryConfig_OrgConfig) GetProjectId() string
func (*DiscoveryConfig_OrgConfig) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryConfig_OrgConfig) ProtoMessage()
func (*DiscoveryConfig_OrgConfig) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryConfig_OrgConfig) ProtoReflect() protoreflect.Message
func (*DiscoveryConfig_OrgConfig) Reset ¶ added in v1.11.0
func (x *DiscoveryConfig_OrgConfig) Reset()
func (*DiscoveryConfig_OrgConfig) String ¶ added in v1.11.0
func (x *DiscoveryConfig_OrgConfig) String() string
type DiscoveryConfig_Status ¶ added in v1.11.0
type DiscoveryConfig_Status int32
Whether the discovery config is currently active. New options may be added at a later time.
const ( // Unused DiscoveryConfig_STATUS_UNSPECIFIED DiscoveryConfig_Status = 0 // The discovery config is currently active. DiscoveryConfig_RUNNING DiscoveryConfig_Status = 1 // The discovery config is paused temporarily. DiscoveryConfig_PAUSED DiscoveryConfig_Status = 2 )
func (DiscoveryConfig_Status) Descriptor ¶ added in v1.11.0
func (DiscoveryConfig_Status) Descriptor() protoreflect.EnumDescriptor
func (DiscoveryConfig_Status) Enum ¶ added in v1.11.0
func (x DiscoveryConfig_Status) Enum() *DiscoveryConfig_Status
func (DiscoveryConfig_Status) EnumDescriptor
deprecated
added in
v1.11.0
func (DiscoveryConfig_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiscoveryConfig_Status.Descriptor instead.
func (DiscoveryConfig_Status) Number ¶ added in v1.11.0
func (x DiscoveryConfig_Status) Number() protoreflect.EnumNumber
func (DiscoveryConfig_Status) String ¶ added in v1.11.0
func (x DiscoveryConfig_Status) String() string
func (DiscoveryConfig_Status) Type ¶ added in v1.11.0
func (DiscoveryConfig_Status) Type() protoreflect.EnumType
type DiscoveryGenerationCadence ¶ added in v1.11.0
type DiscoveryGenerationCadence struct { // Governs when to update data profiles when a schema is modified. SchemaModifiedCadence *DiscoverySchemaModifiedCadence `` /* 126-byte string literal not displayed */ // Governs when to update data profiles when a table is modified. TableModifiedCadence *DiscoveryTableModifiedCadence `protobuf:"bytes,2,opt,name=table_modified_cadence,json=tableModifiedCadence,proto3" json:"table_modified_cadence,omitempty"` // contains filtered or unexported fields }
What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.
func (*DiscoveryGenerationCadence) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryGenerationCadence) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryGenerationCadence.ProtoReflect.Descriptor instead.
func (*DiscoveryGenerationCadence) GetSchemaModifiedCadence ¶ added in v1.11.0
func (x *DiscoveryGenerationCadence) GetSchemaModifiedCadence() *DiscoverySchemaModifiedCadence
func (*DiscoveryGenerationCadence) GetTableModifiedCadence ¶ added in v1.11.0
func (x *DiscoveryGenerationCadence) GetTableModifiedCadence() *DiscoveryTableModifiedCadence
func (*DiscoveryGenerationCadence) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryGenerationCadence) ProtoMessage()
func (*DiscoveryGenerationCadence) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryGenerationCadence) ProtoReflect() protoreflect.Message
func (*DiscoveryGenerationCadence) Reset ¶ added in v1.11.0
func (x *DiscoveryGenerationCadence) Reset()
func (*DiscoveryGenerationCadence) String ¶ added in v1.11.0
func (x *DiscoveryGenerationCadence) String() string
type DiscoverySchemaModifiedCadence ¶ added in v1.11.0
type DiscoverySchemaModifiedCadence struct { // The type of events to consider when deciding if the table's schema // has been modified and should have the profile updated. Defaults to // NEW_COLUMNS. Types []BigQuerySchemaModification `protobuf:"varint,1,rep,packed,name=types,proto3,enum=google.privacy.dlp.v2.BigQuerySchemaModification" json:"types,omitempty"` // How frequently profiles may be updated when schemas are // modified. Defaults to monthly. Frequency DataProfileUpdateFrequency `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
The cadence at which to update data profiles when a schema is modified.
func (*DiscoverySchemaModifiedCadence) Descriptor
deprecated
added in
v1.11.0
func (*DiscoverySchemaModifiedCadence) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverySchemaModifiedCadence.ProtoReflect.Descriptor instead.
func (*DiscoverySchemaModifiedCadence) GetFrequency ¶ added in v1.11.0
func (x *DiscoverySchemaModifiedCadence) GetFrequency() DataProfileUpdateFrequency
func (*DiscoverySchemaModifiedCadence) GetTypes ¶ added in v1.11.0
func (x *DiscoverySchemaModifiedCadence) GetTypes() []BigQuerySchemaModification
func (*DiscoverySchemaModifiedCadence) ProtoMessage ¶ added in v1.11.0
func (*DiscoverySchemaModifiedCadence) ProtoMessage()
func (*DiscoverySchemaModifiedCadence) ProtoReflect ¶ added in v1.11.0
func (x *DiscoverySchemaModifiedCadence) ProtoReflect() protoreflect.Message
func (*DiscoverySchemaModifiedCadence) Reset ¶ added in v1.11.0
func (x *DiscoverySchemaModifiedCadence) Reset()
func (*DiscoverySchemaModifiedCadence) String ¶ added in v1.11.0
func (x *DiscoverySchemaModifiedCadence) String() string
type DiscoveryStartingLocation ¶ added in v1.11.0
type DiscoveryStartingLocation struct { // The location to be scanned. // // Types that are assignable to Location: // // *DiscoveryStartingLocation_OrganizationId // *DiscoveryStartingLocation_FolderId Location isDiscoveryStartingLocation_Location `protobuf_oneof:"location"` // contains filtered or unexported fields }
The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
func (*DiscoveryStartingLocation) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryStartingLocation) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryStartingLocation.ProtoReflect.Descriptor instead.
func (*DiscoveryStartingLocation) GetFolderId ¶ added in v1.11.0
func (x *DiscoveryStartingLocation) GetFolderId() int64
func (*DiscoveryStartingLocation) GetLocation ¶ added in v1.11.0
func (m *DiscoveryStartingLocation) GetLocation() isDiscoveryStartingLocation_Location
func (*DiscoveryStartingLocation) GetOrganizationId ¶ added in v1.11.0
func (x *DiscoveryStartingLocation) GetOrganizationId() int64
func (*DiscoveryStartingLocation) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryStartingLocation) ProtoMessage()
func (*DiscoveryStartingLocation) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryStartingLocation) ProtoReflect() protoreflect.Message
func (*DiscoveryStartingLocation) Reset ¶ added in v1.11.0
func (x *DiscoveryStartingLocation) Reset()
func (*DiscoveryStartingLocation) String ¶ added in v1.11.0
func (x *DiscoveryStartingLocation) String() string
type DiscoveryStartingLocation_FolderId ¶ added in v1.11.0
type DiscoveryStartingLocation_FolderId struct { // The ID of the Folder within an organization to scan. FolderId int64 `protobuf:"varint,2,opt,name=folder_id,json=folderId,proto3,oneof"` }
type DiscoveryStartingLocation_OrganizationId ¶ added in v1.11.0
type DiscoveryStartingLocation_OrganizationId struct { // The ID of an organization to scan. OrganizationId int64 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3,oneof"` }
type DiscoveryTableModifiedCadence ¶ added in v1.11.0
type DiscoveryTableModifiedCadence struct { // The type of events to consider when deciding if the table has been // modified and should have the profile updated. Defaults to // MODIFIED_TIMESTAMP. Types []BigQueryTableModification `protobuf:"varint,1,rep,packed,name=types,proto3,enum=google.privacy.dlp.v2.BigQueryTableModification" json:"types,omitempty"` // How frequently data profiles can be updated when tables are modified. // Defaults to never. Frequency DataProfileUpdateFrequency `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
The cadence at which to update data profiles when a table is modified.
func (*DiscoveryTableModifiedCadence) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryTableModifiedCadence) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryTableModifiedCadence.ProtoReflect.Descriptor instead.
func (*DiscoveryTableModifiedCadence) GetFrequency ¶ added in v1.11.0
func (x *DiscoveryTableModifiedCadence) GetFrequency() DataProfileUpdateFrequency
func (*DiscoveryTableModifiedCadence) GetTypes ¶ added in v1.11.0
func (x *DiscoveryTableModifiedCadence) GetTypes() []BigQueryTableModification
func (*DiscoveryTableModifiedCadence) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryTableModifiedCadence) ProtoMessage()
func (*DiscoveryTableModifiedCadence) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryTableModifiedCadence) ProtoReflect() protoreflect.Message
func (*DiscoveryTableModifiedCadence) Reset ¶ added in v1.11.0
func (x *DiscoveryTableModifiedCadence) Reset()
func (*DiscoveryTableModifiedCadence) String ¶ added in v1.11.0
func (x *DiscoveryTableModifiedCadence) String() string
type DiscoveryTarget ¶ added in v1.11.0
type DiscoveryTarget struct { // A target to match against for Discovery. // // Types that are assignable to Target: // // *DiscoveryTarget_BigQueryTarget Target isDiscoveryTarget_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
Target used to match against for Discovery.
func (*DiscoveryTarget) Descriptor
deprecated
added in
v1.11.0
func (*DiscoveryTarget) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryTarget.ProtoReflect.Descriptor instead.
func (*DiscoveryTarget) GetBigQueryTarget ¶ added in v1.11.0
func (x *DiscoveryTarget) GetBigQueryTarget() *BigQueryDiscoveryTarget
func (*DiscoveryTarget) GetTarget ¶ added in v1.11.0
func (m *DiscoveryTarget) GetTarget() isDiscoveryTarget_Target
func (*DiscoveryTarget) ProtoMessage ¶ added in v1.11.0
func (*DiscoveryTarget) ProtoMessage()
func (*DiscoveryTarget) ProtoReflect ¶ added in v1.11.0
func (x *DiscoveryTarget) ProtoReflect() protoreflect.Message
func (*DiscoveryTarget) Reset ¶ added in v1.11.0
func (x *DiscoveryTarget) Reset()
func (*DiscoveryTarget) String ¶ added in v1.11.0
func (x *DiscoveryTarget) String() string
type DiscoveryTarget_BigQueryTarget ¶ added in v1.11.0
type DiscoveryTarget_BigQueryTarget struct { // BigQuery target for Discovery. The first target to match a table will be // the one applied. BigQueryTarget *BigQueryDiscoveryTarget `protobuf:"bytes,1,opt,name=big_query_target,json=bigQueryTarget,proto3,oneof"` }
type DlpJob ¶
type DlpJob struct { // The server-assigned name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of job. Type DlpJobType `protobuf:"varint,2,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` // State of a job. State DlpJob_JobState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.DlpJob_JobState" json:"state,omitempty"` // Job details. // // Types that are assignable to Details: // // *DlpJob_RiskDetails // *DlpJob_InspectDetails Details isDlpJob_Details `protobuf_oneof:"details"` // Time when the job was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time when the job started. StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time when the job finished. EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Time when the job was last modified by the system. LastModified *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` // If created by a job trigger, the resource name of the trigger that // instantiated the job. JobTriggerName string `protobuf:"bytes,10,opt,name=job_trigger_name,json=jobTriggerName,proto3" json:"job_trigger_name,omitempty"` // A stream of errors encountered running the job. Errors []*Error `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"` // Events that should occur after the job has completed. ActionDetails []*ActionDetails `protobuf:"bytes,12,rep,name=action_details,json=actionDetails,proto3" json:"action_details,omitempty"` // contains filtered or unexported fields }
Combines all of the information about a DLP job.
func (*DlpJob) Descriptor
deprecated
func (*DlpJob) GetActionDetails ¶ added in v1.11.0
func (x *DlpJob) GetActionDetails() []*ActionDetails
func (*DlpJob) GetCreateTime ¶
func (x *DlpJob) GetCreateTime() *timestamppb.Timestamp
func (*DlpJob) GetDetails ¶
func (m *DlpJob) GetDetails() isDlpJob_Details
func (*DlpJob) GetEndTime ¶
func (x *DlpJob) GetEndTime() *timestamppb.Timestamp
func (*DlpJob) GetInspectDetails ¶
func (x *DlpJob) GetInspectDetails() *InspectDataSourceDetails
func (*DlpJob) GetJobTriggerName ¶
func (*DlpJob) GetLastModified ¶ added in v1.11.0
func (x *DlpJob) GetLastModified() *timestamppb.Timestamp
func (*DlpJob) GetRiskDetails ¶
func (x *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails
func (*DlpJob) GetStartTime ¶
func (x *DlpJob) GetStartTime() *timestamppb.Timestamp
func (*DlpJob) GetState ¶
func (x *DlpJob) GetState() DlpJob_JobState
func (*DlpJob) GetType ¶
func (x *DlpJob) GetType() DlpJobType
func (*DlpJob) ProtoMessage ¶
func (*DlpJob) ProtoMessage()
func (*DlpJob) ProtoReflect ¶
func (x *DlpJob) ProtoReflect() protoreflect.Message
type DlpJobType ¶
type DlpJobType int32
An enum to represent the various types of DLP jobs.
const ( // Defaults to INSPECT_JOB. DlpJobType_DLP_JOB_TYPE_UNSPECIFIED DlpJobType = 0 // The job inspected Google Cloud for sensitive data. DlpJobType_INSPECT_JOB DlpJobType = 1 // The job executed a Risk Analysis computation. DlpJobType_RISK_ANALYSIS_JOB DlpJobType = 2 )
func (DlpJobType) Descriptor ¶
func (DlpJobType) Descriptor() protoreflect.EnumDescriptor
func (DlpJobType) Enum ¶
func (x DlpJobType) Enum() *DlpJobType
func (DlpJobType) EnumDescriptor
deprecated
func (DlpJobType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DlpJobType.Descriptor instead.
func (DlpJobType) Number ¶
func (x DlpJobType) Number() protoreflect.EnumNumber
func (DlpJobType) String ¶
func (x DlpJobType) String() string
func (DlpJobType) Type ¶
func (DlpJobType) Type() protoreflect.EnumType
type DlpJob_InspectDetails ¶
type DlpJob_InspectDetails struct { // Results from inspecting a data source. InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,proto3,oneof"` }
type DlpJob_JobState ¶
type DlpJob_JobState int32
Possible states of a job. New items may be added.
const ( // Unused. DlpJob_JOB_STATE_UNSPECIFIED DlpJob_JobState = 0 // The job has not yet started. DlpJob_PENDING DlpJob_JobState = 1 // The job is currently running. Once a job has finished it will transition // to FAILED or DONE. DlpJob_RUNNING DlpJob_JobState = 2 // The job is no longer running. DlpJob_DONE DlpJob_JobState = 3 // The job was canceled before it could be completed. DlpJob_CANCELED DlpJob_JobState = 4 // The job had an error and did not complete. DlpJob_FAILED DlpJob_JobState = 5 // The job is currently accepting findings via hybridInspect. // A hybrid job in ACTIVE state may continue to have findings added to it // through the calling of hybridInspect. After the job has finished no more // calls to hybridInspect may be made. ACTIVE jobs can transition to DONE. DlpJob_ACTIVE DlpJob_JobState = 6 )
func (DlpJob_JobState) Descriptor ¶
func (DlpJob_JobState) Descriptor() protoreflect.EnumDescriptor
func (DlpJob_JobState) Enum ¶
func (x DlpJob_JobState) Enum() *DlpJob_JobState
func (DlpJob_JobState) EnumDescriptor
deprecated
func (DlpJob_JobState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DlpJob_JobState.Descriptor instead.
func (DlpJob_JobState) Number ¶
func (x DlpJob_JobState) Number() protoreflect.EnumNumber
func (DlpJob_JobState) String ¶
func (x DlpJob_JobState) String() string
func (DlpJob_JobState) Type ¶
func (DlpJob_JobState) Type() protoreflect.EnumType
type DlpJob_RiskDetails ¶
type DlpJob_RiskDetails struct { // Results from analyzing risk of a data source. RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,proto3,oneof"` }
type DlpServiceClient ¶
type DlpServiceClient interface { // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. // // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. // // For how to guides, see // https://cloud.google.com/sensitive-data-protection/docs/inspecting-images // and // https://cloud.google.com/sensitive-data-protection/docs/inspecting-text, InspectContent(ctx context.Context, in *InspectContentRequest, opts ...grpc.CallOption) (*InspectContentResponse, error) // Redacts potentially sensitive info from an image. // This method has limits on input size, processing time, and output size. // See // https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images // to learn more. // // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. RedactImage(ctx context.Context, in *RedactImageRequest, opts ...grpc.CallOption) (*RedactImageResponse, error) // De-identifies potentially sensitive info from a ContentItem. // This method has limits on input size and output size. // See // https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data // to learn more. // // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error) // Re-identifies content that has been de-identified. // See // https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example // to learn more. ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error) // Returns a list of the sensitive information types that DLP API // supports. See // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference // to learn more. ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error) // Creates an InspectTemplate for reusing frequently used configuration // for inspecting content, images, and storage. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) // Updates the InspectTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) // Gets an InspectTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) // Lists InspectTemplates. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error) // Deletes an InspectTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates a DeidentifyTemplate for reusing frequently used configuration // for de-identifying content, images, and storage. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) // Updates the DeidentifyTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) // Gets a DeidentifyTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) // Lists DeidentifyTemplates. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error) // Deletes a DeidentifyTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates a job trigger to run DLP actions such as scanning storage for // sensitive information on a set schedule. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) // Updates a job trigger. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) // Inspect hybrid content and store findings to a trigger. The inspection // will be processed asynchronously. To review the findings monitor the // jobs within the trigger. HybridInspectJobTrigger(ctx context.Context, in *HybridInspectJobTriggerRequest, opts ...grpc.CallOption) (*HybridInspectResponse, error) // Gets a job trigger. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) // Lists job triggers. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error) // Deletes a job trigger. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Activate a job trigger. Causes the immediate execute of a trigger // instead of waiting on the trigger event to occur. ActivateJobTrigger(ctx context.Context, in *ActivateJobTriggerRequest, opts ...grpc.CallOption) (*DlpJob, error) // Creates a config for discovery to scan and profile storage. CreateDiscoveryConfig(ctx context.Context, in *CreateDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error) // Updates a discovery configuration. UpdateDiscoveryConfig(ctx context.Context, in *UpdateDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error) // Gets a discovery configuration. GetDiscoveryConfig(ctx context.Context, in *GetDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error) // Lists discovery configurations. ListDiscoveryConfigs(ctx context.Context, in *ListDiscoveryConfigsRequest, opts ...grpc.CallOption) (*ListDiscoveryConfigsResponse, error) // Deletes a discovery configuration. DeleteDiscoveryConfig(ctx context.Context, in *DeleteDiscoveryConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates a new job to inspect storage or calculate risk metrics. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. // // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. CreateDlpJob(ctx context.Context, in *CreateDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) // Lists DlpJobs that match the specified filter in the request. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error) // Gets the latest state of a long-running DlpJob. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. GetDlpJob(ctx context.Context, in *GetDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) // Deletes a long-running DlpJob. This method indicates that the client is // no longer interested in the DlpJob result. The job will be canceled if // possible. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Starts asynchronous cancellation on a long-running DlpJob. The server // makes a best effort to cancel the DlpJob, but success is not // guaranteed. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates a pre-built stored infoType to be used for inspection. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. CreateStoredInfoType(ctx context.Context, in *CreateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) // Updates the stored infoType by creating a new version. The existing version // will continue to be used until the new version is ready. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. UpdateStoredInfoType(ctx context.Context, in *UpdateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) // Gets a stored infoType. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. GetStoredInfoType(ctx context.Context, in *GetStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) // Lists stored infoTypes. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. ListStoredInfoTypes(ctx context.Context, in *ListStoredInfoTypesRequest, opts ...grpc.CallOption) (*ListStoredInfoTypesResponse, error) // Deletes a stored infoType. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. DeleteStoredInfoType(ctx context.Context, in *DeleteStoredInfoTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists data profiles for an organization. ListProjectDataProfiles(ctx context.Context, in *ListProjectDataProfilesRequest, opts ...grpc.CallOption) (*ListProjectDataProfilesResponse, error) // Lists data profiles for an organization. ListTableDataProfiles(ctx context.Context, in *ListTableDataProfilesRequest, opts ...grpc.CallOption) (*ListTableDataProfilesResponse, error) // Lists data profiles for an organization. ListColumnDataProfiles(ctx context.Context, in *ListColumnDataProfilesRequest, opts ...grpc.CallOption) (*ListColumnDataProfilesResponse, error) // Gets a project data profile. GetProjectDataProfile(ctx context.Context, in *GetProjectDataProfileRequest, opts ...grpc.CallOption) (*ProjectDataProfile, error) // Gets a table data profile. GetTableDataProfile(ctx context.Context, in *GetTableDataProfileRequest, opts ...grpc.CallOption) (*TableDataProfile, error) // Gets a column data profile. GetColumnDataProfile(ctx context.Context, in *GetColumnDataProfileRequest, opts ...grpc.CallOption) (*ColumnDataProfile, error) // Inspect hybrid content and store findings to a job. // To review the findings, inspect the job. Inspection will occur // asynchronously. HybridInspectDlpJob(ctx context.Context, in *HybridInspectDlpJobRequest, opts ...grpc.CallOption) (*HybridInspectResponse, error) // Finish a running hybrid DlpJob. Triggers the finalization steps and running // of any enabled actions that have not yet run. FinishDlpJob(ctx context.Context, in *FinishDlpJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
DlpServiceClient is the client API for DlpService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDlpServiceClient ¶
func NewDlpServiceClient(cc grpc.ClientConnInterface) DlpServiceClient
type DlpServiceServer ¶
type DlpServiceServer interface { // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. // // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. // // For how to guides, see // https://cloud.google.com/sensitive-data-protection/docs/inspecting-images // and // https://cloud.google.com/sensitive-data-protection/docs/inspecting-text, InspectContent(context.Context, *InspectContentRequest) (*InspectContentResponse, error) // Redacts potentially sensitive info from an image. // This method has limits on input size, processing time, and output size. // See // https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images // to learn more. // // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error) // De-identifies potentially sensitive info from a ContentItem. // This method has limits on input size and output size. // See // https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data // to learn more. // // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error) // Re-identifies content that has been de-identified. // See // https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example // to learn more. ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error) // Returns a list of the sensitive information types that DLP API // supports. See // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference // to learn more. ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error) // Creates an InspectTemplate for reusing frequently used configuration // for inspecting content, images, and storage. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error) // Updates the InspectTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error) // Gets an InspectTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error) // Lists InspectTemplates. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error) // Deletes an InspectTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates // to learn more. DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*emptypb.Empty, error) // Creates a DeidentifyTemplate for reusing frequently used configuration // for de-identifying content, images, and storage. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) // Updates the DeidentifyTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) // Gets a DeidentifyTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error) // Lists DeidentifyTemplates. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error) // Deletes a DeidentifyTemplate. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid // to learn more. DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*emptypb.Empty, error) // Creates a job trigger to run DLP actions such as scanning storage for // sensitive information on a set schedule. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error) // Updates a job trigger. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error) // Inspect hybrid content and store findings to a trigger. The inspection // will be processed asynchronously. To review the findings monitor the // jobs within the trigger. HybridInspectJobTrigger(context.Context, *HybridInspectJobTriggerRequest) (*HybridInspectResponse, error) // Gets a job trigger. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error) // Lists job triggers. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error) // Deletes a job trigger. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers // to learn more. DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*emptypb.Empty, error) // Activate a job trigger. Causes the immediate execute of a trigger // instead of waiting on the trigger event to occur. ActivateJobTrigger(context.Context, *ActivateJobTriggerRequest) (*DlpJob, error) // Creates a config for discovery to scan and profile storage. CreateDiscoveryConfig(context.Context, *CreateDiscoveryConfigRequest) (*DiscoveryConfig, error) // Updates a discovery configuration. UpdateDiscoveryConfig(context.Context, *UpdateDiscoveryConfigRequest) (*DiscoveryConfig, error) // Gets a discovery configuration. GetDiscoveryConfig(context.Context, *GetDiscoveryConfigRequest) (*DiscoveryConfig, error) // Lists discovery configurations. ListDiscoveryConfigs(context.Context, *ListDiscoveryConfigsRequest) (*ListDiscoveryConfigsResponse, error) // Deletes a discovery configuration. DeleteDiscoveryConfig(context.Context, *DeleteDiscoveryConfigRequest) (*emptypb.Empty, error) // Creates a new job to inspect storage or calculate risk metrics. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. // // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. CreateDlpJob(context.Context, *CreateDlpJobRequest) (*DlpJob, error) // Lists DlpJobs that match the specified filter in the request. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error) // Gets the latest state of a long-running DlpJob. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. GetDlpJob(context.Context, *GetDlpJobRequest) (*DlpJob, error) // Deletes a long-running DlpJob. This method indicates that the client is // no longer interested in the DlpJob result. The job will be canceled if // possible. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*emptypb.Empty, error) // Starts asynchronous cancellation on a long-running DlpJob. The server // makes a best effort to cancel the DlpJob, but success is not // guaranteed. // See // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage // and // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis // to learn more. CancelDlpJob(context.Context, *CancelDlpJobRequest) (*emptypb.Empty, error) // Creates a pre-built stored infoType to be used for inspection. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. CreateStoredInfoType(context.Context, *CreateStoredInfoTypeRequest) (*StoredInfoType, error) // Updates the stored infoType by creating a new version. The existing version // will continue to be used until the new version is ready. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. UpdateStoredInfoType(context.Context, *UpdateStoredInfoTypeRequest) (*StoredInfoType, error) // Gets a stored infoType. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. GetStoredInfoType(context.Context, *GetStoredInfoTypeRequest) (*StoredInfoType, error) // Lists stored infoTypes. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. ListStoredInfoTypes(context.Context, *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error) // Deletes a stored infoType. // See // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes // to learn more. DeleteStoredInfoType(context.Context, *DeleteStoredInfoTypeRequest) (*emptypb.Empty, error) // Lists data profiles for an organization. ListProjectDataProfiles(context.Context, *ListProjectDataProfilesRequest) (*ListProjectDataProfilesResponse, error) // Lists data profiles for an organization. ListTableDataProfiles(context.Context, *ListTableDataProfilesRequest) (*ListTableDataProfilesResponse, error) // Lists data profiles for an organization. ListColumnDataProfiles(context.Context, *ListColumnDataProfilesRequest) (*ListColumnDataProfilesResponse, error) // Gets a project data profile. GetProjectDataProfile(context.Context, *GetProjectDataProfileRequest) (*ProjectDataProfile, error) // Gets a table data profile. GetTableDataProfile(context.Context, *GetTableDataProfileRequest) (*TableDataProfile, error) // Gets a column data profile. GetColumnDataProfile(context.Context, *GetColumnDataProfileRequest) (*ColumnDataProfile, error) // Inspect hybrid content and store findings to a job. // To review the findings, inspect the job. Inspection will occur // asynchronously. HybridInspectDlpJob(context.Context, *HybridInspectDlpJobRequest) (*HybridInspectResponse, error) // Finish a running hybrid DlpJob. Triggers the finalization steps and running // of any enabled actions that have not yet run. FinishDlpJob(context.Context, *FinishDlpJobRequest) (*emptypb.Empty, error) }
DlpServiceServer is the server API for DlpService service.
type DocumentLocation ¶
type DocumentLocation struct { // Offset of the line, from the beginning of the file, where the finding // is located. FileOffset int64 `protobuf:"varint,1,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"` // contains filtered or unexported fields }
Location of a finding within a document.
func (*DocumentLocation) Descriptor
deprecated
func (*DocumentLocation) Descriptor() ([]byte, []int)
Deprecated: Use DocumentLocation.ProtoReflect.Descriptor instead.
func (*DocumentLocation) GetFileOffset ¶
func (x *DocumentLocation) GetFileOffset() int64
func (*DocumentLocation) ProtoMessage ¶
func (*DocumentLocation) ProtoMessage()
func (*DocumentLocation) ProtoReflect ¶
func (x *DocumentLocation) ProtoReflect() protoreflect.Message
func (*DocumentLocation) Reset ¶
func (x *DocumentLocation) Reset()
func (*DocumentLocation) String ¶
func (x *DocumentLocation) String() string
type EncryptionStatus ¶
type EncryptionStatus int32
How a resource is encrypted.
const ( // Unused. EncryptionStatus_ENCRYPTION_STATUS_UNSPECIFIED EncryptionStatus = 0 // Google manages server-side encryption keys on your behalf. EncryptionStatus_ENCRYPTION_GOOGLE_MANAGED EncryptionStatus = 1 // Customer provides the key. EncryptionStatus_ENCRYPTION_CUSTOMER_MANAGED EncryptionStatus = 2 )
func (EncryptionStatus) Descriptor ¶
func (EncryptionStatus) Descriptor() protoreflect.EnumDescriptor
func (EncryptionStatus) Enum ¶
func (x EncryptionStatus) Enum() *EncryptionStatus
func (EncryptionStatus) EnumDescriptor
deprecated
func (EncryptionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionStatus.Descriptor instead.
func (EncryptionStatus) Number ¶
func (x EncryptionStatus) Number() protoreflect.EnumNumber
func (EncryptionStatus) String ¶
func (x EncryptionStatus) String() string
func (EncryptionStatus) Type ¶
func (EncryptionStatus) Type() protoreflect.EnumType
type EntityId ¶
type EntityId struct { // Composite key indicating which field contains the entity identifier. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the `EntityId` might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.
func (*EntityId) Descriptor
deprecated
func (*EntityId) ProtoMessage ¶
func (*EntityId) ProtoMessage()
func (*EntityId) ProtoReflect ¶
func (x *EntityId) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { // Detailed error codes and messages. Details *status.Status `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` // The times the error occurred. List includes the oldest timestamp and the // last 9 timestamps. Timestamps []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=timestamps,proto3" json:"timestamps,omitempty"` // contains filtered or unexported fields }
Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.
func (*Error) Descriptor
deprecated
func (*Error) GetDetails ¶
func (*Error) GetTimestamps ¶
func (x *Error) GetTimestamps() []*timestamppb.Timestamp
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type ExcludeByHotword ¶ added in v1.8.0
type ExcludeByHotword struct { // Regular expression pattern defining what qualifies as a hotword. HotwordRegex *CustomInfoType_Regex `protobuf:"bytes,1,opt,name=hotword_regex,json=hotwordRegex,proto3" json:"hotword_regex,omitempty"` // Range of characters within which the entire hotword must reside. // The total length of the window cannot exceed 1000 characters. // The windowBefore property in proximity should be set to 1 if the hotword // needs to be included in a column header. Proximity *CustomInfoType_DetectionRule_Proximity `protobuf:"bytes,2,opt,name=proximity,proto3" json:"proximity,omitempty"` // contains filtered or unexported fields }
The rule to exclude findings based on a hotword. For record inspection of tables, column names are considered hotwords. An example of this is to exclude a finding if it belongs to a BigQuery column that matches a specific pattern.
func (*ExcludeByHotword) Descriptor
deprecated
added in
v1.8.0
func (*ExcludeByHotword) Descriptor() ([]byte, []int)
Deprecated: Use ExcludeByHotword.ProtoReflect.Descriptor instead.
func (*ExcludeByHotword) GetHotwordRegex ¶ added in v1.8.0
func (x *ExcludeByHotword) GetHotwordRegex() *CustomInfoType_Regex
func (*ExcludeByHotword) GetProximity ¶ added in v1.8.0
func (x *ExcludeByHotword) GetProximity() *CustomInfoType_DetectionRule_Proximity
func (*ExcludeByHotword) ProtoMessage ¶ added in v1.8.0
func (*ExcludeByHotword) ProtoMessage()
func (*ExcludeByHotword) ProtoReflect ¶ added in v1.8.0
func (x *ExcludeByHotword) ProtoReflect() protoreflect.Message
func (*ExcludeByHotword) Reset ¶ added in v1.8.0
func (x *ExcludeByHotword) Reset()
func (*ExcludeByHotword) String ¶ added in v1.8.0
func (x *ExcludeByHotword) String() string
type ExcludeInfoTypes ¶
type ExcludeInfoTypes struct { // InfoType list in ExclusionRule rule drops a finding when it overlaps or // contained within with a finding of an infoType from this list. For // example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and // `exclusion_rule` containing `exclude_info_types.info_types` with // "EMAIL_ADDRESS" the phone number findings are dropped if they overlap // with EMAIL_ADDRESS finding. // That leads to "555-222-2222@example.org" to generate only a single // finding, namely email address. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` // contains filtered or unexported fields }
List of excluded infoTypes.
func (*ExcludeInfoTypes) Descriptor
deprecated
func (*ExcludeInfoTypes) Descriptor() ([]byte, []int)
Deprecated: Use ExcludeInfoTypes.ProtoReflect.Descriptor instead.
func (*ExcludeInfoTypes) GetInfoTypes ¶
func (x *ExcludeInfoTypes) GetInfoTypes() []*InfoType
func (*ExcludeInfoTypes) ProtoMessage ¶
func (*ExcludeInfoTypes) ProtoMessage()
func (*ExcludeInfoTypes) ProtoReflect ¶
func (x *ExcludeInfoTypes) ProtoReflect() protoreflect.Message
func (*ExcludeInfoTypes) Reset ¶
func (x *ExcludeInfoTypes) Reset()
func (*ExcludeInfoTypes) String ¶
func (x *ExcludeInfoTypes) String() string
type ExclusionRule ¶
type ExclusionRule struct { // Exclusion rule types. // // Types that are assignable to Type: // // *ExclusionRule_Dictionary // *ExclusionRule_Regex // *ExclusionRule_ExcludeInfoTypes // *ExclusionRule_ExcludeByHotword Type isExclusionRule_Type `protobuf_oneof:"type"` // How the rule is applied, see MatchingType documentation for details. MatchingType MatchingType `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
The rule that specifies conditions when findings of infoTypes specified in `InspectionRuleSet` are removed from results.
func (*ExclusionRule) Descriptor
deprecated
func (*ExclusionRule) Descriptor() ([]byte, []int)
Deprecated: Use ExclusionRule.ProtoReflect.Descriptor instead.
func (*ExclusionRule) GetDictionary ¶
func (x *ExclusionRule) GetDictionary() *CustomInfoType_Dictionary
func (*ExclusionRule) GetExcludeByHotword ¶ added in v1.8.0
func (x *ExclusionRule) GetExcludeByHotword() *ExcludeByHotword
func (*ExclusionRule) GetExcludeInfoTypes ¶
func (x *ExclusionRule) GetExcludeInfoTypes() *ExcludeInfoTypes
func (*ExclusionRule) GetMatchingType ¶
func (x *ExclusionRule) GetMatchingType() MatchingType
func (*ExclusionRule) GetRegex ¶
func (x *ExclusionRule) GetRegex() *CustomInfoType_Regex
func (*ExclusionRule) GetType ¶
func (m *ExclusionRule) GetType() isExclusionRule_Type
func (*ExclusionRule) ProtoMessage ¶
func (*ExclusionRule) ProtoMessage()
func (*ExclusionRule) ProtoReflect ¶
func (x *ExclusionRule) ProtoReflect() protoreflect.Message
func (*ExclusionRule) Reset ¶
func (x *ExclusionRule) Reset()
func (*ExclusionRule) String ¶
func (x *ExclusionRule) String() string
type ExclusionRule_Dictionary ¶
type ExclusionRule_Dictionary struct { // Dictionary which defines the rule. Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,1,opt,name=dictionary,proto3,oneof"` }
type ExclusionRule_ExcludeByHotword ¶ added in v1.8.0
type ExclusionRule_ExcludeByHotword struct { // Drop if the hotword rule is contained in the proximate context. For // tabular data, the context includes the column name. ExcludeByHotword *ExcludeByHotword `protobuf:"bytes,5,opt,name=exclude_by_hotword,json=excludeByHotword,proto3,oneof"` }
type ExclusionRule_ExcludeInfoTypes ¶
type ExclusionRule_ExcludeInfoTypes struct { // Set of infoTypes for which findings would affect this rule. ExcludeInfoTypes *ExcludeInfoTypes `protobuf:"bytes,3,opt,name=exclude_info_types,json=excludeInfoTypes,proto3,oneof"` }
type ExclusionRule_Regex ¶
type ExclusionRule_Regex struct { // Regular expression which defines the rule. Regex *CustomInfoType_Regex `protobuf:"bytes,2,opt,name=regex,proto3,oneof"` }
type FieldId ¶
type FieldId struct { // Name describing the field. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
General identifier of a data field in a storage service.
func (*FieldId) Descriptor
deprecated
func (*FieldId) ProtoMessage ¶
func (*FieldId) ProtoMessage()
func (*FieldId) ProtoReflect ¶
func (x *FieldId) ProtoReflect() protoreflect.Message
type FieldTransformation ¶
type FieldTransformation struct { // Required. Input field(s) to apply the transformation to. // When you have columns that reference their position within a list, // omit the index from the FieldId. FieldId name matching ignores the index. // For example, instead of "contact.nums[0].type", use "contact.nums.type". Fields []*FieldId `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Only apply the transformation if the condition evaluates to true for the // given `RecordCondition`. The conditions are allowed to reference fields // that are not used in the actual transformation. // // Example Use Cases: // // - Apply a different bucket transformation to an age column if the zip code // column for the same record is within a specific range. // - Redact a field if the date of birth field is greater than 85. Condition *RecordCondition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` // Transformation to apply. [required] // // Types that are assignable to Transformation: // // *FieldTransformation_PrimitiveTransformation // *FieldTransformation_InfoTypeTransformations Transformation isFieldTransformation_Transformation `protobuf_oneof:"transformation"` // contains filtered or unexported fields }
The transformation to apply to the field.
func (*FieldTransformation) Descriptor
deprecated
func (*FieldTransformation) Descriptor() ([]byte, []int)
Deprecated: Use FieldTransformation.ProtoReflect.Descriptor instead.
func (*FieldTransformation) GetCondition ¶
func (x *FieldTransformation) GetCondition() *RecordCondition
func (*FieldTransformation) GetFields ¶
func (x *FieldTransformation) GetFields() []*FieldId
func (*FieldTransformation) GetInfoTypeTransformations ¶
func (x *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations
func (*FieldTransformation) GetPrimitiveTransformation ¶
func (x *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
func (*FieldTransformation) GetTransformation ¶
func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation
func (*FieldTransformation) ProtoMessage ¶
func (*FieldTransformation) ProtoMessage()
func (*FieldTransformation) ProtoReflect ¶
func (x *FieldTransformation) ProtoReflect() protoreflect.Message
func (*FieldTransformation) Reset ¶
func (x *FieldTransformation) Reset()
func (*FieldTransformation) String ¶
func (x *FieldTransformation) String() string
type FieldTransformation_InfoTypeTransformations ¶
type FieldTransformation_InfoTypeTransformations struct { // Treat the contents of the field as free text, and selectively // transform content that matches an `InfoType`. InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` }
type FieldTransformation_PrimitiveTransformation ¶
type FieldTransformation_PrimitiveTransformation struct { // Apply the transformation to the entire field. PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,proto3,oneof"` }
type FileType ¶
type FileType int32
Definitions of file type groups to scan. New types will be added to this list.
const ( // Includes all files. FileType_FILE_TYPE_UNSPECIFIED FileType = 0 // Includes all file extensions not covered by another entry. Binary // scanning attempts to convert the content of the file to utf_8 to scan // the file. // If you wish to avoid this fall back, specify one or more of the other // file types in your storage scan. FileType_BINARY_FILE FileType = 1 // Included file extensions: // // asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, // dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, // mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, // properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, // shtml, shtm, xhtml, lhs, ics, ini, java, js, json, jsonl, kix, kml, // ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, // yml, yaml. FileType_TEXT_FILE FileType = 2 // Included file extensions: // // bmp, gif, jpg, jpeg, jpe, png. Setting // // [bytes_limit_per_file][google.privacy.dlp.v2.CloudStorageOptions.bytes_limit_per_file] // or // [bytes_limit_per_file_percent][google.privacy.dlp.v2.CloudStorageOptions.bytes_limit_per_file] // has no effect on image files. Image inspection is restricted to the // `global`, `us`, `asia`, and `europe` regions. FileType_IMAGE FileType = 3 // Microsoft Word files larger than 30 MB will be scanned as binary files. // Included file extensions: // // docx, dotx, docm, dotm. Setting `bytes_limit_per_file` or // `bytes_limit_per_file_percent` has no effect on Word files. FileType_WORD FileType = 5 // PDF files larger than 30 MB will be scanned as binary files. // Included file extensions: // // pdf. Setting `bytes_limit_per_file` or `bytes_limit_per_file_percent` // // has no effect on PDF files. FileType_PDF FileType = 6 // Included file extensions: // // avro FileType_AVRO FileType = 7 // Included file extensions: // // csv FileType_CSV FileType = 8 // Included file extensions: // // tsv FileType_TSV FileType = 9 // Microsoft PowerPoint files larger than 30 MB will be scanned as binary // files. Included file extensions: // // pptx, pptm, potx, potm, pot. Setting `bytes_limit_per_file` or // `bytes_limit_per_file_percent` has no effect on PowerPoint files. FileType_POWERPOINT FileType = 11 // Microsoft Excel files larger than 30 MB will be scanned as binary files. // Included file extensions: // // xlsx, xlsm, xltx, xltm. Setting `bytes_limit_per_file` or // `bytes_limit_per_file_percent` has no effect on Excel files. FileType_EXCEL FileType = 12 )
func (FileType) Descriptor ¶
func (FileType) Descriptor() protoreflect.EnumDescriptor
func (FileType) EnumDescriptor
deprecated
func (FileType) Number ¶
func (x FileType) Number() protoreflect.EnumNumber
func (FileType) Type ¶
func (FileType) Type() protoreflect.EnumType
type Finding ¶
type Finding struct { // Resource name in format // projects/{project}/locations/{location}/findings/{finding} Populated only // when viewing persisted findings. Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` // The content that was found. Even if the content is not textual, it // may be converted to a textual representation here. // Provided if `include_quote` is true and the finding is // less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes // in length, the quote may be omitted. Quote string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"` // The type of content that might have been found. // Provided if `excluded_types` is false. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Confidence of how likely it is that the `info_type` is correct. Likelihood Likelihood `protobuf:"varint,3,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"` // Where the content was found. Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Timestamp when finding was detected. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Contains data parsed from quotes. Only populated if include_quote was set // to true and a supported infoType was requested. Currently supported // infoTypes: DATE, DATE_OF_BIRTH and TIME. QuoteInfo *QuoteInfo `protobuf:"bytes,7,opt,name=quote_info,json=quoteInfo,proto3" json:"quote_info,omitempty"` // The job that stored the finding. ResourceName string `protobuf:"bytes,8,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // Job trigger name, if applicable, for this finding. TriggerName string `protobuf:"bytes,9,opt,name=trigger_name,json=triggerName,proto3" json:"trigger_name,omitempty"` // The labels associated with this `Finding`. // // Label keys must be between 1 and 63 characters long and must conform // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // // Examples: // * `"environment" : "production"` // * `"pipeline" : "etl"` Labels map[string]string `` /* 154-byte string literal not displayed */ // Time the job started that produced this finding. JobCreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=job_create_time,json=jobCreateTime,proto3" json:"job_create_time,omitempty"` // The job that stored the finding. JobName string `protobuf:"bytes,13,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` // The unique finding id. FindingId string `protobuf:"bytes,15,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"` // contains filtered or unexported fields }
Represents a piece of potentially sensitive content.
func (*Finding) Descriptor
deprecated
func (*Finding) GetCreateTime ¶
func (x *Finding) GetCreateTime() *timestamppb.Timestamp
func (*Finding) GetFindingId ¶
func (*Finding) GetInfoType ¶
func (*Finding) GetJobCreateTime ¶
func (x *Finding) GetJobCreateTime() *timestamppb.Timestamp
func (*Finding) GetJobName ¶
func (*Finding) GetLikelihood ¶
func (x *Finding) GetLikelihood() Likelihood
func (*Finding) GetLocation ¶
func (*Finding) GetQuoteInfo ¶
func (*Finding) GetResourceName ¶
func (*Finding) GetTriggerName ¶
func (*Finding) ProtoMessage ¶
func (*Finding) ProtoMessage()
func (*Finding) ProtoReflect ¶
func (x *Finding) ProtoReflect() protoreflect.Message
type FinishDlpJobRequest ¶
type FinishDlpJobRequest struct { // Required. The name of the DlpJob resource to be finished. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for finishing a DLP hybrid job.
func (*FinishDlpJobRequest) Descriptor
deprecated
func (*FinishDlpJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinishDlpJobRequest.ProtoReflect.Descriptor instead.
func (*FinishDlpJobRequest) GetName ¶
func (x *FinishDlpJobRequest) GetName() string
func (*FinishDlpJobRequest) ProtoMessage ¶
func (*FinishDlpJobRequest) ProtoMessage()
func (*FinishDlpJobRequest) ProtoReflect ¶
func (x *FinishDlpJobRequest) ProtoReflect() protoreflect.Message
func (*FinishDlpJobRequest) Reset ¶
func (x *FinishDlpJobRequest) Reset()
func (*FinishDlpJobRequest) String ¶
func (x *FinishDlpJobRequest) String() string
type FixedSizeBucketingConfig ¶
type FixedSizeBucketingConfig struct { // Required. Lower bound value of buckets. All values less than `lower_bound` // are grouped together into a single bucket; for example if `lower_bound` = // 10, then all values less than 10 are replaced with the value "-10". LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"` // Required. Upper bound value of buckets. All values greater than upper_bound // are grouped together into a single bucket; for example if `upper_bound` = // 89, then all values greater than 89 are replaced with the value "89+". UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` // Required. Size of each bucket (except for minimum and maximum buckets). So // if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. BucketSize float64 `protobuf:"fixed64,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // contains filtered or unexported fields }
Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies.
The transformed value will be a hyphenated string of {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound = 20, all values that are within this bucket will be replaced with "10-20".
This can be used on data of type: double, long.
If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing.
See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing to learn more.
func (*FixedSizeBucketingConfig) Descriptor
deprecated
func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int)
Deprecated: Use FixedSizeBucketingConfig.ProtoReflect.Descriptor instead.
func (*FixedSizeBucketingConfig) GetBucketSize ¶
func (x *FixedSizeBucketingConfig) GetBucketSize() float64
func (*FixedSizeBucketingConfig) GetLowerBound ¶
func (x *FixedSizeBucketingConfig) GetLowerBound() *Value
func (*FixedSizeBucketingConfig) GetUpperBound ¶
func (x *FixedSizeBucketingConfig) GetUpperBound() *Value
func (*FixedSizeBucketingConfig) ProtoMessage ¶
func (*FixedSizeBucketingConfig) ProtoMessage()
func (*FixedSizeBucketingConfig) ProtoReflect ¶
func (x *FixedSizeBucketingConfig) ProtoReflect() protoreflect.Message
func (*FixedSizeBucketingConfig) Reset ¶
func (x *FixedSizeBucketingConfig) Reset()
func (*FixedSizeBucketingConfig) String ¶
func (x *FixedSizeBucketingConfig) String() string
type GetColumnDataProfileRequest ¶ added in v1.12.0
type GetColumnDataProfileRequest struct { // Required. Resource name, for example // `organizations/12345/locations/us/columnDataProfiles/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request to get a column data profile.
func (*GetColumnDataProfileRequest) Descriptor
deprecated
added in
v1.12.0
func (*GetColumnDataProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetColumnDataProfileRequest.ProtoReflect.Descriptor instead.
func (*GetColumnDataProfileRequest) GetName ¶ added in v1.12.0
func (x *GetColumnDataProfileRequest) GetName() string
func (*GetColumnDataProfileRequest) ProtoMessage ¶ added in v1.12.0
func (*GetColumnDataProfileRequest) ProtoMessage()
func (*GetColumnDataProfileRequest) ProtoReflect ¶ added in v1.12.0
func (x *GetColumnDataProfileRequest) ProtoReflect() protoreflect.Message
func (*GetColumnDataProfileRequest) Reset ¶ added in v1.12.0
func (x *GetColumnDataProfileRequest) Reset()
func (*GetColumnDataProfileRequest) String ¶ added in v1.12.0
func (x *GetColumnDataProfileRequest) String() string
type GetDeidentifyTemplateRequest ¶
type GetDeidentifyTemplateRequest struct { // Required. Resource name of the organization and deidentify template to be // read, for example `organizations/433245324/deidentifyTemplates/432452342` // or projects/project-id/deidentifyTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetDeidentifyTemplate.
func (*GetDeidentifyTemplateRequest) Descriptor
deprecated
func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeidentifyTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetDeidentifyTemplateRequest) GetName ¶
func (x *GetDeidentifyTemplateRequest) GetName() string
func (*GetDeidentifyTemplateRequest) ProtoMessage ¶
func (*GetDeidentifyTemplateRequest) ProtoMessage()
func (*GetDeidentifyTemplateRequest) ProtoReflect ¶
func (x *GetDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetDeidentifyTemplateRequest) Reset ¶
func (x *GetDeidentifyTemplateRequest) Reset()
func (*GetDeidentifyTemplateRequest) String ¶
func (x *GetDeidentifyTemplateRequest) String() string
type GetDiscoveryConfigRequest ¶ added in v1.11.0
type GetDiscoveryConfigRequest struct { // Required. Resource name of the project and the configuration, for example // `projects/dlp-test-project/discoveryConfigs/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetDiscoveryConfig.
func (*GetDiscoveryConfigRequest) Descriptor
deprecated
added in
v1.11.0
func (*GetDiscoveryConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDiscoveryConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDiscoveryConfigRequest) GetName ¶ added in v1.11.0
func (x *GetDiscoveryConfigRequest) GetName() string
func (*GetDiscoveryConfigRequest) ProtoMessage ¶ added in v1.11.0
func (*GetDiscoveryConfigRequest) ProtoMessage()
func (*GetDiscoveryConfigRequest) ProtoReflect ¶ added in v1.11.0
func (x *GetDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
func (*GetDiscoveryConfigRequest) Reset ¶ added in v1.11.0
func (x *GetDiscoveryConfigRequest) Reset()
func (*GetDiscoveryConfigRequest) String ¶ added in v1.11.0
func (x *GetDiscoveryConfigRequest) String() string
type GetDlpJobRequest ¶
type GetDlpJobRequest struct { // Required. The name of the DlpJob resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [DlpJobs.GetDlpJob][].
func (*GetDlpJobRequest) Descriptor
deprecated
func (*GetDlpJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDlpJobRequest.ProtoReflect.Descriptor instead.
func (*GetDlpJobRequest) GetName ¶
func (x *GetDlpJobRequest) GetName() string
func (*GetDlpJobRequest) ProtoMessage ¶
func (*GetDlpJobRequest) ProtoMessage()
func (*GetDlpJobRequest) ProtoReflect ¶
func (x *GetDlpJobRequest) ProtoReflect() protoreflect.Message
func (*GetDlpJobRequest) Reset ¶
func (x *GetDlpJobRequest) Reset()
func (*GetDlpJobRequest) String ¶
func (x *GetDlpJobRequest) String() string
type GetInspectTemplateRequest ¶
type GetInspectTemplateRequest struct { // Required. Resource name of the organization and inspectTemplate to be read, // for example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetInspectTemplate.
func (*GetInspectTemplateRequest) Descriptor
deprecated
func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInspectTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetInspectTemplateRequest) GetName ¶
func (x *GetInspectTemplateRequest) GetName() string
func (*GetInspectTemplateRequest) ProtoMessage ¶
func (*GetInspectTemplateRequest) ProtoMessage()
func (*GetInspectTemplateRequest) ProtoReflect ¶
func (x *GetInspectTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetInspectTemplateRequest) Reset ¶
func (x *GetInspectTemplateRequest) Reset()
func (*GetInspectTemplateRequest) String ¶
func (x *GetInspectTemplateRequest) String() string
type GetJobTriggerRequest ¶
type GetJobTriggerRequest struct { // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetJobTrigger.
func (*GetJobTriggerRequest) Descriptor
deprecated
func (*GetJobTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobTriggerRequest.ProtoReflect.Descriptor instead.
func (*GetJobTriggerRequest) GetName ¶
func (x *GetJobTriggerRequest) GetName() string
func (*GetJobTriggerRequest) ProtoMessage ¶
func (*GetJobTriggerRequest) ProtoMessage()
func (*GetJobTriggerRequest) ProtoReflect ¶
func (x *GetJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*GetJobTriggerRequest) Reset ¶
func (x *GetJobTriggerRequest) Reset()
func (*GetJobTriggerRequest) String ¶
func (x *GetJobTriggerRequest) String() string
type GetProjectDataProfileRequest ¶ added in v1.12.0
type GetProjectDataProfileRequest struct { // Required. Resource name, for example // `organizations/12345/locations/us/projectDataProfiles/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request to get a project data profile.
func (*GetProjectDataProfileRequest) Descriptor
deprecated
added in
v1.12.0
func (*GetProjectDataProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectDataProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProjectDataProfileRequest) GetName ¶ added in v1.12.0
func (x *GetProjectDataProfileRequest) GetName() string
func (*GetProjectDataProfileRequest) ProtoMessage ¶ added in v1.12.0
func (*GetProjectDataProfileRequest) ProtoMessage()
func (*GetProjectDataProfileRequest) ProtoReflect ¶ added in v1.12.0
func (x *GetProjectDataProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProjectDataProfileRequest) Reset ¶ added in v1.12.0
func (x *GetProjectDataProfileRequest) Reset()
func (*GetProjectDataProfileRequest) String ¶ added in v1.12.0
func (x *GetProjectDataProfileRequest) String() string
type GetStoredInfoTypeRequest ¶
type GetStoredInfoTypeRequest struct { // Required. Resource name of the organization and storedInfoType to be read, // for example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetStoredInfoType.
func (*GetStoredInfoTypeRequest) Descriptor
deprecated
func (*GetStoredInfoTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStoredInfoTypeRequest.ProtoReflect.Descriptor instead.
func (*GetStoredInfoTypeRequest) GetName ¶
func (x *GetStoredInfoTypeRequest) GetName() string
func (*GetStoredInfoTypeRequest) ProtoMessage ¶
func (*GetStoredInfoTypeRequest) ProtoMessage()
func (*GetStoredInfoTypeRequest) ProtoReflect ¶
func (x *GetStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
func (*GetStoredInfoTypeRequest) Reset ¶
func (x *GetStoredInfoTypeRequest) Reset()
func (*GetStoredInfoTypeRequest) String ¶
func (x *GetStoredInfoTypeRequest) String() string
type GetTableDataProfileRequest ¶ added in v1.12.0
type GetTableDataProfileRequest struct { // Required. Resource name, for example // `organizations/12345/locations/us/tableDataProfiles/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request to get a table data profile.
func (*GetTableDataProfileRequest) Descriptor
deprecated
added in
v1.12.0
func (*GetTableDataProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTableDataProfileRequest.ProtoReflect.Descriptor instead.
func (*GetTableDataProfileRequest) GetName ¶ added in v1.12.0
func (x *GetTableDataProfileRequest) GetName() string
func (*GetTableDataProfileRequest) ProtoMessage ¶ added in v1.12.0
func (*GetTableDataProfileRequest) ProtoMessage()
func (*GetTableDataProfileRequest) ProtoReflect ¶ added in v1.12.0
func (x *GetTableDataProfileRequest) ProtoReflect() protoreflect.Message
func (*GetTableDataProfileRequest) Reset ¶ added in v1.12.0
func (x *GetTableDataProfileRequest) Reset()
func (*GetTableDataProfileRequest) String ¶ added in v1.12.0
func (x *GetTableDataProfileRequest) String() string
type HybridContentItem ¶
type HybridContentItem struct { // The item to inspect. Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // Supplementary information that will be added to each finding. FindingDetails *HybridFindingDetails `protobuf:"bytes,2,opt,name=finding_details,json=findingDetails,proto3" json:"finding_details,omitempty"` // contains filtered or unexported fields }
An individual hybrid item to inspect. Will be stored temporarily during processing.
func (*HybridContentItem) Descriptor
deprecated
func (*HybridContentItem) Descriptor() ([]byte, []int)
Deprecated: Use HybridContentItem.ProtoReflect.Descriptor instead.
func (*HybridContentItem) GetFindingDetails ¶
func (x *HybridContentItem) GetFindingDetails() *HybridFindingDetails
func (*HybridContentItem) GetItem ¶
func (x *HybridContentItem) GetItem() *ContentItem
func (*HybridContentItem) ProtoMessage ¶
func (*HybridContentItem) ProtoMessage()
func (*HybridContentItem) ProtoReflect ¶
func (x *HybridContentItem) ProtoReflect() protoreflect.Message
func (*HybridContentItem) Reset ¶
func (x *HybridContentItem) Reset()
func (*HybridContentItem) String ¶
func (x *HybridContentItem) String() string
type HybridFindingDetails ¶
type HybridFindingDetails struct { // Details about the container where the content being inspected is from. ContainerDetails *Container `protobuf:"bytes,1,opt,name=container_details,json=containerDetails,proto3" json:"container_details,omitempty"` // Offset in bytes of the line, from the beginning of the file, where the // finding is located. Populate if the item being scanned is only part of a // bigger item, such as a shard of a file and you want to track the absolute // position of the finding. FileOffset int64 `protobuf:"varint,2,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"` // Offset of the row for tables. Populate if the row(s) being scanned are // part of a bigger dataset and you want to keep track of their absolute // position. RowOffset int64 `protobuf:"varint,3,opt,name=row_offset,json=rowOffset,proto3" json:"row_offset,omitempty"` // If the container is a table, additional information to make findings // meaningful such as the columns that are primary keys. If not known ahead // of time, can also be set within each inspect hybrid call and the two // will be merged. Note that identifying_fields will only be stored to // BigQuery, and only if the BigQuery action has been included. TableOptions *TableOptions `protobuf:"bytes,4,opt,name=table_options,json=tableOptions,proto3" json:"table_options,omitempty"` // Labels to represent user provided metadata about the data being inspected. // If configured by the job, some key values may be required. // The labels associated with `Finding`'s produced by hybrid // inspection. // // Label keys must be between 1 and 63 characters long and must conform // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // // Examples: // * `"environment" : "production"` // * `"pipeline" : "etl"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Populate to associate additional data with each finding.
func (*HybridFindingDetails) Descriptor
deprecated
func (*HybridFindingDetails) Descriptor() ([]byte, []int)
Deprecated: Use HybridFindingDetails.ProtoReflect.Descriptor instead.
func (*HybridFindingDetails) GetContainerDetails ¶
func (x *HybridFindingDetails) GetContainerDetails() *Container
func (*HybridFindingDetails) GetFileOffset ¶
func (x *HybridFindingDetails) GetFileOffset() int64
func (*HybridFindingDetails) GetLabels ¶
func (x *HybridFindingDetails) GetLabels() map[string]string
func (*HybridFindingDetails) GetRowOffset ¶
func (x *HybridFindingDetails) GetRowOffset() int64
func (*HybridFindingDetails) GetTableOptions ¶
func (x *HybridFindingDetails) GetTableOptions() *TableOptions
func (*HybridFindingDetails) ProtoMessage ¶
func (*HybridFindingDetails) ProtoMessage()
func (*HybridFindingDetails) ProtoReflect ¶
func (x *HybridFindingDetails) ProtoReflect() protoreflect.Message
func (*HybridFindingDetails) Reset ¶
func (x *HybridFindingDetails) Reset()
func (*HybridFindingDetails) String ¶
func (x *HybridFindingDetails) String() string
type HybridInspectDlpJobRequest ¶
type HybridInspectDlpJobRequest struct { // Required. Resource name of the job to execute a hybrid inspect on, for // example `projects/dlp-test-project/dlpJob/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The item to inspect. HybridItem *HybridContentItem `protobuf:"bytes,3,opt,name=hybrid_item,json=hybridItem,proto3" json:"hybrid_item,omitempty"` // contains filtered or unexported fields }
Request to search for potentially sensitive info in a custom location.
func (*HybridInspectDlpJobRequest) Descriptor
deprecated
func (*HybridInspectDlpJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use HybridInspectDlpJobRequest.ProtoReflect.Descriptor instead.
func (*HybridInspectDlpJobRequest) GetHybridItem ¶
func (x *HybridInspectDlpJobRequest) GetHybridItem() *HybridContentItem
func (*HybridInspectDlpJobRequest) GetName ¶
func (x *HybridInspectDlpJobRequest) GetName() string
func (*HybridInspectDlpJobRequest) ProtoMessage ¶
func (*HybridInspectDlpJobRequest) ProtoMessage()
func (*HybridInspectDlpJobRequest) ProtoReflect ¶
func (x *HybridInspectDlpJobRequest) ProtoReflect() protoreflect.Message
func (*HybridInspectDlpJobRequest) Reset ¶
func (x *HybridInspectDlpJobRequest) Reset()
func (*HybridInspectDlpJobRequest) String ¶
func (x *HybridInspectDlpJobRequest) String() string
type HybridInspectJobTriggerRequest ¶
type HybridInspectJobTriggerRequest struct { // Required. Resource name of the trigger to execute a hybrid inspect on, for // example `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The item to inspect. HybridItem *HybridContentItem `protobuf:"bytes,3,opt,name=hybrid_item,json=hybridItem,proto3" json:"hybrid_item,omitempty"` // contains filtered or unexported fields }
Request to search for potentially sensitive info in a custom location.
func (*HybridInspectJobTriggerRequest) Descriptor
deprecated
func (*HybridInspectJobTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use HybridInspectJobTriggerRequest.ProtoReflect.Descriptor instead.
func (*HybridInspectJobTriggerRequest) GetHybridItem ¶
func (x *HybridInspectJobTriggerRequest) GetHybridItem() *HybridContentItem
func (*HybridInspectJobTriggerRequest) GetName ¶
func (x *HybridInspectJobTriggerRequest) GetName() string
func (*HybridInspectJobTriggerRequest) ProtoMessage ¶
func (*HybridInspectJobTriggerRequest) ProtoMessage()
func (*HybridInspectJobTriggerRequest) ProtoReflect ¶
func (x *HybridInspectJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*HybridInspectJobTriggerRequest) Reset ¶
func (x *HybridInspectJobTriggerRequest) Reset()
func (*HybridInspectJobTriggerRequest) String ¶
func (x *HybridInspectJobTriggerRequest) String() string
type HybridInspectResponse ¶
type HybridInspectResponse struct {
// contains filtered or unexported fields
}
Quota exceeded errors will be thrown once quota has been met.
func (*HybridInspectResponse) Descriptor
deprecated
func (*HybridInspectResponse) Descriptor() ([]byte, []int)
Deprecated: Use HybridInspectResponse.ProtoReflect.Descriptor instead.
func (*HybridInspectResponse) ProtoMessage ¶
func (*HybridInspectResponse) ProtoMessage()
func (*HybridInspectResponse) ProtoReflect ¶
func (x *HybridInspectResponse) ProtoReflect() protoreflect.Message
func (*HybridInspectResponse) Reset ¶
func (x *HybridInspectResponse) Reset()
func (*HybridInspectResponse) String ¶
func (x *HybridInspectResponse) String() string
type HybridInspectStatistics ¶
type HybridInspectStatistics struct { // The number of hybrid inspection requests processed within this job. ProcessedCount int64 `protobuf:"varint,1,opt,name=processed_count,json=processedCount,proto3" json:"processed_count,omitempty"` // The number of hybrid inspection requests aborted because the job ran // out of quota or was ended before they could be processed. AbortedCount int64 `protobuf:"varint,2,opt,name=aborted_count,json=abortedCount,proto3" json:"aborted_count,omitempty"` // The number of hybrid requests currently being processed. Only populated // when called via method `getDlpJob`. // A burst of traffic may cause hybrid inspect requests to be enqueued. // Processing will take place as quickly as possible, but resource limitations // may impact how long a request is enqueued for. PendingCount int64 `protobuf:"varint,3,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"` // contains filtered or unexported fields }
Statistics related to processing hybrid inspect requests.
func (*HybridInspectStatistics) Descriptor
deprecated
func (*HybridInspectStatistics) Descriptor() ([]byte, []int)
Deprecated: Use HybridInspectStatistics.ProtoReflect.Descriptor instead.
func (*HybridInspectStatistics) GetAbortedCount ¶
func (x *HybridInspectStatistics) GetAbortedCount() int64
func (*HybridInspectStatistics) GetPendingCount ¶
func (x *HybridInspectStatistics) GetPendingCount() int64
func (*HybridInspectStatistics) GetProcessedCount ¶
func (x *HybridInspectStatistics) GetProcessedCount() int64
func (*HybridInspectStatistics) ProtoMessage ¶
func (*HybridInspectStatistics) ProtoMessage()
func (*HybridInspectStatistics) ProtoReflect ¶
func (x *HybridInspectStatistics) ProtoReflect() protoreflect.Message
func (*HybridInspectStatistics) Reset ¶
func (x *HybridInspectStatistics) Reset()
func (*HybridInspectStatistics) String ¶
func (x *HybridInspectStatistics) String() string
type HybridOptions ¶
type HybridOptions struct { // A short description of where the data is coming from. Will be stored once // in the job. 256 max length. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // These are labels that each inspection request must include within their // 'finding_labels' map. Request may contain others, but any missing one of // these will be rejected. // // Label keys must be between 1 and 63 characters long and must conform // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // No more than 10 keys can be required. RequiredFindingLabelKeys []string `` /* 137-byte string literal not displayed */ // To organize findings, these labels will be added to each finding. // // Label keys must be between 1 and 63 characters long and must conform // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // // Examples: // * `"environment" : "production"` // * `"pipeline" : "etl"` Labels map[string]string `` /* 153-byte string literal not displayed */ // If the container is a table, additional information to make findings // meaningful such as the columns that are primary keys. TableOptions *TableOptions `protobuf:"bytes,4,opt,name=table_options,json=tableOptions,proto3" json:"table_options,omitempty"` // contains filtered or unexported fields }
Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
func (*HybridOptions) Descriptor
deprecated
func (*HybridOptions) Descriptor() ([]byte, []int)
Deprecated: Use HybridOptions.ProtoReflect.Descriptor instead.
func (*HybridOptions) GetDescription ¶
func (x *HybridOptions) GetDescription() string
func (*HybridOptions) GetLabels ¶
func (x *HybridOptions) GetLabels() map[string]string
func (*HybridOptions) GetRequiredFindingLabelKeys ¶
func (x *HybridOptions) GetRequiredFindingLabelKeys() []string
func (*HybridOptions) GetTableOptions ¶
func (x *HybridOptions) GetTableOptions() *TableOptions
func (*HybridOptions) ProtoMessage ¶
func (*HybridOptions) ProtoMessage()
func (*HybridOptions) ProtoReflect ¶
func (x *HybridOptions) ProtoReflect() protoreflect.Message
func (*HybridOptions) Reset ¶
func (x *HybridOptions) Reset()
func (*HybridOptions) String ¶
func (x *HybridOptions) String() string
type ImageLocation ¶
type ImageLocation struct { // Bounding boxes locating the pixels within the image containing the finding. BoundingBoxes []*BoundingBox `protobuf:"bytes,1,rep,name=bounding_boxes,json=boundingBoxes,proto3" json:"bounding_boxes,omitempty"` // contains filtered or unexported fields }
Location of the finding within an image.
func (*ImageLocation) Descriptor
deprecated
func (*ImageLocation) Descriptor() ([]byte, []int)
Deprecated: Use ImageLocation.ProtoReflect.Descriptor instead.
func (*ImageLocation) GetBoundingBoxes ¶
func (x *ImageLocation) GetBoundingBoxes() []*BoundingBox
func (*ImageLocation) ProtoMessage ¶
func (*ImageLocation) ProtoMessage()
func (*ImageLocation) ProtoReflect ¶
func (x *ImageLocation) ProtoReflect() protoreflect.Message
func (*ImageLocation) Reset ¶
func (x *ImageLocation) Reset()
func (*ImageLocation) String ¶
func (x *ImageLocation) String() string
type ImageTransformations ¶
type ImageTransformations struct { // List of transforms to make. Transforms []*ImageTransformations_ImageTransformation `protobuf:"bytes,2,rep,name=transforms,proto3" json:"transforms,omitempty"` // contains filtered or unexported fields }
A type of transformation that is applied over images.
func (*ImageTransformations) Descriptor
deprecated
func (*ImageTransformations) Descriptor() ([]byte, []int)
Deprecated: Use ImageTransformations.ProtoReflect.Descriptor instead.
func (*ImageTransformations) GetTransforms ¶
func (x *ImageTransformations) GetTransforms() []*ImageTransformations_ImageTransformation
func (*ImageTransformations) ProtoMessage ¶
func (*ImageTransformations) ProtoMessage()
func (*ImageTransformations) ProtoReflect ¶
func (x *ImageTransformations) ProtoReflect() protoreflect.Message
func (*ImageTransformations) Reset ¶
func (x *ImageTransformations) Reset()
func (*ImageTransformations) String ¶
func (x *ImageTransformations) String() string
type ImageTransformations_ImageTransformation ¶
type ImageTransformations_ImageTransformation struct { // Part of the image to transform. // // Types that are assignable to Target: // // *ImageTransformations_ImageTransformation_SelectedInfoTypes_ // *ImageTransformations_ImageTransformation_AllInfoTypes_ // *ImageTransformations_ImageTransformation_AllText_ Target isImageTransformations_ImageTransformation_Target `protobuf_oneof:"target"` // The color to use when redacting content from an image. If not // specified, the default is black. RedactionColor *Color `protobuf:"bytes,3,opt,name=redaction_color,json=redactionColor,proto3" json:"redaction_color,omitempty"` // contains filtered or unexported fields }
Configuration for determining how redaction of images should occur.
func (*ImageTransformations_ImageTransformation) Descriptor
deprecated
func (*ImageTransformations_ImageTransformation) Descriptor() ([]byte, []int)
Deprecated: Use ImageTransformations_ImageTransformation.ProtoReflect.Descriptor instead.
func (*ImageTransformations_ImageTransformation) GetAllInfoTypes ¶
func (x *ImageTransformations_ImageTransformation) GetAllInfoTypes() *ImageTransformations_ImageTransformation_AllInfoTypes
func (*ImageTransformations_ImageTransformation) GetAllText ¶
func (x *ImageTransformations_ImageTransformation) GetAllText() *ImageTransformations_ImageTransformation_AllText
func (*ImageTransformations_ImageTransformation) GetRedactionColor ¶
func (x *ImageTransformations_ImageTransformation) GetRedactionColor() *Color
func (*ImageTransformations_ImageTransformation) GetSelectedInfoTypes ¶
func (x *ImageTransformations_ImageTransformation) GetSelectedInfoTypes() *ImageTransformations_ImageTransformation_SelectedInfoTypes
func (*ImageTransformations_ImageTransformation) GetTarget ¶
func (m *ImageTransformations_ImageTransformation) GetTarget() isImageTransformations_ImageTransformation_Target
func (*ImageTransformations_ImageTransformation) ProtoMessage ¶
func (*ImageTransformations_ImageTransformation) ProtoMessage()
func (*ImageTransformations_ImageTransformation) ProtoReflect ¶
func (x *ImageTransformations_ImageTransformation) ProtoReflect() protoreflect.Message
func (*ImageTransformations_ImageTransformation) Reset ¶
func (x *ImageTransformations_ImageTransformation) Reset()
func (*ImageTransformations_ImageTransformation) String ¶
func (x *ImageTransformations_ImageTransformation) String() string
type ImageTransformations_ImageTransformation_AllInfoTypes ¶
type ImageTransformations_ImageTransformation_AllInfoTypes struct {
// contains filtered or unexported fields
}
Apply transformation to all findings.
func (*ImageTransformations_ImageTransformation_AllInfoTypes) Descriptor
deprecated
func (*ImageTransformations_ImageTransformation_AllInfoTypes) Descriptor() ([]byte, []int)
Deprecated: Use ImageTransformations_ImageTransformation_AllInfoTypes.ProtoReflect.Descriptor instead.
func (*ImageTransformations_ImageTransformation_AllInfoTypes) ProtoMessage ¶
func (*ImageTransformations_ImageTransformation_AllInfoTypes) ProtoMessage()
func (*ImageTransformations_ImageTransformation_AllInfoTypes) ProtoReflect ¶
func (x *ImageTransformations_ImageTransformation_AllInfoTypes) ProtoReflect() protoreflect.Message
func (*ImageTransformations_ImageTransformation_AllInfoTypes) Reset ¶
func (x *ImageTransformations_ImageTransformation_AllInfoTypes) Reset()
func (*ImageTransformations_ImageTransformation_AllInfoTypes) String ¶
func (x *ImageTransformations_ImageTransformation_AllInfoTypes) String() string
type ImageTransformations_ImageTransformation_AllInfoTypes_ ¶
type ImageTransformations_ImageTransformation_AllInfoTypes_ struct { // Apply transformation to all findings not specified in other // ImageTransformation's selected_info_types. Only one instance is allowed // within the ImageTransformations message. AllInfoTypes *ImageTransformations_ImageTransformation_AllInfoTypes `protobuf:"bytes,5,opt,name=all_info_types,json=allInfoTypes,proto3,oneof"` }
type ImageTransformations_ImageTransformation_AllText ¶
type ImageTransformations_ImageTransformation_AllText struct {
// contains filtered or unexported fields
}
Apply to all text.
func (*ImageTransformations_ImageTransformation_AllText) Descriptor
deprecated
func (*ImageTransformations_ImageTransformation_AllText) Descriptor() ([]byte, []int)
Deprecated: Use ImageTransformations_ImageTransformation_AllText.ProtoReflect.Descriptor instead.
func (*ImageTransformations_ImageTransformation_AllText) ProtoMessage ¶
func (*ImageTransformations_ImageTransformation_AllText) ProtoMessage()
func (*ImageTransformations_ImageTransformation_AllText) ProtoReflect ¶
func (x *ImageTransformations_ImageTransformation_AllText) ProtoReflect() protoreflect.Message
func (*ImageTransformations_ImageTransformation_AllText) Reset ¶
func (x *ImageTransformations_ImageTransformation_AllText) Reset()
func (*ImageTransformations_ImageTransformation_AllText) String ¶
func (x *ImageTransformations_ImageTransformation_AllText) String() string
type ImageTransformations_ImageTransformation_AllText_ ¶
type ImageTransformations_ImageTransformation_AllText_ struct { // Apply transformation to all text that doesn't match an infoType. Only // one instance is allowed within the ImageTransformations message. AllText *ImageTransformations_ImageTransformation_AllText `protobuf:"bytes,6,opt,name=all_text,json=allText,proto3,oneof"` }
type ImageTransformations_ImageTransformation_SelectedInfoTypes ¶
type ImageTransformations_ImageTransformation_SelectedInfoTypes struct { // Required. InfoTypes to apply the transformation to. Required. Provided // InfoType must be unique within the ImageTransformations message. InfoTypes []*InfoType `protobuf:"bytes,5,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` // contains filtered or unexported fields }
Apply transformation to the selected info_types.
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) Descriptor
deprecated
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) Descriptor() ([]byte, []int)
Deprecated: Use ImageTransformations_ImageTransformation_SelectedInfoTypes.ProtoReflect.Descriptor instead.
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) GetInfoTypes ¶
func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) GetInfoTypes() []*InfoType
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) ProtoMessage ¶
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) ProtoMessage()
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) ProtoReflect ¶
func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) ProtoReflect() protoreflect.Message
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) Reset ¶
func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) Reset()
func (*ImageTransformations_ImageTransformation_SelectedInfoTypes) String ¶
func (x *ImageTransformations_ImageTransformation_SelectedInfoTypes) String() string
type ImageTransformations_ImageTransformation_SelectedInfoTypes_ ¶
type ImageTransformations_ImageTransformation_SelectedInfoTypes_ struct { // Apply transformation to the selected info_types. SelectedInfoTypes *ImageTransformations_ImageTransformation_SelectedInfoTypes `protobuf:"bytes,4,opt,name=selected_info_types,json=selectedInfoTypes,proto3,oneof"` }
type InfoType ¶
type InfoType struct { // Name of the information type. Either a name of your choosing when // creating a CustomInfoType, or one of the names listed // at // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference // when specifying a built-in type. When sending Cloud DLP results to Data // Catalog, infoType names should conform to the pattern // `[A-Za-z0-9$_-]{1,64}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional version name for this InfoType. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Optional custom sensitivity for this InfoType. // This only applies to data profiling. SensitivityScore *SensitivityScore `protobuf:"bytes,3,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"` // contains filtered or unexported fields }
Type of information detected by the API.
func (*InfoType) Descriptor
deprecated
func (*InfoType) GetSensitivityScore ¶ added in v1.11.0
func (x *InfoType) GetSensitivityScore() *SensitivityScore
func (*InfoType) GetVersion ¶
func (*InfoType) ProtoMessage ¶
func (*InfoType) ProtoMessage()
func (*InfoType) ProtoReflect ¶
func (x *InfoType) ProtoReflect() protoreflect.Message
type InfoTypeCategory ¶
type InfoTypeCategory struct { // Categories of infotypes. // // Types that are assignable to Category: // // *InfoTypeCategory_LocationCategory_ // *InfoTypeCategory_IndustryCategory_ // *InfoTypeCategory_TypeCategory_ Category isInfoTypeCategory_Category `protobuf_oneof:"category"` // contains filtered or unexported fields }
Classification of infoTypes to organize them according to geographic location, industry, and data type.
func (*InfoTypeCategory) Descriptor
deprecated
func (*InfoTypeCategory) Descriptor() ([]byte, []int)
Deprecated: Use InfoTypeCategory.ProtoReflect.Descriptor instead.
func (*InfoTypeCategory) GetCategory ¶
func (m *InfoTypeCategory) GetCategory() isInfoTypeCategory_Category
func (*InfoTypeCategory) GetIndustryCategory ¶
func (x *InfoTypeCategory) GetIndustryCategory() InfoTypeCategory_IndustryCategory
func (*InfoTypeCategory) GetLocationCategory ¶
func (x *InfoTypeCategory) GetLocationCategory() InfoTypeCategory_LocationCategory
func (*InfoTypeCategory) GetTypeCategory ¶
func (x *InfoTypeCategory) GetTypeCategory() InfoTypeCategory_TypeCategory
func (*InfoTypeCategory) ProtoMessage ¶
func (*InfoTypeCategory) ProtoMessage()
func (*InfoTypeCategory) ProtoReflect ¶
func (x *InfoTypeCategory) ProtoReflect() protoreflect.Message
func (*InfoTypeCategory) Reset ¶
func (x *InfoTypeCategory) Reset()
func (*InfoTypeCategory) String ¶
func (x *InfoTypeCategory) String() string
type InfoTypeCategory_IndustryCategory ¶
type InfoTypeCategory_IndustryCategory int32
Enum of the current industries in the category. We might add more industries in the future.
const ( // Unused industry InfoTypeCategory_INDUSTRY_UNSPECIFIED InfoTypeCategory_IndustryCategory = 0 // The infoType is typically used in the finance industry. InfoTypeCategory_FINANCE InfoTypeCategory_IndustryCategory = 1 // The infoType is typically used in the health industry. InfoTypeCategory_HEALTH InfoTypeCategory_IndustryCategory = 2 // The infoType is typically used in the telecommunications industry. InfoTypeCategory_TELECOMMUNICATIONS InfoTypeCategory_IndustryCategory = 3 )
func (InfoTypeCategory_IndustryCategory) Descriptor ¶
func (InfoTypeCategory_IndustryCategory) Descriptor() protoreflect.EnumDescriptor
func (InfoTypeCategory_IndustryCategory) Enum ¶
func (x InfoTypeCategory_IndustryCategory) Enum() *InfoTypeCategory_IndustryCategory
func (InfoTypeCategory_IndustryCategory) EnumDescriptor
deprecated
func (InfoTypeCategory_IndustryCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use InfoTypeCategory_IndustryCategory.Descriptor instead.
func (InfoTypeCategory_IndustryCategory) Number ¶
func (x InfoTypeCategory_IndustryCategory) Number() protoreflect.EnumNumber
func (InfoTypeCategory_IndustryCategory) String ¶
func (x InfoTypeCategory_IndustryCategory) String() string
func (InfoTypeCategory_IndustryCategory) Type ¶
func (InfoTypeCategory_IndustryCategory) Type() protoreflect.EnumType
type InfoTypeCategory_IndustryCategory_ ¶
type InfoTypeCategory_IndustryCategory_ struct { // The group of relevant businesses where this infoType is commonly used IndustryCategory InfoTypeCategory_IndustryCategory `` /* 142-byte string literal not displayed */ }
type InfoTypeCategory_LocationCategory ¶
type InfoTypeCategory_LocationCategory int32
Enum of the current locations. We might add more locations in the future.
const ( // Unused location InfoTypeCategory_LOCATION_UNSPECIFIED InfoTypeCategory_LocationCategory = 0 // The infoType is not issued by or tied to a specific region, but is used // almost everywhere. InfoTypeCategory_GLOBAL InfoTypeCategory_LocationCategory = 1 // The infoType is typically used in Argentina. InfoTypeCategory_ARGENTINA InfoTypeCategory_LocationCategory = 2 // The infoType is typically used in Australia. InfoTypeCategory_AUSTRALIA InfoTypeCategory_LocationCategory = 3 // The infoType is typically used in Belgium. InfoTypeCategory_BELGIUM InfoTypeCategory_LocationCategory = 4 // The infoType is typically used in Brazil. InfoTypeCategory_BRAZIL InfoTypeCategory_LocationCategory = 5 // The infoType is typically used in Canada. InfoTypeCategory_CANADA InfoTypeCategory_LocationCategory = 6 // The infoType is typically used in Chile. InfoTypeCategory_CHILE InfoTypeCategory_LocationCategory = 7 // The infoType is typically used in China. InfoTypeCategory_CHINA InfoTypeCategory_LocationCategory = 8 // The infoType is typically used in Colombia. InfoTypeCategory_COLOMBIA InfoTypeCategory_LocationCategory = 9 // The infoType is typically used in Croatia. InfoTypeCategory_CROATIA InfoTypeCategory_LocationCategory = 42 // The infoType is typically used in Denmark. InfoTypeCategory_DENMARK InfoTypeCategory_LocationCategory = 10 // The infoType is typically used in France. InfoTypeCategory_FRANCE InfoTypeCategory_LocationCategory = 11 // The infoType is typically used in Finland. InfoTypeCategory_FINLAND InfoTypeCategory_LocationCategory = 12 // The infoType is typically used in Germany. InfoTypeCategory_GERMANY InfoTypeCategory_LocationCategory = 13 // The infoType is typically used in Hong Kong. InfoTypeCategory_HONG_KONG InfoTypeCategory_LocationCategory = 14 // The infoType is typically used in India. InfoTypeCategory_INDIA InfoTypeCategory_LocationCategory = 15 // The infoType is typically used in Indonesia. InfoTypeCategory_INDONESIA InfoTypeCategory_LocationCategory = 16 // The infoType is typically used in Ireland. InfoTypeCategory_IRELAND InfoTypeCategory_LocationCategory = 17 // The infoType is typically used in Israel. InfoTypeCategory_ISRAEL InfoTypeCategory_LocationCategory = 18 // The infoType is typically used in Italy. InfoTypeCategory_ITALY InfoTypeCategory_LocationCategory = 19 // The infoType is typically used in Japan. InfoTypeCategory_JAPAN InfoTypeCategory_LocationCategory = 20 // The infoType is typically used in Korea. InfoTypeCategory_KOREA InfoTypeCategory_LocationCategory = 21 // The infoType is typically used in Mexico. InfoTypeCategory_MEXICO InfoTypeCategory_LocationCategory = 22 // The infoType is typically used in the Netherlands. InfoTypeCategory_THE_NETHERLANDS InfoTypeCategory_LocationCategory = 23 // The infoType is typically used in New Zealand. InfoTypeCategory_NEW_ZEALAND InfoTypeCategory_LocationCategory = 41 // The infoType is typically used in Norway. InfoTypeCategory_NORWAY InfoTypeCategory_LocationCategory = 24 // The infoType is typically used in Paraguay. InfoTypeCategory_PARAGUAY InfoTypeCategory_LocationCategory = 25 // The infoType is typically used in Peru. InfoTypeCategory_PERU InfoTypeCategory_LocationCategory = 26 // The infoType is typically used in Poland. InfoTypeCategory_POLAND InfoTypeCategory_LocationCategory = 27 // The infoType is typically used in Portugal. InfoTypeCategory_PORTUGAL InfoTypeCategory_LocationCategory = 28 // The infoType is typically used in Singapore. InfoTypeCategory_SINGAPORE InfoTypeCategory_LocationCategory = 29 // The infoType is typically used in South Africa. InfoTypeCategory_SOUTH_AFRICA InfoTypeCategory_LocationCategory = 30 // The infoType is typically used in Spain. InfoTypeCategory_SPAIN InfoTypeCategory_LocationCategory = 31 // The infoType is typically used in Sweden. InfoTypeCategory_SWEDEN InfoTypeCategory_LocationCategory = 32 // The infoType is typically used in Switzerland. InfoTypeCategory_SWITZERLAND InfoTypeCategory_LocationCategory = 43 // The infoType is typically used in Taiwan. InfoTypeCategory_TAIWAN InfoTypeCategory_LocationCategory = 33 // The infoType is typically used in Thailand. InfoTypeCategory_THAILAND InfoTypeCategory_LocationCategory = 34 // The infoType is typically used in Turkey. InfoTypeCategory_TURKEY InfoTypeCategory_LocationCategory = 35 // The infoType is typically used in the United Kingdom. InfoTypeCategory_UNITED_KINGDOM InfoTypeCategory_LocationCategory = 36 // The infoType is typically used in the United States. InfoTypeCategory_UNITED_STATES InfoTypeCategory_LocationCategory = 37 // The infoType is typically used in Uruguay. InfoTypeCategory_URUGUAY InfoTypeCategory_LocationCategory = 38 // The infoType is typically used in Venezuela. InfoTypeCategory_VENEZUELA InfoTypeCategory_LocationCategory = 39 // The infoType is typically used in Google internally. InfoTypeCategory_INTERNAL InfoTypeCategory_LocationCategory = 40 )
func (InfoTypeCategory_LocationCategory) Descriptor ¶
func (InfoTypeCategory_LocationCategory) Descriptor() protoreflect.EnumDescriptor
func (InfoTypeCategory_LocationCategory) Enum ¶
func (x InfoTypeCategory_LocationCategory) Enum() *InfoTypeCategory_LocationCategory
func (InfoTypeCategory_LocationCategory) EnumDescriptor
deprecated
func (InfoTypeCategory_LocationCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use InfoTypeCategory_LocationCategory.Descriptor instead.
func (InfoTypeCategory_LocationCategory) Number ¶
func (x InfoTypeCategory_LocationCategory) Number() protoreflect.EnumNumber
func (InfoTypeCategory_LocationCategory) String ¶
func (x InfoTypeCategory_LocationCategory) String() string
func (InfoTypeCategory_LocationCategory) Type ¶
func (InfoTypeCategory_LocationCategory) Type() protoreflect.EnumType
type InfoTypeCategory_LocationCategory_ ¶
type InfoTypeCategory_LocationCategory_ struct { // The region or country that issued the ID or document represented by the // infoType. LocationCategory InfoTypeCategory_LocationCategory `` /* 142-byte string literal not displayed */ }
type InfoTypeCategory_TypeCategory ¶
type InfoTypeCategory_TypeCategory int32
Enum of the current types in the category. We might add more types in the future.
const ( // Unused type InfoTypeCategory_TYPE_UNSPECIFIED InfoTypeCategory_TypeCategory = 0 // Personally identifiable information, for example, a // name or phone number InfoTypeCategory_PII InfoTypeCategory_TypeCategory = 1 // Personally identifiable information that is especially sensitive, for // example, a passport number. InfoTypeCategory_SPII InfoTypeCategory_TypeCategory = 2 // Attributes that can partially identify someone, especially in // combination with other attributes, like age, height, and gender. InfoTypeCategory_DEMOGRAPHIC InfoTypeCategory_TypeCategory = 3 // Confidential or secret information, for example, a password. InfoTypeCategory_CREDENTIAL InfoTypeCategory_TypeCategory = 4 // An identification document issued by a government. InfoTypeCategory_GOVERNMENT_ID InfoTypeCategory_TypeCategory = 5 // A document, for example, a resume or source code. InfoTypeCategory_DOCUMENT InfoTypeCategory_TypeCategory = 6 // Information that is not sensitive on its own, but provides details about // the circumstances surrounding an entity or an event. InfoTypeCategory_CONTEXTUAL_INFORMATION InfoTypeCategory_TypeCategory = 7 )
func (InfoTypeCategory_TypeCategory) Descriptor ¶
func (InfoTypeCategory_TypeCategory) Descriptor() protoreflect.EnumDescriptor
func (InfoTypeCategory_TypeCategory) Enum ¶
func (x InfoTypeCategory_TypeCategory) Enum() *InfoTypeCategory_TypeCategory
func (InfoTypeCategory_TypeCategory) EnumDescriptor
deprecated
func (InfoTypeCategory_TypeCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use InfoTypeCategory_TypeCategory.Descriptor instead.
func (InfoTypeCategory_TypeCategory) Number ¶
func (x InfoTypeCategory_TypeCategory) Number() protoreflect.EnumNumber
func (InfoTypeCategory_TypeCategory) String ¶
func (x InfoTypeCategory_TypeCategory) String() string
func (InfoTypeCategory_TypeCategory) Type ¶
func (InfoTypeCategory_TypeCategory) Type() protoreflect.EnumType
type InfoTypeCategory_TypeCategory_ ¶
type InfoTypeCategory_TypeCategory_ struct { // The class of identifiers where this infoType belongs TypeCategory InfoTypeCategory_TypeCategory `` /* 130-byte string literal not displayed */ }
type InfoTypeDescription ¶
type InfoTypeDescription struct { // Internal name of the infoType. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Human readable form of the infoType name. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Which parts of the API supports this InfoType. SupportedBy []InfoTypeSupportedBy `` /* 149-byte string literal not displayed */ // Description of the infotype. Translated when language is provided in the // request. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // A list of available versions for the infotype. Versions []*VersionDescription `protobuf:"bytes,9,rep,name=versions,proto3" json:"versions,omitempty"` // The category of the infoType. Categories []*InfoTypeCategory `protobuf:"bytes,10,rep,name=categories,proto3" json:"categories,omitempty"` // The default sensitivity of the infoType. SensitivityScore *SensitivityScore `protobuf:"bytes,11,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"` // contains filtered or unexported fields }
InfoType description.
func (*InfoTypeDescription) Descriptor
deprecated
func (*InfoTypeDescription) Descriptor() ([]byte, []int)
Deprecated: Use InfoTypeDescription.ProtoReflect.Descriptor instead.
func (*InfoTypeDescription) GetCategories ¶
func (x *InfoTypeDescription) GetCategories() []*InfoTypeCategory
func (*InfoTypeDescription) GetDescription ¶
func (x *InfoTypeDescription) GetDescription() string
func (*InfoTypeDescription) GetDisplayName ¶
func (x *InfoTypeDescription) GetDisplayName() string
func (*InfoTypeDescription) GetName ¶
func (x *InfoTypeDescription) GetName() string
func (*InfoTypeDescription) GetSensitivityScore ¶ added in v1.11.0
func (x *InfoTypeDescription) GetSensitivityScore() *SensitivityScore
func (*InfoTypeDescription) GetSupportedBy ¶
func (x *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy
func (*InfoTypeDescription) GetVersions ¶
func (x *InfoTypeDescription) GetVersions() []*VersionDescription
func (*InfoTypeDescription) ProtoMessage ¶
func (*InfoTypeDescription) ProtoMessage()
func (*InfoTypeDescription) ProtoReflect ¶
func (x *InfoTypeDescription) ProtoReflect() protoreflect.Message
func (*InfoTypeDescription) Reset ¶
func (x *InfoTypeDescription) Reset()
func (*InfoTypeDescription) String ¶
func (x *InfoTypeDescription) String() string
type InfoTypeStats ¶
type InfoTypeStats struct { // The type of finding this stat is for. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Number of findings for this infoType. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
Statistics regarding a specific InfoType.
func (*InfoTypeStats) Descriptor
deprecated
func (*InfoTypeStats) Descriptor() ([]byte, []int)
Deprecated: Use InfoTypeStats.ProtoReflect.Descriptor instead.
func (*InfoTypeStats) GetCount ¶
func (x *InfoTypeStats) GetCount() int64
func (*InfoTypeStats) GetInfoType ¶
func (x *InfoTypeStats) GetInfoType() *InfoType
func (*InfoTypeStats) ProtoMessage ¶
func (*InfoTypeStats) ProtoMessage()
func (*InfoTypeStats) ProtoReflect ¶
func (x *InfoTypeStats) ProtoReflect() protoreflect.Message
func (*InfoTypeStats) Reset ¶
func (x *InfoTypeStats) Reset()
func (*InfoTypeStats) String ¶
func (x *InfoTypeStats) String() string
type InfoTypeSummary ¶
type InfoTypeSummary struct { // The infoType. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Not populated for predicted infotypes. // // Deprecated: Marked as deprecated in google/privacy/dlp/v2/dlp.proto. EstimatedPrevalence int32 `protobuf:"varint,2,opt,name=estimated_prevalence,json=estimatedPrevalence,proto3" json:"estimated_prevalence,omitempty"` // contains filtered or unexported fields }
The infoType details for this column.
func (*InfoTypeSummary) Descriptor
deprecated
func (*InfoTypeSummary) Descriptor() ([]byte, []int)
Deprecated: Use InfoTypeSummary.ProtoReflect.Descriptor instead.
func (*InfoTypeSummary) GetEstimatedPrevalence
deprecated
func (x *InfoTypeSummary) GetEstimatedPrevalence() int32
Deprecated: Marked as deprecated in google/privacy/dlp/v2/dlp.proto.
func (*InfoTypeSummary) GetInfoType ¶
func (x *InfoTypeSummary) GetInfoType() *InfoType
func (*InfoTypeSummary) ProtoMessage ¶
func (*InfoTypeSummary) ProtoMessage()
func (*InfoTypeSummary) ProtoReflect ¶
func (x *InfoTypeSummary) ProtoReflect() protoreflect.Message
func (*InfoTypeSummary) Reset ¶
func (x *InfoTypeSummary) Reset()
func (*InfoTypeSummary) String ¶
func (x *InfoTypeSummary) String() string
type InfoTypeSupportedBy ¶
type InfoTypeSupportedBy int32
Parts of the APIs which use certain infoTypes.
const ( // Unused. InfoTypeSupportedBy_ENUM_TYPE_UNSPECIFIED InfoTypeSupportedBy = 0 // Supported by the inspect operations. InfoTypeSupportedBy_INSPECT InfoTypeSupportedBy = 1 // Supported by the risk analysis operations. InfoTypeSupportedBy_RISK_ANALYSIS InfoTypeSupportedBy = 2 )
func (InfoTypeSupportedBy) Descriptor ¶
func (InfoTypeSupportedBy) Descriptor() protoreflect.EnumDescriptor
func (InfoTypeSupportedBy) Enum ¶
func (x InfoTypeSupportedBy) Enum() *InfoTypeSupportedBy
func (InfoTypeSupportedBy) EnumDescriptor
deprecated
func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int)
Deprecated: Use InfoTypeSupportedBy.Descriptor instead.
func (InfoTypeSupportedBy) Number ¶
func (x InfoTypeSupportedBy) Number() protoreflect.EnumNumber
func (InfoTypeSupportedBy) String ¶
func (x InfoTypeSupportedBy) String() string
func (InfoTypeSupportedBy) Type ¶
func (InfoTypeSupportedBy) Type() protoreflect.EnumType
type InfoTypeTransformations ¶
type InfoTypeTransformations struct { // Required. Transformation for each infoType. Cannot specify more than one // for a given infoType. Transformations []*InfoTypeTransformations_InfoTypeTransformation `protobuf:"bytes,1,rep,name=transformations,proto3" json:"transformations,omitempty"` // contains filtered or unexported fields }
A type of transformation that will scan unstructured text and apply various `PrimitiveTransformation`s to each finding, where the transformation is applied to only values that were identified as a specific info_type.
func (*InfoTypeTransformations) Descriptor
deprecated
func (*InfoTypeTransformations) Descriptor() ([]byte, []int)
Deprecated: Use InfoTypeTransformations.ProtoReflect.Descriptor instead.
func (*InfoTypeTransformations) GetTransformations ¶
func (x *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation
func (*InfoTypeTransformations) ProtoMessage ¶
func (*InfoTypeTransformations) ProtoMessage()
func (*InfoTypeTransformations) ProtoReflect ¶
func (x *InfoTypeTransformations) ProtoReflect() protoreflect.Message
func (*InfoTypeTransformations) Reset ¶
func (x *InfoTypeTransformations) Reset()
func (*InfoTypeTransformations) String ¶
func (x *InfoTypeTransformations) String() string
type InfoTypeTransformations_InfoTypeTransformation ¶
type InfoTypeTransformations_InfoTypeTransformation struct { // InfoTypes to apply the transformation to. An empty list will cause // this transformation to apply to all findings that correspond to // infoTypes that were requested in `InspectConfig`. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` // Required. Primitive transformation to apply to the infoType. PrimitiveTransformation *PrimitiveTransformation `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
A transformation to apply to text that is identified as a specific info_type.
func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor
deprecated
func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int)
Deprecated: Use InfoTypeTransformations_InfoTypeTransformation.ProtoReflect.Descriptor instead.
func (*InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes ¶
func (x *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType
func (*InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation ¶
func (x *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage ¶
func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage()
func (*InfoTypeTransformations_InfoTypeTransformation) ProtoReflect ¶
func (x *InfoTypeTransformations_InfoTypeTransformation) ProtoReflect() protoreflect.Message
func (*InfoTypeTransformations_InfoTypeTransformation) Reset ¶
func (x *InfoTypeTransformations_InfoTypeTransformation) Reset()
func (*InfoTypeTransformations_InfoTypeTransformation) String ¶
func (x *InfoTypeTransformations_InfoTypeTransformation) String() string
type InspectConfig ¶
type InspectConfig struct { // Restricts what info_types to look for. The values must correspond to // InfoType values returned by ListInfoTypes or listed at // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. // // When no InfoTypes or CustomInfoTypes are specified in a request, the // system may automatically choose a default list of detectors to run, which // may change over time. // // If you need precise control and predictability as to what detectors are // run you should specify specific InfoTypes listed in the reference, // otherwise a default list will be used, which may change over time. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` // Only returns findings equal to or above this threshold. The default is // POSSIBLE. // // In general, the highest likelihood setting yields the fewest findings in // results and the lowest chance of a false positive. For more information, // see [Match // likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). MinLikelihood Likelihood `` /* 139-byte string literal not displayed */ // Minimum likelihood per infotype. For each infotype, a user can specify a // minimum likelihood. The system only returns a finding if its likelihood is // above this threshold. If this field is not set, the system uses the // InspectConfig min_likelihood. MinLikelihoodPerInfoType []*InspectConfig_InfoTypeLikelihood `` /* 140-byte string literal not displayed */ // Configuration to control the number of findings returned. // This is not used for data profiling. // // When redacting sensitive data from images, finding limits don't apply. They // can cause unexpected or inconsistent results, where only some data is // redacted. Don't include finding limits in // [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] // requests. Otherwise, Cloud DLP returns an error. // // When set within an // [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified // maximum values aren't hard limits. If an inspection job reaches these // limits, the job ends gradually, not abruptly. Therefore, the actual number // of findings that Cloud DLP returns can be multiple times higher than these // maximum values. Limits *InspectConfig_FindingLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"` // When true, a contextual quote from the data that triggered a finding is // included in the response; see // [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for // data profiling. IncludeQuote bool `protobuf:"varint,4,opt,name=include_quote,json=includeQuote,proto3" json:"include_quote,omitempty"` // When true, excludes type information of the findings. // This is not used for data profiling. ExcludeInfoTypes bool `protobuf:"varint,5,opt,name=exclude_info_types,json=excludeInfoTypes,proto3" json:"exclude_info_types,omitempty"` // CustomInfoTypes provided by the user. See // https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes // to learn more. CustomInfoTypes []*CustomInfoType `protobuf:"bytes,6,rep,name=custom_info_types,json=customInfoTypes,proto3" json:"custom_info_types,omitempty"` // Deprecated and unused. ContentOptions []ContentOption `` /* 152-byte string literal not displayed */ // Set of rules to apply to the findings for this InspectConfig. // Exclusion rules, contained in the set are executed in the end, other // rules are executed in the order they are specified for each info type. RuleSet []*InspectionRuleSet `protobuf:"bytes,10,rep,name=rule_set,json=ruleSet,proto3" json:"rule_set,omitempty"` // contains filtered or unexported fields }
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
func (*InspectConfig) Descriptor
deprecated
func (*InspectConfig) Descriptor() ([]byte, []int)
Deprecated: Use InspectConfig.ProtoReflect.Descriptor instead.
func (*InspectConfig) GetContentOptions ¶
func (x *InspectConfig) GetContentOptions() []ContentOption
func (*InspectConfig) GetCustomInfoTypes ¶
func (x *InspectConfig) GetCustomInfoTypes() []*CustomInfoType
func (*InspectConfig) GetExcludeInfoTypes ¶
func (x *InspectConfig) GetExcludeInfoTypes() bool
func (*InspectConfig) GetIncludeQuote ¶
func (x *InspectConfig) GetIncludeQuote() bool
func (*InspectConfig) GetInfoTypes ¶
func (x *InspectConfig) GetInfoTypes() []*InfoType
func (*InspectConfig) GetLimits ¶
func (x *InspectConfig) GetLimits() *InspectConfig_FindingLimits
func (*InspectConfig) GetMinLikelihood ¶
func (x *InspectConfig) GetMinLikelihood() Likelihood
func (*InspectConfig) GetMinLikelihoodPerInfoType ¶ added in v1.11.0
func (x *InspectConfig) GetMinLikelihoodPerInfoType() []*InspectConfig_InfoTypeLikelihood
func (*InspectConfig) GetRuleSet ¶
func (x *InspectConfig) GetRuleSet() []*InspectionRuleSet
func (*InspectConfig) ProtoMessage ¶
func (*InspectConfig) ProtoMessage()
func (*InspectConfig) ProtoReflect ¶
func (x *InspectConfig) ProtoReflect() protoreflect.Message
func (*InspectConfig) Reset ¶
func (x *InspectConfig) Reset()
func (*InspectConfig) String ¶
func (x *InspectConfig) String() string
type InspectConfig_FindingLimits ¶
type InspectConfig_FindingLimits struct { // Max number of findings that are returned for each item scanned. // // When set within an // [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], // this field is ignored. // // This value isn't a hard limit. If the number of findings for an item // reaches this limit, the inspection of that item ends gradually, not // abruptly. Therefore, the actual number of findings that Cloud DLP returns // for the item can be multiple times higher than this value. MaxFindingsPerItem int32 `protobuf:"varint,1,opt,name=max_findings_per_item,json=maxFindingsPerItem,proto3" json:"max_findings_per_item,omitempty"` // Max number of findings that are returned per request or job. // // If you set this field in an // [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the // resulting maximum value is the value that you set or 3,000, whichever is // lower. // // This value isn't a hard limit. If an inspection reaches this limit, the // inspection ends gradually, not abruptly. Therefore, the actual number of // findings that Cloud DLP returns can be multiple times higher than this // value. MaxFindingsPerRequest int32 `` /* 129-byte string literal not displayed */ // Configuration of findings limit given for specified infoTypes. MaxFindingsPerInfoType []*InspectConfig_FindingLimits_InfoTypeLimit `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration to control the number of findings returned for inspection. This is not used for de-identification or data profiling.
When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] requests. Otherwise, Cloud DLP returns an error.
func (*InspectConfig_FindingLimits) Descriptor
deprecated
func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int)
Deprecated: Use InspectConfig_FindingLimits.ProtoReflect.Descriptor instead.
func (*InspectConfig_FindingLimits) GetMaxFindingsPerInfoType ¶
func (x *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit
func (*InspectConfig_FindingLimits) GetMaxFindingsPerItem ¶
func (x *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32
func (*InspectConfig_FindingLimits) GetMaxFindingsPerRequest ¶
func (x *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32
func (*InspectConfig_FindingLimits) ProtoMessage ¶
func (*InspectConfig_FindingLimits) ProtoMessage()
func (*InspectConfig_FindingLimits) ProtoReflect ¶
func (x *InspectConfig_FindingLimits) ProtoReflect() protoreflect.Message
func (*InspectConfig_FindingLimits) Reset ¶
func (x *InspectConfig_FindingLimits) Reset()
func (*InspectConfig_FindingLimits) String ¶
func (x *InspectConfig_FindingLimits) String() string
type InspectConfig_FindingLimits_InfoTypeLimit ¶
type InspectConfig_FindingLimits_InfoTypeLimit struct { // Type of information the findings limit applies to. Only one limit per // info_type should be provided. If InfoTypeLimit does not have an // info_type, the DLP API applies the limit against all info_types that // are found but not specified in another InfoTypeLimit. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Max findings limit for the given infoType. MaxFindings int32 `protobuf:"varint,2,opt,name=max_findings,json=maxFindings,proto3" json:"max_findings,omitempty"` // contains filtered or unexported fields }
Max findings configuration per infoType, per content item or long running DlpJob.
func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor
deprecated
func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int)
Deprecated: Use InspectConfig_FindingLimits_InfoTypeLimit.ProtoReflect.Descriptor instead.
func (*InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType ¶
func (x *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType
func (*InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings ¶
func (x *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32
func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage ¶
func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage()
func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoReflect ¶
func (x *InspectConfig_FindingLimits_InfoTypeLimit) ProtoReflect() protoreflect.Message
func (*InspectConfig_FindingLimits_InfoTypeLimit) Reset ¶
func (x *InspectConfig_FindingLimits_InfoTypeLimit) Reset()
func (*InspectConfig_FindingLimits_InfoTypeLimit) String ¶
func (x *InspectConfig_FindingLimits_InfoTypeLimit) String() string
type InspectConfig_InfoTypeLikelihood ¶ added in v1.11.0
type InspectConfig_InfoTypeLikelihood struct { // Type of information the likelihood threshold applies to. Only one // likelihood per info_type should be provided. If InfoTypeLikelihood does // not have an info_type, the configuration fails. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Only returns findings equal to or above this threshold. This field is // required or else the configuration fails. MinLikelihood Likelihood `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for setting a minimum likelihood per infotype. Used to customize the minimum likelihood level for specific infotypes in the request. For example, use this if you want to lower the precision for PERSON_NAME without lowering the precision for the other infotypes in the request.
func (*InspectConfig_InfoTypeLikelihood) Descriptor
deprecated
added in
v1.11.0
func (*InspectConfig_InfoTypeLikelihood) Descriptor() ([]byte, []int)
Deprecated: Use InspectConfig_InfoTypeLikelihood.ProtoReflect.Descriptor instead.
func (*InspectConfig_InfoTypeLikelihood) GetInfoType ¶ added in v1.11.0
func (x *InspectConfig_InfoTypeLikelihood) GetInfoType() *InfoType
func (*InspectConfig_InfoTypeLikelihood) GetMinLikelihood ¶ added in v1.11.0
func (x *InspectConfig_InfoTypeLikelihood) GetMinLikelihood() Likelihood
func (*InspectConfig_InfoTypeLikelihood) ProtoMessage ¶ added in v1.11.0
func (*InspectConfig_InfoTypeLikelihood) ProtoMessage()
func (*InspectConfig_InfoTypeLikelihood) ProtoReflect ¶ added in v1.11.0
func (x *InspectConfig_InfoTypeLikelihood) ProtoReflect() protoreflect.Message
func (*InspectConfig_InfoTypeLikelihood) Reset ¶ added in v1.11.0
func (x *InspectConfig_InfoTypeLikelihood) Reset()
func (*InspectConfig_InfoTypeLikelihood) String ¶ added in v1.11.0
func (x *InspectConfig_InfoTypeLikelihood) String() string
type InspectContentRequest ¶
type InspectContentRequest struct { // Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Configuration for the inspector. What specified here will override // the template referenced by the inspect_template_name argument. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // The item to inspect. Item *ContentItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` // Template to use. Any configuration directly specified in // inspect_config will override those set in the template. Singular fields // that are set in this request will replace their corresponding fields in the // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. InspectTemplateName string `protobuf:"bytes,4,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request to search for potentially sensitive info in a ContentItem.
func (*InspectContentRequest) Descriptor
deprecated
func (*InspectContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectContentRequest.ProtoReflect.Descriptor instead.
func (*InspectContentRequest) GetInspectConfig ¶
func (x *InspectContentRequest) GetInspectConfig() *InspectConfig
func (*InspectContentRequest) GetInspectTemplateName ¶
func (x *InspectContentRequest) GetInspectTemplateName() string
func (*InspectContentRequest) GetItem ¶
func (x *InspectContentRequest) GetItem() *ContentItem
func (*InspectContentRequest) GetLocationId ¶
func (x *InspectContentRequest) GetLocationId() string
func (*InspectContentRequest) GetParent ¶
func (x *InspectContentRequest) GetParent() string
func (*InspectContentRequest) ProtoMessage ¶
func (*InspectContentRequest) ProtoMessage()
func (*InspectContentRequest) ProtoReflect ¶
func (x *InspectContentRequest) ProtoReflect() protoreflect.Message
func (*InspectContentRequest) Reset ¶
func (x *InspectContentRequest) Reset()
func (*InspectContentRequest) String ¶
func (x *InspectContentRequest) String() string
type InspectContentResponse ¶
type InspectContentResponse struct { // The findings. Result *InspectResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
Results of inspecting an item.
func (*InspectContentResponse) Descriptor
deprecated
func (*InspectContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectContentResponse.ProtoReflect.Descriptor instead.
func (*InspectContentResponse) GetResult ¶
func (x *InspectContentResponse) GetResult() *InspectResult
func (*InspectContentResponse) ProtoMessage ¶
func (*InspectContentResponse) ProtoMessage()
func (*InspectContentResponse) ProtoReflect ¶
func (x *InspectContentResponse) ProtoReflect() protoreflect.Message
func (*InspectContentResponse) Reset ¶
func (x *InspectContentResponse) Reset()
func (*InspectContentResponse) String ¶
func (x *InspectContentResponse) String() string
type InspectDataSourceDetails ¶
type InspectDataSourceDetails struct { // The configuration used for this job. RequestedOptions *InspectDataSourceDetails_RequestedOptions `protobuf:"bytes,2,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"` // A summary of the outcome of this inspection job. Result *InspectDataSourceDetails_Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
The results of an inspect DataSource job.
func (*InspectDataSourceDetails) Descriptor
deprecated
func (*InspectDataSourceDetails) Descriptor() ([]byte, []int)
Deprecated: Use InspectDataSourceDetails.ProtoReflect.Descriptor instead.
func (*InspectDataSourceDetails) GetRequestedOptions ¶
func (x *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions
func (*InspectDataSourceDetails) GetResult ¶
func (x *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result
func (*InspectDataSourceDetails) ProtoMessage ¶
func (*InspectDataSourceDetails) ProtoMessage()
func (*InspectDataSourceDetails) ProtoReflect ¶
func (x *InspectDataSourceDetails) ProtoReflect() protoreflect.Message
func (*InspectDataSourceDetails) Reset ¶
func (x *InspectDataSourceDetails) Reset()
func (*InspectDataSourceDetails) String ¶
func (x *InspectDataSourceDetails) String() string
type InspectDataSourceDetails_RequestedOptions ¶
type InspectDataSourceDetails_RequestedOptions struct { // If run with an InspectTemplate, a snapshot of its state at the time of // this run. SnapshotInspectTemplate *InspectTemplate `` /* 132-byte string literal not displayed */ // Inspect config. JobConfig *InspectJobConfig `protobuf:"bytes,3,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"` // contains filtered or unexported fields }
Snapshot of the inspection configuration.
func (*InspectDataSourceDetails_RequestedOptions) Descriptor
deprecated
func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int)
Deprecated: Use InspectDataSourceDetails_RequestedOptions.ProtoReflect.Descriptor instead.
func (*InspectDataSourceDetails_RequestedOptions) GetJobConfig ¶
func (x *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig
func (*InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate ¶
func (x *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate
func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage ¶
func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage()
func (*InspectDataSourceDetails_RequestedOptions) ProtoReflect ¶
func (x *InspectDataSourceDetails_RequestedOptions) ProtoReflect() protoreflect.Message
func (*InspectDataSourceDetails_RequestedOptions) Reset ¶
func (x *InspectDataSourceDetails_RequestedOptions) Reset()
func (*InspectDataSourceDetails_RequestedOptions) String ¶
func (x *InspectDataSourceDetails_RequestedOptions) String() string
type InspectDataSourceDetails_Result ¶
type InspectDataSourceDetails_Result struct { // Total size in bytes that were processed. ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"` // Estimate of the number of bytes to process. TotalEstimatedBytes int64 `protobuf:"varint,2,opt,name=total_estimated_bytes,json=totalEstimatedBytes,proto3" json:"total_estimated_bytes,omitempty"` // Statistics of how many instances of each info type were found during // inspect job. InfoTypeStats []*InfoTypeStats `protobuf:"bytes,3,rep,name=info_type_stats,json=infoTypeStats,proto3" json:"info_type_stats,omitempty"` // Statistics related to the processing of hybrid inspect. HybridStats *HybridInspectStatistics `protobuf:"bytes,7,opt,name=hybrid_stats,json=hybridStats,proto3" json:"hybrid_stats,omitempty"` // contains filtered or unexported fields }
All result fields mentioned below are updated while the job is processing.
func (*InspectDataSourceDetails_Result) Descriptor
deprecated
func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int)
Deprecated: Use InspectDataSourceDetails_Result.ProtoReflect.Descriptor instead.
func (*InspectDataSourceDetails_Result) GetHybridStats ¶
func (x *InspectDataSourceDetails_Result) GetHybridStats() *HybridInspectStatistics
func (*InspectDataSourceDetails_Result) GetInfoTypeStats ¶
func (x *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats
func (*InspectDataSourceDetails_Result) GetProcessedBytes ¶
func (x *InspectDataSourceDetails_Result) GetProcessedBytes() int64
func (*InspectDataSourceDetails_Result) GetTotalEstimatedBytes ¶
func (x *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64
func (*InspectDataSourceDetails_Result) ProtoMessage ¶
func (*InspectDataSourceDetails_Result) ProtoMessage()
func (*InspectDataSourceDetails_Result) ProtoReflect ¶
func (x *InspectDataSourceDetails_Result) ProtoReflect() protoreflect.Message
func (*InspectDataSourceDetails_Result) Reset ¶
func (x *InspectDataSourceDetails_Result) Reset()
func (*InspectDataSourceDetails_Result) String ¶
func (x *InspectDataSourceDetails_Result) String() string
type InspectJobConfig ¶
type InspectJobConfig struct { // The data to scan. StorageConfig *StorageConfig `protobuf:"bytes,1,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` // How and what to scan for. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // If provided, will be used as the default for all values in InspectConfig. // `inspect_config` will be merged into the values persisted as part of the // template. InspectTemplateName string `protobuf:"bytes,3,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` // Actions to execute at the completion of the job. Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
Controls what and how to inspect for findings.
func (*InspectJobConfig) Descriptor
deprecated
func (*InspectJobConfig) Descriptor() ([]byte, []int)
Deprecated: Use InspectJobConfig.ProtoReflect.Descriptor instead.
func (*InspectJobConfig) GetActions ¶
func (x *InspectJobConfig) GetActions() []*Action
func (*InspectJobConfig) GetInspectConfig ¶
func (x *InspectJobConfig) GetInspectConfig() *InspectConfig
func (*InspectJobConfig) GetInspectTemplateName ¶
func (x *InspectJobConfig) GetInspectTemplateName() string
func (*InspectJobConfig) GetStorageConfig ¶
func (x *InspectJobConfig) GetStorageConfig() *StorageConfig
func (*InspectJobConfig) ProtoMessage ¶
func (*InspectJobConfig) ProtoMessage()
func (*InspectJobConfig) ProtoReflect ¶
func (x *InspectJobConfig) ProtoReflect() protoreflect.Message
func (*InspectJobConfig) Reset ¶
func (x *InspectJobConfig) Reset()
func (*InspectJobConfig) String ¶
func (x *InspectJobConfig) String() string
type InspectResult ¶
type InspectResult struct { // List of findings for an item. Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` // If true, then this item might have more findings than were returned, // and the findings returned are an arbitrary subset of all findings. // The findings list might be truncated because the input items were too // large, or because the server reached the maximum amount of resources // allowed for a single API call. For best results, divide the input into // smaller batches. FindingsTruncated bool `protobuf:"varint,2,opt,name=findings_truncated,json=findingsTruncated,proto3" json:"findings_truncated,omitempty"` // contains filtered or unexported fields }
All the findings for a single scanned item.
func (*InspectResult) Descriptor
deprecated
func (*InspectResult) Descriptor() ([]byte, []int)
Deprecated: Use InspectResult.ProtoReflect.Descriptor instead.
func (*InspectResult) GetFindings ¶
func (x *InspectResult) GetFindings() []*Finding
func (*InspectResult) GetFindingsTruncated ¶
func (x *InspectResult) GetFindingsTruncated() bool
func (*InspectResult) ProtoMessage ¶
func (*InspectResult) ProtoMessage()
func (*InspectResult) ProtoReflect ¶
func (x *InspectResult) ProtoReflect() protoreflect.Message
func (*InspectResult) Reset ¶
func (x *InspectResult) Reset()
func (*InspectResult) String ¶
func (x *InspectResult) String() string
type InspectTemplate ¶
type InspectTemplate struct { // Output only. The template name. // // The template will have one of the following formats: // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`; Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name (max 256 chars). DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Short description (max 256 chars). Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. The creation timestamp of an inspectTemplate. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update timestamp of an inspectTemplate. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The core content of the template. Configuration of the scanning process. InspectConfig *InspectConfig `protobuf:"bytes,6,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // contains filtered or unexported fields }
The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more.
func (*InspectTemplate) Descriptor
deprecated
func (*InspectTemplate) Descriptor() ([]byte, []int)
Deprecated: Use InspectTemplate.ProtoReflect.Descriptor instead.
func (*InspectTemplate) GetCreateTime ¶
func (x *InspectTemplate) GetCreateTime() *timestamppb.Timestamp
func (*InspectTemplate) GetDescription ¶
func (x *InspectTemplate) GetDescription() string
func (*InspectTemplate) GetDisplayName ¶
func (x *InspectTemplate) GetDisplayName() string
func (*InspectTemplate) GetInspectConfig ¶
func (x *InspectTemplate) GetInspectConfig() *InspectConfig
func (*InspectTemplate) GetName ¶
func (x *InspectTemplate) GetName() string
func (*InspectTemplate) GetUpdateTime ¶
func (x *InspectTemplate) GetUpdateTime() *timestamppb.Timestamp
func (*InspectTemplate) ProtoMessage ¶
func (*InspectTemplate) ProtoMessage()
func (*InspectTemplate) ProtoReflect ¶
func (x *InspectTemplate) ProtoReflect() protoreflect.Message
func (*InspectTemplate) Reset ¶
func (x *InspectTemplate) Reset()
func (*InspectTemplate) String ¶
func (x *InspectTemplate) String() string
type InspectionRule ¶
type InspectionRule struct { // Inspection rule types. // // Types that are assignable to Type: // // *InspectionRule_HotwordRule // *InspectionRule_ExclusionRule Type isInspectionRule_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
A single inspection rule to be applied to infoTypes, specified in `InspectionRuleSet`.
func (*InspectionRule) Descriptor
deprecated
func (*InspectionRule) Descriptor() ([]byte, []int)
Deprecated: Use InspectionRule.ProtoReflect.Descriptor instead.
func (*InspectionRule) GetExclusionRule ¶
func (x *InspectionRule) GetExclusionRule() *ExclusionRule
func (*InspectionRule) GetHotwordRule ¶
func (x *InspectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule
func (*InspectionRule) GetType ¶
func (m *InspectionRule) GetType() isInspectionRule_Type
func (*InspectionRule) ProtoMessage ¶
func (*InspectionRule) ProtoMessage()
func (*InspectionRule) ProtoReflect ¶
func (x *InspectionRule) ProtoReflect() protoreflect.Message
func (*InspectionRule) Reset ¶
func (x *InspectionRule) Reset()
func (*InspectionRule) String ¶
func (x *InspectionRule) String() string
type InspectionRuleSet ¶
type InspectionRuleSet struct { // List of infoTypes this rule set is applied to. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` // Set of rules to be applied to infoTypes. The rules are applied in order. Rules []*InspectionRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.
func (*InspectionRuleSet) Descriptor
deprecated
func (*InspectionRuleSet) Descriptor() ([]byte, []int)
Deprecated: Use InspectionRuleSet.ProtoReflect.Descriptor instead.
func (*InspectionRuleSet) GetInfoTypes ¶
func (x *InspectionRuleSet) GetInfoTypes() []*InfoType
func (*InspectionRuleSet) GetRules ¶
func (x *InspectionRuleSet) GetRules() []*InspectionRule
func (*InspectionRuleSet) ProtoMessage ¶
func (*InspectionRuleSet) ProtoMessage()
func (*InspectionRuleSet) ProtoReflect ¶
func (x *InspectionRuleSet) ProtoReflect() protoreflect.Message
func (*InspectionRuleSet) Reset ¶
func (x *InspectionRuleSet) Reset()
func (*InspectionRuleSet) String ¶
func (x *InspectionRuleSet) String() string
type InspectionRule_ExclusionRule ¶
type InspectionRule_ExclusionRule struct { // Exclusion rule. ExclusionRule *ExclusionRule `protobuf:"bytes,2,opt,name=exclusion_rule,json=exclusionRule,proto3,oneof"` }
type InspectionRule_HotwordRule ¶
type InspectionRule_HotwordRule struct { // Hotword-based detection rule. HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"` }
type JobTrigger ¶
type JobTrigger struct { // Unique resource name for the triggeredJob, assigned by the service when the // triggeredJob is created, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name (max 100 chars) DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // User provided description (max 256 chars) Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The configuration details for the specific type of job to run. // // Types that are assignable to Job: // // *JobTrigger_InspectJob Job isJobTrigger_Job `protobuf_oneof:"job"` // A list of triggers which will be OR'ed together. Only one in the list // needs to trigger for a job to be started. The list may contain only // a single Schedule trigger and must have at least one object. Triggers []*JobTrigger_Trigger `protobuf:"bytes,5,rep,name=triggers,proto3" json:"triggers,omitempty"` // Output only. A stream of errors encountered when the trigger was activated. // Repeated errors may result in the JobTrigger automatically being paused. // Will return the last 100 errors. Whenever the JobTrigger is modified // this list will be cleared. Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` // Output only. The creation timestamp of a triggeredJob. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last update timestamp of a triggeredJob. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The timestamp of the last time this trigger executed. LastRunTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"` // Required. A status for this trigger. Status JobTrigger_Status `protobuf:"varint,10,opt,name=status,proto3,enum=google.privacy.dlp.v2.JobTrigger_Status" json:"status,omitempty"` // contains filtered or unexported fields }
Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn more.
func (*JobTrigger) Descriptor
deprecated
func (*JobTrigger) Descriptor() ([]byte, []int)
Deprecated: Use JobTrigger.ProtoReflect.Descriptor instead.
func (*JobTrigger) GetCreateTime ¶
func (x *JobTrigger) GetCreateTime() *timestamppb.Timestamp
func (*JobTrigger) GetDescription ¶
func (x *JobTrigger) GetDescription() string
func (*JobTrigger) GetDisplayName ¶
func (x *JobTrigger) GetDisplayName() string
func (*JobTrigger) GetErrors ¶
func (x *JobTrigger) GetErrors() []*Error
func (*JobTrigger) GetInspectJob ¶
func (x *JobTrigger) GetInspectJob() *InspectJobConfig
func (*JobTrigger) GetJob ¶
func (m *JobTrigger) GetJob() isJobTrigger_Job
func (*JobTrigger) GetLastRunTime ¶
func (x *JobTrigger) GetLastRunTime() *timestamppb.Timestamp
func (*JobTrigger) GetName ¶
func (x *JobTrigger) GetName() string
func (*JobTrigger) GetStatus ¶
func (x *JobTrigger) GetStatus() JobTrigger_Status
func (*JobTrigger) GetTriggers ¶
func (x *JobTrigger) GetTriggers() []*JobTrigger_Trigger
func (*JobTrigger) GetUpdateTime ¶
func (x *JobTrigger) GetUpdateTime() *timestamppb.Timestamp
func (*JobTrigger) ProtoMessage ¶
func (*JobTrigger) ProtoMessage()
func (*JobTrigger) ProtoReflect ¶
func (x *JobTrigger) ProtoReflect() protoreflect.Message
func (*JobTrigger) Reset ¶
func (x *JobTrigger) Reset()
func (*JobTrigger) String ¶
func (x *JobTrigger) String() string
type JobTrigger_InspectJob ¶
type JobTrigger_InspectJob struct { // For inspect jobs, a snapshot of the configuration. InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,proto3,oneof"` }
type JobTrigger_Status ¶
type JobTrigger_Status int32
Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs will be created with this configuration. The service may automatically pause triggers experiencing frequent errors. To restart a job, set the status to HEALTHY after correcting user errors.
const ( // Unused. JobTrigger_STATUS_UNSPECIFIED JobTrigger_Status = 0 // Trigger is healthy. JobTrigger_HEALTHY JobTrigger_Status = 1 // Trigger is temporarily paused. JobTrigger_PAUSED JobTrigger_Status = 2 // Trigger is cancelled and can not be resumed. JobTrigger_CANCELLED JobTrigger_Status = 3 )
func (JobTrigger_Status) Descriptor ¶
func (JobTrigger_Status) Descriptor() protoreflect.EnumDescriptor
func (JobTrigger_Status) Enum ¶
func (x JobTrigger_Status) Enum() *JobTrigger_Status
func (JobTrigger_Status) EnumDescriptor
deprecated
func (JobTrigger_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobTrigger_Status.Descriptor instead.
func (JobTrigger_Status) Number ¶
func (x JobTrigger_Status) Number() protoreflect.EnumNumber
func (JobTrigger_Status) String ¶
func (x JobTrigger_Status) String() string
func (JobTrigger_Status) Type ¶
func (JobTrigger_Status) Type() protoreflect.EnumType
type JobTrigger_Trigger ¶
type JobTrigger_Trigger struct { // What event needs to occur for a new job to be started. // // Types that are assignable to Trigger: // // *JobTrigger_Trigger_Schedule // *JobTrigger_Trigger_Manual Trigger isJobTrigger_Trigger_Trigger `protobuf_oneof:"trigger"` // contains filtered or unexported fields }
What event needs to occur for a new job to be started.
func (*JobTrigger_Trigger) Descriptor
deprecated
func (*JobTrigger_Trigger) Descriptor() ([]byte, []int)
Deprecated: Use JobTrigger_Trigger.ProtoReflect.Descriptor instead.
func (*JobTrigger_Trigger) GetManual ¶
func (x *JobTrigger_Trigger) GetManual() *Manual
func (*JobTrigger_Trigger) GetSchedule ¶
func (x *JobTrigger_Trigger) GetSchedule() *Schedule
func (*JobTrigger_Trigger) GetTrigger ¶
func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger
func (*JobTrigger_Trigger) ProtoMessage ¶
func (*JobTrigger_Trigger) ProtoMessage()
func (*JobTrigger_Trigger) ProtoReflect ¶
func (x *JobTrigger_Trigger) ProtoReflect() protoreflect.Message
func (*JobTrigger_Trigger) Reset ¶
func (x *JobTrigger_Trigger) Reset()
func (*JobTrigger_Trigger) String ¶
func (x *JobTrigger_Trigger) String() string
type JobTrigger_Trigger_Manual ¶
type JobTrigger_Trigger_Manual struct { // For use with hybrid jobs. Jobs must be manually created and finished. Manual *Manual `protobuf:"bytes,2,opt,name=manual,proto3,oneof"` }
type JobTrigger_Trigger_Schedule ¶
type JobTrigger_Trigger_Schedule struct { // Create a job on a repeating basis based on the elapse of time. Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3,oneof"` }
type Key ¶
type Key struct { // Entities are partitioned into subsets, currently identified by a project // ID and namespace ID. // Queries are scoped to a single partition. PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` // The entity path. // An entity path consists of one or more elements composed of a kind and a // string or numerical identifier, which identify entities. The first // element identifies a _root entity_, the second element identifies // a _child_ of the root entity, the third element identifies a child of the // second entity, and so forth. The entities identified by all prefixes of // the path are called the element's _ancestors_. // // A path can never be empty, and a path can have at most 100 elements. Path []*Key_PathElement `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
A unique identifier for a Datastore entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.
func (*Key) Descriptor
deprecated
func (*Key) GetPartitionId ¶
func (x *Key) GetPartitionId() *PartitionId
func (*Key) GetPath ¶
func (x *Key) GetPath() []*Key_PathElement
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type Key_PathElement ¶
type Key_PathElement struct { // The kind of the entity. // A kind matching regex `__.*__` is reserved/read-only. // A kind must not contain more than 1500 bytes when UTF-8 encoded. // Cannot be `""`. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The type of ID. // // Types that are assignable to IdType: // // *Key_PathElement_Id // *Key_PathElement_Name IdType isKey_PathElement_IdType `protobuf_oneof:"id_type"` // contains filtered or unexported fields }
A (kind, ID/name) pair used to construct a key path.
If either name or ID is set, the element is complete. If neither is set, the element is incomplete.
func (*Key_PathElement) Descriptor
deprecated
func (*Key_PathElement) Descriptor() ([]byte, []int)
Deprecated: Use Key_PathElement.ProtoReflect.Descriptor instead.
func (*Key_PathElement) GetId ¶
func (x *Key_PathElement) GetId() int64
func (*Key_PathElement) GetIdType ¶
func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType
func (*Key_PathElement) GetKind ¶
func (x *Key_PathElement) GetKind() string
func (*Key_PathElement) GetName ¶
func (x *Key_PathElement) GetName() string
func (*Key_PathElement) ProtoMessage ¶
func (*Key_PathElement) ProtoMessage()
func (*Key_PathElement) ProtoReflect ¶
func (x *Key_PathElement) ProtoReflect() protoreflect.Message
func (*Key_PathElement) Reset ¶
func (x *Key_PathElement) Reset()
func (*Key_PathElement) String ¶
func (x *Key_PathElement) String() string
type Key_PathElement_Id ¶
type Key_PathElement_Id struct { // The auto-allocated ID of the entity. // Never equal to zero. Values less than zero are discouraged and may not // be supported in the future. Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"` }
type Key_PathElement_Name ¶
type Key_PathElement_Name struct { // The name of the entity. // A name matching regex `__.*__` is reserved/read-only. // A name must not be more than 1500 bytes when UTF-8 encoded. // Cannot be `""`. Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"` }
type KindExpression ¶
type KindExpression struct { // The name of the kind. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A representation of a Datastore kind.
func (*KindExpression) Descriptor
deprecated
func (*KindExpression) Descriptor() ([]byte, []int)
Deprecated: Use KindExpression.ProtoReflect.Descriptor instead.
func (*KindExpression) GetName ¶
func (x *KindExpression) GetName() string
func (*KindExpression) ProtoMessage ¶
func (*KindExpression) ProtoMessage()
func (*KindExpression) ProtoReflect ¶
func (x *KindExpression) ProtoReflect() protoreflect.Message
func (*KindExpression) Reset ¶
func (x *KindExpression) Reset()
func (*KindExpression) String ¶
func (x *KindExpression) String() string
type KmsWrappedCryptoKey ¶
type KmsWrappedCryptoKey struct { // Required. The wrapped data crypto key. WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"` // Required. The resource name of the KMS CryptoKey to use for unwrapping. CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"` // contains filtered or unexported fields }
Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt
For more information, see [Creating a wrapped key] (https://cloud.google.com/sensitive-data-protection/docs/create-wrapped-key).
Note: When you use Cloud KMS for cryptographic operations, [charges apply](https://cloud.google.com/kms/pricing).
func (*KmsWrappedCryptoKey) Descriptor
deprecated
func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int)
Deprecated: Use KmsWrappedCryptoKey.ProtoReflect.Descriptor instead.
func (*KmsWrappedCryptoKey) GetCryptoKeyName ¶
func (x *KmsWrappedCryptoKey) GetCryptoKeyName() string
func (*KmsWrappedCryptoKey) GetWrappedKey ¶
func (x *KmsWrappedCryptoKey) GetWrappedKey() []byte
func (*KmsWrappedCryptoKey) ProtoMessage ¶
func (*KmsWrappedCryptoKey) ProtoMessage()
func (*KmsWrappedCryptoKey) ProtoReflect ¶
func (x *KmsWrappedCryptoKey) ProtoReflect() protoreflect.Message
func (*KmsWrappedCryptoKey) Reset ¶
func (x *KmsWrappedCryptoKey) Reset()
func (*KmsWrappedCryptoKey) String ¶
func (x *KmsWrappedCryptoKey) String() string
type LargeCustomDictionaryConfig ¶
type LargeCustomDictionaryConfig struct { // Location to store dictionary artifacts in Cloud Storage. These files // will only be accessible by project owners and the DLP API. If any of these // artifacts are modified, the dictionary is considered invalid and can no // longer be used. OutputPath *CloudStoragePath `protobuf:"bytes,1,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` // Source of the dictionary. // // Types that are assignable to Source: // // *LargeCustomDictionaryConfig_CloudStorageFileSet // *LargeCustomDictionaryConfig_BigQueryField Source isLargeCustomDictionaryConfig_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the [limits](https://cloud.google.com/sensitive-data-protection/limits) page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size requirements.
func (*LargeCustomDictionaryConfig) Descriptor
deprecated
func (*LargeCustomDictionaryConfig) Descriptor() ([]byte, []int)
Deprecated: Use LargeCustomDictionaryConfig.ProtoReflect.Descriptor instead.
func (*LargeCustomDictionaryConfig) GetBigQueryField ¶
func (x *LargeCustomDictionaryConfig) GetBigQueryField() *BigQueryField
func (*LargeCustomDictionaryConfig) GetCloudStorageFileSet ¶
func (x *LargeCustomDictionaryConfig) GetCloudStorageFileSet() *CloudStorageFileSet
func (*LargeCustomDictionaryConfig) GetOutputPath ¶
func (x *LargeCustomDictionaryConfig) GetOutputPath() *CloudStoragePath
func (*LargeCustomDictionaryConfig) GetSource ¶
func (m *LargeCustomDictionaryConfig) GetSource() isLargeCustomDictionaryConfig_Source
func (*LargeCustomDictionaryConfig) ProtoMessage ¶
func (*LargeCustomDictionaryConfig) ProtoMessage()
func (*LargeCustomDictionaryConfig) ProtoReflect ¶
func (x *LargeCustomDictionaryConfig) ProtoReflect() protoreflect.Message
func (*LargeCustomDictionaryConfig) Reset ¶
func (x *LargeCustomDictionaryConfig) Reset()
func (*LargeCustomDictionaryConfig) String ¶
func (x *LargeCustomDictionaryConfig) String() string
type LargeCustomDictionaryConfig_BigQueryField ¶
type LargeCustomDictionaryConfig_BigQueryField struct { // Field in a BigQuery table where each cell represents a dictionary phrase. BigQueryField *BigQueryField `protobuf:"bytes,3,opt,name=big_query_field,json=bigQueryField,proto3,oneof"` }
type LargeCustomDictionaryConfig_CloudStorageFileSet ¶
type LargeCustomDictionaryConfig_CloudStorageFileSet struct { // Set of files containing newline-delimited lists of dictionary phrases. CloudStorageFileSet *CloudStorageFileSet `protobuf:"bytes,2,opt,name=cloud_storage_file_set,json=cloudStorageFileSet,proto3,oneof"` }
type LargeCustomDictionaryStats ¶
type LargeCustomDictionaryStats struct { // Approximate number of distinct phrases in the dictionary. ApproxNumPhrases int64 `protobuf:"varint,1,opt,name=approx_num_phrases,json=approxNumPhrases,proto3" json:"approx_num_phrases,omitempty"` // contains filtered or unexported fields }
Summary statistics of a custom dictionary.
func (*LargeCustomDictionaryStats) Descriptor
deprecated
func (*LargeCustomDictionaryStats) Descriptor() ([]byte, []int)
Deprecated: Use LargeCustomDictionaryStats.ProtoReflect.Descriptor instead.
func (*LargeCustomDictionaryStats) GetApproxNumPhrases ¶
func (x *LargeCustomDictionaryStats) GetApproxNumPhrases() int64
func (*LargeCustomDictionaryStats) ProtoMessage ¶
func (*LargeCustomDictionaryStats) ProtoMessage()
func (*LargeCustomDictionaryStats) ProtoReflect ¶
func (x *LargeCustomDictionaryStats) ProtoReflect() protoreflect.Message
func (*LargeCustomDictionaryStats) Reset ¶
func (x *LargeCustomDictionaryStats) Reset()
func (*LargeCustomDictionaryStats) String ¶
func (x *LargeCustomDictionaryStats) String() string
type Likelihood ¶
type Likelihood int32
Coarse-grained confidence level of how well a particular finding satisfies the criteria to match a particular infoType.
Likelihood is calculated based on the number of signals a finding has that implies that the finding matches the infoType. For example, a string that has an '@' and a '.com' is more likely to be a match for an email address than a string that only has an '@'.
In general, the highest likelihood level has the strongest signals that indicate a match. That is, a finding with a high likelihood has a low chance of being a false positive.
For more information about each likelihood level and how likelihood works, see [Match likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
const ( // Default value; same as POSSIBLE. Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0 // Highest chance of a false positive. Likelihood_VERY_UNLIKELY Likelihood = 1 // High chance of a false positive. Likelihood_UNLIKELY Likelihood = 2 // Some matching signals. The default value. Likelihood_POSSIBLE Likelihood = 3 // Low chance of a false positive. Likelihood_LIKELY Likelihood = 4 // Confidence level is high. Lowest chance of a false positive. Likelihood_VERY_LIKELY Likelihood = 5 )
func (Likelihood) Descriptor ¶
func (Likelihood) Descriptor() protoreflect.EnumDescriptor
func (Likelihood) Enum ¶
func (x Likelihood) Enum() *Likelihood
func (Likelihood) EnumDescriptor
deprecated
func (Likelihood) EnumDescriptor() ([]byte, []int)
Deprecated: Use Likelihood.Descriptor instead.
func (Likelihood) Number ¶
func (x Likelihood) Number() protoreflect.EnumNumber
func (Likelihood) String ¶
func (x Likelihood) String() string
func (Likelihood) Type ¶
func (Likelihood) Type() protoreflect.EnumType
type ListColumnDataProfilesRequest ¶ added in v1.12.0
type ListColumnDataProfilesRequest struct { // Required. Resource name of the organization or project, for // example `organizations/433245324/locations/europe` or // `projects/project-id/locations/asia`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by the server. If zero, server // returns a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of fields to order by, followed by `asc` or `desc` // postfix. This list is case insensitive. The default sorting order is // ascending. Redundant space characters are insignificant. Only one order // field at a time is allowed. // // Examples: // * `project_id asc` // * `table_id` // * `sensitivity_level desc` // // Supported fields are: // // - `project_id`: The Google Cloud project ID. // - `dataset_id`: The ID of a BigQuery dataset. // - `table_id`: The ID of a BigQuery table. // - `sensitivity_level`: How sensitive the data in a column is, at most. // - `data_risk_level`: How much risk is associated with this data. // - `profile_last_generated`: When the profile was last updated in epoch // seconds. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Allows filtering. // // Supported syntax: // // * Filter expressions are made up of one or more restrictions. // * Restrictions can be combined by `AND` or `OR` logical operators. A // sequence of restrictions implicitly uses `AND`. // * A restriction has the form of `{field} {operator} {value}`. // * Supported fields/values: // - `table_data_profile_name` - The name of the related table data // profile. // - `project_id` - The Google Cloud project ID. (REQUIRED) // - `dataset_id` - The BigQuery dataset ID. (REQUIRED) // - `table_id` - The BigQuery table ID. (REQUIRED) // - `field_id` - The ID of the BigQuery field. // - `info_type` - The infotype detected in the resource. // - `sensitivity_level` - HIGH|MEDIUM|LOW // - `data_risk_level`: How much risk is associated with this data. // - `status_code` - an RPC status code as defined in // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto // - The operator must be `=` for project_id, dataset_id, and table_id. Other // filters also support `!=`. // // Examples: // // * project_id = 12345 AND status_code = 1 // * project_id = 12345 AND sensitivity_level = HIGH // * project_id = 12345 AND info_type = STREET_ADDRESS // // The length of this field should be no more than 500 characters. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request to list the profiles generated for a given organization or project.
func (*ListColumnDataProfilesRequest) Descriptor
deprecated
added in
v1.12.0
func (*ListColumnDataProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListColumnDataProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListColumnDataProfilesRequest) GetFilter ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) GetFilter() string
func (*ListColumnDataProfilesRequest) GetOrderBy ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) GetOrderBy() string
func (*ListColumnDataProfilesRequest) GetPageSize ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) GetPageSize() int32
func (*ListColumnDataProfilesRequest) GetPageToken ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) GetPageToken() string
func (*ListColumnDataProfilesRequest) GetParent ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) GetParent() string
func (*ListColumnDataProfilesRequest) ProtoMessage ¶ added in v1.12.0
func (*ListColumnDataProfilesRequest) ProtoMessage()
func (*ListColumnDataProfilesRequest) ProtoReflect ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListColumnDataProfilesRequest) Reset ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) Reset()
func (*ListColumnDataProfilesRequest) String ¶ added in v1.12.0
func (x *ListColumnDataProfilesRequest) String() string
type ListColumnDataProfilesResponse ¶ added in v1.12.0
type ListColumnDataProfilesResponse struct { // List of data profiles. ColumnDataProfiles []*ColumnDataProfile `protobuf:"bytes,1,rep,name=column_data_profiles,json=columnDataProfiles,proto3" json:"column_data_profiles,omitempty"` // The next page token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
List of profiles generated for a given organization or project.
func (*ListColumnDataProfilesResponse) Descriptor
deprecated
added in
v1.12.0
func (*ListColumnDataProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListColumnDataProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListColumnDataProfilesResponse) GetColumnDataProfiles ¶ added in v1.12.0
func (x *ListColumnDataProfilesResponse) GetColumnDataProfiles() []*ColumnDataProfile
func (*ListColumnDataProfilesResponse) GetNextPageToken ¶ added in v1.12.0
func (x *ListColumnDataProfilesResponse) GetNextPageToken() string
func (*ListColumnDataProfilesResponse) ProtoMessage ¶ added in v1.12.0
func (*ListColumnDataProfilesResponse) ProtoMessage()
func (*ListColumnDataProfilesResponse) ProtoReflect ¶ added in v1.12.0
func (x *ListColumnDataProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListColumnDataProfilesResponse) Reset ¶ added in v1.12.0
func (x *ListColumnDataProfilesResponse) Reset()
func (*ListColumnDataProfilesResponse) String ¶ added in v1.12.0
func (x *ListColumnDataProfilesResponse) String() string
type ListDeidentifyTemplatesRequest ¶
type ListDeidentifyTemplatesRequest struct { // Required. Parent resource name. // // The format of this value varies depending on the scope of the request // (project or organization) and whether you have [specified a processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // - Organizations scope, location specified:<br/> // `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> // - Organizations scope, no location specified (defaults to global):<br/> // `organizations/`<var>ORG_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. Comes from the previous call // to `ListDeidentifyTemplates`. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by the server. If zero server // returns a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of fields to order by, // followed by `asc` or `desc` postfix. This list is case insensitive. The // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` // // Supported fields are: // // - `create_time`: corresponds to the time the template was created. // - `update_time`: corresponds to the time the template was last updated. // - `name`: corresponds to the template's name. // - `display_name`: corresponds to the template's display name. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for ListDeidentifyTemplates.
func (*ListDeidentifyTemplatesRequest) Descriptor
deprecated
func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeidentifyTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListDeidentifyTemplatesRequest) GetLocationId ¶
func (x *ListDeidentifyTemplatesRequest) GetLocationId() string
func (*ListDeidentifyTemplatesRequest) GetOrderBy ¶
func (x *ListDeidentifyTemplatesRequest) GetOrderBy() string
func (*ListDeidentifyTemplatesRequest) GetPageSize ¶
func (x *ListDeidentifyTemplatesRequest) GetPageSize() int32
func (*ListDeidentifyTemplatesRequest) GetPageToken ¶
func (x *ListDeidentifyTemplatesRequest) GetPageToken() string
func (*ListDeidentifyTemplatesRequest) GetParent ¶
func (x *ListDeidentifyTemplatesRequest) GetParent() string
func (*ListDeidentifyTemplatesRequest) ProtoMessage ¶
func (*ListDeidentifyTemplatesRequest) ProtoMessage()
func (*ListDeidentifyTemplatesRequest) ProtoReflect ¶
func (x *ListDeidentifyTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListDeidentifyTemplatesRequest) Reset ¶
func (x *ListDeidentifyTemplatesRequest) Reset()
func (*ListDeidentifyTemplatesRequest) String ¶
func (x *ListDeidentifyTemplatesRequest) String() string
type ListDeidentifyTemplatesResponse ¶
type ListDeidentifyTemplatesResponse struct { // List of deidentify templates, up to page_size in // ListDeidentifyTemplatesRequest. DeidentifyTemplates []*DeidentifyTemplate `protobuf:"bytes,1,rep,name=deidentify_templates,json=deidentifyTemplates,proto3" json:"deidentify_templates,omitempty"` // If the next page is available then the next page token to be used in the // following ListDeidentifyTemplates request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListDeidentifyTemplates.
func (*ListDeidentifyTemplatesResponse) Descriptor
deprecated
func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeidentifyTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListDeidentifyTemplatesResponse) GetDeidentifyTemplates ¶
func (x *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate
func (*ListDeidentifyTemplatesResponse) GetNextPageToken ¶
func (x *ListDeidentifyTemplatesResponse) GetNextPageToken() string
func (*ListDeidentifyTemplatesResponse) ProtoMessage ¶
func (*ListDeidentifyTemplatesResponse) ProtoMessage()
func (*ListDeidentifyTemplatesResponse) ProtoReflect ¶
func (x *ListDeidentifyTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListDeidentifyTemplatesResponse) Reset ¶
func (x *ListDeidentifyTemplatesResponse) Reset()
func (*ListDeidentifyTemplatesResponse) String ¶
func (x *ListDeidentifyTemplatesResponse) String() string
type ListDiscoveryConfigsRequest ¶ added in v1.11.0
type ListDiscoveryConfigsRequest struct { // Required. Parent resource name. // // The format of this value is as follows: // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. Comes from the previous call // to ListDiscoveryConfigs. `order_by` field must not // change for subsequent calls. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by a server. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of config fields to order by, // followed by `asc` or `desc` postfix. This list is case insensitive. The // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` // // Supported fields are: // // - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. // - `name`: corresponds to the DiscoveryConfig's name. // - `status`: corresponds to DiscoveryConfig's status. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request message for ListDiscoveryConfigs.
func (*ListDiscoveryConfigsRequest) Descriptor
deprecated
added in
v1.11.0
func (*ListDiscoveryConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDiscoveryConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListDiscoveryConfigsRequest) GetOrderBy ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) GetOrderBy() string
func (*ListDiscoveryConfigsRequest) GetPageSize ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) GetPageSize() int32
func (*ListDiscoveryConfigsRequest) GetPageToken ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) GetPageToken() string
func (*ListDiscoveryConfigsRequest) GetParent ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) GetParent() string
func (*ListDiscoveryConfigsRequest) ProtoMessage ¶ added in v1.11.0
func (*ListDiscoveryConfigsRequest) ProtoMessage()
func (*ListDiscoveryConfigsRequest) ProtoReflect ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListDiscoveryConfigsRequest) Reset ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) Reset()
func (*ListDiscoveryConfigsRequest) String ¶ added in v1.11.0
func (x *ListDiscoveryConfigsRequest) String() string
type ListDiscoveryConfigsResponse ¶ added in v1.11.0
type ListDiscoveryConfigsResponse struct { // List of configs, up to page_size in ListDiscoveryConfigsRequest. DiscoveryConfigs []*DiscoveryConfig `protobuf:"bytes,1,rep,name=discovery_configs,json=discoveryConfigs,proto3" json:"discovery_configs,omitempty"` // If the next page is available then this value is the next page token to be // used in the following ListDiscoveryConfigs request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListDiscoveryConfigs.
func (*ListDiscoveryConfigsResponse) Descriptor
deprecated
added in
v1.11.0
func (*ListDiscoveryConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDiscoveryConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListDiscoveryConfigsResponse) GetDiscoveryConfigs ¶ added in v1.11.0
func (x *ListDiscoveryConfigsResponse) GetDiscoveryConfigs() []*DiscoveryConfig
func (*ListDiscoveryConfigsResponse) GetNextPageToken ¶ added in v1.11.0
func (x *ListDiscoveryConfigsResponse) GetNextPageToken() string
func (*ListDiscoveryConfigsResponse) ProtoMessage ¶ added in v1.11.0
func (*ListDiscoveryConfigsResponse) ProtoMessage()
func (*ListDiscoveryConfigsResponse) ProtoReflect ¶ added in v1.11.0
func (x *ListDiscoveryConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListDiscoveryConfigsResponse) Reset ¶ added in v1.11.0
func (x *ListDiscoveryConfigsResponse) Reset()
func (*ListDiscoveryConfigsResponse) String ¶ added in v1.11.0
func (x *ListDiscoveryConfigsResponse) String() string
type ListDlpJobsRequest ¶
type ListDlpJobsRequest struct { // Required. Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // Allows filtering. // // Supported syntax: // // * Filter expressions are made up of one or more restrictions. // * Restrictions can be combined by `AND` or `OR` logical operators. A // sequence of restrictions implicitly uses `AND`. // * A restriction has the form of `{field} {operator} {value}`. // * Supported fields/values for inspect jobs: // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY // - `trigger_name` - The name of the trigger that created the job. // - 'end_time` - Corresponds to the time the job finished. // - 'start_time` - Corresponds to the time the job finished. // // * Supported fields for risk analysis jobs: // - `state` - RUNNING|CANCELED|FINISHED|FAILED // - 'end_time` - Corresponds to the time the job finished. // - 'start_time` - Corresponds to the time the job finished. // // * The operator must be `=` or `!=`. // // Examples: // // * inspected_storage = cloud_storage AND state = done // * inspected_storage = cloud_storage OR inspected_storage = bigquery // * inspected_storage = cloud_storage AND (state = done OR state = canceled) // * end_time > \"2017-12-12T00:00:00+00:00\" // // The length of this field should be no more than 500 characters. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // The standard list page size. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The standard list page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The type of job. Defaults to `DlpJobType.INSPECT` Type DlpJobType `protobuf:"varint,5,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` // Comma separated list of fields to order by, // followed by `asc` or `desc` postfix. This list is case insensitive. The // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc, end_time asc, create_time desc` // // Supported fields are: // // - `create_time`: corresponds to the time the job was created. // - `end_time`: corresponds to the time the job ended. // - `name`: corresponds to the job's name. // - `state`: corresponds to `state` OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
The request message for listing DLP jobs.
func (*ListDlpJobsRequest) Descriptor
deprecated
func (*ListDlpJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDlpJobsRequest.ProtoReflect.Descriptor instead.
func (*ListDlpJobsRequest) GetFilter ¶
func (x *ListDlpJobsRequest) GetFilter() string
func (*ListDlpJobsRequest) GetLocationId ¶
func (x *ListDlpJobsRequest) GetLocationId() string
func (*ListDlpJobsRequest) GetOrderBy ¶
func (x *ListDlpJobsRequest) GetOrderBy() string
func (*ListDlpJobsRequest) GetPageSize ¶
func (x *ListDlpJobsRequest) GetPageSize() int32
func (*ListDlpJobsRequest) GetPageToken ¶
func (x *ListDlpJobsRequest) GetPageToken() string
func (*ListDlpJobsRequest) GetParent ¶
func (x *ListDlpJobsRequest) GetParent() string
func (*ListDlpJobsRequest) GetType ¶
func (x *ListDlpJobsRequest) GetType() DlpJobType
func (*ListDlpJobsRequest) ProtoMessage ¶
func (*ListDlpJobsRequest) ProtoMessage()
func (*ListDlpJobsRequest) ProtoReflect ¶
func (x *ListDlpJobsRequest) ProtoReflect() protoreflect.Message
func (*ListDlpJobsRequest) Reset ¶
func (x *ListDlpJobsRequest) Reset()
func (*ListDlpJobsRequest) String ¶
func (x *ListDlpJobsRequest) String() string
type ListDlpJobsResponse ¶
type ListDlpJobsResponse struct { // A list of DlpJobs that matches the specified filter in the request. Jobs []*DlpJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // The standard List next-page token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for listing DLP jobs.
func (*ListDlpJobsResponse) Descriptor
deprecated
func (*ListDlpJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDlpJobsResponse.ProtoReflect.Descriptor instead.
func (*ListDlpJobsResponse) GetJobs ¶
func (x *ListDlpJobsResponse) GetJobs() []*DlpJob
func (*ListDlpJobsResponse) GetNextPageToken ¶
func (x *ListDlpJobsResponse) GetNextPageToken() string
func (*ListDlpJobsResponse) ProtoMessage ¶
func (*ListDlpJobsResponse) ProtoMessage()
func (*ListDlpJobsResponse) ProtoReflect ¶
func (x *ListDlpJobsResponse) ProtoReflect() protoreflect.Message
func (*ListDlpJobsResponse) Reset ¶
func (x *ListDlpJobsResponse) Reset()
func (*ListDlpJobsResponse) String ¶
func (x *ListDlpJobsResponse) String() string
type ListInfoTypesRequest ¶
type ListInfoTypesRequest struct { // The parent resource name. // // The format of this value is as follows: // // locations/<var>LOCATION_ID</var> Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // BCP-47 language code for localized infoType friendly // names. If omitted, or if localized strings are not available, // en-US strings will be returned. LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // filter to only return infoTypes supported by certain parts of the // API. Defaults to supported_by=INSPECT. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request for the list of infoTypes.
func (*ListInfoTypesRequest) Descriptor
deprecated
func (*ListInfoTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInfoTypesRequest.ProtoReflect.Descriptor instead.
func (*ListInfoTypesRequest) GetFilter ¶
func (x *ListInfoTypesRequest) GetFilter() string
func (*ListInfoTypesRequest) GetLanguageCode ¶
func (x *ListInfoTypesRequest) GetLanguageCode() string
func (*ListInfoTypesRequest) GetLocationId ¶
func (x *ListInfoTypesRequest) GetLocationId() string
func (*ListInfoTypesRequest) GetParent ¶
func (x *ListInfoTypesRequest) GetParent() string
func (*ListInfoTypesRequest) ProtoMessage ¶
func (*ListInfoTypesRequest) ProtoMessage()
func (*ListInfoTypesRequest) ProtoReflect ¶
func (x *ListInfoTypesRequest) ProtoReflect() protoreflect.Message
func (*ListInfoTypesRequest) Reset ¶
func (x *ListInfoTypesRequest) Reset()
func (*ListInfoTypesRequest) String ¶
func (x *ListInfoTypesRequest) String() string
type ListInfoTypesResponse ¶
type ListInfoTypesResponse struct { // Set of sensitive infoTypes. InfoTypes []*InfoTypeDescription `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"` // contains filtered or unexported fields }
Response to the ListInfoTypes request.
func (*ListInfoTypesResponse) Descriptor
deprecated
func (*ListInfoTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInfoTypesResponse.ProtoReflect.Descriptor instead.
func (*ListInfoTypesResponse) GetInfoTypes ¶
func (x *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription
func (*ListInfoTypesResponse) ProtoMessage ¶
func (*ListInfoTypesResponse) ProtoMessage()
func (*ListInfoTypesResponse) ProtoReflect ¶
func (x *ListInfoTypesResponse) ProtoReflect() protoreflect.Message
func (*ListInfoTypesResponse) Reset ¶
func (x *ListInfoTypesResponse) Reset()
func (*ListInfoTypesResponse) String ¶
func (x *ListInfoTypesResponse) String() string
type ListInspectTemplatesRequest ¶
type ListInspectTemplatesRequest struct { // Required. Parent resource name. // // The format of this value varies depending on the scope of the request // (project or organization) and whether you have [specified a processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // - Organizations scope, location specified:<br/> // `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> // - Organizations scope, no location specified (defaults to global):<br/> // `organizations/`<var>ORG_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. Comes from the previous call // to `ListInspectTemplates`. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by the server. If zero server // returns a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of fields to order by, // followed by `asc` or `desc` postfix. This list is case insensitive. The // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` // // Supported fields are: // // - `create_time`: corresponds to the time the template was created. // - `update_time`: corresponds to the time the template was last updated. // - `name`: corresponds to the template's name. // - `display_name`: corresponds to the template's display name. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for ListInspectTemplates.
func (*ListInspectTemplatesRequest) Descriptor
deprecated
func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInspectTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListInspectTemplatesRequest) GetLocationId ¶
func (x *ListInspectTemplatesRequest) GetLocationId() string
func (*ListInspectTemplatesRequest) GetOrderBy ¶
func (x *ListInspectTemplatesRequest) GetOrderBy() string
func (*ListInspectTemplatesRequest) GetPageSize ¶
func (x *ListInspectTemplatesRequest) GetPageSize() int32
func (*ListInspectTemplatesRequest) GetPageToken ¶
func (x *ListInspectTemplatesRequest) GetPageToken() string
func (*ListInspectTemplatesRequest) GetParent ¶
func (x *ListInspectTemplatesRequest) GetParent() string
func (*ListInspectTemplatesRequest) ProtoMessage ¶
func (*ListInspectTemplatesRequest) ProtoMessage()
func (*ListInspectTemplatesRequest) ProtoReflect ¶
func (x *ListInspectTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListInspectTemplatesRequest) Reset ¶
func (x *ListInspectTemplatesRequest) Reset()
func (*ListInspectTemplatesRequest) String ¶
func (x *ListInspectTemplatesRequest) String() string
type ListInspectTemplatesResponse ¶
type ListInspectTemplatesResponse struct { // List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. InspectTemplates []*InspectTemplate `protobuf:"bytes,1,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"` // If the next page is available then the next page token to be used in the // following ListInspectTemplates request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListInspectTemplates.
func (*ListInspectTemplatesResponse) Descriptor
deprecated
func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInspectTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListInspectTemplatesResponse) GetInspectTemplates ¶
func (x *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate
func (*ListInspectTemplatesResponse) GetNextPageToken ¶
func (x *ListInspectTemplatesResponse) GetNextPageToken() string
func (*ListInspectTemplatesResponse) ProtoMessage ¶
func (*ListInspectTemplatesResponse) ProtoMessage()
func (*ListInspectTemplatesResponse) ProtoReflect ¶
func (x *ListInspectTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListInspectTemplatesResponse) Reset ¶
func (x *ListInspectTemplatesResponse) Reset()
func (*ListInspectTemplatesResponse) String ¶
func (x *ListInspectTemplatesResponse) String() string
type ListJobTriggersRequest ¶
type ListJobTriggersRequest struct { // Required. Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. Comes from the previous call // to ListJobTriggers. `order_by` field must not // change for subsequent calls. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by a server. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of triggeredJob fields to order by, // followed by `asc` or `desc` postfix. This list is case insensitive. The // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` // // Supported fields are: // // - `create_time`: corresponds to the time the JobTrigger was created. // - `update_time`: corresponds to the time the JobTrigger was last updated. // - `last_run_time`: corresponds to the last time the JobTrigger ran. // - `name`: corresponds to the JobTrigger's name. // - `display_name`: corresponds to the JobTrigger's display name. // - `status`: corresponds to JobTrigger's status. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Allows filtering. // // Supported syntax: // // * Filter expressions are made up of one or more restrictions. // * Restrictions can be combined by `AND` or `OR` logical operators. A // sequence of restrictions implicitly uses `AND`. // * A restriction has the form of `{field} {operator} {value}`. // * Supported fields/values for inspect triggers: // - `status` - HEALTHY|PAUSED|CANCELLED // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by // quotation marks. Nanoseconds are ignored. // - 'error_count' - Number of errors that have occurred while running. // // * The operator must be `=` or `!=` for status and inspected_storage. // // Examples: // // * inspected_storage = cloud_storage AND status = HEALTHY // * inspected_storage = cloud_storage OR inspected_storage = bigquery // * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) // * last_run_time > \"2017-12-12T00:00:00+00:00\" // // The length of this field should be no more than 500 characters. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // The type of jobs. Will use `DlpJobType.INSPECT` if not set. Type DlpJobType `protobuf:"varint,6,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for ListJobTriggers.
func (*ListJobTriggersRequest) Descriptor
deprecated
func (*ListJobTriggersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListJobTriggersRequest.ProtoReflect.Descriptor instead.
func (*ListJobTriggersRequest) GetFilter ¶
func (x *ListJobTriggersRequest) GetFilter() string
func (*ListJobTriggersRequest) GetLocationId ¶
func (x *ListJobTriggersRequest) GetLocationId() string
func (*ListJobTriggersRequest) GetOrderBy ¶
func (x *ListJobTriggersRequest) GetOrderBy() string
func (*ListJobTriggersRequest) GetPageSize ¶
func (x *ListJobTriggersRequest) GetPageSize() int32
func (*ListJobTriggersRequest) GetPageToken ¶
func (x *ListJobTriggersRequest) GetPageToken() string
func (*ListJobTriggersRequest) GetParent ¶
func (x *ListJobTriggersRequest) GetParent() string
func (*ListJobTriggersRequest) GetType ¶
func (x *ListJobTriggersRequest) GetType() DlpJobType
func (*ListJobTriggersRequest) ProtoMessage ¶
func (*ListJobTriggersRequest) ProtoMessage()
func (*ListJobTriggersRequest) ProtoReflect ¶
func (x *ListJobTriggersRequest) ProtoReflect() protoreflect.Message
func (*ListJobTriggersRequest) Reset ¶
func (x *ListJobTriggersRequest) Reset()
func (*ListJobTriggersRequest) String ¶
func (x *ListJobTriggersRequest) String() string
type ListJobTriggersResponse ¶
type ListJobTriggersResponse struct { // List of triggeredJobs, up to page_size in ListJobTriggersRequest. JobTriggers []*JobTrigger `protobuf:"bytes,1,rep,name=job_triggers,json=jobTriggers,proto3" json:"job_triggers,omitempty"` // If the next page is available then this value is the next page token to be // used in the following ListJobTriggers request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListJobTriggers.
func (*ListJobTriggersResponse) Descriptor
deprecated
func (*ListJobTriggersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListJobTriggersResponse.ProtoReflect.Descriptor instead.
func (*ListJobTriggersResponse) GetJobTriggers ¶
func (x *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger
func (*ListJobTriggersResponse) GetNextPageToken ¶
func (x *ListJobTriggersResponse) GetNextPageToken() string
func (*ListJobTriggersResponse) ProtoMessage ¶
func (*ListJobTriggersResponse) ProtoMessage()
func (*ListJobTriggersResponse) ProtoReflect ¶
func (x *ListJobTriggersResponse) ProtoReflect() protoreflect.Message
func (*ListJobTriggersResponse) Reset ¶
func (x *ListJobTriggersResponse) Reset()
func (*ListJobTriggersResponse) String ¶
func (x *ListJobTriggersResponse) String() string
type ListProjectDataProfilesRequest ¶ added in v1.12.0
type ListProjectDataProfilesRequest struct { // Required. organizations/{org_id}/locations/{loc_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by the server. If zero, server // returns a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of fields to order by, followed by `asc` or `desc` // postfix. This list is case insensitive. The default sorting order is // ascending. Redundant space characters are insignificant. Only one order // field at a time is allowed. // // Examples: // * `project_id` // * `sensitivity_level desc` // // Supported fields are: // // - `project_id`: GCP project ID // - `sensitivity_level`: How sensitive the data in a project is, at most. // - `data_risk_level`: How much risk is associated with this data. // - `profile_last_generated`: When the profile was last updated in epoch // seconds. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Allows filtering. // // Supported syntax: // // * Filter expressions are made up of one or more restrictions. // * Restrictions can be combined by `AND` or `OR` logical operators. A // sequence of restrictions implicitly uses `AND`. // * A restriction has the form of `{field} {operator} {value}`. // * Supported fields/values: // - `sensitivity_level` - HIGH|MODERATE|LOW // - `data_risk_level` - HIGH|MODERATE|LOW // - `status_code` - an RPC status code as defined in // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto // // * The operator must be `=` or `!=`. // // Examples: // // * `project_id = 12345 AND status_code = 1` // * `project_id = 12345 AND sensitivity_level = HIGH` // // The length of this field should be no more than 500 characters. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request to list the profiles generated for a given organization or project.
func (*ListProjectDataProfilesRequest) Descriptor
deprecated
added in
v1.12.0
func (*ListProjectDataProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectDataProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListProjectDataProfilesRequest) GetFilter ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) GetFilter() string
func (*ListProjectDataProfilesRequest) GetOrderBy ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) GetOrderBy() string
func (*ListProjectDataProfilesRequest) GetPageSize ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) GetPageSize() int32
func (*ListProjectDataProfilesRequest) GetPageToken ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) GetPageToken() string
func (*ListProjectDataProfilesRequest) GetParent ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) GetParent() string
func (*ListProjectDataProfilesRequest) ProtoMessage ¶ added in v1.12.0
func (*ListProjectDataProfilesRequest) ProtoMessage()
func (*ListProjectDataProfilesRequest) ProtoReflect ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListProjectDataProfilesRequest) Reset ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) Reset()
func (*ListProjectDataProfilesRequest) String ¶ added in v1.12.0
func (x *ListProjectDataProfilesRequest) String() string
type ListProjectDataProfilesResponse ¶ added in v1.12.0
type ListProjectDataProfilesResponse struct { // List of data profiles. ProjectDataProfiles []*ProjectDataProfile `protobuf:"bytes,1,rep,name=project_data_profiles,json=projectDataProfiles,proto3" json:"project_data_profiles,omitempty"` // The next page token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
List of profiles generated for a given organization or project.
func (*ListProjectDataProfilesResponse) Descriptor
deprecated
added in
v1.12.0
func (*ListProjectDataProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectDataProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListProjectDataProfilesResponse) GetNextPageToken ¶ added in v1.12.0
func (x *ListProjectDataProfilesResponse) GetNextPageToken() string
func (*ListProjectDataProfilesResponse) GetProjectDataProfiles ¶ added in v1.12.0
func (x *ListProjectDataProfilesResponse) GetProjectDataProfiles() []*ProjectDataProfile
func (*ListProjectDataProfilesResponse) ProtoMessage ¶ added in v1.12.0
func (*ListProjectDataProfilesResponse) ProtoMessage()
func (*ListProjectDataProfilesResponse) ProtoReflect ¶ added in v1.12.0
func (x *ListProjectDataProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListProjectDataProfilesResponse) Reset ¶ added in v1.12.0
func (x *ListProjectDataProfilesResponse) Reset()
func (*ListProjectDataProfilesResponse) String ¶ added in v1.12.0
func (x *ListProjectDataProfilesResponse) String() string
type ListStoredInfoTypesRequest ¶
type ListStoredInfoTypesRequest struct { // Required. Parent resource name. // // The format of this value varies depending on the scope of the request // (project or organization) and whether you have [specified a processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. Comes from the previous call // to `ListStoredInfoTypes`. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by the server. If zero server // returns a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of fields to order by, // followed by `asc` or `desc` postfix. This list is case insensitive. The // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc, display_name, create_time desc` // // Supported fields are: // // - `create_time`: corresponds to the time the most recent version of the // resource was created. // - `state`: corresponds to the state of the resource. // - `name`: corresponds to resource name. // - `display_name`: corresponds to info type's display name. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request message for ListStoredInfoTypes.
func (*ListStoredInfoTypesRequest) Descriptor
deprecated
func (*ListStoredInfoTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStoredInfoTypesRequest.ProtoReflect.Descriptor instead.
func (*ListStoredInfoTypesRequest) GetLocationId ¶
func (x *ListStoredInfoTypesRequest) GetLocationId() string
func (*ListStoredInfoTypesRequest) GetOrderBy ¶
func (x *ListStoredInfoTypesRequest) GetOrderBy() string
func (*ListStoredInfoTypesRequest) GetPageSize ¶
func (x *ListStoredInfoTypesRequest) GetPageSize() int32
func (*ListStoredInfoTypesRequest) GetPageToken ¶
func (x *ListStoredInfoTypesRequest) GetPageToken() string
func (*ListStoredInfoTypesRequest) GetParent ¶
func (x *ListStoredInfoTypesRequest) GetParent() string
func (*ListStoredInfoTypesRequest) ProtoMessage ¶
func (*ListStoredInfoTypesRequest) ProtoMessage()
func (*ListStoredInfoTypesRequest) ProtoReflect ¶
func (x *ListStoredInfoTypesRequest) ProtoReflect() protoreflect.Message
func (*ListStoredInfoTypesRequest) Reset ¶
func (x *ListStoredInfoTypesRequest) Reset()
func (*ListStoredInfoTypesRequest) String ¶
func (x *ListStoredInfoTypesRequest) String() string
type ListStoredInfoTypesResponse ¶
type ListStoredInfoTypesResponse struct { // List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. StoredInfoTypes []*StoredInfoType `protobuf:"bytes,1,rep,name=stored_info_types,json=storedInfoTypes,proto3" json:"stored_info_types,omitempty"` // If the next page is available then the next page token to be used // in the following ListStoredInfoTypes request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListStoredInfoTypes.
func (*ListStoredInfoTypesResponse) Descriptor
deprecated
func (*ListStoredInfoTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStoredInfoTypesResponse.ProtoReflect.Descriptor instead.
func (*ListStoredInfoTypesResponse) GetNextPageToken ¶
func (x *ListStoredInfoTypesResponse) GetNextPageToken() string
func (*ListStoredInfoTypesResponse) GetStoredInfoTypes ¶
func (x *ListStoredInfoTypesResponse) GetStoredInfoTypes() []*StoredInfoType
func (*ListStoredInfoTypesResponse) ProtoMessage ¶
func (*ListStoredInfoTypesResponse) ProtoMessage()
func (*ListStoredInfoTypesResponse) ProtoReflect ¶
func (x *ListStoredInfoTypesResponse) ProtoReflect() protoreflect.Message
func (*ListStoredInfoTypesResponse) Reset ¶
func (x *ListStoredInfoTypesResponse) Reset()
func (*ListStoredInfoTypesResponse) String ¶
func (x *ListStoredInfoTypesResponse) String() string
type ListTableDataProfilesRequest ¶ added in v1.12.0
type ListTableDataProfilesRequest struct { // Required. Resource name of the organization or project, for // example `organizations/433245324/locations/europe` or // `projects/project-id/locations/asia`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page token to continue retrieval. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Size of the page. This value can be limited by the server. If zero, server // returns a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Comma separated list of fields to order by, followed by `asc` or `desc` // postfix. This list is case insensitive. The default sorting order is // ascending. Redundant space characters are insignificant. Only one order // field at a time is allowed. // // Examples: // * `project_id asc` // * `table_id` // * `sensitivity_level desc` // // Supported fields are: // // - `project_id`: The GCP project ID. // - `dataset_id`: The ID of a BigQuery dataset. // - `table_id`: The ID of a BigQuery table. // - `sensitivity_level`: How sensitive the data in a table is, at most. // - `data_risk_level`: How much risk is associated with this data. // - `profile_last_generated`: When the profile was last updated in epoch // seconds. // - `last_modified`: The last time the resource was modified. // - `resource_visibility`: Visibility restriction for this resource. // - `row_count`: Number of rows in this resource. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Allows filtering. // // Supported syntax: // // * Filter expressions are made up of one or more restrictions. // * Restrictions can be combined by `AND` or `OR` logical operators. A // sequence of restrictions implicitly uses `AND`. // * A restriction has the form of `{field} {operator} {value}`. // * Supported fields/values: // - `project_id` - The GCP project ID. // - `dataset_id` - The BigQuery dataset ID. // - `table_id` - The ID of the BigQuery table. // - `sensitivity_level` - HIGH|MODERATE|LOW // - `data_risk_level` - HIGH|MODERATE|LOW // - `resource_visibility`: PUBLIC|RESTRICTED // - `status_code` - an RPC status code as defined in // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto // // * The operator must be `=` or `!=`. // // Examples: // // * `project_id = 12345 AND status_code = 1` // * `project_id = 12345 AND sensitivity_level = HIGH` // * `project_id = 12345 AND resource_visibility = PUBLIC` // // The length of this field should be no more than 500 characters. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request to list the profiles generated for a given organization or project.
func (*ListTableDataProfilesRequest) Descriptor
deprecated
added in
v1.12.0
func (*ListTableDataProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTableDataProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListTableDataProfilesRequest) GetFilter ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) GetFilter() string
func (*ListTableDataProfilesRequest) GetOrderBy ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) GetOrderBy() string
func (*ListTableDataProfilesRequest) GetPageSize ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) GetPageSize() int32
func (*ListTableDataProfilesRequest) GetPageToken ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) GetPageToken() string
func (*ListTableDataProfilesRequest) GetParent ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) GetParent() string
func (*ListTableDataProfilesRequest) ProtoMessage ¶ added in v1.12.0
func (*ListTableDataProfilesRequest) ProtoMessage()
func (*ListTableDataProfilesRequest) ProtoReflect ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListTableDataProfilesRequest) Reset ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) Reset()
func (*ListTableDataProfilesRequest) String ¶ added in v1.12.0
func (x *ListTableDataProfilesRequest) String() string
type ListTableDataProfilesResponse ¶ added in v1.12.0
type ListTableDataProfilesResponse struct { // List of data profiles. TableDataProfiles []*TableDataProfile `protobuf:"bytes,1,rep,name=table_data_profiles,json=tableDataProfiles,proto3" json:"table_data_profiles,omitempty"` // The next page token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
List of profiles generated for a given organization or project.
func (*ListTableDataProfilesResponse) Descriptor
deprecated
added in
v1.12.0
func (*ListTableDataProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTableDataProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListTableDataProfilesResponse) GetNextPageToken ¶ added in v1.12.0
func (x *ListTableDataProfilesResponse) GetNextPageToken() string
func (*ListTableDataProfilesResponse) GetTableDataProfiles ¶ added in v1.12.0
func (x *ListTableDataProfilesResponse) GetTableDataProfiles() []*TableDataProfile
func (*ListTableDataProfilesResponse) ProtoMessage ¶ added in v1.12.0
func (*ListTableDataProfilesResponse) ProtoMessage()
func (*ListTableDataProfilesResponse) ProtoReflect ¶ added in v1.12.0
func (x *ListTableDataProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListTableDataProfilesResponse) Reset ¶ added in v1.12.0
func (x *ListTableDataProfilesResponse) Reset()
func (*ListTableDataProfilesResponse) String ¶ added in v1.12.0
func (x *ListTableDataProfilesResponse) String() string
type Location ¶
type Location struct { // Zero-based byte offsets delimiting the finding. // These are relative to the finding's containing element. // Note that when the content is not textual, this references // the UTF-8 encoded textual representation of the content. // Omitted if content is an image. ByteRange *Range `protobuf:"bytes,1,opt,name=byte_range,json=byteRange,proto3" json:"byte_range,omitempty"` // Unicode character offsets delimiting the finding. // These are relative to the finding's containing element. // Provided when the content is text. CodepointRange *Range `protobuf:"bytes,2,opt,name=codepoint_range,json=codepointRange,proto3" json:"codepoint_range,omitempty"` // List of nested objects pointing to the precise location of the finding // within the file or record. ContentLocations []*ContentLocation `protobuf:"bytes,7,rep,name=content_locations,json=contentLocations,proto3" json:"content_locations,omitempty"` // Information about the container where this finding occurred, if available. Container *Container `protobuf:"bytes,8,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
Specifies the location of the finding.
func (*Location) Descriptor
deprecated
func (*Location) GetByteRange ¶
func (*Location) GetCodepointRange ¶
func (*Location) GetContainer ¶
func (*Location) GetContentLocations ¶
func (x *Location) GetContentLocations() []*ContentLocation
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type Manual ¶
type Manual struct {
// contains filtered or unexported fields
}
Job trigger option for hybrid jobs. Jobs must be manually created and finished.
func (*Manual) Descriptor
deprecated
func (*Manual) ProtoMessage ¶
func (*Manual) ProtoMessage()
func (*Manual) ProtoReflect ¶
func (x *Manual) ProtoReflect() protoreflect.Message
type MatchingType ¶
type MatchingType int32
Type of the match which can be applied to different ways of matching, like Dictionary, regular expression and intersecting with findings of another info type.
const ( // Invalid. MatchingType_MATCHING_TYPE_UNSPECIFIED MatchingType = 0 // Full match. // // - Dictionary: join of Dictionary results matched complete finding quote // - Regex: all regex matches fill a finding quote start to end // - Exclude info type: completely inside affecting info types findings MatchingType_MATCHING_TYPE_FULL_MATCH MatchingType = 1 // Partial match. // // - Dictionary: at least one of the tokens in the finding matches // - Regex: substring of the finding matches // - Exclude info type: intersects with affecting info types findings MatchingType_MATCHING_TYPE_PARTIAL_MATCH MatchingType = 2 // Inverse match. // // - Dictionary: no tokens in the finding match the dictionary // - Regex: finding doesn't match the regex // - Exclude info type: no intersection with affecting info types findings MatchingType_MATCHING_TYPE_INVERSE_MATCH MatchingType = 3 )
func (MatchingType) Descriptor ¶
func (MatchingType) Descriptor() protoreflect.EnumDescriptor
func (MatchingType) Enum ¶
func (x MatchingType) Enum() *MatchingType
func (MatchingType) EnumDescriptor
deprecated
func (MatchingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchingType.Descriptor instead.
func (MatchingType) Number ¶
func (x MatchingType) Number() protoreflect.EnumNumber
func (MatchingType) String ¶
func (x MatchingType) String() string
func (MatchingType) Type ¶
func (MatchingType) Type() protoreflect.EnumType
type MetadataLocation ¶
type MetadataLocation struct { // Type of metadata containing the finding. Type MetadataType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.MetadataType" json:"type,omitempty"` // Label of the piece of metadata containing the finding, for example - // latitude, author, caption. // // Types that are assignable to Label: // // *MetadataLocation_StorageLabel Label isMetadataLocation_Label `protobuf_oneof:"label"` // contains filtered or unexported fields }
Metadata Location
func (*MetadataLocation) Descriptor
deprecated
func (*MetadataLocation) Descriptor() ([]byte, []int)
Deprecated: Use MetadataLocation.ProtoReflect.Descriptor instead.
func (*MetadataLocation) GetLabel ¶
func (m *MetadataLocation) GetLabel() isMetadataLocation_Label
func (*MetadataLocation) GetStorageLabel ¶
func (x *MetadataLocation) GetStorageLabel() *StorageMetadataLabel
func (*MetadataLocation) GetType ¶
func (x *MetadataLocation) GetType() MetadataType
func (*MetadataLocation) ProtoMessage ¶
func (*MetadataLocation) ProtoMessage()
func (*MetadataLocation) ProtoReflect ¶
func (x *MetadataLocation) ProtoReflect() protoreflect.Message
func (*MetadataLocation) Reset ¶
func (x *MetadataLocation) Reset()
func (*MetadataLocation) String ¶
func (x *MetadataLocation) String() string
type MetadataLocation_StorageLabel ¶
type MetadataLocation_StorageLabel struct { // Storage metadata. StorageLabel *StorageMetadataLabel `protobuf:"bytes,3,opt,name=storage_label,json=storageLabel,proto3,oneof"` }
type MetadataType ¶
type MetadataType int32
Type of metadata containing the finding.
const ( // Unused MetadataType_METADATATYPE_UNSPECIFIED MetadataType = 0 // General file metadata provided by Cloud Storage. MetadataType_STORAGE_METADATA MetadataType = 2 )
func (MetadataType) Descriptor ¶
func (MetadataType) Descriptor() protoreflect.EnumDescriptor
func (MetadataType) Enum ¶
func (x MetadataType) Enum() *MetadataType
func (MetadataType) EnumDescriptor
deprecated
func (MetadataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetadataType.Descriptor instead.
func (MetadataType) Number ¶
func (x MetadataType) Number() protoreflect.EnumNumber
func (MetadataType) String ¶
func (x MetadataType) String() string
func (MetadataType) Type ¶
func (MetadataType) Type() protoreflect.EnumType
type NullPercentageLevel ¶ added in v1.11.0
type NullPercentageLevel int32
Bucketized nullness percentage levels. A higher level means a higher percentage of the column is null.
const ( // Unused. NullPercentageLevel_NULL_PERCENTAGE_LEVEL_UNSPECIFIED NullPercentageLevel = 0 // Very few null entries. NullPercentageLevel_NULL_PERCENTAGE_VERY_LOW NullPercentageLevel = 1 // Some null entries. NullPercentageLevel_NULL_PERCENTAGE_LOW NullPercentageLevel = 2 // A few null entries. NullPercentageLevel_NULL_PERCENTAGE_MEDIUM NullPercentageLevel = 3 // A lot of null entries. NullPercentageLevel_NULL_PERCENTAGE_HIGH NullPercentageLevel = 4 )
func (NullPercentageLevel) Descriptor ¶ added in v1.11.0
func (NullPercentageLevel) Descriptor() protoreflect.EnumDescriptor
func (NullPercentageLevel) Enum ¶ added in v1.11.0
func (x NullPercentageLevel) Enum() *NullPercentageLevel
func (NullPercentageLevel) EnumDescriptor
deprecated
added in
v1.11.0
func (NullPercentageLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use NullPercentageLevel.Descriptor instead.
func (NullPercentageLevel) Number ¶ added in v1.11.0
func (x NullPercentageLevel) Number() protoreflect.EnumNumber
func (NullPercentageLevel) String ¶ added in v1.11.0
func (x NullPercentageLevel) String() string
func (NullPercentageLevel) Type ¶ added in v1.11.0
func (NullPercentageLevel) Type() protoreflect.EnumType
type OtherInfoTypeSummary ¶
type OtherInfoTypeSummary struct { // The other infoType. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Approximate percentage of non-null rows that contained data detected by // this infotype. EstimatedPrevalence int32 `protobuf:"varint,2,opt,name=estimated_prevalence,json=estimatedPrevalence,proto3" json:"estimated_prevalence,omitempty"` // Whether this infoType was excluded from sensitivity and risk analysis due // to factors such as low prevalence (subject to change). ExcludedFromAnalysis bool `protobuf:"varint,3,opt,name=excluded_from_analysis,json=excludedFromAnalysis,proto3" json:"excluded_from_analysis,omitempty"` // contains filtered or unexported fields }
Infotype details for other infoTypes found within a column.
func (*OtherInfoTypeSummary) Descriptor
deprecated
func (*OtherInfoTypeSummary) Descriptor() ([]byte, []int)
Deprecated: Use OtherInfoTypeSummary.ProtoReflect.Descriptor instead.
func (*OtherInfoTypeSummary) GetEstimatedPrevalence ¶
func (x *OtherInfoTypeSummary) GetEstimatedPrevalence() int32
func (*OtherInfoTypeSummary) GetExcludedFromAnalysis ¶ added in v1.11.0
func (x *OtherInfoTypeSummary) GetExcludedFromAnalysis() bool
func (*OtherInfoTypeSummary) GetInfoType ¶
func (x *OtherInfoTypeSummary) GetInfoType() *InfoType
func (*OtherInfoTypeSummary) ProtoMessage ¶
func (*OtherInfoTypeSummary) ProtoMessage()
func (*OtherInfoTypeSummary) ProtoReflect ¶
func (x *OtherInfoTypeSummary) ProtoReflect() protoreflect.Message
func (*OtherInfoTypeSummary) Reset ¶
func (x *OtherInfoTypeSummary) Reset()
func (*OtherInfoTypeSummary) String ¶
func (x *OtherInfoTypeSummary) String() string
type OutputStorageConfig ¶
type OutputStorageConfig struct { // Output storage types. // // Types that are assignable to Type: // // *OutputStorageConfig_Table Type isOutputStorageConfig_Type `protobuf_oneof:"type"` // Schema used for writing the findings for Inspect jobs. This field is only // used for Inspect and must be unspecified for Risk jobs. Columns are derived // from the `Finding` object. If appending to an existing table, any columns // from the predefined schema that are missing will be added. No columns in // the existing table will be deleted. // // If unspecified, then all available columns will be used for a new table or // an (existing) table with no schema, and no changes will be made to an // existing table that has a schema. // Only for use with external storage. OutputSchema OutputStorageConfig_OutputSchema `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
Cloud repository for storing output.
func (*OutputStorageConfig) Descriptor
deprecated
func (*OutputStorageConfig) Descriptor() ([]byte, []int)
Deprecated: Use OutputStorageConfig.ProtoReflect.Descriptor instead.
func (*OutputStorageConfig) GetOutputSchema ¶
func (x *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema
func (*OutputStorageConfig) GetTable ¶
func (x *OutputStorageConfig) GetTable() *BigQueryTable
func (*OutputStorageConfig) GetType ¶
func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type
func (*OutputStorageConfig) ProtoMessage ¶
func (*OutputStorageConfig) ProtoMessage()
func (*OutputStorageConfig) ProtoReflect ¶
func (x *OutputStorageConfig) ProtoReflect() protoreflect.Message
func (*OutputStorageConfig) Reset ¶
func (x *OutputStorageConfig) Reset()
func (*OutputStorageConfig) String ¶
func (x *OutputStorageConfig) String() string
type OutputStorageConfig_OutputSchema ¶
type OutputStorageConfig_OutputSchema int32
Predefined schemas for storing findings. Only for use with external storage.
const ( // Unused. OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED OutputStorageConfig_OutputSchema = 0 // Basic schema including only `info_type`, `quote`, `certainty`, and // `timestamp`. OutputStorageConfig_BASIC_COLUMNS OutputStorageConfig_OutputSchema = 1 // Schema tailored to findings from scanning Cloud Storage. OutputStorageConfig_GCS_COLUMNS OutputStorageConfig_OutputSchema = 2 // Schema tailored to findings from scanning Google Datastore. OutputStorageConfig_DATASTORE_COLUMNS OutputStorageConfig_OutputSchema = 3 // Schema tailored to findings from scanning Google BigQuery. OutputStorageConfig_BIG_QUERY_COLUMNS OutputStorageConfig_OutputSchema = 4 // Schema containing all columns. OutputStorageConfig_ALL_COLUMNS OutputStorageConfig_OutputSchema = 5 )
func (OutputStorageConfig_OutputSchema) Descriptor ¶
func (OutputStorageConfig_OutputSchema) Descriptor() protoreflect.EnumDescriptor
func (OutputStorageConfig_OutputSchema) Enum ¶
func (x OutputStorageConfig_OutputSchema) Enum() *OutputStorageConfig_OutputSchema
func (OutputStorageConfig_OutputSchema) EnumDescriptor
deprecated
func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutputStorageConfig_OutputSchema.Descriptor instead.
func (OutputStorageConfig_OutputSchema) Number ¶
func (x OutputStorageConfig_OutputSchema) Number() protoreflect.EnumNumber
func (OutputStorageConfig_OutputSchema) String ¶
func (x OutputStorageConfig_OutputSchema) String() string
func (OutputStorageConfig_OutputSchema) Type ¶
func (OutputStorageConfig_OutputSchema) Type() protoreflect.EnumType
type OutputStorageConfig_Table ¶
type OutputStorageConfig_Table struct { // Store findings in an existing table or a new table in an existing // dataset. If table_id is not set a new one will be generated // for you with the following format: // dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used // for generating the date details. // // For Inspect, each column in an existing output table must have the same // name, type, and mode of a field in the `Finding` object. // // For Risk, an existing output table should be the output of a previous // Risk analysis job run on the same source table, with the same privacy // metric and quasi-identifiers. Risk jobs that analyze the same table but // compute a different privacy metric, or use different sets of // quasi-identifiers, cannot store their results in the same table. Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3,oneof"` }
type PartitionId ¶
type PartitionId struct { // The ID of the project to which the entities belong. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // If not empty, the ID of the namespace to which the entities belong. NamespaceId string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.
A partition ID contains several dimensions: project ID and namespace ID.
func (*PartitionId) Descriptor
deprecated
func (*PartitionId) Descriptor() ([]byte, []int)
Deprecated: Use PartitionId.ProtoReflect.Descriptor instead.
func (*PartitionId) GetNamespaceId ¶
func (x *PartitionId) GetNamespaceId() string
func (*PartitionId) GetProjectId ¶
func (x *PartitionId) GetProjectId() string
func (*PartitionId) ProtoMessage ¶
func (*PartitionId) ProtoMessage()
func (*PartitionId) ProtoReflect ¶
func (x *PartitionId) ProtoReflect() protoreflect.Message
func (*PartitionId) Reset ¶
func (x *PartitionId) Reset()
func (*PartitionId) String ¶
func (x *PartitionId) String() string
type PrimitiveTransformation ¶
type PrimitiveTransformation struct { // Type of transformation. // // Types that are assignable to Transformation: // // *PrimitiveTransformation_ReplaceConfig // *PrimitiveTransformation_RedactConfig // *PrimitiveTransformation_CharacterMaskConfig // *PrimitiveTransformation_CryptoReplaceFfxFpeConfig // *PrimitiveTransformation_FixedSizeBucketingConfig // *PrimitiveTransformation_BucketingConfig // *PrimitiveTransformation_ReplaceWithInfoTypeConfig // *PrimitiveTransformation_TimePartConfig // *PrimitiveTransformation_CryptoHashConfig // *PrimitiveTransformation_DateShiftConfig // *PrimitiveTransformation_CryptoDeterministicConfig // *PrimitiveTransformation_ReplaceDictionaryConfig Transformation isPrimitiveTransformation_Transformation `protobuf_oneof:"transformation"` // contains filtered or unexported fields }
A rule for transforming a value.
func (*PrimitiveTransformation) Descriptor
deprecated
func (*PrimitiveTransformation) Descriptor() ([]byte, []int)
Deprecated: Use PrimitiveTransformation.ProtoReflect.Descriptor instead.
func (*PrimitiveTransformation) GetBucketingConfig ¶
func (x *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig
func (*PrimitiveTransformation) GetCharacterMaskConfig ¶
func (x *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig
func (*PrimitiveTransformation) GetCryptoDeterministicConfig ¶
func (x *PrimitiveTransformation) GetCryptoDeterministicConfig() *CryptoDeterministicConfig
func (*PrimitiveTransformation) GetCryptoHashConfig ¶
func (x *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig
func (*PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig ¶
func (x *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig
func (*PrimitiveTransformation) GetDateShiftConfig ¶
func (x *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig
func (*PrimitiveTransformation) GetFixedSizeBucketingConfig ¶
func (x *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig
func (*PrimitiveTransformation) GetRedactConfig ¶
func (x *PrimitiveTransformation) GetRedactConfig() *RedactConfig
func (*PrimitiveTransformation) GetReplaceConfig ¶
func (x *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig
func (*PrimitiveTransformation) GetReplaceDictionaryConfig ¶
func (x *PrimitiveTransformation) GetReplaceDictionaryConfig() *ReplaceDictionaryConfig
func (*PrimitiveTransformation) GetReplaceWithInfoTypeConfig ¶
func (x *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig
func (*PrimitiveTransformation) GetTimePartConfig ¶
func (x *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig
func (*PrimitiveTransformation) GetTransformation ¶
func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation
func (*PrimitiveTransformation) ProtoMessage ¶
func (*PrimitiveTransformation) ProtoMessage()
func (*PrimitiveTransformation) ProtoReflect ¶
func (x *PrimitiveTransformation) ProtoReflect() protoreflect.Message
func (*PrimitiveTransformation) Reset ¶
func (x *PrimitiveTransformation) Reset()
func (*PrimitiveTransformation) String ¶
func (x *PrimitiveTransformation) String() string
type PrimitiveTransformation_BucketingConfig ¶
type PrimitiveTransformation_BucketingConfig struct { // Bucketing BucketingConfig *BucketingConfig `protobuf:"bytes,6,opt,name=bucketing_config,json=bucketingConfig,proto3,oneof"` }
type PrimitiveTransformation_CharacterMaskConfig ¶
type PrimitiveTransformation_CharacterMaskConfig struct { // Mask CharacterMaskConfig *CharacterMaskConfig `protobuf:"bytes,3,opt,name=character_mask_config,json=characterMaskConfig,proto3,oneof"` }
type PrimitiveTransformation_CryptoDeterministicConfig ¶
type PrimitiveTransformation_CryptoDeterministicConfig struct { // Deterministic Crypto CryptoDeterministicConfig *CryptoDeterministicConfig `protobuf:"bytes,12,opt,name=crypto_deterministic_config,json=cryptoDeterministicConfig,proto3,oneof"` }
type PrimitiveTransformation_CryptoHashConfig ¶
type PrimitiveTransformation_CryptoHashConfig struct { // Crypto CryptoHashConfig *CryptoHashConfig `protobuf:"bytes,9,opt,name=crypto_hash_config,json=cryptoHashConfig,proto3,oneof"` }
type PrimitiveTransformation_CryptoReplaceFfxFpeConfig ¶
type PrimitiveTransformation_CryptoReplaceFfxFpeConfig struct { // Ffx-Fpe CryptoReplaceFfxFpeConfig *CryptoReplaceFfxFpeConfig `protobuf:"bytes,4,opt,name=crypto_replace_ffx_fpe_config,json=cryptoReplaceFfxFpeConfig,proto3,oneof"` }
type PrimitiveTransformation_DateShiftConfig ¶
type PrimitiveTransformation_DateShiftConfig struct { // Date Shift DateShiftConfig *DateShiftConfig `protobuf:"bytes,11,opt,name=date_shift_config,json=dateShiftConfig,proto3,oneof"` }
type PrimitiveTransformation_FixedSizeBucketingConfig ¶
type PrimitiveTransformation_FixedSizeBucketingConfig struct { // Fixed size bucketing FixedSizeBucketingConfig *FixedSizeBucketingConfig `protobuf:"bytes,5,opt,name=fixed_size_bucketing_config,json=fixedSizeBucketingConfig,proto3,oneof"` }
type PrimitiveTransformation_RedactConfig ¶
type PrimitiveTransformation_RedactConfig struct { // Redact RedactConfig *RedactConfig `protobuf:"bytes,2,opt,name=redact_config,json=redactConfig,proto3,oneof"` }
type PrimitiveTransformation_ReplaceConfig ¶
type PrimitiveTransformation_ReplaceConfig struct { // Replace with a specified value. ReplaceConfig *ReplaceValueConfig `protobuf:"bytes,1,opt,name=replace_config,json=replaceConfig,proto3,oneof"` }
type PrimitiveTransformation_ReplaceDictionaryConfig ¶
type PrimitiveTransformation_ReplaceDictionaryConfig struct { // Replace with a value randomly drawn (with replacement) from a dictionary. ReplaceDictionaryConfig *ReplaceDictionaryConfig `protobuf:"bytes,13,opt,name=replace_dictionary_config,json=replaceDictionaryConfig,proto3,oneof"` }
type PrimitiveTransformation_ReplaceWithInfoTypeConfig ¶
type PrimitiveTransformation_ReplaceWithInfoTypeConfig struct { // Replace with infotype ReplaceWithInfoTypeConfig *ReplaceWithInfoTypeConfig `protobuf:"bytes,7,opt,name=replace_with_info_type_config,json=replaceWithInfoTypeConfig,proto3,oneof"` }
type PrimitiveTransformation_TimePartConfig ¶
type PrimitiveTransformation_TimePartConfig struct { // Time extraction TimePartConfig *TimePartConfig `protobuf:"bytes,8,opt,name=time_part_config,json=timePartConfig,proto3,oneof"` }
type PrivacyMetric ¶
type PrivacyMetric struct { // Types of analysis. // // Types that are assignable to Type: // // *PrivacyMetric_NumericalStatsConfig_ // *PrivacyMetric_CategoricalStatsConfig_ // *PrivacyMetric_KAnonymityConfig_ // *PrivacyMetric_LDiversityConfig_ // *PrivacyMetric_KMapEstimationConfig_ // *PrivacyMetric_DeltaPresenceEstimationConfig_ Type isPrivacyMetric_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Privacy metric to compute for reidentification risk analysis.
func (*PrivacyMetric) Descriptor
deprecated
func (*PrivacyMetric) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric.ProtoReflect.Descriptor instead.
func (*PrivacyMetric) GetCategoricalStatsConfig ¶
func (x *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig
func (*PrivacyMetric) GetDeltaPresenceEstimationConfig ¶
func (x *PrivacyMetric) GetDeltaPresenceEstimationConfig() *PrivacyMetric_DeltaPresenceEstimationConfig
func (*PrivacyMetric) GetKAnonymityConfig ¶
func (x *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig
func (*PrivacyMetric) GetKMapEstimationConfig ¶
func (x *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig
func (*PrivacyMetric) GetLDiversityConfig ¶
func (x *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig
func (*PrivacyMetric) GetNumericalStatsConfig ¶
func (x *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig
func (*PrivacyMetric) GetType ¶
func (m *PrivacyMetric) GetType() isPrivacyMetric_Type
func (*PrivacyMetric) ProtoMessage ¶
func (*PrivacyMetric) ProtoMessage()
func (*PrivacyMetric) ProtoReflect ¶
func (x *PrivacyMetric) ProtoReflect() protoreflect.Message
func (*PrivacyMetric) Reset ¶
func (x *PrivacyMetric) Reset()
func (*PrivacyMetric) String ¶
func (x *PrivacyMetric) String() string
type PrivacyMetric_CategoricalStatsConfig ¶
type PrivacyMetric_CategoricalStatsConfig struct { // Field to compute categorical stats on. All column types are // supported except for arrays and structs. However, it may be more // informative to use NumericalStats when the field type is supported, // depending on the data. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
Compute numerical stats over an individual column, including number of distinct values and value count distribution.
func (*PrivacyMetric_CategoricalStatsConfig) Descriptor
deprecated
func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_CategoricalStatsConfig.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_CategoricalStatsConfig) GetField ¶
func (x *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId
func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage ¶
func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage()
func (*PrivacyMetric_CategoricalStatsConfig) ProtoReflect ¶
func (x *PrivacyMetric_CategoricalStatsConfig) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_CategoricalStatsConfig) Reset ¶
func (x *PrivacyMetric_CategoricalStatsConfig) Reset()
func (*PrivacyMetric_CategoricalStatsConfig) String ¶
func (x *PrivacyMetric_CategoricalStatsConfig) String() string
type PrivacyMetric_CategoricalStatsConfig_ ¶
type PrivacyMetric_CategoricalStatsConfig_ struct { // Categorical stats CategoricalStatsConfig *PrivacyMetric_CategoricalStatsConfig `protobuf:"bytes,2,opt,name=categorical_stats_config,json=categoricalStatsConfig,proto3,oneof"` }
type PrivacyMetric_DeltaPresenceEstimationConfig ¶
type PrivacyMetric_DeltaPresenceEstimationConfig struct { // Required. Fields considered to be quasi-identifiers. No two fields can // have the same tag. QuasiIds []*QuasiId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // ISO 3166-1 alpha-2 region code to use in the statistical modeling. // Set if no column is tagged with a region-specific InfoType (like // US_ZIP_5) or a region code. RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // Several auxiliary tables can be used in the analysis. Each custom_tag // used to tag a quasi-identifiers field must appear in exactly one // field of one auxiliary table. AuxiliaryTables []*StatisticalTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"` // contains filtered or unexported fields }
δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.
func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor
deprecated
func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_DeltaPresenceEstimationConfig.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables ¶
func (x *PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables() []*StatisticalTable
func (*PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds ¶
func (x *PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds() []*QuasiId
func (*PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode ¶
func (x *PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode() string
func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage ¶
func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage()
func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoReflect ¶
func (x *PrivacyMetric_DeltaPresenceEstimationConfig) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_DeltaPresenceEstimationConfig) Reset ¶
func (x *PrivacyMetric_DeltaPresenceEstimationConfig) Reset()
func (*PrivacyMetric_DeltaPresenceEstimationConfig) String ¶
func (x *PrivacyMetric_DeltaPresenceEstimationConfig) String() string
type PrivacyMetric_DeltaPresenceEstimationConfig_ ¶
type PrivacyMetric_DeltaPresenceEstimationConfig_ struct { // delta-presence DeltaPresenceEstimationConfig *PrivacyMetric_DeltaPresenceEstimationConfig `protobuf:"bytes,6,opt,name=delta_presence_estimation_config,json=deltaPresenceEstimationConfig,proto3,oneof"` }
type PrivacyMetric_KAnonymityConfig ¶
type PrivacyMetric_KAnonymityConfig struct { // Set of fields to compute k-anonymity over. When multiple fields are // specified, they are considered a single composite key. Structs and // repeated data types are not supported; however, nested fields are // supported so long as they are not structs themselves or nested within // a repeated field. QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // Message indicating that multiple rows might be associated to a // single individual. If the same entity_id is associated to multiple // quasi-identifier tuples over distinct rows, we consider the entire // collection of tuples as the composite quasi-identifier. This collection // is a multiset: the order in which the different tuples appear in the // dataset is ignored, but their frequency is taken into account. // // Important note: a maximum of 1000 rows can be associated to a single // entity ID. If more rows are associated with the same entity ID, some // might be ignored. EntityId *EntityId `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // contains filtered or unexported fields }
k-anonymity metric, used for analysis of reidentification risk.
func (*PrivacyMetric_KAnonymityConfig) Descriptor
deprecated
func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_KAnonymityConfig.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_KAnonymityConfig) GetEntityId ¶
func (x *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId
func (*PrivacyMetric_KAnonymityConfig) GetQuasiIds ¶
func (x *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId
func (*PrivacyMetric_KAnonymityConfig) ProtoMessage ¶
func (*PrivacyMetric_KAnonymityConfig) ProtoMessage()
func (*PrivacyMetric_KAnonymityConfig) ProtoReflect ¶
func (x *PrivacyMetric_KAnonymityConfig) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_KAnonymityConfig) Reset ¶
func (x *PrivacyMetric_KAnonymityConfig) Reset()
func (*PrivacyMetric_KAnonymityConfig) String ¶
func (x *PrivacyMetric_KAnonymityConfig) String() string
type PrivacyMetric_KAnonymityConfig_ ¶
type PrivacyMetric_KAnonymityConfig_ struct { // K-anonymity KAnonymityConfig *PrivacyMetric_KAnonymityConfig `protobuf:"bytes,3,opt,name=k_anonymity_config,json=kAnonymityConfig,proto3,oneof"` }
type PrivacyMetric_KMapEstimationConfig ¶
type PrivacyMetric_KMapEstimationConfig struct { // Required. Fields considered to be quasi-identifiers. No two columns can // have the same tag. QuasiIds []*PrivacyMetric_KMapEstimationConfig_TaggedField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // ISO 3166-1 alpha-2 region code to use in the statistical modeling. // Set if no column is tagged with a region-specific InfoType (like // US_ZIP_5) or a region code. RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // Several auxiliary tables can be used in the analysis. Each custom_tag // used to tag a quasi-identifiers column must appear in exactly one column // of one auxiliary table. AuxiliaryTables []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"` // contains filtered or unexported fields }
Reidentifiability metric. This corresponds to a risk model similar to what is called "journalist risk" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.
func (*PrivacyMetric_KMapEstimationConfig) Descriptor
deprecated
func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_KMapEstimationConfig.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables ¶
func (x *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable
func (*PrivacyMetric_KMapEstimationConfig) GetQuasiIds ¶
func (x *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField
func (*PrivacyMetric_KMapEstimationConfig) GetRegionCode ¶
func (x *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string
func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig) ProtoReflect ¶
func (x *PrivacyMetric_KMapEstimationConfig) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_KMapEstimationConfig) Reset ¶
func (x *PrivacyMetric_KMapEstimationConfig) Reset()
func (*PrivacyMetric_KMapEstimationConfig) String ¶
func (x *PrivacyMetric_KMapEstimationConfig) String() string
type PrivacyMetric_KMapEstimationConfig_ ¶
type PrivacyMetric_KMapEstimationConfig_ struct { // k-map KMapEstimationConfig *PrivacyMetric_KMapEstimationConfig `protobuf:"bytes,5,opt,name=k_map_estimation_config,json=kMapEstimationConfig,proto3,oneof"` }
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable ¶
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct { // Required. Auxiliary table location. Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Required. Quasi-identifier columns. QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // Required. The relative frequency column must contain a floating-point // number between 0 and 1 (inclusive). Null values are assumed to be zero. RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"` // contains filtered or unexported fields }
An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor
deprecated
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoReflect ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField ¶
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct { // Identifies the column. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // A auxiliary field. CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"` // contains filtered or unexported fields }
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor
deprecated
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoReflect ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String ¶
func (x *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string
type PrivacyMetric_KMapEstimationConfig_TaggedField ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField struct { // Required. Identifies the column. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Semantic tag that identifies what a column contains, to determine which // statistical model to use to estimate the reidentifiability of each // value. [required] // // Types that are assignable to Tag: // // *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType // *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag // *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred Tag isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag `protobuf_oneof:"tag"` // contains filtered or unexported fields }
A column with a semantic tag attached.
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor
deprecated
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_KMapEstimationConfig_TaggedField.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetField ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *emptypb.Empty
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag ¶
func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoReflect ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Reset ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset()
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) String ¶
func (x *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string
type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct { // A column can be tagged with a custom tag. In this case, the user must // indicate an auxiliary table that contains statistical information on // the possible values of this column (below). CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` }
type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct { // A column can be tagged with a InfoType to use the relevant public // dataset as a statistical model of population, if available. We // currently support US ZIP codes, region codes, ages and genders. // To programmatically obtain the list of supported InfoTypes, use // ListInfoTypes with the supported_by=RISK_ANALYSIS filter. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` }
type PrivacyMetric_LDiversityConfig ¶
type PrivacyMetric_LDiversityConfig struct { // Set of quasi-identifiers indicating how equivalence classes are // defined for the l-diversity computation. When multiple fields are // specified, they are considered a single composite key. QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // Sensitive field for computing the l-value. SensitiveAttribute *FieldId `protobuf:"bytes,2,opt,name=sensitive_attribute,json=sensitiveAttribute,proto3" json:"sensitive_attribute,omitempty"` // contains filtered or unexported fields }
l-diversity metric, used for analysis of reidentification risk.
func (*PrivacyMetric_LDiversityConfig) Descriptor
deprecated
func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_LDiversityConfig.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_LDiversityConfig) GetQuasiIds ¶
func (x *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId
func (*PrivacyMetric_LDiversityConfig) GetSensitiveAttribute ¶
func (x *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId
func (*PrivacyMetric_LDiversityConfig) ProtoMessage ¶
func (*PrivacyMetric_LDiversityConfig) ProtoMessage()
func (*PrivacyMetric_LDiversityConfig) ProtoReflect ¶
func (x *PrivacyMetric_LDiversityConfig) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_LDiversityConfig) Reset ¶
func (x *PrivacyMetric_LDiversityConfig) Reset()
func (*PrivacyMetric_LDiversityConfig) String ¶
func (x *PrivacyMetric_LDiversityConfig) String() string
type PrivacyMetric_LDiversityConfig_ ¶
type PrivacyMetric_LDiversityConfig_ struct { // l-diversity LDiversityConfig *PrivacyMetric_LDiversityConfig `protobuf:"bytes,4,opt,name=l_diversity_config,json=lDiversityConfig,proto3,oneof"` }
type PrivacyMetric_NumericalStatsConfig ¶
type PrivacyMetric_NumericalStatsConfig struct { // Field to compute numerical stats on. Supported types are // integer, float, date, datetime, timestamp, time. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
Compute numerical stats over an individual column, including min, max, and quantiles.
func (*PrivacyMetric_NumericalStatsConfig) Descriptor
deprecated
func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyMetric_NumericalStatsConfig.ProtoReflect.Descriptor instead.
func (*PrivacyMetric_NumericalStatsConfig) GetField ¶
func (x *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId
func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage ¶
func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage()
func (*PrivacyMetric_NumericalStatsConfig) ProtoReflect ¶
func (x *PrivacyMetric_NumericalStatsConfig) ProtoReflect() protoreflect.Message
func (*PrivacyMetric_NumericalStatsConfig) Reset ¶
func (x *PrivacyMetric_NumericalStatsConfig) Reset()
func (*PrivacyMetric_NumericalStatsConfig) String ¶
func (x *PrivacyMetric_NumericalStatsConfig) String() string
type PrivacyMetric_NumericalStatsConfig_ ¶
type PrivacyMetric_NumericalStatsConfig_ struct { // Numerical stats NumericalStatsConfig *PrivacyMetric_NumericalStatsConfig `protobuf:"bytes,1,opt,name=numerical_stats_config,json=numericalStatsConfig,proto3,oneof"` }
type ProfileStatus ¶
type ProfileStatus struct { // Profiling status code and optional message. The `status.code` value is 0 // (default value) for OK. Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Time when the profile generation status was updated Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Success or errors for the profile generation.
func (*ProfileStatus) Descriptor
deprecated
func (*ProfileStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProfileStatus.ProtoReflect.Descriptor instead.
func (*ProfileStatus) GetStatus ¶
func (x *ProfileStatus) GetStatus() *status.Status
func (*ProfileStatus) GetTimestamp ¶
func (x *ProfileStatus) GetTimestamp() *timestamppb.Timestamp
func (*ProfileStatus) ProtoMessage ¶
func (*ProfileStatus) ProtoMessage()
func (*ProfileStatus) ProtoReflect ¶
func (x *ProfileStatus) ProtoReflect() protoreflect.Message
func (*ProfileStatus) Reset ¶
func (x *ProfileStatus) Reset()
func (*ProfileStatus) String ¶
func (x *ProfileStatus) String() string
type ProjectDataProfile ¶ added in v1.12.0
type ProjectDataProfile struct { // The resource name of the profile. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Project ID that was profiled. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The last time the profile was generated. ProfileLastGenerated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=profile_last_generated,json=profileLastGenerated,proto3" json:"profile_last_generated,omitempty"` // The sensitivity score of this project. SensitivityScore *SensitivityScore `protobuf:"bytes,4,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"` // The data risk level of this project. DataRiskLevel *DataRiskLevel `protobuf:"bytes,5,opt,name=data_risk_level,json=dataRiskLevel,proto3" json:"data_risk_level,omitempty"` // Success or error status of the last attempt to profile the project. ProfileStatus *ProfileStatus `protobuf:"bytes,7,opt,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"` // contains filtered or unexported fields }
An aggregated profile for this project, based on the resources profiled within it.
func (*ProjectDataProfile) Descriptor
deprecated
added in
v1.12.0
func (*ProjectDataProfile) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDataProfile.ProtoReflect.Descriptor instead.
func (*ProjectDataProfile) GetDataRiskLevel ¶ added in v1.12.0
func (x *ProjectDataProfile) GetDataRiskLevel() *DataRiskLevel
func (*ProjectDataProfile) GetName ¶ added in v1.12.0
func (x *ProjectDataProfile) GetName() string
func (*ProjectDataProfile) GetProfileLastGenerated ¶ added in v1.12.0
func (x *ProjectDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp
func (*ProjectDataProfile) GetProfileStatus ¶ added in v1.12.0
func (x *ProjectDataProfile) GetProfileStatus() *ProfileStatus
func (*ProjectDataProfile) GetProjectId ¶ added in v1.12.0
func (x *ProjectDataProfile) GetProjectId() string
func (*ProjectDataProfile) GetSensitivityScore ¶ added in v1.12.0
func (x *ProjectDataProfile) GetSensitivityScore() *SensitivityScore
func (*ProjectDataProfile) ProtoMessage ¶ added in v1.12.0
func (*ProjectDataProfile) ProtoMessage()
func (*ProjectDataProfile) ProtoReflect ¶ added in v1.12.0
func (x *ProjectDataProfile) ProtoReflect() protoreflect.Message
func (*ProjectDataProfile) Reset ¶ added in v1.12.0
func (x *ProjectDataProfile) Reset()
func (*ProjectDataProfile) String ¶ added in v1.12.0
func (x *ProjectDataProfile) String() string
type QuasiId ¶
type QuasiId struct { // Required. Identifies the column. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Semantic tag that identifies what a column contains, to determine which // statistical model to use to estimate the reidentifiability of each // value. [required] // // Types that are assignable to Tag: // // *QuasiId_InfoType // *QuasiId_CustomTag // *QuasiId_Inferred Tag isQuasiId_Tag `protobuf_oneof:"tag"` // contains filtered or unexported fields }
A column with a semantic tag attached.
func (*QuasiId) Descriptor
deprecated
func (*QuasiId) GetCustomTag ¶
func (*QuasiId) GetInferred ¶
func (*QuasiId) GetInfoType ¶
func (*QuasiId) ProtoMessage ¶
func (*QuasiId) ProtoMessage()
func (*QuasiId) ProtoReflect ¶
func (x *QuasiId) ProtoReflect() protoreflect.Message
type QuasiId_CustomTag ¶
type QuasiId_CustomTag struct { // A column can be tagged with a custom tag. In this case, the user must // indicate an auxiliary table that contains statistical information on // the possible values of this column (below). CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` }
type QuasiId_Inferred ¶
type QuasiId_InfoType ¶
type QuasiId_InfoType struct { // A column can be tagged with a InfoType to use the relevant public // dataset as a statistical model of population, if available. We // currently support US ZIP codes, region codes, ages and genders. // To programmatically obtain the list of supported InfoTypes, use // ListInfoTypes with the supported_by=RISK_ANALYSIS filter. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` }
type QuoteInfo ¶
type QuoteInfo struct { // Object representation of the quote. // // Types that are assignable to ParsedQuote: // // *QuoteInfo_DateTime ParsedQuote isQuoteInfo_ParsedQuote `protobuf_oneof:"parsed_quote"` // contains filtered or unexported fields }
Message for infoType-dependent details parsed from quote.
func (*QuoteInfo) Descriptor
deprecated
func (*QuoteInfo) GetDateTime ¶
func (*QuoteInfo) GetParsedQuote ¶
func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote
func (*QuoteInfo) ProtoMessage ¶
func (*QuoteInfo) ProtoMessage()
func (*QuoteInfo) ProtoReflect ¶
func (x *QuoteInfo) ProtoReflect() protoreflect.Message
type QuoteInfo_DateTime ¶
type QuoteInfo_DateTime struct { // The date time indicated by the quote. DateTime *DateTime `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3,oneof"` }
type Range ¶
type Range struct { // Index of the first character of the range (inclusive). Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // Index of the last character of the range (exclusive). End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
Generic half-open interval [start, end)
func (*Range) Descriptor
deprecated
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type RecordCondition ¶
type RecordCondition struct { // An expression. Expressions *RecordCondition_Expressions `protobuf:"bytes,3,opt,name=expressions,proto3" json:"expressions,omitempty"` // contains filtered or unexported fields }
A condition for determining whether a transformation should be applied to a field.
func (*RecordCondition) Descriptor
deprecated
func (*RecordCondition) Descriptor() ([]byte, []int)
Deprecated: Use RecordCondition.ProtoReflect.Descriptor instead.
func (*RecordCondition) GetExpressions ¶
func (x *RecordCondition) GetExpressions() *RecordCondition_Expressions
func (*RecordCondition) ProtoMessage ¶
func (*RecordCondition) ProtoMessage()
func (*RecordCondition) ProtoReflect ¶
func (x *RecordCondition) ProtoReflect() protoreflect.Message
func (*RecordCondition) Reset ¶
func (x *RecordCondition) Reset()
func (*RecordCondition) String ¶
func (x *RecordCondition) String() string
type RecordCondition_Condition ¶
type RecordCondition_Condition struct { // Required. Field within the record this condition is evaluated against. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Required. Operator used to compare the field or infoType to the value. Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=google.privacy.dlp.v2.RelationalOperator" json:"operator,omitempty"` // Value to compare against. [Mandatory, except for `EXISTS` tests.] Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A `value` of type:
- `string` can be compared against all other types - `boolean` can only be compared against other booleans - `integer` can be compared against doubles or a string if the string value can be parsed as an integer. - `double` can be compared against integers or a string if the string can be parsed as a double. - `Timestamp` can be compared against strings in RFC 3339 date string format. - `TimeOfDay` can be compared against timestamps and strings in the format of 'HH:mm:ss'.
If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.
func (*RecordCondition_Condition) Descriptor
deprecated
func (*RecordCondition_Condition) Descriptor() ([]byte, []int)
Deprecated: Use RecordCondition_Condition.ProtoReflect.Descriptor instead.
func (*RecordCondition_Condition) GetField ¶
func (x *RecordCondition_Condition) GetField() *FieldId
func (*RecordCondition_Condition) GetOperator ¶
func (x *RecordCondition_Condition) GetOperator() RelationalOperator
func (*RecordCondition_Condition) GetValue ¶
func (x *RecordCondition_Condition) GetValue() *Value
func (*RecordCondition_Condition) ProtoMessage ¶
func (*RecordCondition_Condition) ProtoMessage()
func (*RecordCondition_Condition) ProtoReflect ¶
func (x *RecordCondition_Condition) ProtoReflect() protoreflect.Message
func (*RecordCondition_Condition) Reset ¶
func (x *RecordCondition_Condition) Reset()
func (*RecordCondition_Condition) String ¶
func (x *RecordCondition_Condition) String() string
type RecordCondition_Conditions ¶
type RecordCondition_Conditions struct { // A collection of conditions. Conditions []*RecordCondition_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
A collection of conditions.
func (*RecordCondition_Conditions) Descriptor
deprecated
func (*RecordCondition_Conditions) Descriptor() ([]byte, []int)
Deprecated: Use RecordCondition_Conditions.ProtoReflect.Descriptor instead.
func (*RecordCondition_Conditions) GetConditions ¶
func (x *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition
func (*RecordCondition_Conditions) ProtoMessage ¶
func (*RecordCondition_Conditions) ProtoMessage()
func (*RecordCondition_Conditions) ProtoReflect ¶
func (x *RecordCondition_Conditions) ProtoReflect() protoreflect.Message
func (*RecordCondition_Conditions) Reset ¶
func (x *RecordCondition_Conditions) Reset()
func (*RecordCondition_Conditions) String ¶
func (x *RecordCondition_Conditions) String() string
type RecordCondition_Expressions ¶
type RecordCondition_Expressions struct { // The operator to apply to the result of conditions. Default and currently // only supported value is `AND`. LogicalOperator RecordCondition_Expressions_LogicalOperator `` /* 178-byte string literal not displayed */ // Expression types. // // Types that are assignable to Type: // // *RecordCondition_Expressions_Conditions Type isRecordCondition_Expressions_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
An expression, consisting of an operator and conditions.
func (*RecordCondition_Expressions) Descriptor
deprecated
func (*RecordCondition_Expressions) Descriptor() ([]byte, []int)
Deprecated: Use RecordCondition_Expressions.ProtoReflect.Descriptor instead.
func (*RecordCondition_Expressions) GetConditions ¶
func (x *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions
func (*RecordCondition_Expressions) GetLogicalOperator ¶
func (x *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator
func (*RecordCondition_Expressions) GetType ¶
func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type
func (*RecordCondition_Expressions) ProtoMessage ¶
func (*RecordCondition_Expressions) ProtoMessage()
func (*RecordCondition_Expressions) ProtoReflect ¶
func (x *RecordCondition_Expressions) ProtoReflect() protoreflect.Message
func (*RecordCondition_Expressions) Reset ¶
func (x *RecordCondition_Expressions) Reset()
func (*RecordCondition_Expressions) String ¶
func (x *RecordCondition_Expressions) String() string
type RecordCondition_Expressions_Conditions ¶
type RecordCondition_Expressions_Conditions struct { // Conditions to apply to the expression. Conditions *RecordCondition_Conditions `protobuf:"bytes,3,opt,name=conditions,proto3,oneof"` }
type RecordCondition_Expressions_LogicalOperator ¶
type RecordCondition_Expressions_LogicalOperator int32
Logical operators for conditional checks.
const ( // Unused RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED RecordCondition_Expressions_LogicalOperator = 0 // Conditional AND RecordCondition_Expressions_AND RecordCondition_Expressions_LogicalOperator = 1 )
func (RecordCondition_Expressions_LogicalOperator) Descriptor ¶
func (RecordCondition_Expressions_LogicalOperator) Descriptor() protoreflect.EnumDescriptor
func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor
deprecated
func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordCondition_Expressions_LogicalOperator.Descriptor instead.
func (RecordCondition_Expressions_LogicalOperator) Number ¶
func (x RecordCondition_Expressions_LogicalOperator) Number() protoreflect.EnumNumber
func (RecordCondition_Expressions_LogicalOperator) String ¶
func (x RecordCondition_Expressions_LogicalOperator) String() string
func (RecordCondition_Expressions_LogicalOperator) Type ¶
func (RecordCondition_Expressions_LogicalOperator) Type() protoreflect.EnumType
type RecordKey ¶
type RecordKey struct { // Type of key // // Types that are assignable to Type: // // *RecordKey_DatastoreKey // *RecordKey_BigQueryKey Type isRecordKey_Type `protobuf_oneof:"type"` // Values of identifying columns in the given row. Order of values matches // the order of `identifying_fields` specified in the scanning request. IdValues []string `protobuf:"bytes,5,rep,name=id_values,json=idValues,proto3" json:"id_values,omitempty"` // contains filtered or unexported fields }
Message for a unique key indicating a record that contains a finding.
func (*RecordKey) Descriptor
deprecated
func (*RecordKey) GetBigQueryKey ¶
func (x *RecordKey) GetBigQueryKey() *BigQueryKey
func (*RecordKey) GetDatastoreKey ¶
func (x *RecordKey) GetDatastoreKey() *DatastoreKey
func (*RecordKey) GetIdValues ¶
func (*RecordKey) ProtoMessage ¶
func (*RecordKey) ProtoMessage()
func (*RecordKey) ProtoReflect ¶
func (x *RecordKey) ProtoReflect() protoreflect.Message
type RecordKey_BigQueryKey ¶
type RecordKey_BigQueryKey struct { // Datastore key BigQueryKey *BigQueryKey `protobuf:"bytes,3,opt,name=big_query_key,json=bigQueryKey,proto3,oneof"` }
type RecordKey_DatastoreKey ¶
type RecordKey_DatastoreKey struct { // BigQuery key DatastoreKey *DatastoreKey `protobuf:"bytes,2,opt,name=datastore_key,json=datastoreKey,proto3,oneof"` }
type RecordLocation ¶
type RecordLocation struct { // Key of the finding. RecordKey *RecordKey `protobuf:"bytes,1,opt,name=record_key,json=recordKey,proto3" json:"record_key,omitempty"` // Field id of the field containing the finding. FieldId *FieldId `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` // Location within a `ContentItem.Table`. TableLocation *TableLocation `protobuf:"bytes,3,opt,name=table_location,json=tableLocation,proto3" json:"table_location,omitempty"` // contains filtered or unexported fields }
Location of a finding within a row or record.
func (*RecordLocation) Descriptor
deprecated
func (*RecordLocation) Descriptor() ([]byte, []int)
Deprecated: Use RecordLocation.ProtoReflect.Descriptor instead.
func (*RecordLocation) GetFieldId ¶
func (x *RecordLocation) GetFieldId() *FieldId
func (*RecordLocation) GetRecordKey ¶
func (x *RecordLocation) GetRecordKey() *RecordKey
func (*RecordLocation) GetTableLocation ¶
func (x *RecordLocation) GetTableLocation() *TableLocation
func (*RecordLocation) ProtoMessage ¶
func (*RecordLocation) ProtoMessage()
func (*RecordLocation) ProtoReflect ¶
func (x *RecordLocation) ProtoReflect() protoreflect.Message
func (*RecordLocation) Reset ¶
func (x *RecordLocation) Reset()
func (*RecordLocation) String ¶
func (x *RecordLocation) String() string
type RecordSuppression ¶
type RecordSuppression struct { // A condition that when it evaluates to true will result in the record being // evaluated to be suppressed from the transformed content. Condition *RecordCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` // contains filtered or unexported fields }
Configuration to suppress records whose suppression conditions evaluate to true.
func (*RecordSuppression) Descriptor
deprecated
func (*RecordSuppression) Descriptor() ([]byte, []int)
Deprecated: Use RecordSuppression.ProtoReflect.Descriptor instead.
func (*RecordSuppression) GetCondition ¶
func (x *RecordSuppression) GetCondition() *RecordCondition
func (*RecordSuppression) ProtoMessage ¶
func (*RecordSuppression) ProtoMessage()
func (*RecordSuppression) ProtoReflect ¶
func (x *RecordSuppression) ProtoReflect() protoreflect.Message
func (*RecordSuppression) Reset ¶
func (x *RecordSuppression) Reset()
func (*RecordSuppression) String ¶
func (x *RecordSuppression) String() string
type RecordTransformation ¶
type RecordTransformation struct { // For record transformations, provide a field. FieldId *FieldId `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` // Findings container modification timestamp, if applicable. ContainerTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"` // Container version, if available ("generation" for Cloud Storage). ContainerVersion string `protobuf:"bytes,3,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"` // contains filtered or unexported fields }
The field in a record to transform.
func (*RecordTransformation) Descriptor
deprecated
func (*RecordTransformation) Descriptor() ([]byte, []int)
Deprecated: Use RecordTransformation.ProtoReflect.Descriptor instead.
func (*RecordTransformation) GetContainerTimestamp ¶
func (x *RecordTransformation) GetContainerTimestamp() *timestamppb.Timestamp
func (*RecordTransformation) GetContainerVersion ¶
func (x *RecordTransformation) GetContainerVersion() string
func (*RecordTransformation) GetFieldId ¶
func (x *RecordTransformation) GetFieldId() *FieldId
func (*RecordTransformation) ProtoMessage ¶
func (*RecordTransformation) ProtoMessage()
func (*RecordTransformation) ProtoReflect ¶
func (x *RecordTransformation) ProtoReflect() protoreflect.Message
func (*RecordTransformation) Reset ¶
func (x *RecordTransformation) Reset()
func (*RecordTransformation) String ¶
func (x *RecordTransformation) String() string
type RecordTransformations ¶
type RecordTransformations struct { // Transform the record by applying various field transformations. FieldTransformations []*FieldTransformation `protobuf:"bytes,1,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"` // Configuration defining which records get suppressed entirely. Records that // match any suppression rule are omitted from the output. RecordSuppressions []*RecordSuppression `protobuf:"bytes,2,rep,name=record_suppressions,json=recordSuppressions,proto3" json:"record_suppressions,omitempty"` // contains filtered or unexported fields }
A type of transformation that is applied over structured data such as a table.
func (*RecordTransformations) Descriptor
deprecated
func (*RecordTransformations) Descriptor() ([]byte, []int)
Deprecated: Use RecordTransformations.ProtoReflect.Descriptor instead.
func (*RecordTransformations) GetFieldTransformations ¶
func (x *RecordTransformations) GetFieldTransformations() []*FieldTransformation
func (*RecordTransformations) GetRecordSuppressions ¶
func (x *RecordTransformations) GetRecordSuppressions() []*RecordSuppression
func (*RecordTransformations) ProtoMessage ¶
func (*RecordTransformations) ProtoMessage()
func (*RecordTransformations) ProtoReflect ¶
func (x *RecordTransformations) ProtoReflect() protoreflect.Message
func (*RecordTransformations) Reset ¶
func (x *RecordTransformations) Reset()
func (*RecordTransformations) String ¶
func (x *RecordTransformations) String() string
type RedactConfig ¶
type RedactConfig struct {
// contains filtered or unexported fields
}
Redact a given value. For example, if used with an `InfoTypeTransformation` transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '.
func (*RedactConfig) Descriptor
deprecated
func (*RedactConfig) Descriptor() ([]byte, []int)
Deprecated: Use RedactConfig.ProtoReflect.Descriptor instead.
func (*RedactConfig) ProtoMessage ¶
func (*RedactConfig) ProtoMessage()
func (*RedactConfig) ProtoReflect ¶
func (x *RedactConfig) ProtoReflect() protoreflect.Message
func (*RedactConfig) Reset ¶
func (x *RedactConfig) Reset()
func (*RedactConfig) String ¶
func (x *RedactConfig) String() string
type RedactImageRequest ¶
type RedactImageRequest struct { // Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,8,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Configuration for the inspector. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // The configuration for specifying what content to redact from images. ImageRedactionConfigs []*RedactImageRequest_ImageRedactionConfig `` /* 126-byte string literal not displayed */ // Whether the response should include findings along with the redacted // image. IncludeFindings bool `protobuf:"varint,6,opt,name=include_findings,json=includeFindings,proto3" json:"include_findings,omitempty"` // The content must be PNG, JPEG, SVG or BMP. ByteItem *ByteContentItem `protobuf:"bytes,7,opt,name=byte_item,json=byteItem,proto3" json:"byte_item,omitempty"` // contains filtered or unexported fields }
Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.
func (*RedactImageRequest) Descriptor
deprecated
func (*RedactImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RedactImageRequest.ProtoReflect.Descriptor instead.
func (*RedactImageRequest) GetByteItem ¶
func (x *RedactImageRequest) GetByteItem() *ByteContentItem
func (*RedactImageRequest) GetImageRedactionConfigs ¶
func (x *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig
func (*RedactImageRequest) GetIncludeFindings ¶
func (x *RedactImageRequest) GetIncludeFindings() bool
func (*RedactImageRequest) GetInspectConfig ¶
func (x *RedactImageRequest) GetInspectConfig() *InspectConfig
func (*RedactImageRequest) GetLocationId ¶
func (x *RedactImageRequest) GetLocationId() string
func (*RedactImageRequest) GetParent ¶
func (x *RedactImageRequest) GetParent() string
func (*RedactImageRequest) ProtoMessage ¶
func (*RedactImageRequest) ProtoMessage()
func (*RedactImageRequest) ProtoReflect ¶
func (x *RedactImageRequest) ProtoReflect() protoreflect.Message
func (*RedactImageRequest) Reset ¶
func (x *RedactImageRequest) Reset()
func (*RedactImageRequest) String ¶
func (x *RedactImageRequest) String() string
type RedactImageRequest_ImageRedactionConfig ¶
type RedactImageRequest_ImageRedactionConfig struct { // Type of information to redact from images. // // Types that are assignable to Target: // // *RedactImageRequest_ImageRedactionConfig_InfoType // *RedactImageRequest_ImageRedactionConfig_RedactAllText Target isRedactImageRequest_ImageRedactionConfig_Target `protobuf_oneof:"target"` // The color to use when redacting content from an image. If not specified, // the default is black. RedactionColor *Color `protobuf:"bytes,3,opt,name=redaction_color,json=redactionColor,proto3" json:"redaction_color,omitempty"` // contains filtered or unexported fields }
Configuration for determining how redaction of images should occur.
func (*RedactImageRequest_ImageRedactionConfig) Descriptor
deprecated
func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int)
Deprecated: Use RedactImageRequest_ImageRedactionConfig.ProtoReflect.Descriptor instead.
func (*RedactImageRequest_ImageRedactionConfig) GetInfoType ¶
func (x *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType
func (*RedactImageRequest_ImageRedactionConfig) GetRedactAllText ¶
func (x *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool
func (*RedactImageRequest_ImageRedactionConfig) GetRedactionColor ¶
func (x *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color
func (*RedactImageRequest_ImageRedactionConfig) GetTarget ¶
func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target
func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage ¶
func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage()
func (*RedactImageRequest_ImageRedactionConfig) ProtoReflect ¶
func (x *RedactImageRequest_ImageRedactionConfig) ProtoReflect() protoreflect.Message
func (*RedactImageRequest_ImageRedactionConfig) Reset ¶
func (x *RedactImageRequest_ImageRedactionConfig) Reset()
func (*RedactImageRequest_ImageRedactionConfig) String ¶
func (x *RedactImageRequest_ImageRedactionConfig) String() string
type RedactImageRequest_ImageRedactionConfig_InfoType ¶
type RedactImageRequest_ImageRedactionConfig_InfoType struct { // Only one per info_type should be provided per request. If not // specified, and redact_all_text is false, the DLP API will redact all // text that it matches against all info_types that are found, but not // specified in another ImageRedactionConfig. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3,oneof"` }
type RedactImageRequest_ImageRedactionConfig_RedactAllText ¶
type RedactImageRequest_ImageRedactionConfig_RedactAllText struct { // If true, all text found in the image, regardless whether it matches an // info_type, is redacted. Only one should be provided. RedactAllText bool `protobuf:"varint,2,opt,name=redact_all_text,json=redactAllText,proto3,oneof"` }
type RedactImageResponse ¶
type RedactImageResponse struct { // The redacted image. The type will be the same as the original image. RedactedImage []byte `protobuf:"bytes,1,opt,name=redacted_image,json=redactedImage,proto3" json:"redacted_image,omitempty"` // If an image was being inspected and the InspectConfig's include_quote was // set to true, then this field will include all text, if any, that was found // in the image. ExtractedText string `protobuf:"bytes,2,opt,name=extracted_text,json=extractedText,proto3" json:"extracted_text,omitempty"` // The findings. Populated when include_findings in the request is true. InspectResult *InspectResult `protobuf:"bytes,3,opt,name=inspect_result,json=inspectResult,proto3" json:"inspect_result,omitempty"` // contains filtered or unexported fields }
Results of redacting an image.
func (*RedactImageResponse) Descriptor
deprecated
func (*RedactImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RedactImageResponse.ProtoReflect.Descriptor instead.
func (*RedactImageResponse) GetExtractedText ¶
func (x *RedactImageResponse) GetExtractedText() string
func (*RedactImageResponse) GetInspectResult ¶
func (x *RedactImageResponse) GetInspectResult() *InspectResult
func (*RedactImageResponse) GetRedactedImage ¶
func (x *RedactImageResponse) GetRedactedImage() []byte
func (*RedactImageResponse) ProtoMessage ¶
func (*RedactImageResponse) ProtoMessage()
func (*RedactImageResponse) ProtoReflect ¶
func (x *RedactImageResponse) ProtoReflect() protoreflect.Message
func (*RedactImageResponse) Reset ¶
func (x *RedactImageResponse) Reset()
func (*RedactImageResponse) String ¶
func (x *RedactImageResponse) String() string
type ReidentifyContentRequest ¶
type ReidentifyContentRequest struct { // Required. Parent resource name. // // The format of this value varies depending on whether you have [specified a // processing // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): // // - Projects scope, location specified:<br/> // `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> // - Projects scope, no location specified (defaults to global):<br/> // `projects/`<var>PROJECT_ID</var> // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location // for processing data: // // parent=projects/example-project/locations/europe-west3 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Configuration for the re-identification of the content item. // This field shares the same proto message type that is used for // de-identification, however its usage here is for the reversal of the // previous de-identification. Re-identification is performed by examining // the transformations used to de-identify the items and executing the // reverse. This requires that only reversible transformations // be provided here. The reversible transformations are: // // - `CryptoDeterministicConfig` // - `CryptoReplaceFfxFpeConfig` ReidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=reidentify_config,json=reidentifyConfig,proto3" json:"reidentify_config,omitempty"` // Configuration for the inspector. InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"` // The item to re-identify. Will be treated as text. Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` // Template to use. Any configuration directly specified in // `inspect_config` will override those set in the template. Singular fields // that are set in this request will replace their corresponding fields in the // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"` // Template to use. References an instance of `DeidentifyTemplate`. // Any configuration directly specified in `reidentify_config` or // `inspect_config` will override those set in the template. The // `DeidentifyTemplate` used must include only reversible transformations. // Singular fields that are set in this request will replace their // corresponding fields in the template. Repeated fields are appended. // Singular sub-messages and groups are recursively merged. ReidentifyTemplateName string `` /* 129-byte string literal not displayed */ // Deprecated. This field has no effect. LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
Request to re-identify an item.
func (*ReidentifyContentRequest) Descriptor
deprecated
func (*ReidentifyContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReidentifyContentRequest.ProtoReflect.Descriptor instead.
func (*ReidentifyContentRequest) GetInspectConfig ¶
func (x *ReidentifyContentRequest) GetInspectConfig() *InspectConfig
func (*ReidentifyContentRequest) GetInspectTemplateName ¶
func (x *ReidentifyContentRequest) GetInspectTemplateName() string
func (*ReidentifyContentRequest) GetItem ¶
func (x *ReidentifyContentRequest) GetItem() *ContentItem
func (*ReidentifyContentRequest) GetLocationId ¶
func (x *ReidentifyContentRequest) GetLocationId() string
func (*ReidentifyContentRequest) GetParent ¶
func (x *ReidentifyContentRequest) GetParent() string
func (*ReidentifyContentRequest) GetReidentifyConfig ¶
func (x *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig
func (*ReidentifyContentRequest) GetReidentifyTemplateName ¶
func (x *ReidentifyContentRequest) GetReidentifyTemplateName() string
func (*ReidentifyContentRequest) ProtoMessage ¶
func (*ReidentifyContentRequest) ProtoMessage()
func (*ReidentifyContentRequest) ProtoReflect ¶
func (x *ReidentifyContentRequest) ProtoReflect() protoreflect.Message
func (*ReidentifyContentRequest) Reset ¶
func (x *ReidentifyContentRequest) Reset()
func (*ReidentifyContentRequest) String ¶
func (x *ReidentifyContentRequest) String() string
type ReidentifyContentResponse ¶
type ReidentifyContentResponse struct { // The re-identified item. Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // An overview of the changes that were made to the `item`. Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` // contains filtered or unexported fields }
Results of re-identifying an item.
func (*ReidentifyContentResponse) Descriptor
deprecated
func (*ReidentifyContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReidentifyContentResponse.ProtoReflect.Descriptor instead.
func (*ReidentifyContentResponse) GetItem ¶
func (x *ReidentifyContentResponse) GetItem() *ContentItem
func (*ReidentifyContentResponse) GetOverview ¶
func (x *ReidentifyContentResponse) GetOverview() *TransformationOverview
func (*ReidentifyContentResponse) ProtoMessage ¶
func (*ReidentifyContentResponse) ProtoMessage()
func (*ReidentifyContentResponse) ProtoReflect ¶
func (x *ReidentifyContentResponse) ProtoReflect() protoreflect.Message
func (*ReidentifyContentResponse) Reset ¶
func (x *ReidentifyContentResponse) Reset()
func (*ReidentifyContentResponse) String ¶
func (x *ReidentifyContentResponse) String() string
type RelationalOperator ¶
type RelationalOperator int32
Operators available for comparing the value of fields.
const ( // Unused RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED RelationalOperator = 0 // Equal. Attempts to match even with incompatible types. RelationalOperator_EQUAL_TO RelationalOperator = 1 // Not equal to. Attempts to match even with incompatible types. RelationalOperator_NOT_EQUAL_TO RelationalOperator = 2 // Greater than. RelationalOperator_GREATER_THAN RelationalOperator = 3 // Less than. RelationalOperator_LESS_THAN RelationalOperator = 4 // Greater than or equals. RelationalOperator_GREATER_THAN_OR_EQUALS RelationalOperator = 5 // Less than or equals. RelationalOperator_LESS_THAN_OR_EQUALS RelationalOperator = 6 // Exists RelationalOperator_EXISTS RelationalOperator = 7 )
func (RelationalOperator) Descriptor ¶
func (RelationalOperator) Descriptor() protoreflect.EnumDescriptor
func (RelationalOperator) Enum ¶
func (x RelationalOperator) Enum() *RelationalOperator
func (RelationalOperator) EnumDescriptor
deprecated
func (RelationalOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationalOperator.Descriptor instead.
func (RelationalOperator) Number ¶
func (x RelationalOperator) Number() protoreflect.EnumNumber
func (RelationalOperator) String ¶
func (x RelationalOperator) String() string
func (RelationalOperator) Type ¶
func (RelationalOperator) Type() protoreflect.EnumType
type ReplaceDictionaryConfig ¶
type ReplaceDictionaryConfig struct { // Type of dictionary. // // Types that are assignable to Type: // // *ReplaceDictionaryConfig_WordList Type isReplaceDictionaryConfig_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Replace each input value with a value randomly selected from the dictionary.
func (*ReplaceDictionaryConfig) Descriptor
deprecated
func (*ReplaceDictionaryConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceDictionaryConfig.ProtoReflect.Descriptor instead.
func (*ReplaceDictionaryConfig) GetType ¶
func (m *ReplaceDictionaryConfig) GetType() isReplaceDictionaryConfig_Type
func (*ReplaceDictionaryConfig) GetWordList ¶
func (x *ReplaceDictionaryConfig) GetWordList() *CustomInfoType_Dictionary_WordList
func (*ReplaceDictionaryConfig) ProtoMessage ¶
func (*ReplaceDictionaryConfig) ProtoMessage()
func (*ReplaceDictionaryConfig) ProtoReflect ¶
func (x *ReplaceDictionaryConfig) ProtoReflect() protoreflect.Message
func (*ReplaceDictionaryConfig) Reset ¶
func (x *ReplaceDictionaryConfig) Reset()
func (*ReplaceDictionaryConfig) String ¶
func (x *ReplaceDictionaryConfig) String() string
type ReplaceDictionaryConfig_WordList ¶
type ReplaceDictionaryConfig_WordList struct { // A list of words to select from for random replacement. The // [limits](https://cloud.google.com/sensitive-data-protection/limits) page // contains details about the size limits of dictionaries. WordList *CustomInfoType_Dictionary_WordList `protobuf:"bytes,1,opt,name=word_list,json=wordList,proto3,oneof"` }
type ReplaceValueConfig ¶
type ReplaceValueConfig struct { // Value to replace it with. NewValue *Value `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // contains filtered or unexported fields }
Replace each input value with a given `Value`.
func (*ReplaceValueConfig) Descriptor
deprecated
func (*ReplaceValueConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceValueConfig.ProtoReflect.Descriptor instead.
func (*ReplaceValueConfig) GetNewValue ¶
func (x *ReplaceValueConfig) GetNewValue() *Value
func (*ReplaceValueConfig) ProtoMessage ¶
func (*ReplaceValueConfig) ProtoMessage()
func (*ReplaceValueConfig) ProtoReflect ¶
func (x *ReplaceValueConfig) ProtoReflect() protoreflect.Message
func (*ReplaceValueConfig) Reset ¶
func (x *ReplaceValueConfig) Reset()
func (*ReplaceValueConfig) String ¶
func (x *ReplaceValueConfig) String() string
type ReplaceWithInfoTypeConfig ¶
type ReplaceWithInfoTypeConfig struct {
// contains filtered or unexported fields
}
Replace each matching finding with the name of the info_type.
func (*ReplaceWithInfoTypeConfig) Descriptor
deprecated
func (*ReplaceWithInfoTypeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceWithInfoTypeConfig.ProtoReflect.Descriptor instead.
func (*ReplaceWithInfoTypeConfig) ProtoMessage ¶
func (*ReplaceWithInfoTypeConfig) ProtoMessage()
func (*ReplaceWithInfoTypeConfig) ProtoReflect ¶
func (x *ReplaceWithInfoTypeConfig) ProtoReflect() protoreflect.Message
func (*ReplaceWithInfoTypeConfig) Reset ¶
func (x *ReplaceWithInfoTypeConfig) Reset()
func (*ReplaceWithInfoTypeConfig) String ¶
func (x *ReplaceWithInfoTypeConfig) String() string
type ResourceVisibility ¶
type ResourceVisibility int32
How broadly the data in the resource has been shared. New items may be added over time. A higher number means more restricted.
const ( // Unused. ResourceVisibility_RESOURCE_VISIBILITY_UNSPECIFIED ResourceVisibility = 0 // Visible to any user. ResourceVisibility_RESOURCE_VISIBILITY_PUBLIC ResourceVisibility = 10 // Visible only to specific users. ResourceVisibility_RESOURCE_VISIBILITY_RESTRICTED ResourceVisibility = 20 )
func (ResourceVisibility) Descriptor ¶
func (ResourceVisibility) Descriptor() protoreflect.EnumDescriptor
func (ResourceVisibility) Enum ¶
func (x ResourceVisibility) Enum() *ResourceVisibility
func (ResourceVisibility) EnumDescriptor
deprecated
func (ResourceVisibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceVisibility.Descriptor instead.
func (ResourceVisibility) Number ¶
func (x ResourceVisibility) Number() protoreflect.EnumNumber
func (ResourceVisibility) String ¶
func (x ResourceVisibility) String() string
func (ResourceVisibility) Type ¶
func (ResourceVisibility) Type() protoreflect.EnumType
type RiskAnalysisJobConfig ¶
type RiskAnalysisJobConfig struct { // Privacy metric to compute. PrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=privacy_metric,json=privacyMetric,proto3" json:"privacy_metric,omitempty"` // Input dataset to compute metrics over. SourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"` // Actions to execute at the completion of the job. Are executed in the order // provided. Actions []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
Configuration for a risk analysis job. See https://cloud.google.com/sensitive-data-protection/docs/concepts-risk-analysis to learn more.
func (*RiskAnalysisJobConfig) Descriptor
deprecated
func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int)
Deprecated: Use RiskAnalysisJobConfig.ProtoReflect.Descriptor instead.
func (*RiskAnalysisJobConfig) GetActions ¶
func (x *RiskAnalysisJobConfig) GetActions() []*Action
func (*RiskAnalysisJobConfig) GetPrivacyMetric ¶
func (x *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric
func (*RiskAnalysisJobConfig) GetSourceTable ¶
func (x *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable
func (*RiskAnalysisJobConfig) ProtoMessage ¶
func (*RiskAnalysisJobConfig) ProtoMessage()
func (*RiskAnalysisJobConfig) ProtoReflect ¶
func (x *RiskAnalysisJobConfig) ProtoReflect() protoreflect.Message
func (*RiskAnalysisJobConfig) Reset ¶
func (x *RiskAnalysisJobConfig) Reset()
func (*RiskAnalysisJobConfig) String ¶
func (x *RiskAnalysisJobConfig) String() string
type Schedule ¶
type Schedule struct { // Type of schedule. // // Types that are assignable to Option: // // *Schedule_RecurrencePeriodDuration Option isSchedule_Option `protobuf_oneof:"option"` // contains filtered or unexported fields }
Schedule for inspect job triggers.
func (*Schedule) Descriptor
deprecated
func (*Schedule) GetRecurrencePeriodDuration ¶
func (x *Schedule) GetRecurrencePeriodDuration() *durationpb.Duration
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
func (*Schedule) ProtoReflect ¶
func (x *Schedule) ProtoReflect() protoreflect.Message
type Schedule_RecurrencePeriodDuration ¶
type Schedule_RecurrencePeriodDuration struct { // With this option a job is started on a regular periodic basis. For // example: every day (86400 seconds). // // A scheduled start time will be skipped if the previous // execution has not ended when its scheduled time occurs. // // This value must be set to a time duration greater than or equal // to 1 day and can be no longer than 60 days. RecurrencePeriodDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=recurrence_period_duration,json=recurrencePeriodDuration,proto3,oneof"` }
type SensitivityScore ¶
type SensitivityScore struct { // The sensitivity score applied to the resource. Score SensitivityScore_SensitivityScoreLevel `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
func (*SensitivityScore) Descriptor
deprecated
func (*SensitivityScore) Descriptor() ([]byte, []int)
Deprecated: Use SensitivityScore.ProtoReflect.Descriptor instead.
func (*SensitivityScore) GetScore ¶
func (x *SensitivityScore) GetScore() SensitivityScore_SensitivityScoreLevel
func (*SensitivityScore) ProtoMessage ¶
func (*SensitivityScore) ProtoMessage()
func (*SensitivityScore) ProtoReflect ¶
func (x *SensitivityScore) ProtoReflect() protoreflect.Message
func (*SensitivityScore) Reset ¶
func (x *SensitivityScore) Reset()
func (*SensitivityScore) String ¶
func (x *SensitivityScore) String() string
type SensitivityScore_SensitivityScoreLevel ¶
type SensitivityScore_SensitivityScoreLevel int32
Various sensitivity score levels for resources.
const ( // Unused. SensitivityScore_SENSITIVITY_SCORE_UNSPECIFIED SensitivityScore_SensitivityScoreLevel = 0 // No sensitive information detected. The resource isn't publicly // accessible. SensitivityScore_SENSITIVITY_LOW SensitivityScore_SensitivityScoreLevel = 10 // Medium risk. Contains personally identifiable information (PII), // potentially sensitive data, or fields with free-text data that are at a // higher risk of having intermittent sensitive data. Consider limiting // access. SensitivityScore_SENSITIVITY_MODERATE SensitivityScore_SensitivityScoreLevel = 20 // High risk. Sensitive personally identifiable information (SPII) can be // present. Exfiltration of data can lead to user data loss. // Re-identification of users might be possible. Consider limiting usage and // or removing SPII. SensitivityScore_SENSITIVITY_HIGH SensitivityScore_SensitivityScoreLevel = 30 )
func (SensitivityScore_SensitivityScoreLevel) Descriptor ¶
func (SensitivityScore_SensitivityScoreLevel) Descriptor() protoreflect.EnumDescriptor
func (SensitivityScore_SensitivityScoreLevel) EnumDescriptor
deprecated
func (SensitivityScore_SensitivityScoreLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensitivityScore_SensitivityScoreLevel.Descriptor instead.
func (SensitivityScore_SensitivityScoreLevel) Number ¶
func (x SensitivityScore_SensitivityScoreLevel) Number() protoreflect.EnumNumber
func (SensitivityScore_SensitivityScoreLevel) String ¶
func (x SensitivityScore_SensitivityScoreLevel) String() string
func (SensitivityScore_SensitivityScoreLevel) Type ¶
func (SensitivityScore_SensitivityScoreLevel) Type() protoreflect.EnumType
type StatisticalTable ¶
type StatisticalTable struct { // Required. Auxiliary table location. Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Required. Quasi-identifier columns. QuasiIds []*StatisticalTable_QuasiIdentifierField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"` // Required. The relative frequency column must contain a floating-point // number between 0 and 1 (inclusive). Null values are assumed to be zero. RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"` // contains filtered or unexported fields }
An auxiliary table containing statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).
func (*StatisticalTable) Descriptor
deprecated
func (*StatisticalTable) Descriptor() ([]byte, []int)
Deprecated: Use StatisticalTable.ProtoReflect.Descriptor instead.
func (*StatisticalTable) GetQuasiIds ¶
func (x *StatisticalTable) GetQuasiIds() []*StatisticalTable_QuasiIdentifierField
func (*StatisticalTable) GetRelativeFrequency ¶
func (x *StatisticalTable) GetRelativeFrequency() *FieldId
func (*StatisticalTable) GetTable ¶
func (x *StatisticalTable) GetTable() *BigQueryTable
func (*StatisticalTable) ProtoMessage ¶
func (*StatisticalTable) ProtoMessage()
func (*StatisticalTable) ProtoReflect ¶
func (x *StatisticalTable) ProtoReflect() protoreflect.Message
func (*StatisticalTable) Reset ¶
func (x *StatisticalTable) Reset()
func (*StatisticalTable) String ¶
func (x *StatisticalTable) String() string
type StatisticalTable_QuasiIdentifierField ¶
type StatisticalTable_QuasiIdentifierField struct { // Identifies the column. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // A column can be tagged with a custom tag. In this case, the user must // indicate an auxiliary table that contains statistical information on // the possible values of this column (below). CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"` // contains filtered or unexported fields }
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
func (*StatisticalTable_QuasiIdentifierField) Descriptor
deprecated
func (*StatisticalTable_QuasiIdentifierField) Descriptor() ([]byte, []int)
Deprecated: Use StatisticalTable_QuasiIdentifierField.ProtoReflect.Descriptor instead.
func (*StatisticalTable_QuasiIdentifierField) GetCustomTag ¶
func (x *StatisticalTable_QuasiIdentifierField) GetCustomTag() string
func (*StatisticalTable_QuasiIdentifierField) GetField ¶
func (x *StatisticalTable_QuasiIdentifierField) GetField() *FieldId
func (*StatisticalTable_QuasiIdentifierField) ProtoMessage ¶
func (*StatisticalTable_QuasiIdentifierField) ProtoMessage()
func (*StatisticalTable_QuasiIdentifierField) ProtoReflect ¶
func (x *StatisticalTable_QuasiIdentifierField) ProtoReflect() protoreflect.Message
func (*StatisticalTable_QuasiIdentifierField) Reset ¶
func (x *StatisticalTable_QuasiIdentifierField) Reset()
func (*StatisticalTable_QuasiIdentifierField) String ¶
func (x *StatisticalTable_QuasiIdentifierField) String() string
type StorageConfig ¶
type StorageConfig struct { // Type of storage system to inspect. // // Types that are assignable to Type: // // *StorageConfig_DatastoreOptions // *StorageConfig_CloudStorageOptions // *StorageConfig_BigQueryOptions // *StorageConfig_HybridOptions Type isStorageConfig_Type `protobuf_oneof:"type"` // Configuration of the timespan of the items to include in scanning. TimespanConfig *StorageConfig_TimespanConfig `protobuf:"bytes,6,opt,name=timespan_config,json=timespanConfig,proto3" json:"timespan_config,omitempty"` // contains filtered or unexported fields }
Shared message indicating Cloud storage type.
func (*StorageConfig) Descriptor
deprecated
func (*StorageConfig) Descriptor() ([]byte, []int)
Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.
func (*StorageConfig) GetBigQueryOptions ¶
func (x *StorageConfig) GetBigQueryOptions() *BigQueryOptions
func (*StorageConfig) GetCloudStorageOptions ¶
func (x *StorageConfig) GetCloudStorageOptions() *CloudStorageOptions
func (*StorageConfig) GetDatastoreOptions ¶
func (x *StorageConfig) GetDatastoreOptions() *DatastoreOptions
func (*StorageConfig) GetHybridOptions ¶
func (x *StorageConfig) GetHybridOptions() *HybridOptions
func (*StorageConfig) GetTimespanConfig ¶
func (x *StorageConfig) GetTimespanConfig() *StorageConfig_TimespanConfig
func (*StorageConfig) GetType ¶
func (m *StorageConfig) GetType() isStorageConfig_Type
func (*StorageConfig) ProtoMessage ¶
func (*StorageConfig) ProtoMessage()
func (*StorageConfig) ProtoReflect ¶
func (x *StorageConfig) ProtoReflect() protoreflect.Message
func (*StorageConfig) Reset ¶
func (x *StorageConfig) Reset()
func (*StorageConfig) String ¶
func (x *StorageConfig) String() string
type StorageConfig_BigQueryOptions ¶
type StorageConfig_BigQueryOptions struct { // BigQuery options. BigQueryOptions *BigQueryOptions `protobuf:"bytes,4,opt,name=big_query_options,json=bigQueryOptions,proto3,oneof"` }
type StorageConfig_CloudStorageOptions ¶
type StorageConfig_CloudStorageOptions struct { // Cloud Storage options. CloudStorageOptions *CloudStorageOptions `protobuf:"bytes,3,opt,name=cloud_storage_options,json=cloudStorageOptions,proto3,oneof"` }
type StorageConfig_DatastoreOptions ¶
type StorageConfig_DatastoreOptions struct { // Google Cloud Datastore options. DatastoreOptions *DatastoreOptions `protobuf:"bytes,2,opt,name=datastore_options,json=datastoreOptions,proto3,oneof"` }
type StorageConfig_HybridOptions ¶
type StorageConfig_HybridOptions struct { // Hybrid inspection options. HybridOptions *HybridOptions `protobuf:"bytes,9,opt,name=hybrid_options,json=hybridOptions,proto3,oneof"` }
type StorageConfig_TimespanConfig ¶
type StorageConfig_TimespanConfig struct { // Exclude files, tables, or rows older than this value. // If not set, no lower time limit is applied. StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Exclude files, tables, or rows newer than this value. // If not set, no upper time limit is applied. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Specification of the field containing the timestamp of scanned items. // Used for data sources like Datastore and BigQuery. // // <b>For BigQuery</b> // // If this value is not specified and the table was modified between the // given start and end times, the entire table will be scanned. If this // value is specified, then rows are filtered based on the given start and // end times. Rows with a `NULL` value in the provided BigQuery column are // skipped. // Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, // `TIMESTAMP`, and `DATETIME`. // // If your BigQuery table is [partitioned at ingestion // time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), // you can use any of the following pseudo-columns as your timestamp field. // When used with Cloud DLP, these pseudo-column names are case sensitive. // // <ul> // <li><code>_PARTITIONTIME</code></li> // <li><code>_PARTITIONDATE</code></li> // <li><code>_PARTITION_LOAD_TIME</code></li> // </ul> // // <b>For Datastore</b> // // If this value is specified, then entities are filtered based on the given // start and end times. If an entity does not contain the provided timestamp // property or contains empty or invalid values, then it is included. // Valid data types of the provided timestamp property are: `TIMESTAMP`. // // See the // [known // issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) // related to this operation. TimestampField *FieldId `protobuf:"bytes,3,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` // When the job is started by a JobTrigger we will automatically figure out // a valid start_time to avoid scanning files that have not been modified // since the last time the JobTrigger executed. This will be based on the // time of the execution of the last run of the JobTrigger or the timespan // end_time used in the last run of the JobTrigger. EnableAutoPopulationOfTimespanConfig bool `` /* 178-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery.
func (*StorageConfig_TimespanConfig) Descriptor
deprecated
func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int)
Deprecated: Use StorageConfig_TimespanConfig.ProtoReflect.Descriptor instead.
func (*StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig ¶
func (x *StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig() bool
func (*StorageConfig_TimespanConfig) GetEndTime ¶
func (x *StorageConfig_TimespanConfig) GetEndTime() *timestamppb.Timestamp
func (*StorageConfig_TimespanConfig) GetStartTime ¶
func (x *StorageConfig_TimespanConfig) GetStartTime() *timestamppb.Timestamp
func (*StorageConfig_TimespanConfig) GetTimestampField ¶
func (x *StorageConfig_TimespanConfig) GetTimestampField() *FieldId
func (*StorageConfig_TimespanConfig) ProtoMessage ¶
func (*StorageConfig_TimespanConfig) ProtoMessage()
func (*StorageConfig_TimespanConfig) ProtoReflect ¶
func (x *StorageConfig_TimespanConfig) ProtoReflect() protoreflect.Message
func (*StorageConfig_TimespanConfig) Reset ¶
func (x *StorageConfig_TimespanConfig) Reset()
func (*StorageConfig_TimespanConfig) String ¶
func (x *StorageConfig_TimespanConfig) String() string
type StorageMetadataLabel ¶
type StorageMetadataLabel struct { // Label name. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Storage metadata label to indicate which metadata entry contains findings.
func (*StorageMetadataLabel) Descriptor
deprecated
func (*StorageMetadataLabel) Descriptor() ([]byte, []int)
Deprecated: Use StorageMetadataLabel.ProtoReflect.Descriptor instead.
func (*StorageMetadataLabel) GetKey ¶
func (x *StorageMetadataLabel) GetKey() string
func (*StorageMetadataLabel) ProtoMessage ¶
func (*StorageMetadataLabel) ProtoMessage()
func (*StorageMetadataLabel) ProtoReflect ¶
func (x *StorageMetadataLabel) ProtoReflect() protoreflect.Message
func (*StorageMetadataLabel) Reset ¶
func (x *StorageMetadataLabel) Reset()
func (*StorageMetadataLabel) String ¶
func (x *StorageMetadataLabel) String() string
type StoredInfoType ¶
type StoredInfoType struct { // Resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Current version of the stored info type. CurrentVersion *StoredInfoTypeVersion `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` // Pending versions of the stored info type. Empty if no versions are // pending. PendingVersions []*StoredInfoTypeVersion `protobuf:"bytes,3,rep,name=pending_versions,json=pendingVersions,proto3" json:"pending_versions,omitempty"` // contains filtered or unexported fields }
StoredInfoType resource message that contains information about the current version and any pending updates.
func (*StoredInfoType) Descriptor
deprecated
func (*StoredInfoType) Descriptor() ([]byte, []int)
Deprecated: Use StoredInfoType.ProtoReflect.Descriptor instead.
func (*StoredInfoType) GetCurrentVersion ¶
func (x *StoredInfoType) GetCurrentVersion() *StoredInfoTypeVersion
func (*StoredInfoType) GetName ¶
func (x *StoredInfoType) GetName() string
func (*StoredInfoType) GetPendingVersions ¶
func (x *StoredInfoType) GetPendingVersions() []*StoredInfoTypeVersion
func (*StoredInfoType) ProtoMessage ¶
func (*StoredInfoType) ProtoMessage()
func (*StoredInfoType) ProtoReflect ¶
func (x *StoredInfoType) ProtoReflect() protoreflect.Message
func (*StoredInfoType) Reset ¶
func (x *StoredInfoType) Reset()
func (*StoredInfoType) String ¶
func (x *StoredInfoType) String() string
type StoredInfoTypeConfig ¶
type StoredInfoTypeConfig struct { // Display name of the StoredInfoType (max 256 characters). DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Description of the StoredInfoType (max 256 characters). Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Stored infotype types. // // Types that are assignable to Type: // // *StoredInfoTypeConfig_LargeCustomDictionary // *StoredInfoTypeConfig_Dictionary // *StoredInfoTypeConfig_Regex Type isStoredInfoTypeConfig_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes.
func (*StoredInfoTypeConfig) Descriptor
deprecated
func (*StoredInfoTypeConfig) Descriptor() ([]byte, []int)
Deprecated: Use StoredInfoTypeConfig.ProtoReflect.Descriptor instead.
func (*StoredInfoTypeConfig) GetDescription ¶
func (x *StoredInfoTypeConfig) GetDescription() string
func (*StoredInfoTypeConfig) GetDictionary ¶
func (x *StoredInfoTypeConfig) GetDictionary() *CustomInfoType_Dictionary
func (*StoredInfoTypeConfig) GetDisplayName ¶
func (x *StoredInfoTypeConfig) GetDisplayName() string
func (*StoredInfoTypeConfig) GetLargeCustomDictionary ¶
func (x *StoredInfoTypeConfig) GetLargeCustomDictionary() *LargeCustomDictionaryConfig
func (*StoredInfoTypeConfig) GetRegex ¶
func (x *StoredInfoTypeConfig) GetRegex() *CustomInfoType_Regex
func (*StoredInfoTypeConfig) GetType ¶
func (m *StoredInfoTypeConfig) GetType() isStoredInfoTypeConfig_Type
func (*StoredInfoTypeConfig) ProtoMessage ¶
func (*StoredInfoTypeConfig) ProtoMessage()
func (*StoredInfoTypeConfig) ProtoReflect ¶
func (x *StoredInfoTypeConfig) ProtoReflect() protoreflect.Message
func (*StoredInfoTypeConfig) Reset ¶
func (x *StoredInfoTypeConfig) Reset()
func (*StoredInfoTypeConfig) String ¶
func (x *StoredInfoTypeConfig) String() string
type StoredInfoTypeConfig_Dictionary ¶
type StoredInfoTypeConfig_Dictionary struct { // Store dictionary-based CustomInfoType. Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,4,opt,name=dictionary,proto3,oneof"` }
type StoredInfoTypeConfig_LargeCustomDictionary ¶
type StoredInfoTypeConfig_LargeCustomDictionary struct { // StoredInfoType where findings are defined by a dictionary of phrases. LargeCustomDictionary *LargeCustomDictionaryConfig `protobuf:"bytes,3,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"` }
type StoredInfoTypeConfig_Regex ¶
type StoredInfoTypeConfig_Regex struct { // Store regular expression-based StoredInfoType. Regex *CustomInfoType_Regex `protobuf:"bytes,5,opt,name=regex,proto3,oneof"` }
type StoredInfoTypeState ¶
type StoredInfoTypeState int32
State of a StoredInfoType version.
const ( // Unused StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED StoredInfoTypeState = 0 // StoredInfoType version is being created. StoredInfoTypeState_PENDING StoredInfoTypeState = 1 // StoredInfoType version is ready for use. StoredInfoTypeState_READY StoredInfoTypeState = 2 // StoredInfoType creation failed. All relevant error messages are returned in // the `StoredInfoTypeVersion` message. StoredInfoTypeState_FAILED StoredInfoTypeState = 3 // StoredInfoType is no longer valid because artifacts stored in // user-controlled storage were modified. To fix an invalid StoredInfoType, // use the `UpdateStoredInfoType` method to create a new version. StoredInfoTypeState_INVALID StoredInfoTypeState = 4 )
func (StoredInfoTypeState) Descriptor ¶
func (StoredInfoTypeState) Descriptor() protoreflect.EnumDescriptor
func (StoredInfoTypeState) Enum ¶
func (x StoredInfoTypeState) Enum() *StoredInfoTypeState
func (StoredInfoTypeState) EnumDescriptor
deprecated
func (StoredInfoTypeState) EnumDescriptor() ([]byte, []int)
Deprecated: Use StoredInfoTypeState.Descriptor instead.
func (StoredInfoTypeState) Number ¶
func (x StoredInfoTypeState) Number() protoreflect.EnumNumber
func (StoredInfoTypeState) String ¶
func (x StoredInfoTypeState) String() string
func (StoredInfoTypeState) Type ¶
func (StoredInfoTypeState) Type() protoreflect.EnumType
type StoredInfoTypeStats ¶
type StoredInfoTypeStats struct { // Stat types // // Types that are assignable to Type: // // *StoredInfoTypeStats_LargeCustomDictionary Type isStoredInfoTypeStats_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Statistics for a StoredInfoType.
func (*StoredInfoTypeStats) Descriptor
deprecated
func (*StoredInfoTypeStats) Descriptor() ([]byte, []int)
Deprecated: Use StoredInfoTypeStats.ProtoReflect.Descriptor instead.
func (*StoredInfoTypeStats) GetLargeCustomDictionary ¶
func (x *StoredInfoTypeStats) GetLargeCustomDictionary() *LargeCustomDictionaryStats
func (*StoredInfoTypeStats) GetType ¶
func (m *StoredInfoTypeStats) GetType() isStoredInfoTypeStats_Type
func (*StoredInfoTypeStats) ProtoMessage ¶
func (*StoredInfoTypeStats) ProtoMessage()
func (*StoredInfoTypeStats) ProtoReflect ¶
func (x *StoredInfoTypeStats) ProtoReflect() protoreflect.Message
func (*StoredInfoTypeStats) Reset ¶
func (x *StoredInfoTypeStats) Reset()
func (*StoredInfoTypeStats) String ¶
func (x *StoredInfoTypeStats) String() string
type StoredInfoTypeStats_LargeCustomDictionary ¶
type StoredInfoTypeStats_LargeCustomDictionary struct { // StoredInfoType where findings are defined by a dictionary of phrases. LargeCustomDictionary *LargeCustomDictionaryStats `protobuf:"bytes,1,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"` }
type StoredInfoTypeVersion ¶
type StoredInfoTypeVersion struct { // StoredInfoType configuration. Config *StoredInfoTypeConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Create timestamp of the version. Read-only, determined by the system // when the version is created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Stored info type version state. Read-only, updated by the system // during dictionary creation. State StoredInfoTypeState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.StoredInfoTypeState" json:"state,omitempty"` // Errors that occurred when creating this storedInfoType version, or // anomalies detected in the storedInfoType data that render it unusable. Only // the five most recent errors will be displayed, with the most recent error // appearing first. // // For example, some of the data for stored custom dictionaries is put in // the user's Cloud Storage bucket, and if this data is modified or // deleted by the user or another system, the dictionary becomes invalid. // // If any errors occur, fix the problem indicated by the error message and // use the UpdateStoredInfoType API method to create another version of the // storedInfoType to continue using it, reusing the same `config` if it was // not the source of the error. Errors []*Error `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"` // Statistics about this storedInfoType version. Stats *StoredInfoTypeStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
func (*StoredInfoTypeVersion) Descriptor
deprecated
func (*StoredInfoTypeVersion) Descriptor() ([]byte, []int)
Deprecated: Use StoredInfoTypeVersion.ProtoReflect.Descriptor instead.
func (*StoredInfoTypeVersion) GetConfig ¶
func (x *StoredInfoTypeVersion) GetConfig() *StoredInfoTypeConfig
func (*StoredInfoTypeVersion) GetCreateTime ¶
func (x *StoredInfoTypeVersion) GetCreateTime() *timestamppb.Timestamp
func (*StoredInfoTypeVersion) GetErrors ¶
func (x *StoredInfoTypeVersion) GetErrors() []*Error
func (*StoredInfoTypeVersion) GetState ¶
func (x *StoredInfoTypeVersion) GetState() StoredInfoTypeState
func (*StoredInfoTypeVersion) GetStats ¶
func (x *StoredInfoTypeVersion) GetStats() *StoredInfoTypeStats
func (*StoredInfoTypeVersion) ProtoMessage ¶
func (*StoredInfoTypeVersion) ProtoMessage()
func (*StoredInfoTypeVersion) ProtoReflect ¶
func (x *StoredInfoTypeVersion) ProtoReflect() protoreflect.Message
func (*StoredInfoTypeVersion) Reset ¶
func (x *StoredInfoTypeVersion) Reset()
func (*StoredInfoTypeVersion) String ¶
func (x *StoredInfoTypeVersion) String() string
type StoredType ¶
type StoredType struct { // Resource name of the requested `StoredInfoType`, for example // `organizations/433245324/storedInfoTypes/432452342` or // `projects/project-id/storedInfoTypes/432452342`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Timestamp indicating when the version of the `StoredInfoType` used for // inspection was created. Output-only field, populated by the system. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
A reference to a StoredInfoType to use with scanning.
func (*StoredType) Descriptor
deprecated
func (*StoredType) Descriptor() ([]byte, []int)
Deprecated: Use StoredType.ProtoReflect.Descriptor instead.
func (*StoredType) GetCreateTime ¶
func (x *StoredType) GetCreateTime() *timestamppb.Timestamp
func (*StoredType) GetName ¶
func (x *StoredType) GetName() string
func (*StoredType) ProtoMessage ¶
func (*StoredType) ProtoMessage()
func (*StoredType) ProtoReflect ¶
func (x *StoredType) ProtoReflect() protoreflect.Message
func (*StoredType) Reset ¶
func (x *StoredType) Reset()
func (*StoredType) String ¶
func (x *StoredType) String() string
type Table ¶
type Table struct { // Headers of the table. Headers []*FieldId `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // Rows of the table. Rows []*Table_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
Structured content to inspect. Up to 50,000 `Value`s per request allowed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-text#inspecting_a_table to learn more.
func (*Table) Descriptor
deprecated
func (*Table) GetHeaders ¶
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type TableDataProfile ¶
type TableDataProfile struct { // The name of the profile. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource type that was profiled. DataSourceType *DataSourceType `protobuf:"bytes,36,opt,name=data_source_type,json=dataSourceType,proto3" json:"data_source_type,omitempty"` // The resource name to the project data profile for this table. ProjectDataProfile string `protobuf:"bytes,2,opt,name=project_data_profile,json=projectDataProfile,proto3" json:"project_data_profile,omitempty"` // The Google Cloud project ID that owns the resource. DatasetProjectId string `protobuf:"bytes,24,opt,name=dataset_project_id,json=datasetProjectId,proto3" json:"dataset_project_id,omitempty"` // If supported, the location where the dataset's data is stored. // See https://cloud.google.com/bigquery/docs/locations for supported // locations. DatasetLocation string `protobuf:"bytes,29,opt,name=dataset_location,json=datasetLocation,proto3" json:"dataset_location,omitempty"` // If the resource is BigQuery, the dataset ID. DatasetId string `protobuf:"bytes,25,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // If the resource is BigQuery, the BigQuery table ID. TableId string `protobuf:"bytes,26,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // The resource name of the resource profiled. // https://cloud.google.com/apis/design/resource_names#full_resource_name FullResource string `protobuf:"bytes,3,opt,name=full_resource,json=fullResource,proto3" json:"full_resource,omitempty"` // Success or error status from the most recent profile generation attempt. // May be empty if the profile is still being generated. ProfileStatus *ProfileStatus `protobuf:"bytes,21,opt,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"` // State of a profile. State TableDataProfile_State `protobuf:"varint,22,opt,name=state,proto3,enum=google.privacy.dlp.v2.TableDataProfile_State" json:"state,omitempty"` // The sensitivity score of this table. SensitivityScore *SensitivityScore `protobuf:"bytes,5,opt,name=sensitivity_score,json=sensitivityScore,proto3" json:"sensitivity_score,omitempty"` // The data risk level of this table. DataRiskLevel *DataRiskLevel `protobuf:"bytes,6,opt,name=data_risk_level,json=dataRiskLevel,proto3" json:"data_risk_level,omitempty"` // The infoTypes predicted from this table's data. PredictedInfoTypes []*InfoTypeSummary `protobuf:"bytes,27,rep,name=predicted_info_types,json=predictedInfoTypes,proto3" json:"predicted_info_types,omitempty"` // Other infoTypes found in this table's data. OtherInfoTypes []*OtherInfoTypeSummary `protobuf:"bytes,28,rep,name=other_info_types,json=otherInfoTypes,proto3" json:"other_info_types,omitempty"` // The snapshot of the configurations used to generate the profile. ConfigSnapshot *DataProfileConfigSnapshot `protobuf:"bytes,7,opt,name=config_snapshot,json=configSnapshot,proto3" json:"config_snapshot,omitempty"` // The time when this table was last modified LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // Optional. The time when this table expires. ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` // The number of columns profiled in the table. ScannedColumnCount int64 `protobuf:"varint,10,opt,name=scanned_column_count,json=scannedColumnCount,proto3" json:"scanned_column_count,omitempty"` // The number of columns skipped in the table because of an error. FailedColumnCount int64 `protobuf:"varint,11,opt,name=failed_column_count,json=failedColumnCount,proto3" json:"failed_column_count,omitempty"` // The size of the table when the profile was generated. TableSizeBytes int64 `protobuf:"varint,12,opt,name=table_size_bytes,json=tableSizeBytes,proto3" json:"table_size_bytes,omitempty"` // Number of rows in the table when the profile was generated. // This will not be populated for BigLake tables. RowCount int64 `protobuf:"varint,13,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` // How the table is encrypted. EncryptionStatus EncryptionStatus `` /* 155-byte string literal not displayed */ // How broadly a resource has been shared. ResourceVisibility ResourceVisibility `` /* 163-byte string literal not displayed */ // The last time the profile was generated. ProfileLastGenerated *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=profile_last_generated,json=profileLastGenerated,proto3" json:"profile_last_generated,omitempty"` // The labels applied to the resource at the time the profile was generated. ResourceLabels map[string]string `` /* 192-byte string literal not displayed */ // The time at which the table was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
The profile for a scanned table.
func (*TableDataProfile) Descriptor
deprecated
func (*TableDataProfile) Descriptor() ([]byte, []int)
Deprecated: Use TableDataProfile.ProtoReflect.Descriptor instead.
func (*TableDataProfile) GetConfigSnapshot ¶
func (x *TableDataProfile) GetConfigSnapshot() *DataProfileConfigSnapshot
func (*TableDataProfile) GetCreateTime ¶
func (x *TableDataProfile) GetCreateTime() *timestamppb.Timestamp
func (*TableDataProfile) GetDataRiskLevel ¶
func (x *TableDataProfile) GetDataRiskLevel() *DataRiskLevel
func (*TableDataProfile) GetDataSourceType ¶ added in v1.12.0
func (x *TableDataProfile) GetDataSourceType() *DataSourceType
func (*TableDataProfile) GetDatasetId ¶
func (x *TableDataProfile) GetDatasetId() string
func (*TableDataProfile) GetDatasetLocation ¶
func (x *TableDataProfile) GetDatasetLocation() string
func (*TableDataProfile) GetDatasetProjectId ¶
func (x *TableDataProfile) GetDatasetProjectId() string
func (*TableDataProfile) GetEncryptionStatus ¶
func (x *TableDataProfile) GetEncryptionStatus() EncryptionStatus
func (*TableDataProfile) GetExpirationTime ¶
func (x *TableDataProfile) GetExpirationTime() *timestamppb.Timestamp
func (*TableDataProfile) GetFailedColumnCount ¶
func (x *TableDataProfile) GetFailedColumnCount() int64
func (*TableDataProfile) GetFullResource ¶
func (x *TableDataProfile) GetFullResource() string
func (*TableDataProfile) GetLastModifiedTime ¶
func (x *TableDataProfile) GetLastModifiedTime() *timestamppb.Timestamp
func (*TableDataProfile) GetName ¶
func (x *TableDataProfile) GetName() string
func (*TableDataProfile) GetOtherInfoTypes ¶
func (x *TableDataProfile) GetOtherInfoTypes() []*OtherInfoTypeSummary
func (*TableDataProfile) GetPredictedInfoTypes ¶
func (x *TableDataProfile) GetPredictedInfoTypes() []*InfoTypeSummary
func (*TableDataProfile) GetProfileLastGenerated ¶
func (x *TableDataProfile) GetProfileLastGenerated() *timestamppb.Timestamp
func (*TableDataProfile) GetProfileStatus ¶
func (x *TableDataProfile) GetProfileStatus() *ProfileStatus
func (*TableDataProfile) GetProjectDataProfile ¶
func (x *TableDataProfile) GetProjectDataProfile() string
func (*TableDataProfile) GetResourceLabels ¶
func (x *TableDataProfile) GetResourceLabels() map[string]string
func (*TableDataProfile) GetResourceVisibility ¶
func (x *TableDataProfile) GetResourceVisibility() ResourceVisibility
func (*TableDataProfile) GetRowCount ¶
func (x *TableDataProfile) GetRowCount() int64
func (*TableDataProfile) GetScannedColumnCount ¶
func (x *TableDataProfile) GetScannedColumnCount() int64
func (*TableDataProfile) GetSensitivityScore ¶
func (x *TableDataProfile) GetSensitivityScore() *SensitivityScore
func (*TableDataProfile) GetState ¶
func (x *TableDataProfile) GetState() TableDataProfile_State
func (*TableDataProfile) GetTableId ¶
func (x *TableDataProfile) GetTableId() string
func (*TableDataProfile) GetTableSizeBytes ¶
func (x *TableDataProfile) GetTableSizeBytes() int64
func (*TableDataProfile) ProtoMessage ¶
func (*TableDataProfile) ProtoMessage()
func (*TableDataProfile) ProtoReflect ¶
func (x *TableDataProfile) ProtoReflect() protoreflect.Message
func (*TableDataProfile) Reset ¶
func (x *TableDataProfile) Reset()
func (*TableDataProfile) String ¶
func (x *TableDataProfile) String() string
type TableDataProfile_State ¶
type TableDataProfile_State int32
Possible states of a profile. New items may be added.
const ( // Unused. TableDataProfile_STATE_UNSPECIFIED TableDataProfile_State = 0 // The profile is currently running. Once a profile has finished it will // transition to DONE. TableDataProfile_RUNNING TableDataProfile_State = 1 // The profile is no longer generating. // If profile_status.status.code is 0, the profile succeeded, otherwise, it // failed. TableDataProfile_DONE TableDataProfile_State = 2 )
func (TableDataProfile_State) Descriptor ¶
func (TableDataProfile_State) Descriptor() protoreflect.EnumDescriptor
func (TableDataProfile_State) Enum ¶
func (x TableDataProfile_State) Enum() *TableDataProfile_State
func (TableDataProfile_State) EnumDescriptor
deprecated
func (TableDataProfile_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use TableDataProfile_State.Descriptor instead.
func (TableDataProfile_State) Number ¶
func (x TableDataProfile_State) Number() protoreflect.EnumNumber
func (TableDataProfile_State) String ¶
func (x TableDataProfile_State) String() string
func (TableDataProfile_State) Type ¶
func (TableDataProfile_State) Type() protoreflect.EnumType
type TableLocation ¶
type TableLocation struct { // The zero-based index of the row where the finding is located. Only // populated for resources that have a natural ordering, not BigQuery. In // BigQuery, to identify the row a finding came from, populate // BigQueryOptions.identifying_fields with your primary key column names and // when you store the findings the value of those columns will be stored // inside of Finding. RowIndex int64 `protobuf:"varint,1,opt,name=row_index,json=rowIndex,proto3" json:"row_index,omitempty"` // contains filtered or unexported fields }
Location of a finding within a table.
func (*TableLocation) Descriptor
deprecated
func (*TableLocation) Descriptor() ([]byte, []int)
Deprecated: Use TableLocation.ProtoReflect.Descriptor instead.
func (*TableLocation) GetRowIndex ¶
func (x *TableLocation) GetRowIndex() int64
func (*TableLocation) ProtoMessage ¶
func (*TableLocation) ProtoMessage()
func (*TableLocation) ProtoReflect ¶
func (x *TableLocation) ProtoReflect() protoreflect.Message
func (*TableLocation) Reset ¶
func (x *TableLocation) Reset()
func (*TableLocation) String ¶
func (x *TableLocation) String() string
type TableOptions ¶
type TableOptions struct { // The columns that are the primary keys for table objects included in // ContentItem. A copy of this cell's value will stored alongside alongside // each finding so that the finding can be traced to the specific row it came // from. No more than 3 may be provided. IdentifyingFields []*FieldId `protobuf:"bytes,1,rep,name=identifying_fields,json=identifyingFields,proto3" json:"identifying_fields,omitempty"` // contains filtered or unexported fields }
Instructions regarding the table content being inspected.
func (*TableOptions) Descriptor
deprecated
func (*TableOptions) Descriptor() ([]byte, []int)
Deprecated: Use TableOptions.ProtoReflect.Descriptor instead.
func (*TableOptions) GetIdentifyingFields ¶
func (x *TableOptions) GetIdentifyingFields() []*FieldId
func (*TableOptions) ProtoMessage ¶
func (*TableOptions) ProtoMessage()
func (*TableOptions) ProtoReflect ¶
func (x *TableOptions) ProtoReflect() protoreflect.Message
func (*TableOptions) Reset ¶
func (x *TableOptions) Reset()
func (*TableOptions) String ¶
func (x *TableOptions) String() string
type Table_Row ¶
type Table_Row struct { // Individual cells. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Values of the row.
func (*Table_Row) Descriptor
deprecated
func (*Table_Row) ProtoMessage ¶
func (*Table_Row) ProtoMessage()
func (*Table_Row) ProtoReflect ¶
func (x *Table_Row) ProtoReflect() protoreflect.Message
type TimePartConfig ¶
type TimePartConfig struct { // The part of the time to keep. PartToExtract TimePartConfig_TimePart `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value.
func (*TimePartConfig) Descriptor
deprecated
func (*TimePartConfig) Descriptor() ([]byte, []int)
Deprecated: Use TimePartConfig.ProtoReflect.Descriptor instead.
func (*TimePartConfig) GetPartToExtract ¶
func (x *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart
func (*TimePartConfig) ProtoMessage ¶
func (*TimePartConfig) ProtoMessage()
func (*TimePartConfig) ProtoReflect ¶
func (x *TimePartConfig) ProtoReflect() protoreflect.Message
func (*TimePartConfig) Reset ¶
func (x *TimePartConfig) Reset()
func (*TimePartConfig) String ¶
func (x *TimePartConfig) String() string
type TimePartConfig_TimePart ¶
type TimePartConfig_TimePart int32
Components that make up time.
const ( // Unused TimePartConfig_TIME_PART_UNSPECIFIED TimePartConfig_TimePart = 0 // [0-9999] TimePartConfig_YEAR TimePartConfig_TimePart = 1 // [1-12] TimePartConfig_MONTH TimePartConfig_TimePart = 2 // [1-31] TimePartConfig_DAY_OF_MONTH TimePartConfig_TimePart = 3 // [1-7] TimePartConfig_DAY_OF_WEEK TimePartConfig_TimePart = 4 // [1-53] TimePartConfig_WEEK_OF_YEAR TimePartConfig_TimePart = 5 // [0-23] TimePartConfig_HOUR_OF_DAY TimePartConfig_TimePart = 6 )
func (TimePartConfig_TimePart) Descriptor ¶
func (TimePartConfig_TimePart) Descriptor() protoreflect.EnumDescriptor
func (TimePartConfig_TimePart) Enum ¶
func (x TimePartConfig_TimePart) Enum() *TimePartConfig_TimePart
func (TimePartConfig_TimePart) EnumDescriptor
deprecated
func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimePartConfig_TimePart.Descriptor instead.
func (TimePartConfig_TimePart) Number ¶
func (x TimePartConfig_TimePart) Number() protoreflect.EnumNumber
func (TimePartConfig_TimePart) String ¶
func (x TimePartConfig_TimePart) String() string
func (TimePartConfig_TimePart) Type ¶
func (TimePartConfig_TimePart) Type() protoreflect.EnumType
type TransformationConfig ¶
type TransformationConfig struct { // De-identify template. // If this template is specified, it will serve as the default de-identify // template. This template cannot contain `record_transformations` since it // can be used for unstructured content such as free-form text files. If this // template is not set, a default `ReplaceWithInfoTypeConfig` will be used to // de-identify unstructured content. DeidentifyTemplate string `protobuf:"bytes,1,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` // Structured de-identify template. // If this template is specified, it will serve as the de-identify template // for structured content such as delimited files and tables. If this template // is not set but the `deidentify_template` is set, then `deidentify_template` // will also apply to the structured content. If neither template is set, a // default `ReplaceWithInfoTypeConfig` will be used to de-identify structured // content. StructuredDeidentifyTemplate string `` /* 147-byte string literal not displayed */ // Image redact template. // If this template is specified, it will serve as the de-identify template // for images. If this template is not set, all findings in the image will be // redacted with a black box. ImageRedactTemplate string `protobuf:"bytes,4,opt,name=image_redact_template,json=imageRedactTemplate,proto3" json:"image_redact_template,omitempty"` // contains filtered or unexported fields }
User specified templates and configs for how to deidentify structured, unstructures, and image files. User must provide either a unstructured deidentify template or at least one redact image config.
func (*TransformationConfig) Descriptor
deprecated
func (*TransformationConfig) Descriptor() ([]byte, []int)
Deprecated: Use TransformationConfig.ProtoReflect.Descriptor instead.
func (*TransformationConfig) GetDeidentifyTemplate ¶
func (x *TransformationConfig) GetDeidentifyTemplate() string
func (*TransformationConfig) GetImageRedactTemplate ¶
func (x *TransformationConfig) GetImageRedactTemplate() string
func (*TransformationConfig) GetStructuredDeidentifyTemplate ¶
func (x *TransformationConfig) GetStructuredDeidentifyTemplate() string
func (*TransformationConfig) ProtoMessage ¶
func (*TransformationConfig) ProtoMessage()
func (*TransformationConfig) ProtoReflect ¶
func (x *TransformationConfig) ProtoReflect() protoreflect.Message
func (*TransformationConfig) Reset ¶
func (x *TransformationConfig) Reset()
func (*TransformationConfig) String ¶
func (x *TransformationConfig) String() string
type TransformationContainerType ¶
type TransformationContainerType int32
Describes functionality of a given container in its original format.
const ( // Unused. TransformationContainerType_TRANSFORM_UNKNOWN_CONTAINER TransformationContainerType = 0 // Body of a file. TransformationContainerType_TRANSFORM_BODY TransformationContainerType = 1 // Metadata for a file. TransformationContainerType_TRANSFORM_METADATA TransformationContainerType = 2 // A table. TransformationContainerType_TRANSFORM_TABLE TransformationContainerType = 3 )
func (TransformationContainerType) Descriptor ¶
func (TransformationContainerType) Descriptor() protoreflect.EnumDescriptor
func (TransformationContainerType) Enum ¶
func (x TransformationContainerType) Enum() *TransformationContainerType
func (TransformationContainerType) EnumDescriptor
deprecated
func (TransformationContainerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransformationContainerType.Descriptor instead.
func (TransformationContainerType) Number ¶
func (x TransformationContainerType) Number() protoreflect.EnumNumber
func (TransformationContainerType) String ¶
func (x TransformationContainerType) String() string
func (TransformationContainerType) Type ¶
func (TransformationContainerType) Type() protoreflect.EnumType
type TransformationDescription ¶
type TransformationDescription struct { // The transformation type. Type TransformationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.TransformationType" json:"type,omitempty"` // A description of the transformation. This is empty for a // RECORD_SUPPRESSION, or is the output of calling toString() on the // `PrimitiveTransformation` protocol buffer message for any other type of // transformation. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // A human-readable string representation of the `RecordCondition` // corresponding to this transformation. Set if a `RecordCondition` was used // to determine whether or not to apply this transformation. // // Examples: // - (age_field > 85) // - (age_field <= 18) // - (zip_field exists) // - (zip_field == 01234) && (city_field != "Springville") // - (zip_field == 01234) && (age_field <= 18) && (city_field exists) Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` // Set if the transformation was limited to a specific `InfoType`. InfoType *InfoType `protobuf:"bytes,4,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // contains filtered or unexported fields }
A flattened description of a `PrimitiveTransformation` or `RecordSuppression`.
func (*TransformationDescription) Descriptor
deprecated
func (*TransformationDescription) Descriptor() ([]byte, []int)
Deprecated: Use TransformationDescription.ProtoReflect.Descriptor instead.
func (*TransformationDescription) GetCondition ¶
func (x *TransformationDescription) GetCondition() string
func (*TransformationDescription) GetDescription ¶
func (x *TransformationDescription) GetDescription() string
func (*TransformationDescription) GetInfoType ¶
func (x *TransformationDescription) GetInfoType() *InfoType
func (*TransformationDescription) GetType ¶
func (x *TransformationDescription) GetType() TransformationType
func (*TransformationDescription) ProtoMessage ¶
func (*TransformationDescription) ProtoMessage()
func (*TransformationDescription) ProtoReflect ¶
func (x *TransformationDescription) ProtoReflect() protoreflect.Message
func (*TransformationDescription) Reset ¶
func (x *TransformationDescription) Reset()
func (*TransformationDescription) String ¶
func (x *TransformationDescription) String() string
type TransformationDetails ¶
type TransformationDetails struct { // The name of the job that completed the transformation. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // The top level name of the container where the transformation is located // (this will be the source file name or table name). ContainerName string `protobuf:"bytes,2,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` // Description of transformation. This would only contain more than one // element if there were multiple matching transformations and which one to // apply was ambiguous. Not set for states that contain no transformation, // currently only state that contains no transformation is // TransformationResultStateType.METADATA_UNRETRIEVABLE. Transformation []*TransformationDescription `protobuf:"bytes,3,rep,name=transformation,proto3" json:"transformation,omitempty"` // Status of the transformation, if transformation was not successful, this // will specify what caused it to fail, otherwise it will show that the // transformation was successful. StatusDetails *TransformationResultStatus `protobuf:"bytes,4,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"` // The number of bytes that were transformed. If transformation was // unsuccessful or did not take place because there was no content to // transform, this will be zero. TransformedBytes int64 `protobuf:"varint,5,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` // The precise location of the transformed content in the original container. TransformationLocation *TransformationLocation `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Details about a single transformation. This object contains a description of the transformation, information about whether the transformation was successfully applied, and the precise location where the transformation occurred. These details are stored in a user-specified BigQuery table.
func (*TransformationDetails) Descriptor
deprecated
func (*TransformationDetails) Descriptor() ([]byte, []int)
Deprecated: Use TransformationDetails.ProtoReflect.Descriptor instead.
func (*TransformationDetails) GetContainerName ¶
func (x *TransformationDetails) GetContainerName() string
func (*TransformationDetails) GetResourceName ¶
func (x *TransformationDetails) GetResourceName() string
func (*TransformationDetails) GetStatusDetails ¶
func (x *TransformationDetails) GetStatusDetails() *TransformationResultStatus
func (*TransformationDetails) GetTransformation ¶
func (x *TransformationDetails) GetTransformation() []*TransformationDescription
func (*TransformationDetails) GetTransformationLocation ¶
func (x *TransformationDetails) GetTransformationLocation() *TransformationLocation
func (*TransformationDetails) GetTransformedBytes ¶
func (x *TransformationDetails) GetTransformedBytes() int64
func (*TransformationDetails) ProtoMessage ¶
func (*TransformationDetails) ProtoMessage()
func (*TransformationDetails) ProtoReflect ¶
func (x *TransformationDetails) ProtoReflect() protoreflect.Message
func (*TransformationDetails) Reset ¶
func (x *TransformationDetails) Reset()
func (*TransformationDetails) String ¶
func (x *TransformationDetails) String() string
type TransformationDetailsStorageConfig ¶
type TransformationDetailsStorageConfig struct { // Location to store the transformation summary. // // Types that are assignable to Type: // // *TransformationDetailsStorageConfig_Table Type isTransformationDetailsStorageConfig_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Config for storing transformation details.
func (*TransformationDetailsStorageConfig) Descriptor
deprecated
func (*TransformationDetailsStorageConfig) Descriptor() ([]byte, []int)
Deprecated: Use TransformationDetailsStorageConfig.ProtoReflect.Descriptor instead.
func (*TransformationDetailsStorageConfig) GetTable ¶
func (x *TransformationDetailsStorageConfig) GetTable() *BigQueryTable
func (*TransformationDetailsStorageConfig) GetType ¶
func (m *TransformationDetailsStorageConfig) GetType() isTransformationDetailsStorageConfig_Type
func (*TransformationDetailsStorageConfig) ProtoMessage ¶
func (*TransformationDetailsStorageConfig) ProtoMessage()
func (*TransformationDetailsStorageConfig) ProtoReflect ¶
func (x *TransformationDetailsStorageConfig) ProtoReflect() protoreflect.Message
func (*TransformationDetailsStorageConfig) Reset ¶
func (x *TransformationDetailsStorageConfig) Reset()
func (*TransformationDetailsStorageConfig) String ¶
func (x *TransformationDetailsStorageConfig) String() string
type TransformationDetailsStorageConfig_Table ¶
type TransformationDetailsStorageConfig_Table struct { // The BigQuery table in which to store the output. This may be an existing // table or in a new table in an existing dataset. // If table_id is not set a new one will be generated for you with the // following format: // dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific // time zone will be used for generating the date details. Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3,oneof"` }
type TransformationErrorHandling ¶
type TransformationErrorHandling struct { // How transformation errors should be handled. // // Types that are assignable to Mode: // // *TransformationErrorHandling_ThrowError_ // *TransformationErrorHandling_LeaveUntransformed_ Mode isTransformationErrorHandling_Mode `protobuf_oneof:"mode"` // contains filtered or unexported fields }
How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a `DateShift` transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the `TransformationOverviews`.
func (*TransformationErrorHandling) Descriptor
deprecated
func (*TransformationErrorHandling) Descriptor() ([]byte, []int)
Deprecated: Use TransformationErrorHandling.ProtoReflect.Descriptor instead.
func (*TransformationErrorHandling) GetLeaveUntransformed ¶
func (x *TransformationErrorHandling) GetLeaveUntransformed() *TransformationErrorHandling_LeaveUntransformed
func (*TransformationErrorHandling) GetMode ¶
func (m *TransformationErrorHandling) GetMode() isTransformationErrorHandling_Mode
func (*TransformationErrorHandling) GetThrowError ¶
func (x *TransformationErrorHandling) GetThrowError() *TransformationErrorHandling_ThrowError
func (*TransformationErrorHandling) ProtoMessage ¶
func (*TransformationErrorHandling) ProtoMessage()
func (*TransformationErrorHandling) ProtoReflect ¶
func (x *TransformationErrorHandling) ProtoReflect() protoreflect.Message
func (*TransformationErrorHandling) Reset ¶
func (x *TransformationErrorHandling) Reset()
func (*TransformationErrorHandling) String ¶
func (x *TransformationErrorHandling) String() string
type TransformationErrorHandling_LeaveUntransformed ¶
type TransformationErrorHandling_LeaveUntransformed struct {
// contains filtered or unexported fields
}
Skips the data without modifying it if the requested transformation would cause an error. For example, if a `DateShift` transformation were applied an an IP address, this mode would leave the IP address unchanged in the response.
func (*TransformationErrorHandling_LeaveUntransformed) Descriptor
deprecated
func (*TransformationErrorHandling_LeaveUntransformed) Descriptor() ([]byte, []int)
Deprecated: Use TransformationErrorHandling_LeaveUntransformed.ProtoReflect.Descriptor instead.
func (*TransformationErrorHandling_LeaveUntransformed) ProtoMessage ¶
func (*TransformationErrorHandling_LeaveUntransformed) ProtoMessage()
func (*TransformationErrorHandling_LeaveUntransformed) ProtoReflect ¶
func (x *TransformationErrorHandling_LeaveUntransformed) ProtoReflect() protoreflect.Message
func (*TransformationErrorHandling_LeaveUntransformed) Reset ¶
func (x *TransformationErrorHandling_LeaveUntransformed) Reset()
func (*TransformationErrorHandling_LeaveUntransformed) String ¶
func (x *TransformationErrorHandling_LeaveUntransformed) String() string
type TransformationErrorHandling_LeaveUntransformed_ ¶
type TransformationErrorHandling_LeaveUntransformed_ struct { // Ignore errors LeaveUntransformed *TransformationErrorHandling_LeaveUntransformed `protobuf:"bytes,2,opt,name=leave_untransformed,json=leaveUntransformed,proto3,oneof"` }
type TransformationErrorHandling_ThrowError ¶
type TransformationErrorHandling_ThrowError struct {
// contains filtered or unexported fields
}
Throw an error and fail the request when a transformation error occurs.
func (*TransformationErrorHandling_ThrowError) Descriptor
deprecated
func (*TransformationErrorHandling_ThrowError) Descriptor() ([]byte, []int)
Deprecated: Use TransformationErrorHandling_ThrowError.ProtoReflect.Descriptor instead.
func (*TransformationErrorHandling_ThrowError) ProtoMessage ¶
func (*TransformationErrorHandling_ThrowError) ProtoMessage()
func (*TransformationErrorHandling_ThrowError) ProtoReflect ¶
func (x *TransformationErrorHandling_ThrowError) ProtoReflect() protoreflect.Message
func (*TransformationErrorHandling_ThrowError) Reset ¶
func (x *TransformationErrorHandling_ThrowError) Reset()
func (*TransformationErrorHandling_ThrowError) String ¶
func (x *TransformationErrorHandling_ThrowError) String() string
type TransformationErrorHandling_ThrowError_ ¶
type TransformationErrorHandling_ThrowError_ struct { // Throw an error ThrowError *TransformationErrorHandling_ThrowError `protobuf:"bytes,1,opt,name=throw_error,json=throwError,proto3,oneof"` }
type TransformationLocation ¶
type TransformationLocation struct { // Location type. // // Types that are assignable to LocationType: // // *TransformationLocation_FindingId // *TransformationLocation_RecordTransformation LocationType isTransformationLocation_LocationType `protobuf_oneof:"location_type"` // Information about the functionality of the container where this finding // occurred, if available. ContainerType TransformationContainerType `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies the location of a transformation.
func (*TransformationLocation) Descriptor
deprecated
func (*TransformationLocation) Descriptor() ([]byte, []int)
Deprecated: Use TransformationLocation.ProtoReflect.Descriptor instead.
func (*TransformationLocation) GetContainerType ¶
func (x *TransformationLocation) GetContainerType() TransformationContainerType
func (*TransformationLocation) GetFindingId ¶
func (x *TransformationLocation) GetFindingId() string
func (*TransformationLocation) GetLocationType ¶
func (m *TransformationLocation) GetLocationType() isTransformationLocation_LocationType
func (*TransformationLocation) GetRecordTransformation ¶
func (x *TransformationLocation) GetRecordTransformation() *RecordTransformation
func (*TransformationLocation) ProtoMessage ¶
func (*TransformationLocation) ProtoMessage()
func (*TransformationLocation) ProtoReflect ¶
func (x *TransformationLocation) ProtoReflect() protoreflect.Message
func (*TransformationLocation) Reset ¶
func (x *TransformationLocation) Reset()
func (*TransformationLocation) String ¶
func (x *TransformationLocation) String() string
type TransformationLocation_FindingId ¶
type TransformationLocation_FindingId struct { // For infotype transformations, link to the corresponding findings ID so // that location information does not need to be duplicated. Each findings // ID correlates to an entry in the findings output table, this table only // gets created when users specify to save findings (add the save findings // action to the request). FindingId string `protobuf:"bytes,1,opt,name=finding_id,json=findingId,proto3,oneof"` }
type TransformationLocation_RecordTransformation ¶
type TransformationLocation_RecordTransformation struct { // For record transformations, provide a field and container information. RecordTransformation *RecordTransformation `protobuf:"bytes,2,opt,name=record_transformation,json=recordTransformation,proto3,oneof"` }
type TransformationOverview ¶
type TransformationOverview struct { // Total size in bytes that were transformed in some way. TransformedBytes int64 `protobuf:"varint,2,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` // Transformations applied to the dataset. TransformationSummaries []*TransformationSummary `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Overview of the modifications that occurred.
func (*TransformationOverview) Descriptor
deprecated
func (*TransformationOverview) Descriptor() ([]byte, []int)
Deprecated: Use TransformationOverview.ProtoReflect.Descriptor instead.
func (*TransformationOverview) GetTransformationSummaries ¶
func (x *TransformationOverview) GetTransformationSummaries() []*TransformationSummary
func (*TransformationOverview) GetTransformedBytes ¶
func (x *TransformationOverview) GetTransformedBytes() int64
func (*TransformationOverview) ProtoMessage ¶
func (*TransformationOverview) ProtoMessage()
func (*TransformationOverview) ProtoReflect ¶
func (x *TransformationOverview) ProtoReflect() protoreflect.Message
func (*TransformationOverview) Reset ¶
func (x *TransformationOverview) Reset()
func (*TransformationOverview) String ¶
func (x *TransformationOverview) String() string
type TransformationResultStatus ¶
type TransformationResultStatus struct { // Transformation result status type, this will be either SUCCESS, or it will // be the reason for why the transformation was not completely successful. ResultStatusType TransformationResultStatusType `` /* 170-byte string literal not displayed */ // Detailed error codes and messages Details *status.Status `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
The outcome of a transformation.
func (*TransformationResultStatus) Descriptor
deprecated
func (*TransformationResultStatus) Descriptor() ([]byte, []int)
Deprecated: Use TransformationResultStatus.ProtoReflect.Descriptor instead.
func (*TransformationResultStatus) GetDetails ¶
func (x *TransformationResultStatus) GetDetails() *status.Status
func (*TransformationResultStatus) GetResultStatusType ¶
func (x *TransformationResultStatus) GetResultStatusType() TransformationResultStatusType
func (*TransformationResultStatus) ProtoMessage ¶
func (*TransformationResultStatus) ProtoMessage()
func (*TransformationResultStatus) ProtoReflect ¶
func (x *TransformationResultStatus) ProtoReflect() protoreflect.Message
func (*TransformationResultStatus) Reset ¶
func (x *TransformationResultStatus) Reset()
func (*TransformationResultStatus) String ¶
func (x *TransformationResultStatus) String() string
type TransformationResultStatusType ¶
type TransformationResultStatusType int32
Enum of possible outcomes of transformations. SUCCESS if transformation and storing of transformation was successful, otherwise, reason for not transforming.
const ( // Unused. TransformationResultStatusType_STATE_TYPE_UNSPECIFIED TransformationResultStatusType = 0 // This will be set when a finding could not be transformed (i.e. outside user // set bucket range). TransformationResultStatusType_INVALID_TRANSFORM TransformationResultStatusType = 1 // This will be set when a BigQuery transformation was successful but could // not be stored back in BigQuery because the transformed row exceeds // BigQuery's max row size. TransformationResultStatusType_BIGQUERY_MAX_ROW_SIZE_EXCEEDED TransformationResultStatusType = 2 // This will be set when there is a finding in the custom metadata of a file, // but at the write time of the transformed file, this key / value pair is // unretrievable. TransformationResultStatusType_METADATA_UNRETRIEVABLE TransformationResultStatusType = 3 // This will be set when the transformation and storing of it is successful. TransformationResultStatusType_SUCCESS TransformationResultStatusType = 4 )
func (TransformationResultStatusType) Descriptor ¶
func (TransformationResultStatusType) Descriptor() protoreflect.EnumDescriptor
func (TransformationResultStatusType) Enum ¶
func (x TransformationResultStatusType) Enum() *TransformationResultStatusType
func (TransformationResultStatusType) EnumDescriptor
deprecated
func (TransformationResultStatusType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransformationResultStatusType.Descriptor instead.
func (TransformationResultStatusType) Number ¶
func (x TransformationResultStatusType) Number() protoreflect.EnumNumber
func (TransformationResultStatusType) String ¶
func (x TransformationResultStatusType) String() string
func (TransformationResultStatusType) Type ¶
func (TransformationResultStatusType) Type() protoreflect.EnumType
type TransformationSummary ¶
type TransformationSummary struct { // Set if the transformation was limited to a specific InfoType. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"` // Set if the transformation was limited to a specific FieldId. Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // The specific transformation these stats apply to. Transformation *PrimitiveTransformation `protobuf:"bytes,3,opt,name=transformation,proto3" json:"transformation,omitempty"` // The field transformation that was applied. // If multiple field transformations are requested for a single field, // this list will contain all of them; otherwise, only one is supplied. FieldTransformations []*FieldTransformation `protobuf:"bytes,5,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"` // The specific suppression option these stats apply to. RecordSuppress *RecordSuppression `protobuf:"bytes,6,opt,name=record_suppress,json=recordSuppress,proto3" json:"record_suppress,omitempty"` // Collection of all transformations that took place or had an error. Results []*TransformationSummary_SummaryResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"` // Total size in bytes that were transformed in some way. TransformedBytes int64 `protobuf:"varint,7,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"` // contains filtered or unexported fields }
Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.
func (*TransformationSummary) Descriptor
deprecated
func (*TransformationSummary) Descriptor() ([]byte, []int)
Deprecated: Use TransformationSummary.ProtoReflect.Descriptor instead.
func (*TransformationSummary) GetField ¶
func (x *TransformationSummary) GetField() *FieldId
func (*TransformationSummary) GetFieldTransformations ¶
func (x *TransformationSummary) GetFieldTransformations() []*FieldTransformation
func (*TransformationSummary) GetInfoType ¶
func (x *TransformationSummary) GetInfoType() *InfoType
func (*TransformationSummary) GetRecordSuppress ¶
func (x *TransformationSummary) GetRecordSuppress() *RecordSuppression
func (*TransformationSummary) GetResults ¶
func (x *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult
func (*TransformationSummary) GetTransformation ¶
func (x *TransformationSummary) GetTransformation() *PrimitiveTransformation
func (*TransformationSummary) GetTransformedBytes ¶
func (x *TransformationSummary) GetTransformedBytes() int64
func (*TransformationSummary) ProtoMessage ¶
func (*TransformationSummary) ProtoMessage()
func (*TransformationSummary) ProtoReflect ¶
func (x *TransformationSummary) ProtoReflect() protoreflect.Message
func (*TransformationSummary) Reset ¶
func (x *TransformationSummary) Reset()
func (*TransformationSummary) String ¶
func (x *TransformationSummary) String() string
type TransformationSummary_SummaryResult ¶
type TransformationSummary_SummaryResult struct { // Number of transformations counted by this result. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // Outcome of the transformation. Code TransformationSummary_TransformationResultCode `` /* 136-byte string literal not displayed */ // A place for warnings or errors to show up if a transformation didn't // work as expected. Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
A collection that informs the user the number of times a particular `TransformationResultCode` and error details occurred.
func (*TransformationSummary_SummaryResult) Descriptor
deprecated
func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int)
Deprecated: Use TransformationSummary_SummaryResult.ProtoReflect.Descriptor instead.
func (*TransformationSummary_SummaryResult) GetCode ¶
func (x *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode
func (*TransformationSummary_SummaryResult) GetCount ¶
func (x *TransformationSummary_SummaryResult) GetCount() int64
func (*TransformationSummary_SummaryResult) GetDetails ¶
func (x *TransformationSummary_SummaryResult) GetDetails() string
func (*TransformationSummary_SummaryResult) ProtoMessage ¶
func (*TransformationSummary_SummaryResult) ProtoMessage()
func (*TransformationSummary_SummaryResult) ProtoReflect ¶
func (x *TransformationSummary_SummaryResult) ProtoReflect() protoreflect.Message
func (*TransformationSummary_SummaryResult) Reset ¶
func (x *TransformationSummary_SummaryResult) Reset()
func (*TransformationSummary_SummaryResult) String ¶
func (x *TransformationSummary_SummaryResult) String() string
type TransformationSummary_TransformationResultCode ¶
type TransformationSummary_TransformationResultCode int32
Possible outcomes of transformations.
const ( // Unused TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED TransformationSummary_TransformationResultCode = 0 // Transformation completed without an error. TransformationSummary_SUCCESS TransformationSummary_TransformationResultCode = 1 // Transformation had an error. TransformationSummary_ERROR TransformationSummary_TransformationResultCode = 2 )
func (TransformationSummary_TransformationResultCode) Descriptor ¶
func (TransformationSummary_TransformationResultCode) Descriptor() protoreflect.EnumDescriptor
func (TransformationSummary_TransformationResultCode) EnumDescriptor
deprecated
func (TransformationSummary_TransformationResultCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransformationSummary_TransformationResultCode.Descriptor instead.
func (TransformationSummary_TransformationResultCode) Number ¶
func (x TransformationSummary_TransformationResultCode) Number() protoreflect.EnumNumber
func (TransformationSummary_TransformationResultCode) String ¶
func (x TransformationSummary_TransformationResultCode) String() string
type TransformationType ¶
type TransformationType int32
An enum of rules that can be used to transform a value. Can be a record suppression, or one of the transformation rules specified under `PrimitiveTransformation`.
const ( // Unused TransformationType_TRANSFORMATION_TYPE_UNSPECIFIED TransformationType = 0 // Record suppression TransformationType_RECORD_SUPPRESSION TransformationType = 1 // Replace value TransformationType_REPLACE_VALUE TransformationType = 2 // Replace value using a dictionary. TransformationType_REPLACE_DICTIONARY TransformationType = 15 // Redact TransformationType_REDACT TransformationType = 3 // Character mask TransformationType_CHARACTER_MASK TransformationType = 4 // FFX-FPE TransformationType_CRYPTO_REPLACE_FFX_FPE TransformationType = 5 // Fixed size bucketing TransformationType_FIXED_SIZE_BUCKETING TransformationType = 6 // Bucketing TransformationType_BUCKETING TransformationType = 7 // Replace with info type TransformationType_REPLACE_WITH_INFO_TYPE TransformationType = 8 // Time part TransformationType_TIME_PART TransformationType = 9 // Crypto hash TransformationType_CRYPTO_HASH TransformationType = 10 // Date shift TransformationType_DATE_SHIFT TransformationType = 12 // Deterministic crypto TransformationType_CRYPTO_DETERMINISTIC_CONFIG TransformationType = 13 // Redact image TransformationType_REDACT_IMAGE TransformationType = 14 )
func (TransformationType) Descriptor ¶
func (TransformationType) Descriptor() protoreflect.EnumDescriptor
func (TransformationType) Enum ¶
func (x TransformationType) Enum() *TransformationType
func (TransformationType) EnumDescriptor
deprecated
func (TransformationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransformationType.Descriptor instead.
func (TransformationType) Number ¶
func (x TransformationType) Number() protoreflect.EnumNumber
func (TransformationType) String ¶
func (x TransformationType) String() string
func (TransformationType) Type ¶
func (TransformationType) Type() protoreflect.EnumType
type TransientCryptoKey ¶
type TransientCryptoKey struct { // Required. Name of the key. // This is an arbitrary string used to differentiate different keys. // A unique key is generated per name: two separate `TransientCryptoKey` // protos share the same generated key if their names are the same. // When the data crypto key is generated, this name is not used in any way // (repeating the api call will result in a different key being generated). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Use this to have a random data crypto key generated. It will be discarded after the request finishes.
func (*TransientCryptoKey) Descriptor
deprecated
func (*TransientCryptoKey) Descriptor() ([]byte, []int)
Deprecated: Use TransientCryptoKey.ProtoReflect.Descriptor instead.
func (*TransientCryptoKey) GetName ¶
func (x *TransientCryptoKey) GetName() string
func (*TransientCryptoKey) ProtoMessage ¶
func (*TransientCryptoKey) ProtoMessage()
func (*TransientCryptoKey) ProtoReflect ¶
func (x *TransientCryptoKey) ProtoReflect() protoreflect.Message
func (*TransientCryptoKey) Reset ¶
func (x *TransientCryptoKey) Reset()
func (*TransientCryptoKey) String ¶
func (x *TransientCryptoKey) String() string
type UnimplementedDlpServiceServer ¶
type UnimplementedDlpServiceServer struct { }
UnimplementedDlpServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDlpServiceServer) ActivateJobTrigger ¶
func (*UnimplementedDlpServiceServer) ActivateJobTrigger(context.Context, *ActivateJobTriggerRequest) (*DlpJob, error)
func (*UnimplementedDlpServiceServer) CancelDlpJob ¶
func (*UnimplementedDlpServiceServer) CancelDlpJob(context.Context, *CancelDlpJobRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) CreateDeidentifyTemplate ¶
func (*UnimplementedDlpServiceServer) CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
func (*UnimplementedDlpServiceServer) CreateDiscoveryConfig ¶ added in v1.11.0
func (*UnimplementedDlpServiceServer) CreateDiscoveryConfig(context.Context, *CreateDiscoveryConfigRequest) (*DiscoveryConfig, error)
func (*UnimplementedDlpServiceServer) CreateDlpJob ¶
func (*UnimplementedDlpServiceServer) CreateDlpJob(context.Context, *CreateDlpJobRequest) (*DlpJob, error)
func (*UnimplementedDlpServiceServer) CreateInspectTemplate ¶
func (*UnimplementedDlpServiceServer) CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error)
func (*UnimplementedDlpServiceServer) CreateJobTrigger ¶
func (*UnimplementedDlpServiceServer) CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error)
func (*UnimplementedDlpServiceServer) CreateStoredInfoType ¶
func (*UnimplementedDlpServiceServer) CreateStoredInfoType(context.Context, *CreateStoredInfoTypeRequest) (*StoredInfoType, error)
func (*UnimplementedDlpServiceServer) DeidentifyContent ¶
func (*UnimplementedDlpServiceServer) DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error)
func (*UnimplementedDlpServiceServer) DeleteDeidentifyTemplate ¶
func (*UnimplementedDlpServiceServer) DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) DeleteDiscoveryConfig ¶ added in v1.11.0
func (*UnimplementedDlpServiceServer) DeleteDiscoveryConfig(context.Context, *DeleteDiscoveryConfigRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) DeleteDlpJob ¶
func (*UnimplementedDlpServiceServer) DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) DeleteInspectTemplate ¶
func (*UnimplementedDlpServiceServer) DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) DeleteJobTrigger ¶
func (*UnimplementedDlpServiceServer) DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) DeleteStoredInfoType ¶
func (*UnimplementedDlpServiceServer) DeleteStoredInfoType(context.Context, *DeleteStoredInfoTypeRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) FinishDlpJob ¶
func (*UnimplementedDlpServiceServer) FinishDlpJob(context.Context, *FinishDlpJobRequest) (*emptypb.Empty, error)
func (*UnimplementedDlpServiceServer) GetColumnDataProfile ¶ added in v1.12.0
func (*UnimplementedDlpServiceServer) GetColumnDataProfile(context.Context, *GetColumnDataProfileRequest) (*ColumnDataProfile, error)
func (*UnimplementedDlpServiceServer) GetDeidentifyTemplate ¶
func (*UnimplementedDlpServiceServer) GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
func (*UnimplementedDlpServiceServer) GetDiscoveryConfig ¶ added in v1.11.0
func (*UnimplementedDlpServiceServer) GetDiscoveryConfig(context.Context, *GetDiscoveryConfigRequest) (*DiscoveryConfig, error)
func (*UnimplementedDlpServiceServer) GetDlpJob ¶
func (*UnimplementedDlpServiceServer) GetDlpJob(context.Context, *GetDlpJobRequest) (*DlpJob, error)
func (*UnimplementedDlpServiceServer) GetInspectTemplate ¶
func (*UnimplementedDlpServiceServer) GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error)
func (*UnimplementedDlpServiceServer) GetJobTrigger ¶
func (*UnimplementedDlpServiceServer) GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error)
func (*UnimplementedDlpServiceServer) GetProjectDataProfile ¶ added in v1.12.0
func (*UnimplementedDlpServiceServer) GetProjectDataProfile(context.Context, *GetProjectDataProfileRequest) (*ProjectDataProfile, error)
func (*UnimplementedDlpServiceServer) GetStoredInfoType ¶
func (*UnimplementedDlpServiceServer) GetStoredInfoType(context.Context, *GetStoredInfoTypeRequest) (*StoredInfoType, error)
func (*UnimplementedDlpServiceServer) GetTableDataProfile ¶ added in v1.12.0
func (*UnimplementedDlpServiceServer) GetTableDataProfile(context.Context, *GetTableDataProfileRequest) (*TableDataProfile, error)
func (*UnimplementedDlpServiceServer) HybridInspectDlpJob ¶
func (*UnimplementedDlpServiceServer) HybridInspectDlpJob(context.Context, *HybridInspectDlpJobRequest) (*HybridInspectResponse, error)
func (*UnimplementedDlpServiceServer) HybridInspectJobTrigger ¶
func (*UnimplementedDlpServiceServer) HybridInspectJobTrigger(context.Context, *HybridInspectJobTriggerRequest) (*HybridInspectResponse, error)
func (*UnimplementedDlpServiceServer) InspectContent ¶
func (*UnimplementedDlpServiceServer) InspectContent(context.Context, *InspectContentRequest) (*InspectContentResponse, error)
func (*UnimplementedDlpServiceServer) ListColumnDataProfiles ¶ added in v1.12.0
func (*UnimplementedDlpServiceServer) ListColumnDataProfiles(context.Context, *ListColumnDataProfilesRequest) (*ListColumnDataProfilesResponse, error)
func (*UnimplementedDlpServiceServer) ListDeidentifyTemplates ¶
func (*UnimplementedDlpServiceServer) ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error)
func (*UnimplementedDlpServiceServer) ListDiscoveryConfigs ¶ added in v1.11.0
func (*UnimplementedDlpServiceServer) ListDiscoveryConfigs(context.Context, *ListDiscoveryConfigsRequest) (*ListDiscoveryConfigsResponse, error)
func (*UnimplementedDlpServiceServer) ListDlpJobs ¶
func (*UnimplementedDlpServiceServer) ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error)
func (*UnimplementedDlpServiceServer) ListInfoTypes ¶
func (*UnimplementedDlpServiceServer) ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error)
func (*UnimplementedDlpServiceServer) ListInspectTemplates ¶
func (*UnimplementedDlpServiceServer) ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error)
func (*UnimplementedDlpServiceServer) ListJobTriggers ¶
func (*UnimplementedDlpServiceServer) ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error)
func (*UnimplementedDlpServiceServer) ListProjectDataProfiles ¶ added in v1.12.0
func (*UnimplementedDlpServiceServer) ListProjectDataProfiles(context.Context, *ListProjectDataProfilesRequest) (*ListProjectDataProfilesResponse, error)
func (*UnimplementedDlpServiceServer) ListStoredInfoTypes ¶
func (*UnimplementedDlpServiceServer) ListStoredInfoTypes(context.Context, *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error)
func (*UnimplementedDlpServiceServer) ListTableDataProfiles ¶ added in v1.12.0
func (*UnimplementedDlpServiceServer) ListTableDataProfiles(context.Context, *ListTableDataProfilesRequest) (*ListTableDataProfilesResponse, error)
func (*UnimplementedDlpServiceServer) RedactImage ¶
func (*UnimplementedDlpServiceServer) RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error)
func (*UnimplementedDlpServiceServer) ReidentifyContent ¶
func (*UnimplementedDlpServiceServer) ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error)
func (*UnimplementedDlpServiceServer) UpdateDeidentifyTemplate ¶
func (*UnimplementedDlpServiceServer) UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
func (*UnimplementedDlpServiceServer) UpdateDiscoveryConfig ¶ added in v1.11.0
func (*UnimplementedDlpServiceServer) UpdateDiscoveryConfig(context.Context, *UpdateDiscoveryConfigRequest) (*DiscoveryConfig, error)
func (*UnimplementedDlpServiceServer) UpdateInspectTemplate ¶
func (*UnimplementedDlpServiceServer) UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error)
func (*UnimplementedDlpServiceServer) UpdateJobTrigger ¶
func (*UnimplementedDlpServiceServer) UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error)
func (*UnimplementedDlpServiceServer) UpdateStoredInfoType ¶
func (*UnimplementedDlpServiceServer) UpdateStoredInfoType(context.Context, *UpdateStoredInfoTypeRequest) (*StoredInfoType, error)
type UniquenessScoreLevel ¶ added in v1.11.0
type UniquenessScoreLevel int32
Bucketized uniqueness score levels. A higher uniqueness score is a strong signal that the column may contain a unique identifier like user id. A low value indicates that the column contains few unique values like booleans or other classifiers.
const ( // Some columns do not have estimated uniqueness. Possible reasons include // having too few values. UniquenessScoreLevel_UNIQUENESS_SCORE_LEVEL_UNSPECIFIED UniquenessScoreLevel = 0 // Low uniqueness, possibly a boolean, enum or similiarly typed column. UniquenessScoreLevel_UNIQUENESS_SCORE_LOW UniquenessScoreLevel = 1 // Medium uniqueness. UniquenessScoreLevel_UNIQUENESS_SCORE_MEDIUM UniquenessScoreLevel = 2 // High uniqueness, possibly a column of free text or unique identifiers. UniquenessScoreLevel_UNIQUENESS_SCORE_HIGH UniquenessScoreLevel = 3 )
func (UniquenessScoreLevel) Descriptor ¶ added in v1.11.0
func (UniquenessScoreLevel) Descriptor() protoreflect.EnumDescriptor
func (UniquenessScoreLevel) Enum ¶ added in v1.11.0
func (x UniquenessScoreLevel) Enum() *UniquenessScoreLevel
func (UniquenessScoreLevel) EnumDescriptor
deprecated
added in
v1.11.0
func (UniquenessScoreLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use UniquenessScoreLevel.Descriptor instead.
func (UniquenessScoreLevel) Number ¶ added in v1.11.0
func (x UniquenessScoreLevel) Number() protoreflect.EnumNumber
func (UniquenessScoreLevel) String ¶ added in v1.11.0
func (x UniquenessScoreLevel) String() string
func (UniquenessScoreLevel) Type ¶ added in v1.11.0
func (UniquenessScoreLevel) Type() protoreflect.EnumType
type UnwrappedCryptoKey ¶
type UnwrappedCryptoKey struct { // Required. A 128/192/256 bit key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.
func (*UnwrappedCryptoKey) Descriptor
deprecated
func (*UnwrappedCryptoKey) Descriptor() ([]byte, []int)
Deprecated: Use UnwrappedCryptoKey.ProtoReflect.Descriptor instead.
func (*UnwrappedCryptoKey) GetKey ¶
func (x *UnwrappedCryptoKey) GetKey() []byte
func (*UnwrappedCryptoKey) ProtoMessage ¶
func (*UnwrappedCryptoKey) ProtoMessage()
func (*UnwrappedCryptoKey) ProtoReflect ¶
func (x *UnwrappedCryptoKey) ProtoReflect() protoreflect.Message
func (*UnwrappedCryptoKey) Reset ¶
func (x *UnwrappedCryptoKey) Reset()
func (*UnwrappedCryptoKey) String ¶
func (x *UnwrappedCryptoKey) String() string
type UpdateDeidentifyTemplateRequest ¶
type UpdateDeidentifyTemplateRequest struct { // Required. Resource name of organization and deidentify template to be // updated, for example // `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New DeidentifyTemplate value. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` // Mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateDeidentifyTemplate.
func (*UpdateDeidentifyTemplateRequest) Descriptor
deprecated
func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeidentifyTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate ¶
func (x *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
func (*UpdateDeidentifyTemplateRequest) GetName ¶
func (x *UpdateDeidentifyTemplateRequest) GetName() string
func (*UpdateDeidentifyTemplateRequest) GetUpdateMask ¶
func (x *UpdateDeidentifyTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDeidentifyTemplateRequest) ProtoMessage ¶
func (*UpdateDeidentifyTemplateRequest) ProtoMessage()
func (*UpdateDeidentifyTemplateRequest) ProtoReflect ¶
func (x *UpdateDeidentifyTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeidentifyTemplateRequest) Reset ¶
func (x *UpdateDeidentifyTemplateRequest) Reset()
func (*UpdateDeidentifyTemplateRequest) String ¶
func (x *UpdateDeidentifyTemplateRequest) String() string
type UpdateDiscoveryConfigRequest ¶ added in v1.11.0
type UpdateDiscoveryConfigRequest struct { // Required. Resource name of the project and the configuration, for example // `projects/dlp-test-project/discoveryConfigs/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. New DiscoveryConfig value. DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,2,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"` // Mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateDiscoveryConfig.
func (*UpdateDiscoveryConfigRequest) Descriptor
deprecated
added in
v1.11.0
func (*UpdateDiscoveryConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiscoveryConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateDiscoveryConfigRequest) GetDiscoveryConfig ¶ added in v1.11.0
func (x *UpdateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig
func (*UpdateDiscoveryConfigRequest) GetName ¶ added in v1.11.0
func (x *UpdateDiscoveryConfigRequest) GetName() string
func (*UpdateDiscoveryConfigRequest) GetUpdateMask ¶ added in v1.11.0
func (x *UpdateDiscoveryConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDiscoveryConfigRequest) ProtoMessage ¶ added in v1.11.0
func (*UpdateDiscoveryConfigRequest) ProtoMessage()
func (*UpdateDiscoveryConfigRequest) ProtoReflect ¶ added in v1.11.0
func (x *UpdateDiscoveryConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateDiscoveryConfigRequest) Reset ¶ added in v1.11.0
func (x *UpdateDiscoveryConfigRequest) Reset()
func (*UpdateDiscoveryConfigRequest) String ¶ added in v1.11.0
func (x *UpdateDiscoveryConfigRequest) String() string
type UpdateInspectTemplateRequest ¶
type UpdateInspectTemplateRequest struct { // Required. Resource name of organization and inspectTemplate to be updated, // for example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New InspectTemplate value. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` // Mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateInspectTemplate.
func (*UpdateInspectTemplateRequest) Descriptor
deprecated
func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInspectTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateInspectTemplateRequest) GetInspectTemplate ¶
func (x *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
func (*UpdateInspectTemplateRequest) GetName ¶
func (x *UpdateInspectTemplateRequest) GetName() string
func (*UpdateInspectTemplateRequest) GetUpdateMask ¶
func (x *UpdateInspectTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInspectTemplateRequest) ProtoMessage ¶
func (*UpdateInspectTemplateRequest) ProtoMessage()
func (*UpdateInspectTemplateRequest) ProtoReflect ¶
func (x *UpdateInspectTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateInspectTemplateRequest) Reset ¶
func (x *UpdateInspectTemplateRequest) Reset()
func (*UpdateInspectTemplateRequest) String ¶
func (x *UpdateInspectTemplateRequest) String() string
type UpdateJobTriggerRequest ¶
type UpdateJobTriggerRequest struct { // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New JobTrigger value. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"` // Mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateJobTrigger.
func (*UpdateJobTriggerRequest) Descriptor
deprecated
func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobTriggerRequest.ProtoReflect.Descriptor instead.
func (*UpdateJobTriggerRequest) GetJobTrigger ¶
func (x *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger
func (*UpdateJobTriggerRequest) GetName ¶
func (x *UpdateJobTriggerRequest) GetName() string
func (*UpdateJobTriggerRequest) GetUpdateMask ¶
func (x *UpdateJobTriggerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateJobTriggerRequest) ProtoMessage ¶
func (*UpdateJobTriggerRequest) ProtoMessage()
func (*UpdateJobTriggerRequest) ProtoReflect ¶
func (x *UpdateJobTriggerRequest) ProtoReflect() protoreflect.Message
func (*UpdateJobTriggerRequest) Reset ¶
func (x *UpdateJobTriggerRequest) Reset()
func (*UpdateJobTriggerRequest) String ¶
func (x *UpdateJobTriggerRequest) String() string
type UpdateStoredInfoTypeRequest ¶
type UpdateStoredInfoTypeRequest struct { // Required. Resource name of organization and storedInfoType to be updated, // for example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Updated configuration for the storedInfoType. If not provided, a new // version of the storedInfoType will be created with the existing // configuration. Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateStoredInfoType.
func (*UpdateStoredInfoTypeRequest) Descriptor
deprecated
func (*UpdateStoredInfoTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStoredInfoTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateStoredInfoTypeRequest) GetConfig ¶
func (x *UpdateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig
func (*UpdateStoredInfoTypeRequest) GetName ¶
func (x *UpdateStoredInfoTypeRequest) GetName() string
func (*UpdateStoredInfoTypeRequest) GetUpdateMask ¶
func (x *UpdateStoredInfoTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateStoredInfoTypeRequest) ProtoMessage ¶
func (*UpdateStoredInfoTypeRequest) ProtoMessage()
func (*UpdateStoredInfoTypeRequest) ProtoReflect ¶
func (x *UpdateStoredInfoTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateStoredInfoTypeRequest) Reset ¶
func (x *UpdateStoredInfoTypeRequest) Reset()
func (*UpdateStoredInfoTypeRequest) String ¶
func (x *UpdateStoredInfoTypeRequest) String() string
type Value ¶
type Value struct { // Value types // // Types that are assignable to Type: // // *Value_IntegerValue // *Value_FloatValue // *Value_StringValue // *Value_BooleanValue // *Value_TimestampValue // *Value_TimeValue // *Value_DateValue // *Value_DayOfWeekValue Type isValue_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.
func (*Value) Descriptor
deprecated
func (*Value) GetBooleanValue ¶
func (*Value) GetDateValue ¶
func (*Value) GetDayOfWeekValue ¶
func (*Value) GetFloatValue ¶
func (*Value) GetIntegerValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetTimeValue ¶
func (*Value) GetTimestampValue ¶
func (x *Value) GetTimestampValue() *timestamppb.Timestamp
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type ValueFrequency ¶
type ValueFrequency struct { // A value contained in the field in question. Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // How many times the value is contained in the field. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
A value of a field, including its frequency.
func (*ValueFrequency) Descriptor
deprecated
func (*ValueFrequency) Descriptor() ([]byte, []int)
Deprecated: Use ValueFrequency.ProtoReflect.Descriptor instead.
func (*ValueFrequency) GetCount ¶
func (x *ValueFrequency) GetCount() int64
func (*ValueFrequency) GetValue ¶
func (x *ValueFrequency) GetValue() *Value
func (*ValueFrequency) ProtoMessage ¶
func (*ValueFrequency) ProtoMessage()
func (*ValueFrequency) ProtoReflect ¶
func (x *ValueFrequency) ProtoReflect() protoreflect.Message
func (*ValueFrequency) Reset ¶
func (x *ValueFrequency) Reset()
func (*ValueFrequency) String ¶
func (x *ValueFrequency) String() string
type Value_BooleanValue ¶
type Value_BooleanValue struct { // boolean BooleanValue bool `protobuf:"varint,4,opt,name=boolean_value,json=booleanValue,proto3,oneof"` }
type Value_DateValue ¶
type Value_DayOfWeekValue ¶
type Value_FloatValue ¶
type Value_FloatValue struct { // float FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"` }
type Value_IntegerValue ¶
type Value_IntegerValue struct { // integer IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,proto3,oneof"` }
type Value_StringValue ¶
type Value_StringValue struct { // string StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` }
type Value_TimeValue ¶
type Value_TimestampValue ¶
type Value_TimestampValue struct { // timestamp TimestampValue *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` }
type VersionDescription ¶
type VersionDescription struct { // Name of the version Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Description of the version. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Details about each available version for an infotype.
func (*VersionDescription) Descriptor
deprecated
func (*VersionDescription) Descriptor() ([]byte, []int)
Deprecated: Use VersionDescription.ProtoReflect.Descriptor instead.
func (*VersionDescription) GetDescription ¶
func (x *VersionDescription) GetDescription() string
func (*VersionDescription) GetVersion ¶
func (x *VersionDescription) GetVersion() string
func (*VersionDescription) ProtoMessage ¶
func (*VersionDescription) ProtoMessage()
func (*VersionDescription) ProtoReflect ¶
func (x *VersionDescription) ProtoReflect() protoreflect.Message
func (*VersionDescription) Reset ¶
func (x *VersionDescription) Reset()
func (*VersionDescription) String ¶
func (x *VersionDescription) String() string