Class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InspectOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Metadata returned within GetOperation for an inspect request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InspectOperationMetadata

Returns a new instance of GooglePrivacyDlpV2beta1InspectOperationMetadata



5286
5287
5288
# File 'generated/google/apis/dlp_v2/classes.rb', line 5286

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

The time which this request was started. Corresponds to the JSON property createTime

Returns:

  • (String)


5252
5253
5254
# File 'generated/google/apis/dlp_v2/classes.rb', line 5252

def create_time
  @create_time
end

#info_type_statsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoTypeStatistics>

Corresponds to the JSON property infoTypeStats



5257
5258
5259
# File 'generated/google/apis/dlp_v2/classes.rb', line 5257

def info_type_stats
  @info_type_stats
end

#processed_bytesFixnum

Total size in bytes that were processed. Corresponds to the JSON property processedBytes

Returns:

  • (Fixnum)


5262
5263
5264
# File 'generated/google/apis/dlp_v2/classes.rb', line 5262

def processed_bytes
  @processed_bytes
end

#request_inspect_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2beta1InspectConfig

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used. Corresponds to the JSON property requestInspectConfig



5269
5270
5271
# File 'generated/google/apis/dlp_v2/classes.rb', line 5269

def request_inspect_config
  @request_inspect_config
end

#request_output_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2beta1OutputStorageConfig

Cloud repository for storing output. Corresponds to the JSON property requestOutputConfig



5274
5275
5276
# File 'generated/google/apis/dlp_v2/classes.rb', line 5274

def request_output_config
  @request_output_config
end

#request_storage_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2beta1StorageConfig

Shared message indicating Cloud storage type. Corresponds to the JSON property requestStorageConfig



5279
5280
5281
# File 'generated/google/apis/dlp_v2/classes.rb', line 5279

def request_storage_config
  @request_storage_config
end

#total_estimated_bytesFixnum

Estimate of the number of bytes to process. Corresponds to the JSON property totalEstimatedBytes

Returns:

  • (Fixnum)


5284
5285
5286
# File 'generated/google/apis/dlp_v2/classes.rb', line 5284

def total_estimated_bytes
  @total_estimated_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5291
5292
5293
5294
5295
5296
5297
5298
5299
# File 'generated/google/apis/dlp_v2/classes.rb', line 5291

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats)
  @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes)
  @request_inspect_config = args[:request_inspect_config] if args.key?(:request_inspect_config)
  @request_output_config = args[:request_output_config] if args.key?(:request_output_config)
  @request_storage_config = args[:request_storage_config] if args.key?(:request_storage_config)
  @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes)
end