Sha256: d5734d9c80a8981b79dd74fb11bde1c3f063c215376c2fe39764f03466107969

Contents?: true

Size: 1.6 KB

Versions: 46

Compression:

Stored size: 1.6 KB

Contents

# frozen_string_literal: true

# Copyright 2020 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
#
#     https://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.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!

require "googleauth"

module Google
  module Cloud
    module DocumentAI
      module V1beta3
        module DocumentProcessorService
          # Credentials for the DocumentProcessorService API.
          class Credentials < ::Google::Auth::Credentials
            self.scope = [
              "https://www.googleapis.com/auth/cloud-platform"
            ]
            self.env_vars = [
              "DOCUMENT_AI_CREDENTIALS",
              "DOCUMENT_AI_KEYFILE",
              "GOOGLE_CLOUD_CREDENTIALS",
              "GOOGLE_CLOUD_KEYFILE",
              "GCLOUD_KEYFILE",
              "DOCUMENT_AI_CREDENTIALS_JSON",
              "DOCUMENT_AI_KEYFILE_JSON",
              "GOOGLE_CLOUD_CREDENTIALS_JSON",
              "GOOGLE_CLOUD_KEYFILE_JSON",
              "GCLOUD_KEYFILE_JSON"
            ]
            self.paths = [
              "~/.config/google_cloud/application_default_credentials.json"
            ]
          end
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
google-cloud-document_ai-v1beta3-0.37.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.36.1 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.36.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.35.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.34.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.33.1 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.33.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.32.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.31.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.30.2 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.30.1 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.30.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.29.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.28.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.27.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.26.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.25.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.24.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.23.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb
google-cloud-document_ai-v1beta3-0.22.0 lib/google/cloud/document_ai/v1beta3/document_processor_service/credentials.rb