google-cloud-kms-v1 0.2.4 → 0.3.0
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/kms/v1/key_management_service/client.rb +102 -4
- data/lib/google/cloud/kms/v1/resources_pb.rb +3 -0
- data/lib/google/cloud/kms/v1/service_pb.rb +16 -0
- data/lib/google/cloud/kms/v1/version.rb +1 -1
- data/proto_docs/google/cloud/kms/v1/resources.rb +23 -2
- data/proto_docs/google/cloud/kms/v1/service.rb +221 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2eca5412f99750c9a2e2dee1d198b71113fcfb7e4d6361306dfd3375378c79b9
|
4
|
+
data.tar.gz: a72fbd0da46e1a78c6206a4ddd77222867d9769ced8bb2d40f40de871b997cef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a788d037c30e161cdc7445d8532c55b0cfb193238618dbfb3ad07c7743bcfc86f72a13e62dff24f3456916d0094a87a266ab855007dbf2878d548633b77ed4e0
|
7
|
+
data.tar.gz: 895f78bd1f3e271d42ed7c209ae37921aa7fd0b22e9273f167287a797b2aa69d5286d66378f11f700e24cee91242908591a8092c125f0d2e3b4a65bbc2ace7ff
|
@@ -1572,7 +1572,7 @@ module Google
|
|
1572
1572
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1573
1573
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1574
1574
|
#
|
1575
|
-
# @overload encrypt(name: nil, plaintext: nil, additional_authenticated_data: nil)
|
1575
|
+
# @overload encrypt(name: nil, plaintext: nil, additional_authenticated_data: nil, plaintext_crc32c: nil, additional_authenticated_data_crc32c: nil)
|
1576
1576
|
# Pass arguments to `encrypt` via keyword arguments. Note that at
|
1577
1577
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1578
1578
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1602,6 +1602,39 @@ module Google
|
|
1602
1602
|
# 64KiB. For {::Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} keys, the combined length of the
|
1603
1603
|
# plaintext and additional_authenticated_data fields must be no larger than
|
1604
1604
|
# 8KiB.
|
1605
|
+
# @param plaintext_crc32c [::Google::Protobuf::Int64Value, ::Hash]
|
1606
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}. If
|
1607
|
+
# specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
1608
|
+
# received {::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext} using this checksum.
|
1609
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
1610
|
+
# fails. If you receive a checksum error, your client should verify that
|
1611
|
+
# CRC32C({::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}) is equal to
|
1612
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#plaintext_crc32c EncryptRequest.plaintext_crc32c}, and if so, perform a limited number of
|
1613
|
+
# retries. A persistent mismatch may indicate an issue in your computation of
|
1614
|
+
# the CRC32C checksum.
|
1615
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1616
|
+
# different languages. However, it is a non-negative integer, which will
|
1617
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1618
|
+
# that support this type.
|
1619
|
+
#
|
1620
|
+
# NOTE: This field is in Beta.
|
1621
|
+
# @param additional_authenticated_data_crc32c [::Google::Protobuf::Int64Value, ::Hash]
|
1622
|
+
# Optional. An optional CRC32C checksum of the
|
1623
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}. If specified,
|
1624
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the received
|
1625
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data} using this checksum.
|
1626
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
1627
|
+
# fails. If you receive a checksum error, your client should verify that
|
1628
|
+
# CRC32C({::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}) is equal to
|
1629
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data_crc32c EncryptRequest.additional_authenticated_data_crc32c}, and if so, perform
|
1630
|
+
# a limited number of retries. A persistent mismatch may indicate an issue in
|
1631
|
+
# your computation of the CRC32C checksum.
|
1632
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1633
|
+
# different languages. However, it is a non-negative integer, which will
|
1634
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1635
|
+
# that support this type.
|
1636
|
+
#
|
1637
|
+
# NOTE: This field is in Beta.
|
1605
1638
|
#
|
1606
1639
|
# @yield [response, operation] Access the result along with the RPC operation
|
1607
1640
|
# @yieldparam response [::Google::Cloud::Kms::V1::EncryptResponse]
|
@@ -1662,7 +1695,7 @@ module Google
|
|
1662
1695
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1663
1696
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1664
1697
|
#
|
1665
|
-
# @overload decrypt(name: nil, ciphertext: nil, additional_authenticated_data: nil)
|
1698
|
+
# @overload decrypt(name: nil, ciphertext: nil, additional_authenticated_data: nil, ciphertext_crc32c: nil, additional_authenticated_data_crc32c: nil)
|
1666
1699
|
# Pass arguments to `decrypt` via keyword arguments. Note that at
|
1667
1700
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1668
1701
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1676,6 +1709,39 @@ module Google
|
|
1676
1709
|
# @param additional_authenticated_data [::String]
|
1677
1710
|
# Optional. Optional data that must match the data originally supplied in
|
1678
1711
|
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}.
|
1712
|
+
# @param ciphertext_crc32c [::Google::Protobuf::Int64Value, ::Hash]
|
1713
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext DecryptRequest.ciphertext}. If
|
1714
|
+
# specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
1715
|
+
# received {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext DecryptRequest.ciphertext} using this checksum.
|
1716
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
1717
|
+
# fails. If you receive a checksum error, your client should verify that
|
1718
|
+
# CRC32C({::Google::Cloud::Kms::V1::DecryptRequest#ciphertext DecryptRequest.ciphertext}) is equal to
|
1719
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext_crc32c DecryptRequest.ciphertext_crc32c}, and if so, perform a limited number
|
1720
|
+
# of retries. A persistent mismatch may indicate an issue in your computation
|
1721
|
+
# of the CRC32C checksum.
|
1722
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1723
|
+
# different languages. However, it is a non-negative integer, which will
|
1724
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1725
|
+
# that support this type.
|
1726
|
+
#
|
1727
|
+
# NOTE: This field is in Beta.
|
1728
|
+
# @param additional_authenticated_data_crc32c [::Google::Protobuf::Int64Value, ::Hash]
|
1729
|
+
# Optional. An optional CRC32C checksum of the
|
1730
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data}. If specified,
|
1731
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the received
|
1732
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data} using this checksum.
|
1733
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
1734
|
+
# fails. If you receive a checksum error, your client should verify that
|
1735
|
+
# CRC32C({::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data}) is equal to
|
1736
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data_crc32c DecryptRequest.additional_authenticated_data_crc32c}, and if so, perform
|
1737
|
+
# a limited number of retries. A persistent mismatch may indicate an issue in
|
1738
|
+
# your computation of the CRC32C checksum.
|
1739
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1740
|
+
# different languages. However, it is a non-negative integer, which will
|
1741
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1742
|
+
# that support this type.
|
1743
|
+
#
|
1744
|
+
# NOTE: This field is in Beta.
|
1679
1745
|
#
|
1680
1746
|
# @yield [response, operation] Access the result along with the RPC operation
|
1681
1747
|
# @yieldparam response [::Google::Cloud::Kms::V1::DecryptResponse]
|
@@ -1737,7 +1803,7 @@ module Google
|
|
1737
1803
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1738
1804
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1739
1805
|
#
|
1740
|
-
# @overload asymmetric_sign(name: nil, digest: nil)
|
1806
|
+
# @overload asymmetric_sign(name: nil, digest: nil, digest_crc32c: nil)
|
1741
1807
|
# Pass arguments to `asymmetric_sign` via keyword arguments. Note that at
|
1742
1808
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1743
1809
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1748,6 +1814,22 @@ module Google
|
|
1748
1814
|
# Required. The digest of the data to sign. The digest must be produced with
|
1749
1815
|
# the same digest algorithm as specified by the key version's
|
1750
1816
|
# {::Google::Cloud::Kms::V1::CryptoKeyVersion#algorithm algorithm}.
|
1817
|
+
# @param digest_crc32c [::Google::Protobuf::Int64Value, ::Hash]
|
1818
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest AsymmetricSignRequest.digest}. If
|
1819
|
+
# specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
1820
|
+
# received {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest AsymmetricSignRequest.digest} using this checksum.
|
1821
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
1822
|
+
# fails. If you receive a checksum error, your client should verify that
|
1823
|
+
# CRC32C({::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest AsymmetricSignRequest.digest}) is equal to
|
1824
|
+
# {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest_crc32c AsymmetricSignRequest.digest_crc32c}, and if so, perform a limited
|
1825
|
+
# number of retries. A persistent mismatch may indicate an issue in your
|
1826
|
+
# computation of the CRC32C checksum.
|
1827
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1828
|
+
# different languages. However, it is a non-negative integer, which will
|
1829
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1830
|
+
# that support this type.
|
1831
|
+
#
|
1832
|
+
# NOTE: This field is in Beta.
|
1751
1833
|
#
|
1752
1834
|
# @yield [response, operation] Access the result along with the RPC operation
|
1753
1835
|
# @yieldparam response [::Google::Cloud::Kms::V1::AsymmetricSignResponse]
|
@@ -1809,7 +1891,7 @@ module Google
|
|
1809
1891
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1810
1892
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1811
1893
|
#
|
1812
|
-
# @overload asymmetric_decrypt(name: nil, ciphertext: nil)
|
1894
|
+
# @overload asymmetric_decrypt(name: nil, ciphertext: nil, ciphertext_crc32c: nil)
|
1813
1895
|
# Pass arguments to `asymmetric_decrypt` via keyword arguments. Note that at
|
1814
1896
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1815
1897
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1820,6 +1902,22 @@ module Google
|
|
1820
1902
|
# @param ciphertext [::String]
|
1821
1903
|
# Required. The data encrypted with the named {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}'s public
|
1822
1904
|
# key using OAEP.
|
1905
|
+
# @param ciphertext_crc32c [::Google::Protobuf::Int64Value, ::Hash]
|
1906
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext AsymmetricDecryptRequest.ciphertext}.
|
1907
|
+
# If specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
1908
|
+
# received {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext AsymmetricDecryptRequest.ciphertext} using this checksum.
|
1909
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
1910
|
+
# fails. If you receive a checksum error, your client should verify that
|
1911
|
+
# CRC32C({::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext AsymmetricDecryptRequest.ciphertext}) is equal to
|
1912
|
+
# {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext_crc32c AsymmetricDecryptRequest.ciphertext_crc32c}, and if so, perform a
|
1913
|
+
# limited number of retries. A persistent mismatch may indicate an issue in
|
1914
|
+
# your computation of the CRC32C checksum.
|
1915
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1916
|
+
# different languages. However, it is a non-negative integer, which will
|
1917
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1918
|
+
# that support this type.
|
1919
|
+
#
|
1920
|
+
# NOTE: This field is in Beta.
|
1823
1921
|
#
|
1824
1922
|
# @yield [response, operation] Access the result along with the RPC operation
|
1825
1923
|
# @yieldparam response [::Google::Cloud::Kms::V1::AsymmetricDecryptResponse]
|
@@ -7,6 +7,7 @@ require 'google/api/field_behavior_pb'
|
|
7
7
|
require 'google/api/resource_pb'
|
8
8
|
require 'google/protobuf/duration_pb'
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
|
+
require 'google/protobuf/wrappers_pb'
|
10
11
|
require 'google/api/annotations_pb'
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/cloud/kms/v1/resources.proto", :syntax => :proto3) do
|
@@ -96,6 +97,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
96
97
|
add_message "google.cloud.kms.v1.PublicKey" do
|
97
98
|
optional :pem, :string, 1
|
98
99
|
optional :algorithm, :enum, 2, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm"
|
100
|
+
optional :pem_crc32c, :message, 3, "google.protobuf.Int64Value"
|
101
|
+
optional :name, :string, 4
|
99
102
|
end
|
100
103
|
add_message "google.cloud.kms.v1.ImportJob" do
|
101
104
|
optional :name, :string, 1
|
@@ -9,6 +9,7 @@ require 'google/api/field_behavior_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
10
10
|
require 'google/cloud/kms/v1/resources_pb'
|
11
11
|
require 'google/protobuf/field_mask_pb'
|
12
|
+
require 'google/protobuf/wrappers_pb'
|
12
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
14
|
add_file("google/cloud/kms/v1/service.proto", :syntax => :proto3) do
|
14
15
|
add_message "google.cloud.kms.v1.ListKeyRingsRequest" do
|
@@ -116,32 +117,47 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
116
117
|
optional :name, :string, 1
|
117
118
|
optional :plaintext, :bytes, 2
|
118
119
|
optional :additional_authenticated_data, :bytes, 3
|
120
|
+
optional :plaintext_crc32c, :message, 7, "google.protobuf.Int64Value"
|
121
|
+
optional :additional_authenticated_data_crc32c, :message, 8, "google.protobuf.Int64Value"
|
119
122
|
end
|
120
123
|
add_message "google.cloud.kms.v1.DecryptRequest" do
|
121
124
|
optional :name, :string, 1
|
122
125
|
optional :ciphertext, :bytes, 2
|
123
126
|
optional :additional_authenticated_data, :bytes, 3
|
127
|
+
optional :ciphertext_crc32c, :message, 5, "google.protobuf.Int64Value"
|
128
|
+
optional :additional_authenticated_data_crc32c, :message, 6, "google.protobuf.Int64Value"
|
124
129
|
end
|
125
130
|
add_message "google.cloud.kms.v1.AsymmetricSignRequest" do
|
126
131
|
optional :name, :string, 1
|
127
132
|
optional :digest, :message, 3, "google.cloud.kms.v1.Digest"
|
133
|
+
optional :digest_crc32c, :message, 4, "google.protobuf.Int64Value"
|
128
134
|
end
|
129
135
|
add_message "google.cloud.kms.v1.AsymmetricDecryptRequest" do
|
130
136
|
optional :name, :string, 1
|
131
137
|
optional :ciphertext, :bytes, 3
|
138
|
+
optional :ciphertext_crc32c, :message, 4, "google.protobuf.Int64Value"
|
132
139
|
end
|
133
140
|
add_message "google.cloud.kms.v1.DecryptResponse" do
|
134
141
|
optional :plaintext, :bytes, 1
|
142
|
+
optional :plaintext_crc32c, :message, 2, "google.protobuf.Int64Value"
|
135
143
|
end
|
136
144
|
add_message "google.cloud.kms.v1.EncryptResponse" do
|
137
145
|
optional :name, :string, 1
|
138
146
|
optional :ciphertext, :bytes, 2
|
147
|
+
optional :ciphertext_crc32c, :message, 4, "google.protobuf.Int64Value"
|
148
|
+
optional :verified_plaintext_crc32c, :bool, 5
|
149
|
+
optional :verified_additional_authenticated_data_crc32c, :bool, 6
|
139
150
|
end
|
140
151
|
add_message "google.cloud.kms.v1.AsymmetricSignResponse" do
|
141
152
|
optional :signature, :bytes, 1
|
153
|
+
optional :signature_crc32c, :message, 2, "google.protobuf.Int64Value"
|
154
|
+
optional :verified_digest_crc32c, :bool, 3
|
155
|
+
optional :name, :string, 4
|
142
156
|
end
|
143
157
|
add_message "google.cloud.kms.v1.AsymmetricDecryptResponse" do
|
144
158
|
optional :plaintext, :bytes, 1
|
159
|
+
optional :plaintext_crc32c, :message, 2, "google.protobuf.Int64Value"
|
160
|
+
optional :verified_ciphertext_crc32c, :bool, 3
|
145
161
|
end
|
146
162
|
add_message "google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest" do
|
147
163
|
optional :name, :string, 1
|
@@ -37,8 +37,8 @@ module Google
|
|
37
37
|
# A {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} represents a logical key that can be used for cryptographic
|
38
38
|
# operations.
|
39
39
|
#
|
40
|
-
# A {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} is made up of
|
41
|
-
# represent the actual key material used in cryptographic operations.
|
40
|
+
# A {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} is made up of zero or more {::Google::Cloud::Kms::V1::CryptoKeyVersion versions},
|
41
|
+
# which represent the actual key material used in cryptographic operations.
|
42
42
|
# @!attribute [r] name
|
43
43
|
# @return [::String]
|
44
44
|
# Output only. The resource name for this {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} in the format
|
@@ -410,6 +410,27 @@ module Google
|
|
410
410
|
# @return [::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm]
|
411
411
|
# The {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm Algorithm} associated
|
412
412
|
# with this key.
|
413
|
+
# @!attribute [rw] pem_crc32c
|
414
|
+
# @return [::Google::Protobuf::Int64Value]
|
415
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
416
|
+
# {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem}. An integrity check of {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem} can be performed
|
417
|
+
# by computing the CRC32C checksum of {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem} and
|
418
|
+
# comparing your results to this field. Discard the response in case of
|
419
|
+
# non-matching checksum values, and perform a limited number of retries. A
|
420
|
+
# persistent mismatch may indicate an issue in your computation of the CRC32C
|
421
|
+
# checksum.
|
422
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
423
|
+
# different languages. However, it is a non-negative integer, which will
|
424
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
425
|
+
# that support this type.
|
426
|
+
#
|
427
|
+
# NOTE: This field is in Beta.
|
428
|
+
# @!attribute [rw] name
|
429
|
+
# @return [::String]
|
430
|
+
# The {::Google::Cloud::Kms::V1::CryptoKeyVersion#name name} of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} public key.
|
431
|
+
# Provided here for verification.
|
432
|
+
#
|
433
|
+
# NOTE: This field is in Beta.
|
413
434
|
class PublicKey
|
414
435
|
include ::Google::Protobuf::MessageExts
|
415
436
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -437,6 +437,41 @@ module Google
|
|
437
437
|
# 64KiB. For {::Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} keys, the combined length of the
|
438
438
|
# plaintext and additional_authenticated_data fields must be no larger than
|
439
439
|
# 8KiB.
|
440
|
+
# @!attribute [rw] plaintext_crc32c
|
441
|
+
# @return [::Google::Protobuf::Int64Value]
|
442
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}. If
|
443
|
+
# specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
444
|
+
# received {::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext} using this checksum.
|
445
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
446
|
+
# fails. If you receive a checksum error, your client should verify that
|
447
|
+
# CRC32C({::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}) is equal to
|
448
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#plaintext_crc32c EncryptRequest.plaintext_crc32c}, and if so, perform a limited number of
|
449
|
+
# retries. A persistent mismatch may indicate an issue in your computation of
|
450
|
+
# the CRC32C checksum.
|
451
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
452
|
+
# different languages. However, it is a non-negative integer, which will
|
453
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
454
|
+
# that support this type.
|
455
|
+
#
|
456
|
+
# NOTE: This field is in Beta.
|
457
|
+
# @!attribute [rw] additional_authenticated_data_crc32c
|
458
|
+
# @return [::Google::Protobuf::Int64Value]
|
459
|
+
# Optional. An optional CRC32C checksum of the
|
460
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}. If specified,
|
461
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the received
|
462
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data} using this checksum.
|
463
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
464
|
+
# fails. If you receive a checksum error, your client should verify that
|
465
|
+
# CRC32C({::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}) is equal to
|
466
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data_crc32c EncryptRequest.additional_authenticated_data_crc32c}, and if so, perform
|
467
|
+
# a limited number of retries. A persistent mismatch may indicate an issue in
|
468
|
+
# your computation of the CRC32C checksum.
|
469
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
470
|
+
# different languages. However, it is a non-negative integer, which will
|
471
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
472
|
+
# that support this type.
|
473
|
+
#
|
474
|
+
# NOTE: This field is in Beta.
|
440
475
|
class EncryptRequest
|
441
476
|
include ::Google::Protobuf::MessageExts
|
442
477
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -455,6 +490,41 @@ module Google
|
|
455
490
|
# @return [::String]
|
456
491
|
# Optional. Optional data that must match the data originally supplied in
|
457
492
|
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}.
|
493
|
+
# @!attribute [rw] ciphertext_crc32c
|
494
|
+
# @return [::Google::Protobuf::Int64Value]
|
495
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext DecryptRequest.ciphertext}. If
|
496
|
+
# specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
497
|
+
# received {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext DecryptRequest.ciphertext} using this checksum.
|
498
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
499
|
+
# fails. If you receive a checksum error, your client should verify that
|
500
|
+
# CRC32C({::Google::Cloud::Kms::V1::DecryptRequest#ciphertext DecryptRequest.ciphertext}) is equal to
|
501
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext_crc32c DecryptRequest.ciphertext_crc32c}, and if so, perform a limited number
|
502
|
+
# of retries. A persistent mismatch may indicate an issue in your computation
|
503
|
+
# of the CRC32C checksum.
|
504
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
505
|
+
# different languages. However, it is a non-negative integer, which will
|
506
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
507
|
+
# that support this type.
|
508
|
+
#
|
509
|
+
# NOTE: This field is in Beta.
|
510
|
+
# @!attribute [rw] additional_authenticated_data_crc32c
|
511
|
+
# @return [::Google::Protobuf::Int64Value]
|
512
|
+
# Optional. An optional CRC32C checksum of the
|
513
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data}. If specified,
|
514
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the received
|
515
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data} using this checksum.
|
516
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
517
|
+
# fails. If you receive a checksum error, your client should verify that
|
518
|
+
# CRC32C({::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data}) is equal to
|
519
|
+
# {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data_crc32c DecryptRequest.additional_authenticated_data_crc32c}, and if so, perform
|
520
|
+
# a limited number of retries. A persistent mismatch may indicate an issue in
|
521
|
+
# your computation of the CRC32C checksum.
|
522
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
523
|
+
# different languages. However, it is a non-negative integer, which will
|
524
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
525
|
+
# that support this type.
|
526
|
+
#
|
527
|
+
# NOTE: This field is in Beta.
|
458
528
|
class DecryptRequest
|
459
529
|
include ::Google::Protobuf::MessageExts
|
460
530
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -469,6 +539,23 @@ module Google
|
|
469
539
|
# Required. The digest of the data to sign. The digest must be produced with
|
470
540
|
# the same digest algorithm as specified by the key version's
|
471
541
|
# {::Google::Cloud::Kms::V1::CryptoKeyVersion#algorithm algorithm}.
|
542
|
+
# @!attribute [rw] digest_crc32c
|
543
|
+
# @return [::Google::Protobuf::Int64Value]
|
544
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest AsymmetricSignRequest.digest}. If
|
545
|
+
# specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
546
|
+
# received {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest AsymmetricSignRequest.digest} using this checksum.
|
547
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
548
|
+
# fails. If you receive a checksum error, your client should verify that
|
549
|
+
# CRC32C({::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest AsymmetricSignRequest.digest}) is equal to
|
550
|
+
# {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest_crc32c AsymmetricSignRequest.digest_crc32c}, and if so, perform a limited
|
551
|
+
# number of retries. A persistent mismatch may indicate an issue in your
|
552
|
+
# computation of the CRC32C checksum.
|
553
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
554
|
+
# different languages. However, it is a non-negative integer, which will
|
555
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
556
|
+
# that support this type.
|
557
|
+
#
|
558
|
+
# NOTE: This field is in Beta.
|
472
559
|
class AsymmetricSignRequest
|
473
560
|
include ::Google::Protobuf::MessageExts
|
474
561
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -483,6 +570,23 @@ module Google
|
|
483
570
|
# @return [::String]
|
484
571
|
# Required. The data encrypted with the named {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}'s public
|
485
572
|
# key using OAEP.
|
573
|
+
# @!attribute [rw] ciphertext_crc32c
|
574
|
+
# @return [::Google::Protobuf::Int64Value]
|
575
|
+
# Optional. An optional CRC32C checksum of the {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext AsymmetricDecryptRequest.ciphertext}.
|
576
|
+
# If specified, {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will verify the integrity of the
|
577
|
+
# received {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext AsymmetricDecryptRequest.ciphertext} using this checksum.
|
578
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} will report an error if the checksum verification
|
579
|
+
# fails. If you receive a checksum error, your client should verify that
|
580
|
+
# CRC32C({::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext AsymmetricDecryptRequest.ciphertext}) is equal to
|
581
|
+
# {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext_crc32c AsymmetricDecryptRequest.ciphertext_crc32c}, and if so, perform a
|
582
|
+
# limited number of retries. A persistent mismatch may indicate an issue in
|
583
|
+
# your computation of the CRC32C checksum.
|
584
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
585
|
+
# different languages. However, it is a non-negative integer, which will
|
586
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
587
|
+
# that support this type.
|
588
|
+
#
|
589
|
+
# NOTE: This field is in Beta.
|
486
590
|
class AsymmetricDecryptRequest
|
487
591
|
include ::Google::Protobuf::MessageExts
|
488
592
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -492,6 +596,23 @@ module Google
|
|
492
596
|
# @!attribute [rw] plaintext
|
493
597
|
# @return [::String]
|
494
598
|
# The decrypted data originally supplied in {::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}.
|
599
|
+
# @!attribute [rw] plaintext_crc32c
|
600
|
+
# @return [::Google::Protobuf::Int64Value]
|
601
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
602
|
+
# {::Google::Cloud::Kms::V1::DecryptResponse#plaintext DecryptResponse.plaintext}. An integrity check of
|
603
|
+
# {::Google::Cloud::Kms::V1::DecryptResponse#plaintext DecryptResponse.plaintext} can be performed by computing the CRC32C
|
604
|
+
# checksum of {::Google::Cloud::Kms::V1::DecryptResponse#plaintext DecryptResponse.plaintext} and comparing your results to
|
605
|
+
# this field. Discard the response in case of non-matching checksum values,
|
606
|
+
# and perform a limited number of retries. A persistent mismatch may indicate
|
607
|
+
# an issue in your computation of the CRC32C checksum. Note: receiving this
|
608
|
+
# response message indicates that {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} is able to
|
609
|
+
# successfully decrypt the {::Google::Cloud::Kms::V1::DecryptRequest#ciphertext ciphertext}.
|
610
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
611
|
+
# different languages. However, it is a non-negative integer, which will
|
612
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
613
|
+
# that support this type.
|
614
|
+
#
|
615
|
+
# NOTE: This field is in Beta.
|
495
616
|
class DecryptResponse
|
496
617
|
include ::Google::Protobuf::MessageExts
|
497
618
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -505,6 +626,46 @@ module Google
|
|
505
626
|
# @!attribute [rw] ciphertext
|
506
627
|
# @return [::String]
|
507
628
|
# The encrypted data.
|
629
|
+
# @!attribute [rw] ciphertext_crc32c
|
630
|
+
# @return [::Google::Protobuf::Int64Value]
|
631
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
632
|
+
# {::Google::Cloud::Kms::V1::EncryptResponse#ciphertext EncryptResponse.ciphertext}. An integrity check of
|
633
|
+
# {::Google::Cloud::Kms::V1::EncryptResponse#ciphertext EncryptResponse.ciphertext} can be performed by computing the CRC32C
|
634
|
+
# checksum of {::Google::Cloud::Kms::V1::EncryptResponse#ciphertext EncryptResponse.ciphertext} and comparing your results to
|
635
|
+
# this field. Discard the response in case of non-matching checksum values,
|
636
|
+
# and perform a limited number of retries. A persistent mismatch may indicate
|
637
|
+
# an issue in your computation of the CRC32C checksum.
|
638
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
639
|
+
# different languages. However, it is a non-negative integer, which will
|
640
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
641
|
+
# that support this type.
|
642
|
+
#
|
643
|
+
# NOTE: This field is in Beta.
|
644
|
+
# @!attribute [rw] verified_plaintext_crc32c
|
645
|
+
# @return [::Boolean]
|
646
|
+
# Integrity verification field. A flag indicating whether
|
647
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#plaintext_crc32c EncryptRequest.plaintext_crc32c} was received by
|
648
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} and used for the integrity verification of the
|
649
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#plaintext plaintext}. A false value of this field
|
650
|
+
# indicates either that {::Google::Cloud::Kms::V1::EncryptRequest#plaintext_crc32c EncryptRequest.plaintext_crc32c} was left unset or
|
651
|
+
# that it was not delivered to {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService}. If you've set
|
652
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#plaintext_crc32c EncryptRequest.plaintext_crc32c} but this field is still false, discard
|
653
|
+
# the response and perform a limited number of retries.
|
654
|
+
#
|
655
|
+
# NOTE: This field is in Beta.
|
656
|
+
# @!attribute [rw] verified_additional_authenticated_data_crc32c
|
657
|
+
# @return [::Boolean]
|
658
|
+
# Integrity verification field. A flag indicating whether
|
659
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data_crc32c EncryptRequest.additional_authenticated_data_crc32c} was received by
|
660
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} and used for the integrity verification of the
|
661
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data AAD}. A false value of this
|
662
|
+
# field indicates either that
|
663
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data_crc32c EncryptRequest.additional_authenticated_data_crc32c} was left unset or
|
664
|
+
# that it was not delivered to {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService}. If you've set
|
665
|
+
# {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data_crc32c EncryptRequest.additional_authenticated_data_crc32c} but this field is
|
666
|
+
# still false, discard the response and perform a limited number of retries.
|
667
|
+
#
|
668
|
+
# NOTE: This field is in Beta.
|
508
669
|
class EncryptResponse
|
509
670
|
include ::Google::Protobuf::MessageExts
|
510
671
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -514,6 +675,39 @@ module Google
|
|
514
675
|
# @!attribute [rw] signature
|
515
676
|
# @return [::String]
|
516
677
|
# The created signature.
|
678
|
+
# @!attribute [rw] signature_crc32c
|
679
|
+
# @return [::Google::Protobuf::Int64Value]
|
680
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
681
|
+
# {::Google::Cloud::Kms::V1::AsymmetricSignResponse#signature AsymmetricSignResponse.signature}. An integrity check of
|
682
|
+
# {::Google::Cloud::Kms::V1::AsymmetricSignResponse#signature AsymmetricSignResponse.signature} can be performed by computing the
|
683
|
+
# CRC32C checksum of {::Google::Cloud::Kms::V1::AsymmetricSignResponse#signature AsymmetricSignResponse.signature} and comparing your
|
684
|
+
# results to this field. Discard the response in case of non-matching
|
685
|
+
# checksum values, and perform a limited number of retries. A persistent
|
686
|
+
# mismatch may indicate an issue in your computation of the CRC32C checksum.
|
687
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
688
|
+
# different languages. However, it is a non-negative integer, which will
|
689
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
690
|
+
# that support this type.
|
691
|
+
#
|
692
|
+
# NOTE: This field is in Beta.
|
693
|
+
# @!attribute [rw] verified_digest_crc32c
|
694
|
+
# @return [::Boolean]
|
695
|
+
# Integrity verification field. A flag indicating whether
|
696
|
+
# {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest_crc32c AsymmetricSignRequest.digest_crc32c} was received by
|
697
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} and used for the integrity verification of the
|
698
|
+
# {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest digest}. A false value of this field
|
699
|
+
# indicates either that {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest_crc32c AsymmetricSignRequest.digest_crc32c} was left
|
700
|
+
# unset or that it was not delivered to {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService}. If you've
|
701
|
+
# set {::Google::Cloud::Kms::V1::AsymmetricSignRequest#digest_crc32c AsymmetricSignRequest.digest_crc32c} but this field is still false,
|
702
|
+
# discard the response and perform a limited number of retries.
|
703
|
+
#
|
704
|
+
# NOTE: This field is in Beta.
|
705
|
+
# @!attribute [rw] name
|
706
|
+
# @return [::String]
|
707
|
+
# The resource name of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} used for signing. Check
|
708
|
+
# this field to verify that the intended resource was used for signing.
|
709
|
+
#
|
710
|
+
# NOTE: This field is in Beta.
|
517
711
|
class AsymmetricSignResponse
|
518
712
|
include ::Google::Protobuf::MessageExts
|
519
713
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -523,6 +717,33 @@ module Google
|
|
523
717
|
# @!attribute [rw] plaintext
|
524
718
|
# @return [::String]
|
525
719
|
# The decrypted data originally encrypted with the matching public key.
|
720
|
+
# @!attribute [rw] plaintext_crc32c
|
721
|
+
# @return [::Google::Protobuf::Int64Value]
|
722
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
723
|
+
# {::Google::Cloud::Kms::V1::AsymmetricDecryptResponse#plaintext AsymmetricDecryptResponse.plaintext}. An integrity check of
|
724
|
+
# {::Google::Cloud::Kms::V1::AsymmetricDecryptResponse#plaintext AsymmetricDecryptResponse.plaintext} can be performed by computing the
|
725
|
+
# CRC32C checksum of {::Google::Cloud::Kms::V1::AsymmetricDecryptResponse#plaintext AsymmetricDecryptResponse.plaintext} and comparing
|
726
|
+
# your results to this field. Discard the response in case of non-matching
|
727
|
+
# checksum values, and perform a limited number of retries. A persistent
|
728
|
+
# mismatch may indicate an issue in your computation of the CRC32C checksum.
|
729
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
730
|
+
# different languages. However, it is a non-negative integer, which will
|
731
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
732
|
+
# that support this type.
|
733
|
+
#
|
734
|
+
# NOTE: This field is in Beta.
|
735
|
+
# @!attribute [rw] verified_ciphertext_crc32c
|
736
|
+
# @return [::Boolean]
|
737
|
+
# Integrity verification field. A flag indicating whether
|
738
|
+
# {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext_crc32c AsymmetricDecryptRequest.ciphertext_crc32c} was received by
|
739
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService} and used for the integrity verification of the
|
740
|
+
# {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext ciphertext}. A false value of this
|
741
|
+
# field indicates either that {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext_crc32c AsymmetricDecryptRequest.ciphertext_crc32c}
|
742
|
+
# was left unset or that it was not delivered to {::Google::Cloud::Kms::V1::KeyManagementService::Client KeyManagementService}. If
|
743
|
+
# you've set {::Google::Cloud::Kms::V1::AsymmetricDecryptRequest#ciphertext_crc32c AsymmetricDecryptRequest.ciphertext_crc32c} but this field is
|
744
|
+
# still false, discard the response and perform a limited number of retries.
|
745
|
+
#
|
746
|
+
# NOTE: This field is in Beta.
|
526
747
|
class AsymmetricDecryptResponse
|
527
748
|
include ::Google::Protobuf::MessageExts
|
528
749
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Protobuf
|
22
|
+
# Wrapper message for `double`.
|
23
|
+
#
|
24
|
+
# The JSON representation for `DoubleValue` is JSON number.
|
25
|
+
# @!attribute [rw] value
|
26
|
+
# @return [::Float]
|
27
|
+
# The double value.
|
28
|
+
class DoubleValue
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
|
33
|
+
# Wrapper message for `float`.
|
34
|
+
#
|
35
|
+
# The JSON representation for `FloatValue` is JSON number.
|
36
|
+
# @!attribute [rw] value
|
37
|
+
# @return [::Float]
|
38
|
+
# The float value.
|
39
|
+
class FloatValue
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
end
|
43
|
+
|
44
|
+
# Wrapper message for `int64`.
|
45
|
+
#
|
46
|
+
# The JSON representation for `Int64Value` is JSON string.
|
47
|
+
# @!attribute [rw] value
|
48
|
+
# @return [::Integer]
|
49
|
+
# The int64 value.
|
50
|
+
class Int64Value
|
51
|
+
include ::Google::Protobuf::MessageExts
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
end
|
54
|
+
|
55
|
+
# Wrapper message for `uint64`.
|
56
|
+
#
|
57
|
+
# The JSON representation for `UInt64Value` is JSON string.
|
58
|
+
# @!attribute [rw] value
|
59
|
+
# @return [::Integer]
|
60
|
+
# The uint64 value.
|
61
|
+
class UInt64Value
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# Wrapper message for `int32`.
|
67
|
+
#
|
68
|
+
# The JSON representation for `Int32Value` is JSON number.
|
69
|
+
# @!attribute [rw] value
|
70
|
+
# @return [::Integer]
|
71
|
+
# The int32 value.
|
72
|
+
class Int32Value
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
end
|
76
|
+
|
77
|
+
# Wrapper message for `uint32`.
|
78
|
+
#
|
79
|
+
# The JSON representation for `UInt32Value` is JSON number.
|
80
|
+
# @!attribute [rw] value
|
81
|
+
# @return [::Integer]
|
82
|
+
# The uint32 value.
|
83
|
+
class UInt32Value
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
|
88
|
+
# Wrapper message for `bool`.
|
89
|
+
#
|
90
|
+
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
91
|
+
# @!attribute [rw] value
|
92
|
+
# @return [::Boolean]
|
93
|
+
# The bool value.
|
94
|
+
class BoolValue
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
|
99
|
+
# Wrapper message for `string`.
|
100
|
+
#
|
101
|
+
# The JSON representation for `StringValue` is JSON string.
|
102
|
+
# @!attribute [rw] value
|
103
|
+
# @return [::String]
|
104
|
+
# The string value.
|
105
|
+
class StringValue
|
106
|
+
include ::Google::Protobuf::MessageExts
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
|
+
end
|
109
|
+
|
110
|
+
# Wrapper message for `bytes`.
|
111
|
+
#
|
112
|
+
# The JSON representation for `BytesValue` is JSON string.
|
113
|
+
# @!attribute [rw] value
|
114
|
+
# @return [::String]
|
115
|
+
# The bytes value.
|
116
|
+
class BytesValue
|
117
|
+
include ::Google::Protobuf::MessageExts
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-kms-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -206,6 +206,7 @@ files:
|
|
206
206
|
- proto_docs/google/protobuf/duration.rb
|
207
207
|
- proto_docs/google/protobuf/field_mask.rb
|
208
208
|
- proto_docs/google/protobuf/timestamp.rb
|
209
|
+
- proto_docs/google/protobuf/wrappers.rb
|
209
210
|
- proto_docs/google/type/expr.rb
|
210
211
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
211
212
|
licenses:
|