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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 173d93c95b4ddaecca1c5d93f0ae4a85ef20514d59aec01e8e28f416ba0f6b29
4
- data.tar.gz: 5e2237088a1bc6ea1e3c986d6bfe069462f53fad0a2a6668fa56e7603fc2a42c
3
+ metadata.gz: cc5cea628ca751d46b4476855446dc3eb7e4bbd450a760b0fcf91429f9adee91
4
+ data.tar.gz: b2ee4b66036c050e282edbdcd11a54c97cc54050bbb86fa09b6f0edc2b7129b9
5
5
  SHA512:
6
- metadata.gz: 1a9746ec89e4461de89c2251b821f892d1d326f640e254209610f7f7340a77680fa85dc0ed63c057a689592fe826fd464a066e5ae511679e386e9f96b088eb34
7
- data.tar.gz: '048541c11ca94d0cf422ce211eb132c51a3302e704cf2ade88c479249a69dbd14365c2794246f87af6bc7ced66eb5cd54cfbe0e0332ee5d6a081e278d80bbbbe'
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ErrorReporting
23
23
  module V1beta1
24
- VERSION = "0.15.0"
24
+ VERSION = "0.15.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-error_reporting-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC