Autogenerated update (2020-03-05)
Delete: - toolresults_v1 Update: - bigqueryreservation_v1beta1 - classroom_v1 - dlp_v2 - healthcare_v1beta1 - osconfig_v1beta - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - testing_v1
This commit is contained in:
1 parent
6f2a3577d1
commit
843df90d42
30 files changed
+4768
-1225
No files matched your search
@@ -968,6 +968,80 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a container that may contain DLP findings.
|
||||
# Examples of a container include a file, table, or database record.
|
||||
class GooglePrivacyDlpV2Container
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A string representation of the full container name.
|
||||
# Examples:
|
||||
# - BigQuery: 'Project:DataSetId.TableId'
|
||||
# - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
|
||||
# Corresponds to the JSON property `fullPath`
|
||||
# @return [String]
|
||||
attr_accessor :full_path
|
||||
|
||||
# Project where the finding was found.
|
||||
# Can be different from the project that owns the finding.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# The rest of the path after the root.
|
||||
# Examples:
|
||||
# - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
|
||||
# `table_id`
|
||||
# - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
|
||||
# path is `folder/filename.txt`
|
||||
# Corresponds to the JSON property `relativePath`
|
||||
# @return [String]
|
||||
attr_accessor :relative_path
|
||||
|
||||
# The root of the container.
|
||||
# Examples:
|
||||
# - For BigQuery table `project_id:dataset_id.table_id`, the root is
|
||||
# `dataset_id`
|
||||
# - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
|
||||
# is `gs://bucket`
|
||||
# Corresponds to the JSON property `rootPath`
|
||||
# @return [String]
|
||||
attr_accessor :root_path
|
||||
|
||||
# Container type, for example BigQuery or Google Cloud Storage.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# Findings container modification timestamp, if applicable.
|
||||
# For Google Cloud Storage contains last file modification timestamp.
|
||||
# For BigQuery table contains last_modified_time property.
|
||||
# For Datastore - not populated.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
# Findings container version, if available
|
||||
# ("generation" for Google Cloud Storage).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [String]
|
||||
attr_accessor :version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@full_path = args[:full_path] if args.key?(:full_path)
|
||||
@project_id = args[:project_id] if args.key?(:project_id)
|
||||
@relative_path = args[:relative_path] if args.key?(:relative_path)
|
||||
@root_path = args[:root_path] if args.key?(:root_path)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
end
|
||||
|
||||
# Container structure for the content to inspect.
|
||||
class GooglePrivacyDlpV2ContentItem
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -2471,6 +2545,18 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :job_name
|
||||
|
||||
# The labels associated with this `InspectFinding`.
|
||||
# Label keys must be between 1 and 63 characters long and must conform
|
||||
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
||||
# Label values must be between 0 and 63 characters long and must conform
|
||||
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
|
||||
# No more than 10 labels can be associated with a given finding.
|
||||
# Example: <code>"environment" : "production"</code>
|
||||
# Example: <code>"pipeline" : "etl"</code>
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Confidence of how likely it is that the `info_type` is correct.
|
||||
# Corresponds to the JSON property `likelihood`
|
||||
# @return [String]
|
||||
@@ -2521,6 +2607,7 @@ module Google
|
||||
@info_type = args[:info_type] if args.key?(:info_type)
|
||||
@job_create_time = args[:job_create_time] if args.key?(:job_create_time)
|
||||
@job_name = args[:job_name] if args.key?(:job_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@@ -2567,6 +2654,22 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The request message for finishing a DLP hybrid job.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2FinishDlpJobRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Buckets values based on fixed size ranges. The
|
||||
# Bucketing transformation can provide all of this functionality,
|
||||
# but requires more configuration. This message is provided as a convenience to
|
||||
@@ -2656,6 +2759,267 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# An individual hybrid item to inspect. Will be stored temporarily during
|
||||
# processing.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridContentItem
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Populate to associate additional data with each finding.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `findingDetails`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails]
|
||||
attr_accessor :finding_details
|
||||
|
||||
# Container structure for the content to inspect.
|
||||
# Corresponds to the JSON property `item`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
|
||||
attr_accessor :item
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@finding_details = args[:finding_details] if args.key?(:finding_details)
|
||||
@item = args[:item] if args.key?(:item)
|
||||
end
|
||||
end
|
||||
|
||||
# Populate to associate additional data with each finding.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridFindingDetails
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a container that may contain DLP findings.
|
||||
# Examples of a container include a file, table, or database record.
|
||||
# Corresponds to the JSON property `containerDetails`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]
|
||||
attr_accessor :container_details
|
||||
|
||||
# Offset in bytes of the line, from the beginning of the file, where the
|
||||
# finding is located. Populate if the item being scanned is only part of a
|
||||
# bigger item, such as a shard of a file and you want to track the absolute
|
||||
# position of the finding.
|
||||
# Corresponds to the JSON property `fileOffset`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :file_offset
|
||||
|
||||
# Labels to represent user provided metadata about the data being inspected.
|
||||
# If configured by the job, some key values may be required.
|
||||
# The labels associated with `Finding`'s produced by hybrid
|
||||
# inspection.
|
||||
# Label keys must be between 1 and 63 characters long and must conform
|
||||
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
||||
# Label values must be between 0 and 63 characters long and must conform
|
||||
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
|
||||
# No more than 10 labels can be associated with a given finding.
|
||||
# Example: <code>"environment" : "production"</code>
|
||||
# Example: <code>"pipeline" : "etl"</code>
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Offset of the row for tables. Populate if the row(s) being scanned are
|
||||
# part of a bigger dataset and you want to keep track of their absolute
|
||||
# position.
|
||||
# Corresponds to the JSON property `rowOffset`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :row_offset
|
||||
|
||||
# Instructions regarding the table content being inspected.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `tableOptions`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions]
|
||||
attr_accessor :table_options
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@container_details = args[:container_details] if args.key?(:container_details)
|
||||
@file_offset = args[:file_offset] if args.key?(:file_offset)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@row_offset = args[:row_offset] if args.key?(:row_offset)
|
||||
@table_options = args[:table_options] if args.key?(:table_options)
|
||||
end
|
||||
end
|
||||
|
||||
# Request to search for potentially sensitive info in a custom location.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridInspectDlpJobRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An individual hybrid item to inspect. Will be stored temporarily during
|
||||
# processing.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `hybridItem`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem]
|
||||
attr_accessor :hybrid_item
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@hybrid_item = args[:hybrid_item] if args.key?(:hybrid_item)
|
||||
end
|
||||
end
|
||||
|
||||
# Request to search for potentially sensitive info in a custom location.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridInspectJobTriggerRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An individual hybrid item to inspect. Will be stored temporarily during
|
||||
# processing.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `hybridItem`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem]
|
||||
attr_accessor :hybrid_item
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@hybrid_item = args[:hybrid_item] if args.key?(:hybrid_item)
|
||||
end
|
||||
end
|
||||
|
||||
# Quota exceeded errors will be thrown once quota has been met.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridInspectResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Statistics related to processing hybrid inspect requests
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridInspectStatistics
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The number of hybrid inspection requests aborted because the job ran
|
||||
# out of quota or was ended before they could be processed.
|
||||
# Corresponds to the JSON property `hybridRequestsAborted`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :hybrid_requests_aborted
|
||||
|
||||
# The number of hybrid requests currently being processed. Only populated
|
||||
# when called via method `getDlpJob`.
|
||||
# A burst of traffic may cause hybrid inspect requests to be enqueued.
|
||||
# Processing will take place as quickly as possible, but resource limitations
|
||||
# may impact how long a request is enqueued for.
|
||||
# Corresponds to the JSON property `hybridRequestsPending`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :hybrid_requests_pending
|
||||
|
||||
# The number of hybrid inspection requests processed within this job.
|
||||
# Corresponds to the JSON property `hybridRequestsProcessed`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :hybrid_requests_processed
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@hybrid_requests_aborted = args[:hybrid_requests_aborted] if args.key?(:hybrid_requests_aborted)
|
||||
@hybrid_requests_pending = args[:hybrid_requests_pending] if args.key?(:hybrid_requests_pending)
|
||||
@hybrid_requests_processed = args[:hybrid_requests_processed] if args.key?(:hybrid_requests_processed)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration to control jobs where the content being inspected is outside
|
||||
# of Google Cloud Platform.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2HybridOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A short description of where the data is coming from. Will be stored once
|
||||
# in the job. 256 max length.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# To organize findings, these labels will be added to each finding.
|
||||
# Label keys must be between 1 and 63 characters long and must conform
|
||||
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
||||
# Label values must be between 0 and 63 characters long and must conform
|
||||
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
|
||||
# No more than 10 labels can be associated with a given finding.
|
||||
# Example: <code>"environment" : "production"</code>
|
||||
# Example: <code>"pipeline" : "etl"</code>
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# These are labels that each inspection request must include within their
|
||||
# 'finding_labels' map. Request may contain others, but any missing one of
|
||||
# these will be rejected.
|
||||
# Label keys must be between 1 and 63 characters long and must conform
|
||||
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
||||
# No more than 10 keys can be required.
|
||||
# Corresponds to the JSON property `requiredFindingLabelKeys`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :required_finding_label_keys
|
||||
|
||||
# Instructions regarding the table content being inspected.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `tableOptions`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions]
|
||||
attr_accessor :table_options
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@required_finding_label_keys = args[:required_finding_label_keys] if args.key?(:required_finding_label_keys)
|
||||
@table_options = args[:table_options] if args.key?(:table_options)
|
||||
end
|
||||
end
|
||||
|
||||
# Location of the finding within an image.
|
||||
class GooglePrivacyDlpV2ImageLocation
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -4090,6 +4454,23 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Job trigger option for hybrid jobs. Jobs must be manually created
|
||||
# and finished.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2Manual
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Compute numerical stats over an individual column, including
|
||||
# min, max, and quantiles.
|
||||
class GooglePrivacyDlpV2NumericalStatsConfig
|
||||
@@ -5113,6 +5494,14 @@ module Google
|
||||
class GooglePrivacyDlpV2Result
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Statistics related to processing hybrid inspect requests
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `hybridStats`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics]
|
||||
attr_accessor :hybrid_stats
|
||||
|
||||
# Statistics of how many instances of each info type were found during
|
||||
# inspect job.
|
||||
# Corresponds to the JSON property `infoTypeStats`
|
||||
@@ -5135,6 +5524,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@hybrid_stats = args[:hybrid_stats] if args.key?(:hybrid_stats)
|
||||
@info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats)
|
||||
@processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes)
|
||||
@total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes)
|
||||
@@ -5304,6 +5694,15 @@ module Google
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions]
|
||||
attr_accessor :datastore_options
|
||||
|
||||
# Configuration to control jobs where the content being inspected is outside
|
||||
# of Google Cloud Platform.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `hybridOptions`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions]
|
||||
attr_accessor :hybrid_options
|
||||
|
||||
# Configuration of the timespan of the items to include in scanning.
|
||||
# Currently only supported when inspecting Google Cloud Storage and BigQuery.
|
||||
# Corresponds to the JSON property `timespanConfig`
|
||||
@@ -5319,6 +5718,7 @@ module Google
|
||||
@big_query_options = args[:big_query_options] if args.key?(:big_query_options)
|
||||
@cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options)
|
||||
@datastore_options = args[:datastore_options] if args.key?(:datastore_options)
|
||||
@hybrid_options = args[:hybrid_options] if args.key?(:hybrid_options)
|
||||
@timespan_config = args[:timespan_config] if args.key?(:timespan_config)
|
||||
end
|
||||
end
|
||||
@@ -5368,6 +5768,32 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Custom information type based on a dictionary of words or phrases. This can
|
||||
# be used to match sensitive information specific to the data, such as a list
|
||||
# of employee IDs or job titles.
|
||||
# Dictionary words are case-insensitive and all characters other than letters
|
||||
# and digits in the unicode [Basic Multilingual
|
||||
# Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
|
||||
# Basic_Multilingual_Plane)
|
||||
# will be replaced with whitespace when scanning for matches, so the
|
||||
# dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
|
||||
# "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
|
||||
# surrounding any match must be of a different type than the adjacent
|
||||
# characters within the word, so letters must be next to non-letters and
|
||||
# digits next to non-digits. For example, the dictionary word "jen" will
|
||||
# match the first three letters of the text "jen123" but will return no
|
||||
# matches for "jennifer".
|
||||
# Dictionary words containing a large number of characters that are not
|
||||
# letters or digits may result in unexpected findings because such characters
|
||||
# are treated as whitespace. The
|
||||
# [limits](https://cloud.google.com/dlp/limits) page contains details about
|
||||
# the size limits of dictionaries. For dictionaries that do not fit within
|
||||
# these constraints, consider using `LargeCustomDictionaryConfig` in the
|
||||
# `StoredInfoType` API.
|
||||
# Corresponds to the JSON property `dictionary`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
||||
attr_accessor :dictionary
|
||||
|
||||
# Display name of the StoredInfoType (max 256 characters).
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
@@ -5383,6 +5809,11 @@ module Google
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig]
|
||||
attr_accessor :large_custom_dictionary
|
||||
|
||||
# Message defining a custom regular expression.
|
||||
# Corresponds to the JSON property `regex`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
|
||||
attr_accessor :regex
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -5390,8 +5821,10 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@large_custom_dictionary = args[:large_custom_dictionary] if args.key?(:large_custom_dictionary)
|
||||
@regex = args[:regex] if args.key?(:regex)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -5600,6 +6033,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Instructions regarding the table content being inspected.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
class GooglePrivacyDlpV2TableOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The columns that are the primary keys for table objects included in
|
||||
# ContentItem. A copy of this cell's value will stored alongside alongside
|
||||
# each finding so that the finding can be traced to the specific row it came
|
||||
# from. No more than 3 may be provided.
|
||||
# Corresponds to the JSON property `identifyingFields`
|
||||
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
|
||||
attr_accessor :identifying_fields
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
|
||||
end
|
||||
end
|
||||
|
||||
# A column with a semantic tag attached.
|
||||
class GooglePrivacyDlpV2TaggedField
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -5890,6 +6348,15 @@ module Google
|
||||
class GooglePrivacyDlpV2Trigger
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Job trigger option for hybrid jobs. Jobs must be manually created
|
||||
# and finished.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# Corresponds to the JSON property `manual`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Manual]
|
||||
attr_accessor :manual
|
||||
|
||||
# Schedule for triggeredJobs.
|
||||
# Corresponds to the JSON property `schedule`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule]
|
||||
@@ -5901,6 +6368,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@manual = args[:manual] if args.key?(:manual)
|
||||
@schedule = args[:schedule] if args.key?(:schedule)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -172,6 +172,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Container
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ContentItem
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -400,6 +406,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2FinishDlpJobRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2FixedSizeBucketingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -412,6 +424,48 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridContentItem
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridFindingDetails
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectDlpJobRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectJobTriggerRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectStatistics
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ImageLocation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -682,6 +736,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Manual
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2NumericalStatsConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -964,6 +1024,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2TableOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2TaggedField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1352,6 +1418,19 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Container
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :full_path, as: 'fullPath'
|
||||
property :project_id, as: 'projectId'
|
||||
property :relative_path, as: 'relativePath'
|
||||
property :root_path, as: 'rootPath'
|
||||
property :type, as: 'type'
|
||||
property :update_time, as: 'updateTime'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ContentItem
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1759,6 +1838,7 @@ module Google
|
||||
|
||||
property :job_create_time, as: 'jobCreateTime'
|
||||
property :job_name, as: 'jobName'
|
||||
hash :labels, as: 'labels'
|
||||
property :likelihood, as: 'likelihood'
|
||||
property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Location, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Location::Representation
|
||||
|
||||
@@ -1781,6 +1861,12 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2FinishDlpJobRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2FixedSizeBucketingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1804,6 +1890,71 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridContentItem
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :finding_details, as: 'findingDetails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails::Representation
|
||||
|
||||
property :item, as: 'item', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridFindingDetails
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :container_details, as: 'containerDetails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Container, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Container::Representation
|
||||
|
||||
property :file_offset, :numeric_string => true, as: 'fileOffset'
|
||||
hash :labels, as: 'labels'
|
||||
property :row_offset, :numeric_string => true, as: 'rowOffset'
|
||||
property :table_options, as: 'tableOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectDlpJobRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :hybrid_item, as: 'hybridItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectJobTriggerRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :hybrid_item, as: 'hybridItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridInspectStatistics
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :hybrid_requests_aborted, :numeric_string => true, as: 'hybridRequestsAborted'
|
||||
property :hybrid_requests_pending, :numeric_string => true, as: 'hybridRequestsPending'
|
||||
property :hybrid_requests_processed, :numeric_string => true, as: 'hybridRequestsProcessed'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2HybridOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
hash :labels, as: 'labels'
|
||||
collection :required_finding_label_keys, as: 'requiredFindingLabelKeys'
|
||||
property :table_options, as: 'tableOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ImageLocation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2248,6 +2399,12 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Manual
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2NumericalStatsConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2559,6 +2716,8 @@ module Google
|
||||
class GooglePrivacyDlpV2Result
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :hybrid_stats, as: 'hybridStats', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics::Representation
|
||||
|
||||
collection :info_type_stats, as: 'infoTypeStats', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeStats, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeStats::Representation
|
||||
|
||||
property :processed_bytes, :numeric_string => true, as: 'processedBytes'
|
||||
@@ -2622,6 +2781,8 @@ module Google
|
||||
|
||||
property :datastore_options, as: 'datastoreOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions::Representation
|
||||
|
||||
property :hybrid_options, as: 'hybridOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions::Representation
|
||||
|
||||
property :timespan_config, as: 'timespanConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig::Representation
|
||||
|
||||
end
|
||||
@@ -2642,9 +2803,13 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary::Representation
|
||||
|
||||
property :display_name, as: 'displayName'
|
||||
property :large_custom_dictionary, as: 'largeCustomDictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig::Representation
|
||||
|
||||
property :regex, as: 'regex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2710,6 +2875,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2TableOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2TaggedField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2802,6 +2975,8 @@ module Google
|
||||
class GooglePrivacyDlpV2Trigger
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :manual, as: 'manual', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Manual, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Manual::Representation
|
||||
|
||||
property :schedule, as: 'schedule', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule::Representation
|
||||
|
||||
end
|
||||
|
||||
@@ -2811,6 +2811,43 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Finish a running hybrid DlpJob. Triggers the finalization steps and running
|
||||
# of any enabled actions that have not yet run.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# @param [String] name
|
||||
# Required. The name of the DlpJob resource to be cancelled.
|
||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2FinishDlpJobRequest] google_privacy_dlp_v2_finish_dlp_job_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def finish_project_location_dlp_job(name, google_privacy_dlp_v2_finish_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2/{+name}:finish', options)
|
||||
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2FinishDlpJobRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2_finish_dlp_job_request_object
|
||||
command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running DlpJob.
|
||||
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
||||
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
||||
@@ -2843,6 +2880,45 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Inspect hybrid content and store findings to a job.
|
||||
# To review the findings inspect the job. Inspection will occur
|
||||
# asynchronously.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the job to execute a hybrid inspect on, for example
|
||||
# `projects/dlp-test-project/dlpJob/53234423`.
|
||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectDlpJobRequest] google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def hybrid_project_location_dlp_job_inspect(name, google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2/{+name}:hybridInspect', options)
|
||||
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectDlpJobRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object
|
||||
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists DlpJobs that match the specified filter in the request.
|
||||
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
||||
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
||||
@@ -3306,6 +3382,46 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Inspect hybrid content and store findings to a trigger. The inspection
|
||||
# will be processed asynchronously. To review the findings monitor the
|
||||
# jobs within the trigger.
|
||||
# Early access feature is in a pre-release state and might change or have
|
||||
# limited support. For more information, see
|
||||
# https://cloud.google.com/products#product-launch-stages.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the trigger to execute a hybrid inspect on, for
|
||||
# example
|
||||
# `projects/dlp-test-project/jobTriggers/53234423`.
|
||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectJobTriggerRequest] google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def hybrid_project_location_job_trigger_inspect(name, google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2/{+name}:hybridInspect', options)
|
||||
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectJobTriggerRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object
|
||||
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists job triggers.
|
||||
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
||||
# @param [String] parent
|
||||
|
||||
Reference in new issue
Block a user