Packages

Chrome Policy API client library. The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.

Current section

Files

Jump to
google_api_chrome_policy lib google_api chrome_policy v1 connection.ex
Raw

lib/google_api/chrome_policy/v1/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.ChromePolicy.V1.Connection do
@moduledoc """
Handle Tesla connections for GoogleApi.ChromePolicy.V1.
"""
@type t :: Tesla.Env.client()
use GoogleApi.Gax.Connection,
scopes: [
# See, edit, create or delete policies applied to ChromeOS and Chrome Browsers managed within your organization
"https://www.googleapis.com/auth/chrome.management.policy",
# See policies applied to ChromeOS and Chrome Browsers managed within your organization
"https://www.googleapis.com/auth/chrome.management.policy.readonly"
],
otp_app: :google_api_chrome_policy,
base_url: "https://chromepolicy.googleapis.com/"
end