google-cloud-web_security_scanner-v1beta 0.13.0 → 0.13.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: ba18e4ad364c137c186a65c6897f3fa8fa4b94f87c178936ab1abdc850bdb0cc
         | 
| 4 | 
            +
              data.tar.gz: 224125ad2894adc47c74dbe69c56999097abc6b3a9161a93dcf58f21daf84015
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 44bdf14e7d53748745b31c3fa21a10a75eaf2029da6acd195afbc656cb97cf237a6b0b2b236dc1b54e147458e65ddca68d82b6b0e55103a7e8d786fb1b3d4778
         | 
| 7 | 
            +
              data.tar.gz: 5a06f2c48c8371c06ec81506bca5d17624c46f9a419295597301740023599a9e80e62e4ed4cbfddb379362a6e3a76dfabe6f961f39f20897f818603cf7ec8706
         | 
| @@ -1466,8 +1466,6 @@ module Google | |
| 1466 1466 | 
             
                        #   @return [::String,nil]
         | 
| 1467 1467 | 
             
                        # @!attribute [rw] credentials
         | 
| 1468 1468 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 1469 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1470 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 1471 1469 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1472 1470 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1473 1471 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -1476,7 +1474,26 @@ module Google | |
| 1476 1474 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1477 1475 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 1478 1476 | 
             
                        #
         | 
| 1479 | 
            -
                        #   Warning:  | 
| 1477 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 1478 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 1479 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 1480 | 
            +
                        #
         | 
| 1481 | 
            +
                        #   @example
         | 
| 1482 | 
            +
                        #
         | 
| 1483 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 1484 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 1485 | 
            +
                        #
         | 
| 1486 | 
            +
                        #     require "googleauth"
         | 
| 1487 | 
            +
                        #
         | 
| 1488 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 1489 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 1490 | 
            +
                        #     )
         | 
| 1491 | 
            +
                        #
         | 
| 1492 | 
            +
                        #     client = ::Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new do |config|
         | 
| 1493 | 
            +
                        #       config.credentials = credentials
         | 
| 1494 | 
            +
                        #     end
         | 
| 1495 | 
            +
                        #
         | 
| 1496 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1480 1497 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1481 1498 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1482 1499 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         |