google-cloud-kms 1.6.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -54
- data/LICENSE.md +203 -0
- data/MIGRATING.md +326 -0
- data/README.md +33 -44
- data/lib/{google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb → google-cloud-kms.rb} +4 -6
- data/lib/google/cloud/kms.rb +92 -122
- data/lib/google/cloud/kms/version.rb +6 -2
- metadata +50 -63
- data/LICENSE +0 -201
- data/lib/google/cloud/kms/v1.rb +0 -159
- data/lib/google/cloud/kms/v1/credentials.rb +0 -42
- data/lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb +0 -540
- data/lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb +0 -491
- data/lib/google/cloud/kms/v1/doc/google/iam/v1/options.rb +0 -21
- data/lib/google/cloud/kms/v1/doc/google/iam/v1/policy.rb +0 -21
- data/lib/google/cloud/kms/v1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/kms/v1/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/kms/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/kms/v1/doc/google/type/expr.rb +0 -19
- data/lib/google/cloud/kms/v1/helpers.rb +0 -80
- data/lib/google/cloud/kms/v1/key_management_service_client.rb +0 -1805
- data/lib/google/cloud/kms/v1/key_management_service_client_config.json +0 -162
- data/lib/google/cloud/kms/v1/resources_pb.rb +0 -161
- data/lib/google/cloud/kms/v1/service_pb.rb +0 -209
- data/lib/google/cloud/kms/v1/service_services_pb.rb +0 -151
@@ -1,162 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"interfaces": {
|
3
|
-
"google.cloud.kms.v1.KeyManagementService": {
|
4
|
-
"retry_codes": {
|
5
|
-
"retryable": [
|
6
|
-
"DEADLINE_EXCEEDED",
|
7
|
-
"INTERNAL",
|
8
|
-
"UNAVAILABLE"
|
9
|
-
],
|
10
|
-
"idempotent": [
|
11
|
-
"DEADLINE_EXCEEDED",
|
12
|
-
"UNAVAILABLE"
|
13
|
-
],
|
14
|
-
"non_idempotent": [],
|
15
|
-
"non_retryable": []
|
16
|
-
},
|
17
|
-
"retry_params": {
|
18
|
-
"default": {
|
19
|
-
"initial_retry_delay_millis": 100,
|
20
|
-
"retry_delay_multiplier": 1.3,
|
21
|
-
"max_retry_delay_millis": 60000,
|
22
|
-
"initial_rpc_timeout_millis": 20000,
|
23
|
-
"rpc_timeout_multiplier": 1.0,
|
24
|
-
"max_rpc_timeout_millis": 20000,
|
25
|
-
"total_timeout_millis": 600000
|
26
|
-
}
|
27
|
-
},
|
28
|
-
"methods": {
|
29
|
-
"ListKeyRings": {
|
30
|
-
"timeout_millis": 60000,
|
31
|
-
"retry_codes_name": "retryable",
|
32
|
-
"retry_params_name": "default"
|
33
|
-
},
|
34
|
-
"ListImportJobs": {
|
35
|
-
"timeout_millis": 60000,
|
36
|
-
"retry_codes_name": "retryable",
|
37
|
-
"retry_params_name": "default"
|
38
|
-
},
|
39
|
-
"ListCryptoKeys": {
|
40
|
-
"timeout_millis": 60000,
|
41
|
-
"retry_codes_name": "retryable",
|
42
|
-
"retry_params_name": "default"
|
43
|
-
},
|
44
|
-
"ListCryptoKeyVersions": {
|
45
|
-
"timeout_millis": 60000,
|
46
|
-
"retry_codes_name": "retryable",
|
47
|
-
"retry_params_name": "default"
|
48
|
-
},
|
49
|
-
"GetKeyRing": {
|
50
|
-
"timeout_millis": 60000,
|
51
|
-
"retry_codes_name": "retryable",
|
52
|
-
"retry_params_name": "default"
|
53
|
-
},
|
54
|
-
"GetImportJob": {
|
55
|
-
"timeout_millis": 60000,
|
56
|
-
"retry_codes_name": "retryable",
|
57
|
-
"retry_params_name": "default"
|
58
|
-
},
|
59
|
-
"GetCryptoKey": {
|
60
|
-
"timeout_millis": 60000,
|
61
|
-
"retry_codes_name": "retryable",
|
62
|
-
"retry_params_name": "default"
|
63
|
-
},
|
64
|
-
"GetCryptoKeyVersion": {
|
65
|
-
"timeout_millis": 60000,
|
66
|
-
"retry_codes_name": "retryable",
|
67
|
-
"retry_params_name": "default"
|
68
|
-
},
|
69
|
-
"CreateKeyRing": {
|
70
|
-
"timeout_millis": 60000,
|
71
|
-
"retry_codes_name": "retryable",
|
72
|
-
"retry_params_name": "default"
|
73
|
-
},
|
74
|
-
"CreateImportJob": {
|
75
|
-
"timeout_millis": 60000,
|
76
|
-
"retry_codes_name": "retryable",
|
77
|
-
"retry_params_name": "default"
|
78
|
-
},
|
79
|
-
"CreateCryptoKey": {
|
80
|
-
"timeout_millis": 60000,
|
81
|
-
"retry_codes_name": "retryable",
|
82
|
-
"retry_params_name": "default"
|
83
|
-
},
|
84
|
-
"CreateCryptoKeyVersion": {
|
85
|
-
"timeout_millis": 60000,
|
86
|
-
"retry_codes_name": "non_retryable",
|
87
|
-
"retry_params_name": "default"
|
88
|
-
},
|
89
|
-
"ImportCryptoKeyVersion": {
|
90
|
-
"timeout_millis": 60000,
|
91
|
-
"retry_codes_name": "non_retryable",
|
92
|
-
"retry_params_name": "default"
|
93
|
-
},
|
94
|
-
"UpdateCryptoKey": {
|
95
|
-
"timeout_millis": 60000,
|
96
|
-
"retry_codes_name": "retryable",
|
97
|
-
"retry_params_name": "default"
|
98
|
-
},
|
99
|
-
"UpdateCryptoKeyVersion": {
|
100
|
-
"timeout_millis": 60000,
|
101
|
-
"retry_codes_name": "retryable",
|
102
|
-
"retry_params_name": "default"
|
103
|
-
},
|
104
|
-
"Encrypt": {
|
105
|
-
"timeout_millis": 60000,
|
106
|
-
"retry_codes_name": "retryable",
|
107
|
-
"retry_params_name": "default"
|
108
|
-
},
|
109
|
-
"Decrypt": {
|
110
|
-
"timeout_millis": 60000,
|
111
|
-
"retry_codes_name": "retryable",
|
112
|
-
"retry_params_name": "default"
|
113
|
-
},
|
114
|
-
"UpdateCryptoKeyPrimaryVersion": {
|
115
|
-
"timeout_millis": 60000,
|
116
|
-
"retry_codes_name": "retryable",
|
117
|
-
"retry_params_name": "default"
|
118
|
-
},
|
119
|
-
"DestroyCryptoKeyVersion": {
|
120
|
-
"timeout_millis": 60000,
|
121
|
-
"retry_codes_name": "retryable",
|
122
|
-
"retry_params_name": "default"
|
123
|
-
},
|
124
|
-
"RestoreCryptoKeyVersion": {
|
125
|
-
"timeout_millis": 60000,
|
126
|
-
"retry_codes_name": "retryable",
|
127
|
-
"retry_params_name": "default"
|
128
|
-
},
|
129
|
-
"GetPublicKey": {
|
130
|
-
"timeout_millis": 60000,
|
131
|
-
"retry_codes_name": "retryable",
|
132
|
-
"retry_params_name": "default"
|
133
|
-
},
|
134
|
-
"AsymmetricDecrypt": {
|
135
|
-
"timeout_millis": 60000,
|
136
|
-
"retry_codes_name": "retryable",
|
137
|
-
"retry_params_name": "default"
|
138
|
-
},
|
139
|
-
"AsymmetricSign": {
|
140
|
-
"timeout_millis": 60000,
|
141
|
-
"retry_codes_name": "retryable",
|
142
|
-
"retry_params_name": "default"
|
143
|
-
},
|
144
|
-
"SetIamPolicy": {
|
145
|
-
"timeout_millis": 60000,
|
146
|
-
"retry_codes_name": "retryable",
|
147
|
-
"retry_params_name": "default"
|
148
|
-
},
|
149
|
-
"GetIamPolicy": {
|
150
|
-
"timeout_millis": 60000,
|
151
|
-
"retry_codes_name": "retryable",
|
152
|
-
"retry_params_name": "default"
|
153
|
-
},
|
154
|
-
"TestIamPermissions": {
|
155
|
-
"timeout_millis": 60000,
|
156
|
-
"retry_codes_name": "retryable",
|
157
|
-
"retry_params_name": "default"
|
158
|
-
}
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
@@ -1,161 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/kms/v1/resources.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/field_behavior_pb'
|
8
|
-
require 'google/api/resource_pb'
|
9
|
-
require 'google/protobuf/duration_pb'
|
10
|
-
require 'google/protobuf/timestamp_pb'
|
11
|
-
require 'google/api/annotations_pb'
|
12
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
-
add_message "google.cloud.kms.v1.KeyRing" do
|
14
|
-
optional :name, :string, 1
|
15
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
16
|
-
end
|
17
|
-
add_message "google.cloud.kms.v1.CryptoKey" do
|
18
|
-
optional :name, :string, 1
|
19
|
-
optional :primary, :message, 2, "google.cloud.kms.v1.CryptoKeyVersion"
|
20
|
-
optional :purpose, :enum, 3, "google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose"
|
21
|
-
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
22
|
-
optional :next_rotation_time, :message, 7, "google.protobuf.Timestamp"
|
23
|
-
optional :version_template, :message, 11, "google.cloud.kms.v1.CryptoKeyVersionTemplate"
|
24
|
-
map :labels, :string, :string, 10
|
25
|
-
oneof :rotation_schedule do
|
26
|
-
optional :rotation_period, :message, 8, "google.protobuf.Duration"
|
27
|
-
end
|
28
|
-
end
|
29
|
-
add_enum "google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose" do
|
30
|
-
value :CRYPTO_KEY_PURPOSE_UNSPECIFIED, 0
|
31
|
-
value :ENCRYPT_DECRYPT, 1
|
32
|
-
value :ASYMMETRIC_SIGN, 5
|
33
|
-
value :ASYMMETRIC_DECRYPT, 6
|
34
|
-
end
|
35
|
-
add_message "google.cloud.kms.v1.CryptoKeyVersionTemplate" do
|
36
|
-
optional :protection_level, :enum, 1, "google.cloud.kms.v1.ProtectionLevel"
|
37
|
-
optional :algorithm, :enum, 3, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm"
|
38
|
-
end
|
39
|
-
add_message "google.cloud.kms.v1.KeyOperationAttestation" do
|
40
|
-
optional :format, :enum, 4, "google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat"
|
41
|
-
optional :content, :bytes, 5
|
42
|
-
end
|
43
|
-
add_enum "google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat" do
|
44
|
-
value :ATTESTATION_FORMAT_UNSPECIFIED, 0
|
45
|
-
value :CAVIUM_V1_COMPRESSED, 3
|
46
|
-
value :CAVIUM_V2_COMPRESSED, 4
|
47
|
-
end
|
48
|
-
add_message "google.cloud.kms.v1.CryptoKeyVersion" do
|
49
|
-
optional :name, :string, 1
|
50
|
-
optional :state, :enum, 3, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState"
|
51
|
-
optional :protection_level, :enum, 7, "google.cloud.kms.v1.ProtectionLevel"
|
52
|
-
optional :algorithm, :enum, 10, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm"
|
53
|
-
optional :attestation, :message, 8, "google.cloud.kms.v1.KeyOperationAttestation"
|
54
|
-
optional :create_time, :message, 4, "google.protobuf.Timestamp"
|
55
|
-
optional :generate_time, :message, 11, "google.protobuf.Timestamp"
|
56
|
-
optional :destroy_time, :message, 5, "google.protobuf.Timestamp"
|
57
|
-
optional :destroy_event_time, :message, 6, "google.protobuf.Timestamp"
|
58
|
-
optional :import_job, :string, 14
|
59
|
-
optional :import_time, :message, 15, "google.protobuf.Timestamp"
|
60
|
-
optional :import_failure_reason, :string, 16
|
61
|
-
optional :external_protection_level_options, :message, 17, "google.cloud.kms.v1.ExternalProtectionLevelOptions"
|
62
|
-
end
|
63
|
-
add_enum "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm" do
|
64
|
-
value :CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED, 0
|
65
|
-
value :GOOGLE_SYMMETRIC_ENCRYPTION, 1
|
66
|
-
value :RSA_SIGN_PSS_2048_SHA256, 2
|
67
|
-
value :RSA_SIGN_PSS_3072_SHA256, 3
|
68
|
-
value :RSA_SIGN_PSS_4096_SHA256, 4
|
69
|
-
value :RSA_SIGN_PSS_4096_SHA512, 15
|
70
|
-
value :RSA_SIGN_PKCS1_2048_SHA256, 5
|
71
|
-
value :RSA_SIGN_PKCS1_3072_SHA256, 6
|
72
|
-
value :RSA_SIGN_PKCS1_4096_SHA256, 7
|
73
|
-
value :RSA_SIGN_PKCS1_4096_SHA512, 16
|
74
|
-
value :RSA_DECRYPT_OAEP_2048_SHA256, 8
|
75
|
-
value :RSA_DECRYPT_OAEP_3072_SHA256, 9
|
76
|
-
value :RSA_DECRYPT_OAEP_4096_SHA256, 10
|
77
|
-
value :RSA_DECRYPT_OAEP_4096_SHA512, 17
|
78
|
-
value :EC_SIGN_P256_SHA256, 12
|
79
|
-
value :EC_SIGN_P384_SHA384, 13
|
80
|
-
value :EXTERNAL_SYMMETRIC_ENCRYPTION, 18
|
81
|
-
end
|
82
|
-
add_enum "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState" do
|
83
|
-
value :CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, 0
|
84
|
-
value :PENDING_GENERATION, 5
|
85
|
-
value :ENABLED, 1
|
86
|
-
value :DISABLED, 2
|
87
|
-
value :DESTROYED, 3
|
88
|
-
value :DESTROY_SCHEDULED, 4
|
89
|
-
value :PENDING_IMPORT, 6
|
90
|
-
value :IMPORT_FAILED, 7
|
91
|
-
end
|
92
|
-
add_enum "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView" do
|
93
|
-
value :CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED, 0
|
94
|
-
value :FULL, 1
|
95
|
-
end
|
96
|
-
add_message "google.cloud.kms.v1.PublicKey" do
|
97
|
-
optional :pem, :string, 1
|
98
|
-
optional :algorithm, :enum, 2, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm"
|
99
|
-
end
|
100
|
-
add_message "google.cloud.kms.v1.ImportJob" do
|
101
|
-
optional :name, :string, 1
|
102
|
-
optional :import_method, :enum, 2, "google.cloud.kms.v1.ImportJob.ImportMethod"
|
103
|
-
optional :protection_level, :enum, 9, "google.cloud.kms.v1.ProtectionLevel"
|
104
|
-
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
105
|
-
optional :generate_time, :message, 4, "google.protobuf.Timestamp"
|
106
|
-
optional :expire_time, :message, 5, "google.protobuf.Timestamp"
|
107
|
-
optional :expire_event_time, :message, 10, "google.protobuf.Timestamp"
|
108
|
-
optional :state, :enum, 6, "google.cloud.kms.v1.ImportJob.ImportJobState"
|
109
|
-
optional :public_key, :message, 7, "google.cloud.kms.v1.ImportJob.WrappingPublicKey"
|
110
|
-
optional :attestation, :message, 8, "google.cloud.kms.v1.KeyOperationAttestation"
|
111
|
-
end
|
112
|
-
add_message "google.cloud.kms.v1.ImportJob.WrappingPublicKey" do
|
113
|
-
optional :pem, :string, 1
|
114
|
-
end
|
115
|
-
add_enum "google.cloud.kms.v1.ImportJob.ImportMethod" do
|
116
|
-
value :IMPORT_METHOD_UNSPECIFIED, 0
|
117
|
-
value :RSA_OAEP_3072_SHA1_AES_256, 1
|
118
|
-
value :RSA_OAEP_4096_SHA1_AES_256, 2
|
119
|
-
end
|
120
|
-
add_enum "google.cloud.kms.v1.ImportJob.ImportJobState" do
|
121
|
-
value :IMPORT_JOB_STATE_UNSPECIFIED, 0
|
122
|
-
value :PENDING_GENERATION, 1
|
123
|
-
value :ACTIVE, 2
|
124
|
-
value :EXPIRED, 3
|
125
|
-
end
|
126
|
-
add_message "google.cloud.kms.v1.ExternalProtectionLevelOptions" do
|
127
|
-
optional :external_key_uri, :string, 1
|
128
|
-
end
|
129
|
-
add_enum "google.cloud.kms.v1.ProtectionLevel" do
|
130
|
-
value :PROTECTION_LEVEL_UNSPECIFIED, 0
|
131
|
-
value :SOFTWARE, 1
|
132
|
-
value :HSM, 2
|
133
|
-
value :EXTERNAL, 3
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
module Google
|
138
|
-
module Cloud
|
139
|
-
module Kms
|
140
|
-
module V1
|
141
|
-
KeyRing = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.KeyRing").msgclass
|
142
|
-
CryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKey").msgclass
|
143
|
-
CryptoKey::CryptoKeyPurpose = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose").enummodule
|
144
|
-
CryptoKeyVersionTemplate = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKeyVersionTemplate").msgclass
|
145
|
-
KeyOperationAttestation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.KeyOperationAttestation").msgclass
|
146
|
-
KeyOperationAttestation::AttestationFormat = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat").enummodule
|
147
|
-
CryptoKeyVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKeyVersion").msgclass
|
148
|
-
CryptoKeyVersion::CryptoKeyVersionAlgorithm = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm").enummodule
|
149
|
-
CryptoKeyVersion::CryptoKeyVersionState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState").enummodule
|
150
|
-
CryptoKeyVersion::CryptoKeyVersionView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView").enummodule
|
151
|
-
PublicKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.PublicKey").msgclass
|
152
|
-
ImportJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob").msgclass
|
153
|
-
ImportJob::WrappingPublicKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob.WrappingPublicKey").msgclass
|
154
|
-
ImportJob::ImportMethod = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob.ImportMethod").enummodule
|
155
|
-
ImportJob::ImportJobState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportJob.ImportJobState").enummodule
|
156
|
-
ExternalProtectionLevelOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ExternalProtectionLevelOptions").msgclass
|
157
|
-
ProtectionLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ProtectionLevel").enummodule
|
158
|
-
end
|
159
|
-
end
|
160
|
-
end
|
161
|
-
end
|
@@ -1,209 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/kms/v1/service.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/cloud/kms/v1/resources_pb'
|
12
|
-
require 'google/protobuf/field_mask_pb'
|
13
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
-
add_message "google.cloud.kms.v1.ListKeyRingsRequest" do
|
15
|
-
optional :parent, :string, 1
|
16
|
-
optional :page_size, :int32, 2
|
17
|
-
optional :page_token, :string, 3
|
18
|
-
optional :filter, :string, 4
|
19
|
-
optional :order_by, :string, 5
|
20
|
-
end
|
21
|
-
add_message "google.cloud.kms.v1.ListCryptoKeysRequest" do
|
22
|
-
optional :parent, :string, 1
|
23
|
-
optional :page_size, :int32, 2
|
24
|
-
optional :page_token, :string, 3
|
25
|
-
optional :version_view, :enum, 4, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView"
|
26
|
-
optional :filter, :string, 5
|
27
|
-
optional :order_by, :string, 6
|
28
|
-
end
|
29
|
-
add_message "google.cloud.kms.v1.ListCryptoKeyVersionsRequest" do
|
30
|
-
optional :parent, :string, 1
|
31
|
-
optional :page_size, :int32, 2
|
32
|
-
optional :page_token, :string, 3
|
33
|
-
optional :view, :enum, 4, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView"
|
34
|
-
optional :filter, :string, 5
|
35
|
-
optional :order_by, :string, 6
|
36
|
-
end
|
37
|
-
add_message "google.cloud.kms.v1.ListImportJobsRequest" do
|
38
|
-
optional :parent, :string, 1
|
39
|
-
optional :page_size, :int32, 2
|
40
|
-
optional :page_token, :string, 3
|
41
|
-
optional :filter, :string, 4
|
42
|
-
optional :order_by, :string, 5
|
43
|
-
end
|
44
|
-
add_message "google.cloud.kms.v1.ListKeyRingsResponse" do
|
45
|
-
repeated :key_rings, :message, 1, "google.cloud.kms.v1.KeyRing"
|
46
|
-
optional :next_page_token, :string, 2
|
47
|
-
optional :total_size, :int32, 3
|
48
|
-
end
|
49
|
-
add_message "google.cloud.kms.v1.ListCryptoKeysResponse" do
|
50
|
-
repeated :crypto_keys, :message, 1, "google.cloud.kms.v1.CryptoKey"
|
51
|
-
optional :next_page_token, :string, 2
|
52
|
-
optional :total_size, :int32, 3
|
53
|
-
end
|
54
|
-
add_message "google.cloud.kms.v1.ListCryptoKeyVersionsResponse" do
|
55
|
-
repeated :crypto_key_versions, :message, 1, "google.cloud.kms.v1.CryptoKeyVersion"
|
56
|
-
optional :next_page_token, :string, 2
|
57
|
-
optional :total_size, :int32, 3
|
58
|
-
end
|
59
|
-
add_message "google.cloud.kms.v1.ListImportJobsResponse" do
|
60
|
-
repeated :import_jobs, :message, 1, "google.cloud.kms.v1.ImportJob"
|
61
|
-
optional :next_page_token, :string, 2
|
62
|
-
optional :total_size, :int32, 3
|
63
|
-
end
|
64
|
-
add_message "google.cloud.kms.v1.GetKeyRingRequest" do
|
65
|
-
optional :name, :string, 1
|
66
|
-
end
|
67
|
-
add_message "google.cloud.kms.v1.GetCryptoKeyRequest" do
|
68
|
-
optional :name, :string, 1
|
69
|
-
end
|
70
|
-
add_message "google.cloud.kms.v1.GetCryptoKeyVersionRequest" do
|
71
|
-
optional :name, :string, 1
|
72
|
-
end
|
73
|
-
add_message "google.cloud.kms.v1.GetPublicKeyRequest" do
|
74
|
-
optional :name, :string, 1
|
75
|
-
end
|
76
|
-
add_message "google.cloud.kms.v1.GetImportJobRequest" do
|
77
|
-
optional :name, :string, 1
|
78
|
-
end
|
79
|
-
add_message "google.cloud.kms.v1.CreateKeyRingRequest" do
|
80
|
-
optional :parent, :string, 1
|
81
|
-
optional :key_ring_id, :string, 2
|
82
|
-
optional :key_ring, :message, 3, "google.cloud.kms.v1.KeyRing"
|
83
|
-
end
|
84
|
-
add_message "google.cloud.kms.v1.CreateCryptoKeyRequest" do
|
85
|
-
optional :parent, :string, 1
|
86
|
-
optional :crypto_key_id, :string, 2
|
87
|
-
optional :crypto_key, :message, 3, "google.cloud.kms.v1.CryptoKey"
|
88
|
-
optional :skip_initial_version_creation, :bool, 5
|
89
|
-
end
|
90
|
-
add_message "google.cloud.kms.v1.CreateCryptoKeyVersionRequest" do
|
91
|
-
optional :parent, :string, 1
|
92
|
-
optional :crypto_key_version, :message, 2, "google.cloud.kms.v1.CryptoKeyVersion"
|
93
|
-
end
|
94
|
-
add_message "google.cloud.kms.v1.ImportCryptoKeyVersionRequest" do
|
95
|
-
optional :parent, :string, 1
|
96
|
-
optional :algorithm, :enum, 2, "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm"
|
97
|
-
optional :import_job, :string, 4
|
98
|
-
oneof :wrapped_key_material do
|
99
|
-
optional :rsa_aes_wrapped_key, :bytes, 5
|
100
|
-
end
|
101
|
-
end
|
102
|
-
add_message "google.cloud.kms.v1.CreateImportJobRequest" do
|
103
|
-
optional :parent, :string, 1
|
104
|
-
optional :import_job_id, :string, 2
|
105
|
-
optional :import_job, :message, 3, "google.cloud.kms.v1.ImportJob"
|
106
|
-
end
|
107
|
-
add_message "google.cloud.kms.v1.UpdateCryptoKeyRequest" do
|
108
|
-
optional :crypto_key, :message, 1, "google.cloud.kms.v1.CryptoKey"
|
109
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
110
|
-
end
|
111
|
-
add_message "google.cloud.kms.v1.UpdateCryptoKeyVersionRequest" do
|
112
|
-
optional :crypto_key_version, :message, 1, "google.cloud.kms.v1.CryptoKeyVersion"
|
113
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
114
|
-
end
|
115
|
-
add_message "google.cloud.kms.v1.EncryptRequest" do
|
116
|
-
optional :name, :string, 1
|
117
|
-
optional :plaintext, :bytes, 2
|
118
|
-
optional :additional_authenticated_data, :bytes, 3
|
119
|
-
end
|
120
|
-
add_message "google.cloud.kms.v1.DecryptRequest" do
|
121
|
-
optional :name, :string, 1
|
122
|
-
optional :ciphertext, :bytes, 2
|
123
|
-
optional :additional_authenticated_data, :bytes, 3
|
124
|
-
end
|
125
|
-
add_message "google.cloud.kms.v1.AsymmetricSignRequest" do
|
126
|
-
optional :name, :string, 1
|
127
|
-
optional :digest, :message, 3, "google.cloud.kms.v1.Digest"
|
128
|
-
end
|
129
|
-
add_message "google.cloud.kms.v1.AsymmetricDecryptRequest" do
|
130
|
-
optional :name, :string, 1
|
131
|
-
optional :ciphertext, :bytes, 3
|
132
|
-
end
|
133
|
-
add_message "google.cloud.kms.v1.DecryptResponse" do
|
134
|
-
optional :plaintext, :bytes, 1
|
135
|
-
end
|
136
|
-
add_message "google.cloud.kms.v1.EncryptResponse" do
|
137
|
-
optional :name, :string, 1
|
138
|
-
optional :ciphertext, :bytes, 2
|
139
|
-
end
|
140
|
-
add_message "google.cloud.kms.v1.AsymmetricSignResponse" do
|
141
|
-
optional :signature, :bytes, 1
|
142
|
-
end
|
143
|
-
add_message "google.cloud.kms.v1.AsymmetricDecryptResponse" do
|
144
|
-
optional :plaintext, :bytes, 1
|
145
|
-
end
|
146
|
-
add_message "google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest" do
|
147
|
-
optional :name, :string, 1
|
148
|
-
optional :crypto_key_version_id, :string, 2
|
149
|
-
end
|
150
|
-
add_message "google.cloud.kms.v1.DestroyCryptoKeyVersionRequest" do
|
151
|
-
optional :name, :string, 1
|
152
|
-
end
|
153
|
-
add_message "google.cloud.kms.v1.RestoreCryptoKeyVersionRequest" do
|
154
|
-
optional :name, :string, 1
|
155
|
-
end
|
156
|
-
add_message "google.cloud.kms.v1.Digest" do
|
157
|
-
oneof :digest do
|
158
|
-
optional :sha256, :bytes, 1
|
159
|
-
optional :sha384, :bytes, 2
|
160
|
-
optional :sha512, :bytes, 3
|
161
|
-
end
|
162
|
-
end
|
163
|
-
add_message "google.cloud.kms.v1.LocationMetadata" do
|
164
|
-
optional :hsm_available, :bool, 1
|
165
|
-
optional :ekm_available, :bool, 2
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
module Google
|
170
|
-
module Cloud
|
171
|
-
module Kms
|
172
|
-
module V1
|
173
|
-
ListKeyRingsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListKeyRingsRequest").msgclass
|
174
|
-
ListCryptoKeysRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListCryptoKeysRequest").msgclass
|
175
|
-
ListCryptoKeyVersionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListCryptoKeyVersionsRequest").msgclass
|
176
|
-
ListImportJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListImportJobsRequest").msgclass
|
177
|
-
ListKeyRingsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListKeyRingsResponse").msgclass
|
178
|
-
ListCryptoKeysResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListCryptoKeysResponse").msgclass
|
179
|
-
ListCryptoKeyVersionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListCryptoKeyVersionsResponse").msgclass
|
180
|
-
ListImportJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ListImportJobsResponse").msgclass
|
181
|
-
GetKeyRingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.GetKeyRingRequest").msgclass
|
182
|
-
GetCryptoKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.GetCryptoKeyRequest").msgclass
|
183
|
-
GetCryptoKeyVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.GetCryptoKeyVersionRequest").msgclass
|
184
|
-
GetPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.GetPublicKeyRequest").msgclass
|
185
|
-
GetImportJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.GetImportJobRequest").msgclass
|
186
|
-
CreateKeyRingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CreateKeyRingRequest").msgclass
|
187
|
-
CreateCryptoKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CreateCryptoKeyRequest").msgclass
|
188
|
-
CreateCryptoKeyVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CreateCryptoKeyVersionRequest").msgclass
|
189
|
-
ImportCryptoKeyVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ImportCryptoKeyVersionRequest").msgclass
|
190
|
-
CreateImportJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.CreateImportJobRequest").msgclass
|
191
|
-
UpdateCryptoKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.UpdateCryptoKeyRequest").msgclass
|
192
|
-
UpdateCryptoKeyVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.UpdateCryptoKeyVersionRequest").msgclass
|
193
|
-
EncryptRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.EncryptRequest").msgclass
|
194
|
-
DecryptRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.DecryptRequest").msgclass
|
195
|
-
AsymmetricSignRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.AsymmetricSignRequest").msgclass
|
196
|
-
AsymmetricDecryptRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.AsymmetricDecryptRequest").msgclass
|
197
|
-
DecryptResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.DecryptResponse").msgclass
|
198
|
-
EncryptResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.EncryptResponse").msgclass
|
199
|
-
AsymmetricSignResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.AsymmetricSignResponse").msgclass
|
200
|
-
AsymmetricDecryptResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.AsymmetricDecryptResponse").msgclass
|
201
|
-
UpdateCryptoKeyPrimaryVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest").msgclass
|
202
|
-
DestroyCryptoKeyVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.DestroyCryptoKeyVersionRequest").msgclass
|
203
|
-
RestoreCryptoKeyVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.RestoreCryptoKeyVersionRequest").msgclass
|
204
|
-
Digest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.Digest").msgclass
|
205
|
-
LocationMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.LocationMetadata").msgclass
|
206
|
-
end
|
207
|
-
end
|
208
|
-
end
|
209
|
-
end
|