Autogenerated update (2019-01-31)
Update: - cloudasset_v1beta1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - dlp_v2 - iam_v1 - storagetransfer_v1 - youtube_v3
This commit is contained in:
1 parent
9b43faa06e
commit
b2eff01c7f
22 files changed
+4929
-30
No files matched your search
@@ -27,6 +27,12 @@ module Google
|
||||
class GooglePrivacyDlpV2Action
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Enable email notification to project owners and editors on jobs's
|
||||
# completion/failure.
|
||||
# Corresponds to the JSON property `jobNotificationEmails`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails]
|
||||
attr_accessor :job_notification_emails
|
||||
|
||||
# Publish the results of a DlpJob to a pub sub channel.
|
||||
# Compatible with: Inspect, Risk
|
||||
# Corresponds to the JSON property `pubSub`
|
||||
@@ -61,6 +67,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@job_notification_emails = args[:job_notification_emails] if args.key?(:job_notification_emails)
|
||||
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
|
||||
@publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc)
|
||||
@save_findings = args[:save_findings] if args.key?(:save_findings)
|
||||
@@ -3057,6 +3064,20 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Enable email notification to project owners and editors on jobs's
|
||||
# completion/failure.
|
||||
class GooglePrivacyDlpV2JobNotificationEmails
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a configuration to make dlp api calls on a repeating basis.
|
||||
# See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
|
||||
class GooglePrivacyDlpV2JobTrigger
|
||||
@@ -4658,6 +4679,12 @@ module Google
|
||||
class GooglePrivacyDlpV2Regex
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The index of the submatch to extract as findings. When not
|
||||
# specified, the entire match is returned. No more than 3 may be included.
|
||||
# Corresponds to the JSON property `groupIndexes`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :group_indexes
|
||||
|
||||
# Pattern defining the regular expression. Its syntax
|
||||
# (https://github.com/google/re2/wiki/Syntax) can be found under the
|
||||
# google/re2 repository on GitHub.
|
||||
@@ -4671,6 +4698,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@group_indexes = args[:group_indexes] if args.key?(:group_indexes)
|
||||
@pattern = args[:pattern] if args.key?(:pattern)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -502,6 +502,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2JobNotificationEmails
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2JobTrigger
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1039,6 +1045,8 @@ module Google
|
||||
class GooglePrivacyDlpV2Action
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :job_notification_emails, as: 'jobNotificationEmails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails::Representation
|
||||
|
||||
property :pub_sub, as: 'pubSub', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub::Representation
|
||||
|
||||
property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation
|
||||
@@ -1880,6 +1888,12 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2JobNotificationEmails
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2JobTrigger
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2369,6 +2383,7 @@ module Google
|
||||
class GooglePrivacyDlpV2Regex
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :group_indexes, as: 'groupIndexes'
|
||||
property :pattern, as: 'pattern'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1524,6 +1524,26 @@ module Google
|
||||
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
||||
# @param [String] parent
|
||||
# The parent resource name, for example `projects/my-project-id`.
|
||||
# @param [String] filter
|
||||
# Optional. Allows filtering.
|
||||
# Supported syntax:
|
||||
# * Filter expressions are made up of one or more restrictions.
|
||||
# * Restrictions can be combined by `AND` or `OR` logical operators. A
|
||||
# sequence of restrictions implicitly uses `AND`.
|
||||
# * A restriction has the form of `<field> <operator> <value>`.
|
||||
# * Supported fields/values for inspect jobs:
|
||||
# - `status` - HEALTHY|PAUSED|CANCELLED
|
||||
# - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
|
||||
# - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
|
||||
# quotation marks. Nanoseconds are ignored.
|
||||
# - 'error_count' - Number of errors that have occurred while running.
|
||||
# * The operator must be `=` or `!=` for status and inspected_storage.
|
||||
# Examples:
|
||||
# * inspected_storage = cloud_storage AND status = HEALTHY
|
||||
# * inspected_storage = cloud_storage OR inspected_storage = bigquery
|
||||
# * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
|
||||
# * last_run_time > \"2017-12-12T00:00:00+00:00\"
|
||||
# The length of this field should be no more than 500 characters.
|
||||
# @param [String] order_by
|
||||
# Optional comma separated list of triggeredJob fields to order by,
|
||||
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
||||
@@ -1533,6 +1553,7 @@ module Google
|
||||
# Supported fields are:
|
||||
# - `create_time`: corresponds to time the JobTrigger was created.
|
||||
# - `update_time`: corresponds to time the JobTrigger was last updated.
|
||||
# - `last_run_time`: corresponds to the last time the JobTrigger ran.
|
||||
# - `name`: corresponds to JobTrigger's name.
|
||||
# - `display_name`: corresponds to JobTrigger's display name.
|
||||
# - `status`: corresponds to JobTrigger's status.
|
||||
@@ -1559,11 +1580,12 @@ module Google
|
||||
# @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 list_project_job_triggers(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def list_project_job_triggers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
|
||||
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
|
||||
Reference in new issue
Block a user