google-cloud-cloud_controls_partner-v1beta 0.7.0 → 0.7.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: 54daab324144d7aca104f4c00a13eb7d24d7c08b8fc023e0e86909191aa7041d
4
- data.tar.gz: 9f744700cbbe01ba4e460b73ab53a1729c8d3235aa88bf3f5db919ca5fcadbfc
3
+ metadata.gz: eb362fa66236b659aa1da52e98f12d422043e3947d0ef884319443298cc6c820
4
+ data.tar.gz: d1683b275decab004df3c7dd8eaa403330041719ed99084b233b33e665d56ceb
5
5
  SHA512:
6
- metadata.gz: 2a3f4f4eb9917413c2ba48ce7d0d307f9e0e0bd8def405f7625d50affcd8c7f9a0635ea2df33583a19c43c4397c2895fe0f17c4d5fd1803265ab91b9cc815afe
7
- data.tar.gz: 002440ae552ea1710b84ab94b28748bc7914e4c182f10769f7075b36acec1aebffa7aa5534d88c4a497ff4241444ee396c9eb0d183bf549e63cfb0f978eaeae9
6
+ metadata.gz: 49396897746e231177ad9c666061ef5103e32b41789ee72c92a5b134e5fa0106f6f8febda927006806605f8db06571c1223c6631d399269683065e6d52ed6e09
7
+ data.tar.gz: 16733ed3804ffbea82bc9fba2b5eecdb49c4b7a99b8969ee060bb844675979f85037b8d640d8916ba906092bb92cb72954cc4eef6152ef27078a68635c0a3d6d
@@ -1263,8 +1263,6 @@ module Google
1263
1263
  # @return [::String,nil]
1264
1264
  # @!attribute [rw] credentials
1265
1265
  # Credentials to send with calls. You may provide any of the following types:
1266
- # * (`String`) The path to a service account key file in JSON format
1267
- # * (`Hash`) A service account key as a Hash
1268
1266
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1269
1267
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1270
1268
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1273,7 +1271,26 @@ module Google
1273
1271
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1274
1272
  # * (`nil`) indicating no credentials
1275
1273
  #
1276
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1274
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1275
+ # is deprecated. Providing an unvalidated credential configuration to
1276
+ # Google APIs can compromise the security of your systems and data.
1277
+ #
1278
+ # @example
1279
+ #
1280
+ # # The recommended way to provide credentials is to use the `make_creds` method
1281
+ # # on the appropriate credentials class for your environment.
1282
+ #
1283
+ # require "googleauth"
1284
+ #
1285
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1286
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1287
+ # )
1288
+ #
1289
+ # client = ::Google::Cloud::CloudControlsPartner::V1beta::CloudControlsPartnerCore::Client.new do |config|
1290
+ # config.credentials = credentials
1291
+ # end
1292
+ #
1293
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1277
1294
  # external source for authentication to Google Cloud, you must validate it before
1278
1295
  # providing it to a Google API client library. Providing an unvalidated credential
1279
1296
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -427,8 +427,6 @@ module Google
427
427
  # @return [::String,nil]
428
428
  # @!attribute [rw] credentials
429
429
  # Credentials to send with calls. You may provide any of the following types:
430
- # * (`String`) The path to a service account key file in JSON format
431
- # * (`Hash`) A service account key as a Hash
432
430
  # * (`Google::Auth::Credentials`) A googleauth credentials object
433
431
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
434
432
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -437,7 +435,26 @@ module Google
437
435
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
438
436
  # * (`nil`) indicating no credentials
439
437
  #
440
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
438
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
439
+ # is deprecated. Providing an unvalidated credential configuration to
440
+ # Google APIs can compromise the security of your systems and data.
441
+ #
442
+ # @example
443
+ #
444
+ # # The recommended way to provide credentials is to use the `make_creds` method
445
+ # # on the appropriate credentials class for your environment.
446
+ #
447
+ # require "googleauth"
448
+ #
449
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
450
+ # json_key_io: ::File.open("/path/to/keyfile.json")
451
+ # )
452
+ #
453
+ # client = ::Google::Cloud::CloudControlsPartner::V1beta::CloudControlsPartnerMonitoring::Client.new do |config|
454
+ # config.credentials = credentials
455
+ # end
456
+ #
457
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
441
458
  # external source for authentication to Google Cloud, you must validate it before
442
459
  # providing it to a Google API client library. Providing an unvalidated credential
443
460
  # 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 CloudControlsPartner
23
23
  module V1beta
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.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-cloud_controls_partner-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC