Skip to content

datalossprevention.v1beta1.inspectTemplate

"InspectTemplate is the Schema for the InspectTemplates API. An inspect job template."

Index

Fields

fn new

new(name)

new returns an instance of InspectTemplate

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"InspectTemplateSpec defines the desired state of InspectTemplate"

fn spec.withDeletionPolicy

withDeletionPolicy(deletionPolicy)

"DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either \"Delete\" or \"Orphan\" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223"

fn spec.withManagementPolicies

withManagementPolicies(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

fn spec.withManagementPoliciesMixin

withManagementPoliciesMixin(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

Note: This function appends passed data to existing values

obj spec.forProvider

fn spec.forProvider.withDescription

withDescription(description)

"A description of the inspect template."

fn spec.forProvider.withDisplayName

withDisplayName(displayName)

"User set display name of the inspect template."

fn spec.forProvider.withInspectConfig

withInspectConfig(inspectConfig)

"The core content of the template. Structure is documented below."

fn spec.forProvider.withInspectConfigMixin

withInspectConfigMixin(inspectConfig)

"The core content of the template. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withParent

withParent(parent)

"The parent of the inspect template in any of the following formats:"

obj spec.forProvider.inspectConfig

"The core content of the template. Structure is documented below."

fn spec.forProvider.inspectConfig.withContentOptions

withContentOptions(contentOptions)

"List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE."

fn spec.forProvider.inspectConfig.withContentOptionsMixin

withContentOptionsMixin(contentOptions)

"List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.withCustomInfoTypes

withCustomInfoTypes(customInfoTypes)

"Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below."

fn spec.forProvider.inspectConfig.withCustomInfoTypesMixin

withCustomInfoTypesMixin(customInfoTypes)

"Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.withExcludeInfoTypes

withExcludeInfoTypes(excludeInfoTypes)

"When true, excludes type information of the findings."

fn spec.forProvider.inspectConfig.withIncludeQuote

withIncludeQuote(includeQuote)

"When true, a contextual quote from the data that triggered a finding is included in the response."

fn spec.forProvider.inspectConfig.withInfoTypes

withInfoTypes(infoTypes)

"Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below."

fn spec.forProvider.inspectConfig.withInfoTypesMixin

withInfoTypesMixin(infoTypes)

"Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.withLimits

withLimits(limits)

"Configuration to control the number of findings returned. Structure is documented below."

fn spec.forProvider.inspectConfig.withLimitsMixin

withLimitsMixin(limits)

"Configuration to control the number of findings returned. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.withMinLikelihood

withMinLikelihood(minLikelihood)

"Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info Default value is POSSIBLE. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY."

fn spec.forProvider.inspectConfig.withRuleSet

withRuleSet(ruleSet)

"Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below."

fn spec.forProvider.inspectConfig.withRuleSetMixin

withRuleSetMixin(ruleSet)

"Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.customInfoTypes

"Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.withDictionary

withDictionary(dictionary)

"Dictionary which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.withDictionaryMixin

withDictionaryMixin(dictionary)

"Dictionary which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.customInfoTypes.withExclusionType

withExclusionType(exclusionType)

"If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. Possible values are: EXCLUSION_TYPE_EXCLUDE."

fn spec.forProvider.inspectConfig.customInfoTypes.withInfoType

withInfoType(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.withInfoTypeMixin

withInfoTypeMixin(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.customInfoTypes.withLikelihood

withLikelihood(likelihood)

"Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Default value is VERY_LIKELY. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY."

fn spec.forProvider.inspectConfig.customInfoTypes.withRegex

withRegex(regex)

"Regular expression which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.withRegexMixin

withRegexMixin(regex)

"Regular expression which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.customInfoTypes.withStoredType

withStoredType(storedType)

"A reference to a StoredInfoType to use with scanning. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.withStoredTypeMixin

withStoredTypeMixin(storedType)

"A reference to a StoredInfoType to use with scanning. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.customInfoTypes.withSurrogateType

withSurrogateType(surrogateType)

"Message for detecting output from deidentification transformations that support reversing."

fn spec.forProvider.inspectConfig.customInfoTypes.withSurrogateTypeMixin

withSurrogateTypeMixin(surrogateType)

"Message for detecting output from deidentification transformations that support reversing."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.customInfoTypes.dictionary

"Dictionary which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.withCloudStoragePath

withCloudStoragePath(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.withCloudStoragePathMixin

withCloudStoragePathMixin(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.withWordList

withWordList(wordList)

"List of words or phrases to search for. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.withWordListMixin

withWordListMixin(wordList)

"List of words or phrases to search for. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.customInfoTypes.dictionary.cloudStoragePath

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.cloudStoragePath.withPath

withPath(path)

"A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt"

obj spec.forProvider.inspectConfig.customInfoTypes.dictionary.wordList

"List of words or phrases to search for. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.wordList.withWords

withWords(words)

"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."

fn spec.forProvider.inspectConfig.customInfoTypes.dictionary.wordList.withWordsMixin

withWordsMixin(words)

"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."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.customInfoTypes.infoType

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.infoType.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.forProvider.inspectConfig.customInfoTypes.infoType.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.forProvider.inspectConfig.customInfoTypes.regex

"Regular expression which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.regex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.forProvider.inspectConfig.customInfoTypes.regex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.customInfoTypes.regex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.forProvider.inspectConfig.customInfoTypes.storedType

"A reference to a StoredInfoType to use with scanning. Structure is documented below."

fn spec.forProvider.inspectConfig.customInfoTypes.storedType.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

obj spec.forProvider.inspectConfig.infoTypes

"Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below."

fn spec.forProvider.inspectConfig.infoTypes.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.forProvider.inspectConfig.infoTypes.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.forProvider.inspectConfig.limits

"Configuration to control the number of findings returned. Structure is documented below."

fn spec.forProvider.inspectConfig.limits.withMaxFindingsPerInfoType

withMaxFindingsPerInfoType(maxFindingsPerInfoType)

"Configuration of findings limit given for specified infoTypes. Structure is documented below."

fn spec.forProvider.inspectConfig.limits.withMaxFindingsPerInfoTypeMixin

withMaxFindingsPerInfoTypeMixin(maxFindingsPerInfoType)

"Configuration of findings limit given for specified infoTypes. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.limits.withMaxFindingsPerItem

withMaxFindingsPerItem(maxFindingsPerItem)

"Max number of findings that will be returned for each item scanned. The maximum returned is 2000."

fn spec.forProvider.inspectConfig.limits.withMaxFindingsPerRequest

withMaxFindingsPerRequest(maxFindingsPerRequest)

"Max number of findings that will be returned per request/job. The maximum returned is 2000."

obj spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType

"Configuration of findings limit given for specified infoTypes. Structure is documented below."

fn spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType.withInfoType

withInfoType(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType.withInfoTypeMixin

withInfoTypeMixin(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType.withMaxFindings

withMaxFindings(maxFindings)

"Max findings limit for the given infoType."

obj spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType.infoType

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType.infoType.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.forProvider.inspectConfig.limits.maxFindingsPerInfoType.infoType.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.forProvider.inspectConfig.ruleSet

"Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.withInfoTypes

withInfoTypes(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.withInfoTypesMixin

withInfoTypesMixin(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.withRules

withRules(rules)

"Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.withRulesMixin

withRulesMixin(rules)

"Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.infoTypes

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.infoTypes.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.forProvider.inspectConfig.ruleSet.infoTypes.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.forProvider.inspectConfig.ruleSet.rules

"Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.withExclusionRule

withExclusionRule(exclusionRule)

"The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.withExclusionRuleMixin

withExclusionRuleMixin(exclusionRule)

"The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.withHotwordRule

withHotwordRule(hotwordRule)

"Hotword-based detection rule. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.withHotwordRuleMixin

withHotwordRuleMixin(hotwordRule)

"Hotword-based detection rule. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule

"The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withDictionary

withDictionary(dictionary)

"Dictionary which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withDictionaryMixin

withDictionaryMixin(dictionary)

"Dictionary which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeByHotword

withExcludeByHotword(excludeByHotword)

"Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeByHotwordMixin

withExcludeByHotwordMixin(excludeByHotword)

"Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeInfoTypes

withExcludeInfoTypes(excludeInfoTypes)

"When true, excludes type information of the findings."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeInfoTypesMixin

withExcludeInfoTypesMixin(excludeInfoTypes)

"When true, excludes type information of the findings."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withMatchingType

withMatchingType(matchingType)

"How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withRegex

withRegex(regex)

"Regular expression which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.withRegexMixin

withRegexMixin(regex)

"Regular expression which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary

"Dictionary which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withCloudStoragePath

withCloudStoragePath(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withCloudStoragePathMixin

withCloudStoragePathMixin(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withWordList

withWordList(wordList)

"List of words or phrases to search for. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withWordListMixin

withWordListMixin(wordList)

"List of words or phrases to search for. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.cloudStoragePath

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.cloudStoragePath.withPath

withPath(path)

"A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt"

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.wordList

"List of words or phrases to search for. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.wordList.withWords

withWords(words)

"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."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.wordList.withWordsMixin

withWordsMixin(words)

"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."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword

"Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withHotwordRegex

withHotwordRegex(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withHotwordRegexMixin

withHotwordRegexMixin(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withProximity

withProximity(proximity)

"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. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withProximityMixin

withProximityMixin(proximity)

"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. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.proximity

"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. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.proximity.withWindowAfter

withWindowAfter(windowAfter)

"Number of characters after the finding to consider. Either this or window_before must be specified"

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.proximity.withWindowBefore

withWindowBefore(windowBefore)

"Number of characters before the finding to consider. Either this or window_after must be specified"

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes

"When true, excludes type information of the findings."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.withInfoTypes

withInfoTypes(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.withInfoTypesMixin

withInfoTypesMixin(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.infoTypes

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.infoTypes.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.infoTypes.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.regex

"Regular expression which defines the rule. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.regex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.regex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.exclusionRule.regex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule

"Hotword-based detection rule. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.withHotwordRegex

withHotwordRegex(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.withHotwordRegexMixin

withHotwordRegexMixin(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.withLikelihoodAdjustment

withLikelihoodAdjustment(likelihoodAdjustment)

"Likelihood adjustment to apply to all matching findings. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.withLikelihoodAdjustmentMixin

withLikelihoodAdjustmentMixin(likelihoodAdjustment)

"Likelihood adjustment to apply to all matching findings. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.withProximity

withProximity(proximity)

"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. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.withProximityMixin

withProximityMixin(proximity)

"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. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.likelihoodAdjustment

"Likelihood adjustment to apply to all matching findings. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.likelihoodAdjustment.withFixedLikelihood

withFixedLikelihood(fixedLikelihood)

"Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.likelihoodAdjustment.withRelativeLikelihood

withRelativeLikelihood(relativeLikelihood)

"Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set."

obj spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.proximity

"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. Structure is documented below."

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.proximity.withWindowAfter

withWindowAfter(windowAfter)

"Number of characters after the finding to consider. Either this or window_before must be specified"

fn spec.forProvider.inspectConfig.ruleSet.rules.hotwordRule.proximity.withWindowBefore

withWindowBefore(windowBefore)

"Number of characters before the finding to consider. Either this or window_after must be specified"

obj spec.initProvider

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler."

fn spec.initProvider.withDescription

withDescription(description)

"A description of the inspect template."

fn spec.initProvider.withDisplayName

withDisplayName(displayName)

"User set display name of the inspect template."

fn spec.initProvider.withInspectConfig

withInspectConfig(inspectConfig)

"The core content of the template. Structure is documented below."

fn spec.initProvider.withInspectConfigMixin

withInspectConfigMixin(inspectConfig)

"The core content of the template. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withParent

withParent(parent)

"The parent of the inspect template in any of the following formats:"

obj spec.initProvider.inspectConfig

"The core content of the template. Structure is documented below."

fn spec.initProvider.inspectConfig.withContentOptions

withContentOptions(contentOptions)

"List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE."

fn spec.initProvider.inspectConfig.withContentOptionsMixin

withContentOptionsMixin(contentOptions)

"List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.withCustomInfoTypes

withCustomInfoTypes(customInfoTypes)

"Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below."

fn spec.initProvider.inspectConfig.withCustomInfoTypesMixin

withCustomInfoTypesMixin(customInfoTypes)

"Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.withExcludeInfoTypes

withExcludeInfoTypes(excludeInfoTypes)

"When true, excludes type information of the findings."

fn spec.initProvider.inspectConfig.withIncludeQuote

withIncludeQuote(includeQuote)

"When true, a contextual quote from the data that triggered a finding is included in the response."

fn spec.initProvider.inspectConfig.withInfoTypes

withInfoTypes(infoTypes)

"Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below."

fn spec.initProvider.inspectConfig.withInfoTypesMixin

withInfoTypesMixin(infoTypes)

"Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.withLimits

withLimits(limits)

"Configuration to control the number of findings returned. Structure is documented below."

fn spec.initProvider.inspectConfig.withLimitsMixin

withLimitsMixin(limits)

"Configuration to control the number of findings returned. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.withMinLikelihood

withMinLikelihood(minLikelihood)

"Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info Default value is POSSIBLE. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY."

fn spec.initProvider.inspectConfig.withRuleSet

withRuleSet(ruleSet)

"Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below."

fn spec.initProvider.inspectConfig.withRuleSetMixin

withRuleSetMixin(ruleSet)

"Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.customInfoTypes

"Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.withDictionary

withDictionary(dictionary)

"Dictionary which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.withDictionaryMixin

withDictionaryMixin(dictionary)

"Dictionary which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.customInfoTypes.withExclusionType

withExclusionType(exclusionType)

"If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. Possible values are: EXCLUSION_TYPE_EXCLUDE."

fn spec.initProvider.inspectConfig.customInfoTypes.withInfoType

withInfoType(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.withInfoTypeMixin

withInfoTypeMixin(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.customInfoTypes.withLikelihood

withLikelihood(likelihood)

"Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Default value is VERY_LIKELY. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY."

fn spec.initProvider.inspectConfig.customInfoTypes.withRegex

withRegex(regex)

"Regular expression which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.withRegexMixin

withRegexMixin(regex)

"Regular expression which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.customInfoTypes.withStoredType

withStoredType(storedType)

"A reference to a StoredInfoType to use with scanning. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.withStoredTypeMixin

withStoredTypeMixin(storedType)

"A reference to a StoredInfoType to use with scanning. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.customInfoTypes.withSurrogateType

withSurrogateType(surrogateType)

"Message for detecting output from deidentification transformations that support reversing."

fn spec.initProvider.inspectConfig.customInfoTypes.withSurrogateTypeMixin

withSurrogateTypeMixin(surrogateType)

"Message for detecting output from deidentification transformations that support reversing."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.customInfoTypes.dictionary

"Dictionary which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.withCloudStoragePath

withCloudStoragePath(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.withCloudStoragePathMixin

withCloudStoragePathMixin(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.withWordList

withWordList(wordList)

"List of words or phrases to search for. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.withWordListMixin

withWordListMixin(wordList)

"List of words or phrases to search for. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.customInfoTypes.dictionary.cloudStoragePath

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.cloudStoragePath.withPath

withPath(path)

"A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt"

obj spec.initProvider.inspectConfig.customInfoTypes.dictionary.wordList

"List of words or phrases to search for. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.wordList.withWords

withWords(words)

"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."

fn spec.initProvider.inspectConfig.customInfoTypes.dictionary.wordList.withWordsMixin

withWordsMixin(words)

"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."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.customInfoTypes.infoType

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.infoType.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.initProvider.inspectConfig.customInfoTypes.infoType.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.initProvider.inspectConfig.customInfoTypes.regex

"Regular expression which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.regex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.initProvider.inspectConfig.customInfoTypes.regex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.customInfoTypes.regex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.initProvider.inspectConfig.customInfoTypes.storedType

"A reference to a StoredInfoType to use with scanning. Structure is documented below."

fn spec.initProvider.inspectConfig.customInfoTypes.storedType.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

obj spec.initProvider.inspectConfig.infoTypes

"Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below."

fn spec.initProvider.inspectConfig.infoTypes.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.initProvider.inspectConfig.infoTypes.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.initProvider.inspectConfig.limits

"Configuration to control the number of findings returned. Structure is documented below."

fn spec.initProvider.inspectConfig.limits.withMaxFindingsPerInfoType

withMaxFindingsPerInfoType(maxFindingsPerInfoType)

"Configuration of findings limit given for specified infoTypes. Structure is documented below."

fn spec.initProvider.inspectConfig.limits.withMaxFindingsPerInfoTypeMixin

withMaxFindingsPerInfoTypeMixin(maxFindingsPerInfoType)

"Configuration of findings limit given for specified infoTypes. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.limits.withMaxFindingsPerItem

withMaxFindingsPerItem(maxFindingsPerItem)

"Max number of findings that will be returned for each item scanned. The maximum returned is 2000."

fn spec.initProvider.inspectConfig.limits.withMaxFindingsPerRequest

withMaxFindingsPerRequest(maxFindingsPerRequest)

"Max number of findings that will be returned per request/job. The maximum returned is 2000."

obj spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType

"Configuration of findings limit given for specified infoTypes. Structure is documented below."

fn spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType.withInfoType

withInfoType(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType.withInfoTypeMixin

withInfoTypeMixin(infoType)

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType.withMaxFindings

withMaxFindings(maxFindings)

"Max findings limit for the given infoType."

obj spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType.infoType

"Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below."

fn spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType.infoType.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.initProvider.inspectConfig.limits.maxFindingsPerInfoType.infoType.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.initProvider.inspectConfig.ruleSet

"Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.withInfoTypes

withInfoTypes(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.withInfoTypesMixin

withInfoTypesMixin(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.withRules

withRules(rules)

"Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.withRulesMixin

withRulesMixin(rules)

"Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.infoTypes

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.infoTypes.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.initProvider.inspectConfig.ruleSet.infoTypes.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.initProvider.inspectConfig.ruleSet.rules

"Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.withExclusionRule

withExclusionRule(exclusionRule)

"The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.withExclusionRuleMixin

withExclusionRuleMixin(exclusionRule)

"The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.withHotwordRule

withHotwordRule(hotwordRule)

"Hotword-based detection rule. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.withHotwordRuleMixin

withHotwordRuleMixin(hotwordRule)

"Hotword-based detection rule. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule

"The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withDictionary

withDictionary(dictionary)

"Dictionary which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withDictionaryMixin

withDictionaryMixin(dictionary)

"Dictionary which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeByHotword

withExcludeByHotword(excludeByHotword)

"Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeByHotwordMixin

withExcludeByHotwordMixin(excludeByHotword)

"Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeInfoTypes

withExcludeInfoTypes(excludeInfoTypes)

"When true, excludes type information of the findings."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withExcludeInfoTypesMixin

withExcludeInfoTypesMixin(excludeInfoTypes)

"When true, excludes type information of the findings."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withMatchingType

withMatchingType(matchingType)

"How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withRegex

withRegex(regex)

"Regular expression which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.withRegexMixin

withRegexMixin(regex)

"Regular expression which defines the rule. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary

"Dictionary which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withCloudStoragePath

withCloudStoragePath(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withCloudStoragePathMixin

withCloudStoragePathMixin(cloudStoragePath)

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withWordList

withWordList(wordList)

"List of words or phrases to search for. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.withWordListMixin

withWordListMixin(wordList)

"List of words or phrases to search for. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.cloudStoragePath

"Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.cloudStoragePath.withPath

withPath(path)

"A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt"

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.wordList

"List of words or phrases to search for. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.wordList.withWords

withWords(words)

"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."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.dictionary.wordList.withWordsMixin

withWordsMixin(words)

"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."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword

"Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withHotwordRegex

withHotwordRegex(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withHotwordRegexMixin

withHotwordRegexMixin(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withProximity

withProximity(proximity)

"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. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.withProximityMixin

withProximityMixin(proximity)

"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. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.hotwordRegex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.proximity

"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. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.proximity.withWindowAfter

withWindowAfter(windowAfter)

"Number of characters after the finding to consider. Either this or window_before must be specified"

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeByHotword.proximity.withWindowBefore

withWindowBefore(windowBefore)

"Number of characters before the finding to consider. Either this or window_after must be specified"

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes

"When true, excludes type information of the findings."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.withInfoTypes

withInfoTypes(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.withInfoTypesMixin

withInfoTypesMixin(infoTypes)

"List of infoTypes this rule set is applied to. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.infoTypes

"List of infoTypes this rule set is applied to. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.infoTypes.withName

withName(name)

"Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.excludeInfoTypes.infoTypes.withVersion

withVersion(version)

"Version of the information type to use. By default, the version is set to stable"

obj spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.regex

"Regular expression which defines the rule. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.regex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.regex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.exclusionRule.regex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule

"Hotword-based detection rule. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.withHotwordRegex

withHotwordRegex(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.withHotwordRegexMixin

withHotwordRegexMixin(hotwordRegex)

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.withLikelihoodAdjustment

withLikelihoodAdjustment(likelihoodAdjustment)

"Likelihood adjustment to apply to all matching findings. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.withLikelihoodAdjustmentMixin

withLikelihoodAdjustmentMixin(likelihoodAdjustment)

"Likelihood adjustment to apply to all matching findings. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.withProximity

withProximity(proximity)

"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. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.withProximityMixin

withProximityMixin(proximity)

"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. Structure is documented below."

Note: This function appends passed data to existing values

obj spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex

"Regular expression pattern defining what qualifies as a hotword. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex.withGroupIndexes

withGroupIndexes(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex.withGroupIndexesMixin

withGroupIndexesMixin(groupIndexes)

"The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included."

Note: This function appends passed data to existing values

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.hotwordRegex.withPattern

withPattern(pattern)

"Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub."

obj spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.likelihoodAdjustment

"Likelihood adjustment to apply to all matching findings. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.likelihoodAdjustment.withFixedLikelihood

withFixedLikelihood(fixedLikelihood)

"Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.likelihoodAdjustment.withRelativeLikelihood

withRelativeLikelihood(relativeLikelihood)

"Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set."

obj spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.proximity

"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. Structure is documented below."

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.proximity.withWindowAfter

withWindowAfter(windowAfter)

"Number of characters after the finding to consider. Either this or window_before must be specified"

fn spec.initProvider.inspectConfig.ruleSet.rules.hotwordRule.proximity.withWindowBefore

withWindowBefore(windowBefore)

"Number of characters before the finding to consider. Either this or window_after must be specified"

obj spec.providerConfigRef

"ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured."

fn spec.providerConfigRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerConfigRef.policy

"Policies for referencing."

fn spec.providerConfigRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.providerConfigRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.providerRef

"ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef"

fn spec.providerRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerRef.policy

"Policies for referencing."

fn spec.providerRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.providerRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.publishConnectionDetailsTo

"PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource."

fn spec.publishConnectionDetailsTo.withName

withName(name)

"Name is the name of the connection secret."

obj spec.publishConnectionDetailsTo.configRef

"SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret."

fn spec.publishConnectionDetailsTo.configRef.withName

withName(name)

"Name of the referenced object."

obj spec.publishConnectionDetailsTo.configRef.policy

"Policies for referencing."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.publishConnectionDetailsTo.metadata

"Metadata is the metadata for connection secret."

fn spec.publishConnectionDetailsTo.metadata.withAnnotations

withAnnotations(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withLabels

withLabels(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin

withLabelsMixin(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withType

withType(type)

"Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores."

obj spec.writeConnectionSecretToRef

"WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other."

fn spec.writeConnectionSecretToRef.withName

withName(name)

"Name of the secret."

fn spec.writeConnectionSecretToRef.withNamespace

withNamespace(namespace)

"Namespace of the secret."