GoogleAssistantEmbeddedV1FitnessActivity

AI Overview😉

  • The potential purpose of this module is to track and analyze fitness activities, such as exercises or workouts, and their associated data, like duration and state. This module is likely part of a larger system that aims to provide personalized fitness recommendations or insights to users.
  • This module could impact search results by influencing the ranking of fitness-related content. For example, if a user searches for "best workout routines," the algorithm may prioritize results from websites that provide detailed fitness activity data, such as exercise duration and type, over those that do not. This could lead to more relevant and informative search results for users with specific fitness goals or interests.
  • To be more favorable for this function, a website may want to ensure that it provides structured and detailed fitness activity data, such as activity IDs, start times, durations, and states. This could involve implementing schema markup on fitness-related pages, using standardized vocabulary for activity types, and providing accurate and up-to-date data. Additionally, websites may want to consider integrating with wearable devices or fitness apps to gather more comprehensive data and provide a more seamless user experience.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1FitnessActivity (google_api_content_warehouse v0.4.0)

Describes a particular fitness activity, its current state, and other data fields associated with that activity (e.g. elapsed time). LINT.IfChange

Attributes

  • activityId (type: String.t, default: nil) - Required A string key used as an identifier for this activity. This key needs to be unique amongst all activities on the device. The client can choose a mechanism of its choice to ensure this. If the server suggests an activity_id, the client can either use the suggestion or create a new unique activity_id of its choosing.
  • mostRecentStartTime (type: DateTime.t, default: nil) - DEPRECATED: The most recent time this activity was switched to the ACTIVE state.
  • previouslyAccumulatedDuration (type: String.t, default: nil) - DEPRECATED: The total amount of time this activity has spent in the ACTIVE state until the most recent start time. The total time spent active may be computed by summing (now - most_recent_start_time) with previously_accumulated_duration.
  • state (type: String.t, default: nil) - The current state of this activity.
  • type (type: String.t, default: nil) - The type of activity being done.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1FitnessActivity{
    activityId: String.t() | nil,
    mostRecentStartTime: DateTime.t() | nil,
    previouslyAccumulatedDuration: String.t() | nil,
    state: String.t() | nil,
    type: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.