google-cloud-saas_platform-saas_service_mgmt-v1beta1 0.1.0 → 0.2.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 +4 -4
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/client.rb +20 -3
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/client.rb +20 -3
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/version.rb +1 -1
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 247bea5b476f5c1649598dcc6dc0f92d2cf0e5058ed277ea5b1888c688dcdbd4
         | 
| 4 | 
            +
              data.tar.gz: ff66c34089760a5c9c81c1a8d3cb4f1c67bed9d20c420cdd7c87f99422cd8133
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 3797e0ebd6b6d9c26a3bfd20a4f5b17a5887f49bc592047356e583acaaa1c7e817896b9e364943c9c010526b354a7d623d38440a72c34f24222e92efe59c10c2
         | 
| 7 | 
            +
              data.tar.gz: 2bc9dbd3814e7577d250cfbbcfe7b0d55be76fe30674fa0ce88ce5421e5c9270d35c952b4f6fd2d66572627e14f1e09e1c17c8db517f6d6dd7ccf53ba00573f3
         | 
| @@ -3427,8 +3427,6 @@ module Google | |
| 3427 3427 | 
             
                          #   @return [::String,nil]
         | 
| 3428 3428 | 
             
                          # @!attribute [rw] credentials
         | 
| 3429 3429 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 3430 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 3431 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 3432 3430 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 3433 3431 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 3434 3432 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -3437,7 +3435,26 @@ module Google | |
| 3437 3435 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 3438 3436 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 3439 3437 | 
             
                          #
         | 
| 3440 | 
            -
                          #   Warning:  | 
| 3438 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 3439 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 3440 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 3441 | 
            +
                          #
         | 
| 3442 | 
            +
                          #   @example
         | 
| 3443 | 
            +
                          #
         | 
| 3444 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 3445 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 3446 | 
            +
                          #
         | 
| 3447 | 
            +
                          #     require "googleauth"
         | 
| 3448 | 
            +
                          #
         | 
| 3449 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 3450 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 3451 | 
            +
                          #     )
         | 
| 3452 | 
            +
                          #
         | 
| 3453 | 
            +
                          #     client = ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasDeployments::Client.new do |config|
         | 
| 3454 | 
            +
                          #       config.credentials = credentials
         | 
| 3455 | 
            +
                          #     end
         | 
| 3456 | 
            +
                          #
         | 
| 3457 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 3441 3458 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 3442 3459 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 3443 3460 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -1299,8 +1299,6 @@ module Google | |
| 1299 1299 | 
             
                          #   @return [::String,nil]
         | 
| 1300 1300 | 
             
                          # @!attribute [rw] credentials
         | 
| 1301 1301 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 1302 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1303 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 1304 1302 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1305 1303 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1306 1304 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -1309,7 +1307,26 @@ module Google | |
| 1309 1307 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1310 1308 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 1311 1309 | 
             
                          #
         | 
| 1312 | 
            -
                          #   Warning:  | 
| 1310 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 1311 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 1312 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 1313 | 
            +
                          #
         | 
| 1314 | 
            +
                          #   @example
         | 
| 1315 | 
            +
                          #
         | 
| 1316 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 1317 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 1318 | 
            +
                          #
         | 
| 1319 | 
            +
                          #     require "googleauth"
         | 
| 1320 | 
            +
                          #
         | 
| 1321 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 1322 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 1323 | 
            +
                          #     )
         | 
| 1324 | 
            +
                          #
         | 
| 1325 | 
            +
                          #     client = ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasRollouts::Client.new do |config|
         | 
| 1326 | 
            +
                          #       config.credentials = credentials
         | 
| 1327 | 
            +
                          #     end
         | 
| 1328 | 
            +
                          #
         | 
| 1329 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1313 1330 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1314 1331 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1315 1332 | 
             
                          #   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-saas_platform-saas_service_mgmt-v1beta1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1 | 
| 4 | 
            +
              version: 0.2.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
         |