Current section
Files
Jump to
Current section
Files
lib/google_api/analytics/v3/connection.ex
# 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.Analytics.V3.Connection do
@moduledoc """
Handle Tesla connections for GoogleApi.Analytics.V3.
"""
@type t :: Tesla.Env.client()
use GoogleApi.Gax.Connection,
scopes: [
# View and manage your Google Analytics data
"https://www.googleapis.com/auth/analytics",
# Edit Google Analytics management entities
"https://www.googleapis.com/auth/analytics.edit",
# Manage Google Analytics Account users by email address
"https://www.googleapis.com/auth/analytics.manage.users",
# View Google Analytics user permissions
"https://www.googleapis.com/auth/analytics.manage.users.readonly",
# Create a new Google Analytics account along with its default property and view
"https://www.googleapis.com/auth/analytics.provision",
# View your Google Analytics data
"https://www.googleapis.com/auth/analytics.readonly",
# Manage Google Analytics user deletion requests
"https://www.googleapis.com/auth/analytics.user.deletion"
],
otp_app: :google_api_analytics,
base_url: "https://analytics.googleapis.com/"
end