class Google::Apis::FitnessV1::DataType

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 lib/google/apis/fitness_v1/classes.rb, line 561
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/fitness_v1/classes.rb, line 566
def update!(**args)
  @field = args[:field] if args.key?(:field)
  @name = args[:name] if args.key?(:name)
end