Class: Google::Apis::DatamanagerV1::DataTypeCount
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::DataTypeCount
- 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 count for a specific data type.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The count for this data type.
-
#type ⇒ String
The type of data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataTypeCount
constructor
A new instance of DataTypeCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataTypeCount
Returns a new instance of DataTypeCount.
692 693 694 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 692 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The count for this data type.
Corresponds to the JSON property count
685 686 687 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 685 def count @count end |
#type ⇒ String
The type of data.
Corresponds to the JSON property type
690 691 692 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 690 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
697 698 699 700 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 697 def update!(**args) @count = args[:count] if args.key?(:count) @type = args[:type] if args.key?(:type) end |