lib/google/apis/dlp_v2/service.rb in google-apis-dlp_v2-0.6.0 vs lib/google/apis/dlp_v2/service.rb in google-apis-dlp_v2-0.7.0
- old
+ new
@@ -1193,10 +1193,12 @@
# @param [Fixnum] page_size
# Size of the page, can be limited by a server.
# @param [String] page_token
# Page token to continue retrieval. Comes from previous call to ListJobTriggers.
# `order_by` field must not change for subsequent calls.
+ # @param [String] type
+ # The type of jobs. Will use `DlpJobType.INSPECT` if not set.
# @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.
@@ -1210,20 +1212,21 @@
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse]
#
# @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_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ def list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: 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['locationId'] = location_id unless location_id.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?
+ command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
@@ -2676,10 +2679,12 @@
# @param [Fixnum] page_size
# Size of the page, can be limited by a server.
# @param [String] page_token
# Page token to continue retrieval. Comes from previous call to ListJobTriggers.
# `order_by` field must not change for subsequent calls.
+ # @param [String] type
+ # The type of jobs. Will use `DlpJobType.INSPECT` if not set.
# @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.
@@ -2693,20 +2698,21 @@
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse]
#
# @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, filter: nil, location_id: nil, 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, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: 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['locationId'] = location_id unless location_id.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?
+ command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
@@ -3848,10 +3854,12 @@
# @param [Fixnum] page_size
# Size of the page, can be limited by a server.
# @param [String] page_token
# Page token to continue retrieval. Comes from previous call to ListJobTriggers.
# `order_by` field must not change for subsequent calls.
+ # @param [String] type
+ # The type of jobs. Will use `DlpJobType.INSPECT` if not set.
# @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.
@@ -3865,19 +3873,20 @@
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse]
#
# @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_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: 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['locationId'] = location_id unless location_id.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?
+ command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end