google-cloud-billing-budgets-v1beta1 0.15.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: 6f8fb4aa964bf36e89876a896bfe1ae905379d5aa66d90639e8c9488b6226b53
         | 
| 4 | 
            +
              data.tar.gz: 256be7b6673f5c887df336878a536d3fe383e3e30ed2848af28c0e17751198eb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: de4aff04bd7395dc29b7c7df09771c87f1c44de39e66212b7a781d59e0b1422ffda342cd66d6160d7c84c85c3463952985750b50f11b274338b7648c81b4e6a4
         | 
| 7 | 
            +
              data.tar.gz: 072a78b33f0bb3aa836384e23338c79bbd5138d948a4d674487d0eaba9c3de858163f957b5617e72bfcb895e9383b058865d5957d3a9482c932b605afcda4da7
         | 
| @@ -717,8 +717,6 @@ module Google | |
| 717 717 | 
             
                          #   @return [::String,nil]
         | 
| 718 718 | 
             
                          # @!attribute [rw] credentials
         | 
| 719 719 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 720 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 721 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 722 720 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 723 721 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 724 722 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -727,7 +725,26 @@ module Google | |
| 727 725 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 728 726 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 729 727 | 
             
                          #
         | 
| 730 | 
            -
                          #   Warning:  | 
| 728 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 729 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 730 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 731 | 
            +
                          #
         | 
| 732 | 
            +
                          #   @example
         | 
| 733 | 
            +
                          #
         | 
| 734 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 735 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 736 | 
            +
                          #
         | 
| 737 | 
            +
                          #     require "googleauth"
         | 
| 738 | 
            +
                          #
         | 
| 739 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 740 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 741 | 
            +
                          #     )
         | 
| 742 | 
            +
                          #
         | 
| 743 | 
            +
                          #     client = ::Google::Cloud::Billing::Budgets::V1beta1::BudgetService::Client.new do |config|
         | 
| 744 | 
            +
                          #       config.credentials = credentials
         | 
| 745 | 
            +
                          #     end
         | 
| 746 | 
            +
                          #
         | 
| 747 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 731 748 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 732 749 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 733 750 | 
             
                          #   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-billing-budgets-v1beta1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.16.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
         | 
| @@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 91 91 | 
             
                - !ruby/object:Gem::Version
         | 
| 92 92 | 
             
                  version: '0'
         | 
| 93 93 | 
             
            requirements: []
         | 
| 94 | 
            -
            rubygems_version: 3.6. | 
| 94 | 
            +
            rubygems_version: 3.6.9
         | 
| 95 95 | 
             
            specification_version: 4
         | 
| 96 96 | 
             
            summary: The Cloud Billing Budget API stores Cloud Billing budgets, which define a
         | 
| 97 97 | 
             
              budget plan and the rules to execute as spend is tracked against that plan.
         |