google-cloud-chronicle-v1 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: 81abdbd8d14ebafeb71a03f3e3868d86b88b9d91c4c194655f6f000b356ac3c6
4
- data.tar.gz: a862d2a86c21734c2a66e9df52e0e2c5bf87519d91f064eeffccab75a9fe6d37
3
+ metadata.gz: 0fa02a41a8004615fa2b73186596a78fd05fefec29cb9b9eebf78a76ee0988cc
4
+ data.tar.gz: 35dbc5b75df18ce2cb2a15a97fc37f7dced9bc252b6fe633bff1457e57ebb93c
5
5
  SHA512:
6
- metadata.gz: b73b513130a4bf3f95cde4d16f14b94713c0bebfb5694d357d88b746f4152166be49987b22d5d653a1fb37c1da5d5d12721c3aa992cd14af8d5a757029e03893
7
- data.tar.gz: 699b8809f8a145f9d16aefc37442bc7aed834957d91e8c22b81753f4652be6e555610a3f875ec3c25880975241da15cbd1e1642816dd59e798c9b8ca4e35f42e
6
+ metadata.gz: e7839d3d11ec781574901fe9135ad83ad2a5820c2a9a98f719b05f79540c898b1a1fb733066624b56554f0b826e0bb0778a06533b85f4c1c2bcca3ff959b6226
7
+ data.tar.gz: 04ff209f603ee6575894c81f7710892fd3b41c13553fc8837b7256b7feabe6cea84d106b9ed1e975a4e069304977c1c5334fb884fceef4bfd77bef295abd0be4
@@ -1197,8 +1197,6 @@ module Google
1197
1197
  # @return [::String,nil]
1198
1198
  # @!attribute [rw] credentials
1199
1199
  # Credentials to send with calls. You may provide any of the following types:
1200
- # * (`String`) The path to a service account key file in JSON format
1201
- # * (`Hash`) A service account key as a Hash
1202
1200
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1203
1201
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1204
1202
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1207,7 +1205,26 @@ module Google
1207
1205
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1208
1206
  # * (`nil`) indicating no credentials
1209
1207
  #
1210
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1208
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1209
+ # is deprecated. Providing an unvalidated credential configuration to
1210
+ # Google APIs can compromise the security of your systems and data.
1211
+ #
1212
+ # @example
1213
+ #
1214
+ # # The recommended way to provide credentials is to use the `make_creds` method
1215
+ # # on the appropriate credentials class for your environment.
1216
+ #
1217
+ # require "googleauth"
1218
+ #
1219
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1220
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1221
+ # )
1222
+ #
1223
+ # client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new do |config|
1224
+ # config.credentials = credentials
1225
+ # end
1226
+ #
1227
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1211
1228
  # external source for authentication to Google Cloud, you must validate it before
1212
1229
  # providing it to a Google API client library. Providing an unvalidated credential
1213
1230
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -709,8 +709,6 @@ module Google
709
709
  # @return [::String,nil]
710
710
  # @!attribute [rw] credentials
711
711
  # Credentials to send with calls. You may provide any of the following types:
712
- # * (`String`) The path to a service account key file in JSON format
713
- # * (`Hash`) A service account key as a Hash
714
712
  # * (`Google::Auth::Credentials`) A googleauth credentials object
715
713
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
716
714
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -719,7 +717,26 @@ module Google
719
717
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
720
718
  # * (`nil`) indicating no credentials
721
719
  #
722
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
720
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
721
+ # is deprecated. Providing an unvalidated credential configuration to
722
+ # Google APIs can compromise the security of your systems and data.
723
+ #
724
+ # @example
725
+ #
726
+ # # The recommended way to provide credentials is to use the `make_creds` method
727
+ # # on the appropriate credentials class for your environment.
728
+ #
729
+ # require "googleauth"
730
+ #
731
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
732
+ # json_key_io: ::File.open("/path/to/keyfile.json")
733
+ # )
734
+ #
735
+ # client = ::Google::Cloud::Chronicle::V1::EntityService::Client.new do |config|
736
+ # config.credentials = credentials
737
+ # end
738
+ #
739
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
723
740
  # external source for authentication to Google Cloud, you must validate it before
724
741
  # providing it to a Google API client library. Providing an unvalidated credential
725
742
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -310,8 +310,6 @@ module Google
310
310
  # @return [::String,nil]
311
311
  # @!attribute [rw] credentials
312
312
  # Credentials to send with calls. You may provide any of the following types:
313
- # * (`String`) The path to a service account key file in JSON format
314
- # * (`Hash`) A service account key as a Hash
315
313
  # * (`Google::Auth::Credentials`) A googleauth credentials object
316
314
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
317
315
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -320,7 +318,26 @@ module Google
320
318
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
321
319
  # * (`nil`) indicating no credentials
322
320
  #
323
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
321
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
322
+ # is deprecated. Providing an unvalidated credential configuration to
323
+ # Google APIs can compromise the security of your systems and data.
324
+ #
325
+ # @example
326
+ #
327
+ # # The recommended way to provide credentials is to use the `make_creds` method
328
+ # # on the appropriate credentials class for your environment.
329
+ #
330
+ # require "googleauth"
331
+ #
332
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
333
+ # json_key_io: ::File.open("/path/to/keyfile.json")
334
+ # )
335
+ #
336
+ # client = ::Google::Cloud::Chronicle::V1::InstanceService::Client.new do |config|
337
+ # config.credentials = credentials
338
+ # end
339
+ #
340
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
324
341
  # external source for authentication to Google Cloud, you must validate it before
325
342
  # providing it to a Google API client library. Providing an unvalidated credential
326
343
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -617,8 +617,6 @@ module Google
617
617
  # @return [::String,nil]
618
618
  # @!attribute [rw] credentials
619
619
  # Credentials to send with calls. You may provide any of the following types:
620
- # * (`String`) The path to a service account key file in JSON format
621
- # * (`Hash`) A service account key as a Hash
622
620
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
621
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
622
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -627,7 +625,26 @@ module Google
627
625
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
626
  # * (`nil`) indicating no credentials
629
627
  #
630
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
628
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
629
+ # is deprecated. Providing an unvalidated credential configuration to
630
+ # Google APIs can compromise the security of your systems and data.
631
+ #
632
+ # @example
633
+ #
634
+ # # The recommended way to provide credentials is to use the `make_creds` method
635
+ # # on the appropriate credentials class for your environment.
636
+ #
637
+ # require "googleauth"
638
+ #
639
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
640
+ # json_key_io: ::File.open("/path/to/keyfile.json")
641
+ # )
642
+ #
643
+ # client = ::Google::Cloud::Chronicle::V1::ReferenceListService::Client.new do |config|
644
+ # config.credentials = credentials
645
+ # end
646
+ #
647
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
631
648
  # external source for authentication to Google Cloud, you must validate it before
632
649
  # providing it to a Google API client library. Providing an unvalidated credential
633
650
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1443,8 +1443,6 @@ module Google
1443
1443
  # @return [::String,nil]
1444
1444
  # @!attribute [rw] credentials
1445
1445
  # Credentials to send with calls. You may provide any of the following types:
1446
- # * (`String`) The path to a service account key file in JSON format
1447
- # * (`Hash`) A service account key as a Hash
1448
1446
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1449
1447
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1450
1448
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1453,7 +1451,26 @@ module Google
1453
1451
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1454
1452
  # * (`nil`) indicating no credentials
1455
1453
  #
1456
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1454
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1455
+ # is deprecated. Providing an unvalidated credential configuration to
1456
+ # Google APIs can compromise the security of your systems and data.
1457
+ #
1458
+ # @example
1459
+ #
1460
+ # # The recommended way to provide credentials is to use the `make_creds` method
1461
+ # # on the appropriate credentials class for your environment.
1462
+ #
1463
+ # require "googleauth"
1464
+ #
1465
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1466
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1467
+ # )
1468
+ #
1469
+ # client = ::Google::Cloud::Chronicle::V1::RuleService::Client.new do |config|
1470
+ # config.credentials = credentials
1471
+ # end
1472
+ #
1473
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1457
1474
  # external source for authentication to Google Cloud, you must validate it before
1458
1475
  # providing it to a Google API client library. Providing an unvalidated credential
1459
1476
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # 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 Chronicle
23
23
  module V1
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-chronicle-v1
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