class Google::Apis::FitnessV1::DataType
See: google3/java/com/google/android/apps/heart/platform/api/DataType.java
Attributes
field[RW]
A field represents one dimension of a data type. Corresponds to the JSON property `field` @return [Array<Google::Apis::FitnessV1::DataTypeField>]
name[RW]
Each data type has a unique, namespaced, name. All data types in the com. google namespace are shared as part of the platform. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/fitness_v1/classes.rb, line 508 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/fitness_v1/classes.rb, line 513 def update!(**args) @field = args[:field] if args.key?(:field) @name = args[:name] if args.key?(:name) end