Sha256: 265dfbbb734f56178544d119f6f8b720fbd93a4e56321a95909b982794fe895d

Contents?: true

Size: 1.25 KB

Versions: 21

Compression:

Stored size: 1.25 KB

Contents

# Copyright 2014 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/trace/v1/credentials"

module Google
  module Cloud
    module Trace
      ##
      # # Credentials
      #
      # Represents the authentication and authorization used to connect to the
      # Stackdriver Trace API.
      #
      # @example
      #   require "google/cloud/trace"
      #
      #   keyfile = "/path/to/keyfile.json"
      #   creds = Google::Cloud::Trace::Credentials.new keyfile
      #
      #   trace = Google::Cloud::Trace.new(
      #     project_id: "my-project",
      #     credentials: creds
      #   )
      #
      #   trace.project_id #=> "my-project"
      #
      class Credentials < Google::Cloud::Trace::V1::Credentials
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
google-cloud-trace-0.39.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.38.3 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.38.2 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.38.1 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.38.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.37.1 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.37.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.36.1 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.36.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.35.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.34.5 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.34.4 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.34.3 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.34.2 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.34.1 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.34.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.33.6 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.33.5 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.33.4 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.33.3 lib/google/cloud/trace/credentials.rb