Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InspectOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/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



612
613
614
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 612

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)


578
579
580
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 578

def create_time
  @create_time
end

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

Corresponds to the JSON property infoTypeStats



583
584
585
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 583

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)


588
589
590
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 588

def processed_bytes
  @processed_bytes
end

#request_inspect_configGoogle::Apis::DlpV2beta2::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



595
596
597
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 595

def request_inspect_config
  @request_inspect_config
end

#request_output_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1OutputStorageConfig

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



600
601
602
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 600

def request_output_config
  @request_output_config
end

#request_storage_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1StorageConfig

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



605
606
607
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 605

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)


610
611
612
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 610

def total_estimated_bytes
  @total_estimated_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



617
618
619
620
621
622
623
624
625
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 617

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