google-cloud-gdc_hardware_management-v1alpha 0.12.0 → 0.12.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/gdc_hardware_management/v1alpha/gdc_hardware_management/client.rb +20 -3
- data/lib/google/cloud/gdc_hardware_management/v1alpha/gdc_hardware_management/operations.rb +20 -3
- data/lib/google/cloud/gdc_hardware_management/v1alpha/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: f7a1b77b85ddd8a8ff73662cfed3a22daedf226e2d812d7ff4dd7a94ae634068
|
|
4
|
+
data.tar.gz: bb07a9fb242e4675d9b3b2096c9ee1a954860259d867d8c25d07516c7124d1da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81b2f6dba17572ac28e0cab9f58f6690b9d7fc9b2ae170c8538d4d80ab130e5e6df68c6766e160a791dca85b92630d8db47827129dd1435b84391bf8e01fec00
|
|
7
|
+
data.tar.gz: '08d17511b1d451d228072d7c959e6b303417619af15fd396bff79e7f851f769d0f09847ef2172ddccdd753ec6864de89e9344a0dd72f327b89bb76ff3e415242'
|
|
@@ -4076,8 +4076,6 @@ module Google
|
|
|
4076
4076
|
# @return [::String,nil]
|
|
4077
4077
|
# @!attribute [rw] credentials
|
|
4078
4078
|
# Credentials to send with calls. You may provide any of the following types:
|
|
4079
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
4080
|
-
# * (`Hash`) A service account key as a Hash
|
|
4081
4079
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
4082
4080
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
4083
4081
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -4086,7 +4084,26 @@ module Google
|
|
|
4086
4084
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
4087
4085
|
# * (`nil`) indicating no credentials
|
|
4088
4086
|
#
|
|
4089
|
-
# Warning:
|
|
4087
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
4088
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
4089
|
+
# Google APIs can compromise the security of your systems and data.
|
|
4090
|
+
#
|
|
4091
|
+
# @example
|
|
4092
|
+
#
|
|
4093
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
4094
|
+
# # on the appropriate credentials class for your environment.
|
|
4095
|
+
#
|
|
4096
|
+
# require "googleauth"
|
|
4097
|
+
#
|
|
4098
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
4099
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
4100
|
+
# )
|
|
4101
|
+
#
|
|
4102
|
+
# client = ::Google::Cloud::GDCHardwareManagement::V1alpha::GDCHardwareManagement::Client.new do |config|
|
|
4103
|
+
# config.credentials = credentials
|
|
4104
|
+
# end
|
|
4105
|
+
#
|
|
4106
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
4090
4107
|
# external source for authentication to Google Cloud, you must validate it before
|
|
4091
4108
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
4092
4109
|
# 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.
|