Sha256: 3102c016b5db04547dbacb13d427cb4f461f54001b9d5740320e129e64dd56d3

Contents?: true

Size: 1.28 KB

Versions: 11

Compression:

Stored size: 1.28 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/trace_service/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::TraceService::Credentials
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
google-cloud-trace-0.44.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.43.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.42.2 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.42.1 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.42.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.41.4 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.41.3 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.41.2 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.41.1 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.41.0 lib/google/cloud/trace/credentials.rb
google-cloud-trace-0.40.0 lib/google/cloud/trace/credentials.rb