google-cloud-support-v2beta 0.3.0 → 0.3.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: 862da1418dda5c2d06291fe7acb25bf16de7459b546f2a797ca62b66393cb839
4
- data.tar.gz: 4e47080947512be8c6ad3e9885d92197e0c5725dda9838dfc148172fd49294c3
3
+ metadata.gz: 65e67441789e10f7830d0025e4560cd0c31cba665ce757b6619000554d2c730c
4
+ data.tar.gz: 5d69c067ee3bc13765c1640fc10b3f8bb42399f1c92a7e48b4f0d9a1baa60a38
5
5
  SHA512:
6
- metadata.gz: 8abb8323fd81efcbd7805b1aa600cba11a00a2f423802c38a33299e4da4ff47f5f30ca3b392f7780942bbb7ebc78ce0479d1ce6ab83f9b64a232b03279e80962
7
- data.tar.gz: 8c87f29a8d8ae987615022826eae158dc96ee686e36fcf32810afd20c844bff421645da39af221395c98c62f3dbe2f9eacd8c73e2b98dcf08c46298721e77c50
6
+ metadata.gz: 5bbfd4fca9fd73f3dc159e827f7ae7d08bb2aaf69d8cd065d35dd8b23275cde708d86217f42ddac43bda3007cdcdd77cfdcbbd37c134cd0fdbecd0a17b7a1788
7
+ data.tar.gz: e509e66833620e2a459365643e6286f3cf059aa1a67ddf7437cc445efa23a401efb8de5c405e546e1296de97ce189eb931ba40f9a671335a4a19c5775ff15437
@@ -411,8 +411,6 @@ module Google
411
411
  # @return [::String,nil]
412
412
  # @!attribute [rw] credentials
413
413
  # Credentials to send with calls. You may provide any of the following types:
414
- # * (`String`) The path to a service account key file in JSON format
415
- # * (`Hash`) A service account key as a Hash
416
414
  # * (`Google::Auth::Credentials`) A googleauth credentials object
417
415
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
418
416
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -421,7 +419,26 @@ module Google
421
419
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
422
420
  # * (`nil`) indicating no credentials
423
421
  #
424
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
422
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
423
+ # is deprecated. Providing an unvalidated credential configuration to
424
+ # Google APIs can compromise the security of your systems and data.
425
+ #
426
+ # @example
427
+ #
428
+ # # The recommended way to provide credentials is to use the `make_creds` method
429
+ # # on the appropriate credentials class for your environment.
430
+ #
431
+ # require "googleauth"
432
+ #
433
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
434
+ # json_key_io: ::File.open("/path/to/keyfile.json")
435
+ # )
436
+ #
437
+ # client = ::Google::Cloud::Support::V2beta::CaseAttachmentService::Client.new do |config|
438
+ # config.credentials = credentials
439
+ # end
440
+ #
441
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
425
442
  # external source for authentication to Google Cloud, you must validate it before
426
443
  # providing it to a Google API client library. Providing an unvalidated credential
427
444
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1049,8 +1049,6 @@ module Google
1049
1049
  # @return [::String,nil]
1050
1050
  # @!attribute [rw] credentials
1051
1051
  # Credentials to send with calls. You may provide any of the following types:
1052
- # * (`String`) The path to a service account key file in JSON format
1053
- # * (`Hash`) A service account key as a Hash
1054
1052
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1055
1053
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1056
1054
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1059,7 +1057,26 @@ module Google
1059
1057
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1060
1058
  # * (`nil`) indicating no credentials
1061
1059
  #
1062
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1060
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1061
+ # is deprecated. Providing an unvalidated credential configuration to
1062
+ # Google APIs can compromise the security of your systems and data.
1063
+ #
1064
+ # @example
1065
+ #
1066
+ # # The recommended way to provide credentials is to use the `make_creds` method
1067
+ # # on the appropriate credentials class for your environment.
1068
+ #
1069
+ # require "googleauth"
1070
+ #
1071
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1072
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1073
+ # )
1074
+ #
1075
+ # client = ::Google::Cloud::Support::V2beta::CaseService::Client.new do |config|
1076
+ # config.credentials = credentials
1077
+ # end
1078
+ #
1079
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1063
1080
  # external source for authentication to Google Cloud, you must validate it before
1064
1081
  # providing it to a Google API client library. Providing an unvalidated credential
1065
1082
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -495,8 +495,6 @@ module Google
495
495
  # @return [::String,nil]
496
496
  # @!attribute [rw] credentials
497
497
  # Credentials to send with calls. You may provide any of the following types:
498
- # * (`String`) The path to a service account key file in JSON format
499
- # * (`Hash`) A service account key as a Hash
500
498
  # * (`Google::Auth::Credentials`) A googleauth credentials object
501
499
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
502
500
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -505,7 +503,26 @@ module Google
505
503
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
506
504
  # * (`nil`) indicating no credentials
507
505
  #
508
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
506
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
507
+ # is deprecated. Providing an unvalidated credential configuration to
508
+ # Google APIs can compromise the security of your systems and data.
509
+ #
510
+ # @example
511
+ #
512
+ # # The recommended way to provide credentials is to use the `make_creds` method
513
+ # # on the appropriate credentials class for your environment.
514
+ #
515
+ # require "googleauth"
516
+ #
517
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
518
+ # json_key_io: ::File.open("/path/to/keyfile.json")
519
+ # )
520
+ #
521
+ # client = ::Google::Cloud::Support::V2beta::CommentService::Client.new do |config|
522
+ # config.credentials = credentials
523
+ # end
524
+ #
525
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
509
526
  # external source for authentication to Google Cloud, you must validate it before
510
527
  # providing it to a Google API client library. Providing an unvalidated credential
511
528
  # 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: If you accept a credential configuration (JSON file or Hash) from an
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::Support::V2beta::FeedService::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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Support
23
23
  module V2beta
24
- VERSION = "0.3.0"
24
+ VERSION = "0.3.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-support-v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC