# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.Fitness.V1.Connection do
  @moduledoc """
  Handle Tesla connections for GoogleApi.Fitness.V1.
  """

  @type t :: Tesla.Env.client()

  use GoogleApi.Gax.Connection,
    scopes: [
      # Use Google Fit to see and store your physical activity data
      "https://www.googleapis.com/auth/fitness.activity.read",

      # Add to your Google Fit physical activity data
      "https://www.googleapis.com/auth/fitness.activity.write",

      # See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
      "https://www.googleapis.com/auth/fitness.blood_glucose.read",

      # Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app.
      "https://www.googleapis.com/auth/fitness.blood_glucose.write",

      # See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
      "https://www.googleapis.com/auth/fitness.blood_pressure.read",

      # Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app.
      "https://www.googleapis.com/auth/fitness.blood_pressure.write",

      # See info about your body measurements in Google Fit
      "https://www.googleapis.com/auth/fitness.body.read",

      # Add info about your body measurements to Google Fit
      "https://www.googleapis.com/auth/fitness.body.write",

      # See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
      "https://www.googleapis.com/auth/fitness.body_temperature.read",

      # Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app.
      "https://www.googleapis.com/auth/fitness.body_temperature.write",

      # See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
      "https://www.googleapis.com/auth/fitness.heart_rate.read",

      # Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app.
      "https://www.googleapis.com/auth/fitness.heart_rate.write",

      # See your Google Fit speed and distance data
      "https://www.googleapis.com/auth/fitness.location.read",

      # Add to your Google Fit location data
      "https://www.googleapis.com/auth/fitness.location.write",

      # See info about your nutrition in Google Fit
      "https://www.googleapis.com/auth/fitness.nutrition.read",

      # Add to info about your nutrition in Google Fit
      "https://www.googleapis.com/auth/fitness.nutrition.write",

      # See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
      "https://www.googleapis.com/auth/fitness.oxygen_saturation.read",

      # Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app.
      "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",

      # See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
      "https://www.googleapis.com/auth/fitness.reproductive_health.read",

      # Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app.
      "https://www.googleapis.com/auth/fitness.reproductive_health.write",

      # See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
      "https://www.googleapis.com/auth/fitness.sleep.read",

      # Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app.
      "https://www.googleapis.com/auth/fitness.sleep.write"
    ],
    otp_app: :google_api_fitness,
    base_url: "https://fitness.googleapis.com/fitness/v1/users/"
end
