google-cloud-security-public_ca-v1 1.1.0 → 1.2.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: 931cb774976b5105148a7aba5eab8ced472e4607b5e86cd2410d4e57f05a9ef9
4
- data.tar.gz: 59cb8e5e9b08503cb51bbae70b1f2cdbd9dfdf6830ec320ba8533bb7038df230
3
+ metadata.gz: 939dc89ef435576df288cd573a1ae0910a7de6e5bb3ce47ca0878992b590569e
4
+ data.tar.gz: 1ed1a623d96fd8510efae25a40afcafed1c0be9b2196fa66b68194557d489a52
5
5
  SHA512:
6
- metadata.gz: 76573dfaef0b84eee561eb6f2c7c8f3354e679f45599771f78a3d27c395bdd30d027d2e60c90eef3b5a0608f86aa7c5adbf033321d5827ee6e744d65617ab126
7
- data.tar.gz: 5cc06ea2bcaf1f99529863bf86e5ab7d734dc3e380a7dae6e38afa6b3e3ad21df912d932478a6da3ae4974e8ea918bca028bb6f30049f9a383dd0a4a1a6b6218
6
+ metadata.gz: 5aa695d06894c5b7c6ea344af54d9e643fbce412a166f65ad25eb338e32a080056070d5b23f9783a3086d1f729dce7c3bd882da339db02b5b48afdf266d5ab2e
7
+ data.tar.gz: 8a693d4edd49c283db39032437d825dba4f634a3be50348216e7fb1c1a77d8b704193e7c623ba71552664b9139fd19bae969f3cd6b2f113bc087dd710f1544a6
@@ -320,8 +320,6 @@ module Google
320
320
  # @return [::String,nil]
321
321
  # @!attribute [rw] credentials
322
322
  # Credentials to send with calls. You may provide any of the following types:
323
- # * (`String`) The path to a service account key file in JSON format
324
- # * (`Hash`) A service account key as a Hash
325
323
  # * (`Google::Auth::Credentials`) A googleauth credentials object
326
324
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
327
325
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -330,7 +328,26 @@ module Google
330
328
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
331
329
  # * (`nil`) indicating no credentials
332
330
  #
333
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
331
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
332
+ # is deprecated. Providing an unvalidated credential configuration to
333
+ # Google APIs can compromise the security of your systems and data.
334
+ #
335
+ # @example
336
+ #
337
+ # # The recommended way to provide credentials is to use the `make_creds` method
338
+ # # on the appropriate credentials class for your environment.
339
+ #
340
+ # require "googleauth"
341
+ #
342
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
343
+ # json_key_io: ::File.open("/path/to/keyfile.json")
344
+ # )
345
+ #
346
+ # client = ::Google::Cloud::Security::PublicCA::V1::PublicCertificateAuthorityService::Client.new do |config|
347
+ # config.credentials = credentials
348
+ # end
349
+ #
350
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
334
351
  # external source for authentication to Google Cloud, you must validate it before
335
352
  # providing it to a Google API client library. Providing an unvalidated credential
336
353
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PublicCA
24
24
  module V1
25
- VERSION = "1.1.0"
25
+ VERSION = "1.2.1"
26
26
  end
27
27
  end
28
28
  end
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n1google/cloud/security/publicca/v1/resources.proto\x12!google.cloud.security.publicca.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xdd\x01\n\x12\x45xternalAccountKey\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06key_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x62\x36\x34_mac_key\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x03:\x84\x01\xea\x41\x80\x01\n*publicca.googleapis.com/ExternalAccountKey\x12Rprojects/{project}/locations/{location}/externalAccountKeys/{external_account_key}B\xef\x01\n%com.google.cloud.security.publicca.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/security/publicca/apiv1/publiccapb;publiccapb\xf8\x01\x01\xaa\x02!Google.Cloud.Security.PublicCA.V1\xca\x02!Google\\Cloud\\Security\\PublicCA\\V1\xea\x02%Google::Cloud::Security::PublicCA::V1b\x06proto3"
11
+ descriptor_data = "\n1google/cloud/security/publicca/v1/resources.proto\x12!google.cloud.security.publicca.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xdd\x01\n\x12\x45xternalAccountKey\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06key_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x62\x36\x34_mac_key\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x03:\x84\x01\xea\x41\x80\x01\n*publicca.googleapis.com/ExternalAccountKey\x12Rprojects/{project}/locations/{location}/externalAccountKeys/{external_account_key}B\xec\x01\n%com.google.cloud.security.publicca.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/security/publicca/apiv1/publiccapb;publiccapb\xaa\x02!Google.Cloud.Security.PublicCA.V1\xca\x02!Google\\Cloud\\Security\\PublicCA\\V1\xea\x02%Google::Cloud::Security::PublicCA::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/cloud/security/publicca/v1/resources_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n/google/cloud/security/publicca/v1/service.proto\x12!google.cloud.security.publicca.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/security/publicca/v1/resources.proto\"\xbf\x01\n\x1f\x43reateExternalAccountKeyRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*publicca.googleapis.com/ExternalAccountKey\x12X\n\x14\x65xternal_account_key\x18\x02 \x01(\x0b\x32\x35.google.cloud.security.publicca.v1.ExternalAccountKeyB\x03\xe0\x41\x02\x32\xfd\x02\n!PublicCertificateAuthorityService\x12\x8a\x02\n\x18\x43reateExternalAccountKey\x12\x42.google.cloud.security.publicca.v1.CreateExternalAccountKeyRequest\x1a\x35.google.cloud.security.publicca.v1.ExternalAccountKey\"s\xda\x41\x1bparent,external_account_key\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/externalAccountKeys:\x14\x65xternal_account_key\x1aK\xca\x41\x17publicca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n%com.google.cloud.security.publicca.v1B\x0cServiceProtoP\x01ZAcloud.google.com/go/security/publicca/apiv1/publiccapb;publiccapb\xf8\x01\x01\xaa\x02!Google.Cloud.Security.PublicCA.V1\xca\x02!Google\\Cloud\\Security\\PublicCA\\V1\xea\x02%Google::Cloud::Security::PublicCA::V1b\x06proto3"
14
+ descriptor_data = "\n/google/cloud/security/publicca/v1/service.proto\x12!google.cloud.security.publicca.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/security/publicca/v1/resources.proto\"\xbf\x01\n\x1f\x43reateExternalAccountKeyRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*publicca.googleapis.com/ExternalAccountKey\x12X\n\x14\x65xternal_account_key\x18\x02 \x01(\x0b\x32\x35.google.cloud.security.publicca.v1.ExternalAccountKeyB\x03\xe0\x41\x02\x32\xfd\x02\n!PublicCertificateAuthorityService\x12\x8a\x02\n\x18\x43reateExternalAccountKey\x12\x42.google.cloud.security.publicca.v1.CreateExternalAccountKeyRequest\x1a\x35.google.cloud.security.publicca.v1.ExternalAccountKey\"s\xda\x41\x1bparent,external_account_key\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/externalAccountKeys:\x14\x65xternal_account_key\x1aK\xca\x41\x17publicca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xea\x01\n%com.google.cloud.security.publicca.v1B\x0cServiceProtoP\x01ZAcloud.google.com/go/security/publicca/apiv1/publiccapb;publiccapb\xaa\x02!Google.Cloud.Security.PublicCA.V1\xca\x02!Google\\Cloud\\Security\\PublicCA\\V1\xea\x02%Google::Cloud::Security::PublicCA::V1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-public_ca-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.6.8
95
+ rubygems_version: 3.6.9
96
96
  specification_version: 4
97
97
  summary: The Public Certificate Authority API may be used to create and manage ACME
98
98
  external account binding keys associated with Google Trust Services' publicly trusted