google-cloud-bigquery-analytics_hub-v1 0.16.0 → 0.16.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: c8f45a51e0185da6c57766de9a6a1debd7b93dbf4f38399158ffec97c5c735d0
         | 
| 4 | 
            +
              data.tar.gz: 23ac57451fdb6f300d9ae16ebe612bdc28c8da113f847ceefbdbcdefd8531ed6
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 738398080eedbc6bda229a66f215797df93800d9f1d2b8268cad90015d5cd1f94a418ce41453998b92574ddd07d29992950dbd08ae0c8007b72f6bbe72faa07d
         | 
| 7 | 
            +
              data.tar.gz: 49faa872aab0cfb09f980dba71d82facca42403fc5d3974be9cf2634f544557de06a955d4d73727926a5e47f629550f8641e34e175f4994f74251d1f56f1c559
         | 
| @@ -2942,8 +2942,6 @@ module Google | |
| 2942 2942 | 
             
                          #   @return [::String,nil]
         | 
| 2943 2943 | 
             
                          # @!attribute [rw] credentials
         | 
| 2944 2944 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 2945 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 2946 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 2947 2945 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 2948 2946 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 2949 2947 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -2952,7 +2950,26 @@ module Google | |
| 2952 2950 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 2953 2951 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 2954 2952 | 
             
                          #
         | 
| 2955 | 
            -
                          #   Warning:  | 
| 2953 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 2954 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 2955 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 2956 | 
            +
                          #
         | 
| 2957 | 
            +
                          #   @example
         | 
| 2958 | 
            +
                          #
         | 
| 2959 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 2960 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 2961 | 
            +
                          #
         | 
| 2962 | 
            +
                          #     require "googleauth"
         | 
| 2963 | 
            +
                          #
         | 
| 2964 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 2965 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 2966 | 
            +
                          #     )
         | 
| 2967 | 
            +
                          #
         | 
| 2968 | 
            +
                          #     client = ::Google::Cloud::Bigquery::AnalyticsHub::V1::AnalyticsHubService::Client.new do |config|
         | 
| 2969 | 
            +
                          #       config.credentials = credentials
         | 
| 2970 | 
            +
                          #     end
         | 
| 2971 | 
            +
                          #
         | 
| 2972 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 2956 2973 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 2957 2974 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 2958 2975 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -643,8 +643,6 @@ module Google | |
| 643 643 | 
             
                          #   @return [::String,nil]
         | 
| 644 644 | 
             
                          # @!attribute [rw] credentials
         | 
| 645 645 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 646 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 647 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 648 646 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 649 647 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 650 648 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -653,7 +651,26 @@ module Google | |
| 653 651 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 654 652 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 655 653 | 
             
                          #
         | 
| 656 | 
            -
                          #   Warning:  | 
| 654 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 655 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 656 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 657 | 
            +
                          #
         | 
| 658 | 
            +
                          #   @example
         | 
| 659 | 
            +
                          #
         | 
| 660 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 661 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 662 | 
            +
                          #
         | 
| 663 | 
            +
                          #     require "googleauth"
         | 
| 664 | 
            +
                          #
         | 
| 665 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 666 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 667 | 
            +
                          #     )
         | 
| 668 | 
            +
                          #
         | 
| 669 | 
            +
                          #     client = ::Google::Longrunning::Operations::Client.new do |config|
         | 
| 670 | 
            +
                          #       config.credentials = credentials
         | 
| 671 | 
            +
                          #     end
         | 
| 672 | 
            +
                          #
         | 
| 673 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 657 674 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 658 675 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 659 676 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         |