lib/google/apis/dlp_v2/service.rb in google-apis-dlp_v2-0.56.0 vs lib/google/apis/dlp_v2/service.rb in google-apis-dlp_v2-0.57.0
- old
+ new
@@ -32,10 +32,12 @@
# Dlp = Google::Apis::DlpV2 # Alias the module
# service = Dlp::DLPService.new
#
# @see https://cloud.google.com/dlp/docs/
class DLPService < Google::Apis::Core::BaseService
+ DEFAULT_ENDPOINT_TEMPLATE = "https://dlp.$UNIVERSE_DOMAIN$/"
+
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
@@ -43,11 +45,11 @@
# 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.
attr_accessor :quota_user
def initialize
- super('https://dlp.googleapis.com/', '',
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
client_name: 'google-apis-dlp_v2',
client_version: Google::Apis::DlpV2::GEM_VERSION)
@batch_path = 'batch'
end
@@ -3568,10 +3570,10 @@
end
# Finish a running hybrid DlpJob. Triggers the finalization steps and running of
# any enabled actions that have not yet run.
# @param [String] name
- # Required. The name of the DlpJob resource to be cancelled.
+ # Required. The name of the DlpJob resource to be finished.
# @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