Class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics

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

Statistics related to processing hybrid inspect requests.

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) ⇒ GooglePrivacyDlpV2HybridInspectStatistics

Returns a new instance of GooglePrivacyDlpV2HybridInspectStatistics.



2933
2934
2935
# File 'generated/google/apis/dlp_v2/classes.rb', line 2933

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

Instance Attribute Details

#aborted_countFixnum

The number of hybrid inspection requests aborted because the job ran out of quota or was ended before they could be processed. Corresponds to the JSON property abortedCount

Returns:

  • (Fixnum)


2917
2918
2919
# File 'generated/google/apis/dlp_v2/classes.rb', line 2917

def aborted_count
  @aborted_count
end

#pending_countFixnum

The number of hybrid requests currently being processed. Only populated when called via method getDlpJob. A burst of traffic may cause hybrid inspect requests to be enqueued. Processing will take place as quickly as possible, but resource limitations may impact how long a request is enqueued for. Corresponds to the JSON property pendingCount

Returns:

  • (Fixnum)


2926
2927
2928
# File 'generated/google/apis/dlp_v2/classes.rb', line 2926

def pending_count
  @pending_count
end

#processed_countFixnum

The number of hybrid inspection requests processed within this job. Corresponds to the JSON property processedCount

Returns:

  • (Fixnum)


2931
2932
2933
# File 'generated/google/apis/dlp_v2/classes.rb', line 2931

def processed_count
  @processed_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2938
2939
2940
2941
2942
# File 'generated/google/apis/dlp_v2/classes.rb', line 2938

def update!(**args)
  @aborted_count = args[:aborted_count] if args.key?(:aborted_count)
  @pending_count = args[:pending_count] if args.key?(:pending_count)
  @processed_count = args[:processed_count] if args.key?(:processed_count)
end