class Google::Apis::FitnessV1::Application
See: google3/java/com/google/android/apps/heart/platform/api/Application.java
Attributes
An optional URI that can be used to link back to the application. Corresponds to the JSON property `detailsUrl` @return [String]
The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source. Corresponds to the JSON property `name` @return [String]
Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName. Corresponds to the JSON property `packageName` @return [String]
Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data. Corresponds to the JSON property `version` @return [String]
Public Class Methods
# File generated/google/apis/fitness_v1/classes.rb, line 226 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/fitness_v1/classes.rb, line 231 def update!(**args) @details_url = args[:details_url] if args.key?(:details_url) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) @version = args[:version] if args.key?(:version) end