google-cloud-bigquery-data_transfer-v1 1.5.0 → 1.5.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: abca34655d46be6a1952ebbf9fc0bf0447059a14dc309dcf124b2a34d6d831f5
         | 
| 4 | 
            +
              data.tar.gz: 6f32ce43f888f29ac451793d7792d0fe32ba7ed5dff303892c763a997b5e6583
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e369272cf4f0bf4fc537708e4fdf0a19c3d0572664c7f10b7dc0451694acd8ab038b5fcd1b48a9f8dc15cff9fb733875bf436961a5b6f09a1caf5ef2268407d9
         | 
| 7 | 
            +
              data.tar.gz: 0a407d1a2dc3631b6f66089ad0dca46ffad889ff0b75e9a773ce6bf2e4d846c8a7cbc318854201e7ac023bf74958b54e2501f48a225f04879727d36c177877a5
         | 
| @@ -1893,8 +1893,6 @@ module Google | |
| 1893 1893 | 
             
                          #   @return [::String,nil]
         | 
| 1894 1894 | 
             
                          # @!attribute [rw] credentials
         | 
| 1895 1895 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 1896 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1897 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 1898 1896 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1899 1897 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1900 1898 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -1903,7 +1901,26 @@ module Google | |
| 1903 1901 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1904 1902 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 1905 1903 | 
             
                          #
         | 
| 1906 | 
            -
                          #   Warning:  | 
| 1904 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 1905 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 1906 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 1907 | 
            +
                          #
         | 
| 1908 | 
            +
                          #   @example
         | 
| 1909 | 
            +
                          #
         | 
| 1910 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 1911 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 1912 | 
            +
                          #
         | 
| 1913 | 
            +
                          #     require "googleauth"
         | 
| 1914 | 
            +
                          #
         | 
| 1915 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 1916 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 1917 | 
            +
                          #     )
         | 
| 1918 | 
            +
                          #
         | 
| 1919 | 
            +
                          #     client = ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Client.new do |config|
         | 
| 1920 | 
            +
                          #       config.credentials = credentials
         | 
| 1921 | 
            +
                          #     end
         | 
| 1922 | 
            +
                          #
         | 
| 1923 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1907 1924 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1908 1925 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1909 1926 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         |