Documentation
¶
Overview ¶
Package dlp is a generated protocol buffer package.
It is generated from these files:
google/privacy/dlp/v2beta2/dlp.proto google/privacy/dlp/v2beta2/storage.proto
It has these top-level messages:
InspectConfig ContentItem Table InspectResult Finding Location TableLocation Range ImageLocation RedactImageRequest Color RedactImageResponse DeidentifyContentRequest DeidentifyContentResponse ReidentifyContentRequest ReidentifyContentResponse InspectContentRequest InspectContentResponse InspectDataSourceRequest OutputStorageConfig InfoTypeStatistics InspectDataSourceDetails InfoTypeDescription ListInfoTypesRequest ListInfoTypesResponse AnalyzeDataSourceRiskRequest RiskAnalysisJobConfig PrivacyMetric AnalyzeDataSourceRiskDetails ValueFrequency Value QuoteInfo DateTime DeidentifyConfig PrimitiveTransformation TimePartConfig CryptoHashConfig ReplaceValueConfig ReplaceWithInfoTypeConfig RedactConfig CharsToIgnore CharacterMaskConfig FixedSizeBucketingConfig BucketingConfig CryptoReplaceFfxFpeConfig CryptoKey TransientCryptoKey UnwrappedCryptoKey KmsWrappedCryptoKey DateShiftConfig InfoTypeTransformations FieldTransformation RecordTransformations RecordSuppression RecordCondition TransformationOverview TransformationSummary Schedule InspectTemplate DeidentifyTemplate JobTrigger Action CreateInspectTemplateRequest UpdateInspectTemplateRequest GetInspectTemplateRequest ListInspectTemplatesRequest ListInspectTemplatesResponse DeleteInspectTemplateRequest CreateJobTriggerRequest UpdateJobTriggerRequest GetJobTriggerRequest ListJobTriggersRequest ListJobTriggersResponse DeleteJobTriggerRequest InspectJobConfig DlpJob GetDlpJobRequest ListDlpJobsRequest ListDlpJobsResponse CancelDlpJobRequest DeleteDlpJobRequest CreateDeidentifyTemplateRequest UpdateDeidentifyTemplateRequest GetDeidentifyTemplateRequest ListDeidentifyTemplatesRequest ListDeidentifyTemplatesResponse DeleteDeidentifyTemplateRequest InfoType CustomInfoType FieldId PartitionId KindExpression DatastoreOptions CloudStorageOptions BigQueryOptions StorageConfig BigQueryKey CloudStorageKey DatastoreKey Key RecordKey BigQueryTable EntityId
Index ¶
- Variables
- func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)
- func (m *Action) GetAction() isAction_Action
- func (m *Action) GetPubSub() *Action_PublishToPubSub
- func (m *Action) GetSaveFindings() *Action_SaveFindings
- func (*Action) ProtoMessage()
- func (m *Action) Reset()
- func (m *Action) String() string
- func (*Action) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Action_PubSub
- type Action_PublishToPubSub
- type Action_SaveFindings
- type Action_SaveFindings_
- type AnalyzeDataSourceRiskDetails
- func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult
- func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult
- func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult
- func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult
- func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult
- func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric
- func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable
- func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result
- func (*AnalyzeDataSourceRiskDetails) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails) Reset()
- func (m *AnalyzeDataSourceRiskDetails) String() string
- func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AnalyzeDataSourceRiskDetails_CategoricalStatsResult
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() ...
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string
- type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_
- type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64
- func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset()
- func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_KAnonymityResult
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string
- type AnalyzeDataSourceRiskDetails_KAnonymityResult_
- type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string
- type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64
- func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()
- func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() ...
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult_
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() ...
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset()
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset()
- func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string
- type AnalyzeDataSourceRiskDetails_LDiversityResult
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string
- type AnalyzeDataSourceRiskDetails_LDiversityResult_
- type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string
- type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64
- func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()
- func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string
- type AnalyzeDataSourceRiskDetails_NumericalStatsResult
- func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value
- func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value
- func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value
- func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()
- func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()
- func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string
- type AnalyzeDataSourceRiskDetails_NumericalStatsResult_
- type AnalyzeDataSourceRiskRequest
- func (*AnalyzeDataSourceRiskRequest) Descriptor() ([]byte, []int)
- func (m *AnalyzeDataSourceRiskRequest) GetJobConfig() *RiskAnalysisJobConfig
- func (m *AnalyzeDataSourceRiskRequest) GetJobId() string
- func (m *AnalyzeDataSourceRiskRequest) GetParent() string
- func (*AnalyzeDataSourceRiskRequest) ProtoMessage()
- func (m *AnalyzeDataSourceRiskRequest) Reset()
- func (m *AnalyzeDataSourceRiskRequest) String() string
- type BigQueryKey
- type BigQueryOptions
- type BigQueryTable
- type BucketingConfig
- type BucketingConfig_Bucket
- func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int)
- func (m *BucketingConfig_Bucket) GetMax() *Value
- func (m *BucketingConfig_Bucket) GetMin() *Value
- func (m *BucketingConfig_Bucket) GetReplacementValue() *Value
- func (*BucketingConfig_Bucket) ProtoMessage()
- func (m *BucketingConfig_Bucket) Reset()
- func (m *BucketingConfig_Bucket) String() string
- type CancelDlpJobRequest
- type CharacterMaskConfig
- func (*CharacterMaskConfig) Descriptor() ([]byte, []int)
- func (m *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore
- func (m *CharacterMaskConfig) GetMaskingCharacter() string
- func (m *CharacterMaskConfig) GetNumberToMask() int32
- func (m *CharacterMaskConfig) GetReverseOrder() bool
- func (*CharacterMaskConfig) ProtoMessage()
- func (m *CharacterMaskConfig) Reset()
- func (m *CharacterMaskConfig) String() string
- type CharsToIgnore
- func (*CharsToIgnore) Descriptor() ([]byte, []int)
- func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters
- func (m *CharsToIgnore) GetCharactersToSkip() string
- func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore
- func (*CharsToIgnore) ProtoMessage()
- func (m *CharsToIgnore) Reset()
- func (m *CharsToIgnore) String() string
- func (*CharsToIgnore) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CharsToIgnore_CharactersToSkip
- type CharsToIgnore_CommonCharactersToIgnore
- type CharsToIgnore_CommonCharsToIgnore
- type CloudStorageKey
- type CloudStorageOptions
- func (*CloudStorageOptions) Descriptor() ([]byte, []int)
- func (m *CloudStorageOptions) GetBytesLimitPerFile() int64
- func (m *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet
- func (*CloudStorageOptions) ProtoMessage()
- func (m *CloudStorageOptions) Reset()
- func (m *CloudStorageOptions) String() string
- type CloudStorageOptions_FileSet
- type Color
- type ContentItem
- func (*ContentItem) Descriptor() ([]byte, []int)
- func (m *ContentItem) GetData() []byte
- func (m *ContentItem) GetDataItem() isContentItem_DataItem
- func (m *ContentItem) GetTable() *Table
- func (m *ContentItem) GetType() string
- func (m *ContentItem) GetValue() string
- func (*ContentItem) ProtoMessage()
- func (m *ContentItem) Reset()
- func (m *ContentItem) String() string
- func (*ContentItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ContentItem_Data
- type ContentItem_Table
- type ContentItem_Value
- type CreateDeidentifyTemplateRequest
- func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
- func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
- func (m *CreateDeidentifyTemplateRequest) GetParent() string
- func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string
- func (*CreateDeidentifyTemplateRequest) ProtoMessage()
- func (m *CreateDeidentifyTemplateRequest) Reset()
- func (m *CreateDeidentifyTemplateRequest) String() string
- type CreateInspectTemplateRequest
- func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int)
- func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
- func (m *CreateInspectTemplateRequest) GetParent() string
- func (m *CreateInspectTemplateRequest) GetTemplateId() string
- func (*CreateInspectTemplateRequest) ProtoMessage()
- func (m *CreateInspectTemplateRequest) Reset()
- func (m *CreateInspectTemplateRequest) String() string
- type CreateJobTriggerRequest
- func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int)
- func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger
- func (m *CreateJobTriggerRequest) GetParent() string
- func (m *CreateJobTriggerRequest) GetTriggerId() string
- func (*CreateJobTriggerRequest) ProtoMessage()
- func (m *CreateJobTriggerRequest) Reset()
- func (m *CreateJobTriggerRequest) String() string
- type CryptoHashConfig
- type CryptoKey
- func (*CryptoKey) Descriptor() ([]byte, []int)
- func (m *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey
- func (m *CryptoKey) GetSource() isCryptoKey_Source
- func (m *CryptoKey) GetTransient() *TransientCryptoKey
- func (m *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey
- func (*CryptoKey) ProtoMessage()
- func (m *CryptoKey) Reset()
- func (m *CryptoKey) String() string
- func (*CryptoKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CryptoKey_KmsWrapped
- type CryptoKey_Transient
- type CryptoKey_Unwrapped
- type CryptoReplaceFfxFpeConfig
- func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int)
- func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet
- func (m *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
- func (m *CryptoReplaceFfxFpeConfig) GetContext() *FieldId
- func (m *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey
- func (m *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string
- func (m *CryptoReplaceFfxFpeConfig) GetRadix() int32
- func (m *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType
- func (*CryptoReplaceFfxFpeConfig) ProtoMessage()
- func (m *CryptoReplaceFfxFpeConfig) Reset()
- func (m *CryptoReplaceFfxFpeConfig) String() string
- func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CryptoReplaceFfxFpeConfig_CommonAlphabet
- type CryptoReplaceFfxFpeConfig_CustomAlphabet
- type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
- type CryptoReplaceFfxFpeConfig_Radix
- type CustomInfoType
- func (*CustomInfoType) Descriptor() ([]byte, []int)
- func (m *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule
- func (m *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary
- func (m *CustomInfoType) GetInfoType() *InfoType
- func (m *CustomInfoType) GetLikelihood() Likelihood
- func (m *CustomInfoType) GetRegex() *CustomInfoType_Regex
- func (m *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType
- func (m *CustomInfoType) GetType() isCustomInfoType_Type
- func (*CustomInfoType) ProtoMessage()
- func (m *CustomInfoType) Reset()
- func (m *CustomInfoType) String() string
- func (*CustomInfoType) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CustomInfoType_DetectionRule
- func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int)
- func (m *CustomInfoType_DetectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule
- func (m *CustomInfoType_DetectionRule) GetType() isCustomInfoType_DetectionRule_Type
- func (*CustomInfoType_DetectionRule) ProtoMessage()
- func (m *CustomInfoType_DetectionRule) Reset()
- func (m *CustomInfoType_DetectionRule) String() string
- func (*CustomInfoType_DetectionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CustomInfoType_DetectionRule_HotwordRule
- func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor() ([]byte, []int)
- func (m *CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex() *CustomInfoType_Regex
- func (m *CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment() *CustomInfoType_DetectionRule_LikelihoodAdjustment
- func (m *CustomInfoType_DetectionRule_HotwordRule) GetProximity() *CustomInfoType_DetectionRule_Proximity
- func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage()
- func (m *CustomInfoType_DetectionRule_HotwordRule) Reset()
- func (m *CustomInfoType_DetectionRule_HotwordRule) String() string
- type CustomInfoType_DetectionRule_HotwordRule_
- type CustomInfoType_DetectionRule_LikelihoodAdjustment
- func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor() ([]byte, []int)
- func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment
- func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood() Likelihood
- func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32
- func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage()
- func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset()
- func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string
- func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood
- type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood
- type CustomInfoType_DetectionRule_Proximity
- func (*CustomInfoType_DetectionRule_Proximity) Descriptor() ([]byte, []int)
- func (m *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32
- func (m *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32
- func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage()
- func (m *CustomInfoType_DetectionRule_Proximity) Reset()
- func (m *CustomInfoType_DetectionRule_Proximity) String() string
- type CustomInfoType_Dictionary
- func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int)
- func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source
- func (m *CustomInfoType_Dictionary) GetWordList() *CustomInfoType_Dictionary_WordList
- func (*CustomInfoType_Dictionary) ProtoMessage()
- func (m *CustomInfoType_Dictionary) Reset()
- func (m *CustomInfoType_Dictionary) String() string
- func (*CustomInfoType_Dictionary) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type CustomInfoType_Dictionary_
- type CustomInfoType_Dictionary_WordList
- func (*CustomInfoType_Dictionary_WordList) Descriptor() ([]byte, []int)
- func (m *CustomInfoType_Dictionary_WordList) GetWords() []string
- func (*CustomInfoType_Dictionary_WordList) ProtoMessage()
- func (m *CustomInfoType_Dictionary_WordList) Reset()
- func (m *CustomInfoType_Dictionary_WordList) String() string
- type CustomInfoType_Dictionary_WordList_
- type CustomInfoType_Regex
- type CustomInfoType_Regex_
- type CustomInfoType_SurrogateType
- type CustomInfoType_SurrogateType_
- type DatastoreKey
- type DatastoreOptions
- type DateShiftConfig
- func (*DateShiftConfig) Descriptor() ([]byte, []int)
- func (m *DateShiftConfig) GetContext() *FieldId
- func (m *DateShiftConfig) GetCryptoKey() *CryptoKey
- func (m *DateShiftConfig) GetLowerBoundDays() int32
- func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method
- func (m *DateShiftConfig) GetUpperBoundDays() int32
- func (*DateShiftConfig) ProtoMessage()
- func (m *DateShiftConfig) Reset()
- func (m *DateShiftConfig) String() string
- func (*DateShiftConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type DateShiftConfig_CryptoKey
- type DateTime
- func (*DateTime) Descriptor() ([]byte, []int)
- func (m *DateTime) GetDate() *google_type.Date
- func (m *DateTime) GetDayOfWeek() google_type1.DayOfWeek
- func (m *DateTime) GetTime() *google_type2.TimeOfDay
- func (m *DateTime) GetTimeZone() *DateTime_TimeZone
- func (*DateTime) ProtoMessage()
- func (m *DateTime) Reset()
- func (m *DateTime) String() string
- type DateTime_TimeZone
- type DeidentifyConfig
- func (*DeidentifyConfig) Descriptor() ([]byte, []int)
- func (m *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations
- func (m *DeidentifyConfig) GetRecordTransformations() *RecordTransformations
- func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation
- func (*DeidentifyConfig) ProtoMessage()
- func (m *DeidentifyConfig) Reset()
- func (m *DeidentifyConfig) String() string
- func (*DeidentifyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type DeidentifyConfig_InfoTypeTransformations
- type DeidentifyConfig_RecordTransformations
- type DeidentifyContentRequest
- func (*DeidentifyContentRequest) Descriptor() ([]byte, []int)
- func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig
- func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string
- func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig
- func (m *DeidentifyContentRequest) GetInspectTemplateName() string
- func (m *DeidentifyContentRequest) GetItem() *ContentItem
- func (m *DeidentifyContentRequest) GetParent() string
- func (*DeidentifyContentRequest) ProtoMessage()
- func (m *DeidentifyContentRequest) Reset()
- func (m *DeidentifyContentRequest) String() string
- type DeidentifyContentResponse
- func (*DeidentifyContentResponse) Descriptor() ([]byte, []int)
- func (m *DeidentifyContentResponse) GetItem() *ContentItem
- func (m *DeidentifyContentResponse) GetOverview() *TransformationOverview
- func (*DeidentifyContentResponse) ProtoMessage()
- func (m *DeidentifyContentResponse) Reset()
- func (m *DeidentifyContentResponse) String() string
- type DeidentifyTemplate
- func (*DeidentifyTemplate) Descriptor() ([]byte, []int)
- func (m *DeidentifyTemplate) GetCreateTime() *google_protobuf1.Timestamp
- func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig
- func (m *DeidentifyTemplate) GetDescription() string
- func (m *DeidentifyTemplate) GetDisplayName() string
- func (m *DeidentifyTemplate) GetName() string
- func (m *DeidentifyTemplate) GetUpdateTime() *google_protobuf1.Timestamp
- func (*DeidentifyTemplate) ProtoMessage()
- func (m *DeidentifyTemplate) Reset()
- func (m *DeidentifyTemplate) String() string
- type DeleteDeidentifyTemplateRequest
- type DeleteDlpJobRequest
- type DeleteInspectTemplateRequest
- type DeleteJobTriggerRequest
- type DlpJob
- func (*DlpJob) Descriptor() ([]byte, []int)
- func (m *DlpJob) GetCreateTime() *google_protobuf1.Timestamp
- func (m *DlpJob) GetDetails() isDlpJob_Details
- func (m *DlpJob) GetEndTime() *google_protobuf1.Timestamp
- func (m *DlpJob) GetErrorResults() []*google_rpc.Status
- func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails
- func (m *DlpJob) GetJobTriggerName() string
- func (m *DlpJob) GetName() string
- func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails
- func (m *DlpJob) GetStartTime() *google_protobuf1.Timestamp
- func (m *DlpJob) GetState() DlpJob_JobState
- func (m *DlpJob) GetType() DlpJobType
- func (*DlpJob) ProtoMessage()
- func (m *DlpJob) Reset()
- func (m *DlpJob) String() string
- func (*DlpJob) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type DlpJobType
- type DlpJob_InspectDetails
- type DlpJob_JobState
- type DlpJob_RiskDetails
- type DlpServiceClient
- type DlpServiceServer
- type EntityId
- type FieldId
- type FieldTransformation
- func (*FieldTransformation) Descriptor() ([]byte, []int)
- func (m *FieldTransformation) GetCondition() *RecordCondition
- func (m *FieldTransformation) GetFields() []*FieldId
- func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations
- func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
- func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation
- func (*FieldTransformation) ProtoMessage()
- func (m *FieldTransformation) Reset()
- func (m *FieldTransformation) String() string
- func (*FieldTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type FieldTransformation_InfoTypeTransformations
- type FieldTransformation_PrimitiveTransformation
- type Finding
- func (*Finding) Descriptor() ([]byte, []int)
- func (m *Finding) GetCreateTime() *google_protobuf1.Timestamp
- func (m *Finding) GetInfoType() *InfoType
- func (m *Finding) GetLikelihood() Likelihood
- func (m *Finding) GetLocation() *Location
- func (m *Finding) GetQuote() string
- func (m *Finding) GetQuoteInfo() *QuoteInfo
- func (*Finding) ProtoMessage()
- func (m *Finding) Reset()
- func (m *Finding) String() string
- type FixedSizeBucketingConfig
- func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int)
- func (m *FixedSizeBucketingConfig) GetBucketSize() float64
- func (m *FixedSizeBucketingConfig) GetLowerBound() *Value
- func (m *FixedSizeBucketingConfig) GetUpperBound() *Value
- func (*FixedSizeBucketingConfig) ProtoMessage()
- func (m *FixedSizeBucketingConfig) Reset()
- func (m *FixedSizeBucketingConfig) String() string
- type GetDeidentifyTemplateRequest
- type GetDlpJobRequest
- type GetInspectTemplateRequest
- type GetJobTriggerRequest
- type ImageLocation
- func (*ImageLocation) Descriptor() ([]byte, []int)
- func (m *ImageLocation) GetHeight() int32
- func (m *ImageLocation) GetLeft() int32
- func (m *ImageLocation) GetTop() int32
- func (m *ImageLocation) GetWidth() int32
- func (*ImageLocation) ProtoMessage()
- func (m *ImageLocation) Reset()
- func (m *ImageLocation) String() string
- type InfoType
- type InfoTypeDescription
- func (*InfoTypeDescription) Descriptor() ([]byte, []int)
- func (m *InfoTypeDescription) GetDisplayName() string
- func (m *InfoTypeDescription) GetName() string
- func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy
- func (*InfoTypeDescription) ProtoMessage()
- func (m *InfoTypeDescription) Reset()
- func (m *InfoTypeDescription) String() string
- type InfoTypeStatistics
- type InfoTypeSupportedBy
- type InfoTypeTransformations
- func (*InfoTypeTransformations) Descriptor() ([]byte, []int)
- func (m *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation
- func (*InfoTypeTransformations) ProtoMessage()
- func (m *InfoTypeTransformations) Reset()
- func (m *InfoTypeTransformations) String() string
- type InfoTypeTransformations_InfoTypeTransformation
- func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int)
- func (m *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType
- func (m *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
- func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage()
- func (m *InfoTypeTransformations_InfoTypeTransformation) Reset()
- func (m *InfoTypeTransformations_InfoTypeTransformation) String() string
- type InspectConfig
- func (*InspectConfig) Descriptor() ([]byte, []int)
- func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType
- func (m *InspectConfig) GetExcludeInfoTypes() bool
- func (m *InspectConfig) GetIncludeQuote() bool
- func (m *InspectConfig) GetInfoTypes() []*InfoType
- func (m *InspectConfig) GetLimits() *InspectConfig_FindingLimits
- func (m *InspectConfig) GetMinLikelihood() Likelihood
- func (*InspectConfig) ProtoMessage()
- func (m *InspectConfig) Reset()
- func (m *InspectConfig) String() string
- type InspectConfig_FindingLimits
- func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int)
- func (m *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit
- func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32
- func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32
- func (*InspectConfig_FindingLimits) ProtoMessage()
- func (m *InspectConfig_FindingLimits) Reset()
- func (m *InspectConfig_FindingLimits) String() string
- type InspectConfig_FindingLimits_InfoTypeLimit
- func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int)
- func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType
- func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32
- func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage()
- func (m *InspectConfig_FindingLimits_InfoTypeLimit) Reset()
- func (m *InspectConfig_FindingLimits_InfoTypeLimit) String() string
- type InspectContentRequest
- func (*InspectContentRequest) Descriptor() ([]byte, []int)
- func (m *InspectContentRequest) GetInspectConfig() *InspectConfig
- func (m *InspectContentRequest) GetInspectTemplateName() string
- func (m *InspectContentRequest) GetItem() *ContentItem
- func (m *InspectContentRequest) GetParent() string
- func (*InspectContentRequest) ProtoMessage()
- func (m *InspectContentRequest) Reset()
- func (m *InspectContentRequest) String() string
- type InspectContentResponse
- type InspectDataSourceDetails
- func (*InspectDataSourceDetails) Descriptor() ([]byte, []int)
- func (m *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions
- func (m *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result
- func (*InspectDataSourceDetails) ProtoMessage()
- func (m *InspectDataSourceDetails) Reset()
- func (m *InspectDataSourceDetails) String() string
- type InspectDataSourceDetails_RequestedOptions
- func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int)
- func (m *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig
- func (m *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate
- func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage()
- func (m *InspectDataSourceDetails_RequestedOptions) Reset()
- func (m *InspectDataSourceDetails_RequestedOptions) String() string
- type InspectDataSourceDetails_Result
- func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int)
- func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStatistics
- func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64
- func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64
- func (*InspectDataSourceDetails_Result) ProtoMessage()
- func (m *InspectDataSourceDetails_Result) Reset()
- func (m *InspectDataSourceDetails_Result) String() string
- type InspectDataSourceRequest
- func (*InspectDataSourceRequest) Descriptor() ([]byte, []int)
- func (m *InspectDataSourceRequest) GetJobConfig() *InspectJobConfig
- func (m *InspectDataSourceRequest) GetJobId() string
- func (m *InspectDataSourceRequest) GetParent() string
- func (*InspectDataSourceRequest) ProtoMessage()
- func (m *InspectDataSourceRequest) Reset()
- func (m *InspectDataSourceRequest) String() string
- type InspectJobConfig
- func (*InspectJobConfig) Descriptor() ([]byte, []int)
- func (m *InspectJobConfig) GetActions() []*Action
- func (m *InspectJobConfig) GetInspectConfig() *InspectConfig
- func (m *InspectJobConfig) GetInspectTemplateName() string
- func (m *InspectJobConfig) GetOutputConfig() *OutputStorageConfig
- func (m *InspectJobConfig) GetStorageConfig() *StorageConfig
- func (*InspectJobConfig) ProtoMessage()
- func (m *InspectJobConfig) Reset()
- func (m *InspectJobConfig) String() string
- type InspectResult
- type InspectTemplate
- func (*InspectTemplate) Descriptor() ([]byte, []int)
- func (m *InspectTemplate) GetCreateTime() *google_protobuf1.Timestamp
- func (m *InspectTemplate) GetDescription() string
- func (m *InspectTemplate) GetDisplayName() string
- func (m *InspectTemplate) GetInspectConfig() *InspectConfig
- func (m *InspectTemplate) GetName() string
- func (m *InspectTemplate) GetUpdateTime() *google_protobuf1.Timestamp
- func (*InspectTemplate) ProtoMessage()
- func (m *InspectTemplate) Reset()
- func (m *InspectTemplate) String() string
- type JobTrigger
- func (*JobTrigger) Descriptor() ([]byte, []int)
- func (m *JobTrigger) GetCreateTime() *google_protobuf1.Timestamp
- func (m *JobTrigger) GetDescription() string
- func (m *JobTrigger) GetDisplayName() string
- func (m *JobTrigger) GetErrors() []*JobTrigger_Error
- func (m *JobTrigger) GetInspectJob() *InspectJobConfig
- func (m *JobTrigger) GetJob() isJobTrigger_Job
- func (m *JobTrigger) GetLastRunTime() *google_protobuf1.Timestamp
- func (m *JobTrigger) GetName() string
- func (m *JobTrigger) GetStatus() JobTrigger_Status
- func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger
- func (m *JobTrigger) GetUpdateTime() *google_protobuf1.Timestamp
- func (*JobTrigger) ProtoMessage()
- func (m *JobTrigger) Reset()
- func (m *JobTrigger) String() string
- func (*JobTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type JobTrigger_Error
- func (*JobTrigger_Error) Descriptor() ([]byte, []int)
- func (m *JobTrigger_Error) GetDetails() *google_rpc.Status
- func (m *JobTrigger_Error) GetTimestamps() []*google_protobuf1.Timestamp
- func (*JobTrigger_Error) ProtoMessage()
- func (m *JobTrigger_Error) Reset()
- func (m *JobTrigger_Error) String() string
- type JobTrigger_InspectJob
- type JobTrigger_Status
- type JobTrigger_Trigger
- func (*JobTrigger_Trigger) Descriptor() ([]byte, []int)
- func (m *JobTrigger_Trigger) GetSchedule() *Schedule
- func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger
- func (*JobTrigger_Trigger) ProtoMessage()
- func (m *JobTrigger_Trigger) Reset()
- func (m *JobTrigger_Trigger) String() string
- func (*JobTrigger_Trigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type JobTrigger_Trigger_Schedule
- type Key
- type Key_PathElement
- func (*Key_PathElement) Descriptor() ([]byte, []int)
- func (m *Key_PathElement) GetId() int64
- func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType
- func (m *Key_PathElement) GetKind() string
- func (m *Key_PathElement) GetName() string
- func (*Key_PathElement) ProtoMessage()
- func (m *Key_PathElement) Reset()
- func (m *Key_PathElement) String() string
- func (*Key_PathElement) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Key_PathElement_Id
- type Key_PathElement_Name
- type KindExpression
- type KmsWrappedCryptoKey
- type Likelihood
- type ListDeidentifyTemplatesRequest
- func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int)
- func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32
- func (m *ListDeidentifyTemplatesRequest) GetPageToken() string
- func (m *ListDeidentifyTemplatesRequest) GetParent() string
- func (*ListDeidentifyTemplatesRequest) ProtoMessage()
- func (m *ListDeidentifyTemplatesRequest) Reset()
- func (m *ListDeidentifyTemplatesRequest) String() string
- type ListDeidentifyTemplatesResponse
- func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int)
- func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate
- func (m *ListDeidentifyTemplatesResponse) GetNextPageToken() string
- func (*ListDeidentifyTemplatesResponse) ProtoMessage()
- func (m *ListDeidentifyTemplatesResponse) Reset()
- func (m *ListDeidentifyTemplatesResponse) String() string
- type ListDlpJobsRequest
- func (*ListDlpJobsRequest) Descriptor() ([]byte, []int)
- func (m *ListDlpJobsRequest) GetFilter() string
- func (m *ListDlpJobsRequest) GetPageSize() int32
- func (m *ListDlpJobsRequest) GetPageToken() string
- func (m *ListDlpJobsRequest) GetParent() string
- func (m *ListDlpJobsRequest) GetType() DlpJobType
- func (*ListDlpJobsRequest) ProtoMessage()
- func (m *ListDlpJobsRequest) Reset()
- func (m *ListDlpJobsRequest) String() string
- type ListDlpJobsResponse
- type ListInfoTypesRequest
- type ListInfoTypesResponse
- type ListInspectTemplatesRequest
- func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int)
- func (m *ListInspectTemplatesRequest) GetPageSize() int32
- func (m *ListInspectTemplatesRequest) GetPageToken() string
- func (m *ListInspectTemplatesRequest) GetParent() string
- func (*ListInspectTemplatesRequest) ProtoMessage()
- func (m *ListInspectTemplatesRequest) Reset()
- func (m *ListInspectTemplatesRequest) String() string
- type ListInspectTemplatesResponse
- func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int)
- func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate
- func (m *ListInspectTemplatesResponse) GetNextPageToken() string
- func (*ListInspectTemplatesResponse) ProtoMessage()
- func (m *ListInspectTemplatesResponse) Reset()
- func (m *ListInspectTemplatesResponse) String() string
- type ListJobTriggersRequest
- func (*ListJobTriggersRequest) Descriptor() ([]byte, []int)
- func (m *ListJobTriggersRequest) GetOrderBy() string
- func (m *ListJobTriggersRequest) GetPageSize() int32
- func (m *ListJobTriggersRequest) GetPageToken() string
- func (m *ListJobTriggersRequest) GetParent() string
- func (*ListJobTriggersRequest) ProtoMessage()
- func (m *ListJobTriggersRequest) Reset()
- func (m *ListJobTriggersRequest) String() string
- type ListJobTriggersResponse
- func (*ListJobTriggersResponse) Descriptor() ([]byte, []int)
- func (m *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger
- func (m *ListJobTriggersResponse) GetNextPageToken() string
- func (*ListJobTriggersResponse) ProtoMessage()
- func (m *ListJobTriggersResponse) Reset()
- func (m *ListJobTriggersResponse) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetByteRange() *Range
- func (m *Location) GetCodepointRange() *Range
- func (m *Location) GetFieldId() *FieldId
- func (m *Location) GetImageBoxes() []*ImageLocation
- func (m *Location) GetRecordKey() *RecordKey
- func (m *Location) GetTableLocation() *TableLocation
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) String() string
- type OutputStorageConfig
- func (*OutputStorageConfig) Descriptor() ([]byte, []int)
- func (m *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema
- func (m *OutputStorageConfig) GetTable() *BigQueryTable
- func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type
- func (*OutputStorageConfig) ProtoMessage()
- func (m *OutputStorageConfig) Reset()
- func (m *OutputStorageConfig) String() string
- func (*OutputStorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type OutputStorageConfig_OutputSchema
- type OutputStorageConfig_Table
- type PartitionId
- type PrimitiveTransformation
- func (*PrimitiveTransformation) Descriptor() ([]byte, []int)
- func (m *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig
- func (m *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig
- func (m *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig
- func (m *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig
- func (m *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig
- func (m *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig
- func (m *PrimitiveTransformation) GetRedactConfig() *RedactConfig
- func (m *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig
- func (m *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig
- func (m *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig
- func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation
- func (*PrimitiveTransformation) ProtoMessage()
- func (m *PrimitiveTransformation) Reset()
- func (m *PrimitiveTransformation) String() string
- func (*PrimitiveTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type PrimitiveTransformation_BucketingConfig
- type PrimitiveTransformation_CharacterMaskConfig
- type PrimitiveTransformation_CryptoHashConfig
- type PrimitiveTransformation_CryptoReplaceFfxFpeConfig
- type PrimitiveTransformation_DateShiftConfig
- type PrimitiveTransformation_FixedSizeBucketingConfig
- type PrimitiveTransformation_RedactConfig
- type PrimitiveTransformation_ReplaceConfig
- type PrimitiveTransformation_ReplaceWithInfoTypeConfig
- type PrimitiveTransformation_TimePartConfig
- type PrivacyMetric
- func (*PrivacyMetric) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig
- func (m *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig
- func (m *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig
- func (m *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig
- func (m *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig
- func (m *PrivacyMetric) GetType() isPrivacyMetric_Type
- func (*PrivacyMetric) ProtoMessage()
- func (m *PrivacyMetric) Reset()
- func (m *PrivacyMetric) String() string
- func (*PrivacyMetric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type PrivacyMetric_CategoricalStatsConfig
- func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId
- func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage()
- func (m *PrivacyMetric_CategoricalStatsConfig) Reset()
- func (m *PrivacyMetric_CategoricalStatsConfig) String() string
- type PrivacyMetric_CategoricalStatsConfig_
- type PrivacyMetric_KAnonymityConfig
- func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId
- func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId
- func (*PrivacyMetric_KAnonymityConfig) ProtoMessage()
- func (m *PrivacyMetric_KAnonymityConfig) Reset()
- func (m *PrivacyMetric_KAnonymityConfig) String() string
- type PrivacyMetric_KAnonymityConfig_
- type PrivacyMetric_KMapEstimationConfig
- func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable
- func (m *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField
- func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string
- func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage()
- func (m *PrivacyMetric_KMapEstimationConfig) Reset()
- func (m *PrivacyMetric_KMapEstimationConfig) String() string
- type PrivacyMetric_KMapEstimationConfig_
- type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage()
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset()
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string
- type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId
- func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage()
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset()
- func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string
- type PrivacyMetric_KMapEstimationConfig_TaggedField
- func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *google_protobuf3.Empty
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag
- func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage()
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset()
- func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string
- func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag
- type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred
- type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType
- type PrivacyMetric_LDiversityConfig
- func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId
- func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId
- func (*PrivacyMetric_LDiversityConfig) ProtoMessage()
- func (m *PrivacyMetric_LDiversityConfig) Reset()
- func (m *PrivacyMetric_LDiversityConfig) String() string
- type PrivacyMetric_LDiversityConfig_
- type PrivacyMetric_NumericalStatsConfig
- func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int)
- func (m *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId
- func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage()
- func (m *PrivacyMetric_NumericalStatsConfig) Reset()
- func (m *PrivacyMetric_NumericalStatsConfig) String() string
- type PrivacyMetric_NumericalStatsConfig_
- type QuoteInfo
- func (*QuoteInfo) Descriptor() ([]byte, []int)
- func (m *QuoteInfo) GetDateTime() *DateTime
- func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote
- func (*QuoteInfo) ProtoMessage()
- func (m *QuoteInfo) Reset()
- func (m *QuoteInfo) String() string
- func (*QuoteInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type QuoteInfo_DateTime
- type Range
- type RecordCondition
- type RecordCondition_Condition
- func (*RecordCondition_Condition) Descriptor() ([]byte, []int)
- func (m *RecordCondition_Condition) GetField() *FieldId
- func (m *RecordCondition_Condition) GetOperator() RelationalOperator
- func (m *RecordCondition_Condition) GetValue() *Value
- func (*RecordCondition_Condition) ProtoMessage()
- func (m *RecordCondition_Condition) Reset()
- func (m *RecordCondition_Condition) String() string
- type RecordCondition_Conditions
- type RecordCondition_Expressions
- func (*RecordCondition_Expressions) Descriptor() ([]byte, []int)
- func (m *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions
- func (m *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator
- func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type
- func (*RecordCondition_Expressions) ProtoMessage()
- func (m *RecordCondition_Expressions) Reset()
- func (m *RecordCondition_Expressions) String() string
- func (*RecordCondition_Expressions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type RecordCondition_Expressions_Conditions
- type RecordCondition_Expressions_LogicalOperator
- type RecordKey
- func (*RecordKey) Descriptor() ([]byte, []int)
- func (m *RecordKey) GetBigQueryKey() *BigQueryKey
- func (m *RecordKey) GetCloudStorageKey() *CloudStorageKey
- func (m *RecordKey) GetDatastoreKey() *DatastoreKey
- func (m *RecordKey) GetType() isRecordKey_Type
- func (*RecordKey) ProtoMessage()
- func (m *RecordKey) Reset()
- func (m *RecordKey) String() string
- func (*RecordKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type RecordKey_BigQueryKey
- type RecordKey_CloudStorageKey
- type RecordKey_DatastoreKey
- type RecordSuppression
- type RecordTransformations
- func (*RecordTransformations) Descriptor() ([]byte, []int)
- func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation
- func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression
- func (*RecordTransformations) ProtoMessage()
- func (m *RecordTransformations) Reset()
- func (m *RecordTransformations) String() string
- type RedactConfig
- type RedactImageRequest
- func (*RedactImageRequest) Descriptor() ([]byte, []int)
- func (m *RedactImageRequest) GetImageData() []byte
- func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig
- func (m *RedactImageRequest) GetImageType() string
- func (m *RedactImageRequest) GetInspectConfig() *InspectConfig
- func (m *RedactImageRequest) GetParent() string
- func (*RedactImageRequest) ProtoMessage()
- func (m *RedactImageRequest) Reset()
- func (m *RedactImageRequest) String() string
- type RedactImageRequest_ImageRedactionConfig
- func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int)
- func (m *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType
- func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool
- func (m *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color
- func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target
- func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage()
- func (m *RedactImageRequest_ImageRedactionConfig) Reset()
- func (m *RedactImageRequest_ImageRedactionConfig) String() string
- func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type RedactImageRequest_ImageRedactionConfig_InfoType
- type RedactImageRequest_ImageRedactionConfig_RedactAllText
- type RedactImageResponse
- type ReidentifyContentRequest
- func (*ReidentifyContentRequest) Descriptor() ([]byte, []int)
- func (m *ReidentifyContentRequest) GetInspectConfig() *InspectConfig
- func (m *ReidentifyContentRequest) GetInspectTemplateName() string
- func (m *ReidentifyContentRequest) GetItem() *ContentItem
- func (m *ReidentifyContentRequest) GetParent() string
- func (m *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig
- func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string
- func (*ReidentifyContentRequest) ProtoMessage()
- func (m *ReidentifyContentRequest) Reset()
- func (m *ReidentifyContentRequest) String() string
- type ReidentifyContentResponse
- func (*ReidentifyContentResponse) Descriptor() ([]byte, []int)
- func (m *ReidentifyContentResponse) GetItem() *ContentItem
- func (m *ReidentifyContentResponse) GetOverview() *TransformationOverview
- func (*ReidentifyContentResponse) ProtoMessage()
- func (m *ReidentifyContentResponse) Reset()
- func (m *ReidentifyContentResponse) String() string
- type RelationalOperator
- type ReplaceValueConfig
- type ReplaceWithInfoTypeConfig
- type RiskAnalysisJobConfig
- func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int)
- func (m *RiskAnalysisJobConfig) GetActions() []*Action
- func (m *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric
- func (m *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable
- func (*RiskAnalysisJobConfig) ProtoMessage()
- func (m *RiskAnalysisJobConfig) Reset()
- func (m *RiskAnalysisJobConfig) String() string
- type Schedule
- func (*Schedule) Descriptor() ([]byte, []int)
- func (m *Schedule) GetOption() isSchedule_Option
- func (m *Schedule) GetReccurrencePeriodDuration() *google_protobuf2.Duration
- func (*Schedule) ProtoMessage()
- func (m *Schedule) Reset()
- func (m *Schedule) String() string
- func (*Schedule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Schedule_ReccurrencePeriodDuration
- type StorageConfig
- func (*StorageConfig) Descriptor() ([]byte, []int)
- func (m *StorageConfig) GetBigQueryOptions() *BigQueryOptions
- func (m *StorageConfig) GetCloudStorageOptions() *CloudStorageOptions
- func (m *StorageConfig) GetDatastoreOptions() *DatastoreOptions
- func (m *StorageConfig) GetTimespanConfig() *StorageConfig_TimespanConfig
- func (m *StorageConfig) GetType() isStorageConfig_Type
- func (*StorageConfig) ProtoMessage()
- func (m *StorageConfig) Reset()
- func (m *StorageConfig) String() string
- func (*StorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type StorageConfig_BigQueryOptions
- type StorageConfig_CloudStorageOptions
- type StorageConfig_DatastoreOptions
- type StorageConfig_TimespanConfig
- func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int)
- func (m *StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig() bool
- func (m *StorageConfig_TimespanConfig) GetEndTime() *google_protobuf1.Timestamp
- func (m *StorageConfig_TimespanConfig) GetStartTime() *google_protobuf1.Timestamp
- func (*StorageConfig_TimespanConfig) ProtoMessage()
- func (m *StorageConfig_TimespanConfig) Reset()
- func (m *StorageConfig_TimespanConfig) String() string
- type Table
- type TableLocation
- type Table_Row
- type TimePartConfig
- type TimePartConfig_TimePart
- type TransformationOverview
- func (*TransformationOverview) Descriptor() ([]byte, []int)
- func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary
- func (m *TransformationOverview) GetTransformedBytes() int64
- func (*TransformationOverview) ProtoMessage()
- func (m *TransformationOverview) Reset()
- func (m *TransformationOverview) String() string
- type TransformationSummary
- func (*TransformationSummary) Descriptor() ([]byte, []int)
- func (m *TransformationSummary) GetField() *FieldId
- func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation
- func (m *TransformationSummary) GetInfoType() *InfoType
- func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression
- func (m *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult
- func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation
- func (m *TransformationSummary) GetTransformedBytes() int64
- func (*TransformationSummary) ProtoMessage()
- func (m *TransformationSummary) Reset()
- func (m *TransformationSummary) String() string
- type TransformationSummary_SummaryResult
- func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int)
- func (m *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode
- func (m *TransformationSummary_SummaryResult) GetCount() int64
- func (m *TransformationSummary_SummaryResult) GetDetails() string
- func (*TransformationSummary_SummaryResult) ProtoMessage()
- func (m *TransformationSummary_SummaryResult) Reset()
- func (m *TransformationSummary_SummaryResult) String() string
- type TransformationSummary_TransformationResultCode
- type TransientCryptoKey
- type UnwrappedCryptoKey
- type UpdateDeidentifyTemplateRequest
- func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
- func (m *UpdateDeidentifyTemplateRequest) GetName() string
- func (m *UpdateDeidentifyTemplateRequest) GetUpdateMask() *google_protobuf4.FieldMask
- func (*UpdateDeidentifyTemplateRequest) ProtoMessage()
- func (m *UpdateDeidentifyTemplateRequest) Reset()
- func (m *UpdateDeidentifyTemplateRequest) String() string
- type UpdateInspectTemplateRequest
- func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
- func (m *UpdateInspectTemplateRequest) GetName() string
- func (m *UpdateInspectTemplateRequest) GetUpdateMask() *google_protobuf4.FieldMask
- func (*UpdateInspectTemplateRequest) ProtoMessage()
- func (m *UpdateInspectTemplateRequest) Reset()
- func (m *UpdateInspectTemplateRequest) String() string
- type UpdateJobTriggerRequest
- func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int)
- func (m *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger
- func (m *UpdateJobTriggerRequest) GetName() string
- func (m *UpdateJobTriggerRequest) GetUpdateMask() *google_protobuf4.FieldMask
- func (*UpdateJobTriggerRequest) ProtoMessage()
- func (m *UpdateJobTriggerRequest) Reset()
- func (m *UpdateJobTriggerRequest) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetBooleanValue() bool
- func (m *Value) GetDateValue() *google_type.Date
- func (m *Value) GetDayOfWeekValue() google_type1.DayOfWeek
- func (m *Value) GetFloatValue() float64
- func (m *Value) GetIntegerValue() int64
- func (m *Value) GetStringValue() string
- func (m *Value) GetTimeValue() *google_type2.TimeOfDay
- func (m *Value) GetTimestampValue() *google_protobuf1.Timestamp
- func (m *Value) GetType() isValue_Type
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) String() string
- func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ValueFrequency
- type Value_BooleanValue
- type Value_DateValue
- type Value_DayOfWeekValue
- type Value_FloatValue
- type Value_IntegerValue
- type Value_StringValue
- type Value_TimeValue
- type Value_TimestampValue
Constants ¶
This section is empty.
Variables ¶
var CharsToIgnore_CommonCharsToIgnore_name = map[int32]string{
0: "COMMON_CHARS_TO_IGNORE_UNSPECIFIED",
1: "NUMERIC",
2: "ALPHA_UPPER_CASE",
3: "ALPHA_LOWER_CASE",
4: "PUNCTUATION",
5: "WHITESPACE",
}
var CharsToIgnore_CommonCharsToIgnore_value = map[string]int32{
"COMMON_CHARS_TO_IGNORE_UNSPECIFIED": 0,
"NUMERIC": 1,
"ALPHA_UPPER_CASE": 2,
"ALPHA_LOWER_CASE": 3,
"PUNCTUATION": 4,
"WHITESPACE": 5,
}
var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name = map[int32]string{
0: "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED",
1: "NUMERIC",
2: "HEXADECIMAL",
3: "UPPER_CASE_ALPHA_NUMERIC",
4: "ALPHA_NUMERIC",
}
var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value = map[string]int32{
"FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED": 0,
"NUMERIC": 1,
"HEXADECIMAL": 2,
"UPPER_CASE_ALPHA_NUMERIC": 3,
"ALPHA_NUMERIC": 4,
}
var DlpJobType_name = map[int32]string{
0: "DLP_JOB_TYPE_UNSPECIFIED",
1: "INSPECT_JOB",
2: "RISK_ANALYSIS_JOB",
}
var DlpJobType_value = map[string]int32{
"DLP_JOB_TYPE_UNSPECIFIED": 0,
"INSPECT_JOB": 1,
"RISK_ANALYSIS_JOB": 2,
}
var DlpJob_JobState_name = map[int32]string{
0: "JOB_STATE_UNSPECIFIED",
1: "PENDING",
2: "RUNNING",
3: "DONE",
4: "CANCELED",
5: "FAILED",
}
var DlpJob_JobState_value = map[string]int32{
"JOB_STATE_UNSPECIFIED": 0,
"PENDING": 1,
"RUNNING": 2,
"DONE": 3,
"CANCELED": 4,
"FAILED": 5,
}
var InfoTypeSupportedBy_name = map[int32]string{
0: "ENUM_TYPE_UNSPECIFIED",
1: "INSPECT",
2: "RISK_ANALYSIS",
}
var InfoTypeSupportedBy_value = map[string]int32{
"ENUM_TYPE_UNSPECIFIED": 0,
"INSPECT": 1,
"RISK_ANALYSIS": 2,
}
var JobTrigger_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "HEALTHY",
2: "PAUSED",
3: "CANCELLED",
}
var JobTrigger_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"HEALTHY": 1,
"PAUSED": 2,
"CANCELLED": 3,
}
var Likelihood_name = map[int32]string{
0: "LIKELIHOOD_UNSPECIFIED",
1: "VERY_UNLIKELY",
2: "UNLIKELY",
3: "POSSIBLE",
4: "LIKELY",
5: "VERY_LIKELY",
}
var Likelihood_value = map[string]int32{
"LIKELIHOOD_UNSPECIFIED": 0,
"VERY_UNLIKELY": 1,
"UNLIKELY": 2,
"POSSIBLE": 3,
"LIKELY": 4,
"VERY_LIKELY": 5,
}
var OutputStorageConfig_OutputSchema_name = map[int32]string{
0: "OUTPUT_SCHEMA_UNSPECIFIED",
1: "BASIC_COLUMNS",
2: "GCS_COLUMNS",
3: "DATASTORE_COLUMNS",
4: "BIG_QUERY_COLUMNS",
5: "ALL_COLUMNS",
}
var OutputStorageConfig_OutputSchema_value = map[string]int32{
"OUTPUT_SCHEMA_UNSPECIFIED": 0,
"BASIC_COLUMNS": 1,
"GCS_COLUMNS": 2,
"DATASTORE_COLUMNS": 3,
"BIG_QUERY_COLUMNS": 4,
"ALL_COLUMNS": 5,
}
var RecordCondition_Expressions_LogicalOperator_name = map[int32]string{
0: "LOGICAL_OPERATOR_UNSPECIFIED",
1: "AND",
}
var RecordCondition_Expressions_LogicalOperator_value = map[string]int32{
"LOGICAL_OPERATOR_UNSPECIFIED": 0,
"AND": 1,
}
var RelationalOperator_name = map[int32]string{
0: "RELATIONAL_OPERATOR_UNSPECIFIED",
1: "EQUAL_TO",
2: "NOT_EQUAL_TO",
3: "GREATER_THAN",
4: "LESS_THAN",
5: "GREATER_THAN_OR_EQUALS",
6: "LESS_THAN_OR_EQUALS",
7: "EXISTS",
}
var RelationalOperator_value = map[string]int32{
"RELATIONAL_OPERATOR_UNSPECIFIED": 0,
"EQUAL_TO": 1,
"NOT_EQUAL_TO": 2,
"GREATER_THAN": 3,
"LESS_THAN": 4,
"GREATER_THAN_OR_EQUALS": 5,
"LESS_THAN_OR_EQUALS": 6,
"EXISTS": 7,
}
var TimePartConfig_TimePart_name = map[int32]string{
0: "TIME_PART_UNSPECIFIED",
1: "YEAR",
2: "MONTH",
3: "DAY_OF_MONTH",
4: "DAY_OF_WEEK",
5: "WEEK_OF_YEAR",
6: "HOUR_OF_DAY",
}
var TimePartConfig_TimePart_value = map[string]int32{
"TIME_PART_UNSPECIFIED": 0,
"YEAR": 1,
"MONTH": 2,
"DAY_OF_MONTH": 3,
"DAY_OF_WEEK": 4,
"WEEK_OF_YEAR": 5,
"HOUR_OF_DAY": 6,
}
var TransformationSummary_TransformationResultCode_name = map[int32]string{
0: "TRANSFORMATION_RESULT_CODE_UNSPECIFIED",
1: "SUCCESS",
2: "ERROR",
}
var TransformationSummary_TransformationResultCode_value = map[string]int32{
"TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
"SUCCESS": 1,
"ERROR": 2,
}
Functions ¶
func RegisterDlpServiceServer ¶
func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer)
Types ¶
type Action ¶
type Action struct { // Types that are valid to be assigned to Action: // *Action_SaveFindings_ // *Action_PubSub Action isAction_Action `protobuf_oneof:"action"` }
A task to execute on the completion of a job.
func (*Action) Descriptor ¶
func (*Action) GetPubSub ¶
func (m *Action) GetPubSub() *Action_PublishToPubSub
func (*Action) GetSaveFindings ¶
func (m *Action) GetSaveFindings() *Action_SaveFindings
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
type Action_PubSub ¶
type Action_PubSub struct {
PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,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" json:"topic,omitempty"` }
Publish the results of a DlpJob to a pub sub channel. Compatible with: Inpect, Risk
func (*Action_PublishToPubSub) Descriptor ¶
func (*Action_PublishToPubSub) Descriptor() ([]byte, []int)
func (*Action_PublishToPubSub) GetTopic ¶
func (m *Action_PublishToPubSub) GetTopic() string
func (*Action_PublishToPubSub) ProtoMessage ¶
func (*Action_PublishToPubSub) ProtoMessage()
func (*Action_PublishToPubSub) Reset ¶
func (m *Action_PublishToPubSub) Reset()
func (*Action_PublishToPubSub) String ¶
func (m *Action_PublishToPubSub) String() string
type Action_SaveFindings ¶
type Action_SaveFindings struct {
OutputConfig *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig" json:"output_config,omitempty"`
}
If set, the detailed findings will be persisted to the specified OutputStorageConfig. Compatible with: Inspect
func (*Action_SaveFindings) Descriptor ¶
func (*Action_SaveFindings) Descriptor() ([]byte, []int)
func (*Action_SaveFindings) GetOutputConfig ¶
func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig
func (*Action_SaveFindings) ProtoMessage ¶
func (*Action_SaveFindings) ProtoMessage()
func (*Action_SaveFindings) Reset ¶
func (m *Action_SaveFindings) Reset()
func (*Action_SaveFindings) String ¶
func (m *Action_SaveFindings) String() string
type Action_SaveFindings_ ¶
type Action_SaveFindings_ struct {
SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,oneof"`
}
type AnalyzeDataSourceRiskDetails ¶
type AnalyzeDataSourceRiskDetails struct { // Privacy metric to compute. RequestedPrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=requested_privacy_metric,json=requestedPrivacyMetric" json:"requested_privacy_metric,omitempty"` // Input dataset to compute metrics over. RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable" json:"requested_source_table,omitempty"` // Values associated with this metric. // // Types that are valid to be assigned to Result: // *AnalyzeDataSourceRiskDetails_NumericalStatsResult_ // *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ // *AnalyzeDataSourceRiskDetails_KAnonymityResult_ // *AnalyzeDataSourceRiskDetails_LDiversityResult_ // *AnalyzeDataSourceRiskDetails_KMapEstimationResult_ Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"` }
Result of a risk analysis operation request.
func (*AnalyzeDataSourceRiskDetails) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult
func (*AnalyzeDataSourceRiskDetails) GetKAnonymityResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult
func (*AnalyzeDataSourceRiskDetails) GetKMapEstimationResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult
func (*AnalyzeDataSourceRiskDetails) GetLDiversityResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult
func (*AnalyzeDataSourceRiskDetails) GetNumericalStatsResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult
func (*AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric ¶
func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric
func (*AnalyzeDataSourceRiskDetails) GetRequestedSourceTable ¶
func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable
func (*AnalyzeDataSourceRiskDetails) GetResult ¶
func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result
func (*AnalyzeDataSourceRiskDetails) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails) Reset ¶
func (m *AnalyzeDataSourceRiskDetails) Reset()
func (*AnalyzeDataSourceRiskDetails) String ¶
func (m *AnalyzeDataSourceRiskDetails) String() string
func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs ¶
func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult ¶
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct { // Histogram of value frequencies in the column. ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `` /* 148-byte string literal not displayed */ }
Result of the categorical stats computation.
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset()
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ ¶
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ struct {
CategoricalStatsResult *AnalyzeDataSourceRiskDetails_CategoricalStatsResult `protobuf:"bytes,4,opt,name=categorical_stats_result,json=categoricalStatsResult,oneof"`
}
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct { // Lower bound on the value frequency of the values in this bucket. ValueFrequencyLowerBound int64 `` /* 131-byte string literal not displayed */ // Upper bound on the value frequency of the values in this bucket. ValueFrequencyUpperBound int64 `` /* 131-byte string literal not displayed */ // Total number of values in this bucket. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize" 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" json:"bucket_values,omitempty"` }
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound ¶
func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage()
type AnalyzeDataSourceRiskDetails_KAnonymityResult ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult struct { // Histogram of k-anonymity equivalence classes. EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `` /* 154-byte string literal not displayed */ }
Result of the k-anonymity computation.
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) String ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string
type AnalyzeDataSourceRiskDetails_KAnonymityResult_ ¶
type AnalyzeDataSourceRiskDetails_KAnonymityResult_ struct {
KAnonymityResult *AnalyzeDataSourceRiskDetails_KAnonymityResult `protobuf:"bytes,5,opt,name=k_anonymity_result,json=kAnonymityResult,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" 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" json:"equivalence_class_size,omitempty"` }
The set of columns' values that share the same ldiversity value
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String ¶
func (m *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 `` /* 151-byte string literal not displayed */ // Upper bound on the size of the equivalence classes in this bucket. EquivalenceClassSizeUpperBound int64 `` /* 151-byte string literal not displayed */ // Total number of equivalence classes in this bucket. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize" 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" json:"bucket_values,omitempty"` }
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String ¶
func (m *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 `` /* 127-byte string literal not displayed */ }
Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset()
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) String ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ ¶
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ struct {
KMapEstimationResult *AnalyzeDataSourceRiskDetails_KMapEstimationResult `protobuf:"bytes,7,opt,name=k_map_estimation_result,json=kMapEstimationResult,oneof"`
}
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket ¶
type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket struct { // Always positive. MinAnonymity int64 `protobuf:"varint,1,opt,name=min_anonymity,json=minAnonymity" json:"min_anonymity,omitempty"` // Always greater than or equal to min_anonymity. MaxAnonymity int64 `protobuf:"varint,2,opt,name=max_anonymity,json=maxAnonymity" json:"max_anonymity,omitempty"` // Number of records within these anonymity bounds. BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize" 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" json:"bucket_values,omitempty"` }
A KMapEstimationHistogramBucket message with the following values:
min_anonymity: 3 max_anonymity: 5 frequency: 42
means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min_anonymity = max_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage()
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" json:"quasi_ids_values,omitempty"` // The estimated anonymity for these quasi-identifier values. EstimatedAnonymity int64 `protobuf:"varint,2,opt,name=estimated_anonymity,json=estimatedAnonymity" json:"estimated_anonymity,omitempty"` }
A tuple of values for the quasi-identifier columns.
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues ¶
func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage()
type AnalyzeDataSourceRiskDetails_LDiversityResult ¶
type AnalyzeDataSourceRiskDetails_LDiversityResult struct { // Histogram of l-diversity equivalence class sensitive value frequencies. SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `` /* 177-byte string literal not displayed */ }
Result of the l-diversity computation.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult) String ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string
type AnalyzeDataSourceRiskDetails_LDiversityResult_ ¶
type AnalyzeDataSourceRiskDetails_LDiversityResult_ struct {
LDiversityResult *AnalyzeDataSourceRiskDetails_LDiversityResult `protobuf:"bytes,6,opt,name=l_diversity_result,json=lDiversityResult,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" json:"quasi_ids_values,omitempty"` // Size of the k-anonymity equivalence class. EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize" json:"equivalence_class_size,omitempty"` // Number of distinct sensitive values in this equivalence class. NumDistinctSensitiveValues int64 `` /* 137-byte string literal not displayed */ // Estimated frequencies of top sensitive values. TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues" json:"top_sensitive_values,omitempty"` }
The set of columns' values that share the same ldiversity value.
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String ¶
func (m *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 `` /* 160-byte string literal not displayed */ // Upper bound on the sensitive value frequencies of the equivalence // classes in this bucket. SensitiveValueFrequencyUpperBound int64 `` /* 160-byte string literal not displayed */ // Total number of equivalence classes in this bucket. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize" 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" json:"bucket_values,omitempty"` }
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset()
func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String ¶
func (m *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" json:"min_value,omitempty"` // Maximum value appearing in the column. MaxValue *Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue" 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" json:"quantile_values,omitempty"` }
Result of the numerical stats computation.
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor ¶
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue ¶
func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue ¶
func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues ¶
func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage ¶
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage()
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset ¶
func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset()
func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) String ¶
func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string
type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ ¶
type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ struct {
NumericalStatsResult *AnalyzeDataSourceRiskDetails_NumericalStatsResult `protobuf:"bytes,3,opt,name=numerical_stats_result,json=numericalStatsResult,oneof"`
}
type AnalyzeDataSourceRiskRequest ¶
type AnalyzeDataSourceRiskRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // Configuration for this risk analysis job. JobConfig *RiskAnalysisJobConfig `protobuf:"bytes,2,opt,name=job_config,json=jobConfig" json:"job_config,omitempty"` // Optional job ID to use for the created job. If not provided, a job ID will // automatically be generated. Must be unique within the project. 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,3,opt,name=job_id,json=jobId" json:"job_id,omitempty"` }
Request for creating a risk analysis DlpJob.
func (*AnalyzeDataSourceRiskRequest) Descriptor ¶
func (*AnalyzeDataSourceRiskRequest) Descriptor() ([]byte, []int)
func (*AnalyzeDataSourceRiskRequest) GetJobConfig ¶
func (m *AnalyzeDataSourceRiskRequest) GetJobConfig() *RiskAnalysisJobConfig
func (*AnalyzeDataSourceRiskRequest) GetJobId ¶
func (m *AnalyzeDataSourceRiskRequest) GetJobId() string
func (*AnalyzeDataSourceRiskRequest) GetParent ¶
func (m *AnalyzeDataSourceRiskRequest) GetParent() string
func (*AnalyzeDataSourceRiskRequest) ProtoMessage ¶
func (*AnalyzeDataSourceRiskRequest) ProtoMessage()
func (*AnalyzeDataSourceRiskRequest) Reset ¶
func (m *AnalyzeDataSourceRiskRequest) Reset()
func (*AnalyzeDataSourceRiskRequest) String ¶
func (m *AnalyzeDataSourceRiskRequest) String() string
type BigQueryKey ¶
type BigQueryKey struct { // Complete BigQuery table reference. TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference" json:"table_reference,omitempty"` // Absolute number of the row from the beginning of the table at the time // of scanning. RowNumber int64 `protobuf:"varint,2,opt,name=row_number,json=rowNumber" json:"row_number,omitempty"` }
Row key for identifying a record in BigQuery table.
func (*BigQueryKey) Descriptor ¶
func (*BigQueryKey) Descriptor() ([]byte, []int)
func (*BigQueryKey) GetRowNumber ¶
func (m *BigQueryKey) GetRowNumber() int64
func (*BigQueryKey) GetTableReference ¶
func (m *BigQueryKey) GetTableReference() *BigQueryTable
func (*BigQueryKey) ProtoMessage ¶
func (*BigQueryKey) ProtoMessage()
func (*BigQueryKey) Reset ¶
func (m *BigQueryKey) Reset()
func (*BigQueryKey) String ¶
func (m *BigQueryKey) String() string
type BigQueryOptions ¶
type BigQueryOptions struct { // Complete BigQuery table reference. TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference" json:"table_reference,omitempty"` // References to fields uniquely identifying rows within the table. // Nested fields in the format, like `person.birthdate.year`, are allowed. IdentifyingFields []*FieldId `protobuf:"bytes,2,rep,name=identifying_fields,json=identifyingFields" json:"identifying_fields,omitempty"` }
Options defining BigQuery table and row identifiers.
func (*BigQueryOptions) Descriptor ¶
func (*BigQueryOptions) Descriptor() ([]byte, []int)
func (*BigQueryOptions) GetIdentifyingFields ¶
func (m *BigQueryOptions) GetIdentifyingFields() []*FieldId
func (*BigQueryOptions) GetTableReference ¶
func (m *BigQueryOptions) GetTableReference() *BigQueryTable
func (*BigQueryOptions) ProtoMessage ¶
func (*BigQueryOptions) ProtoMessage()
func (*BigQueryOptions) Reset ¶
func (m *BigQueryOptions) Reset()
func (*BigQueryOptions) String ¶
func (m *BigQueryOptions) String() string
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" json:"project_id,omitempty"` // Dataset ID of the table. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // Name of the table. TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId" json:"table_id,omitempty"` }
Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: `<project_id>:<dataset_id>.<table_id>` or `<project_id>.<dataset_id>.<table_id>`.
func (*BigQueryTable) Descriptor ¶
func (*BigQueryTable) Descriptor() ([]byte, []int)
func (*BigQueryTable) GetDatasetId ¶
func (m *BigQueryTable) GetDatasetId() string
func (*BigQueryTable) GetProjectId ¶
func (m *BigQueryTable) GetProjectId() string
func (*BigQueryTable) GetTableId ¶
func (m *BigQueryTable) GetTableId() string
func (*BigQueryTable) ProtoMessage ¶
func (*BigQueryTable) ProtoMessage()
func (*BigQueryTable) Reset ¶
func (m *BigQueryTable) Reset()
func (*BigQueryTable) String ¶
func (m *BigQueryTable) String() string
type BucketingConfig ¶
type BucketingConfig struct { // Set of buckets. Ranges must be non-overlapping. Buckets []*BucketingConfig_Bucket `protobuf:"bytes,1,rep,name=buckets" json:"buckets,omitempty"` }
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.
func (*BucketingConfig) Descriptor ¶
func (*BucketingConfig) Descriptor() ([]byte, []int)
func (*BucketingConfig) GetBuckets ¶
func (m *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket
func (*BucketingConfig) ProtoMessage ¶
func (*BucketingConfig) ProtoMessage()
func (*BucketingConfig) Reset ¶
func (m *BucketingConfig) Reset()
func (*BucketingConfig) String ¶
func (m *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" json:"min,omitempty"` // Upper bound of the range, exclusive; type must match min. Max *Value `protobuf:"bytes,2,opt,name=max" json:"max,omitempty"` // Replacement value for this bucket. If not provided // the default behavior will be to hyphenate the min-max range. ReplacementValue *Value `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue" json:"replacement_value,omitempty"` }
Bucket is represented as a range, along with replacement values.
func (*BucketingConfig_Bucket) Descriptor ¶
func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int)
func (*BucketingConfig_Bucket) GetMax ¶
func (m *BucketingConfig_Bucket) GetMax() *Value
func (*BucketingConfig_Bucket) GetMin ¶
func (m *BucketingConfig_Bucket) GetMin() *Value
func (*BucketingConfig_Bucket) GetReplacementValue ¶
func (m *BucketingConfig_Bucket) GetReplacementValue() *Value
func (*BucketingConfig_Bucket) ProtoMessage ¶
func (*BucketingConfig_Bucket) ProtoMessage()
func (*BucketingConfig_Bucket) Reset ¶
func (m *BucketingConfig_Bucket) Reset()
func (*BucketingConfig_Bucket) String ¶
func (m *BucketingConfig_Bucket) String() string
type CancelDlpJobRequest ¶
type CancelDlpJobRequest struct { // The name of the DlpJob resource to be cancelled. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
The request message for canceling a DLP job.
func (*CancelDlpJobRequest) Descriptor ¶
func (*CancelDlpJobRequest) Descriptor() ([]byte, []int)
func (*CancelDlpJobRequest) GetName ¶
func (m *CancelDlpJobRequest) GetName() string
func (*CancelDlpJobRequest) ProtoMessage ¶
func (*CancelDlpJobRequest) ProtoMessage()
func (*CancelDlpJobRequest) Reset ¶
func (m *CancelDlpJobRequest) Reset()
func (*CancelDlpJobRequest) String ¶
func (m *CancelDlpJobRequest) String() string
type CharacterMaskConfig ¶
type CharacterMaskConfig struct { // Character to mask the sensitive values—for example, "*" for an // alphabetic string such as name, or "0" for a numeric string such as ZIP // code or credit card number. String must have length 1. If not supplied, we // will default to "*" for strings, 0 for digits. MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter" json:"masking_character,omitempty"` // Number of characters to mask. If not set, all matching chars will be // masked. Skipped characters do not count towards this tally. NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask" json:"number_to_mask,omitempty"` // Mask characters in reverse order. For example, if `masking_character` is // '0', number_to_mask is 14, and `reverse_order` is false, then // 1234-5678-9012-3456 -> 00000000000000-3456 // If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` // is true, then 12345 -> 12*** ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder" json:"reverse_order,omitempty"` // When masking a string, items in this list will be skipped when replacing. // For example, if your string is 555-555-5555 and you ask us to skip `-` and // mask 5 chars with * we would produce ***-*55-5555. CharactersToIgnore []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore" json:"characters_to_ignore,omitempty"` }
Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3.
func (*CharacterMaskConfig) Descriptor ¶
func (*CharacterMaskConfig) Descriptor() ([]byte, []int)
func (*CharacterMaskConfig) GetCharactersToIgnore ¶
func (m *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore
func (*CharacterMaskConfig) GetMaskingCharacter ¶
func (m *CharacterMaskConfig) GetMaskingCharacter() string
func (*CharacterMaskConfig) GetNumberToMask ¶
func (m *CharacterMaskConfig) GetNumberToMask() int32
func (*CharacterMaskConfig) GetReverseOrder ¶
func (m *CharacterMaskConfig) GetReverseOrder() bool
func (*CharacterMaskConfig) ProtoMessage ¶
func (*CharacterMaskConfig) ProtoMessage()
func (*CharacterMaskConfig) Reset ¶
func (m *CharacterMaskConfig) Reset()
func (*CharacterMaskConfig) String ¶
func (m *CharacterMaskConfig) String() string
type CharsToIgnore ¶
type CharsToIgnore struct { // Types that are valid to be assigned to Characters: // *CharsToIgnore_CharactersToSkip // *CharsToIgnore_CommonCharactersToIgnore Characters isCharsToIgnore_Characters `protobuf_oneof:"characters"` }
Characters to skip when doing deidentification of a value. These will be left alone and skipped.
func (*CharsToIgnore) Descriptor ¶
func (*CharsToIgnore) Descriptor() ([]byte, []int)
func (*CharsToIgnore) GetCharacters ¶
func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters
func (*CharsToIgnore) GetCharactersToSkip ¶
func (m *CharsToIgnore) GetCharactersToSkip() string
func (*CharsToIgnore) GetCommonCharactersToIgnore ¶
func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore
func (*CharsToIgnore) ProtoMessage ¶
func (*CharsToIgnore) ProtoMessage()
func (*CharsToIgnore) Reset ¶
func (m *CharsToIgnore) Reset()
func (*CharsToIgnore) String ¶
func (m *CharsToIgnore) String() string
func (*CharsToIgnore) XXX_OneofFuncs ¶
func (*CharsToIgnore) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CharsToIgnore_CharactersToSkip ¶
type CharsToIgnore_CharactersToSkip struct {
CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,oneof"`
}
type CharsToIgnore_CommonCharactersToIgnore ¶
type CharsToIgnore_CommonCharactersToIgnore struct {
CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `` /* 158-byte string literal not displayed */
}
type CharsToIgnore_CommonCharsToIgnore ¶
type CharsToIgnore_CommonCharsToIgnore int32
const ( CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED CharsToIgnore_CommonCharsToIgnore = 0 // 0-9 CharsToIgnore_NUMERIC CharsToIgnore_CommonCharsToIgnore = 1 // A-Z CharsToIgnore_ALPHA_UPPER_CASE CharsToIgnore_CommonCharsToIgnore = 2 // a-z CharsToIgnore_ALPHA_LOWER_CASE CharsToIgnore_CommonCharsToIgnore = 3 // US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ CharsToIgnore_PUNCTUATION CharsToIgnore_CommonCharsToIgnore = 4 // Whitespace character, one of [ \t\n\x0B\f\r] CharsToIgnore_WHITESPACE CharsToIgnore_CommonCharsToIgnore = 5 )
func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor ¶
func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int)
func (CharsToIgnore_CommonCharsToIgnore) String ¶
func (x CharsToIgnore_CommonCharsToIgnore) String() string
type CloudStorageKey ¶
type CloudStorageKey struct { // Path to the file. FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"` // Byte offset of the referenced data in the file. StartOffset int64 `protobuf:"varint,2,opt,name=start_offset,json=startOffset" json:"start_offset,omitempty"` }
Record key for a finding in a Cloud Storage file.
func (*CloudStorageKey) Descriptor ¶
func (*CloudStorageKey) Descriptor() ([]byte, []int)
func (*CloudStorageKey) GetFilePath ¶
func (m *CloudStorageKey) GetFilePath() string
func (*CloudStorageKey) GetStartOffset ¶
func (m *CloudStorageKey) GetStartOffset() int64
func (*CloudStorageKey) ProtoMessage ¶
func (*CloudStorageKey) ProtoMessage()
func (*CloudStorageKey) Reset ¶
func (m *CloudStorageKey) Reset()
func (*CloudStorageKey) String ¶
func (m *CloudStorageKey) String() string
type CloudStorageOptions ¶
type CloudStorageOptions struct { FileSet *CloudStorageOptions_FileSet `protobuf:"bytes,1,opt,name=file_set,json=fileSet" 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. BytesLimitPerFile int64 `protobuf:"varint,4,opt,name=bytes_limit_per_file,json=bytesLimitPerFile" json:"bytes_limit_per_file,omitempty"` }
Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.
func (*CloudStorageOptions) Descriptor ¶
func (*CloudStorageOptions) Descriptor() ([]byte, []int)
func (*CloudStorageOptions) GetBytesLimitPerFile ¶
func (m *CloudStorageOptions) GetBytesLimitPerFile() int64
func (*CloudStorageOptions) GetFileSet ¶
func (m *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet
func (*CloudStorageOptions) ProtoMessage ¶
func (*CloudStorageOptions) ProtoMessage()
func (*CloudStorageOptions) Reset ¶
func (m *CloudStorageOptions) Reset()
func (*CloudStorageOptions) String ¶
func (m *CloudStorageOptions) String() string
type CloudStorageOptions_FileSet ¶
type CloudStorageOptions_FileSet struct { // The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the // path is allowed. Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` }
Set of files to scan.
func (*CloudStorageOptions_FileSet) Descriptor ¶
func (*CloudStorageOptions_FileSet) Descriptor() ([]byte, []int)
func (*CloudStorageOptions_FileSet) GetUrl ¶
func (m *CloudStorageOptions_FileSet) GetUrl() string
func (*CloudStorageOptions_FileSet) ProtoMessage ¶
func (*CloudStorageOptions_FileSet) ProtoMessage()
func (*CloudStorageOptions_FileSet) Reset ¶
func (m *CloudStorageOptions_FileSet) Reset()
func (*CloudStorageOptions_FileSet) String ¶
func (m *CloudStorageOptions_FileSet) 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" 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" 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" json:"blue,omitempty"` }
Represents a color in the RGB color space.
func (*Color) Descriptor ¶
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
type ContentItem ¶
type ContentItem struct { // Type of the content, as defined in Content-Type HTTP header. // Supported types are: all "text" types, octet streams, PNG images, // JPEG images. Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` // Data of the item either in the byte array or UTF-8 string form. // // Types that are valid to be assigned to DataItem: // *ContentItem_Data // *ContentItem_Value // *ContentItem_Table DataItem isContentItem_DataItem `protobuf_oneof:"data_item"` }
Container structure for the content to inspect.
func (*ContentItem) Descriptor ¶
func (*ContentItem) Descriptor() ([]byte, []int)
func (*ContentItem) GetData ¶
func (m *ContentItem) GetData() []byte
func (*ContentItem) GetDataItem ¶
func (m *ContentItem) GetDataItem() isContentItem_DataItem
func (*ContentItem) GetTable ¶
func (m *ContentItem) GetTable() *Table
func (*ContentItem) GetType ¶
func (m *ContentItem) GetType() string
func (*ContentItem) GetValue ¶
func (m *ContentItem) GetValue() string
func (*ContentItem) ProtoMessage ¶
func (*ContentItem) ProtoMessage()
func (*ContentItem) Reset ¶
func (m *ContentItem) Reset()
func (*ContentItem) String ¶
func (m *ContentItem) String() string
func (*ContentItem) XXX_OneofFuncs ¶
func (*ContentItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ContentItem_Data ¶
type ContentItem_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ContentItem_Table ¶
type ContentItem_Table struct {
Table *Table `protobuf:"bytes,4,opt,name=table,oneof"`
}
type ContentItem_Value ¶
type ContentItem_Value struct {
Value string `protobuf:"bytes,3,opt,name=value,oneof"`
}
type CreateDeidentifyTemplateRequest ¶
type CreateDeidentifyTemplateRequest struct { // The parent resource name, for example projects/my-project-id or // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The DeidentifyTemplate to create. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate" 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" json:"template_id,omitempty"` }
Request message for CreateDeidentifyTemplate.
func (*CreateDeidentifyTemplateRequest) Descriptor ¶
func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
func (*CreateDeidentifyTemplateRequest) GetDeidentifyTemplate ¶
func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
func (*CreateDeidentifyTemplateRequest) GetParent ¶
func (m *CreateDeidentifyTemplateRequest) GetParent() string
func (*CreateDeidentifyTemplateRequest) GetTemplateId ¶
func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string
func (*CreateDeidentifyTemplateRequest) ProtoMessage ¶
func (*CreateDeidentifyTemplateRequest) ProtoMessage()
func (*CreateDeidentifyTemplateRequest) Reset ¶
func (m *CreateDeidentifyTemplateRequest) Reset()
func (*CreateDeidentifyTemplateRequest) String ¶
func (m *CreateDeidentifyTemplateRequest) String() string
type CreateInspectTemplateRequest ¶
type CreateInspectTemplateRequest struct { // The parent resource name, for example projects/my-project-id or // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The InspectTemplate to create. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate" 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" json:"template_id,omitempty"` }
Request message for CreateInspectTemplate.
func (*CreateInspectTemplateRequest) Descriptor ¶
func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int)
func (*CreateInspectTemplateRequest) GetInspectTemplate ¶
func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
func (*CreateInspectTemplateRequest) GetParent ¶
func (m *CreateInspectTemplateRequest) GetParent() string
func (*CreateInspectTemplateRequest) GetTemplateId ¶
func (m *CreateInspectTemplateRequest) GetTemplateId() string
func (*CreateInspectTemplateRequest) ProtoMessage ¶
func (*CreateInspectTemplateRequest) ProtoMessage()
func (*CreateInspectTemplateRequest) Reset ¶
func (m *CreateInspectTemplateRequest) Reset()
func (*CreateInspectTemplateRequest) String ¶
func (m *CreateInspectTemplateRequest) String() string
type CreateJobTriggerRequest ¶
type CreateJobTriggerRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The JobTrigger to create. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger" 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" json:"trigger_id,omitempty"` }
Request message for CreateJobTrigger.
func (*CreateJobTriggerRequest) Descriptor ¶
func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int)
func (*CreateJobTriggerRequest) GetJobTrigger ¶
func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger
func (*CreateJobTriggerRequest) GetParent ¶
func (m *CreateJobTriggerRequest) GetParent() string
func (*CreateJobTriggerRequest) GetTriggerId ¶
func (m *CreateJobTriggerRequest) GetTriggerId() string
func (*CreateJobTriggerRequest) ProtoMessage ¶
func (*CreateJobTriggerRequest) ProtoMessage()
func (*CreateJobTriggerRequest) Reset ¶
func (m *CreateJobTriggerRequest) Reset()
func (*CreateJobTriggerRequest) String ¶
func (m *CreateJobTriggerRequest) 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" json:"crypto_key,omitempty"` }
Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a 32 byte digest as an uppercase hex string (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). Currently, only string and integer values can be hashed.
func (*CryptoHashConfig) Descriptor ¶
func (*CryptoHashConfig) Descriptor() ([]byte, []int)
func (*CryptoHashConfig) GetCryptoKey ¶
func (m *CryptoHashConfig) GetCryptoKey() *CryptoKey
func (*CryptoHashConfig) ProtoMessage ¶
func (*CryptoHashConfig) ProtoMessage()
func (*CryptoHashConfig) Reset ¶
func (m *CryptoHashConfig) Reset()
func (*CryptoHashConfig) String ¶
func (m *CryptoHashConfig) String() string
type CryptoKey ¶
type CryptoKey struct { // Types that are valid to be assigned to Source: // *CryptoKey_Transient // *CryptoKey_Unwrapped // *CryptoKey_KmsWrapped Source isCryptoKey_Source `protobuf_oneof:"source"` }
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.
func (*CryptoKey) Descriptor ¶
func (*CryptoKey) GetKmsWrapped ¶
func (m *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey
func (*CryptoKey) GetTransient ¶
func (m *CryptoKey) GetTransient() *TransientCryptoKey
func (*CryptoKey) GetUnwrapped ¶
func (m *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey
func (*CryptoKey) ProtoMessage ¶
func (*CryptoKey) ProtoMessage()
type CryptoKey_KmsWrapped ¶
type CryptoKey_KmsWrapped struct {
KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,oneof"`
}
type CryptoKey_Transient ¶
type CryptoKey_Transient struct {
Transient *TransientCryptoKey `protobuf:"bytes,1,opt,name=transient,oneof"`
}
type CryptoKey_Unwrapped ¶
type CryptoKey_Unwrapped struct {
Unwrapped *UnwrappedCryptoKey `protobuf:"bytes,2,opt,name=unwrapped,oneof"`
}
type CryptoReplaceFfxFpeConfig ¶
type CryptoReplaceFfxFpeConfig struct { // The key used by the encryption algorithm. [required] CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey" json:"crypto_key,omitempty"` // The 'tweak', a context may be used for higher security since the same // identifier in two different contexts won't be given the same surrogate. If // the context is not set, a default tweak will be used. // // If the context is set but: // // 1. there is no record present when transforming a given value or // 1. the field is not present when transforming a given value, // // a default tweak will be used. // // Note that case (1) is expected when an `InfoTypeTransformation` is // applied to both structured and non-structured `ContentItem`s. // Currently, the referenced field may be of value type integer or string. // // The tweak is constructed as a sequence of bytes in big endian byte order // such that: // // - a 64 bit integer is encoded followed by a single byte of value 1 // - a string is encoded in UTF-8 format followed by a single byte of value // å 2 Context *FieldId `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"` // Types that are valid to be assigned 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`](/dlp/docs/reference/rest/v2beta2/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" json:"surrogate_info_type,omitempty"` }
Replaces an identifier with a surrogate using 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.
func (*CryptoReplaceFfxFpeConfig) Descriptor ¶
func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int)
func (*CryptoReplaceFfxFpeConfig) GetAlphabet ¶
func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet
func (*CryptoReplaceFfxFpeConfig) GetCommonAlphabet ¶
func (m *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet
func (*CryptoReplaceFfxFpeConfig) GetContext ¶
func (m *CryptoReplaceFfxFpeConfig) GetContext() *FieldId
func (*CryptoReplaceFfxFpeConfig) GetCryptoKey ¶
func (m *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey
func (*CryptoReplaceFfxFpeConfig) GetCustomAlphabet ¶
func (m *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string
func (*CryptoReplaceFfxFpeConfig) GetRadix ¶
func (m *CryptoReplaceFfxFpeConfig) GetRadix() int32
func (*CryptoReplaceFfxFpeConfig) GetSurrogateInfoType ¶
func (m *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType
func (*CryptoReplaceFfxFpeConfig) ProtoMessage ¶
func (*CryptoReplaceFfxFpeConfig) ProtoMessage()
func (*CryptoReplaceFfxFpeConfig) Reset ¶
func (m *CryptoReplaceFfxFpeConfig) Reset()
func (*CryptoReplaceFfxFpeConfig) String ¶
func (m *CryptoReplaceFfxFpeConfig) String() string
func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs ¶
func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CryptoReplaceFfxFpeConfig_CommonAlphabet ¶
type CryptoReplaceFfxFpeConfig_CommonAlphabet struct {
CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `` /* 152-byte string literal not displayed */
}
type CryptoReplaceFfxFpeConfig_CustomAlphabet ¶
type CryptoReplaceFfxFpeConfig_CustomAlphabet struct {
CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,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 particular radix.
const ( 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) EnumDescriptor ¶
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor() ([]byte, []int)
func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String ¶
func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string
type CryptoReplaceFfxFpeConfig_Radix ¶
type CryptoReplaceFfxFpeConfig_Radix struct {
Radix int32 `protobuf:"varint,6,opt,name=radix,oneof"`
}
type CustomInfoType ¶
type CustomInfoType struct { // Info type configuration. All custom info types must have configurations // that do not conflict with built-in info types or other custom info types. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType" json:"info_type,omitempty"` // Likelihood to return for this custom info type. 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,enum=google.privacy.dlp.v2beta2.Likelihood" json:"likelihood,omitempty"` // Types that are valid to be assigned to Type: // *CustomInfoType_Dictionary_ // *CustomInfoType_Regex_ // *CustomInfoType_SurrogateType_ Type isCustomInfoType_Type `protobuf_oneof:"type"` // Set of detection rules to apply to all findings of this custom info type. // Rules are applied in order that they are specified. Not supported for the // `surrogate_type` custom info type. DetectionRules []*CustomInfoType_DetectionRule `protobuf:"bytes,7,rep,name=detection_rules,json=detectionRules" json:"detection_rules,omitempty"` }
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
func (*CustomInfoType) Descriptor ¶
func (*CustomInfoType) Descriptor() ([]byte, []int)
func (*CustomInfoType) GetDetectionRules ¶
func (m *CustomInfoType) GetDetectionRules() []*CustomInfoType_DetectionRule
func (*CustomInfoType) GetDictionary ¶
func (m *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary
func (*CustomInfoType) GetInfoType ¶
func (m *CustomInfoType) GetInfoType() *InfoType
func (*CustomInfoType) GetLikelihood ¶
func (m *CustomInfoType) GetLikelihood() Likelihood
func (*CustomInfoType) GetRegex ¶
func (m *CustomInfoType) GetRegex() *CustomInfoType_Regex
func (*CustomInfoType) GetSurrogateType ¶
func (m *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType
func (*CustomInfoType) GetType ¶
func (m *CustomInfoType) GetType() isCustomInfoType_Type
func (*CustomInfoType) ProtoMessage ¶
func (*CustomInfoType) ProtoMessage()
func (*CustomInfoType) Reset ¶
func (m *CustomInfoType) Reset()
func (*CustomInfoType) String ¶
func (m *CustomInfoType) String() string
func (*CustomInfoType) XXX_OneofFuncs ¶
func (*CustomInfoType) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CustomInfoType_DetectionRule ¶
type CustomInfoType_DetectionRule struct { // Types that are valid to be assigned to Type: // *CustomInfoType_DetectionRule_HotwordRule_ Type isCustomInfoType_DetectionRule_Type `protobuf_oneof:"type"` }
Rule for modifying a custom info type to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom info type.
func (*CustomInfoType_DetectionRule) Descriptor ¶
func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int)
func (*CustomInfoType_DetectionRule) GetHotwordRule ¶
func (m *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) Reset ¶
func (m *CustomInfoType_DetectionRule) Reset()
func (*CustomInfoType_DetectionRule) String ¶
func (m *CustomInfoType_DetectionRule) String() string
func (*CustomInfoType_DetectionRule) XXX_OneofFuncs ¶
func (*CustomInfoType_DetectionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CustomInfoType_DetectionRule_HotwordRule ¶
type CustomInfoType_DetectionRule_HotwordRule struct { // Regex pattern defining what qualifies as a hotword. HotwordRegex *CustomInfoType_Regex `protobuf:"bytes,1,opt,name=hotword_regex,json=hotwordRegex" json:"hotword_regex,omitempty"` // Proximity of the finding within which the entire hotword must reside. // The total length of the window cannot exceed 1000 characters. Note that // the finding itself will be included in the window, so that hotwords may // be used to match substrings of the finding itself. For example, the // certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be // adjusted upwards if the area code is known to be the local area code of // a company office using the hotword regex "\(xxx\)", where "xxx" // is the area code in question. Proximity *CustomInfoType_DetectionRule_Proximity `protobuf:"bytes,2,opt,name=proximity" json:"proximity,omitempty"` // Likelihood adjustment to apply to all matching findings. LikelihoodAdjustment *CustomInfoType_DetectionRule_LikelihoodAdjustment `protobuf:"bytes,3,opt,name=likelihood_adjustment,json=likelihoodAdjustment" json:"likelihood_adjustment,omitempty"` }
Detection rule that adjusts the likelihood of findings within a certain proximity of hotwords.
func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor ¶
func (*CustomInfoType_DetectionRule_HotwordRule) Descriptor() ([]byte, []int)
func (*CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex ¶
func (m *CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex() *CustomInfoType_Regex
func (*CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment ¶
func (m *CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment() *CustomInfoType_DetectionRule_LikelihoodAdjustment
func (*CustomInfoType_DetectionRule_HotwordRule) GetProximity ¶
func (m *CustomInfoType_DetectionRule_HotwordRule) GetProximity() *CustomInfoType_DetectionRule_Proximity
func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage ¶
func (*CustomInfoType_DetectionRule_HotwordRule) ProtoMessage()
func (*CustomInfoType_DetectionRule_HotwordRule) Reset ¶
func (m *CustomInfoType_DetectionRule_HotwordRule) Reset()
func (*CustomInfoType_DetectionRule_HotwordRule) String ¶
func (m *CustomInfoType_DetectionRule_HotwordRule) String() string
type CustomInfoType_DetectionRule_HotwordRule_ ¶
type CustomInfoType_DetectionRule_HotwordRule_ struct {
HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,oneof"`
}
type CustomInfoType_DetectionRule_LikelihoodAdjustment ¶
type CustomInfoType_DetectionRule_LikelihoodAdjustment struct { // Types that are valid to be assigned to Adjustment: // *CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood // *CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood Adjustment isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment `protobuf_oneof:"adjustment"` }
Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor ¶
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor() ([]byte, []int)
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment ¶
func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood ¶
func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood() Likelihood
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood ¶
func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage ¶
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage()
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset ¶
func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset()
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) String ¶
func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofFuncs ¶
func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood ¶
type CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood struct {
FixedLikelihood Likelihood `protobuf:"varint,1,opt,name=fixed_likelihood,json=fixedLikelihood,enum=google.privacy.dlp.v2beta2.Likelihood,oneof"`
}
type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood ¶
type CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood struct {
RelativeLikelihood int32 `protobuf:"varint,2,opt,name=relative_likelihood,json=relativeLikelihood,oneof"`
}
type CustomInfoType_DetectionRule_Proximity ¶
type CustomInfoType_DetectionRule_Proximity struct { // Number of characters before the finding to consider. WindowBefore int32 `protobuf:"varint,1,opt,name=window_before,json=windowBefore" json:"window_before,omitempty"` // Number of characters after the finding to consider. WindowAfter int32 `protobuf:"varint,2,opt,name=window_after,json=windowAfter" json:"window_after,omitempty"` }
Message for specifying a window around a finding to apply a detection rule.
func (*CustomInfoType_DetectionRule_Proximity) Descriptor ¶
func (*CustomInfoType_DetectionRule_Proximity) Descriptor() ([]byte, []int)
func (*CustomInfoType_DetectionRule_Proximity) GetWindowAfter ¶
func (m *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32
func (*CustomInfoType_DetectionRule_Proximity) GetWindowBefore ¶
func (m *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32
func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage ¶
func (*CustomInfoType_DetectionRule_Proximity) ProtoMessage()
func (*CustomInfoType_DetectionRule_Proximity) Reset ¶
func (m *CustomInfoType_DetectionRule_Proximity) Reset()
func (*CustomInfoType_DetectionRule_Proximity) String ¶
func (m *CustomInfoType_DetectionRule_Proximity) String() string
type CustomInfoType_Dictionary ¶
type CustomInfoType_Dictionary struct { // Types that are valid to be assigned to Source: // *CustomInfoType_Dictionary_WordList_ Source isCustomInfoType_Dictionary_Source `protobuf_oneof:"source"` }
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.
func (*CustomInfoType_Dictionary) Descriptor ¶
func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int)
func (*CustomInfoType_Dictionary) GetSource ¶
func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source
func (*CustomInfoType_Dictionary) GetWordList ¶
func (m *CustomInfoType_Dictionary) GetWordList() *CustomInfoType_Dictionary_WordList
func (*CustomInfoType_Dictionary) ProtoMessage ¶
func (*CustomInfoType_Dictionary) ProtoMessage()
func (*CustomInfoType_Dictionary) Reset ¶
func (m *CustomInfoType_Dictionary) Reset()
func (*CustomInfoType_Dictionary) String ¶
func (m *CustomInfoType_Dictionary) String() string
func (*CustomInfoType_Dictionary) XXX_OneofFuncs ¶
func (*CustomInfoType_Dictionary) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CustomInfoType_Dictionary_ ¶
type CustomInfoType_Dictionary_ struct {
Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,2,opt,name=dictionary,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" json:"words,omitempty"` }
Message defining a list of words or phrases to search for in the data.
func (*CustomInfoType_Dictionary_WordList) Descriptor ¶
func (*CustomInfoType_Dictionary_WordList) Descriptor() ([]byte, []int)
func (*CustomInfoType_Dictionary_WordList) GetWords ¶
func (m *CustomInfoType_Dictionary_WordList) GetWords() []string
func (*CustomInfoType_Dictionary_WordList) ProtoMessage ¶
func (*CustomInfoType_Dictionary_WordList) ProtoMessage()
func (*CustomInfoType_Dictionary_WordList) Reset ¶
func (m *CustomInfoType_Dictionary_WordList) Reset()
func (*CustomInfoType_Dictionary_WordList) String ¶
func (m *CustomInfoType_Dictionary_WordList) String() string
type CustomInfoType_Dictionary_WordList_ ¶
type CustomInfoType_Dictionary_WordList_ struct {
WordList *CustomInfoType_Dictionary_WordList `protobuf:"bytes,1,opt,name=word_list,json=wordList,oneof"`
}
type CustomInfoType_Regex ¶
type CustomInfoType_Regex struct { // Pattern defining the regular expression. Pattern string `protobuf:"bytes,1,opt,name=pattern" json:"pattern,omitempty"` }
Message defining a custom regular expression.
func (*CustomInfoType_Regex) Descriptor ¶
func (*CustomInfoType_Regex) Descriptor() ([]byte, []int)
func (*CustomInfoType_Regex) GetPattern ¶
func (m *CustomInfoType_Regex) GetPattern() string
func (*CustomInfoType_Regex) ProtoMessage ¶
func (*CustomInfoType_Regex) ProtoMessage()
func (*CustomInfoType_Regex) Reset ¶
func (m *CustomInfoType_Regex) Reset()
func (*CustomInfoType_Regex) String ¶
func (m *CustomInfoType_Regex) String() string
type CustomInfoType_Regex_ ¶
type CustomInfoType_Regex_ struct {
Regex *CustomInfoType_Regex `protobuf:"bytes,3,opt,name=regex,oneof"`
}
type CustomInfoType_SurrogateType ¶
type CustomInfoType_SurrogateType struct { }
Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/deidentify#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 custom info type does not support the use of `detection_rules`.
func (*CustomInfoType_SurrogateType) Descriptor ¶
func (*CustomInfoType_SurrogateType) Descriptor() ([]byte, []int)
func (*CustomInfoType_SurrogateType) ProtoMessage ¶
func (*CustomInfoType_SurrogateType) ProtoMessage()
func (*CustomInfoType_SurrogateType) Reset ¶
func (m *CustomInfoType_SurrogateType) Reset()
func (*CustomInfoType_SurrogateType) String ¶
func (m *CustomInfoType_SurrogateType) String() string
type CustomInfoType_SurrogateType_ ¶
type CustomInfoType_SurrogateType_ struct {
SurrogateType *CustomInfoType_SurrogateType `protobuf:"bytes,4,opt,name=surrogate_type,json=surrogateType,oneof"`
}
type DatastoreKey ¶
type DatastoreKey struct { // Datastore entity key. EntityKey *Key `protobuf:"bytes,1,opt,name=entity_key,json=entityKey" json:"entity_key,omitempty"` }
Record key for a finding in Cloud Datastore.
func (*DatastoreKey) Descriptor ¶
func (*DatastoreKey) Descriptor() ([]byte, []int)
func (*DatastoreKey) GetEntityKey ¶
func (m *DatastoreKey) GetEntityKey() *Key
func (*DatastoreKey) ProtoMessage ¶
func (*DatastoreKey) ProtoMessage()
func (*DatastoreKey) Reset ¶
func (m *DatastoreKey) Reset()
func (*DatastoreKey) String ¶
func (m *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" json:"partition_id,omitempty"` // The kind to process. Kind *KindExpression `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` }
Options defining a data set within Google Cloud Datastore.
func (*DatastoreOptions) Descriptor ¶
func (*DatastoreOptions) Descriptor() ([]byte, []int)
func (*DatastoreOptions) GetKind ¶
func (m *DatastoreOptions) GetKind() *KindExpression
func (*DatastoreOptions) GetPartitionId ¶
func (m *DatastoreOptions) GetPartitionId() *PartitionId
func (*DatastoreOptions) ProtoMessage ¶
func (*DatastoreOptions) ProtoMessage()
func (*DatastoreOptions) Reset ¶
func (m *DatastoreOptions) Reset()
func (*DatastoreOptions) String ¶
func (m *DatastoreOptions) String() string
type DateShiftConfig ¶
type DateShiftConfig struct { // 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. // [Required] UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays" json:"upper_bound_days,omitempty"` // For example, -5 means shift date to at most 5 days back in the past. // [Required] LowerBoundDays int32 `protobuf:"varint,2,opt,name=lower_bound_days,json=lowerBoundDays" json:"lower_bound_days,omitempty"` // Points to the field that contains the context, for example, an entity id. // If set, must also set method. If set, shift will be consistent for the // given context. Context *FieldId `protobuf:"bytes,3,opt,name=context" 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 valid to be assigned to Method: // *DateShiftConfig_CryptoKey Method isDateShiftConfig_Method `protobuf_oneof:"method"` }
Shifts dates by random number of days, with option to be consistent for the same context.
func (*DateShiftConfig) Descriptor ¶
func (*DateShiftConfig) Descriptor() ([]byte, []int)
func (*DateShiftConfig) GetContext ¶
func (m *DateShiftConfig) GetContext() *FieldId
func (*DateShiftConfig) GetCryptoKey ¶
func (m *DateShiftConfig) GetCryptoKey() *CryptoKey
func (*DateShiftConfig) GetLowerBoundDays ¶
func (m *DateShiftConfig) GetLowerBoundDays() int32
func (*DateShiftConfig) GetMethod ¶
func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method
func (*DateShiftConfig) GetUpperBoundDays ¶
func (m *DateShiftConfig) GetUpperBoundDays() int32
func (*DateShiftConfig) ProtoMessage ¶
func (*DateShiftConfig) ProtoMessage()
func (*DateShiftConfig) Reset ¶
func (m *DateShiftConfig) Reset()
func (*DateShiftConfig) String ¶
func (m *DateShiftConfig) String() string
func (*DateShiftConfig) XXX_OneofFuncs ¶
func (*DateShiftConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type DateShiftConfig_CryptoKey ¶
type DateShiftConfig_CryptoKey struct {
CryptoKey *CryptoKey `protobuf:"bytes,4,opt,name=crypto_key,json=cryptoKey,oneof"`
}
type DateTime ¶
type DateTime struct { // One or more of the following must be set. All fields are optional, but // when set must be valid date or time values. Date *google_type.Date `protobuf:"bytes,1,opt,name=date" json:"date,omitempty"` DayOfWeek google_type1.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` Time *google_type2.TimeOfDay `protobuf:"bytes,3,opt,name=time" json:"time,omitempty"` TimeZone *DateTime_TimeZone `protobuf:"bytes,4,opt,name=time_zone,json=timeZone" json:"time_zone,omitempty"` }
Message for a date time object.
func (*DateTime) Descriptor ¶
func (*DateTime) GetDate ¶
func (m *DateTime) GetDate() *google_type.Date
func (*DateTime) GetDayOfWeek ¶
func (m *DateTime) GetDayOfWeek() google_type1.DayOfWeek
func (*DateTime) GetTime ¶
func (m *DateTime) GetTime() *google_type2.TimeOfDay
func (*DateTime) GetTimeZone ¶
func (m *DateTime) GetTimeZone() *DateTime_TimeZone
func (*DateTime) ProtoMessage ¶
func (*DateTime) ProtoMessage()
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" json:"offset_minutes,omitempty"` }
func (*DateTime_TimeZone) Descriptor ¶
func (*DateTime_TimeZone) Descriptor() ([]byte, []int)
func (*DateTime_TimeZone) GetOffsetMinutes ¶
func (m *DateTime_TimeZone) GetOffsetMinutes() int32
func (*DateTime_TimeZone) ProtoMessage ¶
func (*DateTime_TimeZone) ProtoMessage()
func (*DateTime_TimeZone) Reset ¶
func (m *DateTime_TimeZone) Reset()
func (*DateTime_TimeZone) String ¶
func (m *DateTime_TimeZone) String() string
type DeidentifyConfig ¶
type DeidentifyConfig struct { // Types that are valid to be assigned to Transformation: // *DeidentifyConfig_InfoTypeTransformations // *DeidentifyConfig_RecordTransformations Transformation isDeidentifyConfig_Transformation `protobuf_oneof:"transformation"` }
The configuration that controls how the data will change.
func (*DeidentifyConfig) Descriptor ¶
func (*DeidentifyConfig) Descriptor() ([]byte, []int)
func (*DeidentifyConfig) GetInfoTypeTransformations ¶
func (m *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations
func (*DeidentifyConfig) GetRecordTransformations ¶
func (m *DeidentifyConfig) GetRecordTransformations() *RecordTransformations
func (*DeidentifyConfig) GetTransformation ¶
func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation
func (*DeidentifyConfig) ProtoMessage ¶
func (*DeidentifyConfig) ProtoMessage()
func (*DeidentifyConfig) Reset ¶
func (m *DeidentifyConfig) Reset()
func (*DeidentifyConfig) String ¶
func (m *DeidentifyConfig) String() string
func (*DeidentifyConfig) XXX_OneofFuncs ¶
func (*DeidentifyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type DeidentifyConfig_InfoTypeTransformations ¶
type DeidentifyConfig_InfoTypeTransformations struct {
InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,1,opt,name=info_type_transformations,json=infoTypeTransformations,oneof"`
}
type DeidentifyConfig_RecordTransformations ¶
type DeidentifyConfig_RecordTransformations struct {
RecordTransformations *RecordTransformations `protobuf:"bytes,2,opt,name=record_transformations,json=recordTransformations,oneof"`
}
type DeidentifyContentRequest ¶
type DeidentifyContentRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" 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" 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" json:"inspect_config,omitempty"` // The item to de-identify. Will be treated as text. Item *ContentItem `protobuf:"bytes,4,opt,name=item" json:"item,omitempty"` // Optional 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" json:"inspect_template_name,omitempty"` // Optional 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 `protobuf:"bytes,6,opt,name=deidentify_template_name,json=deidentifyTemplateName" json:"deidentify_template_name,omitempty"` }
Request to de-identify a list of items.
func (*DeidentifyContentRequest) Descriptor ¶
func (*DeidentifyContentRequest) Descriptor() ([]byte, []int)
func (*DeidentifyContentRequest) GetDeidentifyConfig ¶
func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig
func (*DeidentifyContentRequest) GetDeidentifyTemplateName ¶
func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string
func (*DeidentifyContentRequest) GetInspectConfig ¶
func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig
func (*DeidentifyContentRequest) GetInspectTemplateName ¶
func (m *DeidentifyContentRequest) GetInspectTemplateName() string
func (*DeidentifyContentRequest) GetItem ¶
func (m *DeidentifyContentRequest) GetItem() *ContentItem
func (*DeidentifyContentRequest) GetParent ¶
func (m *DeidentifyContentRequest) GetParent() string
func (*DeidentifyContentRequest) ProtoMessage ¶
func (*DeidentifyContentRequest) ProtoMessage()
func (*DeidentifyContentRequest) Reset ¶
func (m *DeidentifyContentRequest) Reset()
func (*DeidentifyContentRequest) String ¶
func (m *DeidentifyContentRequest) String() string
type DeidentifyContentResponse ¶
type DeidentifyContentResponse struct { // The de-identified item. Item *ContentItem `protobuf:"bytes,1,opt,name=item" json:"item,omitempty"` // An overview of the changes that were made on the `item`. Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview" json:"overview,omitempty"` }
Results of de-identifying a ContentItem.
func (*DeidentifyContentResponse) Descriptor ¶
func (*DeidentifyContentResponse) Descriptor() ([]byte, []int)
func (*DeidentifyContentResponse) GetItem ¶
func (m *DeidentifyContentResponse) GetItem() *ContentItem
func (*DeidentifyContentResponse) GetOverview ¶
func (m *DeidentifyContentResponse) GetOverview() *TransformationOverview
func (*DeidentifyContentResponse) ProtoMessage ¶
func (*DeidentifyContentResponse) ProtoMessage()
func (*DeidentifyContentResponse) Reset ¶
func (m *DeidentifyContentResponse) Reset()
func (*DeidentifyContentResponse) String ¶
func (m *DeidentifyContentResponse) String() string
type DeidentifyTemplate ¶
type DeidentifyTemplate struct { // The template name. Output only. // // 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" json:"name,omitempty"` // Display name (max 256 chars). DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // Short description (max 256 chars). Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The creation timestamp of a inspectTemplate, output only field. CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // The last update timestamp of a inspectTemplate, output only field. UpdateTime *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime" json:"update_time,omitempty"` // ///////////// // The core content of the template // /////////////// DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,6,opt,name=deidentify_config,json=deidentifyConfig" json:"deidentify_config,omitempty"` }
The DeidentifyTemplates contains instructions on how to deidentify content.
func (*DeidentifyTemplate) Descriptor ¶
func (*DeidentifyTemplate) Descriptor() ([]byte, []int)
func (*DeidentifyTemplate) GetCreateTime ¶
func (m *DeidentifyTemplate) GetCreateTime() *google_protobuf1.Timestamp
func (*DeidentifyTemplate) GetDeidentifyConfig ¶
func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig
func (*DeidentifyTemplate) GetDescription ¶
func (m *DeidentifyTemplate) GetDescription() string
func (*DeidentifyTemplate) GetDisplayName ¶
func (m *DeidentifyTemplate) GetDisplayName() string
func (*DeidentifyTemplate) GetName ¶
func (m *DeidentifyTemplate) GetName() string
func (*DeidentifyTemplate) GetUpdateTime ¶
func (m *DeidentifyTemplate) GetUpdateTime() *google_protobuf1.Timestamp
func (*DeidentifyTemplate) ProtoMessage ¶
func (*DeidentifyTemplate) ProtoMessage()
func (*DeidentifyTemplate) Reset ¶
func (m *DeidentifyTemplate) Reset()
func (*DeidentifyTemplate) String ¶
func (m *DeidentifyTemplate) String() string
type DeleteDeidentifyTemplateRequest ¶
type DeleteDeidentifyTemplateRequest struct { // 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" json:"name,omitempty"` }
Request message for DeleteDeidentifyTemplate.
func (*DeleteDeidentifyTemplateRequest) Descriptor ¶
func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
func (*DeleteDeidentifyTemplateRequest) GetName ¶
func (m *DeleteDeidentifyTemplateRequest) GetName() string
func (*DeleteDeidentifyTemplateRequest) ProtoMessage ¶
func (*DeleteDeidentifyTemplateRequest) ProtoMessage()
func (*DeleteDeidentifyTemplateRequest) Reset ¶
func (m *DeleteDeidentifyTemplateRequest) Reset()
func (*DeleteDeidentifyTemplateRequest) String ¶
func (m *DeleteDeidentifyTemplateRequest) String() string
type DeleteDlpJobRequest ¶
type DeleteDlpJobRequest struct { // The name of the DlpJob resource to be deleted. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
The request message for deleting a DLP job.
func (*DeleteDlpJobRequest) Descriptor ¶
func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int)
func (*DeleteDlpJobRequest) GetName ¶
func (m *DeleteDlpJobRequest) GetName() string
func (*DeleteDlpJobRequest) ProtoMessage ¶
func (*DeleteDlpJobRequest) ProtoMessage()
func (*DeleteDlpJobRequest) Reset ¶
func (m *DeleteDlpJobRequest) Reset()
func (*DeleteDlpJobRequest) String ¶
func (m *DeleteDlpJobRequest) String() string
type DeleteInspectTemplateRequest ¶
type DeleteInspectTemplateRequest struct { // 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" json:"name,omitempty"` }
Request message for DeleteInspectTemplate.
func (*DeleteInspectTemplateRequest) Descriptor ¶
func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int)
func (*DeleteInspectTemplateRequest) GetName ¶
func (m *DeleteInspectTemplateRequest) GetName() string
func (*DeleteInspectTemplateRequest) ProtoMessage ¶
func (*DeleteInspectTemplateRequest) ProtoMessage()
func (*DeleteInspectTemplateRequest) Reset ¶
func (m *DeleteInspectTemplateRequest) Reset()
func (*DeleteInspectTemplateRequest) String ¶
func (m *DeleteInspectTemplateRequest) String() string
type DeleteJobTriggerRequest ¶
type DeleteJobTriggerRequest struct { // Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
Request message for DeleteJobTrigger.
func (*DeleteJobTriggerRequest) Descriptor ¶
func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int)
func (*DeleteJobTriggerRequest) GetName ¶
func (m *DeleteJobTriggerRequest) GetName() string
func (*DeleteJobTriggerRequest) ProtoMessage ¶
func (*DeleteJobTriggerRequest) ProtoMessage()
func (*DeleteJobTriggerRequest) Reset ¶
func (m *DeleteJobTriggerRequest) Reset()
func (*DeleteJobTriggerRequest) String ¶
func (m *DeleteJobTriggerRequest) String() string
type DlpJob ¶
type DlpJob struct { // The server-assigned name. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The type of job. Type DlpJobType `protobuf:"varint,2,opt,name=type,enum=google.privacy.dlp.v2beta2.DlpJobType" json:"type,omitempty"` // State of a job. State DlpJob_JobState `protobuf:"varint,3,opt,name=state,enum=google.privacy.dlp.v2beta2.DlpJob_JobState" json:"state,omitempty"` // Types that are valid to be assigned to Details: // *DlpJob_RiskDetails // *DlpJob_InspectDetails Details isDlpJob_Details `protobuf_oneof:"details"` // Time when the job was created. CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // Time when the job started. StartTime *google_protobuf1.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime" json:"start_time,omitempty"` // Time when the job finished. EndTime *google_protobuf1.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime" json:"end_time,omitempty"` // A stream of errors encountered running the job. ErrorResults []*google_rpc.Status `protobuf:"bytes,9,rep,name=error_results,json=errorResults" json:"error_results,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" json:"job_trigger_name,omitempty"` }
Combines all of the information about a DLP job.
func (*DlpJob) Descriptor ¶
func (*DlpJob) GetCreateTime ¶
func (m *DlpJob) GetCreateTime() *google_protobuf1.Timestamp
func (*DlpJob) GetDetails ¶
func (m *DlpJob) GetDetails() isDlpJob_Details
func (*DlpJob) GetEndTime ¶
func (m *DlpJob) GetEndTime() *google_protobuf1.Timestamp
func (*DlpJob) GetErrorResults ¶
func (m *DlpJob) GetErrorResults() []*google_rpc.Status
func (*DlpJob) GetInspectDetails ¶
func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails
func (*DlpJob) GetJobTriggerName ¶
func (*DlpJob) GetRiskDetails ¶
func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails
func (*DlpJob) GetStartTime ¶
func (m *DlpJob) GetStartTime() *google_protobuf1.Timestamp
func (*DlpJob) GetState ¶
func (m *DlpJob) GetState() DlpJob_JobState
func (*DlpJob) GetType ¶
func (m *DlpJob) GetType() DlpJobType
func (*DlpJob) ProtoMessage ¶
func (*DlpJob) ProtoMessage()
type DlpJobType ¶
type DlpJobType int32
An enum to represent the various type of DLP jobs.
const ( 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) EnumDescriptor ¶
func (DlpJobType) EnumDescriptor() ([]byte, []int)
func (DlpJobType) String ¶
func (x DlpJobType) String() string
type DlpJob_InspectDetails ¶
type DlpJob_InspectDetails struct {
InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,oneof"`
}
type DlpJob_JobState ¶
type DlpJob_JobState int32
const ( DlpJob_JOB_STATE_UNSPECIFIED DlpJob_JobState = 0 // The job has not yet started. DlpJob_PENDING DlpJob_JobState = 1 // The job is currently running. DlpJob_RUNNING DlpJob_JobState = 2 // The job is no longer running. DlpJob_DONE DlpJob_JobState = 3 // The job was canceled before it could complete. DlpJob_CANCELED DlpJob_JobState = 4 // The job had an error and did not complete. DlpJob_FAILED DlpJob_JobState = 5 )
func (DlpJob_JobState) EnumDescriptor ¶
func (DlpJob_JobState) EnumDescriptor() ([]byte, []int)
func (DlpJob_JobState) String ¶
func (x DlpJob_JobState) String() string
type DlpJob_RiskDetails ¶
type DlpJob_RiskDetails struct {
RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,oneof"`
}
type DlpServiceClient ¶
type DlpServiceClient interface { // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. // [How-to guide for text](/dlp/docs/inspecting-text), [How-to guide for // images](/dlp/docs/inspecting-images) 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. // [How-to guide](/dlp/docs/redacting-sensitive-data-images) 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. // [How-to guide](/dlp/docs/deidentify-sensitive-data) DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error) // Re-identify content that has been de-identified. ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error) // Schedules a job scanning content in a Google Cloud Platform data // repository. [How-to guide](/dlp/docs/inspecting-storage) InspectDataSource(ctx context.Context, in *InspectDataSourceRequest, opts ...grpc.CallOption) (*DlpJob, error) // Schedules a job to compute risk analysis metrics over content in a Google // Cloud Platform repository. [How-to guide](/dlp/docs/compute-risk-analysis) AnalyzeDataSourceRisk(ctx context.Context, in *AnalyzeDataSourceRiskRequest, opts ...grpc.CallOption) (*DlpJob, error) // Returns sensitive information types DLP supports. ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error) // Creates an inspect template for re-using frequently used configuration // for inspecting content, images, and storage. CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) // Updates the inspect template. UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) // Gets an inspect template. GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) // Lists inspect templates. ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error) // Deletes inspect templates. DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) // Creates an Deidentify template for re-using frequently used configuration // for Deidentifying content, images, and storage. CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) // Updates the inspect template. UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) // Gets an inspect template. GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) // Lists inspect templates. ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error) // Deletes inspect templates. DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) // Creates a job to run DLP actions such as scanning storage for sensitive // information on a set schedule. CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) // Updates a job trigger. UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) // Gets a job trigger. GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) // Lists job triggers. ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error) // Deletes a job trigger. DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) // Lists DlpJobs that match the specified filter in the request. ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error) // Gets the latest state of a long-running DlpJob. 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 cancelled if // possible. DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*google_protobuf3.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. CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) }
func NewDlpServiceClient ¶
func NewDlpServiceClient(cc *grpc.ClientConn) DlpServiceClient
type DlpServiceServer ¶
type DlpServiceServer interface { // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. // [How-to guide for text](/dlp/docs/inspecting-text), [How-to guide for // images](/dlp/docs/inspecting-images) 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. // [How-to guide](/dlp/docs/redacting-sensitive-data-images) RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error) // De-identifies potentially sensitive info from a ContentItem. // This method has limits on input size and output size. // [How-to guide](/dlp/docs/deidentify-sensitive-data) DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error) // Re-identify content that has been de-identified. ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error) // Schedules a job scanning content in a Google Cloud Platform data // repository. [How-to guide](/dlp/docs/inspecting-storage) InspectDataSource(context.Context, *InspectDataSourceRequest) (*DlpJob, error) // Schedules a job to compute risk analysis metrics over content in a Google // Cloud Platform repository. [How-to guide](/dlp/docs/compute-risk-analysis) AnalyzeDataSourceRisk(context.Context, *AnalyzeDataSourceRiskRequest) (*DlpJob, error) // Returns sensitive information types DLP supports. ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error) // Creates an inspect template for re-using frequently used configuration // for inspecting content, images, and storage. CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error) // Updates the inspect template. UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error) // Gets an inspect template. GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error) // Lists inspect templates. ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error) // Deletes inspect templates. DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*google_protobuf3.Empty, error) // Creates an Deidentify template for re-using frequently used configuration // for Deidentifying content, images, and storage. CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) // Updates the inspect template. UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) // Gets an inspect template. GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error) // Lists inspect templates. ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error) // Deletes inspect templates. DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*google_protobuf3.Empty, error) // Creates a job to run DLP actions such as scanning storage for sensitive // information on a set schedule. CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error) // Updates a job trigger. UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error) // Gets a job trigger. GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error) // Lists job triggers. ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error) // Deletes a job trigger. DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*google_protobuf3.Empty, error) // Lists DlpJobs that match the specified filter in the request. ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error) // Gets the latest state of a long-running DlpJob. 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 cancelled if // possible. DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*google_protobuf3.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. CancelDlpJob(context.Context, *CancelDlpJobRequest) (*google_protobuf3.Empty, error) }
type EntityId ¶
type EntityId struct { // Composite key indicating which field contains the entity identifier. Field *FieldId `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"` }
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 be consistent across multiple rows pertaining to the same entity.
func (*EntityId) Descriptor ¶
func (*EntityId) ProtoMessage ¶
func (*EntityId) ProtoMessage()
type FieldId ¶
type FieldId struct { // Name describing the field. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
General identifier of a data field in a storage service.
func (*FieldId) Descriptor ¶
func (*FieldId) ProtoMessage ¶
func (*FieldId) ProtoMessage()
type FieldTransformation ¶
type FieldTransformation struct { // Input field(s) to apply the transformation to. [required] Fields []*FieldId `protobuf:"bytes,1,rep,name=fields" 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. [optional] // // 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" json:"condition,omitempty"` // Transformation to apply. [required] // // Types that are valid to be assigned to Transformation: // *FieldTransformation_PrimitiveTransformation // *FieldTransformation_InfoTypeTransformations Transformation isFieldTransformation_Transformation `protobuf_oneof:"transformation"` }
The transformation to apply to the field.
func (*FieldTransformation) Descriptor ¶
func (*FieldTransformation) Descriptor() ([]byte, []int)
func (*FieldTransformation) GetCondition ¶
func (m *FieldTransformation) GetCondition() *RecordCondition
func (*FieldTransformation) GetFields ¶
func (m *FieldTransformation) GetFields() []*FieldId
func (*FieldTransformation) GetInfoTypeTransformations ¶
func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations
func (*FieldTransformation) GetPrimitiveTransformation ¶
func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
func (*FieldTransformation) GetTransformation ¶
func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation
func (*FieldTransformation) ProtoMessage ¶
func (*FieldTransformation) ProtoMessage()
func (*FieldTransformation) Reset ¶
func (m *FieldTransformation) Reset()
func (*FieldTransformation) String ¶
func (m *FieldTransformation) String() string
func (*FieldTransformation) XXX_OneofFuncs ¶
func (*FieldTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type FieldTransformation_InfoTypeTransformations ¶
type FieldTransformation_InfoTypeTransformations struct {
InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,oneof"`
}
type FieldTransformation_PrimitiveTransformation ¶
type FieldTransformation_PrimitiveTransformation struct {
PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,oneof"`
}
type Finding ¶
type Finding struct { // The content that was found. Even if the content is not textual, it // may be converted to a textual representation here. // Provided if requested by the `InspectConfig` 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" json:"quote,omitempty"` // The type of content that might have been found. // Provided if requested by the `InspectConfig`. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType" json:"info_type,omitempty"` // Estimate of how likely it is that the `info_type` is correct. Likelihood Likelihood `protobuf:"varint,3,opt,name=likelihood,enum=google.privacy.dlp.v2beta2.Likelihood" json:"likelihood,omitempty"` // Where the content was found. Location *Location `protobuf:"bytes,4,opt,name=location" json:"location,omitempty"` // Timestamp when finding was detected. CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // InfoType-dependent details parsed from quote. QuoteInfo *QuoteInfo `protobuf:"bytes,7,opt,name=quote_info,json=quoteInfo" json:"quote_info,omitempty"` }
Represents a piece of potentially sensitive content.
func (*Finding) Descriptor ¶
func (*Finding) GetCreateTime ¶
func (m *Finding) GetCreateTime() *google_protobuf1.Timestamp
func (*Finding) GetInfoType ¶
func (*Finding) GetLikelihood ¶
func (m *Finding) GetLikelihood() Likelihood
func (*Finding) GetLocation ¶
func (*Finding) GetQuoteInfo ¶
func (*Finding) ProtoMessage ¶
func (*Finding) ProtoMessage()
type FixedSizeBucketingConfig ¶
type FixedSizeBucketingConfig struct { // 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”. [Required]. LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound" json:"lower_bound,omitempty"` // 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+”. // [Required]. UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"` // 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. [Required]. BucketSize float64 `protobuf:"fixed64,3,opt,name=bucket_size,json=bucketSize" json:"bucket_size,omitempty"` }
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>, i.e 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.
func (*FixedSizeBucketingConfig) Descriptor ¶
func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int)
func (*FixedSizeBucketingConfig) GetBucketSize ¶
func (m *FixedSizeBucketingConfig) GetBucketSize() float64
func (*FixedSizeBucketingConfig) GetLowerBound ¶
func (m *FixedSizeBucketingConfig) GetLowerBound() *Value
func (*FixedSizeBucketingConfig) GetUpperBound ¶
func (m *FixedSizeBucketingConfig) GetUpperBound() *Value
func (*FixedSizeBucketingConfig) ProtoMessage ¶
func (*FixedSizeBucketingConfig) ProtoMessage()
func (*FixedSizeBucketingConfig) Reset ¶
func (m *FixedSizeBucketingConfig) Reset()
func (*FixedSizeBucketingConfig) String ¶
func (m *FixedSizeBucketingConfig) String() string
type GetDeidentifyTemplateRequest ¶
type GetDeidentifyTemplateRequest struct { // 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" json:"name,omitempty"` }
Request message for GetDeidentifyTemplate.
func (*GetDeidentifyTemplateRequest) Descriptor ¶
func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
func (*GetDeidentifyTemplateRequest) GetName ¶
func (m *GetDeidentifyTemplateRequest) GetName() string
func (*GetDeidentifyTemplateRequest) ProtoMessage ¶
func (*GetDeidentifyTemplateRequest) ProtoMessage()
func (*GetDeidentifyTemplateRequest) Reset ¶
func (m *GetDeidentifyTemplateRequest) Reset()
func (*GetDeidentifyTemplateRequest) String ¶
func (m *GetDeidentifyTemplateRequest) String() string
type GetDlpJobRequest ¶
type GetDlpJobRequest struct { // The name of the DlpJob resource. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
The request message for [DlpJobs.GetDlpJob][].
func (*GetDlpJobRequest) Descriptor ¶
func (*GetDlpJobRequest) Descriptor() ([]byte, []int)
func (*GetDlpJobRequest) GetName ¶
func (m *GetDlpJobRequest) GetName() string
func (*GetDlpJobRequest) ProtoMessage ¶
func (*GetDlpJobRequest) ProtoMessage()
func (*GetDlpJobRequest) Reset ¶
func (m *GetDlpJobRequest) Reset()
func (*GetDlpJobRequest) String ¶
func (m *GetDlpJobRequest) String() string
type GetInspectTemplateRequest ¶
type GetInspectTemplateRequest struct { // 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" json:"name,omitempty"` }
Request message for GetInspectTemplate.
func (*GetInspectTemplateRequest) Descriptor ¶
func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int)
func (*GetInspectTemplateRequest) GetName ¶
func (m *GetInspectTemplateRequest) GetName() string
func (*GetInspectTemplateRequest) ProtoMessage ¶
func (*GetInspectTemplateRequest) ProtoMessage()
func (*GetInspectTemplateRequest) Reset ¶
func (m *GetInspectTemplateRequest) Reset()
func (*GetInspectTemplateRequest) String ¶
func (m *GetInspectTemplateRequest) String() string
type GetJobTriggerRequest ¶
type GetJobTriggerRequest struct { // Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
Request message for GetJobTrigger.
func (*GetJobTriggerRequest) Descriptor ¶
func (*GetJobTriggerRequest) Descriptor() ([]byte, []int)
func (*GetJobTriggerRequest) GetName ¶
func (m *GetJobTriggerRequest) GetName() string
func (*GetJobTriggerRequest) ProtoMessage ¶
func (*GetJobTriggerRequest) ProtoMessage()
func (*GetJobTriggerRequest) Reset ¶
func (m *GetJobTriggerRequest) Reset()
func (*GetJobTriggerRequest) String ¶
func (m *GetJobTriggerRequest) String() string
type ImageLocation ¶
type ImageLocation struct { // Top coordinate of the bounding box. (0,0) is upper left. Top int32 `protobuf:"varint,1,opt,name=top" json:"top,omitempty"` // Left coordinate of the bounding box. (0,0) is upper left. Left int32 `protobuf:"varint,2,opt,name=left" json:"left,omitempty"` // Width of the bounding box in pixels. Width int32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"` // Height of the bounding box in pixels. Height int32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"` }
Bounding box encompassing detected text within an image.
func (*ImageLocation) Descriptor ¶
func (*ImageLocation) Descriptor() ([]byte, []int)
func (*ImageLocation) GetHeight ¶
func (m *ImageLocation) GetHeight() int32
func (*ImageLocation) GetLeft ¶
func (m *ImageLocation) GetLeft() int32
func (*ImageLocation) GetTop ¶
func (m *ImageLocation) GetTop() int32
func (*ImageLocation) GetWidth ¶
func (m *ImageLocation) GetWidth() int32
func (*ImageLocation) ProtoMessage ¶
func (*ImageLocation) ProtoMessage()
func (*ImageLocation) Reset ¶
func (m *ImageLocation) Reset()
func (*ImageLocation) String ¶
func (m *ImageLocation) String() string
type InfoType ¶
type InfoType struct { // Name of the information type. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
Type of information detected by the API.
func (*InfoType) Descriptor ¶
func (*InfoType) ProtoMessage ¶
func (*InfoType) ProtoMessage()
type InfoTypeDescription ¶
type InfoTypeDescription struct { // Internal name of the infoType. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Human readable form of the infoType name. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // Which parts of the API supports this InfoType. SupportedBy []InfoTypeSupportedBy `` /* 147-byte string literal not displayed */ }
InfoType description.
func (*InfoTypeDescription) Descriptor ¶
func (*InfoTypeDescription) Descriptor() ([]byte, []int)
func (*InfoTypeDescription) GetDisplayName ¶
func (m *InfoTypeDescription) GetDisplayName() string
func (*InfoTypeDescription) GetName ¶
func (m *InfoTypeDescription) GetName() string
func (*InfoTypeDescription) GetSupportedBy ¶
func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy
func (*InfoTypeDescription) ProtoMessage ¶
func (*InfoTypeDescription) ProtoMessage()
func (*InfoTypeDescription) Reset ¶
func (m *InfoTypeDescription) Reset()
func (*InfoTypeDescription) String ¶
func (m *InfoTypeDescription) String() string
type InfoTypeStatistics ¶
type InfoTypeStatistics struct { // The type of finding this stat is for. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType" json:"info_type,omitempty"` // Number of findings for this infoType. Count int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` }
Statistics regarding a specific InfoType.
func (*InfoTypeStatistics) Descriptor ¶
func (*InfoTypeStatistics) Descriptor() ([]byte, []int)
func (*InfoTypeStatistics) GetCount ¶
func (m *InfoTypeStatistics) GetCount() int64
func (*InfoTypeStatistics) GetInfoType ¶
func (m *InfoTypeStatistics) GetInfoType() *InfoType
func (*InfoTypeStatistics) ProtoMessage ¶
func (*InfoTypeStatistics) ProtoMessage()
func (*InfoTypeStatistics) Reset ¶
func (m *InfoTypeStatistics) Reset()
func (*InfoTypeStatistics) String ¶
func (m *InfoTypeStatistics) String() string
type InfoTypeSupportedBy ¶
type InfoTypeSupportedBy int32
Parts of the APIs which use certain infoTypes.
const ( 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) EnumDescriptor ¶
func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int)
func (InfoTypeSupportedBy) String ¶
func (x InfoTypeSupportedBy) String() string
type InfoTypeTransformations ¶
type InfoTypeTransformations struct { // Transformation for each infoType. Cannot specify more than one // for a given infoType. [required] Transformations []*InfoTypeTransformations_InfoTypeTransformation `protobuf:"bytes,1,rep,name=transformations" json:"transformations,omitempty"` }
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 ¶
func (*InfoTypeTransformations) Descriptor() ([]byte, []int)
func (*InfoTypeTransformations) GetTransformations ¶
func (m *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation
func (*InfoTypeTransformations) ProtoMessage ¶
func (*InfoTypeTransformations) ProtoMessage()
func (*InfoTypeTransformations) Reset ¶
func (m *InfoTypeTransformations) Reset()
func (*InfoTypeTransformations) String ¶
func (m *InfoTypeTransformations) String() string
type InfoTypeTransformations_InfoTypeTransformation ¶
type InfoTypeTransformations_InfoTypeTransformation struct { // InfoTypes to apply the transformation to. Empty list will match all // available infoTypes for this transformation. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes" json:"info_types,omitempty"` // Primitive transformation to apply to the infoType. [required] PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,2,opt,name=primitive_transformation,json=primitiveTransformation" json:"primitive_transformation,omitempty"` }
A transformation to apply to text that is identified as a specific info_type.
func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor ¶
func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int)
func (*InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes ¶
func (m *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType
func (*InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation ¶
func (m *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation
func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage ¶
func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage()
func (*InfoTypeTransformations_InfoTypeTransformation) Reset ¶
func (m *InfoTypeTransformations_InfoTypeTransformation) Reset()
func (*InfoTypeTransformations_InfoTypeTransformation) String ¶
func (m *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 found in documentation. // Empty info_types runs all enabled detectors. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes" json:"info_types,omitempty"` // Only returns findings equal or above this threshold. The default is // POSSIBLE. MinLikelihood Likelihood `` /* 137-byte string literal not displayed */ Limits *InspectConfig_FindingLimits `protobuf:"bytes,3,opt,name=limits" json:"limits,omitempty"` // When true, a contextual quote from the data that triggered a finding is // included in the response; see Finding.quote. IncludeQuote bool `protobuf:"varint,4,opt,name=include_quote,json=includeQuote" json:"include_quote,omitempty"` // When true, excludes type information of the findings. ExcludeInfoTypes bool `protobuf:"varint,5,opt,name=exclude_info_types,json=excludeInfoTypes" json:"exclude_info_types,omitempty"` // Custom infoTypes provided by the user. CustomInfoTypes []*CustomInfoType `protobuf:"bytes,6,rep,name=custom_info_types,json=customInfoTypes" json:"custom_info_types,omitempty"` }
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
func (*InspectConfig) Descriptor ¶
func (*InspectConfig) Descriptor() ([]byte, []int)
func (*InspectConfig) GetCustomInfoTypes ¶
func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType
func (*InspectConfig) GetExcludeInfoTypes ¶
func (m *InspectConfig) GetExcludeInfoTypes() bool
func (*InspectConfig) GetIncludeQuote ¶
func (m *InspectConfig) GetIncludeQuote() bool
func (*InspectConfig) GetInfoTypes ¶
func (m *InspectConfig) GetInfoTypes() []*InfoType
func (*InspectConfig) GetLimits ¶
func (m *InspectConfig) GetLimits() *InspectConfig_FindingLimits
func (*InspectConfig) GetMinLikelihood ¶
func (m *InspectConfig) GetMinLikelihood() Likelihood
func (*InspectConfig) ProtoMessage ¶
func (*InspectConfig) ProtoMessage()
func (*InspectConfig) Reset ¶
func (m *InspectConfig) Reset()
func (*InspectConfig) String ¶
func (m *InspectConfig) String() string
type InspectConfig_FindingLimits ¶
type InspectConfig_FindingLimits struct { // Max number of findings that will be returned for each item scanned. MaxFindingsPerItem int32 `protobuf:"varint,1,opt,name=max_findings_per_item,json=maxFindingsPerItem" json:"max_findings_per_item,omitempty"` // Max total number of findings that will be returned per request/job. MaxFindingsPerRequest int32 `protobuf:"varint,2,opt,name=max_findings_per_request,json=maxFindingsPerRequest" json:"max_findings_per_request,omitempty"` // Configuration of findings limit given for specified infoTypes. MaxFindingsPerInfoType []*InspectConfig_FindingLimits_InfoTypeLimit `` /* 126-byte string literal not displayed */ }
func (*InspectConfig_FindingLimits) Descriptor ¶
func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int)
func (*InspectConfig_FindingLimits) GetMaxFindingsPerInfoType ¶
func (m *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit
func (*InspectConfig_FindingLimits) GetMaxFindingsPerItem ¶
func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32
func (*InspectConfig_FindingLimits) GetMaxFindingsPerRequest ¶
func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32
func (*InspectConfig_FindingLimits) ProtoMessage ¶
func (*InspectConfig_FindingLimits) ProtoMessage()
func (*InspectConfig_FindingLimits) Reset ¶
func (m *InspectConfig_FindingLimits) Reset()
func (*InspectConfig_FindingLimits) String ¶
func (m *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" json:"info_type,omitempty"` // Max findings limit for the given infoType. MaxFindings int32 `protobuf:"varint,2,opt,name=max_findings,json=maxFindings" json:"max_findings,omitempty"` }
Max findings configuration per infoType, per content item or long running DlpJob.
func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor ¶
func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int)
func (*InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType ¶
func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType
func (*InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings ¶
func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32
func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage ¶
func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage()
func (*InspectConfig_FindingLimits_InfoTypeLimit) Reset ¶
func (m *InspectConfig_FindingLimits_InfoTypeLimit) Reset()
func (*InspectConfig_FindingLimits_InfoTypeLimit) String ¶
func (m *InspectConfig_FindingLimits_InfoTypeLimit) String() string
type InspectContentRequest ¶
type InspectContentRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" 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" json:"inspect_config,omitempty"` // The item to inspect. Item *ContentItem `protobuf:"bytes,3,opt,name=item" json:"item,omitempty"` // Optional 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" json:"inspect_template_name,omitempty"` }
Request to search for potentially sensitive info in a ContentItem.
func (*InspectContentRequest) Descriptor ¶
func (*InspectContentRequest) Descriptor() ([]byte, []int)
func (*InspectContentRequest) GetInspectConfig ¶
func (m *InspectContentRequest) GetInspectConfig() *InspectConfig
func (*InspectContentRequest) GetInspectTemplateName ¶
func (m *InspectContentRequest) GetInspectTemplateName() string
func (*InspectContentRequest) GetItem ¶
func (m *InspectContentRequest) GetItem() *ContentItem
func (*InspectContentRequest) GetParent ¶
func (m *InspectContentRequest) GetParent() string
func (*InspectContentRequest) ProtoMessage ¶
func (*InspectContentRequest) ProtoMessage()
func (*InspectContentRequest) Reset ¶
func (m *InspectContentRequest) Reset()
func (*InspectContentRequest) String ¶
func (m *InspectContentRequest) String() string
type InspectContentResponse ¶
type InspectContentResponse struct { // The findings. Result *InspectResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` }
Results of inspecting an item.
func (*InspectContentResponse) Descriptor ¶
func (*InspectContentResponse) Descriptor() ([]byte, []int)
func (*InspectContentResponse) GetResult ¶
func (m *InspectContentResponse) GetResult() *InspectResult
func (*InspectContentResponse) ProtoMessage ¶
func (*InspectContentResponse) ProtoMessage()
func (*InspectContentResponse) Reset ¶
func (m *InspectContentResponse) Reset()
func (*InspectContentResponse) String ¶
func (m *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" json:"requested_options,omitempty"` // A summary of the outcome of this inspect job. Result *InspectDataSourceDetails_Result `protobuf:"bytes,3,opt,name=result" json:"result,omitempty"` }
The results of an inspect DataSource job.
func (*InspectDataSourceDetails) Descriptor ¶
func (*InspectDataSourceDetails) Descriptor() ([]byte, []int)
func (*InspectDataSourceDetails) GetRequestedOptions ¶
func (m *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions
func (*InspectDataSourceDetails) GetResult ¶
func (m *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result
func (*InspectDataSourceDetails) ProtoMessage ¶
func (*InspectDataSourceDetails) ProtoMessage()
func (*InspectDataSourceDetails) Reset ¶
func (m *InspectDataSourceDetails) Reset()
func (*InspectDataSourceDetails) String ¶
func (m *InspectDataSourceDetails) String() string
type InspectDataSourceDetails_RequestedOptions ¶
type InspectDataSourceDetails_RequestedOptions struct { // If run with an inspect template, a snapshot of it's state at the time of // this run. SnapshotInspectTemplate *InspectTemplate `protobuf:"bytes,1,opt,name=snapshot_inspect_template,json=snapshotInspectTemplate" json:"snapshot_inspect_template,omitempty"` JobConfig *InspectJobConfig `protobuf:"bytes,3,opt,name=job_config,json=jobConfig" json:"job_config,omitempty"` }
func (*InspectDataSourceDetails_RequestedOptions) Descriptor ¶
func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int)
func (*InspectDataSourceDetails_RequestedOptions) GetJobConfig ¶
func (m *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig
func (*InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate ¶
func (m *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate
func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage ¶
func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage()
func (*InspectDataSourceDetails_RequestedOptions) Reset ¶
func (m *InspectDataSourceDetails_RequestedOptions) Reset()
func (*InspectDataSourceDetails_RequestedOptions) String ¶
func (m *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" json:"processed_bytes,omitempty"` // Estimate of the number of bytes to process. TotalEstimatedBytes int64 `protobuf:"varint,2,opt,name=total_estimated_bytes,json=totalEstimatedBytes" json:"total_estimated_bytes,omitempty"` // Statistics of how many instances of each info type were found during // inspect job. InfoTypeStats []*InfoTypeStatistics `protobuf:"bytes,3,rep,name=info_type_stats,json=infoTypeStats" json:"info_type_stats,omitempty"` }
func (*InspectDataSourceDetails_Result) Descriptor ¶
func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int)
func (*InspectDataSourceDetails_Result) GetInfoTypeStats ¶
func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStatistics
func (*InspectDataSourceDetails_Result) GetProcessedBytes ¶
func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64
func (*InspectDataSourceDetails_Result) GetTotalEstimatedBytes ¶
func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64
func (*InspectDataSourceDetails_Result) ProtoMessage ¶
func (*InspectDataSourceDetails_Result) ProtoMessage()
func (*InspectDataSourceDetails_Result) Reset ¶
func (m *InspectDataSourceDetails_Result) Reset()
func (*InspectDataSourceDetails_Result) String ¶
func (m *InspectDataSourceDetails_Result) String() string
type InspectDataSourceRequest ¶
type InspectDataSourceRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // A configuration for the job. JobConfig *InspectJobConfig `protobuf:"bytes,2,opt,name=job_config,json=jobConfig" json:"job_config,omitempty"` // Optional job ID to use for the created job. If not provided, a job ID will // automatically be generated. Must be unique within the project. 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,3,opt,name=job_id,json=jobId" json:"job_id,omitempty"` }
Request for scheduling a scan of a data subset from a Google Platform data repository.
func (*InspectDataSourceRequest) Descriptor ¶
func (*InspectDataSourceRequest) Descriptor() ([]byte, []int)
func (*InspectDataSourceRequest) GetJobConfig ¶
func (m *InspectDataSourceRequest) GetJobConfig() *InspectJobConfig
func (*InspectDataSourceRequest) GetJobId ¶
func (m *InspectDataSourceRequest) GetJobId() string
func (*InspectDataSourceRequest) GetParent ¶
func (m *InspectDataSourceRequest) GetParent() string
func (*InspectDataSourceRequest) ProtoMessage ¶
func (*InspectDataSourceRequest) ProtoMessage()
func (*InspectDataSourceRequest) Reset ¶
func (m *InspectDataSourceRequest) Reset()
func (*InspectDataSourceRequest) String ¶
func (m *InspectDataSourceRequest) String() string
type InspectJobConfig ¶
type InspectJobConfig struct { // The data to scan. StorageConfig *StorageConfig `protobuf:"bytes,1,opt,name=storage_config,json=storageConfig" json:"storage_config,omitempty"` // Where to put the findings. OutputConfig *OutputStorageConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig" json:"output_config,omitempty"` // How and what to scan for. InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig" 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,4,opt,name=inspect_template_name,json=inspectTemplateName" json:"inspect_template_name,omitempty"` // Actions to execute at the completion of the job. Are executed in the order // provided. Actions []*Action `protobuf:"bytes,5,rep,name=actions" json:"actions,omitempty"` }
func (*InspectJobConfig) Descriptor ¶
func (*InspectJobConfig) Descriptor() ([]byte, []int)
func (*InspectJobConfig) GetActions ¶
func (m *InspectJobConfig) GetActions() []*Action
func (*InspectJobConfig) GetInspectConfig ¶
func (m *InspectJobConfig) GetInspectConfig() *InspectConfig
func (*InspectJobConfig) GetInspectTemplateName ¶
func (m *InspectJobConfig) GetInspectTemplateName() string
func (*InspectJobConfig) GetOutputConfig ¶
func (m *InspectJobConfig) GetOutputConfig() *OutputStorageConfig
func (*InspectJobConfig) GetStorageConfig ¶
func (m *InspectJobConfig) GetStorageConfig() *StorageConfig
func (*InspectJobConfig) ProtoMessage ¶
func (*InspectJobConfig) ProtoMessage()
func (*InspectJobConfig) Reset ¶
func (m *InspectJobConfig) Reset()
func (*InspectJobConfig) String ¶
func (m *InspectJobConfig) String() string
type InspectResult ¶
type InspectResult struct { // List of findings for an item. Findings []*Finding `protobuf:"bytes,1,rep,name=findings" 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" json:"findings_truncated,omitempty"` }
All the findings for a single scanned item.
func (*InspectResult) Descriptor ¶
func (*InspectResult) Descriptor() ([]byte, []int)
func (*InspectResult) GetFindings ¶
func (m *InspectResult) GetFindings() []*Finding
func (*InspectResult) GetFindingsTruncated ¶
func (m *InspectResult) GetFindingsTruncated() bool
func (*InspectResult) ProtoMessage ¶
func (*InspectResult) ProtoMessage()
func (*InspectResult) Reset ¶
func (m *InspectResult) Reset()
func (*InspectResult) String ¶
func (m *InspectResult) String() string
type InspectTemplate ¶
type InspectTemplate struct { // The template name. Output only. // // 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" json:"name,omitempty"` // Display name (max 256 chars). DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // Short description (max 256 chars). Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The creation timestamp of a inspectTemplate, output only field. CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // The last update timestamp of a inspectTemplate, output only field. UpdateTime *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime" 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" json:"inspect_config,omitempty"` }
The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig.
func (*InspectTemplate) Descriptor ¶
func (*InspectTemplate) Descriptor() ([]byte, []int)
func (*InspectTemplate) GetCreateTime ¶
func (m *InspectTemplate) GetCreateTime() *google_protobuf1.Timestamp
func (*InspectTemplate) GetDescription ¶
func (m *InspectTemplate) GetDescription() string
func (*InspectTemplate) GetDisplayName ¶
func (m *InspectTemplate) GetDisplayName() string
func (*InspectTemplate) GetInspectConfig ¶
func (m *InspectTemplate) GetInspectConfig() *InspectConfig
func (*InspectTemplate) GetName ¶
func (m *InspectTemplate) GetName() string
func (*InspectTemplate) GetUpdateTime ¶
func (m *InspectTemplate) GetUpdateTime() *google_protobuf1.Timestamp
func (*InspectTemplate) ProtoMessage ¶
func (*InspectTemplate) ProtoMessage()
func (*InspectTemplate) Reset ¶
func (m *InspectTemplate) Reset()
func (*InspectTemplate) String ¶
func (m *InspectTemplate) String() string
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/triggeredJobs/53234423`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Display name (max 100 chars) DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // User provided description (max 256 chars) Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The configuration details for the specific type of job to run. // // Types that are valid to be assigned 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" json:"triggers,omitempty"` // A stream of errors encountered when the trigger was activated. Repeated // errors may result in the JobTrigger automaticaly being paused. // Will return the last 100 errors. Whenever the JobTrigger is modified // this list will be cleared. Output only field. Errors []*JobTrigger_Error `protobuf:"bytes,6,rep,name=errors" json:"errors,omitempty"` // The creation timestamp of a triggeredJob, output only field. CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // The last update timestamp of a triggeredJob, output only field. UpdateTime *google_protobuf1.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime" json:"update_time,omitempty"` // The timestamp of the last time this trigger executed. LastRunTime *google_protobuf1.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime" json:"last_run_time,omitempty"` // A status for this trigger. [required] Status JobTrigger_Status `protobuf:"varint,10,opt,name=status,enum=google.privacy.dlp.v2beta2.JobTrigger_Status" json:"status,omitempty"` }
Contains a configuration to make dlp api calls on a repeating basis.
func (*JobTrigger) Descriptor ¶
func (*JobTrigger) Descriptor() ([]byte, []int)
func (*JobTrigger) GetCreateTime ¶
func (m *JobTrigger) GetCreateTime() *google_protobuf1.Timestamp
func (*JobTrigger) GetDescription ¶
func (m *JobTrigger) GetDescription() string
func (*JobTrigger) GetDisplayName ¶
func (m *JobTrigger) GetDisplayName() string
func (*JobTrigger) GetErrors ¶
func (m *JobTrigger) GetErrors() []*JobTrigger_Error
func (*JobTrigger) GetInspectJob ¶
func (m *JobTrigger) GetInspectJob() *InspectJobConfig
func (*JobTrigger) GetJob ¶
func (m *JobTrigger) GetJob() isJobTrigger_Job
func (*JobTrigger) GetLastRunTime ¶
func (m *JobTrigger) GetLastRunTime() *google_protobuf1.Timestamp
func (*JobTrigger) GetName ¶
func (m *JobTrigger) GetName() string
func (*JobTrigger) GetStatus ¶
func (m *JobTrigger) GetStatus() JobTrigger_Status
func (*JobTrigger) GetTriggers ¶
func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger
func (*JobTrigger) GetUpdateTime ¶
func (m *JobTrigger) GetUpdateTime() *google_protobuf1.Timestamp
func (*JobTrigger) ProtoMessage ¶
func (*JobTrigger) ProtoMessage()
func (*JobTrigger) Reset ¶
func (m *JobTrigger) Reset()
func (*JobTrigger) String ¶
func (m *JobTrigger) String() string
func (*JobTrigger) XXX_OneofFuncs ¶
func (*JobTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type JobTrigger_Error ¶
type JobTrigger_Error struct { Details *google_rpc.Status `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` // The times the error occurred. Timestamps []*google_protobuf1.Timestamp `protobuf:"bytes,2,rep,name=timestamps" json:"timestamps,omitempty"` }
The results of an unsuccessful activation of the JobTrigger.
func (*JobTrigger_Error) Descriptor ¶
func (*JobTrigger_Error) Descriptor() ([]byte, []int)
func (*JobTrigger_Error) GetDetails ¶
func (m *JobTrigger_Error) GetDetails() *google_rpc.Status
func (*JobTrigger_Error) GetTimestamps ¶
func (m *JobTrigger_Error) GetTimestamps() []*google_protobuf1.Timestamp
func (*JobTrigger_Error) ProtoMessage ¶
func (*JobTrigger_Error) ProtoMessage()
func (*JobTrigger_Error) Reset ¶
func (m *JobTrigger_Error) Reset()
func (*JobTrigger_Error) String ¶
func (m *JobTrigger_Error) String() string
type JobTrigger_InspectJob ¶
type JobTrigger_InspectJob struct {
InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,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 ( 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) EnumDescriptor ¶
func (JobTrigger_Status) EnumDescriptor() ([]byte, []int)
func (JobTrigger_Status) String ¶
func (x JobTrigger_Status) String() string
type JobTrigger_Trigger ¶
type JobTrigger_Trigger struct { // Types that are valid to be assigned to Trigger: // *JobTrigger_Trigger_Schedule Trigger isJobTrigger_Trigger_Trigger `protobuf_oneof:"trigger"` }
What event needs to occur for a new job to be started.
func (*JobTrigger_Trigger) Descriptor ¶
func (*JobTrigger_Trigger) Descriptor() ([]byte, []int)
func (*JobTrigger_Trigger) GetSchedule ¶
func (m *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) Reset ¶
func (m *JobTrigger_Trigger) Reset()
func (*JobTrigger_Trigger) String ¶
func (m *JobTrigger_Trigger) String() string
func (*JobTrigger_Trigger) XXX_OneofFuncs ¶
func (*JobTrigger_Trigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type JobTrigger_Trigger_Schedule ¶
type JobTrigger_Trigger_Schedule struct {
Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,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" 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" json:"path,omitempty"` }
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 ¶
func (*Key) GetPartitionId ¶
func (m *Key) GetPartitionId() *PartitionId
func (*Key) GetPath ¶
func (m *Key) GetPath() []*Key_PathElement
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
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" json:"kind,omitempty"` // The type of ID. // // Types that are valid to be assigned to IdType: // *Key_PathElement_Id // *Key_PathElement_Name IdType isKey_PathElement_IdType `protobuf_oneof:"id_type"` }
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 ¶
func (*Key_PathElement) Descriptor() ([]byte, []int)
func (*Key_PathElement) GetId ¶
func (m *Key_PathElement) GetId() int64
func (*Key_PathElement) GetIdType ¶
func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType
func (*Key_PathElement) GetKind ¶
func (m *Key_PathElement) GetKind() string
func (*Key_PathElement) GetName ¶
func (m *Key_PathElement) GetName() string
func (*Key_PathElement) ProtoMessage ¶
func (*Key_PathElement) ProtoMessage()
func (*Key_PathElement) Reset ¶
func (m *Key_PathElement) Reset()
func (*Key_PathElement) String ¶
func (m *Key_PathElement) String() string
func (*Key_PathElement) XXX_OneofFuncs ¶
func (*Key_PathElement) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type Key_PathElement_Id ¶
type Key_PathElement_Id struct {
Id int64 `protobuf:"varint,2,opt,name=id,oneof"`
}
type Key_PathElement_Name ¶
type Key_PathElement_Name struct {
Name string `protobuf:"bytes,3,opt,name=name,oneof"`
}
type KindExpression ¶
type KindExpression struct { // The name of the kind. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
A representation of a Datastore kind.
func (*KindExpression) Descriptor ¶
func (*KindExpression) Descriptor() ([]byte, []int)
func (*KindExpression) GetName ¶
func (m *KindExpression) GetName() string
func (*KindExpression) ProtoMessage ¶
func (*KindExpression) ProtoMessage()
func (*KindExpression) Reset ¶
func (m *KindExpression) Reset()
func (*KindExpression) String ¶
func (m *KindExpression) String() string
type KmsWrappedCryptoKey ¶
type KmsWrappedCryptoKey struct { // The wrapped data crypto key. [required] WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"` // The resource name of the KMS CryptoKey to use for unwrapping. [required] CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName" json:"crypto_key_name,omitempty"` }
Include to use an existing data crypto key wrapped by KMS. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a kms-wrapped crypto key: dlp.kms.encrypt
func (*KmsWrappedCryptoKey) Descriptor ¶
func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int)
func (*KmsWrappedCryptoKey) GetCryptoKeyName ¶
func (m *KmsWrappedCryptoKey) GetCryptoKeyName() string
func (*KmsWrappedCryptoKey) GetWrappedKey ¶
func (m *KmsWrappedCryptoKey) GetWrappedKey() []byte
func (*KmsWrappedCryptoKey) ProtoMessage ¶
func (*KmsWrappedCryptoKey) ProtoMessage()
func (*KmsWrappedCryptoKey) Reset ¶
func (m *KmsWrappedCryptoKey) Reset()
func (*KmsWrappedCryptoKey) String ¶
func (m *KmsWrappedCryptoKey) String() string
type Likelihood ¶
type Likelihood int32
Categorization of results based on how likely they are to represent a match, based on the number of elements they contain which imply a match.
const ( // Default value; information with all likelihoods is included. Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0 // Few matching elements. Likelihood_VERY_UNLIKELY Likelihood = 1 Likelihood_UNLIKELY Likelihood = 2 // Some matching elements. Likelihood_POSSIBLE Likelihood = 3 Likelihood_LIKELY Likelihood = 4 // Many matching elements. Likelihood_VERY_LIKELY Likelihood = 5 )
func (Likelihood) EnumDescriptor ¶
func (Likelihood) EnumDescriptor() ([]byte, []int)
func (Likelihood) String ¶
func (x Likelihood) String() string
type ListDeidentifyTemplatesRequest ¶
type ListDeidentifyTemplatesRequest struct { // The parent resource name, for example projects/my-project-id or // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // Optional page token to continue retrieval. Comes from previous call // to `ListDeidentifyTemplates`. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // Optional size of the page, can be limited by server. If zero server returns // a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
Request message for ListDeidentifyTemplates.
func (*ListDeidentifyTemplatesRequest) Descriptor ¶
func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int)
func (*ListDeidentifyTemplatesRequest) GetPageSize ¶
func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32
func (*ListDeidentifyTemplatesRequest) GetPageToken ¶
func (m *ListDeidentifyTemplatesRequest) GetPageToken() string
func (*ListDeidentifyTemplatesRequest) GetParent ¶
func (m *ListDeidentifyTemplatesRequest) GetParent() string
func (*ListDeidentifyTemplatesRequest) ProtoMessage ¶
func (*ListDeidentifyTemplatesRequest) ProtoMessage()
func (*ListDeidentifyTemplatesRequest) Reset ¶
func (m *ListDeidentifyTemplatesRequest) Reset()
func (*ListDeidentifyTemplatesRequest) String ¶
func (m *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" json:"deidentify_templates,omitempty"` // If the next page is available then the next page token to be used // in following ListDeidentifyTemplates request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
Response message for ListDeidentifyTemplates.
func (*ListDeidentifyTemplatesResponse) Descriptor ¶
func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int)
func (*ListDeidentifyTemplatesResponse) GetDeidentifyTemplates ¶
func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate
func (*ListDeidentifyTemplatesResponse) GetNextPageToken ¶
func (m *ListDeidentifyTemplatesResponse) GetNextPageToken() string
func (*ListDeidentifyTemplatesResponse) ProtoMessage ¶
func (*ListDeidentifyTemplatesResponse) ProtoMessage()
func (*ListDeidentifyTemplatesResponse) Reset ¶
func (m *ListDeidentifyTemplatesResponse) Reset()
func (*ListDeidentifyTemplatesResponse) String ¶
func (m *ListDeidentifyTemplatesResponse) String() string
type ListDlpJobsRequest ¶
type ListDlpJobsRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,4,opt,name=parent" json:"parent,omitempty"` // Optional. 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 resource name of the trigger that created job. // * Supported fields for risk analysis jobs: // - `state` - RUNNING|CANCELED|FINISHED|FAILED // * 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) // // The length of this field should be no more than 500 characters. Filter string `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` // The standard list page size. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` // The standard list page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The type of job. Defaults to `DlpJobType.INSPECT` Type DlpJobType `protobuf:"varint,5,opt,name=type,enum=google.privacy.dlp.v2beta2.DlpJobType" json:"type,omitempty"` }
The request message for listing DLP jobs.
func (*ListDlpJobsRequest) Descriptor ¶
func (*ListDlpJobsRequest) Descriptor() ([]byte, []int)
func (*ListDlpJobsRequest) GetFilter ¶
func (m *ListDlpJobsRequest) GetFilter() string
func (*ListDlpJobsRequest) GetPageSize ¶
func (m *ListDlpJobsRequest) GetPageSize() int32
func (*ListDlpJobsRequest) GetPageToken ¶
func (m *ListDlpJobsRequest) GetPageToken() string
func (*ListDlpJobsRequest) GetParent ¶
func (m *ListDlpJobsRequest) GetParent() string
func (*ListDlpJobsRequest) GetType ¶
func (m *ListDlpJobsRequest) GetType() DlpJobType
func (*ListDlpJobsRequest) ProtoMessage ¶
func (*ListDlpJobsRequest) ProtoMessage()
func (*ListDlpJobsRequest) Reset ¶
func (m *ListDlpJobsRequest) Reset()
func (*ListDlpJobsRequest) String ¶
func (m *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" json:"jobs,omitempty"` // The standard List next-page token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The response message for listing DLP jobs.
func (*ListDlpJobsResponse) Descriptor ¶
func (*ListDlpJobsResponse) Descriptor() ([]byte, []int)
func (*ListDlpJobsResponse) GetJobs ¶
func (m *ListDlpJobsResponse) GetJobs() []*DlpJob
func (*ListDlpJobsResponse) GetNextPageToken ¶
func (m *ListDlpJobsResponse) GetNextPageToken() string
func (*ListDlpJobsResponse) ProtoMessage ¶
func (*ListDlpJobsResponse) ProtoMessage()
func (*ListDlpJobsResponse) Reset ¶
func (m *ListDlpJobsResponse) Reset()
func (*ListDlpJobsResponse) String ¶
func (m *ListDlpJobsResponse) String() string
type ListInfoTypesRequest ¶
type ListInfoTypesRequest struct { // Optional 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" json:"language_code,omitempty"` // Optional 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" json:"filter,omitempty"` }
Request for the list of infoTypes.
func (*ListInfoTypesRequest) Descriptor ¶
func (*ListInfoTypesRequest) Descriptor() ([]byte, []int)
func (*ListInfoTypesRequest) GetFilter ¶
func (m *ListInfoTypesRequest) GetFilter() string
func (*ListInfoTypesRequest) GetLanguageCode ¶
func (m *ListInfoTypesRequest) GetLanguageCode() string
func (*ListInfoTypesRequest) ProtoMessage ¶
func (*ListInfoTypesRequest) ProtoMessage()
func (*ListInfoTypesRequest) Reset ¶
func (m *ListInfoTypesRequest) Reset()
func (*ListInfoTypesRequest) String ¶
func (m *ListInfoTypesRequest) String() string
type ListInfoTypesResponse ¶
type ListInfoTypesResponse struct { // Set of sensitive infoTypes. InfoTypes []*InfoTypeDescription `protobuf:"bytes,1,rep,name=info_types,json=infoTypes" json:"info_types,omitempty"` }
Response to the ListInfoTypes request.
func (*ListInfoTypesResponse) Descriptor ¶
func (*ListInfoTypesResponse) Descriptor() ([]byte, []int)
func (*ListInfoTypesResponse) GetInfoTypes ¶
func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription
func (*ListInfoTypesResponse) ProtoMessage ¶
func (*ListInfoTypesResponse) ProtoMessage()
func (*ListInfoTypesResponse) Reset ¶
func (m *ListInfoTypesResponse) Reset()
func (*ListInfoTypesResponse) String ¶
func (m *ListInfoTypesResponse) String() string
type ListInspectTemplatesRequest ¶
type ListInspectTemplatesRequest struct { // The parent resource name, for example projects/my-project-id or // organizations/my-org-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // Optional page token to continue retrieval. Comes from previous call // to `ListInspectTemplates`. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // Optional size of the page, can be limited by server. If zero server returns // a page of max size 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
Request message for ListInspectTemplates.
func (*ListInspectTemplatesRequest) Descriptor ¶
func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int)
func (*ListInspectTemplatesRequest) GetPageSize ¶
func (m *ListInspectTemplatesRequest) GetPageSize() int32
func (*ListInspectTemplatesRequest) GetPageToken ¶
func (m *ListInspectTemplatesRequest) GetPageToken() string
func (*ListInspectTemplatesRequest) GetParent ¶
func (m *ListInspectTemplatesRequest) GetParent() string
func (*ListInspectTemplatesRequest) ProtoMessage ¶
func (*ListInspectTemplatesRequest) ProtoMessage()
func (*ListInspectTemplatesRequest) Reset ¶
func (m *ListInspectTemplatesRequest) Reset()
func (*ListInspectTemplatesRequest) String ¶
func (m *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" json:"inspect_templates,omitempty"` // If the next page is available then the next page token to be used // in following ListInspectTemplates request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
Response message for ListInspectTemplates.
func (*ListInspectTemplatesResponse) Descriptor ¶
func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int)
func (*ListInspectTemplatesResponse) GetInspectTemplates ¶
func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate
func (*ListInspectTemplatesResponse) GetNextPageToken ¶
func (m *ListInspectTemplatesResponse) GetNextPageToken() string
func (*ListInspectTemplatesResponse) ProtoMessage ¶
func (*ListInspectTemplatesResponse) ProtoMessage()
func (*ListInspectTemplatesResponse) Reset ¶
func (m *ListInspectTemplatesResponse) Reset()
func (*ListInspectTemplatesResponse) String ¶
func (m *ListInspectTemplatesResponse) String() string
type ListJobTriggersRequest ¶
type ListJobTriggersRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // Optional page token to continue retrieval. Comes from previous call // to ListJobTriggers. `order_by` and `filter` should not change for // subsequent calls, but can be omitted if token is specified. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // Optional size of the page, can be limited by a server. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` // Optional comma separated list of triggeredJob fields to order by, // followed by 'asc/desc' postfix, i.e. // `"create_time asc,name desc,schedule_mode asc"`. This list is // case-insensitive. // // Example: `"name asc,schedule_mode desc, status desc"` // // Supported filters keys and values are: // // - `create_time`: corresponds to time the triggeredJob was created. // - `update_time`: corresponds to time the triggeredJob was last updated. // - `name`: corresponds to JobTrigger's display name. // - `status`: corresponds to the triggeredJob status. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy" json:"order_by,omitempty"` }
Request message for ListJobTriggers.
func (*ListJobTriggersRequest) Descriptor ¶
func (*ListJobTriggersRequest) Descriptor() ([]byte, []int)
func (*ListJobTriggersRequest) GetOrderBy ¶
func (m *ListJobTriggersRequest) GetOrderBy() string
func (*ListJobTriggersRequest) GetPageSize ¶
func (m *ListJobTriggersRequest) GetPageSize() int32
func (*ListJobTriggersRequest) GetPageToken ¶
func (m *ListJobTriggersRequest) GetPageToken() string
func (*ListJobTriggersRequest) GetParent ¶
func (m *ListJobTriggersRequest) GetParent() string
func (*ListJobTriggersRequest) ProtoMessage ¶
func (*ListJobTriggersRequest) ProtoMessage()
func (*ListJobTriggersRequest) Reset ¶
func (m *ListJobTriggersRequest) Reset()
func (*ListJobTriggersRequest) String ¶
func (m *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" json:"job_triggers,omitempty"` // If the next page is available then the next page token to be used // in following ListJobTriggers request. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
Response message for ListJobTriggers.
func (*ListJobTriggersResponse) Descriptor ¶
func (*ListJobTriggersResponse) Descriptor() ([]byte, []int)
func (*ListJobTriggersResponse) GetJobTriggers ¶
func (m *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger
func (*ListJobTriggersResponse) GetNextPageToken ¶
func (m *ListJobTriggersResponse) GetNextPageToken() string
func (*ListJobTriggersResponse) ProtoMessage ¶
func (*ListJobTriggersResponse) ProtoMessage()
func (*ListJobTriggersResponse) Reset ¶
func (m *ListJobTriggersResponse) Reset()
func (*ListJobTriggersResponse) String ¶
func (m *ListJobTriggersResponse) 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" 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" json:"codepoint_range,omitempty"` // The area within the image that contained the finding. // Provided when the content is an image. ImageBoxes []*ImageLocation `protobuf:"bytes,3,rep,name=image_boxes,json=imageBoxes" json:"image_boxes,omitempty"` // The pointer to the record in storage that contained the field the // finding was found in. // Provided when the finding's containing element is a property // of a storage object. RecordKey *RecordKey `protobuf:"bytes,4,opt,name=record_key,json=recordKey" json:"record_key,omitempty"` // The pointer to the property or cell that contained the finding. // Provided when the finding's containing element is a cell in a table // or a property of storage object. FieldId *FieldId `protobuf:"bytes,5,opt,name=field_id,json=fieldId" json:"field_id,omitempty"` // The pointer to the row of the table that contained the finding. // Provided when the finding's containing element is a cell of a table. TableLocation *TableLocation `protobuf:"bytes,6,opt,name=table_location,json=tableLocation" json:"table_location,omitempty"` }
Specifies the location of the finding.
func (*Location) Descriptor ¶
func (*Location) GetByteRange ¶
func (*Location) GetCodepointRange ¶
func (*Location) GetFieldId ¶
func (*Location) GetImageBoxes ¶
func (m *Location) GetImageBoxes() []*ImageLocation
func (*Location) GetRecordKey ¶
func (*Location) GetTableLocation ¶
func (m *Location) GetTableLocation() *TableLocation
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
type OutputStorageConfig ¶
type OutputStorageConfig struct { // Types that are valid to be assigned to Type: // *OutputStorageConfig_Table Type isOutputStorageConfig_Type `protobuf_oneof:"type"` // Schema used for writing the findings. 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, // and no changes will be made to an existing table. OutputSchema OutputStorageConfig_OutputSchema `` /* 156-byte string literal not displayed */ }
Cloud repository for storing output.
func (*OutputStorageConfig) Descriptor ¶
func (*OutputStorageConfig) Descriptor() ([]byte, []int)
func (*OutputStorageConfig) GetOutputSchema ¶
func (m *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema
func (*OutputStorageConfig) GetTable ¶
func (m *OutputStorageConfig) GetTable() *BigQueryTable
func (*OutputStorageConfig) GetType ¶
func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type
func (*OutputStorageConfig) ProtoMessage ¶
func (*OutputStorageConfig) ProtoMessage()
func (*OutputStorageConfig) Reset ¶
func (m *OutputStorageConfig) Reset()
func (*OutputStorageConfig) String ¶
func (m *OutputStorageConfig) String() string
func (*OutputStorageConfig) XXX_OneofFuncs ¶
func (*OutputStorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type OutputStorageConfig_OutputSchema ¶
type OutputStorageConfig_OutputSchema int32
Predefined schemas for storing findings.
const ( 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 Google 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) EnumDescriptor ¶
func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int)
func (OutputStorageConfig_OutputSchema) String ¶
func (x OutputStorageConfig_OutputSchema) String() string
type OutputStorageConfig_Table ¶
type OutputStorageConfig_Table struct {
Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,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" 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" json:"namespace_id,omitempty"` }
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 ¶
func (*PartitionId) Descriptor() ([]byte, []int)
func (*PartitionId) GetNamespaceId ¶
func (m *PartitionId) GetNamespaceId() string
func (*PartitionId) GetProjectId ¶
func (m *PartitionId) GetProjectId() string
func (*PartitionId) ProtoMessage ¶
func (*PartitionId) ProtoMessage()
func (*PartitionId) Reset ¶
func (m *PartitionId) Reset()
func (*PartitionId) String ¶
func (m *PartitionId) String() string
type PrimitiveTransformation ¶
type PrimitiveTransformation struct { // Types that are valid to be assigned to Transformation: // *PrimitiveTransformation_ReplaceConfig // *PrimitiveTransformation_RedactConfig // *PrimitiveTransformation_CharacterMaskConfig // *PrimitiveTransformation_CryptoReplaceFfxFpeConfig // *PrimitiveTransformation_FixedSizeBucketingConfig // *PrimitiveTransformation_BucketingConfig // *PrimitiveTransformation_ReplaceWithInfoTypeConfig // *PrimitiveTransformation_TimePartConfig // *PrimitiveTransformation_CryptoHashConfig // *PrimitiveTransformation_DateShiftConfig Transformation isPrimitiveTransformation_Transformation `protobuf_oneof:"transformation"` }
A rule for transforming a value.
func (*PrimitiveTransformation) Descriptor ¶
func (*PrimitiveTransformation) Descriptor() ([]byte, []int)
func (*PrimitiveTransformation) GetBucketingConfig ¶
func (m *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig
func (*PrimitiveTransformation) GetCharacterMaskConfig ¶
func (m *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig
func (*PrimitiveTransformation) GetCryptoHashConfig ¶
func (m *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig
func (*PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig ¶
func (m *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig
func (*PrimitiveTransformation) GetDateShiftConfig ¶
func (m *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig
func (*PrimitiveTransformation) GetFixedSizeBucketingConfig ¶
func (m *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig
func (*PrimitiveTransformation) GetRedactConfig ¶
func (m *PrimitiveTransformation) GetRedactConfig() *RedactConfig
func (*PrimitiveTransformation) GetReplaceConfig ¶
func (m *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig
func (*PrimitiveTransformation) GetReplaceWithInfoTypeConfig ¶
func (m *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig
func (*PrimitiveTransformation) GetTimePartConfig ¶
func (m *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig
func (*PrimitiveTransformation) GetTransformation ¶
func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation
func (*PrimitiveTransformation) ProtoMessage ¶
func (*PrimitiveTransformation) ProtoMessage()
func (*PrimitiveTransformation) Reset ¶
func (m *PrimitiveTransformation) Reset()
func (*PrimitiveTransformation) String ¶
func (m *PrimitiveTransformation) String() string
func (*PrimitiveTransformation) XXX_OneofFuncs ¶
func (*PrimitiveTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type PrimitiveTransformation_BucketingConfig ¶
type PrimitiveTransformation_BucketingConfig struct {
BucketingConfig *BucketingConfig `protobuf:"bytes,6,opt,name=bucketing_config,json=bucketingConfig,oneof"`
}
type PrimitiveTransformation_CharacterMaskConfig ¶
type PrimitiveTransformation_CharacterMaskConfig struct {
CharacterMaskConfig *CharacterMaskConfig `protobuf:"bytes,3,opt,name=character_mask_config,json=characterMaskConfig,oneof"`
}
type PrimitiveTransformation_CryptoHashConfig ¶
type PrimitiveTransformation_CryptoHashConfig struct {
CryptoHashConfig *CryptoHashConfig `protobuf:"bytes,9,opt,name=crypto_hash_config,json=cryptoHashConfig,oneof"`
}
type PrimitiveTransformation_CryptoReplaceFfxFpeConfig ¶
type PrimitiveTransformation_CryptoReplaceFfxFpeConfig struct {
CryptoReplaceFfxFpeConfig *CryptoReplaceFfxFpeConfig `protobuf:"bytes,4,opt,name=crypto_replace_ffx_fpe_config,json=cryptoReplaceFfxFpeConfig,oneof"`
}
type PrimitiveTransformation_DateShiftConfig ¶
type PrimitiveTransformation_DateShiftConfig struct {
DateShiftConfig *DateShiftConfig `protobuf:"bytes,11,opt,name=date_shift_config,json=dateShiftConfig,oneof"`
}
type PrimitiveTransformation_FixedSizeBucketingConfig ¶
type PrimitiveTransformation_FixedSizeBucketingConfig struct {
FixedSizeBucketingConfig *FixedSizeBucketingConfig `protobuf:"bytes,5,opt,name=fixed_size_bucketing_config,json=fixedSizeBucketingConfig,oneof"`
}
type PrimitiveTransformation_RedactConfig ¶
type PrimitiveTransformation_RedactConfig struct {
RedactConfig *RedactConfig `protobuf:"bytes,2,opt,name=redact_config,json=redactConfig,oneof"`
}
type PrimitiveTransformation_ReplaceConfig ¶
type PrimitiveTransformation_ReplaceConfig struct {
ReplaceConfig *ReplaceValueConfig `protobuf:"bytes,1,opt,name=replace_config,json=replaceConfig,oneof"`
}
type PrimitiveTransformation_ReplaceWithInfoTypeConfig ¶
type PrimitiveTransformation_ReplaceWithInfoTypeConfig struct {
ReplaceWithInfoTypeConfig *ReplaceWithInfoTypeConfig `protobuf:"bytes,7,opt,name=replace_with_info_type_config,json=replaceWithInfoTypeConfig,oneof"`
}
type PrimitiveTransformation_TimePartConfig ¶
type PrimitiveTransformation_TimePartConfig struct {
TimePartConfig *TimePartConfig `protobuf:"bytes,8,opt,name=time_part_config,json=timePartConfig,oneof"`
}
type PrivacyMetric ¶
type PrivacyMetric struct { // Types that are valid to be assigned to Type: // *PrivacyMetric_NumericalStatsConfig_ // *PrivacyMetric_CategoricalStatsConfig_ // *PrivacyMetric_KAnonymityConfig_ // *PrivacyMetric_LDiversityConfig_ // *PrivacyMetric_KMapEstimationConfig_ Type isPrivacyMetric_Type `protobuf_oneof:"type"` }
Privacy metric to compute for reidentification risk analysis.
func (*PrivacyMetric) Descriptor ¶
func (*PrivacyMetric) Descriptor() ([]byte, []int)
func (*PrivacyMetric) GetCategoricalStatsConfig ¶
func (m *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig
func (*PrivacyMetric) GetKAnonymityConfig ¶
func (m *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig
func (*PrivacyMetric) GetKMapEstimationConfig ¶
func (m *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig
func (*PrivacyMetric) GetLDiversityConfig ¶
func (m *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig
func (*PrivacyMetric) GetNumericalStatsConfig ¶
func (m *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig
func (*PrivacyMetric) GetType ¶
func (m *PrivacyMetric) GetType() isPrivacyMetric_Type
func (*PrivacyMetric) ProtoMessage ¶
func (*PrivacyMetric) ProtoMessage()
func (*PrivacyMetric) Reset ¶
func (m *PrivacyMetric) Reset()
func (*PrivacyMetric) String ¶
func (m *PrivacyMetric) String() string
func (*PrivacyMetric) XXX_OneofFuncs ¶
func (*PrivacyMetric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
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" json:"field,omitempty"` }
Compute numerical stats over an individual column, including number of distinct values and value count distribution.
func (*PrivacyMetric_CategoricalStatsConfig) Descriptor ¶
func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int)
func (*PrivacyMetric_CategoricalStatsConfig) GetField ¶
func (m *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId
func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage ¶
func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage()
func (*PrivacyMetric_CategoricalStatsConfig) Reset ¶
func (m *PrivacyMetric_CategoricalStatsConfig) Reset()
func (*PrivacyMetric_CategoricalStatsConfig) String ¶
func (m *PrivacyMetric_CategoricalStatsConfig) String() string
type PrivacyMetric_CategoricalStatsConfig_ ¶
type PrivacyMetric_CategoricalStatsConfig_ struct {
CategoricalStatsConfig *PrivacyMetric_CategoricalStatsConfig `protobuf:"bytes,2,opt,name=categorical_stats_config,json=categoricalStatsConfig,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" json:"quasi_ids,omitempty"` // Optional message indicating that each distinct entity_id should not // contribute to the k-anonymity count more than once per equivalence class. // If an entity_id appears on several rows with different quasi-identifier // tuples, it will contribute to each count exactly once. // // This can lead to unexpected results. Consider a table where ID 1 is // associated to quasi-identifier "foo", ID 2 to "bar", and ID 3 to *both* // quasi-identifiers "foo" and "bar" (on separate rows), and where this ID // is used as entity_id. Then, the anonymity value associated to ID 3 will // be 2, even if it is the only ID to be associated to both values "foo" and // "bar". EntityId *EntityId `protobuf:"bytes,2,opt,name=entity_id,json=entityId" json:"entity_id,omitempty"` }
k-anonymity metric, used for analysis of reidentification risk.
func (*PrivacyMetric_KAnonymityConfig) Descriptor ¶
func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int)
func (*PrivacyMetric_KAnonymityConfig) GetEntityId ¶
func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId
func (*PrivacyMetric_KAnonymityConfig) GetQuasiIds ¶
func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId
func (*PrivacyMetric_KAnonymityConfig) ProtoMessage ¶
func (*PrivacyMetric_KAnonymityConfig) ProtoMessage()
func (*PrivacyMetric_KAnonymityConfig) Reset ¶
func (m *PrivacyMetric_KAnonymityConfig) Reset()
func (*PrivacyMetric_KAnonymityConfig) String ¶
func (m *PrivacyMetric_KAnonymityConfig) String() string
type PrivacyMetric_KAnonymityConfig_ ¶
type PrivacyMetric_KAnonymityConfig_ struct {
KAnonymityConfig *PrivacyMetric_KAnonymityConfig `protobuf:"bytes,3,opt,name=k_anonymity_config,json=kAnonymityConfig,oneof"`
}
type PrivacyMetric_KMapEstimationConfig ¶
type PrivacyMetric_KMapEstimationConfig struct { // Fields considered to be quasi-identifiers. No two columns can have the // same tag. [required] QuasiIds []*PrivacyMetric_KMapEstimationConfig_TaggedField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds" json:"quasi_ids,omitempty"` // ISO 3166-1 alpha-2 region code to use in the statistical modeling. // Required 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" 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" json:"auxiliary_tables,omitempty"` }
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 ¶
func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int)
func (*PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables ¶
func (m *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable
func (*PrivacyMetric_KMapEstimationConfig) GetQuasiIds ¶
func (m *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField
func (*PrivacyMetric_KMapEstimationConfig) GetRegionCode ¶
func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string
func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig) Reset ¶
func (m *PrivacyMetric_KMapEstimationConfig) Reset()
func (*PrivacyMetric_KMapEstimationConfig) String ¶
func (m *PrivacyMetric_KMapEstimationConfig) String() string
type PrivacyMetric_KMapEstimationConfig_ ¶
type PrivacyMetric_KMapEstimationConfig_ struct {
KMapEstimationConfig *PrivacyMetric_KMapEstimationConfig `protobuf:"bytes,5,opt,name=k_map_estimation_config,json=kMapEstimationConfig,oneof"`
}
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable ¶
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct { // Auxiliary table location. [required] Table *BigQueryTable `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"` // Quasi-identifier columns. [required] QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds" json:"quasi_ids,omitempty"` // The relative frequency column must contain a floating-point number // between 0 and 1 (inclusive). Null values are assumed to be zero. // [required] RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency" json:"relative_frequency,omitempty"` }
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 ¶
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int)
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField ¶
type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct { Field *FieldId `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"` CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag" json:"custom_tag,omitempty"` }
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 ¶
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int)
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage ¶
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset()
func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String ¶
func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string
type PrivacyMetric_KMapEstimationConfig_TaggedField ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField struct { // Identifies the column. [required] Field *FieldId `protobuf:"bytes,1,opt,name=field" 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 valid to be assigned to Tag: // *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType // *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag // *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred Tag isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag `protobuf_oneof:"tag"` }
A column with a semantic tag attached.
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor ¶
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int)
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag ¶
func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetField ¶
func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred ¶
func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *google_protobuf3.Empty
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType ¶
func (m *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) Reset ¶
func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset()
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) String ¶
func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs ¶
func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct {
CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,oneof"`
}
type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred struct {
Inferred *google_protobuf3.Empty `protobuf:"bytes,4,opt,name=inferred,oneof"`
}
type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType ¶
type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct {
InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,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" json:"quasi_ids,omitempty"` // Sensitive field for computing the l-value. SensitiveAttribute *FieldId `protobuf:"bytes,2,opt,name=sensitive_attribute,json=sensitiveAttribute" json:"sensitive_attribute,omitempty"` }
l-diversity metric, used for analysis of reidentification risk.
func (*PrivacyMetric_LDiversityConfig) Descriptor ¶
func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int)
func (*PrivacyMetric_LDiversityConfig) GetQuasiIds ¶
func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId
func (*PrivacyMetric_LDiversityConfig) GetSensitiveAttribute ¶
func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId
func (*PrivacyMetric_LDiversityConfig) ProtoMessage ¶
func (*PrivacyMetric_LDiversityConfig) ProtoMessage()
func (*PrivacyMetric_LDiversityConfig) Reset ¶
func (m *PrivacyMetric_LDiversityConfig) Reset()
func (*PrivacyMetric_LDiversityConfig) String ¶
func (m *PrivacyMetric_LDiversityConfig) String() string
type PrivacyMetric_LDiversityConfig_ ¶
type PrivacyMetric_LDiversityConfig_ struct {
LDiversityConfig *PrivacyMetric_LDiversityConfig `protobuf:"bytes,4,opt,name=l_diversity_config,json=lDiversityConfig,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" json:"field,omitempty"` }
Compute numerical stats over an individual column, including min, max, and quantiles.
func (*PrivacyMetric_NumericalStatsConfig) Descriptor ¶
func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int)
func (*PrivacyMetric_NumericalStatsConfig) GetField ¶
func (m *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId
func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage ¶
func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage()
func (*PrivacyMetric_NumericalStatsConfig) Reset ¶
func (m *PrivacyMetric_NumericalStatsConfig) Reset()
func (*PrivacyMetric_NumericalStatsConfig) String ¶
func (m *PrivacyMetric_NumericalStatsConfig) String() string
type PrivacyMetric_NumericalStatsConfig_ ¶
type PrivacyMetric_NumericalStatsConfig_ struct {
NumericalStatsConfig *PrivacyMetric_NumericalStatsConfig `protobuf:"bytes,1,opt,name=numerical_stats_config,json=numericalStatsConfig,oneof"`
}
type QuoteInfo ¶
type QuoteInfo struct { // Object representation of the quote. // // Types that are valid to be assigned to ParsedQuote: // *QuoteInfo_DateTime ParsedQuote isQuoteInfo_ParsedQuote `protobuf_oneof:"parsed_quote"` }
Message for infoType-dependent details parsed from quote.
func (*QuoteInfo) Descriptor ¶
func (*QuoteInfo) GetDateTime ¶
func (*QuoteInfo) GetParsedQuote ¶
func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote
func (*QuoteInfo) ProtoMessage ¶
func (*QuoteInfo) ProtoMessage()
type QuoteInfo_DateTime ¶
type QuoteInfo_DateTime struct {
DateTime *DateTime `protobuf:"bytes,2,opt,name=date_time,json=dateTime,oneof"`
}
type Range ¶
type Range struct { // Index of the first character of the range (inclusive). Start int64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Index of the last character of the range (exclusive). End int64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` }
Generic half-open interval [start, end)
func (*Range) Descriptor ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
type RecordCondition ¶
type RecordCondition struct { // An expression. Expressions *RecordCondition_Expressions `protobuf:"bytes,3,opt,name=expressions" json:"expressions,omitempty"` }
A condition for determining whether a transformation should be applied to a field.
func (*RecordCondition) Descriptor ¶
func (*RecordCondition) Descriptor() ([]byte, []int)
func (*RecordCondition) GetExpressions ¶
func (m *RecordCondition) GetExpressions() *RecordCondition_Expressions
func (*RecordCondition) ProtoMessage ¶
func (*RecordCondition) ProtoMessage()
func (*RecordCondition) Reset ¶
func (m *RecordCondition) Reset()
func (*RecordCondition) String ¶
func (m *RecordCondition) String() string
type RecordCondition_Condition ¶
type RecordCondition_Condition struct { // Field within the record this condition is evaluated against. [required] Field *FieldId `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"` // Operator used to compare the field or infoType to the value. [required] Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,enum=google.privacy.dlp.v2beta2.RelationalOperator" json:"operator,omitempty"` // Value to compare against. [Required, except for `EXISTS` tests.] Value *Value `protobuf:"bytes,4,opt,name=value" json:"value,omitempty"` }
The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible.
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 ¶
func (*RecordCondition_Condition) Descriptor() ([]byte, []int)
func (*RecordCondition_Condition) GetField ¶
func (m *RecordCondition_Condition) GetField() *FieldId
func (*RecordCondition_Condition) GetOperator ¶
func (m *RecordCondition_Condition) GetOperator() RelationalOperator
func (*RecordCondition_Condition) GetValue ¶
func (m *RecordCondition_Condition) GetValue() *Value
func (*RecordCondition_Condition) ProtoMessage ¶
func (*RecordCondition_Condition) ProtoMessage()
func (*RecordCondition_Condition) Reset ¶
func (m *RecordCondition_Condition) Reset()
func (*RecordCondition_Condition) String ¶
func (m *RecordCondition_Condition) String() string
type RecordCondition_Conditions ¶
type RecordCondition_Conditions struct {
Conditions []*RecordCondition_Condition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"`
}
A collection of conditions.
func (*RecordCondition_Conditions) Descriptor ¶
func (*RecordCondition_Conditions) Descriptor() ([]byte, []int)
func (*RecordCondition_Conditions) GetConditions ¶
func (m *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition
func (*RecordCondition_Conditions) ProtoMessage ¶
func (*RecordCondition_Conditions) ProtoMessage()
func (*RecordCondition_Conditions) Reset ¶
func (m *RecordCondition_Conditions) Reset()
func (*RecordCondition_Conditions) String ¶
func (m *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 `` /* 176-byte string literal not displayed */ // Types that are valid to be assigned to Type: // *RecordCondition_Expressions_Conditions Type isRecordCondition_Expressions_Type `protobuf_oneof:"type"` }
An expression, consisting or an operator and conditions.
func (*RecordCondition_Expressions) Descriptor ¶
func (*RecordCondition_Expressions) Descriptor() ([]byte, []int)
func (*RecordCondition_Expressions) GetConditions ¶
func (m *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions
func (*RecordCondition_Expressions) GetLogicalOperator ¶
func (m *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) Reset ¶
func (m *RecordCondition_Expressions) Reset()
func (*RecordCondition_Expressions) String ¶
func (m *RecordCondition_Expressions) String() string
func (*RecordCondition_Expressions) XXX_OneofFuncs ¶
func (*RecordCondition_Expressions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type RecordCondition_Expressions_Conditions ¶
type RecordCondition_Expressions_Conditions struct {
Conditions *RecordCondition_Conditions `protobuf:"bytes,3,opt,name=conditions,oneof"`
}
type RecordCondition_Expressions_LogicalOperator ¶
type RecordCondition_Expressions_LogicalOperator int32
const ( RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED RecordCondition_Expressions_LogicalOperator = 0 RecordCondition_Expressions_AND RecordCondition_Expressions_LogicalOperator = 1 )
func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor ¶
func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor() ([]byte, []int)
func (RecordCondition_Expressions_LogicalOperator) String ¶
func (x RecordCondition_Expressions_LogicalOperator) String() string
type RecordKey ¶
type RecordKey struct { // Types that are valid to be assigned to Type: // *RecordKey_CloudStorageKey // *RecordKey_DatastoreKey // *RecordKey_BigQueryKey Type isRecordKey_Type `protobuf_oneof:"type"` }
Message for a unique key indicating a record that contains a finding.
func (*RecordKey) Descriptor ¶
func (*RecordKey) GetBigQueryKey ¶
func (m *RecordKey) GetBigQueryKey() *BigQueryKey
func (*RecordKey) GetCloudStorageKey ¶
func (m *RecordKey) GetCloudStorageKey() *CloudStorageKey
func (*RecordKey) GetDatastoreKey ¶
func (m *RecordKey) GetDatastoreKey() *DatastoreKey
func (*RecordKey) ProtoMessage ¶
func (*RecordKey) ProtoMessage()
type RecordKey_BigQueryKey ¶
type RecordKey_BigQueryKey struct {
BigQueryKey *BigQueryKey `protobuf:"bytes,3,opt,name=big_query_key,json=bigQueryKey,oneof"`
}
type RecordKey_CloudStorageKey ¶
type RecordKey_CloudStorageKey struct {
CloudStorageKey *CloudStorageKey `protobuf:"bytes,1,opt,name=cloud_storage_key,json=cloudStorageKey,oneof"`
}
type RecordKey_DatastoreKey ¶
type RecordKey_DatastoreKey struct {
DatastoreKey *DatastoreKey `protobuf:"bytes,2,opt,name=datastore_key,json=datastoreKey,oneof"`
}
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" json:"condition,omitempty"` }
Configuration to suppress records whose suppression conditions evaluate to true.
func (*RecordSuppression) Descriptor ¶
func (*RecordSuppression) Descriptor() ([]byte, []int)
func (*RecordSuppression) GetCondition ¶
func (m *RecordSuppression) GetCondition() *RecordCondition
func (*RecordSuppression) ProtoMessage ¶
func (*RecordSuppression) ProtoMessage()
func (*RecordSuppression) Reset ¶
func (m *RecordSuppression) Reset()
func (*RecordSuppression) String ¶
func (m *RecordSuppression) 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" json:"field_transformations,omitempty"` // Configuration defining which records get suppressed entirely. Records that // match any suppression rule are omitted from the output [optional]. RecordSuppressions []*RecordSuppression `protobuf:"bytes,2,rep,name=record_suppressions,json=recordSuppressions" json:"record_suppressions,omitempty"` }
A type of transformation that is applied over structured data such as a table.
func (*RecordTransformations) Descriptor ¶
func (*RecordTransformations) Descriptor() ([]byte, []int)
func (*RecordTransformations) GetFieldTransformations ¶
func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation
func (*RecordTransformations) GetRecordSuppressions ¶
func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression
func (*RecordTransformations) ProtoMessage ¶
func (*RecordTransformations) ProtoMessage()
func (*RecordTransformations) Reset ¶
func (m *RecordTransformations) Reset()
func (*RecordTransformations) String ¶
func (m *RecordTransformations) String() string
type RedactConfig ¶
type RedactConfig struct { }
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 ¶
func (*RedactConfig) Descriptor() ([]byte, []int)
func (*RedactConfig) ProtoMessage ¶
func (*RedactConfig) ProtoMessage()
func (*RedactConfig) Reset ¶
func (m *RedactConfig) Reset()
func (*RedactConfig) String ¶
func (m *RedactConfig) String() string
type RedactImageRequest ¶
type RedactImageRequest struct { // The parent resource name, for example projects/my-project-id. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // Configuration for the inspector. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig" json:"inspect_config,omitempty"` // Type of the content, as defined in Content-Type HTTP header. // Supported types are: PNG, JPEG, SVG, & BMP. ImageType string `protobuf:"bytes,3,opt,name=image_type,json=imageType" json:"image_type,omitempty"` // The bytes of the image to redact. ImageData []byte `protobuf:"bytes,4,opt,name=image_data,json=imageData,proto3" json:"image_data,omitempty"` // The configuration for specifying what content to redact from images. ImageRedactionConfigs []*RedactImageRequest_ImageRedactionConfig `protobuf:"bytes,5,rep,name=image_redaction_configs,json=imageRedactionConfigs" json:"image_redaction_configs,omitempty"` }
Request to search for potentially sensitive info in a list of items and replace it with a default or provided content.
func (*RedactImageRequest) Descriptor ¶
func (*RedactImageRequest) Descriptor() ([]byte, []int)
func (*RedactImageRequest) GetImageData ¶
func (m *RedactImageRequest) GetImageData() []byte
func (*RedactImageRequest) GetImageRedactionConfigs ¶
func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig
func (*RedactImageRequest) GetImageType ¶
func (m *RedactImageRequest) GetImageType() string
func (*RedactImageRequest) GetInspectConfig ¶
func (m *RedactImageRequest) GetInspectConfig() *InspectConfig
func (*RedactImageRequest) GetParent ¶
func (m *RedactImageRequest) GetParent() string
func (*RedactImageRequest) ProtoMessage ¶
func (*RedactImageRequest) ProtoMessage()
func (*RedactImageRequest) Reset ¶
func (m *RedactImageRequest) Reset()
func (*RedactImageRequest) String ¶
func (m *RedactImageRequest) String() string
type RedactImageRequest_ImageRedactionConfig ¶
type RedactImageRequest_ImageRedactionConfig struct { // Type of information to redact from images. // // Types that are valid to be assigned 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" json:"redaction_color,omitempty"` }
Configuration for determining how redaction of images should occur.
func (*RedactImageRequest_ImageRedactionConfig) Descriptor ¶
func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int)
func (*RedactImageRequest_ImageRedactionConfig) GetInfoType ¶
func (m *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType
func (*RedactImageRequest_ImageRedactionConfig) GetRedactAllText ¶
func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool
func (*RedactImageRequest_ImageRedactionConfig) GetRedactionColor ¶
func (m *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) Reset ¶
func (m *RedactImageRequest_ImageRedactionConfig) Reset()
func (*RedactImageRequest_ImageRedactionConfig) String ¶
func (m *RedactImageRequest_ImageRedactionConfig) String() string
func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs ¶
func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type RedactImageRequest_ImageRedactionConfig_InfoType ¶
type RedactImageRequest_ImageRedactionConfig_InfoType struct {
InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,oneof"`
}
type RedactImageRequest_ImageRedactionConfig_RedactAllText ¶
type RedactImageRequest_ImageRedactionConfig_RedactAllText struct {
RedactAllText bool `protobuf:"varint,2,opt,name=redact_all_text,json=redactAllText,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" json:"extracted_text,omitempty"` }
Results of redacting an image.
func (*RedactImageResponse) Descriptor ¶
func (*RedactImageResponse) Descriptor() ([]byte, []int)
func (*RedactImageResponse) GetExtractedText ¶
func (m *RedactImageResponse) GetExtractedText() string
func (*RedactImageResponse) GetRedactedImage ¶
func (m *RedactImageResponse) GetRedactedImage() []byte
func (*RedactImageResponse) ProtoMessage ¶
func (*RedactImageResponse) ProtoMessage()
func (*RedactImageResponse) Reset ¶
func (m *RedactImageResponse) Reset()
func (*RedactImageResponse) String ¶
func (m *RedactImageResponse) String() string
type ReidentifyContentRequest ¶
type ReidentifyContentRequest struct { // The parent resource name. Parent string `protobuf:"bytes,1,opt,name=parent" 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: // // - `CryptoReplaceFfxFpeConfig` ReidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=reidentify_config,json=reidentifyConfig" json:"reidentify_config,omitempty"` // Configuration for the inspector. InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig" json:"inspect_config,omitempty"` // The item to re-identify. Will be treated as text. Item *ContentItem `protobuf:"bytes,4,opt,name=item" json:"item,omitempty"` // Optional 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" json:"inspect_template_name,omitempty"` // Optional 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. 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 `protobuf:"bytes,6,opt,name=reidentify_template_name,json=reidentifyTemplateName" json:"reidentify_template_name,omitempty"` }
Request to re-identify an item.
func (*ReidentifyContentRequest) Descriptor ¶
func (*ReidentifyContentRequest) Descriptor() ([]byte, []int)
func (*ReidentifyContentRequest) GetInspectConfig ¶
func (m *ReidentifyContentRequest) GetInspectConfig() *InspectConfig
func (*ReidentifyContentRequest) GetInspectTemplateName ¶
func (m *ReidentifyContentRequest) GetInspectTemplateName() string
func (*ReidentifyContentRequest) GetItem ¶
func (m *ReidentifyContentRequest) GetItem() *ContentItem
func (*ReidentifyContentRequest) GetParent ¶
func (m *ReidentifyContentRequest) GetParent() string
func (*ReidentifyContentRequest) GetReidentifyConfig ¶
func (m *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig
func (*ReidentifyContentRequest) GetReidentifyTemplateName ¶
func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string
func (*ReidentifyContentRequest) ProtoMessage ¶
func (*ReidentifyContentRequest) ProtoMessage()
func (*ReidentifyContentRequest) Reset ¶
func (m *ReidentifyContentRequest) Reset()
func (*ReidentifyContentRequest) String ¶
func (m *ReidentifyContentRequest) String() string
type ReidentifyContentResponse ¶
type ReidentifyContentResponse struct { // The re-identified item. Item *ContentItem `protobuf:"bytes,1,opt,name=item" json:"item,omitempty"` // An overview of the changes that were made to the `item`. Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview" json:"overview,omitempty"` }
Results of re-identifying a item.
func (*ReidentifyContentResponse) Descriptor ¶
func (*ReidentifyContentResponse) Descriptor() ([]byte, []int)
func (*ReidentifyContentResponse) GetItem ¶
func (m *ReidentifyContentResponse) GetItem() *ContentItem
func (*ReidentifyContentResponse) GetOverview ¶
func (m *ReidentifyContentResponse) GetOverview() *TransformationOverview
func (*ReidentifyContentResponse) ProtoMessage ¶
func (*ReidentifyContentResponse) ProtoMessage()
func (*ReidentifyContentResponse) Reset ¶
func (m *ReidentifyContentResponse) Reset()
func (*ReidentifyContentResponse) String ¶
func (m *ReidentifyContentResponse) String() string
type RelationalOperator ¶
type RelationalOperator int32
Operators available for comparing the value of fields.
const ( RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED RelationalOperator = 0 // Equal. RelationalOperator_EQUAL_TO RelationalOperator = 1 // Not equal to. 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) EnumDescriptor ¶
func (RelationalOperator) EnumDescriptor() ([]byte, []int)
func (RelationalOperator) String ¶
func (x RelationalOperator) String() string
type ReplaceValueConfig ¶
type ReplaceValueConfig struct { // Value to replace it with. NewValue *Value `protobuf:"bytes,1,opt,name=new_value,json=newValue" json:"new_value,omitempty"` }
Replace each input value with a given `Value`.
func (*ReplaceValueConfig) Descriptor ¶
func (*ReplaceValueConfig) Descriptor() ([]byte, []int)
func (*ReplaceValueConfig) GetNewValue ¶
func (m *ReplaceValueConfig) GetNewValue() *Value
func (*ReplaceValueConfig) ProtoMessage ¶
func (*ReplaceValueConfig) ProtoMessage()
func (*ReplaceValueConfig) Reset ¶
func (m *ReplaceValueConfig) Reset()
func (*ReplaceValueConfig) String ¶
func (m *ReplaceValueConfig) String() string
type ReplaceWithInfoTypeConfig ¶
type ReplaceWithInfoTypeConfig struct { }
Replace each matching finding with the name of the info_type.
func (*ReplaceWithInfoTypeConfig) Descriptor ¶
func (*ReplaceWithInfoTypeConfig) Descriptor() ([]byte, []int)
func (*ReplaceWithInfoTypeConfig) ProtoMessage ¶
func (*ReplaceWithInfoTypeConfig) ProtoMessage()
func (*ReplaceWithInfoTypeConfig) Reset ¶
func (m *ReplaceWithInfoTypeConfig) Reset()
func (*ReplaceWithInfoTypeConfig) String ¶
func (m *ReplaceWithInfoTypeConfig) String() string
type RiskAnalysisJobConfig ¶
type RiskAnalysisJobConfig struct { // Privacy metric to compute. PrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=privacy_metric,json=privacyMetric" json:"privacy_metric,omitempty"` // Input dataset to compute metrics over. SourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=source_table,json=sourceTable" 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" json:"actions,omitempty"` }
Configuration for a risk analysis job.
func (*RiskAnalysisJobConfig) Descriptor ¶
func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int)
func (*RiskAnalysisJobConfig) GetActions ¶
func (m *RiskAnalysisJobConfig) GetActions() []*Action
func (*RiskAnalysisJobConfig) GetPrivacyMetric ¶
func (m *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric
func (*RiskAnalysisJobConfig) GetSourceTable ¶
func (m *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable
func (*RiskAnalysisJobConfig) ProtoMessage ¶
func (*RiskAnalysisJobConfig) ProtoMessage()
func (*RiskAnalysisJobConfig) Reset ¶
func (m *RiskAnalysisJobConfig) Reset()
func (*RiskAnalysisJobConfig) String ¶
func (m *RiskAnalysisJobConfig) String() string
type Schedule ¶
type Schedule struct { // Types that are valid to be assigned to Option: // *Schedule_ReccurrencePeriodDuration Option isSchedule_Option `protobuf_oneof:"option"` }
Schedule for triggeredJobs.
func (*Schedule) Descriptor ¶
func (*Schedule) GetReccurrencePeriodDuration ¶
func (m *Schedule) GetReccurrencePeriodDuration() *google_protobuf2.Duration
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
type Schedule_ReccurrencePeriodDuration ¶
type Schedule_ReccurrencePeriodDuration struct {
ReccurrencePeriodDuration *google_protobuf2.Duration `protobuf:"bytes,1,opt,name=reccurrence_period_duration,json=reccurrencePeriodDuration,oneof"`
}
type StorageConfig ¶
type StorageConfig struct { // Types that are valid to be assigned to Type: // *StorageConfig_DatastoreOptions // *StorageConfig_CloudStorageOptions // *StorageConfig_BigQueryOptions Type isStorageConfig_Type `protobuf_oneof:"type"` TimespanConfig *StorageConfig_TimespanConfig `protobuf:"bytes,6,opt,name=timespan_config,json=timespanConfig" json:"timespan_config,omitempty"` }
Shared message indicating Cloud storage type.
func (*StorageConfig) Descriptor ¶
func (*StorageConfig) Descriptor() ([]byte, []int)
func (*StorageConfig) GetBigQueryOptions ¶
func (m *StorageConfig) GetBigQueryOptions() *BigQueryOptions
func (*StorageConfig) GetCloudStorageOptions ¶
func (m *StorageConfig) GetCloudStorageOptions() *CloudStorageOptions
func (*StorageConfig) GetDatastoreOptions ¶
func (m *StorageConfig) GetDatastoreOptions() *DatastoreOptions
func (*StorageConfig) GetTimespanConfig ¶
func (m *StorageConfig) GetTimespanConfig() *StorageConfig_TimespanConfig
func (*StorageConfig) GetType ¶
func (m *StorageConfig) GetType() isStorageConfig_Type
func (*StorageConfig) ProtoMessage ¶
func (*StorageConfig) ProtoMessage()
func (*StorageConfig) Reset ¶
func (m *StorageConfig) Reset()
func (*StorageConfig) String ¶
func (m *StorageConfig) String() string
func (*StorageConfig) XXX_OneofFuncs ¶
func (*StorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type StorageConfig_BigQueryOptions ¶
type StorageConfig_BigQueryOptions struct {
BigQueryOptions *BigQueryOptions `protobuf:"bytes,4,opt,name=big_query_options,json=bigQueryOptions,oneof"`
}
type StorageConfig_CloudStorageOptions ¶
type StorageConfig_CloudStorageOptions struct {
CloudStorageOptions *CloudStorageOptions `protobuf:"bytes,3,opt,name=cloud_storage_options,json=cloudStorageOptions,oneof"`
}
type StorageConfig_DatastoreOptions ¶
type StorageConfig_DatastoreOptions struct {
DatastoreOptions *DatastoreOptions `protobuf:"bytes,2,opt,name=datastore_options,json=datastoreOptions,oneof"`
}
type StorageConfig_TimespanConfig ¶
type StorageConfig_TimespanConfig struct { // Exclude files older than this value. StartTime *google_protobuf1.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime" json:"start_time,omitempty"` // Exclude files newer than this value. // If set to zero, no upper time limit is applied. EndTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime" json:"end_time,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. EnableAutoPopulationOfTimespanConfig bool `` /* 171-byte string literal not displayed */ }
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery.
func (*StorageConfig_TimespanConfig) Descriptor ¶
func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int)
func (*StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig ¶
func (m *StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig() bool
func (*StorageConfig_TimespanConfig) GetEndTime ¶
func (m *StorageConfig_TimespanConfig) GetEndTime() *google_protobuf1.Timestamp
func (*StorageConfig_TimespanConfig) GetStartTime ¶
func (m *StorageConfig_TimespanConfig) GetStartTime() *google_protobuf1.Timestamp
func (*StorageConfig_TimespanConfig) ProtoMessage ¶
func (*StorageConfig_TimespanConfig) ProtoMessage()
func (*StorageConfig_TimespanConfig) Reset ¶
func (m *StorageConfig_TimespanConfig) Reset()
func (*StorageConfig_TimespanConfig) String ¶
func (m *StorageConfig_TimespanConfig) String() string
type Table ¶
type Table struct { Headers []*FieldId `protobuf:"bytes,1,rep,name=headers" json:"headers,omitempty"` Rows []*Table_Row `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` }
Structured content to inspect. Up to 50,000 `Value`s per request allowed.
func (*Table) Descriptor ¶
func (*Table) GetHeaders ¶
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
type TableLocation ¶
type TableLocation struct { // The zero-based index of the row where the finding is located. RowIndex int64 `protobuf:"varint,1,opt,name=row_index,json=rowIndex" json:"row_index,omitempty"` }
Location of a finding within a table.
func (*TableLocation) Descriptor ¶
func (*TableLocation) Descriptor() ([]byte, []int)
func (*TableLocation) GetRowIndex ¶
func (m *TableLocation) GetRowIndex() int64
func (*TableLocation) ProtoMessage ¶
func (*TableLocation) ProtoMessage()
func (*TableLocation) Reset ¶
func (m *TableLocation) Reset()
func (*TableLocation) String ¶
func (m *TableLocation) String() string
type Table_Row ¶
type Table_Row struct {
Values []*Value `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (*Table_Row) Descriptor ¶
func (*Table_Row) ProtoMessage ¶
func (*Table_Row) ProtoMessage()
type TimePartConfig ¶
type TimePartConfig struct {
PartToExtract TimePartConfig_TimePart `` /* 152-byte string literal not displayed */
}
For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value.
func (*TimePartConfig) Descriptor ¶
func (*TimePartConfig) Descriptor() ([]byte, []int)
func (*TimePartConfig) GetPartToExtract ¶
func (m *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart
func (*TimePartConfig) ProtoMessage ¶
func (*TimePartConfig) ProtoMessage()
func (*TimePartConfig) Reset ¶
func (m *TimePartConfig) Reset()
func (*TimePartConfig) String ¶
func (m *TimePartConfig) String() string
type TimePartConfig_TimePart ¶
type TimePartConfig_TimePart int32
const ( 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-52] TimePartConfig_WEEK_OF_YEAR TimePartConfig_TimePart = 5 // [0-23] TimePartConfig_HOUR_OF_DAY TimePartConfig_TimePart = 6 )
func (TimePartConfig_TimePart) EnumDescriptor ¶
func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int)
func (TimePartConfig_TimePart) String ¶
func (x TimePartConfig_TimePart) String() string
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" json:"transformed_bytes,omitempty"` // Transformations applied to the dataset. TransformationSummaries []*TransformationSummary `protobuf:"bytes,3,rep,name=transformation_summaries,json=transformationSummaries" json:"transformation_summaries,omitempty"` }
Overview of the modifications that occurred.
func (*TransformationOverview) Descriptor ¶
func (*TransformationOverview) Descriptor() ([]byte, []int)
func (*TransformationOverview) GetTransformationSummaries ¶
func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary
func (*TransformationOverview) GetTransformedBytes ¶
func (m *TransformationOverview) GetTransformedBytes() int64
func (*TransformationOverview) ProtoMessage ¶
func (*TransformationOverview) ProtoMessage()
func (*TransformationOverview) Reset ¶
func (m *TransformationOverview) Reset()
func (*TransformationOverview) String ¶
func (m *TransformationOverview) String() string
type TransformationSummary ¶
type TransformationSummary struct { // Set if the transformation was limited to a specific info_type. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType" json:"info_type,omitempty"` // Set if the transformation was limited to a specific FieldId. Field *FieldId `protobuf:"bytes,2,opt,name=field" json:"field,omitempty"` // The specific transformation these stats apply to. Transformation *PrimitiveTransformation `protobuf:"bytes,3,opt,name=transformation" 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" json:"field_transformations,omitempty"` // The specific suppression option these stats apply to. RecordSuppress *RecordSuppression `protobuf:"bytes,6,opt,name=record_suppress,json=recordSuppress" json:"record_suppress,omitempty"` Results []*TransformationSummary_SummaryResult `protobuf:"bytes,4,rep,name=results" json:"results,omitempty"` // Total size in bytes that were transformed in some way. TransformedBytes int64 `protobuf:"varint,7,opt,name=transformed_bytes,json=transformedBytes" json:"transformed_bytes,omitempty"` }
Summary of a single tranformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.
func (*TransformationSummary) Descriptor ¶
func (*TransformationSummary) Descriptor() ([]byte, []int)
func (*TransformationSummary) GetField ¶
func (m *TransformationSummary) GetField() *FieldId
func (*TransformationSummary) GetFieldTransformations ¶
func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation
func (*TransformationSummary) GetInfoType ¶
func (m *TransformationSummary) GetInfoType() *InfoType
func (*TransformationSummary) GetRecordSuppress ¶
func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression
func (*TransformationSummary) GetResults ¶
func (m *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult
func (*TransformationSummary) GetTransformation ¶
func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation
func (*TransformationSummary) GetTransformedBytes ¶
func (m *TransformationSummary) GetTransformedBytes() int64
func (*TransformationSummary) ProtoMessage ¶
func (*TransformationSummary) ProtoMessage()
func (*TransformationSummary) Reset ¶
func (m *TransformationSummary) Reset()
func (*TransformationSummary) String ¶
func (m *TransformationSummary) String() string
type TransformationSummary_SummaryResult ¶
type TransformationSummary_SummaryResult struct { Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` Code TransformationSummary_TransformationResultCode `` /* 134-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" json:"details,omitempty"` }
A collection that informs the user the number of times a particular `TransformationResultCode` and error details occurred.
func (*TransformationSummary_SummaryResult) Descriptor ¶
func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int)
func (*TransformationSummary_SummaryResult) GetCode ¶
func (m *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode
func (*TransformationSummary_SummaryResult) GetCount ¶
func (m *TransformationSummary_SummaryResult) GetCount() int64
func (*TransformationSummary_SummaryResult) GetDetails ¶
func (m *TransformationSummary_SummaryResult) GetDetails() string
func (*TransformationSummary_SummaryResult) ProtoMessage ¶
func (*TransformationSummary_SummaryResult) ProtoMessage()
func (*TransformationSummary_SummaryResult) Reset ¶
func (m *TransformationSummary_SummaryResult) Reset()
func (*TransformationSummary_SummaryResult) String ¶
func (m *TransformationSummary_SummaryResult) String() string
type TransformationSummary_TransformationResultCode ¶
type TransformationSummary_TransformationResultCode int32
Possible outcomes of transformations.
const ( TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED TransformationSummary_TransformationResultCode = 0 TransformationSummary_SUCCESS TransformationSummary_TransformationResultCode = 1 TransformationSummary_ERROR TransformationSummary_TransformationResultCode = 2 )
func (TransformationSummary_TransformationResultCode) EnumDescriptor ¶
func (TransformationSummary_TransformationResultCode) EnumDescriptor() ([]byte, []int)
func (TransformationSummary_TransformationResultCode) String ¶
func (x TransformationSummary_TransformationResultCode) String() string
type TransientCryptoKey ¶
type TransientCryptoKey struct { // Name of the key. [required] // 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" json:"name,omitempty"` }
Use this to have a random data crypto key generated. It will be discarded after the request finishes.
func (*TransientCryptoKey) Descriptor ¶
func (*TransientCryptoKey) Descriptor() ([]byte, []int)
func (*TransientCryptoKey) GetName ¶
func (m *TransientCryptoKey) GetName() string
func (*TransientCryptoKey) ProtoMessage ¶
func (*TransientCryptoKey) ProtoMessage()
func (*TransientCryptoKey) Reset ¶
func (m *TransientCryptoKey) Reset()
func (*TransientCryptoKey) String ¶
func (m *TransientCryptoKey) String() string
type UnwrappedCryptoKey ¶
type UnwrappedCryptoKey struct { // The AES 128/192/256 bit key. [required] Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` }
Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.
func (*UnwrappedCryptoKey) Descriptor ¶
func (*UnwrappedCryptoKey) Descriptor() ([]byte, []int)
func (*UnwrappedCryptoKey) GetKey ¶
func (m *UnwrappedCryptoKey) GetKey() []byte
func (*UnwrappedCryptoKey) ProtoMessage ¶
func (*UnwrappedCryptoKey) ProtoMessage()
func (*UnwrappedCryptoKey) Reset ¶
func (m *UnwrappedCryptoKey) Reset()
func (*UnwrappedCryptoKey) String ¶
func (m *UnwrappedCryptoKey) String() string
type UpdateDeidentifyTemplateRequest ¶
type UpdateDeidentifyTemplateRequest struct { // 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" json:"name,omitempty"` // New DeidentifyTemplate value. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate" json:"deidentify_template,omitempty"` // Mask to control which fields get updated. UpdateMask *google_protobuf4.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
Request message for UpdateDeidentifyTemplate.
func (*UpdateDeidentifyTemplateRequest) Descriptor ¶
func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int)
func (*UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate ¶
func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate
func (*UpdateDeidentifyTemplateRequest) GetName ¶
func (m *UpdateDeidentifyTemplateRequest) GetName() string
func (*UpdateDeidentifyTemplateRequest) GetUpdateMask ¶
func (m *UpdateDeidentifyTemplateRequest) GetUpdateMask() *google_protobuf4.FieldMask
func (*UpdateDeidentifyTemplateRequest) ProtoMessage ¶
func (*UpdateDeidentifyTemplateRequest) ProtoMessage()
func (*UpdateDeidentifyTemplateRequest) Reset ¶
func (m *UpdateDeidentifyTemplateRequest) Reset()
func (*UpdateDeidentifyTemplateRequest) String ¶
func (m *UpdateDeidentifyTemplateRequest) String() string
type UpdateInspectTemplateRequest ¶
type UpdateInspectTemplateRequest struct { // 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" json:"name,omitempty"` // New InspectTemplate value. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate" json:"inspect_template,omitempty"` // Mask to control which fields get updated. UpdateMask *google_protobuf4.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
Request message for UpdateInspectTemplate.
func (*UpdateInspectTemplateRequest) Descriptor ¶
func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int)
func (*UpdateInspectTemplateRequest) GetInspectTemplate ¶
func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate
func (*UpdateInspectTemplateRequest) GetName ¶
func (m *UpdateInspectTemplateRequest) GetName() string
func (*UpdateInspectTemplateRequest) GetUpdateMask ¶
func (m *UpdateInspectTemplateRequest) GetUpdateMask() *google_protobuf4.FieldMask
func (*UpdateInspectTemplateRequest) ProtoMessage ¶
func (*UpdateInspectTemplateRequest) ProtoMessage()
func (*UpdateInspectTemplateRequest) Reset ¶
func (m *UpdateInspectTemplateRequest) Reset()
func (*UpdateInspectTemplateRequest) String ¶
func (m *UpdateInspectTemplateRequest) String() string
type UpdateJobTriggerRequest ¶
type UpdateJobTriggerRequest struct { // Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // New JobTrigger value. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger" json:"job_trigger,omitempty"` // Mask to control which fields get updated. UpdateMask *google_protobuf4.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
Request message for UpdateJobTrigger.
func (*UpdateJobTriggerRequest) Descriptor ¶
func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int)
func (*UpdateJobTriggerRequest) GetJobTrigger ¶
func (m *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger
func (*UpdateJobTriggerRequest) GetName ¶
func (m *UpdateJobTriggerRequest) GetName() string
func (*UpdateJobTriggerRequest) GetUpdateMask ¶
func (m *UpdateJobTriggerRequest) GetUpdateMask() *google_protobuf4.FieldMask
func (*UpdateJobTriggerRequest) ProtoMessage ¶
func (*UpdateJobTriggerRequest) ProtoMessage()
func (*UpdateJobTriggerRequest) Reset ¶
func (m *UpdateJobTriggerRequest) Reset()
func (*UpdateJobTriggerRequest) String ¶
func (m *UpdateJobTriggerRequest) String() string
type Value ¶
type Value struct { // Types that are valid to be assigned to Type: // *Value_IntegerValue // *Value_FloatValue // *Value_StringValue // *Value_BooleanValue // *Value_TimestampValue // *Value_TimeValue // *Value_DateValue // *Value_DayOfWeekValue Type isValue_Type `protobuf_oneof:"type"` }
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 ¶
func (*Value) GetBooleanValue ¶
func (*Value) GetDateValue ¶
func (m *Value) GetDateValue() *google_type.Date
func (*Value) GetDayOfWeekValue ¶
func (m *Value) GetDayOfWeekValue() google_type1.DayOfWeek
func (*Value) GetFloatValue ¶
func (*Value) GetIntegerValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetTimeValue ¶
func (m *Value) GetTimeValue() *google_type2.TimeOfDay
func (*Value) GetTimestampValue ¶
func (m *Value) GetTimestampValue() *google_protobuf1.Timestamp
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
type ValueFrequency ¶
type ValueFrequency struct { // A value contained in the field in question. Value *Value `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` // How many times the value is contained in the field. Count int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` }
A value of a field, including its frequency.
func (*ValueFrequency) Descriptor ¶
func (*ValueFrequency) Descriptor() ([]byte, []int)
func (*ValueFrequency) GetCount ¶
func (m *ValueFrequency) GetCount() int64
func (*ValueFrequency) GetValue ¶
func (m *ValueFrequency) GetValue() *Value
func (*ValueFrequency) ProtoMessage ¶
func (*ValueFrequency) ProtoMessage()
func (*ValueFrequency) Reset ¶
func (m *ValueFrequency) Reset()
func (*ValueFrequency) String ¶
func (m *ValueFrequency) String() string
type Value_BooleanValue ¶
type Value_BooleanValue struct {
BooleanValue bool `protobuf:"varint,4,opt,name=boolean_value,json=booleanValue,oneof"`
}
type Value_DateValue ¶
type Value_DateValue struct {
DateValue *google_type.Date `protobuf:"bytes,7,opt,name=date_value,json=dateValue,oneof"`
}
type Value_DayOfWeekValue ¶
type Value_DayOfWeekValue struct {
DayOfWeekValue google_type1.DayOfWeek `protobuf:"varint,8,opt,name=day_of_week_value,json=dayOfWeekValue,enum=google.type.DayOfWeek,oneof"`
}
type Value_FloatValue ¶
type Value_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,oneof"`
}
type Value_IntegerValue ¶
type Value_IntegerValue struct {
IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,oneof"`
}
type Value_StringValue ¶
type Value_StringValue struct {
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,oneof"`
}
type Value_TimeValue ¶
type Value_TimeValue struct {
TimeValue *google_type2.TimeOfDay `protobuf:"bytes,6,opt,name=time_value,json=timeValue,oneof"`
}
type Value_TimestampValue ¶
type Value_TimestampValue struct {
TimestampValue *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,oneof"`
}