mirror of
https://github.com/restic/restic.git
synced 2025-10-10 14:31:56 +00:00
Update dependencies
Among others, this updates minio-go, so that the new "eu-west-3" zone for AWS is supported.
This commit is contained in:
2355
vendor/google.golang.org/api/dlp/v2beta1/dlp-api.json
generated
vendored
2355
vendor/google.golang.org/api/dlp/v2beta1/dlp-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
141
vendor/google.golang.org/api/dlp/v2beta1/dlp-gen.go
generated
vendored
141
vendor/google.golang.org/api/dlp/v2beta1/dlp-gen.go
generated
vendored
@@ -1249,6 +1249,49 @@ type GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig struct {
|
||||
// [2, 62].
|
||||
Radix int64 `json:"radix,omitempty"`
|
||||
|
||||
// SurrogateInfoType: The custom info type to annotate the surrogate
|
||||
// with.
|
||||
// This annotation will be applied to the surrogate by prefixing it
|
||||
// with
|
||||
// the name of the custom info type followed by the number of
|
||||
// characters comprising the surrogate. The following scheme defines
|
||||
// the
|
||||
// format: info_type_name(surrogate_character_count):surrogate
|
||||
//
|
||||
// For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE'
|
||||
// and
|
||||
// the surrogate is 'abc', the full replacement value
|
||||
// will be: 'MY_TOKEN_INFO_TYPE(3):abc'
|
||||
//
|
||||
// This annotation identifies the surrogate when inspecting content
|
||||
// using the
|
||||
// custom info
|
||||
// type
|
||||
// [`SurrogateType`](/dlp/docs/reference/rest/v2beta1/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 info type
|
||||
// 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 info type name carefully after
|
||||
// considering
|
||||
// what your data looks like. One way to select a name that has a high
|
||||
// chance
|
||||
// of yielding reliable detection is to include one or more unicode
|
||||
// characters
|
||||
// that are highly improbable to exist in your data.
|
||||
// For example, assuming your data is entered from a regular ASCII
|
||||
// keyboard,
|
||||
// the symbol with the hex code point 29DD might be used like
|
||||
// so:
|
||||
// ⧝MY_TOKEN_TYPE
|
||||
SurrogateInfoType *GooglePrivacyDlpV2beta1InfoType `json:"surrogateInfoType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CommonAlphabet") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -1286,6 +1329,9 @@ type GooglePrivacyDlpV2beta1CustomInfoType struct {
|
||||
// types.
|
||||
InfoType *GooglePrivacyDlpV2beta1InfoType `json:"infoType,omitempty"`
|
||||
|
||||
// SurrogateType: Surrogate info type.
|
||||
SurrogateType *GooglePrivacyDlpV2beta1SurrogateType `json:"surrogateType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Dictionary") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -1770,16 +1816,17 @@ func (s *GooglePrivacyDlpV2beta1FileSet) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GooglePrivacyDlpV2beta1Finding: Container structure describing a
|
||||
// single finding within a string or image.
|
||||
// GooglePrivacyDlpV2beta1Finding: Represents a piece of potentially
|
||||
// sensitive content.
|
||||
type GooglePrivacyDlpV2beta1Finding struct {
|
||||
// CreateTime: Timestamp when finding was detected.
|
||||
CreateTime string `json:"createTime,omitempty"`
|
||||
|
||||
// InfoType: The specific type of info the string might be.
|
||||
// InfoType: The type of content that might have been found.
|
||||
// Provided if requested by the `InspectConfig`.
|
||||
InfoType *GooglePrivacyDlpV2beta1InfoType `json:"infoType,omitempty"`
|
||||
|
||||
// Likelihood: Estimate of how likely it is that the info_type is
|
||||
// Likelihood: Estimate of how likely it is that the `info_type` is
|
||||
// correct.
|
||||
//
|
||||
// Possible values:
|
||||
@@ -1792,10 +1839,13 @@ type GooglePrivacyDlpV2beta1Finding struct {
|
||||
// "VERY_LIKELY" - Many matching elements.
|
||||
Likelihood string `json:"likelihood,omitempty"`
|
||||
|
||||
// Location: Location of the info found.
|
||||
// Location: Where the content was found.
|
||||
Location *GooglePrivacyDlpV2beta1Location `json:"location,omitempty"`
|
||||
|
||||
// Quote: The specific string that may be potentially sensitive info.
|
||||
// Quote: 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`.
|
||||
Quote string `json:"quote,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CreateTime") to
|
||||
@@ -3184,27 +3234,44 @@ func (s *GooglePrivacyDlpV2beta1ListRootCategoriesResponse) MarshalJSON() ([]byt
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GooglePrivacyDlpV2beta1Location: Specifies the location of a finding
|
||||
// within its source item.
|
||||
// GooglePrivacyDlpV2beta1Location: Specifies the location of the
|
||||
// finding.
|
||||
type GooglePrivacyDlpV2beta1Location struct {
|
||||
// ByteRange: Zero-based byte offsets within a content item.
|
||||
// ByteRange: 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 *GooglePrivacyDlpV2beta1Range `json:"byteRange,omitempty"`
|
||||
|
||||
// CodepointRange: Character offsets within a content item, included
|
||||
// when content type
|
||||
// is a text. Default charset assumed to be UTF-8.
|
||||
// CodepointRange: Unicode character offsets delimiting the
|
||||
// finding.
|
||||
// These are relative to the finding's containing element.
|
||||
// Provided when the content is text.
|
||||
CodepointRange *GooglePrivacyDlpV2beta1Range `json:"codepointRange,omitempty"`
|
||||
|
||||
// FieldId: Field id of the field containing the finding.
|
||||
// FieldId: 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 *GooglePrivacyDlpV2beta1FieldId `json:"fieldId,omitempty"`
|
||||
|
||||
// ImageBoxes: Location within an image's pixels.
|
||||
// ImageBoxes: The area within the image that contained the
|
||||
// finding.
|
||||
// Provided when the content is an image.
|
||||
ImageBoxes []*GooglePrivacyDlpV2beta1ImageLocation `json:"imageBoxes,omitempty"`
|
||||
|
||||
// RecordKey: Key of the finding.
|
||||
// RecordKey: 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 *GooglePrivacyDlpV2beta1RecordKey `json:"recordKey,omitempty"`
|
||||
|
||||
// TableLocation: Location within a `ContentItem.Table`.
|
||||
// TableLocation: 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 *GooglePrivacyDlpV2beta1TableLocation `json:"tableLocation,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ByteRange") to
|
||||
@@ -4162,6 +4229,23 @@ func (s *GooglePrivacyDlpV2beta1SummaryResult) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GooglePrivacyDlpV2beta1SurrogateType: Message for detecting output
|
||||
// from deidentification transformations
|
||||
// such
|
||||
// as
|
||||
// [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/cont
|
||||
// ent/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`.
|
||||
type GooglePrivacyDlpV2beta1SurrogateType struct {
|
||||
}
|
||||
|
||||
// GooglePrivacyDlpV2beta1Table: Structured content to inspect. Up to
|
||||
// 50,000 `Value`s per request allowed.
|
||||
type GooglePrivacyDlpV2beta1Table struct {
|
||||
@@ -4193,7 +4277,7 @@ func (s *GooglePrivacyDlpV2beta1Table) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
// GooglePrivacyDlpV2beta1TableLocation: Location of a finding within a
|
||||
// `ContentItem.Table`.
|
||||
// table.
|
||||
type GooglePrivacyDlpV2beta1TableLocation struct {
|
||||
// RowIndex: The zero-based index of the row where the finding is
|
||||
// located.
|
||||
@@ -4309,13 +4393,17 @@ func (s *GooglePrivacyDlpV2beta1TimePartConfig) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// GooglePrivacyDlpV2beta1TransformationSummary: Summary of a single
|
||||
// tranformation.
|
||||
// Only one of 'transformation', 'field_transformation', or
|
||||
// 'record_suppress'
|
||||
// will be set.
|
||||
type GooglePrivacyDlpV2beta1TransformationSummary struct {
|
||||
// Field: Set if the transformation was limited to a specific FieldId.
|
||||
Field *GooglePrivacyDlpV2beta1FieldId `json:"field,omitempty"`
|
||||
|
||||
// FieldTransformations: The field transformation that was applied. This
|
||||
// list will contain
|
||||
// multiple only in the case of errors.
|
||||
// FieldTransformations: 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 []*GooglePrivacyDlpV2beta1FieldTransformation `json:"fieldTransformations,omitempty"`
|
||||
|
||||
// InfoType: Set if the transformation was limited to a specific
|
||||
@@ -4330,6 +4418,10 @@ type GooglePrivacyDlpV2beta1TransformationSummary struct {
|
||||
// Transformation: The specific transformation these stats apply to.
|
||||
Transformation *GooglePrivacyDlpV2beta1PrimitiveTransformation `json:"transformation,omitempty"`
|
||||
|
||||
// TransformedBytes: Total size in bytes that were transformed in some
|
||||
// way.
|
||||
TransformedBytes int64 `json:"transformedBytes,omitempty,string"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Field") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -4423,6 +4515,15 @@ func (s *GooglePrivacyDlpV2beta1UnwrappedCryptoKey) MarshalJSON() ([]byte, error
|
||||
|
||||
// GooglePrivacyDlpV2beta1Value: 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.
|
||||
type GooglePrivacyDlpV2beta1Value struct {
|
||||
BooleanValue bool `json:"booleanValue,omitempty"`
|
||||
|
||||
|
Reference in New Issue
Block a user