Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectOperationMetadata

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



1816
1817
1818
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1816

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)


1782
1783
1784
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1782

def create_time
  @create_time
end

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

Corresponds to the JSON property infoTypeStats



1787
1788
1789
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1787

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)


1792
1793
1794
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1792

def processed_bytes
  @processed_bytes
end

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



1799
1800
1801
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1799

def request_inspect_config
  @request_inspect_config
end

#request_output_configGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig

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



1804
1805
1806
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1804

def request_output_config
  @request_output_config
end

#request_storage_configGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig

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



1809
1810
1811
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1809

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)


1814
1815
1816
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1814

def total_estimated_bytes
  @total_estimated_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1821

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