# 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.WorkspaceEvents.V1.Connection do
  @moduledoc """
  Handle Tesla connections for GoogleApi.WorkspaceEvents.V1.
  """

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

  use GoogleApi.Gax.Connection,
    scopes: [
      # Private Service: https://www.googleapis.com/auth/chat.bot
      "https://www.googleapis.com/auth/chat.bot",

      # See, add, update, and remove members from conversations and spaces in Google Chat
      "https://www.googleapis.com/auth/chat.memberships",

      # View members in Google Chat conversations.
      "https://www.googleapis.com/auth/chat.memberships.readonly",

      # See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.
      "https://www.googleapis.com/auth/chat.messages",

      # See, add, and delete reactions as well as their reaction content to messages in Google Chat
      "https://www.googleapis.com/auth/chat.messages.reactions",

      # View reactions as well as their reaction content to messages in Google Chat
      "https://www.googleapis.com/auth/chat.messages.reactions.readonly",

      # See messages as well as their reactions and message content in Google Chat
      "https://www.googleapis.com/auth/chat.messages.readonly",

      # Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat
      "https://www.googleapis.com/auth/chat.spaces",

      # View chat and spaces in Google Chat
      "https://www.googleapis.com/auth/chat.spaces.readonly",

      # See, edit, create, and delete all of your Google Drive files
      "https://www.googleapis.com/auth/drive",

      # See, edit, create, and delete only the specific Google Drive files you use with this app
      "https://www.googleapis.com/auth/drive.file",

      # View and manage metadata of files in your Google Drive
      "https://www.googleapis.com/auth/drive.metadata",

      # See information about your Google Drive files
      "https://www.googleapis.com/auth/drive.metadata.readonly",

      # See and download all your Google Drive files
      "https://www.googleapis.com/auth/drive.readonly",

      # Create, edit, and see information about your Google Meet conferences created by the app.
      "https://www.googleapis.com/auth/meetings.space.created",

      # Read information about any of your Google Meet conferences
      "https://www.googleapis.com/auth/meetings.space.readonly"
    ],
    otp_app: :google_api_workspace_events,
    base_url: "https://workspaceevents.googleapis.com/"
end
