Sha256: a558be7dd451a0d107ad76a6138e0e8ff8121158f59504364404aa8882d38bcc
Contents?: true
Size: 1.46 KB
Versions: 21
Compression:
Stored size: 1.46 KB
Contents
# Copyright 2017 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. require "google/cloud/debugger/v2/credentials" require "google/cloud/logging/credentials" module Google module Cloud module Debugger ## # # Credentials # # Represents the authentication and authorization used to connect to the # Stackdriver Debugger service. # # @example # require "google/cloud/debugger" # # keyfile = "/path/to/keyfile.json" # creds = Google::Cloud::Debugger::Credentials.new keyfile # # debugger = Google::Cloud::Debugger.new( # project_id: "my-project", # credentials: creds # ) # # debugger.project_id #=> "my-project" # class Credentials < Google::Cloud::Debugger::V2::Credentials SCOPE = (Google::Cloud::Debugger::V2::Credentials::SCOPE + Google::Cloud::Logging::Credentials::SCOPE).uniq.freeze end end end end
Version data entries
21 entries across 21 versions & 1 rubygems