google-cloud-error_reporting-v1beta1 0.15.0 → 0.15.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/error_reporting/v1beta1/error_group_service/client.rb +20 -3
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service/client.rb +20 -3
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service/client.rb +20 -3
- data/lib/google/cloud/error_reporting/v1beta1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc5cea628ca751d46b4476855446dc3eb7e4bbd450a760b0fcf91429f9adee91
|
|
4
|
+
data.tar.gz: b2ee4b66036c050e282edbdcd11a54c97cc54050bbb86fa09b6f0edc2b7129b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9aea9004462a2cf3a879f735c772ae9c41532c3d9d81d3370c982aabcc52e5bb63cd691fbbc05377b83338b1f22a35d8034d9ffc9e24bd92a2e689828b48bf2c
|
|
7
|
+
data.tar.gz: fa7468cc74d9b32834f4a2bb761297b4d45db6a3f4db28804d0803923a538b44c3649945b0f4995c7353ac49c409e07cd8e5ece6ad574c525f299feebf52f572
|
|
@@ -412,8 +412,6 @@ module Google
|
|
|
412
412
|
# @return [::String,nil]
|
|
413
413
|
# @!attribute [rw] credentials
|
|
414
414
|
# Credentials to send with calls. You may provide any of the following types:
|
|
415
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
416
|
-
# * (`Hash`) A service account key as a Hash
|
|
417
415
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
418
416
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
419
417
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -422,7 +420,26 @@ module Google
|
|
|
422
420
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
423
421
|
# * (`nil`) indicating no credentials
|
|
424
422
|
#
|
|
425
|
-
# Warning:
|
|
423
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
424
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
425
|
+
# Google APIs can compromise the security of your systems and data.
|
|
426
|
+
#
|
|
427
|
+
# @example
|
|
428
|
+
#
|
|
429
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
430
|
+
# # on the appropriate credentials class for your environment.
|
|
431
|
+
#
|
|
432
|
+
# require "googleauth"
|
|
433
|
+
#
|
|
434
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
435
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
436
|
+
# )
|
|
437
|
+
#
|
|
438
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new do |config|
|
|
439
|
+
# config.credentials = credentials
|
|
440
|
+
# end
|
|
441
|
+
#
|
|
442
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
426
443
|
# external source for authentication to Google Cloud, you must validate it before
|
|
427
444
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
428
445
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -597,8 +597,6 @@ module Google
|
|
|
597
597
|
# @return [::String,nil]
|
|
598
598
|
# @!attribute [rw] credentials
|
|
599
599
|
# Credentials to send with calls. You may provide any of the following types:
|
|
600
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
601
|
-
# * (`Hash`) A service account key as a Hash
|
|
602
600
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
603
601
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
604
602
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -607,7 +605,26 @@ module Google
|
|
|
607
605
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
608
606
|
# * (`nil`) indicating no credentials
|
|
609
607
|
#
|
|
610
|
-
# Warning:
|
|
608
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
609
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
610
|
+
# Google APIs can compromise the security of your systems and data.
|
|
611
|
+
#
|
|
612
|
+
# @example
|
|
613
|
+
#
|
|
614
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
615
|
+
# # on the appropriate credentials class for your environment.
|
|
616
|
+
#
|
|
617
|
+
# require "googleauth"
|
|
618
|
+
#
|
|
619
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
620
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
621
|
+
# )
|
|
622
|
+
#
|
|
623
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new do |config|
|
|
624
|
+
# config.credentials = credentials
|
|
625
|
+
# end
|
|
626
|
+
#
|
|
627
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
611
628
|
# external source for authentication to Google Cloud, you must validate it before
|
|
612
629
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
613
630
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -331,8 +331,6 @@ module Google
|
|
|
331
331
|
# @return [::String,nil]
|
|
332
332
|
# @!attribute [rw] credentials
|
|
333
333
|
# Credentials to send with calls. You may provide any of the following types:
|
|
334
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
335
|
-
# * (`Hash`) A service account key as a Hash
|
|
336
334
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
337
335
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
338
336
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -341,7 +339,26 @@ module Google
|
|
|
341
339
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
342
340
|
# * (`nil`) indicating no credentials
|
|
343
341
|
#
|
|
344
|
-
# Warning:
|
|
342
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
343
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
344
|
+
# Google APIs can compromise the security of your systems and data.
|
|
345
|
+
#
|
|
346
|
+
# @example
|
|
347
|
+
#
|
|
348
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
349
|
+
# # on the appropriate credentials class for your environment.
|
|
350
|
+
#
|
|
351
|
+
# require "googleauth"
|
|
352
|
+
#
|
|
353
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
354
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
355
|
+
# )
|
|
356
|
+
#
|
|
357
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new do |config|
|
|
358
|
+
# config.credentials = credentials
|
|
359
|
+
# end
|
|
360
|
+
#
|
|
361
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
345
362
|
# external source for authentication to Google Cloud, you must validate it before
|
|
346
363
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
347
364
|
# configuration to Google APIs can compromise the security of your systems and data.
|