Class: Google::Apis::DatamanagerV1::WarningCount
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::WarningCount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb
Overview
The warning count for a given warning reason.
Instance Attribute Summary collapse
-
#reason ⇒ String
The warning reason.
-
#record_count ⇒ Fixnum
The count of records that have a warning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WarningCount
constructor
A new instance of WarningCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WarningCount
Returns a new instance of WarningCount.
2879 2880 2881 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2879 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
The warning reason.
Corresponds to the JSON property reason
2872 2873 2874 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2872 def reason @reason end |
#record_count ⇒ Fixnum
The count of records that have a warning.
Corresponds to the JSON property recordCount
2877 2878 2879 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2877 def record_count @record_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2884 2885 2886 2887 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2884 def update!(**args) @reason = args[:reason] if args.key?(:reason) @record_count = args[:record_count] if args.key?(:record_count) end |