Skip to content

Commit

Permalink
feat: [Google.Cloud.Kms.V1] add SHA-2 import methods (#9353)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 490250391

Source-Link: https://togithub.com/googleapis/googleapis/commit/4713c109a984e88155c7b0f6ba47739a05234d69

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/23c40fd800946befcc760f472e998db6b3b65d64
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuS21zLlYxLy5Pd2xCb3QueWFtbCIsImgiOiIyM2M0MGZkODAwOTQ2YmVmY2M3NjBmNDcyZTk5OGRiNmIzYjY1ZDY0In0=
  • Loading branch information
gcf-owl-bot[bot] committed Nov 22, 2022
1 parent 2e15dd1 commit df7a29e
Show file tree
Hide file tree
Showing 11 changed files with 436 additions and 314 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public async Task ImportCryptoKeyVersionRequestObjectAsync()
ImportJob = "",
RsaAesWrappedKey = ByteString.Empty,
CryptoKeyVersionAsCryptoKeyVersionName = CryptoKeyVersionName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"),
WrappedKey = ByteString.Empty,
};
// Make the request
CryptoKeyVersion response = await keyManagementServiceClient.ImportCryptoKeyVersionAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void ImportCryptoKeyVersionRequestObject()
ImportJob = "",
RsaAesWrappedKey = ByteString.Empty,
CryptoKeyVersionAsCryptoKeyVersionName = CryptoKeyVersionName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"),
WrappedKey = ByteString.Empty,
};
// Make the request
CryptoKeyVersion response = keyManagementServiceClient.ImportCryptoKeyVersion(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3595,12 +3595,12 @@
"segments": [
{
"start": 20,
"end": 49,
"end": 50,
"type": "FULL"
},
{
"start": 35,
"end": 47,
"end": 48,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -3634,12 +3634,12 @@
"segments": [
{
"start": 20,
"end": 50,
"end": 51,
"type": "FULL"
},
{
"start": 36,
"end": 48,
"end": 49,
"type": "SHORT"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,7 @@ public void ImportCryptoKeyVersionRequestObject()
ImportJob = "",
RsaAesWrappedKey = ByteString.Empty,
CryptoKeyVersionAsCryptoKeyVersionName = CryptoKeyVersionName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"),
WrappedKey = ByteString.Empty,
};
// Make the request
CryptoKeyVersion response = keyManagementServiceClient.ImportCryptoKeyVersion(request);
Expand All @@ -1914,6 +1915,7 @@ public async Task ImportCryptoKeyVersionRequestObjectAsync()
ImportJob = "",
RsaAesWrappedKey = ByteString.Empty,
CryptoKeyVersionAsCryptoKeyVersionName = CryptoKeyVersionName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"),
WrappedKey = ByteString.Empty,
};
// Make the request
CryptoKeyVersion response = await keyManagementServiceClient.ImportCryptoKeyVersionAsync(request);
Expand Down
99 changes: 52 additions & 47 deletions apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmService.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,46 +53,46 @@ public static partial class EkmServiceReflection {
"dG9idWYuVGltZXN0YW1wQgPgQQMSNwoObm90X2FmdGVyX3RpbWUYByABKAsy",
"Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSGgoNc2VyaWFsX251",
"b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kEaZWttX2Nvbm5lY3Rp",
"b24sdXBkYXRlX21hc2sadMpBF2Nsb3Vka21zLmdvb2dsZWFwaXMuY29t0kFX",
"aHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9jbG91ZC1wbGF0Zm9y",
"bSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Nsb3Vka21zQpIC",
"Chdjb20uZ29vZ2xlLmNsb3VkLmttcy52MUIPRWttU2VydmljZVByb3RvUAFa",
"Nmdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvY2xvdWQv",
"a21zL3YxO2ttc/gBAaoCE0dvb2dsZS5DbG91ZC5LbXMuVjHKAhNHb29nbGVc",
"Q2xvdWRcS21zXFYx6kF8CidzZXJ2aWNlZGlyZWN0b3J5Lmdvb2dsZWFwaXMu",
"Y29tL1NlcnZpY2USUXByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xv",
"Y2F0aW9ufS9uYW1lc3BhY2VzL3tuYW1lc3BhY2V9L3NlcnZpY2VzL3tzZXJ2",
"aWNlfWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand All @@ -110,7 +110,8 @@ public static partial class EkmServiceReflection {
}
#region Messages
/// <summary>
/// Request message for [KeyManagementService.ListEkmConnections][].
/// Request message for
/// [EkmService.ListEkmConnections][google.cloud.kms.v1.EkmService.ListEkmConnections].
/// </summary>
public sealed partial class ListEkmConnectionsRequest : pb::IMessage<ListEkmConnectionsRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -480,7 +481,8 @@ public sealed partial class ListEkmConnectionsRequest : pb::IMessage<ListEkmConn
}

/// <summary>
/// Response message for [KeyManagementService.ListEkmConnections][].
/// Response message for
/// [EkmService.ListEkmConnections][google.cloud.kms.v1.EkmService.ListEkmConnections].
/// </summary>
public sealed partial class ListEkmConnectionsResponse : pb::IMessage<ListEkmConnectionsResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -747,7 +749,8 @@ public sealed partial class ListEkmConnectionsResponse : pb::IMessage<ListEkmCon
}

/// <summary>
/// Request message for [KeyManagementService.GetEkmConnection][].
/// Request message for
/// [EkmService.GetEkmConnection][google.cloud.kms.v1.EkmService.GetEkmConnection].
/// </summary>
public sealed partial class GetEkmConnectionRequest : pb::IMessage<GetEkmConnectionRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -943,7 +946,8 @@ public sealed partial class GetEkmConnectionRequest : pb::IMessage<GetEkmConnect
}

/// <summary>
/// Request message for [KeyManagementService.CreateEkmConnection][].
/// Request message for
/// [EkmService.CreateEkmConnection][google.cloud.kms.v1.EkmService.CreateEkmConnection].
/// </summary>
public sealed partial class CreateEkmConnectionRequest : pb::IMessage<CreateEkmConnectionRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -1231,7 +1235,8 @@ public sealed partial class CreateEkmConnectionRequest : pb::IMessage<CreateEkmC
}

/// <summary>
/// Request message for [KeyManagementService.UpdateEkmConnection][].
/// Request message for
/// [EkmService.UpdateEkmConnection][google.cloud.kms.v1.EkmService.UpdateEkmConnection].
/// </summary>
public sealed partial class UpdateEkmConnectionRequest : pb::IMessage<UpdateEkmConnectionRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -2127,9 +2132,8 @@ public sealed partial class EkmConnection : pb::IMessage<EkmConnection>
public const int EtagFieldNumber = 5;
private string etag_ = "";
/// <summary>
/// This checksum is computed by the server based on the value of other fields,
/// and may be sent on update requests to ensure the client has an up-to-date
/// value before proceeding.
/// Optional. Etag of the currently stored
/// [EkmConnection][google.cloud.kms.v1.EkmConnection].
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -2458,7 +2462,8 @@ public sealed partial class ServiceResolver : pb::IMessage<ServiceResolver>
private readonly pbc::RepeatedField<global::Google.Cloud.Kms.V1.Certificate> serverCertificates_ = new pbc::RepeatedField<global::Google.Cloud.Kms.V1.Certificate>();
/// <summary>
/// Required. A list of leaf server certificates used to authenticate HTTPS
/// connections to the EKM replica.
/// connections to the EKM replica. Currently, a maximum of 10
/// [Certificate][google.cloud.kms.v1.Certificate] is supported.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: google/cloud/kms/v1/ekm_service.proto
// </auto-generated>
// Original file comments:
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3681,7 +3681,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo
///
/// The maximum size depends on the key version's
/// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE],
/// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL], and
/// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] keys, the
/// plaintext must be no larger than 64KiB. For
/// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
/// the plaintext and additional_authenticated_data fields must be no larger
Expand Down Expand Up @@ -3716,7 +3718,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo
///
/// The maximum size depends on the key version's
/// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE],
/// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL], and
/// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] keys, the
/// plaintext must be no larger than 64KiB. For
/// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
/// the plaintext and additional_authenticated_data fields must be no larger
Expand Down Expand Up @@ -3751,7 +3755,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo
///
/// The maximum size depends on the key version's
/// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE],
/// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL], and
/// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] keys, the
/// plaintext must be no larger than 64KiB. For
/// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
/// the plaintext and additional_authenticated_data fields must be no larger
Expand Down Expand Up @@ -3782,7 +3788,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo
///
/// The maximum size depends on the key version's
/// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE],
/// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL], and
/// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] keys, the
/// plaintext must be no larger than 64KiB. For
/// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
/// the plaintext and additional_authenticated_data fields must be no larger
Expand Down Expand Up @@ -3817,7 +3825,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo
///
/// The maximum size depends on the key version's
/// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE],
/// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL], and
/// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] keys, the
/// plaintext must be no larger than 64KiB. For
/// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
/// the plaintext and additional_authenticated_data fields must be no larger
Expand Down Expand Up @@ -3852,7 +3862,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo
///
/// The maximum size depends on the key version's
/// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level].
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the
/// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE],
/// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL], and
/// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] keys, the
/// plaintext must be no larger than 64KiB. For
/// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of
/// the plaintext and additional_authenticated_data fields must be no larger
Expand Down
Loading

0 comments on commit df7a29e

Please sign in to comment.