google-cloud-video_intelligence-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: e2cd8079daa32885fb6797ca76ae93d9a13b2c48e30a7384f7ac33fbaa1a8f0e
         | 
| 4 | 
            +
              data.tar.gz: dbb8821670436c45bb75bff6ead3b4213999b3e87cb2588ab5329361c24af6b5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6ca4b10d114a06239409e5212ad1fed258cd8041e01fc42b6036466036c28356787088ba796fad3f6f83270179bd17604ecea6a0e3a5b1922b9cece020fc51d6
         | 
| 7 | 
            +
              data.tar.gz: '059de5ae51b73aa5c3120cf86d6c28bd6bfc283a756f68ad5bfddc16384a4a1f15336c53af9a4febf02738b14fda2f42b89902e257342fefa124cca03c25577a'
         | 
| @@ -355,8 +355,6 @@ module Google | |
| 355 355 | 
             
                        #   @return [::String,nil]
         | 
| 356 356 | 
             
                        # @!attribute [rw] credentials
         | 
| 357 357 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 358 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 359 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 360 358 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 361 359 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 362 360 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -365,7 +363,26 @@ module Google | |
| 365 363 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 366 364 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 367 365 | 
             
                        #
         | 
| 368 | 
            -
                        #   Warning:  | 
| 366 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 367 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 368 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 369 | 
            +
                        #
         | 
| 370 | 
            +
                        #   @example
         | 
| 371 | 
            +
                        #
         | 
| 372 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 373 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 374 | 
            +
                        #
         | 
| 375 | 
            +
                        #     require "googleauth"
         | 
| 376 | 
            +
                        #
         | 
| 377 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 378 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 379 | 
            +
                        #     )
         | 
| 380 | 
            +
                        #
         | 
| 381 | 
            +
                        #     client = ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.new do |config|
         | 
| 382 | 
            +
                        #       config.credentials = credentials
         | 
| 383 | 
            +
                        #     end
         | 
| 384 | 
            +
                        #
         | 
| 385 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 369 386 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 370 387 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 371 388 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -642,8 +642,6 @@ module Google | |
| 642 642 | 
             
                        #   @return [::String,nil]
         | 
| 643 643 | 
             
                        # @!attribute [rw] credentials
         | 
| 644 644 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 645 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 646 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 647 645 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 648 646 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 649 647 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -652,7 +650,26 @@ module Google | |
| 652 650 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 653 651 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 654 652 | 
             
                        #
         | 
| 655 | 
            -
                        #   Warning:  | 
| 653 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 654 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 655 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 656 | 
            +
                        #
         | 
| 657 | 
            +
                        #   @example
         | 
| 658 | 
            +
                        #
         | 
| 659 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 660 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 661 | 
            +
                        #
         | 
| 662 | 
            +
                        #     require "googleauth"
         | 
| 663 | 
            +
                        #
         | 
| 664 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 665 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 666 | 
            +
                        #     )
         | 
| 667 | 
            +
                        #
         | 
| 668 | 
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         | 
| 669 | 
            +
                        #       config.credentials = credentials
         | 
| 670 | 
            +
                        #     end
         | 
| 671 | 
            +
                        #
         | 
| 672 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 656 673 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 657 674 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 658 675 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         |