google-cloud-video_intelligence-v1p2beta1 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: ce04080acc060aa15a3c1b188d41ef7d72c26a7fa0b5be9f6a44022cc4c58e5a
         | 
| 4 | 
            +
              data.tar.gz: 98163e67e26732ac316b59c1bb7ed0ae21ab73177e71a538eb32d1f79c7f0a21
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 3086b7c23f8bb26c63e21686ca7b6f1c5a3f503d6d839875122786fb7b36791291777a2bd90aa0af71f5ecf74e1cbbc7e68304efabdc89f3c3387a41cab392dc
         | 
| 7 | 
            +
              data.tar.gz: 8340a6dfe38f5733bc174d26869c89f182f7557dc8092446f89a713b60ed2346e34ba171b8de19d6887e5549dac40a16be8152cc73c975bad302f17fd6be3fb3
         | 
| @@ -352,8 +352,6 @@ module Google | |
| 352 352 | 
             
                        #   @return [::String,nil]
         | 
| 353 353 | 
             
                        # @!attribute [rw] credentials
         | 
| 354 354 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 355 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 356 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 357 355 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 358 356 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 359 357 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -362,7 +360,26 @@ module Google | |
| 362 360 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 363 361 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 364 362 | 
             
                        #
         | 
| 365 | 
            -
                        #   Warning:  | 
| 363 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 364 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 365 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 366 | 
            +
                        #
         | 
| 367 | 
            +
                        #   @example
         | 
| 368 | 
            +
                        #
         | 
| 369 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 370 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 371 | 
            +
                        #
         | 
| 372 | 
            +
                        #     require "googleauth"
         | 
| 373 | 
            +
                        #
         | 
| 374 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 375 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 376 | 
            +
                        #     )
         | 
| 377 | 
            +
                        #
         | 
| 378 | 
            +
                        #     client = ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoIntelligenceService::Client.new do |config|
         | 
| 379 | 
            +
                        #       config.credentials = credentials
         | 
| 380 | 
            +
                        #     end
         | 
| 381 | 
            +
                        #
         | 
| 382 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 366 383 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 367 384 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 368 385 | 
             
                        #   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.
         |