google-cloud-monitoring-v3 1.6.1 → 1.7.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/monitoring/v3/alert_policy_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/group_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/metric_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/query_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/snooze_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +20 -3
 - data/lib/google/cloud/monitoring/v3/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: 0a2cad12d7b0c644f951cc5d2c55820fa47083b02d28a2f805f1fd725246cddf
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 9c6574e8f3165c5175d8a81fabf57e2a0880ead1c09c0d0ee73f073e0efec136
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: ac243b501f8013e6e76f6fd0436bec3ae858edbfd6f620b02afbbf5087ce1e08b995232b414bb3244b09bf22ef3c94d9dc30cd269f7a7e332abdbdbb764a24af
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2e5f2902b496d17e6f35536d33a6ba738cf6beaa3ced4d6360955a5b5684f8bc35cf110f09cc79ea6023ff734395815d511057d7e27b7c7093957f385040b733
         
     | 
| 
         @@ -768,8 +768,6 @@ module Google 
     | 
|
| 
       768 
768 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       769 
769 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       770 
770 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       771 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       772 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       773 
771 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       774 
772 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       775 
773 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -778,7 +776,26 @@ module Google 
     | 
|
| 
       778 
776 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       779 
777 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       780 
778 
     | 
    
         
             
                        #
         
     | 
| 
       781 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 779 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 780 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 781 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 782 
     | 
    
         
            +
                        #
         
     | 
| 
      
 783 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 784 
     | 
    
         
            +
                        #
         
     | 
| 
      
 785 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 786 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 787 
     | 
    
         
            +
                        #
         
     | 
| 
      
 788 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 789 
     | 
    
         
            +
                        #
         
     | 
| 
      
 790 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 791 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 792 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 793 
     | 
    
         
            +
                        #
         
     | 
| 
      
 794 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::AlertPolicyService::Client.new do |config|
         
     | 
| 
      
 795 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 796 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 797 
     | 
    
         
            +
                        #
         
     | 
| 
      
 798 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       782 
799 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       783 
800 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       784 
801 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -862,8 +862,6 @@ module Google 
     | 
|
| 
       862 
862 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       863 
863 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       864 
864 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       865 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       866 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       867 
865 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       868 
866 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       869 
867 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -872,7 +870,26 @@ module Google 
     | 
|
| 
       872 
870 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       873 
871 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       874 
872 
     | 
    
         
             
                        #
         
     | 
| 
       875 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 873 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 874 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 875 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 876 
     | 
    
         
            +
                        #
         
     | 
| 
      
 877 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 878 
     | 
    
         
            +
                        #
         
     | 
| 
      
 879 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 880 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 881 
     | 
    
         
            +
                        #
         
     | 
| 
      
 882 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 883 
     | 
    
         
            +
                        #
         
     | 
| 
      
 884 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 885 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 886 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 887 
     | 
    
         
            +
                        #
         
     | 
| 
      
 888 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::GroupService::Client.new do |config|
         
     | 
| 
      
 889 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 890 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 891 
     | 
    
         
            +
                        #
         
     | 
| 
      
 892 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       876 
893 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       877 
894 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       878 
895 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -1198,8 +1198,6 @@ module Google 
     | 
|
| 
       1198 
1198 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1199 
1199 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1200 
1200 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1201 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1202 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1203 
1201 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1204 
1202 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1205 
1203 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1208,7 +1206,26 @@ module Google 
     | 
|
| 
       1208 
1206 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1209 
1207 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1210 
1208 
     | 
    
         
             
                        #
         
     | 
| 
       1211 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1209 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1210 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1211 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1212 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1213 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1214 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1215 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1216 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1217 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1218 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1219 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1220 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1221 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1222 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1223 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1224 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new do |config|
         
     | 
| 
      
 1225 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1226 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1227 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1228 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1212 
1229 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1213 
1230 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1214 
1231 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -1267,8 +1267,6 @@ module Google 
     | 
|
| 
       1267 
1267 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1268 
1268 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1269 
1269 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1270 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1271 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1272 
1270 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1273 
1271 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1274 
1272 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1277,7 +1275,26 @@ module Google 
     | 
|
| 
       1277 
1275 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1278 
1276 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1279 
1277 
     | 
    
         
             
                        #
         
     | 
| 
       1280 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1278 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1279 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1280 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1281 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1282 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1283 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1284 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1285 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1286 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1287 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1288 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1289 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1290 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1291 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1292 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1293 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::NotificationChannelService::Client.new do |config|
         
     | 
| 
      
 1294 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1295 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1296 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1297 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1281 
1298 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1282 
1299 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1283 
1300 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -328,8 +328,6 @@ module Google 
     | 
|
| 
       328 
328 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       329 
329 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       330 
330 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       331 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       332 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       333 
331 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       334 
332 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       335 
333 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -338,7 +336,26 @@ module Google 
     | 
|
| 
       338 
336 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       339 
337 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       340 
338 
     | 
    
         
             
                        #
         
     | 
| 
       341 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 339 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 340 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 341 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 342 
     | 
    
         
            +
                        #
         
     | 
| 
      
 343 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 344 
     | 
    
         
            +
                        #
         
     | 
| 
      
 345 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 346 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 347 
     | 
    
         
            +
                        #
         
     | 
| 
      
 348 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 349 
     | 
    
         
            +
                        #
         
     | 
| 
      
 350 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 351 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 352 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 353 
     | 
    
         
            +
                        #
         
     | 
| 
      
 354 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::QueryService::Client.new do |config|
         
     | 
| 
      
 355 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 356 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 357 
     | 
    
         
            +
                        #
         
     | 
| 
      
 358 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       342 
359 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       343 
360 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       344 
361 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -1210,8 +1210,6 @@ module Google 
     | 
|
| 
       1210 
1210 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1211 
1211 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1212 
1212 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1213 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1214 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1215 
1213 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1216 
1214 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1217 
1215 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1220,7 +1218,26 @@ module Google 
     | 
|
| 
       1220 
1218 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1221 
1219 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1222 
1220 
     | 
    
         
             
                        #
         
     | 
| 
       1223 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1221 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1222 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1223 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1224 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1225 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1226 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1227 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1228 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1229 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1230 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1231 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1232 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1233 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1234 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1235 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1236 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::ServiceMonitoringService::Client.new do |config|
         
     | 
| 
      
 1237 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1238 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1239 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1240 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1224 
1241 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1225 
1242 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1226 
1243 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -640,8 +640,6 @@ module Google 
     | 
|
| 
       640 
640 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       641 
641 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       642 
642 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       643 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       644 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       645 
643 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       646 
644 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       647 
645 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -650,7 +648,26 @@ module Google 
     | 
|
| 
       650 
648 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       651 
649 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       652 
650 
     | 
    
         
             
                        #
         
     | 
| 
       653 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 651 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 652 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 653 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::SnoozeService::Client.new do |config|
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       654 
671 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       655 
672 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       656 
673 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -822,8 +822,6 @@ module Google 
     | 
|
| 
       822 
822 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       823 
823 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       824 
824 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       825 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       826 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       827 
825 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       828 
826 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       829 
827 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -832,7 +830,26 @@ module Google 
     | 
|
| 
       832 
830 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       833 
831 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       834 
832 
     | 
    
         
             
                        #
         
     | 
| 
       835 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 833 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 834 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 835 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 836 
     | 
    
         
            +
                        #
         
     | 
| 
      
 837 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 838 
     | 
    
         
            +
                        #
         
     | 
| 
      
 839 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 840 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 841 
     | 
    
         
            +
                        #
         
     | 
| 
      
 842 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 843 
     | 
    
         
            +
                        #
         
     | 
| 
      
 844 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 845 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 846 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 847 
     | 
    
         
            +
                        #
         
     | 
| 
      
 848 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Monitoring::V3::UptimeCheckService::Client.new do |config|
         
     | 
| 
      
 849 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 850 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 851 
     | 
    
         
            +
                        #
         
     | 
| 
      
 852 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       836 
853 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       837 
854 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       838 
855 
     | 
    
         
             
                        #   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-monitoring-v3
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.7.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
         
     |