google-cloud-trace-v2 1.3.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 252601cc707f7589a93839455c73869b3d16bcbb9fceacec2d64694e073e0c10
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 1e4b4c5069c74489080cf21d81107d1c196cc347e5a874eacf30c7ff56c66b01
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 23bffb61c45abdbeacba6f4e928bfe71b41ab01697393042820414e7b82f610c3193e2becf61c15d293ffb8ba789aa07ab31258704fb61c5d9c3297a28f9f8bb
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 61be600b1ef9848b66dc1fb0b62760d5428ec49d30f8a562cc1d9d010be383c37d99c98cddb781f7cd51b6c00afca8fb9ce110492b56a45d3c5cfd7924d49420
         
     | 
| 
         @@ -465,8 +465,6 @@ module Google 
     | 
|
| 
       465 
465 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       466 
466 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       467 
467 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       468 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       469 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       470 
468 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       471 
469 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       472 
470 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -475,7 +473,26 @@ module Google 
     | 
|
| 
       475 
473 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       476 
474 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       477 
475 
     | 
    
         
             
                        #
         
     | 
| 
       478 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 476 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 477 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 478 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 479 
     | 
    
         
            +
                        #
         
     | 
| 
      
 480 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 481 
     | 
    
         
            +
                        #
         
     | 
| 
      
 482 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 483 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 484 
     | 
    
         
            +
                        #
         
     | 
| 
      
 485 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 486 
     | 
    
         
            +
                        #
         
     | 
| 
      
 487 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 488 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 489 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 490 
     | 
    
         
            +
                        #
         
     | 
| 
      
 491 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Trace::V2::TraceService::Client.new do |config|
         
     | 
| 
      
 492 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 493 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 494 
     | 
    
         
            +
                        #
         
     | 
| 
      
 495 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       479 
496 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       480 
497 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       481 
498 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-trace-v2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.4.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
         @@ -15,14 +15,14 @@ dependencies: 
     | 
|
| 
       15 
15 
     | 
    
         
             
                requirements:
         
     | 
| 
       16 
16 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       17 
17 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       18 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 18 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       19 
19 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       20 
20 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       21 
21 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       22 
22 
     | 
    
         
             
                requirements:
         
     | 
| 
       23 
23 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       24 
24 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       25 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 25 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       26 
26 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       27 
27 
     | 
    
         
             
              name: google-cloud-errors
         
     | 
| 
       28 
28 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       98 
98 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       99 
99 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       100 
100 
     | 
    
         
             
            requirements: []
         
     | 
| 
       101 
     | 
    
         
            -
            rubygems_version: 3.6. 
     | 
| 
      
 101 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       102 
102 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       103 
103 
     | 
    
         
             
            summary: Sends application trace data to Stackdriver Trace for viewing. Trace data
         
     | 
| 
       104 
104 
     | 
    
         
             
              is collected for all App Engine applications by default. Trace data from other applications
         
     |