google-cloud-policy_simulator-v1 1.6.0 → 1.6.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/policy_simulator/v1/org_policy_violations_preview_service/client.rb +20 -3
- data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/operations.rb +20 -3
- data/lib/google/cloud/policy_simulator/v1/simulator/client.rb +20 -3
- data/lib/google/cloud/policy_simulator/v1/simulator/operations.rb +20 -3
- data/lib/google/cloud/policy_simulator/v1/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: 1349249b8d368f23719a306004d59820797e8d37e01ddc703c9ad1e83bd74146
|
|
4
|
+
data.tar.gz: 06e1e5ecf49ce3f8e34aedc02248f4a7a2327dbe0cbaa0d4d1b513032a7c2725
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a14290817addc54d1fc824cde94222668c8193ae559f2e5cfc99b72b15608f9dc3d478b0649213735164c5714fecc96af7d2843577d61e5be6732de9d12257a9
|
|
7
|
+
data.tar.gz: 2393ab61c01206ae201dbccbd55f1b6ac7ed5ec75fbc977061a7ee6e6698f1e7665867e43bcf62b6bfdac8bb2e1b74e6d4e2004a99dc9e302bf3b8547037a771
|
|
@@ -673,8 +673,6 @@ module Google
|
|
|
673
673
|
# @return [::String,nil]
|
|
674
674
|
# @!attribute [rw] credentials
|
|
675
675
|
# Credentials to send with calls. You may provide any of the following types:
|
|
676
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
677
|
-
# * (`Hash`) A service account key as a Hash
|
|
678
676
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
679
677
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
680
678
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -683,7 +681,26 @@ module Google
|
|
|
683
681
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
684
682
|
# * (`nil`) indicating no credentials
|
|
685
683
|
#
|
|
686
|
-
# Warning:
|
|
684
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
685
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
686
|
+
# Google APIs can compromise the security of your systems and data.
|
|
687
|
+
#
|
|
688
|
+
# @example
|
|
689
|
+
#
|
|
690
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
691
|
+
# # on the appropriate credentials class for your environment.
|
|
692
|
+
#
|
|
693
|
+
# require "googleauth"
|
|
694
|
+
#
|
|
695
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
696
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
697
|
+
# )
|
|
698
|
+
#
|
|
699
|
+
# client = ::Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreviewService::Client.new do |config|
|
|
700
|
+
# config.credentials = credentials
|
|
701
|
+
# end
|
|
702
|
+
#
|
|
703
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
687
704
|
# external source for authentication to Google Cloud, you must validate it before
|
|
688
705
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
689
706
|
# configuration to Google APIs can compromise the security of your systems and data.
|
data/lib/google/cloud/policy_simulator/v1/org_policy_violations_preview_service/operations.rb
CHANGED
|
@@ -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:
|
|
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.
|
|
@@ -563,8 +563,6 @@ module Google
|
|
|
563
563
|
# @return [::String,nil]
|
|
564
564
|
# @!attribute [rw] credentials
|
|
565
565
|
# Credentials to send with calls. You may provide any of the following types:
|
|
566
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
567
|
-
# * (`Hash`) A service account key as a Hash
|
|
568
566
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
569
567
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
570
568
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -573,7 +571,26 @@ module Google
|
|
|
573
571
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
574
572
|
# * (`nil`) indicating no credentials
|
|
575
573
|
#
|
|
576
|
-
# Warning:
|
|
574
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
575
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
576
|
+
# Google APIs can compromise the security of your systems and data.
|
|
577
|
+
#
|
|
578
|
+
# @example
|
|
579
|
+
#
|
|
580
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
581
|
+
# # on the appropriate credentials class for your environment.
|
|
582
|
+
#
|
|
583
|
+
# require "googleauth"
|
|
584
|
+
#
|
|
585
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
586
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
587
|
+
# )
|
|
588
|
+
#
|
|
589
|
+
# client = ::Google::Cloud::PolicySimulator::V1::Simulator::Client.new do |config|
|
|
590
|
+
# config.credentials = credentials
|
|
591
|
+
# end
|
|
592
|
+
#
|
|
593
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
577
594
|
# external source for authentication to Google Cloud, you must validate it before
|
|
578
595
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
579
596
|
# 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:
|
|
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.
|