Skip to content

Commit

Permalink
feat: Automated regeneration of dlp v2 client (googleapis#16572)
Browse files Browse the repository at this point in the history
Auto-created at 2023-10-29 10:56:11 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 29, 2023
1 parent f2e92dd commit be31744
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 165 deletions.
4 changes: 2 additions & 2 deletions generated/google-apis-dlp_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release history for google-apis-dlp_v2

### v0.53.0 (2023-10-22)
### v0.53.0 (2023-10-29)

* Regenerated from discovery document revision 20231015
* Regenerated from discovery document revision 20231022

### v0.52.0 (2023-10-15)

Expand Down
78 changes: 40 additions & 38 deletions generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def update!(**args)
end
end

# Target used to match against for Discovery with BigQuery tables
# Target used to match against for discovery with BigQuery tables
class GooglePrivacyDlpV2BigQueryDiscoveryTarget
include Google::Apis::Core::Hashable

Expand All @@ -308,22 +308,23 @@ class GooglePrivacyDlpV2BigQueryDiscoveryTarget
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryGenerationCadence]
attr_accessor :cadence

# Requirements that must be true before a table is scanned in Discovery for the
# Requirements that must be true before a table is scanned in discovery for the
# first time. There is an AND relationship between the top-level attributes.
# Additionally, minimum conditions with an OR relationship that must be met
# before Cloud DLP scans a table can be set (like a minimum row count or a
# minimum table age).
# Corresponds to the JSON property `conditions`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryConditions]
attr_accessor :conditions

# Do nothing.
# Do not profile the tables.
# Corresponds to the JSON property `disabled`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled]
attr_accessor :disabled

# Determines what tables will have profiles generated within an organization or
# project. Includes the ability to filter by regular expression patterns on
# project ID, dataset ID, and table ID. Also lets you set minimum conditions
# that must be met before Cloud DLP scans a table (like a minimum row count or a
# minimum table age).
# project ID, dataset ID, and table ID.
# Corresponds to the JSON property `filter`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryFilter]
attr_accessor :filter
Expand Down Expand Up @@ -579,11 +580,11 @@ def update!(**args)
end
end

# The types of bigquery tables supported by Cloud DLP.
# The types of BigQuery tables supported by Cloud DLP.
class GooglePrivacyDlpV2BigQueryTableTypes
include Google::Apis::Core::Hashable

# A set of bigquery table types.
# A set of BigQuery table types.
# Corresponds to the JSON property `types`
# @return [Array<String>]
attr_accessor :types
Expand Down Expand Up @@ -1515,16 +1516,16 @@ def update!(**args)
class GooglePrivacyDlpV2CreateDiscoveryConfigRequest
include Google::Apis::Core::Hashable

# The config id can contain uppercase and lowercase letters, numbers, and
# The config ID can contain uppercase and lowercase letters, numbers, and
# hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The
# maximum length is 100 characters. Can be empty to allow the system to generate
# one.
# Corresponds to the JSON property `configId`
# @return [String]
attr_accessor :config_id

# Configuration for Discovery to scan resources for profile generation. Only one
# Discovery configuration may exist per organization, folder, or project. The
# Configuration for discovery to scan resources for profile generation. Only one
# discovery configuration may exist per organization, folder, or project. The
# generated data profiles are retained according to the [data retention policy] (
# https://cloud.google.com/dlp/docs/data-profiles#retention).
# Corresponds to the JSON property `discoveryConfig`
Expand Down Expand Up @@ -2065,7 +2066,7 @@ class GooglePrivacyDlpV2DataProfileJobConfig
# be copied to that region and used instead. If no global or region-specific
# template is provided for a region with data, that region's data will not be
# scanned. For more information, see https://cloud.google.com/dlp/docs/data-
# profiles#data_residency.
# profiles#data-residency.
# Corresponds to the JSON property `inspectTemplates`
# @return [Array<String>]
attr_accessor :inspect_templates
Expand Down Expand Up @@ -2826,7 +2827,7 @@ def update!(**args)
end
end

# Do nothing.
# Do not profile the tables.
class GooglePrivacyDlpV2Disabled
include Google::Apis::Core::Hashable

Expand All @@ -2839,8 +2840,11 @@ def update!(**args)
end
end

# Requirements that must be true before a table is scanned in Discovery for the
# Requirements that must be true before a table is scanned in discovery for the
# first time. There is an AND relationship between the top-level attributes.
# Additionally, minimum conditions with an OR relationship that must be met
# before Cloud DLP scans a table can be set (like a minimum row count or a
# minimum table age).
class GooglePrivacyDlpV2DiscoveryBigQueryConditions
include Google::Apis::Core::Hashable

Expand All @@ -2856,12 +2860,12 @@ class GooglePrivacyDlpV2DiscoveryBigQueryConditions
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions]
attr_accessor :or_conditions

# Restrict Discovery to categories of table types.
# Restrict discovery to categories of table types.
# Corresponds to the JSON property `typeCollection`
# @return [String]
attr_accessor :type_collection

# The types of bigquery tables supported by Cloud DLP.
# The types of BigQuery tables supported by Cloud DLP.
# Corresponds to the JSON property `types`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableTypes]
attr_accessor :types
Expand All @@ -2881,9 +2885,7 @@ def update!(**args)

# Determines what tables will have profiles generated within an organization or
# project. Includes the ability to filter by regular expression patterns on
# project ID, dataset ID, and table ID. Also lets you set minimum conditions
# that must be met before Cloud DLP scans a table (like a minimum row count or a
# minimum table age).
# project ID, dataset ID, and table ID.
class GooglePrivacyDlpV2DiscoveryBigQueryFilter
include Google::Apis::Core::Hashable

Expand All @@ -2910,8 +2912,8 @@ def update!(**args)
end
end

# Configuration for Discovery to scan resources for profile generation. Only one
# Discovery configuration may exist per organization, folder, or project. The
# Configuration for discovery to scan resources for profile generation. Only one
# discovery configuration may exist per organization, folder, or project. The
# generated data profiles are retained according to the [data retention policy] (
# https://cloud.google.com/dlp/docs/data-profiles#retention).
class GooglePrivacyDlpV2DiscoveryConfig
Expand Down Expand Up @@ -2948,8 +2950,8 @@ class GooglePrivacyDlpV2DiscoveryConfig
# template is specified, but a "global" template is specified, it will be copied
# to that region and used instead. If no global or region-specific template is
# provided for a region with data, that region's data will not be scanned. For
# more information, see https://cloud.google.com/dlp/docs/data-profiles#
# data_residency.
# more information, see https://cloud.google.com/dlp/docs/data-profiles#data-
# residency.
# Corresponds to the JSON property `inspectTemplates`
# @return [Array<String>]
attr_accessor :inspect_templates
Expand Down Expand Up @@ -3060,7 +3062,7 @@ def update!(**args)
end
end

# The location to begin a Discovery scan. Denotes an organization ID or folder
# The location to begin a discovery scan. Denotes an organization ID or folder
# ID within an organization.
class GooglePrivacyDlpV2DiscoveryStartingLocation
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -3117,7 +3119,7 @@ def update!(**args)
class GooglePrivacyDlpV2DiscoveryTarget
include Google::Apis::Core::Hashable

# Target used to match against for Discovery with BigQuery tables
# Target used to match against for discovery with BigQuery tables
# Corresponds to the JSON property `bigQueryTarget`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryDiscoveryTarget]
attr_accessor :big_query_target
Expand Down Expand Up @@ -5458,8 +5460,8 @@ class GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate>]
attr_accessor :deidentify_templates

# If the next page is available then the next page token to be used in following
# ListDeidentifyTemplates request.
# If the next page is available then the next page token to be used in the
# following ListDeidentifyTemplates request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand All @@ -5484,8 +5486,8 @@ class GooglePrivacyDlpV2ListDiscoveryConfigsResponse
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig>]
attr_accessor :discovery_configs

# If the next page is available then the next page token to be used in following
# ListDiscoveryConfigs request.
# If the next page is available then the next page token to be used in the
# following ListDiscoveryConfigs request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand Down Expand Up @@ -5554,8 +5556,8 @@ class GooglePrivacyDlpV2ListInspectTemplatesResponse
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate>]
attr_accessor :inspect_templates

# If the next page is available then the next page token to be used in following
# ListInspectTemplates request.
# If the next page is available then the next page token to be used in the
# following ListInspectTemplates request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand All @@ -5580,8 +5582,8 @@ class GooglePrivacyDlpV2ListJobTriggersResponse
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger>]
attr_accessor :job_triggers

# If the next page is available then the next page token to be used in following
# ListJobTriggers request.
# If the next page is available then the next page token to be used in the
# following ListJobTriggers request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand All @@ -5601,8 +5603,8 @@ def update!(**args)
class GooglePrivacyDlpV2ListStoredInfoTypesResponse
include Google::Apis::Core::Hashable

# If the next page is available then the next page token to be used in following
# ListStoredInfoTypes request.
# If the next page is available then the next page token to be used in the
# following ListStoredInfoTypes request.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand Down Expand Up @@ -5792,7 +5794,7 @@ def update!(**args)
class GooglePrivacyDlpV2OrgConfig
include Google::Apis::Core::Hashable

# The location to begin a Discovery scan. Denotes an organization ID or folder
# The location to begin a discovery scan. Denotes an organization ID or folder
# ID within an organization.
# Corresponds to the JSON property `location`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation]
Expand Down Expand Up @@ -8380,8 +8382,8 @@ def update!(**args)
class GooglePrivacyDlpV2UpdateDiscoveryConfigRequest
include Google::Apis::Core::Hashable

# Configuration for Discovery to scan resources for profile generation. Only one
# Discovery configuration may exist per organization, folder, or project. The
# Configuration for discovery to scan resources for profile generation. Only one
# discovery configuration may exist per organization, folder, or project. The
# generated data profiles are retained according to the [data retention policy] (
# https://cloud.google.com/dlp/docs/data-profiles#retention).
# Corresponds to the JSON property `discoveryConfig`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module DlpV2
GENERATOR_VERSION = "0.12.0"

# Revision of the discovery document this client was generated from
REVISION = "20231015"
REVISION = "20231022"
end
end
end
Loading

0 comments on commit be31744

Please sign in to comment.