google-cloud-binary_authorization-v1beta1 0.16.0 → 0.17.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: 10cc9c090991efa2c426bd0c9f2a08fbe3c603ac084463378b255e3873e5f2e4
         | 
| 4 | 
            +
              data.tar.gz: 809bb4fa2eb73af6d9bc3d0dfae4d2079c224cac86c85e8606e2e836afee2dad
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 5625f8632d7a931a4509ad9f7ca3603f60027a7bc4547d859093dde87095f80632fa38efd772c5d84eaf60ddc2081e968c7867244ef993f621a8c6d470931456
         | 
| 7 | 
            +
              data.tar.gz: c66a426631d2ad4e89bf785422f99480d88196a0bea693201395446d1b63ad5b874e13f0cb060e1ef16fe5f4899abe57320f7d0657895231183346e2f42b20bb
         | 
| @@ -895,8 +895,6 @@ module Google | |
| 895 895 | 
             
                        #   @return [::String,nil]
         | 
| 896 896 | 
             
                        # @!attribute [rw] credentials
         | 
| 897 897 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 898 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 899 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 900 898 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 901 899 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 902 900 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -905,7 +903,26 @@ module Google | |
| 905 903 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 906 904 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 907 905 | 
             
                        #
         | 
| 908 | 
            -
                        #   Warning:  | 
| 906 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 907 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 908 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 909 | 
            +
                        #
         | 
| 910 | 
            +
                        #   @example
         | 
| 911 | 
            +
                        #
         | 
| 912 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 913 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 914 | 
            +
                        #
         | 
| 915 | 
            +
                        #     require "googleauth"
         | 
| 916 | 
            +
                        #
         | 
| 917 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 918 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 919 | 
            +
                        #     )
         | 
| 920 | 
            +
                        #
         | 
| 921 | 
            +
                        #     client = ::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client.new do |config|
         | 
| 922 | 
            +
                        #       config.credentials = credentials
         | 
| 923 | 
            +
                        #     end
         | 
| 924 | 
            +
                        #
         | 
| 925 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 909 926 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 910 927 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 911 928 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -304,8 +304,6 @@ module Google | |
| 304 304 | 
             
                        #   @return [::String,nil]
         | 
| 305 305 | 
             
                        # @!attribute [rw] credentials
         | 
| 306 306 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 307 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 308 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 309 307 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 310 308 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 311 309 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -314,7 +312,26 @@ module Google | |
| 314 312 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 315 313 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 316 314 | 
             
                        #
         | 
| 317 | 
            -
                        #   Warning:  | 
| 315 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 316 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 317 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 318 | 
            +
                        #
         | 
| 319 | 
            +
                        #   @example
         | 
| 320 | 
            +
                        #
         | 
| 321 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 322 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 323 | 
            +
                        #
         | 
| 324 | 
            +
                        #     require "googleauth"
         | 
| 325 | 
            +
                        #
         | 
| 326 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 327 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 328 | 
            +
                        #     )
         | 
| 329 | 
            +
                        #
         | 
| 330 | 
            +
                        #     client = ::Google::Cloud::BinaryAuthorization::V1beta1::SystemPolicy::Client.new do |config|
         | 
| 331 | 
            +
                        #       config.credentials = credentials
         | 
| 332 | 
            +
                        #     end
         | 
| 333 | 
            +
                        #
         | 
| 334 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 318 335 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 319 336 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 320 337 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-binary_authorization-v1beta1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.17.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| @@ -15,14 +15,14 @@ dependencies: | |
| 15 15 | 
             
                requirements:
         | 
| 16 16 | 
             
                - - "~>"
         | 
| 17 17 | 
             
                  - !ruby/object:Gem::Version
         | 
| 18 | 
            -
                    version: '1. | 
| 18 | 
            +
                    version: '1.2'
         | 
| 19 19 | 
             
              type: :runtime
         | 
| 20 20 | 
             
              prerelease: false
         | 
| 21 21 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 22 22 | 
             
                requirements:
         | 
| 23 23 | 
             
                - - "~>"
         | 
| 24 24 | 
             
                  - !ruby/object:Gem::Version
         | 
| 25 | 
            -
                    version: '1. | 
| 25 | 
            +
                    version: '1.2'
         | 
| 26 26 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 27 27 | 
             
              name: google-cloud-errors
         | 
| 28 28 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 103 103 | 
             
                - !ruby/object:Gem::Version
         | 
| 104 104 | 
             
                  version: '0'
         | 
| 105 105 | 
             
            requirements: []
         | 
| 106 | 
            -
            rubygems_version: 3.6. | 
| 106 | 
            +
            rubygems_version: 3.6.9
         | 
| 107 107 | 
             
            specification_version: 4
         | 
| 108 108 | 
             
            summary: The management interface for Binary Authorization, a system providing policy
         | 
| 109 109 | 
             
              control for images deployed to Kubernetes Engine clusters, Anthos clusters on VMware,
         |