<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto

namespace Google\Cloud\BigQuery\DataTransfer\V1;

/**
 * The type of authorization needed for this data source.
 *
 * Protobuf enum <code>Google\Cloud\Bigquery\Datatransfer\V1\DataSource\AuthorizationType</code>
 */
class DataSource_AuthorizationType
{
    /**
     * Type unspecified.
     *
     * Generated from protobuf enum <code>AUTHORIZATION_TYPE_UNSPECIFIED = 0;</code>
     */
    const AUTHORIZATION_TYPE_UNSPECIFIED = 0;
    /**
     * Use OAuth 2 authorization codes that can be exchanged
     * for a refresh token on the backend.
     *
     * Generated from protobuf enum <code>AUTHORIZATION_CODE = 1;</code>
     */
    const AUTHORIZATION_CODE = 1;
    /**
     * Return an authorization code for a given Google+ page that can then be
     * exchanged for a refresh token on the backend.
     *
     * Generated from protobuf enum <code>GOOGLE_PLUS_AUTHORIZATION_CODE = 2;</code>
     */
    const GOOGLE_PLUS_AUTHORIZATION_CODE = 2;
}

