diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/EkmServiceClientSnippets.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/EkmServiceClientSnippets.g.cs new file mode 100644 index 000000000000..af549552b071 --- /dev/null +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/EkmServiceClientSnippets.g.cs @@ -0,0 +1,559 @@ +// 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. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace Google.Cloud.Kms.V1.Snippets +{ + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Protobuf.WellKnownTypes; + using System; + using System.Linq; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class GeneratedEkmServiceClientSnippets + { + /// Snippet for ListEkmConnections + public void ListEkmConnectionsRequestObject() + { + // Snippet: ListEkmConnections(ListEkmConnectionsRequest, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + ListEkmConnectionsRequest request = new ListEkmConnectionsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + OrderBy = "", + }; + // Make the request + PagedEnumerable response = ekmServiceClient.ListEkmConnections(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (EkmConnection item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListEkmConnectionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (EkmConnection item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (EkmConnection item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListEkmConnectionsAsync + public async Task ListEkmConnectionsRequestObjectAsync() + { + // Snippet: ListEkmConnectionsAsync(ListEkmConnectionsRequest, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + ListEkmConnectionsRequest request = new ListEkmConnectionsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + OrderBy = "", + }; + // Make the request + PagedAsyncEnumerable response = ekmServiceClient.ListEkmConnectionsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((EkmConnection item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListEkmConnectionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (EkmConnection item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (EkmConnection item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListEkmConnections + public void ListEkmConnections() + { + // Snippet: ListEkmConnections(string, string, int?, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = ekmServiceClient.ListEkmConnections(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (EkmConnection item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListEkmConnectionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (EkmConnection item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (EkmConnection item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListEkmConnectionsAsync + public async Task ListEkmConnectionsAsync() + { + // Snippet: ListEkmConnectionsAsync(string, string, int?, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = ekmServiceClient.ListEkmConnectionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((EkmConnection item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListEkmConnectionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (EkmConnection item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (EkmConnection item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListEkmConnections + public void ListEkmConnectionsResourceNames() + { + // Snippet: ListEkmConnections(LocationName, string, int?, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = ekmServiceClient.ListEkmConnections(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (EkmConnection item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListEkmConnectionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (EkmConnection item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (EkmConnection item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListEkmConnectionsAsync + public async Task ListEkmConnectionsResourceNamesAsync() + { + // Snippet: ListEkmConnectionsAsync(LocationName, string, int?, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = ekmServiceClient.ListEkmConnectionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((EkmConnection item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListEkmConnectionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (EkmConnection item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (EkmConnection item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for GetEkmConnection + public void GetEkmConnectionRequestObject() + { + // Snippet: GetEkmConnection(GetEkmConnectionRequest, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + // Make the request + EkmConnection response = ekmServiceClient.GetEkmConnection(request); + // End snippet + } + + /// Snippet for GetEkmConnectionAsync + public async Task GetEkmConnectionRequestObjectAsync() + { + // Snippet: GetEkmConnectionAsync(GetEkmConnectionRequest, CallSettings) + // Additional: GetEkmConnectionAsync(GetEkmConnectionRequest, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + // Make the request + EkmConnection response = await ekmServiceClient.GetEkmConnectionAsync(request); + // End snippet + } + + /// Snippet for GetEkmConnection + public void GetEkmConnection() + { + // Snippet: GetEkmConnection(string, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/ekmConnections/[EKM_CONNECTION]"; + // Make the request + EkmConnection response = ekmServiceClient.GetEkmConnection(name); + // End snippet + } + + /// Snippet for GetEkmConnectionAsync + public async Task GetEkmConnectionAsync() + { + // Snippet: GetEkmConnectionAsync(string, CallSettings) + // Additional: GetEkmConnectionAsync(string, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/ekmConnections/[EKM_CONNECTION]"; + // Make the request + EkmConnection response = await ekmServiceClient.GetEkmConnectionAsync(name); + // End snippet + } + + /// Snippet for GetEkmConnection + public void GetEkmConnectionResourceNames() + { + // Snippet: GetEkmConnection(EkmConnectionName, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + EkmConnectionName name = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"); + // Make the request + EkmConnection response = ekmServiceClient.GetEkmConnection(name); + // End snippet + } + + /// Snippet for GetEkmConnectionAsync + public async Task GetEkmConnectionResourceNamesAsync() + { + // Snippet: GetEkmConnectionAsync(EkmConnectionName, CallSettings) + // Additional: GetEkmConnectionAsync(EkmConnectionName, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + EkmConnectionName name = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"); + // Make the request + EkmConnection response = await ekmServiceClient.GetEkmConnectionAsync(name); + // End snippet + } + + /// Snippet for CreateEkmConnection + public void CreateEkmConnectionRequestObject() + { + // Snippet: CreateEkmConnection(CreateEkmConnectionRequest, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "", + EkmConnection = new EkmConnection(), + }; + // Make the request + EkmConnection response = ekmServiceClient.CreateEkmConnection(request); + // End snippet + } + + /// Snippet for CreateEkmConnectionAsync + public async Task CreateEkmConnectionRequestObjectAsync() + { + // Snippet: CreateEkmConnectionAsync(CreateEkmConnectionRequest, CallSettings) + // Additional: CreateEkmConnectionAsync(CreateEkmConnectionRequest, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "", + EkmConnection = new EkmConnection(), + }; + // Make the request + EkmConnection response = await ekmServiceClient.CreateEkmConnectionAsync(request); + // End snippet + } + + /// Snippet for CreateEkmConnection + public void CreateEkmConnection() + { + // Snippet: CreateEkmConnection(string, string, EkmConnection, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string ekmConnectionId = ""; + EkmConnection ekmConnection = new EkmConnection(); + // Make the request + EkmConnection response = ekmServiceClient.CreateEkmConnection(parent, ekmConnectionId, ekmConnection); + // End snippet + } + + /// Snippet for CreateEkmConnectionAsync + public async Task CreateEkmConnectionAsync() + { + // Snippet: CreateEkmConnectionAsync(string, string, EkmConnection, CallSettings) + // Additional: CreateEkmConnectionAsync(string, string, EkmConnection, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string ekmConnectionId = ""; + EkmConnection ekmConnection = new EkmConnection(); + // Make the request + EkmConnection response = await ekmServiceClient.CreateEkmConnectionAsync(parent, ekmConnectionId, ekmConnection); + // End snippet + } + + /// Snippet for CreateEkmConnection + public void CreateEkmConnectionResourceNames() + { + // Snippet: CreateEkmConnection(LocationName, string, EkmConnection, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string ekmConnectionId = ""; + EkmConnection ekmConnection = new EkmConnection(); + // Make the request + EkmConnection response = ekmServiceClient.CreateEkmConnection(parent, ekmConnectionId, ekmConnection); + // End snippet + } + + /// Snippet for CreateEkmConnectionAsync + public async Task CreateEkmConnectionResourceNamesAsync() + { + // Snippet: CreateEkmConnectionAsync(LocationName, string, EkmConnection, CallSettings) + // Additional: CreateEkmConnectionAsync(LocationName, string, EkmConnection, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string ekmConnectionId = ""; + EkmConnection ekmConnection = new EkmConnection(); + // Make the request + EkmConnection response = await ekmServiceClient.CreateEkmConnectionAsync(parent, ekmConnectionId, ekmConnection); + // End snippet + } + + /// Snippet for UpdateEkmConnection + public void UpdateEkmConnectionRequestObject() + { + // Snippet: UpdateEkmConnection(UpdateEkmConnectionRequest, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + UpdateEkmConnectionRequest request = new UpdateEkmConnectionRequest + { + EkmConnection = new EkmConnection(), + UpdateMask = new FieldMask(), + }; + // Make the request + EkmConnection response = ekmServiceClient.UpdateEkmConnection(request); + // End snippet + } + + /// Snippet for UpdateEkmConnectionAsync + public async Task UpdateEkmConnectionRequestObjectAsync() + { + // Snippet: UpdateEkmConnectionAsync(UpdateEkmConnectionRequest, CallSettings) + // Additional: UpdateEkmConnectionAsync(UpdateEkmConnectionRequest, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateEkmConnectionRequest request = new UpdateEkmConnectionRequest + { + EkmConnection = new EkmConnection(), + UpdateMask = new FieldMask(), + }; + // Make the request + EkmConnection response = await ekmServiceClient.UpdateEkmConnectionAsync(request); + // End snippet + } + + /// Snippet for UpdateEkmConnection + public void UpdateEkmConnection() + { + // Snippet: UpdateEkmConnection(EkmConnection, FieldMask, CallSettings) + // Create client + EkmServiceClient ekmServiceClient = EkmServiceClient.Create(); + // Initialize request argument(s) + EkmConnection ekmConnection = new EkmConnection(); + FieldMask updateMask = new FieldMask(); + // Make the request + EkmConnection response = ekmServiceClient.UpdateEkmConnection(ekmConnection, updateMask); + // End snippet + } + + /// Snippet for UpdateEkmConnectionAsync + public async Task UpdateEkmConnectionAsync() + { + // Snippet: UpdateEkmConnectionAsync(EkmConnection, FieldMask, CallSettings) + // Additional: UpdateEkmConnectionAsync(EkmConnection, FieldMask, CancellationToken) + // Create client + EkmServiceClient ekmServiceClient = await EkmServiceClient.CreateAsync(); + // Initialize request argument(s) + EkmConnection ekmConnection = new EkmConnection(); + FieldMask updateMask = new FieldMask(); + // Make the request + EkmConnection response = await ekmServiceClient.UpdateEkmConnectionAsync(ekmConnection, updateMask); + // End snippet + } + } +} diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/EkmServiceClientTest.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/EkmServiceClientTest.g.cs new file mode 100644 index 000000000000..05451d22b132 --- /dev/null +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/EkmServiceClientTest.g.cs @@ -0,0 +1,463 @@ +// 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. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +using gaxgrpc = Google.Api.Gax.Grpc; +using gagr = Google.Api.Gax.ResourceNames; +using wkt = Google.Protobuf.WellKnownTypes; +using grpccore = Grpc.Core; +using moq = Moq; +using st = System.Threading; +using stt = System.Threading.Tasks; +using xunit = Xunit; + +namespace Google.Cloud.Kms.V1.Tests +{ + /// Generated unit tests. + public sealed class GeneratedEkmServiceClientTest + { + [xunit::FactAttribute] + public void GetEkmConnectionRequestObject() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.GetEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.GetEkmConnection(request); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task GetEkmConnectionRequestObjectAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.GetEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.GetEkmConnectionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.GetEkmConnectionAsync(request, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void GetEkmConnection() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.GetEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.GetEkmConnection(request.Name); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task GetEkmConnectionAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.GetEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.GetEkmConnectionAsync(request.Name, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.GetEkmConnectionAsync(request.Name, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void GetEkmConnectionResourceNames() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.GetEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.GetEkmConnection(request.EkmConnectionName); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task GetEkmConnectionResourceNamesAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + GetEkmConnectionRequest request = new GetEkmConnectionRequest + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.GetEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.GetEkmConnectionAsync(request.EkmConnectionName, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.GetEkmConnectionAsync(request.EkmConnectionName, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void CreateEkmConnectionRequestObject() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = gagr::LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "ekm_connection_id1bd1ac0c", + EkmConnection = new EkmConnection(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.CreateEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.CreateEkmConnection(request); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task CreateEkmConnectionRequestObjectAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = gagr::LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "ekm_connection_id1bd1ac0c", + EkmConnection = new EkmConnection(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.CreateEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.CreateEkmConnectionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.CreateEkmConnectionAsync(request, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void CreateEkmConnection() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = gagr::LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "ekm_connection_id1bd1ac0c", + EkmConnection = new EkmConnection(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.CreateEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.CreateEkmConnection(request.Parent, request.EkmConnectionId, request.EkmConnection); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task CreateEkmConnectionAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = gagr::LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "ekm_connection_id1bd1ac0c", + EkmConnection = new EkmConnection(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.CreateEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.CreateEkmConnectionAsync(request.Parent, request.EkmConnectionId, request.EkmConnection, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.CreateEkmConnectionAsync(request.Parent, request.EkmConnectionId, request.EkmConnection, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void CreateEkmConnectionResourceNames() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = gagr::LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "ekm_connection_id1bd1ac0c", + EkmConnection = new EkmConnection(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.CreateEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.CreateEkmConnection(request.ParentAsLocationName, request.EkmConnectionId, request.EkmConnection); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task CreateEkmConnectionResourceNamesAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + CreateEkmConnectionRequest request = new CreateEkmConnectionRequest + { + ParentAsLocationName = gagr::LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + EkmConnectionId = "ekm_connection_id1bd1ac0c", + EkmConnection = new EkmConnection(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.CreateEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.CreateEkmConnectionAsync(request.ParentAsLocationName, request.EkmConnectionId, request.EkmConnection, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.CreateEkmConnectionAsync(request.ParentAsLocationName, request.EkmConnectionId, request.EkmConnection, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void UpdateEkmConnectionRequestObject() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + UpdateEkmConnectionRequest request = new UpdateEkmConnectionRequest + { + EkmConnection = new EkmConnection(), + UpdateMask = new wkt::FieldMask(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.UpdateEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.UpdateEkmConnection(request); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task UpdateEkmConnectionRequestObjectAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + UpdateEkmConnectionRequest request = new UpdateEkmConnectionRequest + { + EkmConnection = new EkmConnection(), + UpdateMask = new wkt::FieldMask(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.UpdateEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.UpdateEkmConnectionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.UpdateEkmConnectionAsync(request, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public void UpdateEkmConnection() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + UpdateEkmConnectionRequest request = new UpdateEkmConnectionRequest + { + EkmConnection = new EkmConnection(), + UpdateMask = new wkt::FieldMask(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.UpdateEkmConnection(request, moq::It.IsAny())).Returns(expectedResponse); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection response = client.UpdateEkmConnection(request.EkmConnection, request.UpdateMask); + xunit::Assert.Same(expectedResponse, response); + mockGrpcClient.VerifyAll(); + } + + [xunit::FactAttribute] + public async stt::Task UpdateEkmConnectionAsync() + { + moq::Mock mockGrpcClient = new moq::Mock(moq::MockBehavior.Strict); + UpdateEkmConnectionRequest request = new UpdateEkmConnectionRequest + { + EkmConnection = new EkmConnection(), + UpdateMask = new wkt::FieldMask(), + }; + EkmConnection expectedResponse = new EkmConnection + { + EkmConnectionName = EkmConnectionName.FromProjectLocationEkmConnection("[PROJECT]", "[LOCATION]", "[EKM_CONNECTION]"), + CreateTime = new wkt::Timestamp(), + ServiceResolvers = + { + new EkmConnection.Types.ServiceResolver(), + }, + Etag = "etage8ad7218", + }; + mockGrpcClient.Setup(x => x.UpdateEkmConnectionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); + EkmServiceClient client = new EkmServiceClientImpl(mockGrpcClient.Object, null); + EkmConnection responseCallSettings = await client.UpdateEkmConnectionAsync(request.EkmConnection, request.UpdateMask, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None)); + xunit::Assert.Same(expectedResponse, responseCallSettings); + EkmConnection responseCancellationToken = await client.UpdateEkmConnectionAsync(request.EkmConnection, request.UpdateMask, st::CancellationToken.None); + xunit::Assert.Same(expectedResponse, responseCancellationToken); + mockGrpcClient.VerifyAll(); + } + } +} diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/KeyManagementServiceClientTest.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/KeyManagementServiceClientTest.g.cs index df6faa5bbe55..36e9ec53a077 100644 --- a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/KeyManagementServiceClientTest.g.cs +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Tests/KeyManagementServiceClientTest.g.cs @@ -182,6 +182,7 @@ public void GetCryptoKeyRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.GetCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -216,6 +217,7 @@ public void GetCryptoKeyRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.GetCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -252,6 +254,7 @@ public void GetCryptoKey() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.GetCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -286,6 +289,7 @@ public void GetCryptoKey() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.GetCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -322,6 +326,7 @@ public void GetCryptoKeyResourceNames() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.GetCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -356,6 +361,7 @@ public void GetCryptoKeyResourceNames() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.GetCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -381,7 +387,7 @@ public void GetCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -413,7 +419,7 @@ public void GetCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -447,7 +453,7 @@ public void GetCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -479,7 +485,7 @@ public void GetCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -513,7 +519,7 @@ public void GetCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -545,7 +551,7 @@ public void GetCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -578,7 +584,7 @@ public void GetPublicKeyRequestObject() Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, PemCrc32C = 7888183666447720391L, PublicKeyName = PublicKeyName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.GetPublicKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -601,7 +607,7 @@ public void GetPublicKeyRequestObject() Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, PemCrc32C = 7888183666447720391L, PublicKeyName = PublicKeyName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.GetPublicKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -626,7 +632,7 @@ public void GetPublicKey() Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, PemCrc32C = 7888183666447720391L, PublicKeyName = PublicKeyName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.GetPublicKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -649,7 +655,7 @@ public void GetPublicKey() Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, PemCrc32C = 7888183666447720391L, PublicKeyName = PublicKeyName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.GetPublicKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -674,7 +680,7 @@ public void GetPublicKeyResourceNames() Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, PemCrc32C = 7888183666447720391L, PublicKeyName = PublicKeyName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.GetPublicKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -697,7 +703,7 @@ public void GetPublicKeyResourceNames() Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, PemCrc32C = 7888183666447720391L, PublicKeyName = PublicKeyName.FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]"), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.GetPublicKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -726,7 +732,7 @@ public void GetImportJobRequestObject() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.GetImportJob(request, moq::It.IsAny())).Returns(expectedResponse); @@ -754,7 +760,7 @@ public void GetImportJobRequestObject() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.GetImportJobAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); @@ -784,7 +790,7 @@ public void GetImportJob() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.GetImportJob(request, moq::It.IsAny())).Returns(expectedResponse); @@ -812,7 +818,7 @@ public void GetImportJob() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.GetImportJobAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); @@ -842,7 +848,7 @@ public void GetImportJobResourceNames() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.GetImportJob(request, moq::It.IsAny())).Returns(expectedResponse); @@ -870,7 +876,7 @@ public void GetImportJobResourceNames() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.GetImportJobAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); @@ -1049,6 +1055,7 @@ public void CreateCryptoKeyRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.CreateCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1086,6 +1093,7 @@ public void CreateCryptoKeyRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.CreateCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1124,6 +1132,7 @@ public void CreateCryptoKey() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.CreateCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1160,6 +1169,7 @@ public void CreateCryptoKey() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.CreateCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1198,6 +1208,7 @@ public void CreateCryptoKeyResourceNames() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.CreateCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1234,6 +1245,7 @@ public void CreateCryptoKeyResourceNames() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.CreateCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1260,7 +1272,7 @@ public void CreateCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1293,7 +1305,7 @@ public void CreateCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1328,7 +1340,7 @@ public void CreateCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1361,7 +1373,7 @@ public void CreateCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1396,7 +1408,7 @@ public void CreateCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1429,7 +1441,7 @@ public void CreateCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1467,7 +1479,7 @@ public void ImportCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1503,7 +1515,7 @@ public void ImportCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1542,7 +1554,7 @@ public void CreateImportJobRequestObject() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.CreateImportJob(request, moq::It.IsAny())).Returns(expectedResponse); @@ -1572,7 +1584,7 @@ public void CreateImportJobRequestObject() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.CreateImportJobAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); @@ -1604,7 +1616,7 @@ public void CreateImportJob() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.CreateImportJob(request, moq::It.IsAny())).Returns(expectedResponse); @@ -1634,7 +1646,7 @@ public void CreateImportJob() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.CreateImportJobAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); @@ -1666,7 +1678,7 @@ public void CreateImportJobResourceNames() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.CreateImportJob(request, moq::It.IsAny())).Returns(expectedResponse); @@ -1696,7 +1708,7 @@ public void CreateImportJobResourceNames() State = ImportJob.Types.ImportJobState.Active, PublicKey = new ImportJob.Types.WrappingPublicKey(), Attestation = new KeyOperationAttestation(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, ExpireEventTime = new wkt::Timestamp(), }; mockGrpcClient.Setup(x => x.CreateImportJobAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); @@ -1735,6 +1747,7 @@ public void UpdateCryptoKeyRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1770,6 +1783,7 @@ public void UpdateCryptoKeyRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1807,6 +1821,7 @@ public void UpdateCryptoKey() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKey(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1842,6 +1857,7 @@ public void UpdateCryptoKey() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -1868,7 +1884,7 @@ public void UpdateCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1901,7 +1917,7 @@ public void UpdateCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1936,7 +1952,7 @@ public void UpdateCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -1969,7 +1985,7 @@ public void UpdateCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2015,6 +2031,7 @@ public void UpdateCryptoKeyPrimaryVersionRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyPrimaryVersion(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2050,6 +2067,7 @@ public void UpdateCryptoKeyPrimaryVersionRequestObject() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyPrimaryVersionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2087,6 +2105,7 @@ public void UpdateCryptoKeyPrimaryVersion() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyPrimaryVersion(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2122,6 +2141,7 @@ public void UpdateCryptoKeyPrimaryVersion() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyPrimaryVersionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2159,6 +2179,7 @@ public void UpdateCryptoKeyPrimaryVersionResourceNames() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyPrimaryVersion(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2194,6 +2215,7 @@ public void UpdateCryptoKeyPrimaryVersionResourceNames() VersionTemplate = new CryptoKeyVersionTemplate(), ImportOnly = false, DestroyScheduledDuration = new wkt::Duration(), + CryptoKeyBackendAsResourceName = new gax::UnparsedResourceName("a/wildcard/resource"), }; mockGrpcClient.Setup(x => x.UpdateCryptoKeyPrimaryVersionAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2219,7 +2241,7 @@ public void DestroyCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2251,7 +2273,7 @@ public void DestroyCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2285,7 +2307,7 @@ public void DestroyCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2317,7 +2339,7 @@ public void DestroyCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2351,7 +2373,7 @@ public void DestroyCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2383,7 +2405,7 @@ public void DestroyCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2417,7 +2439,7 @@ public void RestoreCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2449,7 +2471,7 @@ public void RestoreCryptoKeyVersionRequestObject() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2483,7 +2505,7 @@ public void RestoreCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2515,7 +2537,7 @@ public void RestoreCryptoKeyVersion() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2549,7 +2571,7 @@ public void RestoreCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2581,7 +2603,7 @@ public void RestoreCryptoKeyVersionResourceNames() CreateTime = new wkt::Timestamp(), DestroyTime = new wkt::Timestamp(), DestroyEventTime = new wkt::Timestamp(), - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, Attestation = new KeyOperationAttestation(), Algorithm = CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.RsaDecryptOaep4096Sha512, GenerateTime = new wkt::Timestamp(), @@ -2619,7 +2641,7 @@ public void EncryptRequestObject() CiphertextCrc32C = 5835079685918568182L, VerifiedPlaintextCrc32C = false, VerifiedAdditionalAuthenticatedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.Encrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2647,7 +2669,7 @@ public void EncryptRequestObject() CiphertextCrc32C = 5835079685918568182L, VerifiedPlaintextCrc32C = false, VerifiedAdditionalAuthenticatedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.EncryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2674,7 +2696,7 @@ public void Encrypt() CiphertextCrc32C = 5835079685918568182L, VerifiedPlaintextCrc32C = false, VerifiedAdditionalAuthenticatedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.Encrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2699,7 +2721,7 @@ public void Encrypt() CiphertextCrc32C = 5835079685918568182L, VerifiedPlaintextCrc32C = false, VerifiedAdditionalAuthenticatedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.EncryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2726,7 +2748,7 @@ public void EncryptResourceNames() CiphertextCrc32C = 5835079685918568182L, VerifiedPlaintextCrc32C = false, VerifiedAdditionalAuthenticatedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.Encrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2751,7 +2773,7 @@ public void EncryptResourceNames() CiphertextCrc32C = 5835079685918568182L, VerifiedPlaintextCrc32C = false, VerifiedAdditionalAuthenticatedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.EncryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2779,7 +2801,7 @@ public void DecryptRequestObject() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, UsedPrimary = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.Decrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2805,7 +2827,7 @@ public void DecryptRequestObject() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, UsedPrimary = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.DecryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2830,7 +2852,7 @@ public void Decrypt() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, UsedPrimary = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.Decrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2853,7 +2875,7 @@ public void Decrypt() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, UsedPrimary = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.DecryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2878,7 +2900,7 @@ public void DecryptResourceNames() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, UsedPrimary = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.Decrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2901,7 +2923,7 @@ public void DecryptResourceNames() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, UsedPrimary = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.DecryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2931,7 +2953,7 @@ public void AsymmetricSignRequestObject() VerifiedDigestCrc32C = true, Name = "name1c9368b0", VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricSign(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2959,7 +2981,7 @@ public void AsymmetricSignRequestObject() VerifiedDigestCrc32C = true, Name = "name1c9368b0", VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricSignAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -2986,7 +3008,7 @@ public void AsymmetricSign() VerifiedDigestCrc32C = true, Name = "name1c9368b0", VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricSign(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3011,7 +3033,7 @@ public void AsymmetricSign() VerifiedDigestCrc32C = true, Name = "name1c9368b0", VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricSignAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3038,7 +3060,7 @@ public void AsymmetricSignResourceNames() VerifiedDigestCrc32C = true, Name = "name1c9368b0", VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricSign(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3063,7 +3085,7 @@ public void AsymmetricSignResourceNames() VerifiedDigestCrc32C = true, Name = "name1c9368b0", VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricSignAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3089,7 +3111,7 @@ public void AsymmetricDecryptRequestObject() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, VerifiedCiphertextCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricDecrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3113,7 +3135,7 @@ public void AsymmetricDecryptRequestObject() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, VerifiedCiphertextCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricDecryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3138,7 +3160,7 @@ public void AsymmetricDecrypt() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, VerifiedCiphertextCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricDecrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3161,7 +3183,7 @@ public void AsymmetricDecrypt() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, VerifiedCiphertextCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricDecryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3186,7 +3208,7 @@ public void AsymmetricDecryptResourceNames() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, VerifiedCiphertextCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricDecrypt(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3209,7 +3231,7 @@ public void AsymmetricDecryptResourceNames() Plaintext = proto::ByteString.CopyFromUtf8("plaintext1d5bbcf2"), PlaintextCrc32C = -5108784857370523788L, VerifiedCiphertextCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.AsymmetricDecryptAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3236,7 +3258,7 @@ public void MacSignRequestObject() Mac = proto::ByteString.CopyFromUtf8("mac121f0c14"), MacCrc32C = 8296593316352450800L, VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacSign(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3261,7 +3283,7 @@ public void MacSignRequestObject() Mac = proto::ByteString.CopyFromUtf8("mac121f0c14"), MacCrc32C = 8296593316352450800L, VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacSignAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3287,7 +3309,7 @@ public void MacSign() Mac = proto::ByteString.CopyFromUtf8("mac121f0c14"), MacCrc32C = 8296593316352450800L, VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacSign(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3311,7 +3333,7 @@ public void MacSign() Mac = proto::ByteString.CopyFromUtf8("mac121f0c14"), MacCrc32C = 8296593316352450800L, VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacSignAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3337,7 +3359,7 @@ public void MacSignResourceNames() Mac = proto::ByteString.CopyFromUtf8("mac121f0c14"), MacCrc32C = 8296593316352450800L, VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacSign(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3361,7 +3383,7 @@ public void MacSignResourceNames() Mac = proto::ByteString.CopyFromUtf8("mac121f0c14"), MacCrc32C = 8296593316352450800L, VerifiedDataCrc32C = true, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacSignAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3391,7 +3413,7 @@ public void MacVerifyRequestObject() VerifiedDataCrc32C = true, VerifiedMacCrc32C = false, VerifiedSuccessIntegrity = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacVerify(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3419,7 +3441,7 @@ public void MacVerifyRequestObject() VerifiedDataCrc32C = true, VerifiedMacCrc32C = false, VerifiedSuccessIntegrity = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacVerifyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3447,7 +3469,7 @@ public void MacVerify() VerifiedDataCrc32C = true, VerifiedMacCrc32C = false, VerifiedSuccessIntegrity = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacVerify(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3473,7 +3495,7 @@ public void MacVerify() VerifiedDataCrc32C = true, VerifiedMacCrc32C = false, VerifiedSuccessIntegrity = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacVerifyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3501,7 +3523,7 @@ public void MacVerifyResourceNames() VerifiedDataCrc32C = true, VerifiedMacCrc32C = false, VerifiedSuccessIntegrity = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacVerify(request, moq::It.IsAny())).Returns(expectedResponse); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3527,7 +3549,7 @@ public void MacVerifyResourceNames() VerifiedDataCrc32C = true, VerifiedMacCrc32C = false, VerifiedSuccessIntegrity = false, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; mockGrpcClient.Setup(x => x.MacVerifyAsync(request, moq::It.IsAny())).Returns(new grpccore::AsyncUnaryCall(stt::Task.FromResult(expectedResponse), null, null, null, null)); KeyManagementServiceClient client = new KeyManagementServiceClientImpl(mockGrpcClient.Object, null); @@ -3546,7 +3568,7 @@ public void GenerateRandomBytesRequestObject() { Location = "locatione09d18d5", LengthBytes = 1939961421, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; GenerateRandomBytesResponse expectedResponse = new GenerateRandomBytesResponse { @@ -3568,7 +3590,7 @@ public void GenerateRandomBytesRequestObject() { Location = "locatione09d18d5", LengthBytes = 1939961421, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; GenerateRandomBytesResponse expectedResponse = new GenerateRandomBytesResponse { @@ -3592,7 +3614,7 @@ public void GenerateRandomBytes() { Location = "locatione09d18d5", LengthBytes = 1939961421, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; GenerateRandomBytesResponse expectedResponse = new GenerateRandomBytesResponse { @@ -3614,7 +3636,7 @@ public void GenerateRandomBytes() { Location = "locatione09d18d5", LengthBytes = 1939961421, - ProtectionLevel = ProtectionLevel.Hsm, + ProtectionLevel = ProtectionLevel.ExternalVpc, }; GenerateRandomBytesResponse expectedResponse = new GenerateRandomBytesResponse { diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmService.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmService.g.cs new file mode 100644 index 000000000000..bf8f696dbac3 --- /dev/null +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmService.g.cs @@ -0,0 +1,2673 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto +// +#pragma warning disable 1591, 0612, 3021 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.Kms.V1 { + + /// Holder for reflection information generated from google/cloud/kms/v1/ekm_service.proto + public static partial class EkmServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/kms/v1/ekm_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EkmServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiVnb29nbGUvY2xvdWQva21zL3YxL2VrbV9zZXJ2aWNlLnByb3RvEhNnb29n", + "bGUuY2xvdWQua21zLnYxGhxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3Rv", + "Ghdnb29nbGUvYXBpL2NsaWVudC5wcm90bxofZ29vZ2xlL2FwaS9maWVsZF9i", + "ZWhhdmlvci5wcm90bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxogZ29v", + "Z2xlL3Byb3RvYnVmL2ZpZWxkX21hc2sucHJvdG8aH2dvb2dsZS9wcm90b2J1", + "Zi90aW1lc3RhbXAucHJvdG8iswEKGUxpc3RFa21Db25uZWN0aW9uc1JlcXVl", + "c3QSOQoGcGFyZW50GAEgASgJQingQQL6QSMKIWxvY2F0aW9ucy5nb29nbGVh", + "cGlzLmNvbS9Mb2NhdGlvbhIWCglwYWdlX3NpemUYAiABKAVCA+BBARIXCgpw", + "YWdlX3Rva2VuGAMgASgJQgPgQQESEwoGZmlsdGVyGAQgASgJQgPgQQESFQoI", + "b3JkZXJfYnkYBSABKAlCA+BBASKGAQoaTGlzdEVrbUNvbm5lY3Rpb25zUmVz", + "cG9uc2USOwoPZWttX2Nvbm5lY3Rpb25zGAEgAygLMiIuZ29vZ2xlLmNsb3Vk", + "Lmttcy52MS5Fa21Db25uZWN0aW9uEhcKD25leHRfcGFnZV90b2tlbhgCIAEo", + "CRISCgp0b3RhbF9zaXplGAMgASgFIlYKF0dldEVrbUNvbm5lY3Rpb25SZXF1", + "ZXN0EjsKBG5hbWUYASABKAlCLeBBAvpBJwolY2xvdWRrbXMuZ29vZ2xlYXBp", + "cy5jb20vRWttQ29ubmVjdGlvbiK4AQoaQ3JlYXRlRWttQ29ubmVjdGlvblJl", + "cXVlc3QSOQoGcGFyZW50GAEgASgJQingQQL6QSMKIWxvY2F0aW9ucy5nb29n", + "bGVhcGlzLmNvbS9Mb2NhdGlvbhIeChFla21fY29ubmVjdGlvbl9pZBgCIAEo", + "CUID4EECEj8KDmVrbV9jb25uZWN0aW9uGAMgASgLMiIuZ29vZ2xlLmNsb3Vk", + "Lmttcy52MS5Fa21Db25uZWN0aW9uQgPgQQIikwEKGlVwZGF0ZUVrbUNvbm5l", + "Y3Rpb25SZXF1ZXN0Ej8KDmVrbV9jb25uZWN0aW9uGAEgASgLMiIuZ29vZ2xl", + "LmNsb3VkLmttcy52MS5Fa21Db25uZWN0aW9uQgPgQQISNAoLdXBkYXRlX21h", + "c2sYAiABKAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrQgPgQQIivwIK", + "C0NlcnRpZmljYXRlEhQKB3Jhd19kZXIYASABKAxCA+BBAhITCgZwYXJzZWQY", + "AiABKAhCA+BBAxITCgZpc3N1ZXIYAyABKAlCA+BBAxIUCgdzdWJqZWN0GAQg", + "ASgJQgPgQQMSKgodc3ViamVjdF9hbHRlcm5hdGl2ZV9kbnNfbmFtZXMYBSAD", + "KAlCA+BBAxI4Cg9ub3RfYmVmb3JlX3RpbWUYBiABKAsyGi5nb29nbGUucHJv", + "dG9idWYuVGltZXN0YW1wQgPgQQMSNwoObm90X2FmdGVyX3RpbWUYByABKAsy", + "Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSGgoNc2VyaWFsX251", + "bWJlchgIIAEoCUID4EEDEh8KEnNoYTI1Nl9maW5nZXJwcmludBgJIAEoCUID", + "4EEDIosECg1Fa21Db25uZWN0aW9uEhEKBG5hbWUYASABKAlCA+BBAxI0Cgtj", + "cmVhdGVfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBC", + "A+BBAxJNChFzZXJ2aWNlX3Jlc29sdmVycxgDIAMoCzIyLmdvb2dsZS5jbG91", + "ZC5rbXMudjEuRWttQ29ubmVjdGlvbi5TZXJ2aWNlUmVzb2x2ZXISDAoEZXRh", + "ZxgFIAEoCRreAQoPU2VydmljZVJlc29sdmVyElIKGXNlcnZpY2VfZGlyZWN0", + "b3J5X3NlcnZpY2UYASABKAlCL+BBAvpBKQonc2VydmljZWRpcmVjdG9yeS5n", + "b29nbGVhcGlzLmNvbS9TZXJ2aWNlEhwKD2VuZHBvaW50X2ZpbHRlchgCIAEo", + "CUID4EEBEhUKCGhvc3RuYW1lGAMgASgJQgPgQQISQgoTc2VydmVyX2NlcnRp", + "ZmljYXRlcxgEIAMoCzIgLmdvb2dsZS5jbG91ZC5rbXMudjEuQ2VydGlmaWNh", + "dGVCA+BBAjpz6kFwCiVjbG91ZGttcy5nb29nbGVhcGlzLmNvbS9Fa21Db25u", + "ZWN0aW9uEkdwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlv", + "bn0vZWttQ29ubmVjdGlvbnMve2VrbV9jb25uZWN0aW9ufTKxBwoKRWttU2Vy", + "dmljZRK6AQoSTGlzdEVrbUNvbm5lY3Rpb25zEi4uZ29vZ2xlLmNsb3VkLmtt", + "cy52MS5MaXN0RWttQ29ubmVjdGlvbnNSZXF1ZXN0Gi8uZ29vZ2xlLmNsb3Vk", + "Lmttcy52MS5MaXN0RWttQ29ubmVjdGlvbnNSZXNwb25zZSJDgtPkkwI0EjIv", + "djEve3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qfS9la21Db25uZWN0", + "aW9uc9pBBnBhcmVudBKnAQoQR2V0RWttQ29ubmVjdGlvbhIsLmdvb2dsZS5j", + "bG91ZC5rbXMudjEuR2V0RWttQ29ubmVjdGlvblJlcXVlc3QaIi5nb29nbGUu", + "Y2xvdWQua21zLnYxLkVrbUNvbm5lY3Rpb24iQYLT5JMCNBIyL3YxL3tuYW1l", + "PXByb2plY3RzLyovbG9jYXRpb25zLyovZWttQ29ubmVjdGlvbnMvKn3aQQRu", + "YW1lEuABChNDcmVhdGVFa21Db25uZWN0aW9uEi8uZ29vZ2xlLmNsb3VkLmtt", + "cy52MS5DcmVhdGVFa21Db25uZWN0aW9uUmVxdWVzdBoiLmdvb2dsZS5jbG91", + "ZC5rbXMudjEuRWttQ29ubmVjdGlvbiJ0gtPkkwJEIjIvdjEve3BhcmVudD1w", + "cm9qZWN0cy8qL2xvY2F0aW9ucy8qfS9la21Db25uZWN0aW9uczoOZWttX2Nv", + "bm5lY3Rpb27aQSdwYXJlbnQsZWttX2Nvbm5lY3Rpb25faWQsZWttX2Nvbm5l", + "Y3Rpb24S4gEKE1VwZGF0ZUVrbUNvbm5lY3Rpb24SLy5nb29nbGUuY2xvdWQu", + "a21zLnYxLlVwZGF0ZUVrbUNvbm5lY3Rpb25SZXF1ZXN0GiIuZ29vZ2xlLmNs", + "b3VkLmttcy52MS5Fa21Db25uZWN0aW9uInaC0+STAlMyQS92MS97ZWttX2Nv", + "bm5lY3Rpb24ubmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2VrbUNvbm5l", + "Y3Rpb25zLyp9Og5la21fY29ubmVjdGlvbtpBGmVrbV9jb25uZWN0aW9uLHVw", + "ZGF0ZV9tYXNrGnTKQRdjbG91ZGttcy5nb29nbGVhcGlzLmNvbdJBV2h0dHBz", + "Oi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm0saHR0", + "cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9jbG91ZGttc0KSAgoXY29t", + "Lmdvb2dsZS5jbG91ZC5rbXMudjFCD0VrbVNlcnZpY2VQcm90b1ABWjZnb29n", + "bGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2Nsb3VkL2ttcy92", + "MTtrbXP4AQGqAhNHb29nbGUuQ2xvdWQuS21zLlYxygITR29vZ2xlXENsb3Vk", + "XEttc1xWMepBfAonc2VydmljZWRpcmVjdG9yeS5nb29nbGVhcGlzLmNvbS9T", + "ZXJ2aWNlElFwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlv", + "bn0vbmFtZXNwYWNlcy97bmFtZXNwYWNlfS9zZXJ2aWNlcy97c2VydmljZX1i", + "BnByb3RvMw==")); + 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[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest), global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter", "OrderBy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.ListEkmConnectionsResponse), global::Google.Cloud.Kms.V1.ListEkmConnectionsResponse.Parser, new[]{ "EkmConnections", "NextPageToken", "TotalSize" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.GetEkmConnectionRequest), global::Google.Cloud.Kms.V1.GetEkmConnectionRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest), global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest.Parser, new[]{ "Parent", "EkmConnectionId", "EkmConnection" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest), global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest.Parser, new[]{ "EkmConnection", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.Certificate), global::Google.Cloud.Kms.V1.Certificate.Parser, new[]{ "RawDer", "Parsed", "Issuer", "Subject", "SubjectAlternativeDnsNames", "NotBeforeTime", "NotAfterTime", "SerialNumber", "Sha256Fingerprint" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.EkmConnection), global::Google.Cloud.Kms.V1.EkmConnection.Parser, new[]{ "Name", "CreateTime", "ServiceResolvers", "Etag" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.EkmConnection.Types.ServiceResolver), global::Google.Cloud.Kms.V1.EkmConnection.Types.ServiceResolver.Parser, new[]{ "ServiceDirectoryService", "EndpointFilter", "Hostname", "ServerCertificates" }, null, null, null, null)}) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for [KeyManagementService.ListEkmConnections][]. + /// + public sealed partial class ListEkmConnectionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListEkmConnectionsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListEkmConnectionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListEkmConnectionsRequest(ListEkmConnectionsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + orderBy_ = other.orderBy_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListEkmConnectionsRequest Clone() { + return new ListEkmConnectionsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The resource name of the location associated with the + /// [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + /// `projects/*/locations/*`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. Optional limit on the number of + /// [EkmConnections][google.cloud.kms.v1.EkmConnection] to include in the + /// response. Further [EkmConnections][google.cloud.kms.v1.EkmConnection] can + /// subsequently be obtained by including the + /// [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token] + /// in a subsequent request. If unspecified, the server will pick an + /// appropriate default. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. Optional pagination token, returned earlier via + /// [ListEkmConnectionsResponse.next_page_token][google.cloud.kms.v1.ListEkmConnectionsResponse.next_page_token]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// Optional. Only include resources that match the filter in the response. For + /// more information, see + /// [Sorting and filtering list + /// results](https://cloud.google.com/kms/docs/sorting-and-filtering). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "order_by" field. + public const int OrderByFieldNumber = 5; + private string orderBy_ = ""; + /// + /// Optional. Specify how the results should be sorted. If not specified, the + /// results will be sorted in the default order. For more information, see + /// [Sorting and filtering list + /// results](https://cloud.google.com/kms/docs/sorting-and-filtering). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OrderBy { + get { return orderBy_; } + set { + orderBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListEkmConnectionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListEkmConnectionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + if (OrderBy != other.OrderBy) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (OrderBy.Length != 0) hash ^= OrderBy.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (OrderBy.Length != 0) { + output.WriteRawTag(42); + output.WriteString(OrderBy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (OrderBy.Length != 0) { + output.WriteRawTag(42); + output.WriteString(OrderBy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (OrderBy.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderBy); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListEkmConnectionsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.OrderBy.Length != 0) { + OrderBy = other.OrderBy; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + case 42: { + OrderBy = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + case 42: { + OrderBy = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for [KeyManagementService.ListEkmConnections][]. + /// + public sealed partial class ListEkmConnectionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListEkmConnectionsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListEkmConnectionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListEkmConnectionsResponse(ListEkmConnectionsResponse other) : this() { + ekmConnections_ = other.ekmConnections_.Clone(); + nextPageToken_ = other.nextPageToken_; + totalSize_ = other.totalSize_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListEkmConnectionsResponse Clone() { + return new ListEkmConnectionsResponse(this); + } + + /// Field number for the "ekm_connections" field. + public const int EkmConnectionsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ekmConnections_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.Kms.V1.EkmConnection.Parser); + private readonly pbc::RepeatedField ekmConnections_ = new pbc::RepeatedField(); + /// + /// The list of [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EkmConnections { + get { return ekmConnections_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// A token to retrieve next page of results. Pass this value in + /// [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token] + /// to retrieve the next page of results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "total_size" field. + public const int TotalSizeFieldNumber = 3; + private int totalSize_; + /// + /// The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection] + /// that matched the query. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TotalSize { + get { return totalSize_; } + set { + totalSize_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListEkmConnectionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListEkmConnectionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ekmConnections_.Equals(other.ekmConnections_)) return false; + if (NextPageToken != other.NextPageToken) return false; + if (TotalSize != other.TotalSize) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= ekmConnections_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (TotalSize != 0) hash ^= TotalSize.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + ekmConnections_.WriteTo(output, _repeated_ekmConnections_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (TotalSize != 0) { + output.WriteRawTag(24); + output.WriteInt32(TotalSize); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + ekmConnections_.WriteTo(ref output, _repeated_ekmConnections_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (TotalSize != 0) { + output.WriteRawTag(24); + output.WriteInt32(TotalSize); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += ekmConnections_.CalculateSize(_repeated_ekmConnections_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (TotalSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalSize); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListEkmConnectionsResponse other) { + if (other == null) { + return; + } + ekmConnections_.Add(other.ekmConnections_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + if (other.TotalSize != 0) { + TotalSize = other.TotalSize; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ekmConnections_.AddEntriesFrom(input, _repeated_ekmConnections_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + case 24: { + TotalSize = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ekmConnections_.AddEntriesFrom(ref input, _repeated_ekmConnections_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + case 24: { + TotalSize = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for [KeyManagementService.GetEkmConnection][]. + /// + public sealed partial class GetEkmConnectionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetEkmConnectionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEkmConnectionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEkmConnectionRequest(GetEkmConnectionRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEkmConnectionRequest Clone() { + return new GetEkmConnectionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetEkmConnectionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetEkmConnectionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetEkmConnectionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for [KeyManagementService.CreateEkmConnection][]. + /// + public sealed partial class CreateEkmConnectionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateEkmConnectionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateEkmConnectionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateEkmConnectionRequest(CreateEkmConnectionRequest other) : this() { + parent_ = other.parent_; + ekmConnectionId_ = other.ekmConnectionId_; + ekmConnection_ = other.ekmConnection_ != null ? other.ekmConnection_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateEkmConnectionRequest Clone() { + return new CreateEkmConnectionRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ekm_connection_id" field. + public const int EkmConnectionIdFieldNumber = 2; + private string ekmConnectionId_ = ""; + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EkmConnectionId { + get { return ekmConnectionId_; } + set { + ekmConnectionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ekm_connection" field. + public const int EkmConnectionFieldNumber = 3; + private global::Google.Cloud.Kms.V1.EkmConnection ekmConnection_; + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Kms.V1.EkmConnection EkmConnection { + get { return ekmConnection_; } + set { + ekmConnection_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateEkmConnectionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateEkmConnectionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (EkmConnectionId != other.EkmConnectionId) return false; + if (!object.Equals(EkmConnection, other.EkmConnection)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (EkmConnectionId.Length != 0) hash ^= EkmConnectionId.GetHashCode(); + if (ekmConnection_ != null) hash ^= EkmConnection.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (EkmConnectionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(EkmConnectionId); + } + if (ekmConnection_ != null) { + output.WriteRawTag(26); + output.WriteMessage(EkmConnection); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (EkmConnectionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(EkmConnectionId); + } + if (ekmConnection_ != null) { + output.WriteRawTag(26); + output.WriteMessage(EkmConnection); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (EkmConnectionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EkmConnectionId); + } + if (ekmConnection_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EkmConnection); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateEkmConnectionRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.EkmConnectionId.Length != 0) { + EkmConnectionId = other.EkmConnectionId; + } + if (other.ekmConnection_ != null) { + if (ekmConnection_ == null) { + EkmConnection = new global::Google.Cloud.Kms.V1.EkmConnection(); + } + EkmConnection.MergeFrom(other.EkmConnection); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + EkmConnectionId = input.ReadString(); + break; + } + case 26: { + if (ekmConnection_ == null) { + EkmConnection = new global::Google.Cloud.Kms.V1.EkmConnection(); + } + input.ReadMessage(EkmConnection); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + EkmConnectionId = input.ReadString(); + break; + } + case 26: { + if (ekmConnection_ == null) { + EkmConnection = new global::Google.Cloud.Kms.V1.EkmConnection(); + } + input.ReadMessage(EkmConnection); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for [KeyManagementService.UpdateEkmConnection][]. + /// + public sealed partial class UpdateEkmConnectionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateEkmConnectionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateEkmConnectionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateEkmConnectionRequest(UpdateEkmConnectionRequest other) : this() { + ekmConnection_ = other.ekmConnection_ != null ? other.ekmConnection_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateEkmConnectionRequest Clone() { + return new UpdateEkmConnectionRequest(this); + } + + /// Field number for the "ekm_connection" field. + public const int EkmConnectionFieldNumber = 1; + private global::Google.Cloud.Kms.V1.EkmConnection ekmConnection_; + /// + /// Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated + /// values. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Kms.V1.EkmConnection EkmConnection { + get { return ekmConnection_; } + set { + ekmConnection_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Required. List of fields to be updated in this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateEkmConnectionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateEkmConnectionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EkmConnection, other.EkmConnection)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ekmConnection_ != null) hash ^= EkmConnection.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ekmConnection_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EkmConnection); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ekmConnection_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EkmConnection); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ekmConnection_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EkmConnection); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateEkmConnectionRequest other) { + if (other == null) { + return; + } + if (other.ekmConnection_ != null) { + if (ekmConnection_ == null) { + EkmConnection = new global::Google.Cloud.Kms.V1.EkmConnection(); + } + EkmConnection.MergeFrom(other.EkmConnection); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (ekmConnection_ == null) { + EkmConnection = new global::Google.Cloud.Kms.V1.EkmConnection(); + } + input.ReadMessage(EkmConnection); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (ekmConnection_ == null) { + EkmConnection = new global::Google.Cloud.Kms.V1.EkmConnection(); + } + input.ReadMessage(EkmConnection); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509 + /// certificate used to authenticate HTTPS connections to EKM replicas. + /// + public sealed partial class Certificate : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Certificate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Certificate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Certificate(Certificate other) : this() { + rawDer_ = other.rawDer_; + parsed_ = other.parsed_; + issuer_ = other.issuer_; + subject_ = other.subject_; + subjectAlternativeDnsNames_ = other.subjectAlternativeDnsNames_.Clone(); + notBeforeTime_ = other.notBeforeTime_ != null ? other.notBeforeTime_.Clone() : null; + notAfterTime_ = other.notAfterTime_ != null ? other.notAfterTime_.Clone() : null; + serialNumber_ = other.serialNumber_; + sha256Fingerprint_ = other.sha256Fingerprint_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Certificate Clone() { + return new Certificate(this); + } + + /// Field number for the "raw_der" field. + public const int RawDerFieldNumber = 1; + private pb::ByteString rawDer_ = pb::ByteString.Empty; + /// + /// Required. The raw certificate bytes in DER format. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString RawDer { + get { return rawDer_; } + set { + rawDer_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "parsed" field. + public const int ParsedFieldNumber = 2; + private bool parsed_; + /// + /// Output only. True if the certificate was parsed successfully. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Parsed { + get { return parsed_; } + set { + parsed_ = value; + } + } + + /// Field number for the "issuer" field. + public const int IssuerFieldNumber = 3; + private string issuer_ = ""; + /// + /// Output only. The issuer distinguished name in RFC 2253 format. Only present + /// if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Issuer { + get { return issuer_; } + set { + issuer_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "subject" field. + public const int SubjectFieldNumber = 4; + private string subject_ = ""; + /// + /// Output only. The subject distinguished name in RFC 2253 format. Only + /// present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "subject_alternative_dns_names" field. + public const int SubjectAlternativeDnsNamesFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_subjectAlternativeDnsNames_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField subjectAlternativeDnsNames_ = new pbc::RepeatedField(); + /// + /// Output only. The subject Alternative DNS names. Only present if + /// [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SubjectAlternativeDnsNames { + get { return subjectAlternativeDnsNames_; } + } + + /// Field number for the "not_before_time" field. + public const int NotBeforeTimeFieldNumber = 6; + private global::Google.Protobuf.WellKnownTypes.Timestamp notBeforeTime_; + /// + /// Output only. The certificate is not valid before this time. Only present if + /// [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp NotBeforeTime { + get { return notBeforeTime_; } + set { + notBeforeTime_ = value; + } + } + + /// Field number for the "not_after_time" field. + public const int NotAfterTimeFieldNumber = 7; + private global::Google.Protobuf.WellKnownTypes.Timestamp notAfterTime_; + /// + /// Output only. The certificate is not valid after this time. Only present if + /// [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp NotAfterTime { + get { return notAfterTime_; } + set { + notAfterTime_ = value; + } + } + + /// Field number for the "serial_number" field. + public const int SerialNumberFieldNumber = 8; + private string serialNumber_ = ""; + /// + /// Output only. The certificate serial number as a hex string. Only present if + /// [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SerialNumber { + get { return serialNumber_; } + set { + serialNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sha256_fingerprint" field. + public const int Sha256FingerprintFieldNumber = 9; + private string sha256Fingerprint_ = ""; + /// + /// Output only. The SHA-256 certificate fingerprint as a hex string. Only + /// present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sha256Fingerprint { + get { return sha256Fingerprint_; } + set { + sha256Fingerprint_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Certificate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Certificate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RawDer != other.RawDer) return false; + if (Parsed != other.Parsed) return false; + if (Issuer != other.Issuer) return false; + if (Subject != other.Subject) return false; + if(!subjectAlternativeDnsNames_.Equals(other.subjectAlternativeDnsNames_)) return false; + if (!object.Equals(NotBeforeTime, other.NotBeforeTime)) return false; + if (!object.Equals(NotAfterTime, other.NotAfterTime)) return false; + if (SerialNumber != other.SerialNumber) return false; + if (Sha256Fingerprint != other.Sha256Fingerprint) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (RawDer.Length != 0) hash ^= RawDer.GetHashCode(); + if (Parsed != false) hash ^= Parsed.GetHashCode(); + if (Issuer.Length != 0) hash ^= Issuer.GetHashCode(); + if (Subject.Length != 0) hash ^= Subject.GetHashCode(); + hash ^= subjectAlternativeDnsNames_.GetHashCode(); + if (notBeforeTime_ != null) hash ^= NotBeforeTime.GetHashCode(); + if (notAfterTime_ != null) hash ^= NotAfterTime.GetHashCode(); + if (SerialNumber.Length != 0) hash ^= SerialNumber.GetHashCode(); + if (Sha256Fingerprint.Length != 0) hash ^= Sha256Fingerprint.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (RawDer.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(RawDer); + } + if (Parsed != false) { + output.WriteRawTag(16); + output.WriteBool(Parsed); + } + if (Issuer.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Issuer); + } + if (Subject.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Subject); + } + subjectAlternativeDnsNames_.WriteTo(output, _repeated_subjectAlternativeDnsNames_codec); + if (notBeforeTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(NotBeforeTime); + } + if (notAfterTime_ != null) { + output.WriteRawTag(58); + output.WriteMessage(NotAfterTime); + } + if (SerialNumber.Length != 0) { + output.WriteRawTag(66); + output.WriteString(SerialNumber); + } + if (Sha256Fingerprint.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Sha256Fingerprint); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (RawDer.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(RawDer); + } + if (Parsed != false) { + output.WriteRawTag(16); + output.WriteBool(Parsed); + } + if (Issuer.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Issuer); + } + if (Subject.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Subject); + } + subjectAlternativeDnsNames_.WriteTo(ref output, _repeated_subjectAlternativeDnsNames_codec); + if (notBeforeTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(NotBeforeTime); + } + if (notAfterTime_ != null) { + output.WriteRawTag(58); + output.WriteMessage(NotAfterTime); + } + if (SerialNumber.Length != 0) { + output.WriteRawTag(66); + output.WriteString(SerialNumber); + } + if (Sha256Fingerprint.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Sha256Fingerprint); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (RawDer.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(RawDer); + } + if (Parsed != false) { + size += 1 + 1; + } + if (Issuer.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Issuer); + } + if (Subject.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + size += subjectAlternativeDnsNames_.CalculateSize(_repeated_subjectAlternativeDnsNames_codec); + if (notBeforeTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotBeforeTime); + } + if (notAfterTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotAfterTime); + } + if (SerialNumber.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SerialNumber); + } + if (Sha256Fingerprint.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sha256Fingerprint); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Certificate other) { + if (other == null) { + return; + } + if (other.RawDer.Length != 0) { + RawDer = other.RawDer; + } + if (other.Parsed != false) { + Parsed = other.Parsed; + } + if (other.Issuer.Length != 0) { + Issuer = other.Issuer; + } + if (other.Subject.Length != 0) { + Subject = other.Subject; + } + subjectAlternativeDnsNames_.Add(other.subjectAlternativeDnsNames_); + if (other.notBeforeTime_ != null) { + if (notBeforeTime_ == null) { + NotBeforeTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + NotBeforeTime.MergeFrom(other.NotBeforeTime); + } + if (other.notAfterTime_ != null) { + if (notAfterTime_ == null) { + NotAfterTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + NotAfterTime.MergeFrom(other.NotAfterTime); + } + if (other.SerialNumber.Length != 0) { + SerialNumber = other.SerialNumber; + } + if (other.Sha256Fingerprint.Length != 0) { + Sha256Fingerprint = other.Sha256Fingerprint; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + RawDer = input.ReadBytes(); + break; + } + case 16: { + Parsed = input.ReadBool(); + break; + } + case 26: { + Issuer = input.ReadString(); + break; + } + case 34: { + Subject = input.ReadString(); + break; + } + case 42: { + subjectAlternativeDnsNames_.AddEntriesFrom(input, _repeated_subjectAlternativeDnsNames_codec); + break; + } + case 50: { + if (notBeforeTime_ == null) { + NotBeforeTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(NotBeforeTime); + break; + } + case 58: { + if (notAfterTime_ == null) { + NotAfterTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(NotAfterTime); + break; + } + case 66: { + SerialNumber = input.ReadString(); + break; + } + case 74: { + Sha256Fingerprint = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + RawDer = input.ReadBytes(); + break; + } + case 16: { + Parsed = input.ReadBool(); + break; + } + case 26: { + Issuer = input.ReadString(); + break; + } + case 34: { + Subject = input.ReadString(); + break; + } + case 42: { + subjectAlternativeDnsNames_.AddEntriesFrom(ref input, _repeated_subjectAlternativeDnsNames_codec); + break; + } + case 50: { + if (notBeforeTime_ == null) { + NotBeforeTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(NotBeforeTime); + break; + } + case 58: { + if (notAfterTime_ == null) { + NotAfterTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(NotAfterTime); + break; + } + case 66: { + SerialNumber = input.ReadString(); + break; + } + case 74: { + Sha256Fingerprint = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an + /// individual EKM connection. It can be used for creating + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a + /// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of + /// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as + /// performing cryptographic operations using keys created within the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + public sealed partial class EkmConnection : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EkmConnection()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EkmConnection() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EkmConnection(EkmConnection other) : this() { + name_ = other.name_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + serviceResolvers_ = other.serviceResolvers_.Clone(); + etag_ = other.etag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EkmConnection Clone() { + return new EkmConnection(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Output only. The resource name for the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format + /// `projects/*/locations/*/ekmConnections/*`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "service_resolvers" field. + public const int ServiceResolversFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_serviceResolvers_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.Kms.V1.EkmConnection.Types.ServiceResolver.Parser); + private readonly pbc::RepeatedField serviceResolvers_ = new pbc::RepeatedField(); + /// + /// A list of + /// [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where + /// the EKM can be reached. There should be one ServiceResolver per EKM + /// replica. Currently, only a single + /// [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is + /// supported. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ServiceResolvers { + get { return serviceResolvers_; } + } + + /// Field number for the "etag" field. + public const int EtagFieldNumber = 5; + private string etag_ = ""; + /// + /// 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Etag { + get { return etag_; } + set { + etag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EkmConnection); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EkmConnection other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if(!serviceResolvers_.Equals(other.serviceResolvers_)) return false; + if (Etag != other.Etag) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + hash ^= serviceResolvers_.GetHashCode(); + if (Etag.Length != 0) hash ^= Etag.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + serviceResolvers_.WriteTo(output, _repeated_serviceResolvers_codec); + if (Etag.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Etag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + serviceResolvers_.WriteTo(ref output, _repeated_serviceResolvers_codec); + if (Etag.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Etag); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + size += serviceResolvers_.CalculateSize(_repeated_serviceResolvers_codec); + if (Etag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Etag); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EkmConnection other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + serviceResolvers_.Add(other.serviceResolvers_); + if (other.Etag.Length != 0) { + Etag = other.Etag; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + serviceResolvers_.AddEntriesFrom(input, _repeated_serviceResolvers_codec); + break; + } + case 42: { + Etag = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + serviceResolvers_.AddEntriesFrom(ref input, _repeated_serviceResolvers_codec); + break; + } + case 42: { + Etag = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the EkmConnection message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] + /// represents an EKM replica that can be reached within an + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + public sealed partial class ServiceResolver : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServiceResolver()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.EkmConnection.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServiceResolver() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServiceResolver(ServiceResolver other) : this() { + serviceDirectoryService_ = other.serviceDirectoryService_; + endpointFilter_ = other.endpointFilter_; + hostname_ = other.hostname_; + serverCertificates_ = other.serverCertificates_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ServiceResolver Clone() { + return new ServiceResolver(this); + } + + /// Field number for the "service_directory_service" field. + public const int ServiceDirectoryServiceFieldNumber = 1; + private string serviceDirectoryService_ = ""; + /// + /// Required. The resource name of the Service Directory service pointing to + /// an EKM replica, in the format + /// `projects/*/locations/*/namespaces/*/services/*`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServiceDirectoryService { + get { return serviceDirectoryService_; } + set { + serviceDirectoryService_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "endpoint_filter" field. + public const int EndpointFilterFieldNumber = 2; + private string endpointFilter_ = ""; + /// + /// Optional. The filter applied to the endpoints of the resolved service. If + /// no filter is specified, all endpoints will be considered. An endpoint + /// will be chosen arbitrarily from the filtered list for each request. + /// + /// For endpoint filter syntax and examples, see + /// https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndpointFilter { + get { return endpointFilter_; } + set { + endpointFilter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "hostname" field. + public const int HostnameFieldNumber = 3; + private string hostname_ = ""; + /// + /// Required. The hostname of the EKM replica used at TLS and HTTP layers. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Hostname { + get { return hostname_; } + set { + hostname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "server_certificates" field. + public const int ServerCertificatesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_serverCertificates_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.Kms.V1.Certificate.Parser); + private readonly pbc::RepeatedField serverCertificates_ = new pbc::RepeatedField(); + /// + /// Required. A list of leaf server certificates used to authenticate HTTPS + /// connections to the EKM replica. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ServerCertificates { + get { return serverCertificates_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ServiceResolver); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ServiceResolver other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServiceDirectoryService != other.ServiceDirectoryService) return false; + if (EndpointFilter != other.EndpointFilter) return false; + if (Hostname != other.Hostname) return false; + if(!serverCertificates_.Equals(other.serverCertificates_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ServiceDirectoryService.Length != 0) hash ^= ServiceDirectoryService.GetHashCode(); + if (EndpointFilter.Length != 0) hash ^= EndpointFilter.GetHashCode(); + if (Hostname.Length != 0) hash ^= Hostname.GetHashCode(); + hash ^= serverCertificates_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ServiceDirectoryService.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ServiceDirectoryService); + } + if (EndpointFilter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(EndpointFilter); + } + if (Hostname.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Hostname); + } + serverCertificates_.WriteTo(output, _repeated_serverCertificates_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ServiceDirectoryService.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ServiceDirectoryService); + } + if (EndpointFilter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(EndpointFilter); + } + if (Hostname.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Hostname); + } + serverCertificates_.WriteTo(ref output, _repeated_serverCertificates_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ServiceDirectoryService.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceDirectoryService); + } + if (EndpointFilter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndpointFilter); + } + if (Hostname.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Hostname); + } + size += serverCertificates_.CalculateSize(_repeated_serverCertificates_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ServiceResolver other) { + if (other == null) { + return; + } + if (other.ServiceDirectoryService.Length != 0) { + ServiceDirectoryService = other.ServiceDirectoryService; + } + if (other.EndpointFilter.Length != 0) { + EndpointFilter = other.EndpointFilter; + } + if (other.Hostname.Length != 0) { + Hostname = other.Hostname; + } + serverCertificates_.Add(other.serverCertificates_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ServiceDirectoryService = input.ReadString(); + break; + } + case 18: { + EndpointFilter = input.ReadString(); + break; + } + case 26: { + Hostname = input.ReadString(); + break; + } + case 34: { + serverCertificates_.AddEntriesFrom(input, _repeated_serverCertificates_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ServiceDirectoryService = input.ReadString(); + break; + } + case 18: { + EndpointFilter = input.ReadString(); + break; + } + case 26: { + Hostname = input.ReadString(); + break; + } + case 34: { + serverCertificates_.AddEntriesFrom(ref input, _repeated_serverCertificates_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceClient.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceClient.g.cs new file mode 100644 index 000000000000..f376656e28aa --- /dev/null +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceClient.g.cs @@ -0,0 +1,991 @@ +// 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. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gaxgrpccore = Google.Api.Gax.Grpc.GrpcCore; +using gagr = Google.Api.Gax.ResourceNames; +using proto = Google.Protobuf; +using wkt = Google.Protobuf.WellKnownTypes; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using sys = System; +using sc = System.Collections; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; + +namespace Google.Cloud.Kms.V1 +{ + /// Settings for instances. + public sealed partial class EkmServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static EkmServiceSettings GetDefault() => new EkmServiceSettings(); + + /// Constructs a new object with default settings. + public EkmServiceSettings() + { + } + + private EkmServiceSettings(EkmServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + ListEkmConnectionsSettings = existing.ListEkmConnectionsSettings; + GetEkmConnectionSettings = existing.GetEkmConnectionSettings; + CreateEkmConnectionSettings = existing.CreateEkmConnectionSettings; + UpdateEkmConnectionSettings = existing.UpdateEkmConnectionSettings; + OnCopy(existing); + } + + partial void OnCopy(EkmServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// EkmServiceClient.ListEkmConnections and EkmServiceClient.ListEkmConnectionsAsync. + /// + /// + /// + /// Initial retry delay: 100 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 60000 milliseconds. + /// Maximum attempts: 5 + /// + /// + /// Retriable status codes: , + /// . + /// + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListEkmConnectionsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(100), maxBackoff: sys::TimeSpan.FromMilliseconds(60000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable, grpccore::StatusCode.DeadlineExceeded))); + + /// + /// for synchronous and asynchronous calls to + /// EkmServiceClient.GetEkmConnection and EkmServiceClient.GetEkmConnectionAsync. + /// + /// + /// + /// Initial retry delay: 100 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 60000 milliseconds. + /// Maximum attempts: 5 + /// + /// + /// Retriable status codes: , + /// . + /// + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetEkmConnectionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(100), maxBackoff: sys::TimeSpan.FromMilliseconds(60000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable, grpccore::StatusCode.DeadlineExceeded))); + + /// + /// for synchronous and asynchronous calls to + /// EkmServiceClient.CreateEkmConnection and EkmServiceClient.CreateEkmConnectionAsync. + /// + /// + /// + /// Initial retry delay: 100 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 60000 milliseconds. + /// Maximum attempts: 5 + /// + /// + /// Retriable status codes: , + /// . + /// + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateEkmConnectionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(100), maxBackoff: sys::TimeSpan.FromMilliseconds(60000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable, grpccore::StatusCode.DeadlineExceeded))); + + /// + /// for synchronous and asynchronous calls to + /// EkmServiceClient.UpdateEkmConnection and EkmServiceClient.UpdateEkmConnectionAsync. + /// + /// + /// + /// Initial retry delay: 100 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 60000 milliseconds. + /// Maximum attempts: 5 + /// + /// + /// Retriable status codes: , + /// . + /// + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateEkmConnectionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(100), maxBackoff: sys::TimeSpan.FromMilliseconds(60000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable, grpccore::StatusCode.DeadlineExceeded))); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public EkmServiceSettings Clone() => new EkmServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, endpoint etc. + /// + public sealed partial class EkmServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public EkmServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public EkmServiceClientBuilder() + { + UseJwtAccessWithScopes = EkmServiceClient.UseJwtAccessWithScopes; + } + + partial void InterceptBuild(ref EkmServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override EkmServiceClient Build() + { + EkmServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private EkmServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return EkmServiceClient.Create(callInvoker, Settings); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return EkmServiceClient.Create(callInvoker, Settings); + } + + /// Returns the endpoint for this builder type, used if no endpoint is otherwise specified. + protected override string GetDefaultEndpoint() => EkmServiceClient.DefaultEndpoint; + + /// + /// Returns the default scopes for this builder type, used if no scopes are otherwise specified. + /// + protected override scg::IReadOnlyList GetDefaultScopes() => EkmServiceClient.DefaultScopes; + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => EkmServiceClient.ChannelPool; + + /// Returns the default to use if not otherwise specified. + protected override gaxgrpc::GrpcAdapter DefaultGrpcAdapter => gaxgrpccore::GrpcCoreAdapter.Instance; + } + + /// EkmService client wrapper, for convenient use. + /// + /// Google Cloud Key Management EKM Service + /// + /// Manages external cryptographic keys and operations using those keys. + /// Implements a REST model with the following objects: + /// * [EkmConnection][google.cloud.kms.v1.EkmConnection] + /// + public abstract partial class EkmServiceClient + { + /// + /// The default endpoint for the EkmService service, which is a host of "cloudkms.googleapis.com" and a port of + /// 443. + /// + public static string DefaultEndpoint { get; } = "cloudkms.googleapis.com:443"; + + /// The default EkmService scopes. + /// + /// The default EkmService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/cloudkms + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudkms", + }); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(DefaultScopes, UseJwtAccessWithScopes); + + internal static bool UseJwtAccessWithScopes + { + get + { + bool useJwtAccessWithScopes = true; + MaybeUseJwtAccessWithScopes(ref useJwtAccessWithScopes); + return useJwtAccessWithScopes; + } + } + + static partial void MaybeUseJwtAccessWithScopes(ref bool useJwtAccessWithScopes); + + /// + /// Asynchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new EkmServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and settings. + /// To specify custom credentials or other settings, use . + /// + /// The created . + public static EkmServiceClient Create() => new EkmServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// The created . + internal static EkmServiceClient Create(grpccore::CallInvoker callInvoker, EkmServiceSettings settings = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + EkmService.EkmServiceClient grpcClient = new EkmService.EkmServiceClient(callInvoker); + return new EkmServiceClientImpl(grpcClient, settings); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC EkmService client + public virtual EkmService.EkmServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListEkmConnections(ListEkmConnectionsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListEkmConnectionsAsync(ListEkmConnectionsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + /// `projects/*/locations/*`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListEkmConnections(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => + ListEkmConnections(new ListEkmConnectionsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + PageToken = pageToken ?? "", + PageSize = pageSize ?? 0, + }, callSettings); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + /// `projects/*/locations/*`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListEkmConnectionsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => + ListEkmConnectionsAsync(new ListEkmConnectionsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + PageToken = pageToken ?? "", + PageSize = pageSize ?? 0, + }, callSettings); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + /// `projects/*/locations/*`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListEkmConnections(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => + ListEkmConnections(new ListEkmConnectionsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + PageToken = pageToken ?? "", + PageSize = pageSize ?? 0, + }, callSettings); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnections][google.cloud.kms.v1.EkmConnection] to list, in the format + /// `projects/*/locations/*`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListEkmConnectionsAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => + ListEkmConnectionsAsync(new ListEkmConnectionsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + PageToken = pageToken ?? "", + PageSize = pageSize ?? 0, + }, callSettings); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection GetEkmConnection(GetEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetEkmConnectionAsync(GetEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetEkmConnectionAsync(GetEkmConnectionRequest request, st::CancellationToken cancellationToken) => + GetEkmConnectionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection GetEkmConnection(string name, gaxgrpc::CallSettings callSettings = null) => + GetEkmConnection(new GetEkmConnectionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetEkmConnectionAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetEkmConnectionAsync(new GetEkmConnectionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetEkmConnectionAsync(string name, st::CancellationToken cancellationToken) => + GetEkmConnectionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection GetEkmConnection(EkmConnectionName name, gaxgrpc::CallSettings callSettings = null) => + GetEkmConnection(new GetEkmConnectionRequest + { + EkmConnectionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetEkmConnectionAsync(EkmConnectionName name, gaxgrpc::CallSettings callSettings = null) => + GetEkmConnectionAsync(new GetEkmConnectionRequest + { + EkmConnectionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// + /// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetEkmConnectionAsync(EkmConnectionName name, st::CancellationToken cancellationToken) => + GetEkmConnectionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection CreateEkmConnection(CreateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateEkmConnectionAsync(CreateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateEkmConnectionAsync(CreateEkmConnectionRequest request, st::CancellationToken cancellationToken) => + CreateEkmConnectionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection CreateEkmConnection(string parent, string ekmConnectionId, EkmConnection ekmConnection, gaxgrpc::CallSettings callSettings = null) => + CreateEkmConnection(new CreateEkmConnectionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + EkmConnectionId = gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId)), + EkmConnection = gax::GaxPreconditions.CheckNotNull(ekmConnection, nameof(ekmConnection)), + }, callSettings); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateEkmConnectionAsync(string parent, string ekmConnectionId, EkmConnection ekmConnection, gaxgrpc::CallSettings callSettings = null) => + CreateEkmConnectionAsync(new CreateEkmConnectionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + EkmConnectionId = gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId)), + EkmConnection = gax::GaxPreconditions.CheckNotNull(ekmConnection, nameof(ekmConnection)), + }, callSettings); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateEkmConnectionAsync(string parent, string ekmConnectionId, EkmConnection ekmConnection, st::CancellationToken cancellationToken) => + CreateEkmConnectionAsync(parent, ekmConnectionId, ekmConnection, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection CreateEkmConnection(gagr::LocationName parent, string ekmConnectionId, EkmConnection ekmConnection, gaxgrpc::CallSettings callSettings = null) => + CreateEkmConnection(new CreateEkmConnectionRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + EkmConnectionId = gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId)), + EkmConnection = gax::GaxPreconditions.CheckNotNull(ekmConnection, nameof(ekmConnection)), + }, callSettings); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateEkmConnectionAsync(gagr::LocationName parent, string ekmConnectionId, EkmConnection ekmConnection, gaxgrpc::CallSettings callSettings = null) => + CreateEkmConnectionAsync(new CreateEkmConnectionRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + EkmConnectionId = gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId)), + EkmConnection = gax::GaxPreconditions.CheckNotNull(ekmConnection, nameof(ekmConnection)), + }, callSettings); + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// + /// Required. The resource name of the location associated with the + /// [EkmConnection][google.cloud.kms.v1.EkmConnection], in the format + /// `projects/*/locations/*`. + /// + /// + /// Required. It must be unique within a location and match the regular + /// expression `[a-zA-Z0-9_-]{1,63}`. + /// + /// + /// Required. An [EkmConnection][google.cloud.kms.v1.EkmConnection] with + /// initial field values. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateEkmConnectionAsync(gagr::LocationName parent, string ekmConnectionId, EkmConnection ekmConnection, st::CancellationToken cancellationToken) => + CreateEkmConnectionAsync(parent, ekmConnectionId, ekmConnection, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection UpdateEkmConnection(UpdateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateEkmConnectionAsync(UpdateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateEkmConnectionAsync(UpdateEkmConnectionRequest request, st::CancellationToken cancellationToken) => + UpdateEkmConnectionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// + /// Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated + /// values. + /// + /// + /// Required. List of fields to be updated in this request. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EkmConnection UpdateEkmConnection(EkmConnection ekmConnection, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateEkmConnection(new UpdateEkmConnectionRequest + { + EkmConnection = gax::GaxPreconditions.CheckNotNull(ekmConnection, nameof(ekmConnection)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// + /// Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated + /// values. + /// + /// + /// Required. List of fields to be updated in this request. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateEkmConnectionAsync(EkmConnection ekmConnection, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateEkmConnectionAsync(new UpdateEkmConnectionRequest + { + EkmConnection = gax::GaxPreconditions.CheckNotNull(ekmConnection, nameof(ekmConnection)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// + /// Required. [EkmConnection][google.cloud.kms.v1.EkmConnection] with updated + /// values. + /// + /// + /// Required. List of fields to be updated in this request. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateEkmConnectionAsync(EkmConnection ekmConnection, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateEkmConnectionAsync(ekmConnection, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + } + + /// EkmService client wrapper implementation, for convenient use. + /// + /// Google Cloud Key Management EKM Service + /// + /// Manages external cryptographic keys and operations using those keys. + /// Implements a REST model with the following objects: + /// * [EkmConnection][google.cloud.kms.v1.EkmConnection] + /// + public sealed partial class EkmServiceClientImpl : EkmServiceClient + { + private readonly gaxgrpc::ApiCall _callListEkmConnections; + + private readonly gaxgrpc::ApiCall _callGetEkmConnection; + + private readonly gaxgrpc::ApiCall _callCreateEkmConnection; + + private readonly gaxgrpc::ApiCall _callUpdateEkmConnection; + + /// + /// Constructs a client wrapper for the EkmService service, with the specified gRPC client and settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + public EkmServiceClientImpl(EkmService.EkmServiceClient grpcClient, EkmServiceSettings settings) + { + GrpcClient = grpcClient; + EkmServiceSettings effectiveSettings = settings ?? EkmServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings); + _callListEkmConnections = clientHelper.BuildApiCall(grpcClient.ListEkmConnectionsAsync, grpcClient.ListEkmConnections, effectiveSettings.ListEkmConnectionsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListEkmConnections); + Modify_ListEkmConnectionsApiCall(ref _callListEkmConnections); + _callGetEkmConnection = clientHelper.BuildApiCall(grpcClient.GetEkmConnectionAsync, grpcClient.GetEkmConnection, effectiveSettings.GetEkmConnectionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetEkmConnection); + Modify_GetEkmConnectionApiCall(ref _callGetEkmConnection); + _callCreateEkmConnection = clientHelper.BuildApiCall(grpcClient.CreateEkmConnectionAsync, grpcClient.CreateEkmConnection, effectiveSettings.CreateEkmConnectionSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateEkmConnection); + Modify_CreateEkmConnectionApiCall(ref _callCreateEkmConnection); + _callUpdateEkmConnection = clientHelper.BuildApiCall(grpcClient.UpdateEkmConnectionAsync, grpcClient.UpdateEkmConnection, effectiveSettings.UpdateEkmConnectionSettings).WithGoogleRequestParam("ekm_connection.name", request => request.EkmConnection?.Name); + Modify_ApiCall(ref _callUpdateEkmConnection); + Modify_UpdateEkmConnectionApiCall(ref _callUpdateEkmConnection); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_ListEkmConnectionsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetEkmConnectionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateEkmConnectionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateEkmConnectionApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(EkmService.EkmServiceClient grpcClient, EkmServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC EkmService client + public override EkmService.EkmServiceClient GrpcClient { get; } + + partial void Modify_ListEkmConnectionsRequest(ref ListEkmConnectionsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetEkmConnectionRequest(ref GetEkmConnectionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateEkmConnectionRequest(ref CreateEkmConnectionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateEkmConnectionRequest(ref UpdateEkmConnectionRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListEkmConnections(ListEkmConnectionsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListEkmConnectionsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListEkmConnections, request, callSettings); + } + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListEkmConnectionsAsync(ListEkmConnectionsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListEkmConnectionsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListEkmConnections, request, callSettings); + } + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override EkmConnection GetEkmConnection(GetEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetEkmConnectionRequest(ref request, ref callSettings); + return _callGetEkmConnection.Sync(request, callSettings); + } + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetEkmConnectionAsync(GetEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetEkmConnectionRequest(ref request, ref callSettings); + return _callGetEkmConnection.Async(request, callSettings); + } + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override EkmConnection CreateEkmConnection(CreateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateEkmConnectionRequest(ref request, ref callSettings); + return _callCreateEkmConnection.Sync(request, callSettings); + } + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateEkmConnectionAsync(CreateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateEkmConnectionRequest(ref request, ref callSettings); + return _callCreateEkmConnection.Async(request, callSettings); + } + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override EkmConnection UpdateEkmConnection(UpdateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateEkmConnectionRequest(ref request, ref callSettings); + return _callUpdateEkmConnection.Sync(request, callSettings); + } + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateEkmConnectionAsync(UpdateEkmConnectionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateEkmConnectionRequest(ref request, ref callSettings); + return _callUpdateEkmConnection.Async(request, callSettings); + } + } + + public partial class ListEkmConnectionsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListEkmConnectionsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => EkmConnections.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } +} diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceGrpc.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceGrpc.g.cs new file mode 100644 index 000000000000..cd71f8b0cdcf --- /dev/null +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceGrpc.g.cs @@ -0,0 +1,439 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/kms/v1/ekm_service.proto +// +// Original file comments: +// Copyright 2021 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.Kms.V1 { + /// + /// Google Cloud Key Management EKM Service + /// + /// Manages external cryptographic keys and operations using those keys. + /// Implements a REST model with the following objects: + /// * [EkmConnection][google.cloud.kms.v1.EkmConnection] + /// + public static partial class EkmService + { + static readonly string __ServiceName = "google.cloud.kms.v1.EkmService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_kms_v1_ListEkmConnectionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_kms_v1_ListEkmConnectionsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Kms.V1.ListEkmConnectionsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_kms_v1_GetEkmConnectionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Kms.V1.GetEkmConnectionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_kms_v1_EkmConnection = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Kms.V1.EkmConnection.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_kms_v1_CreateEkmConnectionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_kms_v1_UpdateEkmConnectionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListEkmConnections = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListEkmConnections", + __Marshaller_google_cloud_kms_v1_ListEkmConnectionsRequest, + __Marshaller_google_cloud_kms_v1_ListEkmConnectionsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetEkmConnection = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetEkmConnection", + __Marshaller_google_cloud_kms_v1_GetEkmConnectionRequest, + __Marshaller_google_cloud_kms_v1_EkmConnection); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateEkmConnection = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateEkmConnection", + __Marshaller_google_cloud_kms_v1_CreateEkmConnectionRequest, + __Marshaller_google_cloud_kms_v1_EkmConnection); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateEkmConnection = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateEkmConnection", + __Marshaller_google_cloud_kms_v1_UpdateEkmConnectionRequest, + __Marshaller_google_cloud_kms_v1_EkmConnection); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.Kms.V1.EkmServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of EkmService + [grpc::BindServiceMethod(typeof(EkmService), "BindService")] + public abstract partial class EkmServiceBase + { + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListEkmConnections(global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetEkmConnection(global::Google.Cloud.Kms.V1.GetEkmConnectionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateEkmConnection(global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateEkmConnection(global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for EkmService + public partial class EkmServiceClient : grpc::ClientBase + { + /// Creates a new client for EkmService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public EkmServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for EkmService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public EkmServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected EkmServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected EkmServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.ListEkmConnectionsResponse ListEkmConnections(global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListEkmConnections(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.ListEkmConnectionsResponse ListEkmConnections(global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListEkmConnections, null, options, request); + } + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListEkmConnectionsAsync(global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListEkmConnectionsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListEkmConnectionsAsync(global::Google.Cloud.Kms.V1.ListEkmConnectionsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListEkmConnections, null, options, request); + } + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.EkmConnection GetEkmConnection(global::Google.Cloud.Kms.V1.GetEkmConnectionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetEkmConnection(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.EkmConnection GetEkmConnection(global::Google.Cloud.Kms.V1.GetEkmConnectionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetEkmConnection, null, options, request); + } + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetEkmConnectionAsync(global::Google.Cloud.Kms.V1.GetEkmConnectionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetEkmConnectionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Returns metadata for a given + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetEkmConnectionAsync(global::Google.Cloud.Kms.V1.GetEkmConnectionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetEkmConnection, null, options, request); + } + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.EkmConnection CreateEkmConnection(global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateEkmConnection(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.EkmConnection CreateEkmConnection(global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateEkmConnection, null, options, request); + } + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateEkmConnectionAsync(global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateEkmConnectionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given + /// Project and Location. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateEkmConnectionAsync(global::Google.Cloud.Kms.V1.CreateEkmConnectionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateEkmConnection, null, options, request); + } + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.EkmConnection UpdateEkmConnection(global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateEkmConnection(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Kms.V1.EkmConnection UpdateEkmConnection(global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateEkmConnection, null, options, request); + } + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateEkmConnectionAsync(global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateEkmConnectionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateEkmConnectionAsync(global::Google.Cloud.Kms.V1.UpdateEkmConnectionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateEkmConnection, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override EkmServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new EkmServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(EkmServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_ListEkmConnections, serviceImpl.ListEkmConnections) + .AddMethod(__Method_GetEkmConnection, serviceImpl.GetEkmConnection) + .AddMethod(__Method_CreateEkmConnection, serviceImpl.CreateEkmConnection) + .AddMethod(__Method_UpdateEkmConnection, serviceImpl.UpdateEkmConnection).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, EkmServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_ListEkmConnections, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListEkmConnections)); + serviceBinder.AddMethod(__Method_GetEkmConnection, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetEkmConnection)); + serviceBinder.AddMethod(__Method_CreateEkmConnection, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateEkmConnection)); + serviceBinder.AddMethod(__Method_UpdateEkmConnection, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateEkmConnection)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceResourceNames.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceResourceNames.g.cs new file mode 100644 index 000000000000..f08ab0c14b06 --- /dev/null +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/EkmServiceResourceNames.g.cs @@ -0,0 +1,570 @@ +// 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. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +using gax = Google.Api.Gax; +using gagr = Google.Api.Gax.ResourceNames; +using gckv = Google.Cloud.Kms.V1; +using sys = System; + +namespace Google.Cloud.Kms.V1 +{ + /// Resource name for the EkmConnection resource. + public sealed partial class EkmConnectionName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/ekmConnections/{ekm_connection} + /// . + /// + ProjectLocationEkmConnection = 1, + } + + private static gax::PathTemplate s_projectLocationEkmConnection = new gax::PathTemplate("projects/{project}/locations/{location}/ekmConnections/{ekm_connection}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static EkmConnectionName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new EkmConnectionName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EkmConnection ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static EkmConnectionName FromProjectLocationEkmConnection(string projectId, string locationId, string ekmConnectionId) => + new EkmConnectionName(ResourceNameType.ProjectLocationEkmConnection, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), ekmConnectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EkmConnection ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection}. + /// + public static string Format(string projectId, string locationId, string ekmConnectionId) => + FormatProjectLocationEkmConnection(projectId, locationId, ekmConnectionId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EkmConnection ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection}. + /// + public static string FormatProjectLocationEkmConnection(string projectId, string locationId, string ekmConnectionId) => + s_projectLocationEkmConnection.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static EkmConnectionName Parse(string ekmConnectionName) => Parse(ekmConnectionName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static EkmConnectionName Parse(string ekmConnectionName, bool allowUnparsed) => + TryParse(ekmConnectionName, allowUnparsed, out EkmConnectionName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string ekmConnectionName, out EkmConnectionName result) => + TryParse(ekmConnectionName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string ekmConnectionName, bool allowUnparsed, out EkmConnectionName result) + { + gax::GaxPreconditions.CheckNotNull(ekmConnectionName, nameof(ekmConnectionName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationEkmConnection.TryParseName(ekmConnectionName, out resourceName)) + { + result = FromProjectLocationEkmConnection(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(ekmConnectionName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private EkmConnectionName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string ekmConnectionId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + EkmConnectionId = ekmConnectionId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/ekmConnections/{ekm_connection} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EkmConnection ID. Must not be null or empty. + public EkmConnectionName(string projectId, string locationId, string ekmConnectionId) : this(ResourceNameType.ProjectLocationEkmConnection, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), ekmConnectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(ekmConnectionId, nameof(ekmConnectionId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The EkmConnection ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string EkmConnectionId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationEkmConnection: return s_projectLocationEkmConnection.Expand(ProjectId, LocationId, EkmConnectionId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as EkmConnectionName); + + /// + public bool Equals(EkmConnectionName other) => ToString() == other?.ToString(); + + /// + public static bool operator ==(EkmConnectionName a, EkmConnectionName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// + public static bool operator !=(EkmConnectionName a, EkmConnectionName b) => !(a == b); + } + + /// Resource name for the Service resource. + public sealed partial class ServiceName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + /// + ProjectLocationNamespaceService = 1, + } + + private static gax::PathTemplate s_projectLocationNamespaceService = new gax::PathTemplate("projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided . + /// + public static ServiceName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new ServiceName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Namespace ID. Must not be null or empty. + /// The Service ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ServiceName FromProjectLocationNamespaceService(string projectId, string locationId, string namespaceId, string serviceId) => + new ServiceName(ResourceNameType.ProjectLocationNamespaceService, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), namespaceId: gax::GaxPreconditions.CheckNotNullOrEmpty(namespaceId, nameof(namespaceId)), serviceId: gax::GaxPreconditions.CheckNotNullOrEmpty(serviceId, nameof(serviceId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Namespace ID. Must not be null or empty. + /// The Service ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + /// + public static string Format(string projectId, string locationId, string namespaceId, string serviceId) => + FormatProjectLocationNamespaceService(projectId, locationId, namespaceId, serviceId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Namespace ID. Must not be null or empty. + /// The Service ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + /// + public static string FormatProjectLocationNamespaceService(string projectId, string locationId, string namespaceId, string serviceId) => + s_projectLocationNamespaceService.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(namespaceId, nameof(namespaceId)), gax::GaxPreconditions.CheckNotNullOrEmpty(serviceId, nameof(serviceId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static ServiceName Parse(string serviceName) => Parse(serviceName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing an + /// unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static ServiceName Parse(string serviceName, bool allowUnparsed) => + TryParse(serviceName, allowUnparsed, out ServiceName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string serviceName, out ServiceName result) => TryParse(serviceName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string serviceName, bool allowUnparsed, out ServiceName result) + { + gax::GaxPreconditions.CheckNotNull(serviceName, nameof(serviceName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationNamespaceService.TryParseName(serviceName, out resourceName)) + { + result = FromProjectLocationNamespaceService(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(serviceName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private ServiceName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string namespaceId = null, string projectId = null, string serviceId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + NamespaceId = namespaceId; + ProjectId = projectId; + ServiceId = serviceId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Namespace ID. Must not be null or empty. + /// The Service ID. Must not be null or empty. + public ServiceName(string projectId, string locationId, string namespaceId, string serviceId) : this(ResourceNameType.ProjectLocationNamespaceService, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), namespaceId: gax::GaxPreconditions.CheckNotNullOrEmpty(namespaceId, nameof(namespaceId)), serviceId: gax::GaxPreconditions.CheckNotNullOrEmpty(serviceId, nameof(serviceId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Namespace ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string NamespaceId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The Service ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ServiceId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationNamespaceService: return s_projectLocationNamespaceService.Expand(ProjectId, LocationId, NamespaceId, ServiceId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as ServiceName); + + /// + public bool Equals(ServiceName other) => ToString() == other?.ToString(); + + /// + public static bool operator ==(ServiceName a, ServiceName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// + public static bool operator !=(ServiceName a, ServiceName b) => !(a == b); + } + + public partial class ListEkmConnectionsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetEkmConnectionRequest + { + /// + /// -typed view over the resource name property. + /// + public gckv::EkmConnectionName EkmConnectionName + { + get => string.IsNullOrEmpty(Name) ? null : gckv::EkmConnectionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class CreateEkmConnectionRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class EkmConnection + { + /// + /// -typed view over the resource name property. + /// + public gckv::EkmConnectionName EkmConnectionName + { + get => string.IsNullOrEmpty(Name) ? null : gckv::EkmConnectionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/KeyManagementServiceClient.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/KeyManagementServiceClient.g.cs index 3adb8002443f..46f2d67b069c 100644 --- a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/KeyManagementServiceClient.g.cs +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/KeyManagementServiceClient.g.cs @@ -818,7 +818,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -843,7 +844,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -868,7 +870,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -893,7 +896,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -935,8 +939,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -960,8 +964,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -985,8 +989,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -1010,8 +1014,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -1053,7 +1057,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. /// /// @@ -1078,7 +1083,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. /// /// @@ -1103,7 +1109,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. /// /// @@ -1128,7 +1135,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. /// /// @@ -1171,8 +1179,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -1196,8 +1204,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -1221,8 +1229,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -1246,8 +1254,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Lists [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -1298,7 +1306,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1312,7 +1321,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1326,7 +1336,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1337,7 +1348,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1351,7 +1363,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1365,7 +1378,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1373,8 +1387,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetKeyRingAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1383,8 +1398,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1393,8 +1409,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -1403,11 +1420,13 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetCryptoKeyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1418,11 +1437,13 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1433,11 +1454,13 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1445,11 +1468,13 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetCryptoKeyAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1460,11 +1485,13 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1475,11 +1502,13 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1487,7 +1516,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetCryptoKeyAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1496,7 +1526,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1505,7 +1536,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -1514,10 +1546,12 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetCryptoKeyVersionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1528,10 +1562,12 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1542,10 +1578,12 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1553,10 +1591,12 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetCryptoKeyVersionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1567,10 +1607,12 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1581,10 +1623,12 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1592,9 +1636,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetCryptoKeyVersionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -1604,9 +1650,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -1616,9 +1664,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -1628,14 +1678,16 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetPublicKeyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1646,14 +1698,16 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1664,14 +1718,16 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1679,14 +1735,16 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetPublicKeyAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1697,14 +1755,16 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1715,14 +1775,16 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1760,7 +1822,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1774,7 +1837,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1788,7 +1852,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1799,7 +1864,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1813,7 +1879,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1827,7 +1894,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// Returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob]. /// /// - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1835,7 +1903,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo GetImportJobAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1844,7 +1913,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1853,7 +1923,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -1862,18 +1933,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateKeyRingAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// Required. It must be unique within a location and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1886,18 +1960,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// Required. It must be unique within a location and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1910,18 +1987,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// Required. It must be unique within a location and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1929,18 +2009,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateKeyRingAsync(parent, keyRingId, keyRing, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// Required. It must be unique within a location and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -1953,18 +2036,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// Required. It must be unique within a location and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -1977,18 +2063,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// /// /// Required. It must be unique within a location and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -1996,7 +2085,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateKeyRingAsync(parent, keyRingId, keyRing, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -2009,7 +2099,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -2022,7 +2113,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -2035,22 +2127,24 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateCryptoKeyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] /// are required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// /// Required. It must be unique within a KeyRing and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2063,22 +2157,24 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] /// are required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// /// Required. It must be unique within a KeyRing and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2091,22 +2187,24 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] /// are required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// /// Required. It must be unique within a KeyRing and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2114,22 +2212,24 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateCryptoKeyAsync(parent, cryptoKeyId, cryptoKey, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] /// are required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// /// Required. It must be unique within a KeyRing and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2142,22 +2242,24 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] /// are required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// /// Required. It must be unique within a KeyRing and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2170,22 +2272,24 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] /// are required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// /// /// Required. It must be unique within a KeyRing and match the regular /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2193,7 +2297,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateCryptoKeyAsync(parent, cryptoKeyId, cryptoKey, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -2206,7 +2311,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -2219,7 +2325,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -2232,18 +2339,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateCryptoKeyVersionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2255,18 +2365,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2278,18 +2391,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2297,18 +2413,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateCryptoKeyVersionAsync(parent, cryptoKeyVersion, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2320,18 +2439,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2343,18 +2465,21 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]. /// /// - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// /// - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2362,12 +2487,14 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateCryptoKeyVersionAsync(parent, cryptoKeyVersion, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2376,12 +2503,14 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2390,12 +2519,14 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -2404,9 +2535,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo ImportCryptoKeyVersionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2415,9 +2548,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2426,9 +2561,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -2437,12 +2574,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateImportJobAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// @@ -2450,7 +2590,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2463,12 +2604,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// @@ -2476,7 +2620,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2489,12 +2634,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// @@ -2502,7 +2650,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2510,12 +2659,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo CreateImportJobAsync(parent, importJobId, importJob, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// @@ -2523,7 +2675,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2536,12 +2689,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// @@ -2549,7 +2705,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2562,12 +2719,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// /// @@ -2575,7 +2735,8 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// expression `[a-zA-Z0-9_-]{1,63}` /// /// - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2660,13 +2821,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo UpdateCryptoKeyAsync(cryptoKey, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2675,13 +2841,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2690,13 +2861,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -2705,16 +2881,22 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo UpdateCryptoKeyVersionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// - /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// updated values. /// /// /// Required. List of fields to be updated in this request. @@ -2729,16 +2911,22 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// - /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// updated values. /// /// /// Required. List of fields to be updated in this request. @@ -2753,16 +2941,22 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// - /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// updated values. /// /// /// Required. List of fields to be updated in this request. @@ -2773,7 +2967,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo UpdateCryptoKeyVersionAsync(cryptoKeyVersion, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -2785,7 +2981,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -2797,7 +2995,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -2809,16 +3009,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo UpdateCryptoKeyPrimaryVersionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2830,16 +3034,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2851,16 +3059,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2868,16 +3080,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo UpdateCryptoKeyPrimaryVersionAsync(name, cryptoKeyVersionId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -2889,16 +3105,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -2910,16 +3130,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -2927,19 +3151,27 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo UpdateCryptoKeyPrimaryVersionAsync(name, cryptoKeyVersionId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2948,19 +3180,27 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -2969,19 +3209,27 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -2990,22 +3238,31 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo DestroyCryptoKeyVersionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3016,22 +3273,31 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3042,22 +3308,31 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3065,22 +3340,31 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo DestroyCryptoKeyVersionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3091,22 +3375,31 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3117,22 +3410,31 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3144,9 +3446,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3159,9 +3463,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3174,9 +3480,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -3189,12 +3497,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3209,12 +3520,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3229,12 +3543,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3246,12 +3563,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3266,12 +3586,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3286,12 +3609,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3299,8 +3625,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo RestoreCryptoKeyVersionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -3310,8 +3637,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -3321,8 +3649,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -3332,26 +3661,30 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo EncryptAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// /// /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3363,26 +3696,30 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// /// /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3394,26 +3731,30 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// /// /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3421,26 +3762,30 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo EncryptAsync(name, plaintext, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// /// /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3452,26 +3797,30 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// /// /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3483,26 +3832,30 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// /// /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3510,8 +3863,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo EncryptAsync(name, plaintext, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3520,8 +3875,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3530,8 +3887,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -3540,12 +3899,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo DecryptAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// /// /// Required. The encrypted data originally returned in @@ -3561,12 +3923,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// /// /// Required. The encrypted data originally returned in @@ -3582,12 +3947,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// /// /// Required. The encrypted data originally returned in @@ -3599,12 +3967,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo DecryptAsync(name, ciphertext, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// /// /// Required. The encrypted data originally returned in @@ -3620,12 +3991,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// /// /// Required. The encrypted data originally returned in @@ -3641,12 +4015,15 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// /// /// Required. The encrypted data originally returned in @@ -3658,9 +4035,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo DecryptAsync(name, ciphertext, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3669,9 +4048,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3680,9 +4061,11 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -3691,17 +4074,25 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo AsymmetricSignAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// /// Optional. The digest of the data to sign. The digest must be produced with /// the same digest algorithm as specified by the key version's /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + /// + /// This field may not be supplied if + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// is supplied. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3713,17 +4104,25 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// /// Optional. The digest of the data to sign. The digest must be produced with /// the same digest algorithm as specified by the key version's /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + /// + /// This field may not be supplied if + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// is supplied. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3735,17 +4134,25 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// /// Optional. The digest of the data to sign. The digest must be produced with /// the same digest algorithm as specified by the key version's /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + /// + /// This field may not be supplied if + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// is supplied. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3753,17 +4160,25 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo AsymmetricSignAsync(name, digest, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// /// Optional. The digest of the data to sign. The digest must be produced with /// the same digest algorithm as specified by the key version's /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + /// + /// This field may not be supplied if + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// is supplied. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3775,17 +4190,25 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// /// Optional. The digest of the data to sign. The digest must be produced with /// the same digest algorithm as specified by the key version's /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + /// + /// This field may not be supplied if + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// is supplied. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3797,17 +4220,25 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// /// Optional. The digest of the data to sign. The digest must be produced with /// the same digest algorithm as specified by the key version's /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. + /// + /// This field may not be supplied if + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// is supplied. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3816,8 +4247,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3827,8 +4260,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3838,8 +4273,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -3849,16 +4286,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// /// - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3871,16 +4312,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// /// - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3893,16 +4338,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// /// - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3911,16 +4360,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// /// - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -3933,16 +4386,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// /// - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -3955,16 +4412,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// /// - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -3972,9 +4433,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo AsymmetricDecryptAsync(name, ciphertext, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3983,9 +4444,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -3994,9 +4455,9 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -4005,16 +4466,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo MacSignAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -4026,16 +4489,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -4047,16 +4512,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -4064,16 +4531,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo MacSignAsync(name, data, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -4085,16 +4554,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -4106,16 +4577,18 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -4123,9 +4596,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo MacSignAsync(name, data, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4134,9 +4608,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4145,9 +4620,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo throw new sys::NotImplementedException(); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -4156,16 +4632,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo MacVerifyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// /// /// Required. The signature to verify. @@ -4181,16 +4661,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// /// /// Required. The signature to verify. @@ -4206,16 +4690,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// /// /// Required. The signature to verify. @@ -4226,16 +4714,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo MacVerifyAsync(name, data, mac, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// /// /// Required. The signature to verify. @@ -4251,16 +4743,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// /// /// Required. The signature to verify. @@ -4276,16 +4772,20 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo }, callSettings); /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// /// /// Required. The signature to verify. @@ -4338,8 +4838,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// bytes, maximum 1024 bytes. /// /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to - /// [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when + /// generating the random data. Currently, only + /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is + /// supported. /// /// If not null, applies overrides to this RPC call. /// The RPC response. @@ -4364,8 +4866,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// bytes, maximum 1024 bytes. /// /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to - /// [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when + /// generating the random data. Currently, only + /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is + /// supported. /// /// If not null, applies overrides to this RPC call. /// A Task containing the RPC response. @@ -4390,8 +4894,10 @@ internal static KeyManagementServiceClient Create(grpccore::CallInvoker callInvo /// bytes, maximum 1024 bytes. /// /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to - /// [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when + /// generating the random data. Currently, only + /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is + /// supported. /// /// A to use for this RPC. /// A Task containing the RPC response. @@ -4792,8 +5298,9 @@ public override KeyRing GetKeyRing(GetKeyRingRequest request, gaxgrpc::CallSetti } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4805,8 +5312,9 @@ public override CryptoKey GetCryptoKey(GetCryptoKeyRequest request, gaxgrpc::Cal } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4818,7 +5326,8 @@ public override CryptoKey GetCryptoKey(GetCryptoKeyRequest request, gaxgrpc::Cal } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4830,7 +5339,8 @@ public override CryptoKeyVersion GetCryptoKeyVersion(GetCryptoKeyVersionRequest } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4842,9 +5352,11 @@ public override CryptoKeyVersion GetCryptoKeyVersion(GetCryptoKeyVersionRequest } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -4857,9 +5369,11 @@ public override PublicKey GetPublicKey(GetPublicKeyRequest request, gaxgrpc::Cal } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -4896,7 +5410,8 @@ public override ImportJob GetImportJob(GetImportJobRequest request, gaxgrpc::Cal } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4908,7 +5423,8 @@ public override KeyRing CreateKeyRing(CreateKeyRingRequest request, gaxgrpc::Cal } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -4920,7 +5436,8 @@ public override KeyRing CreateKeyRing(CreateKeyRingRequest request, gaxgrpc::Cal } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -4936,7 +5453,8 @@ public override CryptoKey CreateCryptoKey(CreateCryptoKeyRequest request, gaxgrp } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -4952,7 +5470,8 @@ public override CryptoKey CreateCryptoKey(CreateCryptoKeyRequest request, gaxgrp } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -4968,7 +5487,8 @@ public override CryptoKeyVersion CreateCryptoKeyVersion(CreateCryptoKeyVersionRe } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -4984,12 +5504,14 @@ public override CryptoKeyVersion CreateCryptoKeyVersion(CreateCryptoKeyVersionRe } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5001,12 +5523,14 @@ public override CryptoKeyVersion ImportCryptoKeyVersion(ImportCryptoKeyVersionRe } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5018,9 +5542,11 @@ public override CryptoKeyVersion ImportCryptoKeyVersion(ImportCryptoKeyVersionRe } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5032,9 +5558,11 @@ public override ImportJob CreateImportJob(CreateImportJobRequest request, gaxgrp } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5070,13 +5598,18 @@ public override CryptoKey UpdateCryptoKey(UpdateCryptoKeyRequest request, gaxgrp } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5088,13 +5621,18 @@ public override CryptoKeyVersion UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRe } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5106,7 +5644,9 @@ public override CryptoKeyVersion UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRe } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -5121,7 +5661,9 @@ public override CryptoKey UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVe } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -5136,19 +5678,27 @@ public override CryptoKey UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVe } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5160,19 +5710,27 @@ public override CryptoKeyVersion DestroyCryptoKeyVersion(DestroyCryptoKeyVersion } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5188,9 +5746,11 @@ public override CryptoKeyVersion DestroyCryptoKeyVersion(DestroyCryptoKeyVersion /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5206,9 +5766,11 @@ public override CryptoKeyVersion RestoreCryptoKeyVersion(RestoreCryptoKeyVersion /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5220,8 +5782,9 @@ public override CryptoKeyVersion RestoreCryptoKeyVersion(RestoreCryptoKeyVersion } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -5234,8 +5797,9 @@ public override EncryptResponse Encrypt(EncryptRequest request, gaxgrpc::CallSet } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. @@ -5248,8 +5812,10 @@ public override EncryptResponse Encrypt(EncryptRequest request, gaxgrpc::CallSet } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5261,8 +5827,10 @@ public override DecryptResponse Decrypt(DecryptRequest request, gaxgrpc::CallSet } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5274,9 +5842,11 @@ public override DecryptResponse Decrypt(DecryptRequest request, gaxgrpc::CallSet } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5288,9 +5858,11 @@ public override AsymmetricSignResponse AsymmetricSign(AsymmetricSignRequest requ } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5303,8 +5875,10 @@ public override AsymmetricSignResponse AsymmetricSign(AsymmetricSignRequest requ /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5317,8 +5891,10 @@ public override AsymmetricDecryptResponse AsymmetricDecrypt(AsymmetricDecryptReq /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5330,9 +5906,9 @@ public override AsymmetricDecryptResponse AsymmetricDecrypt(AsymmetricDecryptReq } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5344,9 +5920,9 @@ public override MacSignResponse MacSign(MacSignRequest request, gaxgrpc::CallSet } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5358,9 +5934,10 @@ public override MacSignResponse MacSign(MacSignRequest request, gaxgrpc::CallSet } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -5372,9 +5949,10 @@ public override MacVerifyResponse MacVerify(MacVerifyRequest request, gaxgrpc::C } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Resources.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Resources.g.cs index 2092a73843cb..0fb17b25ac63 100644 --- a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Resources.g.cs +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Resources.g.cs @@ -28,136 +28,142 @@ public static partial class ResourcesReflection { "LmNsb3VkLmttcy52MRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90", "bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxoeZ29vZ2xlL3Byb3RvYnVm", "L2R1cmF0aW9uLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnBy", - "b3RvGh5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8aHGdvb2dsZS9h", - "cGkvYW5ub3RhdGlvbnMucHJvdG8itQEKB0tleVJpbmcSEQoEbmFtZRgBIAEo", - "CUID4EEDEjQKC2NyZWF0ZV90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVm", - "LlRpbWVzdGFtcEID4EEDOmHqQV4KH2Nsb3Vka21zLmdvb2dsZWFwaXMuY29t", - "L0tleVJpbmcSO3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0", - "aW9ufS9rZXlSaW5ncy97a2V5X3Jpbmd9Iu4GCglDcnlwdG9LZXkSEQoEbmFt", - "ZRgBIAEoCUID4EEDEjsKB3ByaW1hcnkYAiABKAsyJS5nb29nbGUuY2xvdWQu", - "a21zLnYxLkNyeXB0b0tleVZlcnNpb25CA+BBAxJFCgdwdXJwb3NlGAMgASgO", - "Mi8uZ29vZ2xlLmNsb3VkLmttcy52MS5DcnlwdG9LZXkuQ3J5cHRvS2V5UHVy", - "cG9zZUID4EEFEjQKC2NyZWF0ZV90aW1lGAUgASgLMhouZ29vZ2xlLnByb3Rv", - "YnVmLlRpbWVzdGFtcEID4EEDEjYKEm5leHRfcm90YXRpb25fdGltZRgHIAEo", - "CzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASNAoPcm90YXRpb25fcGVy", - "aW9kGAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uSAASRwoQdmVy", - "c2lvbl90ZW1wbGF0ZRgLIAEoCzItLmdvb2dsZS5jbG91ZC5rbXMudjEuQ3J5", - "cHRvS2V5VmVyc2lvblRlbXBsYXRlEjoKBmxhYmVscxgKIAMoCzIqLmdvb2ds", - "ZS5jbG91ZC5rbXMudjEuQ3J5cHRvS2V5LkxhYmVsc0VudHJ5EhgKC2ltcG9y", - "dF9vbmx5GA0gASgIQgPgQQUSQgoaZGVzdHJveV9zY2hlZHVsZWRfZHVyYXRp", - "b24YDiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25CA+BBBRotCgtM", - "YWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIoEB", - "ChBDcnlwdG9LZXlQdXJwb3NlEiIKHkNSWVBUT19LRVlfUFVSUE9TRV9VTlNQ", - "RUNJRklFRBAAEhMKD0VOQ1JZUFRfREVDUllQVBABEhMKD0FTWU1NRVRSSUNf", - "U0lHThAFEhYKEkFTWU1NRVRSSUNfREVDUllQVBAGEgcKA01BQxAJOnvqQXgK", - "IWNsb3Vka21zLmdvb2dsZWFwaXMuY29tL0NyeXB0b0tleRJTcHJvamVjdHMv", - "e3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2tleVJpbmdzL3trZXlf", - "cmluZ30vY3J5cHRvS2V5cy97Y3J5cHRvX2tleX1CEwoRcm90YXRpb25fc2No", - "ZWR1bGUiswEKGENyeXB0b0tleVZlcnNpb25UZW1wbGF0ZRI+ChBwcm90ZWN0", - "aW9uX2xldmVsGAEgASgOMiQuZ29vZ2xlLmNsb3VkLmttcy52MS5Qcm90ZWN0", - "aW9uTGV2ZWwSVwoJYWxnb3JpdGhtGAMgASgOMj8uZ29vZ2xlLmNsb3VkLmtt", - "cy52MS5DcnlwdG9LZXlWZXJzaW9uLkNyeXB0b0tleVZlcnNpb25BbGdvcml0", - "aG1CA+BBAiLxAQoXS2V5T3BlcmF0aW9uQXR0ZXN0YXRpb24SUwoGZm9ybWF0", - "GAQgASgOMj4uZ29vZ2xlLmNsb3VkLmttcy52MS5LZXlPcGVyYXRpb25BdHRl", - "c3RhdGlvbi5BdHRlc3RhdGlvbkZvcm1hdEID4EEDEhQKB2NvbnRlbnQYBSAB", - "KAxCA+BBAyJrChFBdHRlc3RhdGlvbkZvcm1hdBIiCh5BVFRFU1RBVElPTl9G", - "T1JNQVRfVU5TUEVDSUZJRUQQABIYChRDQVZJVU1fVjFfQ09NUFJFU1NFRBAD", - "EhgKFENBVklVTV9WMl9DT01QUkVTU0VEEAQikBAKEENyeXB0b0tleVZlcnNp", - "b24SEQoEbmFtZRgBIAEoCUID4EEDEkoKBXN0YXRlGAMgASgOMjsuZ29vZ2xl", + "b3RvGh5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8itQEKB0tleVJp", + "bmcSEQoEbmFtZRgBIAEoCUID4EEDEjQKC2NyZWF0ZV90aW1lGAIgASgLMhou", + "Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDOmHqQV4KH2Nsb3Vka21z", + "Lmdvb2dsZWFwaXMuY29tL0tleVJpbmcSO3Byb2plY3RzL3twcm9qZWN0fS9s", + "b2NhdGlvbnMve2xvY2F0aW9ufS9rZXlSaW5ncy97a2V5X3Jpbmd9IpUHCglD", + "cnlwdG9LZXkSEQoEbmFtZRgBIAEoCUID4EEDEjsKB3ByaW1hcnkYAiABKAsy", + "JS5nb29nbGUuY2xvdWQua21zLnYxLkNyeXB0b0tleVZlcnNpb25CA+BBAxJF", + "CgdwdXJwb3NlGAMgASgOMi8uZ29vZ2xlLmNsb3VkLmttcy52MS5DcnlwdG9L", + "ZXkuQ3J5cHRvS2V5UHVycG9zZUID4EEFEjQKC2NyZWF0ZV90aW1lGAUgASgL", + "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjYKEm5leHRfcm90", + "YXRpb25fdGltZRgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAS", + "NAoPcm90YXRpb25fcGVyaW9kGAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1", + "cmF0aW9uSAASRwoQdmVyc2lvbl90ZW1wbGF0ZRgLIAEoCzItLmdvb2dsZS5j", + "bG91ZC5rbXMudjEuQ3J5cHRvS2V5VmVyc2lvblRlbXBsYXRlEjoKBmxhYmVs", + "cxgKIAMoCzIqLmdvb2dsZS5jbG91ZC5rbXMudjEuQ3J5cHRvS2V5LkxhYmVs", + "c0VudHJ5EhgKC2ltcG9ydF9vbmx5GA0gASgIQgPgQQUSQgoaZGVzdHJveV9z", + "Y2hlZHVsZWRfZHVyYXRpb24YDiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVy", + "YXRpb25CA+BBBRIlChJjcnlwdG9fa2V5X2JhY2tlbmQYDyABKAlCCeBBBfpB", + "AwoBKhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiAB", + "KAk6AjgBIoEBChBDcnlwdG9LZXlQdXJwb3NlEiIKHkNSWVBUT19LRVlfUFVS", + "UE9TRV9VTlNQRUNJRklFRBAAEhMKD0VOQ1JZUFRfREVDUllQVBABEhMKD0FT", + "WU1NRVRSSUNfU0lHThAFEhYKEkFTWU1NRVRSSUNfREVDUllQVBAGEgcKA01B", + "QxAJOnvqQXgKIWNsb3Vka21zLmdvb2dsZWFwaXMuY29tL0NyeXB0b0tleRJT", + "cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2tleVJp", + "bmdzL3trZXlfcmluZ30vY3J5cHRvS2V5cy97Y3J5cHRvX2tleX1CEwoRcm90", + "YXRpb25fc2NoZWR1bGUiswEKGENyeXB0b0tleVZlcnNpb25UZW1wbGF0ZRI+", + "ChBwcm90ZWN0aW9uX2xldmVsGAEgASgOMiQuZ29vZ2xlLmNsb3VkLmttcy52", + "MS5Qcm90ZWN0aW9uTGV2ZWwSVwoJYWxnb3JpdGhtGAMgASgOMj8uZ29vZ2xl", "LmNsb3VkLmttcy52MS5DcnlwdG9LZXlWZXJzaW9uLkNyeXB0b0tleVZlcnNp", - "b25TdGF0ZRJDChBwcm90ZWN0aW9uX2xldmVsGAcgASgOMiQuZ29vZ2xlLmNs", - "b3VkLmttcy52MS5Qcm90ZWN0aW9uTGV2ZWxCA+BBAxJXCglhbGdvcml0aG0Y", - "CiABKA4yPy5nb29nbGUuY2xvdWQua21zLnYxLkNyeXB0b0tleVZlcnNpb24u", - "Q3J5cHRvS2V5VmVyc2lvbkFsZ29yaXRobUID4EEDEkYKC2F0dGVzdGF0aW9u", - "GAggASgLMiwuZ29vZ2xlLmNsb3VkLmttcy52MS5LZXlPcGVyYXRpb25BdHRl", - "c3RhdGlvbkID4EEDEjQKC2NyZWF0ZV90aW1lGAQgASgLMhouZ29vZ2xlLnBy", - "b3RvYnVmLlRpbWVzdGFtcEID4EEDEjYKDWdlbmVyYXRlX3RpbWUYCyABKAsy", - "Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSNQoMZGVzdHJveV90", - "aW1lGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjsK", - "EmRlc3Ryb3lfZXZlbnRfdGltZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5U", - "aW1lc3RhbXBCA+BBAxIXCgppbXBvcnRfam9iGA4gASgJQgPgQQMSNAoLaW1w", - "b3J0X3RpbWUYDyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPg", - "QQMSIgoVaW1wb3J0X2ZhaWx1cmVfcmVhc29uGBAgASgJQgPgQQMSXgohZXh0", - "ZXJuYWxfcHJvdGVjdGlvbl9sZXZlbF9vcHRpb25zGBEgASgLMjMuZ29vZ2xl", - "LmNsb3VkLmttcy52MS5FeHRlcm5hbFByb3RlY3Rpb25MZXZlbE9wdGlvbnMS", - "HgoRcmVpbXBvcnRfZWxpZ2libGUYEiABKAhCA+BBAyKlBgoZQ3J5cHRvS2V5", - "VmVyc2lvbkFsZ29yaXRobRIsCihDUllQVE9fS0VZX1ZFUlNJT05fQUxHT1JJ", - "VEhNX1VOU1BFQ0lGSUVEEAASHwobR09PR0xFX1NZTU1FVFJJQ19FTkNSWVBU", - "SU9OEAESHAoYUlNBX1NJR05fUFNTXzIwNDhfU0hBMjU2EAISHAoYUlNBX1NJ", - "R05fUFNTXzMwNzJfU0hBMjU2EAMSHAoYUlNBX1NJR05fUFNTXzQwOTZfU0hB", - "MjU2EAQSHAoYUlNBX1NJR05fUFNTXzQwOTZfU0hBNTEyEA8SHgoaUlNBX1NJ", - "R05fUEtDUzFfMjA0OF9TSEEyNTYQBRIeChpSU0FfU0lHTl9QS0NTMV8zMDcy", - "X1NIQTI1NhAGEh4KGlJTQV9TSUdOX1BLQ1MxXzQwOTZfU0hBMjU2EAcSHgoa", - "UlNBX1NJR05fUEtDUzFfNDA5Nl9TSEE1MTIQEBIbChdSU0FfU0lHTl9SQVdf", - "UEtDUzFfMjA0OBAcEhsKF1JTQV9TSUdOX1JBV19QS0NTMV8zMDcyEB0SGwoX", - "UlNBX1NJR05fUkFXX1BLQ1MxXzQwOTYQHhIgChxSU0FfREVDUllQVF9PQUVQ", - "XzIwNDhfU0hBMjU2EAgSIAocUlNBX0RFQ1JZUFRfT0FFUF8zMDcyX1NIQTI1", - "NhAJEiAKHFJTQV9ERUNSWVBUX09BRVBfNDA5Nl9TSEEyNTYQChIgChxSU0Ff", - "REVDUllQVF9PQUVQXzQwOTZfU0hBNTEyEBESHgoaUlNBX0RFQ1JZUFRfT0FF", - "UF8yMDQ4X1NIQTEQJRIeChpSU0FfREVDUllQVF9PQUVQXzMwNzJfU0hBMRAm", - "Eh4KGlJTQV9ERUNSWVBUX09BRVBfNDA5Nl9TSEExECcSFwoTRUNfU0lHTl9Q", - "MjU2X1NIQTI1NhAMEhcKE0VDX1NJR05fUDM4NF9TSEEzODQQDRIcChhFQ19T", - "SUdOX1NFQ1AyNTZLMV9TSEEyNTYQHxIPCgtITUFDX1NIQTI1NhAgEiEKHUVY", - "VEVSTkFMX1NZTU1FVFJJQ19FTkNSWVBUSU9OEBIiwQEKFUNyeXB0b0tleVZl", - "cnNpb25TdGF0ZRIoCiRDUllQVE9fS0VZX1ZFUlNJT05fU1RBVEVfVU5TUEVD", - "SUZJRUQQABIWChJQRU5ESU5HX0dFTkVSQVRJT04QBRILCgdFTkFCTEVEEAES", - "DAoIRElTQUJMRUQQAhINCglERVNUUk9ZRUQQAxIVChFERVNUUk9ZX1NDSEVE", - "VUxFRBAEEhIKDlBFTkRJTkdfSU1QT1JUEAYSEQoNSU1QT1JUX0ZBSUxFRBAH", - "IkkKFENyeXB0b0tleVZlcnNpb25WaWV3EicKI0NSWVBUT19LRVlfVkVSU0lP", - "Tl9WSUVXX1VOU1BFQ0lGSUVEEAASCAoERlVMTBABOqoB6kGmAQooY2xvdWRr", - "bXMuZ29vZ2xlYXBpcy5jb20vQ3J5cHRvS2V5VmVyc2lvbhJ6cHJvamVjdHMv", - "e3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2tleVJpbmdzL3trZXlf", - "cmluZ30vY3J5cHRvS2V5cy97Y3J5cHRvX2tleX0vY3J5cHRvS2V5VmVyc2lv", - "bnMve2NyeXB0b19rZXlfdmVyc2lvbn0inAMKCVB1YmxpY0tleRILCgNwZW0Y", - "ASABKAkSUgoJYWxnb3JpdGhtGAIgASgOMj8uZ29vZ2xlLmNsb3VkLmttcy52", - "MS5DcnlwdG9LZXlWZXJzaW9uLkNyeXB0b0tleVZlcnNpb25BbGdvcml0aG0S", - "LwoKcGVtX2NyYzMyYxgDIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5JbnQ2NFZh", - "bHVlEgwKBG5hbWUYBCABKAkSPgoQcHJvdGVjdGlvbl9sZXZlbBgFIAEoDjIk", - "Lmdvb2dsZS5jbG91ZC5rbXMudjEuUHJvdGVjdGlvbkxldmVsOq4B6kGqAQoh", - "Y2xvdWRrbXMuZ29vZ2xlYXBpcy5jb20vUHVibGljS2V5EoQBcHJvamVjdHMv", - "e3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2tleVJpbmdzL3trZXlf", - "cmluZ30vY3J5cHRvS2V5cy97Y3J5cHRvX2tleX0vY3J5cHRvS2V5VmVyc2lv", - "bnMve2NyeXB0b19rZXlfdmVyc2lvbn0vcHVibGljS2V5ItsHCglJbXBvcnRK", - "b2ISEQoEbmFtZRgBIAEoCUID4EEDEkoKDWltcG9ydF9tZXRob2QYAiABKA4y", - "Ky5nb29nbGUuY2xvdWQua21zLnYxLkltcG9ydEpvYi5JbXBvcnRNZXRob2RC", - "BuBBAuBBBRJGChBwcm90ZWN0aW9uX2xldmVsGAkgASgOMiQuZ29vZ2xlLmNs", - "b3VkLmttcy52MS5Qcm90ZWN0aW9uTGV2ZWxCBuBBAuBBBRI0CgtjcmVhdGVf", - "dGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxI2", - "Cg1nZW5lcmF0ZV90aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz", - "dGFtcEID4EEDEjQKC2V4cGlyZV90aW1lGAUgASgLMhouZ29vZ2xlLnByb3Rv", - "YnVmLlRpbWVzdGFtcEID4EEDEjoKEWV4cGlyZV9ldmVudF90aW1lGAogASgL", - "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEkEKBXN0YXRlGAYg", - "ASgOMi0uZ29vZ2xlLmNsb3VkLmttcy52MS5JbXBvcnRKb2IuSW1wb3J0Sm9i", - "U3RhdGVCA+BBAxJJCgpwdWJsaWNfa2V5GAcgASgLMjAuZ29vZ2xlLmNsb3Vk", - "Lmttcy52MS5JbXBvcnRKb2IuV3JhcHBpbmdQdWJsaWNLZXlCA+BBAxJGCgth", - "dHRlc3RhdGlvbhgIIAEoCzIsLmdvb2dsZS5jbG91ZC5rbXMudjEuS2V5T3Bl", - "cmF0aW9uQXR0ZXN0YXRpb25CA+BBAxogChFXcmFwcGluZ1B1YmxpY0tleRIL", - "CgNwZW0YASABKAkibQoMSW1wb3J0TWV0aG9kEh0KGUlNUE9SVF9NRVRIT0Rf", - "VU5TUEVDSUZJRUQQABIeChpSU0FfT0FFUF8zMDcyX1NIQTFfQUVTXzI1NhAB", - "Eh4KGlJTQV9PQUVQXzQwOTZfU0hBMV9BRVNfMjU2EAIiYwoOSW1wb3J0Sm9i", - "U3RhdGUSIAocSU1QT1JUX0pPQl9TVEFURV9VTlNQRUNJRklFRBAAEhYKElBF", - "TkRJTkdfR0VORVJBVElPThABEgoKBkFDVElWRRACEgsKB0VYUElSRUQQAzp7", - "6kF4CiFjbG91ZGttcy5nb29nbGVhcGlzLmNvbS9JbXBvcnRKb2ISU3Byb2pl", - "Y3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9rZXlSaW5ncy97", - "a2V5X3Jpbmd9L2ltcG9ydEpvYnMve2ltcG9ydF9qb2J9IjoKHkV4dGVybmFs", - "UHJvdGVjdGlvbkxldmVsT3B0aW9ucxIYChBleHRlcm5hbF9rZXlfdXJpGAEg", - "ASgJKlgKD1Byb3RlY3Rpb25MZXZlbBIgChxQUk9URUNUSU9OX0xFVkVMX1VO", - "U1BFQ0lGSUVEEAASDAoIU09GVFdBUkUQARIHCgNIU00QAhIMCghFWFRFUk5B", - "TBADQpUBChdjb20uZ29vZ2xlLmNsb3VkLmttcy52MUIRS21zUmVzb3VyY2Vz", - "UHJvdG9QAVo2Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBp", - "cy9jbG91ZC9rbXMvdjE7a21z+AEBqgITR29vZ2xlLkNsb3VkLkttcy5WMcoC", - "E0dvb2dsZVxDbG91ZFxLbXNcVjFiBnByb3RvMw==")); + "b25BbGdvcml0aG1CA+BBAiKxAwoXS2V5T3BlcmF0aW9uQXR0ZXN0YXRpb24S", + "UwoGZm9ybWF0GAQgASgOMj4uZ29vZ2xlLmNsb3VkLmttcy52MS5LZXlPcGVy", + "YXRpb25BdHRlc3RhdGlvbi5BdHRlc3RhdGlvbkZvcm1hdEID4EEDEhQKB2Nv", + "bnRlbnQYBSABKAxCA+BBAxJYCgtjZXJ0X2NoYWlucxgGIAEoCzI+Lmdvb2ds", + "ZS5jbG91ZC5rbXMudjEuS2V5T3BlcmF0aW9uQXR0ZXN0YXRpb24uQ2VydGlm", + "aWNhdGVDaGFpbnNCA+BBAxpkChFDZXJ0aWZpY2F0ZUNoYWlucxIUCgxjYXZp", + "dW1fY2VydHMYASADKAkSGQoRZ29vZ2xlX2NhcmRfY2VydHMYAiADKAkSHgoW", + "Z29vZ2xlX3BhcnRpdGlvbl9jZXJ0cxgDIAMoCSJrChFBdHRlc3RhdGlvbkZv", + "cm1hdBIiCh5BVFRFU1RBVElPTl9GT1JNQVRfVU5TUEVDSUZJRUQQABIYChRD", + "QVZJVU1fVjFfQ09NUFJFU1NFRBADEhgKFENBVklVTV9WMl9DT01QUkVTU0VE", + "EAQikBAKEENyeXB0b0tleVZlcnNpb24SEQoEbmFtZRgBIAEoCUID4EEDEkoK", + "BXN0YXRlGAMgASgOMjsuZ29vZ2xlLmNsb3VkLmttcy52MS5DcnlwdG9LZXlW", + "ZXJzaW9uLkNyeXB0b0tleVZlcnNpb25TdGF0ZRJDChBwcm90ZWN0aW9uX2xl", + "dmVsGAcgASgOMiQuZ29vZ2xlLmNsb3VkLmttcy52MS5Qcm90ZWN0aW9uTGV2", + "ZWxCA+BBAxJXCglhbGdvcml0aG0YCiABKA4yPy5nb29nbGUuY2xvdWQua21z", + "LnYxLkNyeXB0b0tleVZlcnNpb24uQ3J5cHRvS2V5VmVyc2lvbkFsZ29yaXRo", + "bUID4EEDEkYKC2F0dGVzdGF0aW9uGAggASgLMiwuZ29vZ2xlLmNsb3VkLmtt", + "cy52MS5LZXlPcGVyYXRpb25BdHRlc3RhdGlvbkID4EEDEjQKC2NyZWF0ZV90", + "aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjYK", + "DWdlbmVyYXRlX3RpbWUYCyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0", + "YW1wQgPgQQMSNQoMZGVzdHJveV90aW1lGAUgASgLMhouZ29vZ2xlLnByb3Rv", + "YnVmLlRpbWVzdGFtcEID4EEDEjsKEmRlc3Ryb3lfZXZlbnRfdGltZRgGIAEo", + "CzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxIXCgppbXBvcnRf", + "am9iGA4gASgJQgPgQQMSNAoLaW1wb3J0X3RpbWUYDyABKAsyGi5nb29nbGUu", + "cHJvdG9idWYuVGltZXN0YW1wQgPgQQMSIgoVaW1wb3J0X2ZhaWx1cmVfcmVh", + "c29uGBAgASgJQgPgQQMSXgohZXh0ZXJuYWxfcHJvdGVjdGlvbl9sZXZlbF9v", + "cHRpb25zGBEgASgLMjMuZ29vZ2xlLmNsb3VkLmttcy52MS5FeHRlcm5hbFBy", + "b3RlY3Rpb25MZXZlbE9wdGlvbnMSHgoRcmVpbXBvcnRfZWxpZ2libGUYEiAB", + "KAhCA+BBAyKlBgoZQ3J5cHRvS2V5VmVyc2lvbkFsZ29yaXRobRIsCihDUllQ", + "VE9fS0VZX1ZFUlNJT05fQUxHT1JJVEhNX1VOU1BFQ0lGSUVEEAASHwobR09P", + "R0xFX1NZTU1FVFJJQ19FTkNSWVBUSU9OEAESHAoYUlNBX1NJR05fUFNTXzIw", + "NDhfU0hBMjU2EAISHAoYUlNBX1NJR05fUFNTXzMwNzJfU0hBMjU2EAMSHAoY", + "UlNBX1NJR05fUFNTXzQwOTZfU0hBMjU2EAQSHAoYUlNBX1NJR05fUFNTXzQw", + "OTZfU0hBNTEyEA8SHgoaUlNBX1NJR05fUEtDUzFfMjA0OF9TSEEyNTYQBRIe", + "ChpSU0FfU0lHTl9QS0NTMV8zMDcyX1NIQTI1NhAGEh4KGlJTQV9TSUdOX1BL", + "Q1MxXzQwOTZfU0hBMjU2EAcSHgoaUlNBX1NJR05fUEtDUzFfNDA5Nl9TSEE1", + "MTIQEBIbChdSU0FfU0lHTl9SQVdfUEtDUzFfMjA0OBAcEhsKF1JTQV9TSUdO", + "X1JBV19QS0NTMV8zMDcyEB0SGwoXUlNBX1NJR05fUkFXX1BLQ1MxXzQwOTYQ", + "HhIgChxSU0FfREVDUllQVF9PQUVQXzIwNDhfU0hBMjU2EAgSIAocUlNBX0RF", + "Q1JZUFRfT0FFUF8zMDcyX1NIQTI1NhAJEiAKHFJTQV9ERUNSWVBUX09BRVBf", + "NDA5Nl9TSEEyNTYQChIgChxSU0FfREVDUllQVF9PQUVQXzQwOTZfU0hBNTEy", + "EBESHgoaUlNBX0RFQ1JZUFRfT0FFUF8yMDQ4X1NIQTEQJRIeChpSU0FfREVD", + "UllQVF9PQUVQXzMwNzJfU0hBMRAmEh4KGlJTQV9ERUNSWVBUX09BRVBfNDA5", + "Nl9TSEExECcSFwoTRUNfU0lHTl9QMjU2X1NIQTI1NhAMEhcKE0VDX1NJR05f", + "UDM4NF9TSEEzODQQDRIcChhFQ19TSUdOX1NFQ1AyNTZLMV9TSEEyNTYQHxIP", + "CgtITUFDX1NIQTI1NhAgEiEKHUVYVEVSTkFMX1NZTU1FVFJJQ19FTkNSWVBU", + "SU9OEBIiwQEKFUNyeXB0b0tleVZlcnNpb25TdGF0ZRIoCiRDUllQVE9fS0VZ", + "X1ZFUlNJT05fU1RBVEVfVU5TUEVDSUZJRUQQABIWChJQRU5ESU5HX0dFTkVS", + "QVRJT04QBRILCgdFTkFCTEVEEAESDAoIRElTQUJMRUQQAhINCglERVNUUk9Z", + "RUQQAxIVChFERVNUUk9ZX1NDSEVEVUxFRBAEEhIKDlBFTkRJTkdfSU1QT1JU", + "EAYSEQoNSU1QT1JUX0ZBSUxFRBAHIkkKFENyeXB0b0tleVZlcnNpb25WaWV3", + "EicKI0NSWVBUT19LRVlfVkVSU0lPTl9WSUVXX1VOU1BFQ0lGSUVEEAASCAoE", + "RlVMTBABOqoB6kGmAQooY2xvdWRrbXMuZ29vZ2xlYXBpcy5jb20vQ3J5cHRv", + "S2V5VmVyc2lvbhJ6cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9j", + "YXRpb259L2tleVJpbmdzL3trZXlfcmluZ30vY3J5cHRvS2V5cy97Y3J5cHRv", + "X2tleX0vY3J5cHRvS2V5VmVyc2lvbnMve2NyeXB0b19rZXlfdmVyc2lvbn0i", + "nAMKCVB1YmxpY0tleRILCgNwZW0YASABKAkSUgoJYWxnb3JpdGhtGAIgASgO", + "Mj8uZ29vZ2xlLmNsb3VkLmttcy52MS5DcnlwdG9LZXlWZXJzaW9uLkNyeXB0", + "b0tleVZlcnNpb25BbGdvcml0aG0SLwoKcGVtX2NyYzMyYxgDIAEoCzIbLmdv", + "b2dsZS5wcm90b2J1Zi5JbnQ2NFZhbHVlEgwKBG5hbWUYBCABKAkSPgoQcHJv", + "dGVjdGlvbl9sZXZlbBgFIAEoDjIkLmdvb2dsZS5jbG91ZC5rbXMudjEuUHJv", + "dGVjdGlvbkxldmVsOq4B6kGqAQohY2xvdWRrbXMuZ29vZ2xlYXBpcy5jb20v", + "UHVibGljS2V5EoQBcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9j", + "YXRpb259L2tleVJpbmdzL3trZXlfcmluZ30vY3J5cHRvS2V5cy97Y3J5cHRv", + "X2tleX0vY3J5cHRvS2V5VmVyc2lvbnMve2NyeXB0b19rZXlfdmVyc2lvbn0v", + "cHVibGljS2V5ItsHCglJbXBvcnRKb2ISEQoEbmFtZRgBIAEoCUID4EEDEkoK", + "DWltcG9ydF9tZXRob2QYAiABKA4yKy5nb29nbGUuY2xvdWQua21zLnYxLklt", + "cG9ydEpvYi5JbXBvcnRNZXRob2RCBuBBAuBBBRJGChBwcm90ZWN0aW9uX2xl", + "dmVsGAkgASgOMiQuZ29vZ2xlLmNsb3VkLmttcy52MS5Qcm90ZWN0aW9uTGV2", + "ZWxCBuBBAuBBBRI0CgtjcmVhdGVfdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90", + "b2J1Zi5UaW1lc3RhbXBCA+BBAxI2Cg1nZW5lcmF0ZV90aW1lGAQgASgLMhou", + "Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjQKC2V4cGlyZV90aW1l", + "GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjoKEWV4", + "cGlyZV9ldmVudF90aW1lGAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz", + "dGFtcEID4EEDEkEKBXN0YXRlGAYgASgOMi0uZ29vZ2xlLmNsb3VkLmttcy52", + "MS5JbXBvcnRKb2IuSW1wb3J0Sm9iU3RhdGVCA+BBAxJJCgpwdWJsaWNfa2V5", + "GAcgASgLMjAuZ29vZ2xlLmNsb3VkLmttcy52MS5JbXBvcnRKb2IuV3JhcHBp", + "bmdQdWJsaWNLZXlCA+BBAxJGCgthdHRlc3RhdGlvbhgIIAEoCzIsLmdvb2ds", + "ZS5jbG91ZC5rbXMudjEuS2V5T3BlcmF0aW9uQXR0ZXN0YXRpb25CA+BBAxog", + "ChFXcmFwcGluZ1B1YmxpY0tleRILCgNwZW0YASABKAkibQoMSW1wb3J0TWV0", + "aG9kEh0KGUlNUE9SVF9NRVRIT0RfVU5TUEVDSUZJRUQQABIeChpSU0FfT0FF", + "UF8zMDcyX1NIQTFfQUVTXzI1NhABEh4KGlJTQV9PQUVQXzQwOTZfU0hBMV9B", + "RVNfMjU2EAIiYwoOSW1wb3J0Sm9iU3RhdGUSIAocSU1QT1JUX0pPQl9TVEFU", + "RV9VTlNQRUNJRklFRBAAEhYKElBFTkRJTkdfR0VORVJBVElPThABEgoKBkFD", + "VElWRRACEgsKB0VYUElSRUQQAzp76kF4CiFjbG91ZGttcy5nb29nbGVhcGlz", + "LmNvbS9JbXBvcnRKb2ISU3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMv", + "e2xvY2F0aW9ufS9rZXlSaW5ncy97a2V5X3Jpbmd9L2ltcG9ydEpvYnMve2lt", + "cG9ydF9qb2J9IlsKHkV4dGVybmFsUHJvdGVjdGlvbkxldmVsT3B0aW9ucxIY", + "ChBleHRlcm5hbF9rZXlfdXJpGAEgASgJEh8KF2VrbV9jb25uZWN0aW9uX2tl", + "eV9wYXRoGAIgASgJKmoKD1Byb3RlY3Rpb25MZXZlbBIgChxQUk9URUNUSU9O", + "X0xFVkVMX1VOU1BFQ0lGSUVEEAASDAoIU09GVFdBUkUQARIHCgNIU00QAhIM", + "CghFWFRFUk5BTBADEhAKDEVYVEVSTkFMX1ZQQxAEQpUBChdjb20uZ29vZ2xl", + "LmNsb3VkLmttcy52MUIRS21zUmVzb3VyY2VzUHJvdG9QAVo2Z29vZ2xlLmdv", + "bGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9jbG91ZC9rbXMvdjE7a21z", + "+AEBqgITR29vZ2xlLkNsb3VkLkttcy5WMcoCE0dvb2dsZVxDbG91ZFxLbXNc", + "VjFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, global::Google.Api.AnnotationsReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.Kms.V1.ProtectionLevel), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.KeyRing), global::Google.Cloud.Kms.V1.KeyRing.Parser, new[]{ "Name", "CreateTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.CryptoKey), global::Google.Cloud.Kms.V1.CryptoKey.Parser, new[]{ "Name", "Primary", "Purpose", "CreateTime", "NextRotationTime", "RotationPeriod", "VersionTemplate", "Labels", "ImportOnly", "DestroyScheduledDuration" }, new[]{ "RotationSchedule" }, new[]{ typeof(global::Google.Cloud.Kms.V1.CryptoKey.Types.CryptoKeyPurpose) }, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.CryptoKey), global::Google.Cloud.Kms.V1.CryptoKey.Parser, new[]{ "Name", "Primary", "Purpose", "CreateTime", "NextRotationTime", "RotationPeriod", "VersionTemplate", "Labels", "ImportOnly", "DestroyScheduledDuration", "CryptoKeyBackend" }, new[]{ "RotationSchedule" }, new[]{ typeof(global::Google.Cloud.Kms.V1.CryptoKey.Types.CryptoKeyPurpose) }, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.CryptoKeyVersionTemplate), global::Google.Cloud.Kms.V1.CryptoKeyVersionTemplate.Parser, new[]{ "ProtectionLevel", "Algorithm" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.KeyOperationAttestation), global::Google.Cloud.Kms.V1.KeyOperationAttestation.Parser, new[]{ "Format", "Content" }, null, new[]{ typeof(global::Google.Cloud.Kms.V1.KeyOperationAttestation.Types.AttestationFormat) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.KeyOperationAttestation), global::Google.Cloud.Kms.V1.KeyOperationAttestation.Parser, new[]{ "Format", "Content", "CertChains" }, null, new[]{ typeof(global::Google.Cloud.Kms.V1.KeyOperationAttestation.Types.AttestationFormat) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.KeyOperationAttestation.Types.CertificateChains), global::Google.Cloud.Kms.V1.KeyOperationAttestation.Types.CertificateChains.Parser, new[]{ "CaviumCerts", "GoogleCardCerts", "GooglePartitionCerts" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.CryptoKeyVersion), global::Google.Cloud.Kms.V1.CryptoKeyVersion.Parser, new[]{ "Name", "State", "ProtectionLevel", "Algorithm", "Attestation", "CreateTime", "GenerateTime", "DestroyTime", "DestroyEventTime", "ImportJob", "ImportTime", "ImportFailureReason", "ExternalProtectionLevelOptions", "ReimportEligible" }, null, new[]{ typeof(global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm), typeof(global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionState), typeof(global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionView) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.PublicKey), global::Google.Cloud.Kms.V1.PublicKey.Parser, new[]{ "Pem", "Algorithm", "PemCrc32C", "Name", "ProtectionLevel" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.ImportJob), global::Google.Cloud.Kms.V1.ImportJob.Parser, new[]{ "Name", "ImportMethod", "ProtectionLevel", "CreateTime", "GenerateTime", "ExpireTime", "ExpireEventTime", "State", "PublicKey", "Attestation" }, null, new[]{ typeof(global::Google.Cloud.Kms.V1.ImportJob.Types.ImportMethod), typeof(global::Google.Cloud.Kms.V1.ImportJob.Types.ImportJobState) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.ImportJob.Types.WrappingPublicKey), global::Google.Cloud.Kms.V1.ImportJob.Types.WrappingPublicKey.Parser, new[]{ "Pem" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.ExternalProtectionLevelOptions), global::Google.Cloud.Kms.V1.ExternalProtectionLevelOptions.Parser, new[]{ "ExternalKeyUri" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Kms.V1.ExternalProtectionLevelOptions), global::Google.Cloud.Kms.V1.ExternalProtectionLevelOptions.Parser, new[]{ "ExternalKeyUri", "EkmConnectionKeyPath" }, null, null, null, null) })); } #endregion @@ -165,9 +171,9 @@ public static partial class ResourcesReflection { } #region Enums /// - /// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how cryptographic operations are performed. - /// For more information, see [Protection levels] - /// (https://cloud.google.com/kms/docs/algorithms#protection_levels). + /// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how + /// cryptographic operations are performed. For more information, see [Protection + /// levels] (https://cloud.google.com/kms/docs/algorithms#protection_levels). /// public enum ProtectionLevel { /// @@ -186,13 +192,18 @@ public enum ProtectionLevel { /// Crypto operations are performed by an external key manager. /// [pbr::OriginalName("EXTERNAL")] External = 3, + /// + /// Crypto operations are performed in an EKM-over-VPC backend. + /// + [pbr::OriginalName("EXTERNAL_VPC")] ExternalVpc = 4, } #endregion #region Messages /// - /// A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// public sealed partial class KeyRing : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -243,7 +254,8 @@ public sealed partial class KeyRing : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format + /// Output only. The resource name for the + /// [KeyRing][google.cloud.kms.v1.KeyRing] in the format /// `projects/*/locations/*/keyRings/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -259,7 +271,8 @@ public sealed partial class KeyRing : pb::IMessage public const int CreateTimeFieldNumber = 2; private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; /// - /// Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created. + /// Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] + /// was created. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -437,11 +450,12 @@ public sealed partial class KeyRing : pb::IMessage } /// - /// A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that can be used for cryptographic - /// operations. + /// A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that + /// can be used for cryptographic operations. /// - /// A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more [versions][google.cloud.kms.v1.CryptoKeyVersion], - /// which represent the actual key material used in cryptographic operations. + /// A [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more + /// [versions][google.cloud.kms.v1.CryptoKeyVersion], which represent the actual + /// key material used in cryptographic operations. /// public sealed partial class CryptoKey : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -486,6 +500,7 @@ public sealed partial class CryptoKey : pb::IMessage labels_ = other.labels_.Clone(); importOnly_ = other.importOnly_; destroyScheduledDuration_ = other.destroyScheduledDuration_ != null ? other.destroyScheduledDuration_.Clone() : null; + cryptoKeyBackend_ = other.cryptoKeyBackend_; switch (other.RotationScheduleCase) { case RotationScheduleOneofCase.RotationPeriod: RotationPeriod = other.RotationPeriod.Clone(); @@ -505,7 +520,8 @@ public sealed partial class CryptoKey : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format + /// Output only. The resource name for this + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -521,16 +537,19 @@ public sealed partial class CryptoKey : pb::IMessage public const int PrimaryFieldNumber = 2; private global::Google.Cloud.Kms.V1.CryptoKeyVersion primary_; /// - /// Output only. A copy of the "primary" [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used - /// by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this [CryptoKey][google.cloud.kms.v1.CryptoKey] is given - /// in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. + /// Output only. A copy of the "primary" + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used + /// by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in + /// [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. /// - /// The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via + /// The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be + /// updated via /// [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. /// /// Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a - /// primary. For other keys, this field will be omitted. + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] + /// may have a primary. For other keys, this field will be omitted. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -545,7 +564,8 @@ public sealed partial class CryptoKey : pb::IMessage public const int PurposeFieldNumber = 3; private global::Google.Cloud.Kms.V1.CryptoKey.Types.CryptoKeyPurpose purpose_ = global::Google.Cloud.Kms.V1.CryptoKey.Types.CryptoKeyPurpose.Unspecified; /// - /// Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Immutable. The immutable purpose of this + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -560,7 +580,8 @@ public sealed partial class CryptoKey : pb::IMessage public const int CreateTimeFieldNumber = 5; private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; /// - /// Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. + /// Output only. The time at which this + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -575,19 +596,22 @@ public sealed partial class CryptoKey : pb::IMessage public const int NextRotationTimeFieldNumber = 7; private global::Google.Protobuf.WellKnownTypes.Timestamp nextRotationTime_; /// - /// At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], the Key Management Service will automatically: + /// At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], + /// the Key Management Service will automatically: /// /// 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// 2. Mark the new version as primary. /// /// Key rotations performed manually via - /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] and + /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + /// and /// [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion] - /// do not affect [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]. + /// do not affect + /// [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]. /// /// Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support - /// automatic rotation. For other keys, this field must be omitted. + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] + /// support automatic rotation. For other keys, this field must be omitted. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -601,15 +625,18 @@ public sealed partial class CryptoKey : pb::IMessage /// Field number for the "rotation_period" field. public const int RotationPeriodFieldNumber = 8; /// - /// [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service - /// automatically rotates a key. Must be at least 24 hours and at most - /// 876,000 hours. + /// [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] + /// will be advanced by this period when the service automatically rotates a + /// key. Must be at least 24 hours and at most 876,000 hours. /// - /// If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set. + /// If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is + /// set, + /// [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] + /// must also be set. /// /// Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support - /// automatic rotation. For other keys, this field must be omitted. + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] + /// support automatic rotation. For other keys, this field must be omitted. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -625,10 +652,12 @@ public sealed partial class CryptoKey : pb::IMessage public const int VersionTemplateFieldNumber = 11; private global::Google.Cloud.Kms.V1.CryptoKeyVersionTemplate versionTemplate_; /// - /// A template describing settings for new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. - /// The properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances created by either - /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or - /// auto-rotation are controlled by this template. + /// A template describing settings for new + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The + /// properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// instances created by either + /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + /// or auto-rotation are controlled by this template. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -676,8 +705,8 @@ public sealed partial class CryptoKey : pb::IMessage /// Immutable. The period of time that versions of this key spend in the /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state before transitioning to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. If not - /// specified at creation time, the default duration is 24 hours. + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. + /// If not specified at creation time, the default duration is 24 hours. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -688,6 +717,30 @@ public sealed partial class CryptoKey : pb::IMessage } } + /// Field number for the "crypto_key_backend" field. + public const int CryptoKeyBackendFieldNumber = 15; + private string cryptoKeyBackend_ = ""; + /// + /// Immutable. The resource name of the backend environment where the key + /// material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] + /// associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and + /// where all related cryptographic operations are performed. Only applicable + /// if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a + /// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of + /// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the + /// resource name in the format `projects/*/locations/*/ekmConnections/*`. + /// Note, this list is non-exhaustive and may apply to additional + /// [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CryptoKeyBackend { + get { return cryptoKeyBackend_; } + set { + cryptoKeyBackend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + private object rotationSchedule_; /// Enum of possible cases for the "rotation_schedule" oneof. public enum RotationScheduleOneofCase { @@ -733,6 +786,7 @@ public enum RotationScheduleOneofCase { if (!Labels.Equals(other.Labels)) return false; if (ImportOnly != other.ImportOnly) return false; if (!object.Equals(DestroyScheduledDuration, other.DestroyScheduledDuration)) return false; + if (CryptoKeyBackend != other.CryptoKeyBackend) return false; if (RotationScheduleCase != other.RotationScheduleCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -751,6 +805,7 @@ public enum RotationScheduleOneofCase { hash ^= Labels.GetHashCode(); if (ImportOnly != false) hash ^= ImportOnly.GetHashCode(); if (destroyScheduledDuration_ != null) hash ^= DestroyScheduledDuration.GetHashCode(); + if (CryptoKeyBackend.Length != 0) hash ^= CryptoKeyBackend.GetHashCode(); hash ^= (int) rotationScheduleCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -807,6 +862,10 @@ public enum RotationScheduleOneofCase { output.WriteRawTag(114); output.WriteMessage(DestroyScheduledDuration); } + if (CryptoKeyBackend.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CryptoKeyBackend); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -854,6 +913,10 @@ public enum RotationScheduleOneofCase { output.WriteRawTag(114); output.WriteMessage(DestroyScheduledDuration); } + if (CryptoKeyBackend.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CryptoKeyBackend); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -892,6 +955,9 @@ public enum RotationScheduleOneofCase { if (destroyScheduledDuration_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DestroyScheduledDuration); } + if (CryptoKeyBackend.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CryptoKeyBackend); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -944,6 +1010,9 @@ public enum RotationScheduleOneofCase { } DestroyScheduledDuration.MergeFrom(other.DestroyScheduledDuration); } + if (other.CryptoKeyBackend.Length != 0) { + CryptoKeyBackend = other.CryptoKeyBackend; + } switch (other.RotationScheduleCase) { case RotationScheduleOneofCase.RotationPeriod: if (RotationPeriod == null) { @@ -1028,6 +1097,10 @@ public enum RotationScheduleOneofCase { input.ReadMessage(DestroyScheduledDuration); break; } + case 122: { + CryptoKeyBackend = input.ReadString(); + break; + } } } #endif @@ -1103,6 +1176,10 @@ public enum RotationScheduleOneofCase { input.ReadMessage(DestroyScheduledDuration); break; } + case 122: { + CryptoKeyBackend = input.ReadString(); + break; + } } } } @@ -1114,10 +1191,11 @@ public enum RotationScheduleOneofCase { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] describes the cryptographic capabilities of a - /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used for the operations allowed by - /// its purpose. For more information, see - /// [Key purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes). + /// [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] + /// describes the cryptographic capabilities of a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used + /// for the operations allowed by its purpose. For more information, see [Key + /// purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes). /// public enum CryptoKeyPurpose { /// @@ -1125,26 +1203,30 @@ public enum CryptoKeyPurpose { /// [pbr::OriginalName("CRYPTO_KEY_PURPOSE_UNSPECIFIED")] Unspecified = 0, /// - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + /// with [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. /// [pbr::OriginalName("ENCRYPT_DECRYPT")] EncryptDecrypt = 1, /// - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - /// [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] and + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + /// with + /// [AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign] + /// and /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// [pbr::OriginalName("ASYMMETRIC_SIGN")] AsymmetricSign = 5, /// - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - /// [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] and + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + /// with + /// [AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt] + /// and /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// [pbr::OriginalName("ASYMMETRIC_DECRYPT")] AsymmetricDecrypt = 6, /// - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used with - /// [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + /// with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. /// [pbr::OriginalName("MAC")] Mac = 9, } @@ -1155,10 +1237,12 @@ public enum CryptoKeyPurpose { } /// - /// A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] specifies the properties to use when creating - /// a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually with - /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or - /// automatically as a result of auto-rotation. + /// A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] + /// specifies the properties to use when creating a new + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually + /// with + /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + /// or automatically as a result of auto-rotation. /// public sealed partial class CryptoKeyVersionTemplate : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -1209,8 +1293,10 @@ public sealed partial class CryptoKeyVersionTemplate : pb::IMessage - /// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on - /// this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + /// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this + /// template. Immutable. Defaults to + /// [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1225,11 +1311,15 @@ public sealed partial class CryptoKeyVersionTemplate : pb::IMessage - /// Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use - /// when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. + /// Required. + /// [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + /// to use when creating a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this + /// template. /// /// For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both - /// this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is + /// this field is omitted and + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1439,6 +1529,7 @@ public sealed partial class KeyOperationAttestation : pb::IMessageField number for the "cert_chains" field. + public const int CertChainsFieldNumber = 6; + private global::Google.Cloud.Kms.V1.KeyOperationAttestation.Types.CertificateChains certChains_; + /// + /// Output only. The certificate chains needed to validate the attestation + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Kms.V1.KeyOperationAttestation.Types.CertificateChains CertChains { + get { return certChains_; } + set { + certChains_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1496,6 +1602,7 @@ public sealed partial class KeyOperationAttestation : pb::IMessage + /// Certificate chains needed to verify the attestation. + /// Certificates in chains are PEM-encoded and are ordered based on + /// https://tools.ietf.org/html/rfc5246#section-7.4.2. + /// + public sealed partial class CertificateChains : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CertificateChains()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Kms.V1.KeyOperationAttestation.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CertificateChains() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CertificateChains(CertificateChains other) : this() { + caviumCerts_ = other.caviumCerts_.Clone(); + googleCardCerts_ = other.googleCardCerts_.Clone(); + googlePartitionCerts_ = other.googlePartitionCerts_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CertificateChains Clone() { + return new CertificateChains(this); + } + + /// Field number for the "cavium_certs" field. + public const int CaviumCertsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_caviumCerts_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField caviumCerts_ = new pbc::RepeatedField(); + /// + /// Cavium certificate chain corresponding to the attestation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CaviumCerts { + get { return caviumCerts_; } + } + + /// Field number for the "google_card_certs" field. + public const int GoogleCardCertsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_googleCardCerts_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField googleCardCerts_ = new pbc::RepeatedField(); + /// + /// Google card certificate chain corresponding to the attestation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GoogleCardCerts { + get { return googleCardCerts_; } + } + + /// Field number for the "google_partition_certs" field. + public const int GooglePartitionCertsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_googlePartitionCerts_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField googlePartitionCerts_ = new pbc::RepeatedField(); + /// + /// Google partition certificate chain corresponding to the attestation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GooglePartitionCerts { + get { return googlePartitionCerts_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CertificateChains); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CertificateChains other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!caviumCerts_.Equals(other.caviumCerts_)) return false; + if(!googleCardCerts_.Equals(other.googleCardCerts_)) return false; + if(!googlePartitionCerts_.Equals(other.googlePartitionCerts_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= caviumCerts_.GetHashCode(); + hash ^= googleCardCerts_.GetHashCode(); + hash ^= googlePartitionCerts_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + caviumCerts_.WriteTo(output, _repeated_caviumCerts_codec); + googleCardCerts_.WriteTo(output, _repeated_googleCardCerts_codec); + googlePartitionCerts_.WriteTo(output, _repeated_googlePartitionCerts_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + caviumCerts_.WriteTo(ref output, _repeated_caviumCerts_codec); + googleCardCerts_.WriteTo(ref output, _repeated_googleCardCerts_codec); + googlePartitionCerts_.WriteTo(ref output, _repeated_googlePartitionCerts_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += caviumCerts_.CalculateSize(_repeated_caviumCerts_codec); + size += googleCardCerts_.CalculateSize(_repeated_googleCardCerts_codec); + size += googlePartitionCerts_.CalculateSize(_repeated_googlePartitionCerts_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CertificateChains other) { + if (other == null) { + return; + } + caviumCerts_.Add(other.caviumCerts_); + googleCardCerts_.Add(other.googleCardCerts_); + googlePartitionCerts_.Add(other.googlePartitionCerts_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + caviumCerts_.AddEntriesFrom(input, _repeated_caviumCerts_codec); + break; + } + case 18: { + googleCardCerts_.AddEntriesFrom(input, _repeated_googleCardCerts_codec); + break; + } + case 26: { + googlePartitionCerts_.AddEntriesFrom(input, _repeated_googlePartitionCerts_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + caviumCerts_.AddEntriesFrom(ref input, _repeated_caviumCerts_codec); + break; + } + case 18: { + googleCardCerts_.AddEntriesFrom(ref input, _repeated_googleCardCerts_codec); + break; + } + case 26: { + googlePartitionCerts_.AddEntriesFrom(ref input, _repeated_googlePartitionCerts_codec); + break; + } + } + } + } + #endif + + } + } #endregion } /// - /// A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an individual cryptographic key, and the - /// associated key material. + /// A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an + /// individual cryptographic key, and the associated key material. /// - /// An [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] version can be - /// used for cryptographic operations. + /// An + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// version can be used for cryptographic operations. /// /// For security reasons, the raw cryptographic key material represented by a - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed or exported. It can only be used to - /// encrypt, decrypt, or sign data when an authorized user or application invokes - /// Cloud KMS. + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed + /// or exported. It can only be used to encrypt, decrypt, or sign data when an + /// authorized user or application invokes Cloud KMS. /// public sealed partial class CryptoKeyVersion : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -1737,7 +2121,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format + /// Output only. The resource name for this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1753,7 +2138,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int StateFieldNumber = 3; private global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionState state_ = global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionState.Unspecified; /// - /// The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// The current state of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1768,8 +2154,9 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int ProtectionLevelFieldNumber = 7; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are - /// performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] + /// describing how crypto operations are performed with this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1784,8 +2171,10 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int AlgorithmFieldNumber = 10; private global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm algorithm_ = global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.Unspecified; /// - /// Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports. + /// Output only. The + /// [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + /// that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// supports. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1803,7 +2192,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage /// Output only. Statement that was generated and signed by the HSM at key /// creation time. Use this statement to verify attributes of the key as stored /// on the HSM, independently of Google. Only provided for key versions with - /// [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] + /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1818,7 +2208,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int CreateTimeFieldNumber = 4; private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; /// - /// Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. + /// Output only. The time at which this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1833,7 +2224,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int GenerateTimeFieldNumber = 11; private global::Google.Protobuf.WellKnownTypes.Timestamp generateTime_; /// - /// Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was + /// Output only. The time this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was /// generated. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1849,8 +2241,10 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int DestroyTimeFieldNumber = 5; private global::Google.Protobuf.WellKnownTypes.Timestamp destroyTime_; /// - /// Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled - /// for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + /// Output only. The time this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is + /// scheduled for destruction. Only present if + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] is /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1867,7 +2261,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage private global::Google.Protobuf.WellKnownTypes.Timestamp destroyEventTime_; /// /// Output only. The time this CryptoKeyVersion's key material was - /// destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + /// destroyed. Only present if + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] is /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1883,9 +2278,10 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int ImportJobFieldNumber = 14; private string importJob_ = ""; /// - /// Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was - /// imported. + /// Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] + /// used in the most recent import of this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if + /// the underlying key material was imported. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1900,8 +2296,9 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int ImportTimeFieldNumber = 15; private global::Google.Protobuf.WellKnownTypes.Timestamp importTime_; /// - /// Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material - /// was most recently imported. + /// Output only. The time at which this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was + /// most recently imported. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1916,8 +2313,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int ImportFailureReasonFieldNumber = 16; private string importFailureReason_ = ""; /// - /// Output only. The root cause of the most recent import failure. Only present if - /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + /// Output only. The root cause of the most recent import failure. Only present + /// if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is /// [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1934,8 +2331,11 @@ public sealed partial class CryptoKeyVersion : pb::IMessage private global::Google.Cloud.Kms.V1.ExternalProtectionLevelOptions externalProtectionLevelOptions_; /// /// ExternalProtectionLevelOptions stores a group of additional fields for - /// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the - /// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level. + /// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that + /// are specific to the + /// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level + /// and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] + /// protection levels. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1950,8 +2350,8 @@ public sealed partial class CryptoKeyVersion : pb::IMessage public const int ReimportEligibleFieldNumber = 18; private bool reimportEligible_; /// - /// Output only. Whether or not this key version is eligible for reimport, by being - /// specified as a target in + /// Output only. Whether or not this key version is eligible for reimport, by + /// being specified as a target in /// [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2475,15 +2875,18 @@ public sealed partial class CryptoKeyVersion : pb::IMessage [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what + /// The algorithm of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what /// parameters must be used for each cryptographic operation. /// /// The /// [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION] - /// algorithm is usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// algorithm is usable with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// - /// Algorithms beginning with "RSA_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Algorithms beginning with "RSA_SIGN_" are usable with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. /// /// The fields in the name after "RSA_SIGN_" correspond to the following @@ -2501,13 +2904,15 @@ public static partial class Types { /// The fields in the name after "RSA_DECRYPT_" correspond to the following /// parameters: padding algorithm, modulus bit length, and digest algorithm. /// - /// Algorithms beginning with "EC_SIGN_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Algorithms beginning with "EC_SIGN_" are usable with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. /// /// The fields in the name after "EC_SIGN_" correspond to the following /// parameters: elliptic curve, digest algorithm. /// - /// Algorithms beginning with "HMAC_" are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Algorithms beginning with "HMAC_" are usable with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC]. /// /// The suffix following "HMAC_" corresponds to the hash algorithm being used @@ -2621,7 +3026,8 @@ public enum CryptoKeyVersionAlgorithm { } /// - /// The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating if it can be used. + /// The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], + /// indicating if it can be used. /// public enum CryptoKeyVersionState { /// @@ -2631,7 +3037,9 @@ public enum CryptoKeyVersionState { /// /// This version is still being generated. It may not be used, enabled, /// disabled, or destroyed yet. Cloud KMS will automatically mark this - /// version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready. + /// version + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// as soon as the version is ready. /// [pbr::OriginalName("PENDING_GENERATION")] PendingGeneration = 5, /// @@ -2640,14 +3048,18 @@ public enum CryptoKeyVersionState { [pbr::OriginalName("ENABLED")] Enabled = 1, /// /// This version may not be used, but the key material is still available, - /// and the version can be placed back into the [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] state. + /// and the version can be placed back into the + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// state. /// [pbr::OriginalName("DISABLED")] Disabled = 2, /// /// This version is destroyed, and the key material is no longer stored. - /// This version may only become [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] again if this version is - /// [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible] and the original - /// key material is reimported with a call to + /// This version may only become + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// again if this version is + /// [reimport_eligible][google.cloud.kms.v1.CryptoKeyVersion.reimport_eligible] + /// and the original key material is reimported with a call to /// [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. /// [pbr::OriginalName("DESTROYED")] Destroyed = 3, @@ -2655,13 +3067,17 @@ public enum CryptoKeyVersionState { /// This version is scheduled for destruction, and will be destroyed soon. /// Call /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] - /// to put it back into the [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] state. + /// to put it back into the + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// state. /// [pbr::OriginalName("DESTROY_SCHEDULED")] DestroyScheduled = 4, /// /// This version is still being imported. It may not be used, enabled, /// disabled, or destroyed yet. Cloud KMS will automatically mark this - /// version [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] as soon as the version is ready. + /// version + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// as soon as the version is ready. /// [pbr::OriginalName("PENDING_IMPORT")] PendingImport = 6, /// @@ -2674,19 +3090,24 @@ public enum CryptoKeyVersionState { } /// - /// A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. Controls the level of detail returned - /// for [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in - /// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] and + /// A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. + /// Controls the level of detail returned for + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in + /// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] + /// and /// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. /// public enum CryptoKeyVersionView { /// - /// Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include - /// the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field. + /// Default view for each + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not + /// include the + /// [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field. /// [pbr::OriginalName("CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED")] Unspecified = 0, /// - /// Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the + /// Provides all fields in each + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the /// [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation]. /// [pbr::OriginalName("FULL")] Full = 1, @@ -2698,7 +3119,8 @@ public enum CryptoKeyVersionView { } /// - /// The public key for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via + /// The public key for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// public sealed partial class PublicKey : pb::IMessage @@ -2772,8 +3194,9 @@ public sealed partial class PublicKey : pb::IMessage public const int AlgorithmFieldNumber = 2; private global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm algorithm_ = global::Google.Cloud.Kms.V1.CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm.Unspecified; /// - /// The [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] associated - /// with this key. + /// The + /// [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + /// associated with this key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2790,12 +3213,13 @@ public sealed partial class PublicKey : pb::IMessage private long? pemCrc32C_; /// /// Integrity verification field. A CRC32C checksum of the returned - /// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed - /// by computing the CRC32C checksum of [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and - /// comparing your results to this field. Discard the response in case of - /// non-matching checksum values, and perform a limited number of retries. A - /// persistent mismatch may indicate an issue in your computation of the CRC32C - /// checksum. + /// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of + /// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by + /// computing the CRC32C checksum of + /// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your + /// results to this field. Discard the response in case of non-matching + /// checksum values, and perform a limited number of retries. A persistent + /// mismatch may indicate an issue in your computation of the CRC32C checksum. /// Note: This field is defined as int64 for reasons of compatibility across /// different languages. However, it is a non-negative integer, which will /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages @@ -2817,7 +3241,8 @@ public sealed partial class PublicKey : pb::IMessage public const int NameFieldNumber = 4; private string name_ = ""; /// - /// The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. + /// The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. /// Provided here for verification. /// /// NOTE: This field is in Beta. @@ -2835,7 +3260,8 @@ public sealed partial class PublicKey : pb::IMessage public const int ProtectionLevelFieldNumber = 5; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3082,30 +3508,36 @@ public sealed partial class PublicKey : pb::IMessage } /// - /// An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create [CryptoKeys][google.cloud.kms.v1.CryptoKey] and - /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing key material, - /// generated outside of Cloud KMS. + /// An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing + /// key material, generated outside of Cloud KMS. /// - /// When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will generate a "wrapping key", - /// which is a public/private key pair. You use the wrapping key to encrypt (also - /// known as wrap) the pre-existing key material to protect it during the import - /// process. The nature of the wrapping key depends on the choice of - /// [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the wrapping key generation - /// is complete, the [state][google.cloud.kms.v1.ImportJob.state] will be set to - /// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the [public_key][google.cloud.kms.v1.ImportJob.public_key] - /// can be fetched. The fetched public key can then be used to wrap your - /// pre-existing key material. + /// When an [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will + /// generate a "wrapping key", which is a public/private key pair. You use the + /// wrapping key to encrypt (also known as wrap) the pre-existing key material to + /// protect it during the import process. The nature of the wrapping key depends + /// on the choice of + /// [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the + /// wrapping key generation is complete, the + /// [state][google.cloud.kms.v1.ImportJob.state] will be set to + /// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the + /// [public_key][google.cloud.kms.v1.ImportJob.public_key] can be fetched. The + /// fetched public key can then be used to wrap your pre-existing key material. /// /// Once the key material is wrapped, it can be imported into a new - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling /// [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. - /// Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be imported with a single - /// [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS uses the private key portion of the wrapping key to - /// unwrap the key material. Only Cloud KMS has access to the private key. + /// Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be + /// imported with a single [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS + /// uses the private key portion of the wrapping key to unwrap the key material. + /// Only Cloud KMS has access to the private key. /// - /// An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is created. Once expired, Cloud KMS - /// will no longer be able to import or unwrap any key material that was wrapped - /// with the [ImportJob][google.cloud.kms.v1.ImportJob]'s public key. + /// An [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is + /// created. Once expired, Cloud KMS will no longer be able to import or unwrap + /// any key material that was wrapped with the + /// [ImportJob][google.cloud.kms.v1.ImportJob]'s public key. /// /// For more information, see /// [Importing a key](https://cloud.google.com/kms/docs/importing-a-key). @@ -3167,7 +3599,8 @@ public sealed partial class ImportJob : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format + /// Output only. The resource name for this + /// [ImportJob][google.cloud.kms.v1.ImportJob] in the format /// `projects/*/locations/*/keyRings/*/importJobs/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3183,7 +3616,8 @@ public sealed partial class ImportJob : pb::IMessage public const int ImportMethodFieldNumber = 2; private global::Google.Cloud.Kms.V1.ImportJob.Types.ImportMethod importMethod_ = global::Google.Cloud.Kms.V1.ImportJob.Types.ImportMethod.Unspecified; /// - /// Required. Immutable. The wrapping method to be used for incoming key material. + /// Required. Immutable. The wrapping method to be used for incoming key + /// material. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3198,10 +3632,12 @@ public sealed partial class ImportJob : pb::IMessage public const int ProtectionLevelFieldNumber = 9; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the - /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the - /// [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you - /// attempt to import into. + /// Required. Immutable. The protection level of the + /// [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] + /// of the [version_template][google.cloud.kms.v1.CryptoKey.version_template] + /// on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import + /// into. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3216,7 +3652,8 @@ public sealed partial class ImportJob : pb::IMessage public const int CreateTimeFieldNumber = 3; private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; /// - /// Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created. + /// Output only. The time at which this + /// [ImportJob][google.cloud.kms.v1.ImportJob] was created. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3231,7 +3668,8 @@ public sealed partial class ImportJob : pb::IMessage public const int GenerateTimeFieldNumber = 4; private global::Google.Protobuf.WellKnownTypes.Timestamp generateTime_; /// - /// Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated. + /// Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key + /// material was generated. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3246,8 +3684,9 @@ public sealed partial class ImportJob : pb::IMessage public const int ExpireTimeFieldNumber = 5; private global::Google.Protobuf.WellKnownTypes.Timestamp expireTime_; /// - /// Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for - /// expiration and can no longer be used to import key material. + /// Output only. The time at which this + /// [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and + /// can no longer be used to import key material. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3262,8 +3701,9 @@ public sealed partial class ImportJob : pb::IMessage public const int ExpireEventTimeFieldNumber = 10; private global::Google.Protobuf.WellKnownTypes.Timestamp expireEventTime_; /// - /// Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if - /// [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. + /// Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] + /// expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is + /// [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3278,8 +3718,8 @@ public sealed partial class ImportJob : pb::IMessage public const int StateFieldNumber = 6; private global::Google.Cloud.Kms.V1.ImportJob.Types.ImportJobState state_ = global::Google.Cloud.Kms.V1.ImportJob.Types.ImportJobState.Unspecified; /// - /// Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can - /// be used. + /// Output only. The current state of the + /// [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3314,8 +3754,9 @@ public sealed partial class ImportJob : pb::IMessage /// Output only. Statement that was generated and signed by the key creator /// (for example, an HSM) at key creation time. Use this statement to verify /// attributes of the key as stored on the HSM, independently of Google. - /// Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection - /// level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. + /// Only present if the chosen + /// [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a + /// protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3733,7 +4174,8 @@ public sealed partial class ImportJob : pb::IMessage [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the key wrapping method chosen for this + /// [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the + /// key wrapping method chosen for this /// [ImportJob][google.cloud.kms.v1.ImportJob]. /// public enum ImportMethod { @@ -3762,7 +4204,8 @@ public enum ImportMethod { } /// - /// The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used. + /// The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if + /// it can be used. /// public enum ImportJobState { /// @@ -3772,12 +4215,14 @@ public enum ImportJobState { /// /// The wrapping key for this job is still being generated. It may not be /// used. Cloud KMS will automatically mark this job as - /// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as the wrapping key is generated. + /// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] as soon as + /// the wrapping key is generated. /// [pbr::OriginalName("PENDING_GENERATION")] PendingGeneration = 1, /// /// This job may be used in - /// [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey] and + /// [CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey] + /// and /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] /// requests. /// @@ -3790,7 +4235,8 @@ public enum ImportJobState { /// /// The public key component of the wrapping key. For details of the type of - /// key this public key corresponds to, see the [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod]. + /// key this public key corresponds to, see the + /// [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod]. /// public sealed partial class WrappingPublicKey : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3995,8 +4441,11 @@ public sealed partial class WrappingPublicKey : pb::IMessage /// /// ExternalProtectionLevelOptions stores a group of additional fields for - /// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the - /// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level. + /// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that + /// are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] + /// protection level and + /// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection + /// levels. /// public sealed partial class ExternalProtectionLevelOptions : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -4033,6 +4482,7 @@ public sealed partial class ExternalProtectionLevelOptions : pb::IMessage - /// The URI for an external resource that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents. + /// The URI for an external resource that this + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4057,6 +4508,24 @@ public sealed partial class ExternalProtectionLevelOptions : pb::IMessageField number for the "ekm_connection_key_path" field. + public const int EkmConnectionKeyPathFieldNumber = 2; + private string ekmConnectionKeyPath_ = ""; + /// + /// The path to the external key material on the EKM when using + /// [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set + /// this field instead of external_key_uri when using an + /// [EkmConnection][google.cloud.kms.v1.EkmConnection]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EkmConnectionKeyPath { + get { return ekmConnectionKeyPath_; } + set { + ekmConnectionKeyPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4073,6 +4542,7 @@ public sealed partial class ExternalProtectionLevelOptions : pb::IMessage string.IsNullOrEmpty(Name) ? null : gckv::CryptoKeyName.Parse(Name, allowUnparsed: true); set => Name = value?.ToString() ?? ""; } + + /// + /// -typed view over the resource name property. + /// + public gax::IResourceName CryptoKeyBackendAsResourceName + { + get => string.IsNullOrEmpty(CryptoKeyBackend) ? null : gax::UnparsedResourceName.Parse(CryptoKeyBackend); + set => CryptoKeyBackend = value?.ToString() ?? ""; + } } public partial class CryptoKeyVersion diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Service.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Service.g.cs index 4eb2b95d89fe..ff7375919d1e 100644 --- a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Service.g.cs +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/Service.g.cs @@ -350,7 +350,8 @@ public static partial class ServiceReflection { } #region Messages /// - /// Request message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. + /// Request message for + /// [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. /// public sealed partial class ListKeyRingsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -405,7 +406,8 @@ public sealed partial class ListKeyRingsRequest : pb::IMessage /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -420,10 +422,13 @@ public sealed partial class ListKeyRingsRequest : pb::IMessage - /// Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the - /// response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by - /// including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent - /// request. If unspecified, the server will pick an appropriate default. + /// Optional. Optional limit on the number of + /// [KeyRings][google.cloud.kms.v1.KeyRing] to include in the response. Further + /// [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by + /// including the + /// [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] + /// in a subsequent request. If unspecified, the server will pick an + /// appropriate default. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -716,7 +721,8 @@ public sealed partial class ListKeyRingsRequest : pb::IMessage - /// Request message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. + /// Request message for + /// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. /// public sealed partial class ListCryptoKeysRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -771,8 +777,8 @@ public sealed partial class ListCryptoKeysRequest : pb::IMessage - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -787,10 +793,13 @@ public sealed partial class ListCryptoKeysRequest : pb::IMessage - /// Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the - /// response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by - /// including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent - /// request. If unspecified, the server will pick an appropriate default. + /// Optional. Optional limit on the number of + /// [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response. + /// Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be + /// obtained by including the + /// [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] + /// in a subsequent request. If unspecified, the server will pick an + /// appropriate default. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1122,7 +1131,8 @@ public sealed partial class ListCryptoKeysRequest : pb::IMessage - /// Request message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. + /// Request message for + /// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. /// public sealed partial class ListCryptoKeyVersionsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -1177,7 +1187,8 @@ public sealed partial class ListCryptoKeyVersionsRequest : pb::IMessage - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1193,11 +1204,13 @@ public sealed partial class ListCryptoKeyVersionsRequest : pb::IMessage - /// Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to - /// include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can - /// subsequently be obtained by including the - /// [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request. - /// If unspecified, the server will pick an appropriate default. + /// Optional. Optional limit on the number of + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to include in the + /// response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] + /// can subsequently be obtained by including the + /// [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] + /// in a subsequent request. If unspecified, the server will pick an + /// appropriate default. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1529,7 +1542,8 @@ public sealed partial class ListCryptoKeyVersionsRequest : pb::IMessage - /// Request message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. + /// Request message for + /// [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. /// public sealed partial class ListImportJobsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -1583,8 +1597,8 @@ public sealed partial class ListImportJobsRequest : pb::IMessage - /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format - /// `projects/*/locations/*/keyRings/*`. + /// Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] + /// to list, in the format `projects/*/locations/*/keyRings/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1599,10 +1613,13 @@ public sealed partial class ListImportJobsRequest : pb::IMessage - /// Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the - /// response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by - /// including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent - /// request. If unspecified, the server will pick an appropriate default. + /// Optional. Optional limit on the number of + /// [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the response. + /// Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be + /// obtained by including the + /// [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] + /// in a subsequent request. If unspecified, the server will pick an + /// appropriate default. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1895,7 +1912,8 @@ public sealed partial class ListImportJobsRequest : pb::IMessage - /// Response message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. + /// Response message for + /// [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. /// public sealed partial class ListKeyRingsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -1962,7 +1980,8 @@ public sealed partial class ListKeyRingsResponse : pb::IMessage /// A token to retrieve next page of results. Pass this value in - /// [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results. + /// [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] + /// to retrieve the next page of results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1977,7 +1996,8 @@ public sealed partial class ListKeyRingsResponse : pb::IMessage - /// The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query. + /// The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched + /// the query. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2160,7 +2180,8 @@ public sealed partial class ListKeyRingsResponse : pb::IMessage - /// Response message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. + /// Response message for + /// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. /// public sealed partial class ListCryptoKeysResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -2227,7 +2248,8 @@ public sealed partial class ListCryptoKeysResponse : pb::IMessage /// A token to retrieve next page of results. Pass this value in - /// [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] to retrieve the next page of results. + /// [ListCryptoKeysRequest.page_token][google.cloud.kms.v1.ListCryptoKeysRequest.page_token] + /// to retrieve the next page of results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2242,7 +2264,8 @@ public sealed partial class ListCryptoKeysResponse : pb::IMessage - /// The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the query. + /// The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that + /// matched the query. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2425,7 +2448,8 @@ public sealed partial class ListCryptoKeysResponse : pb::IMessage - /// Response message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. + /// Response message for + /// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. /// public sealed partial class ListCryptoKeyVersionsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -2492,8 +2516,8 @@ public sealed partial class ListCryptoKeyVersionsResponse : pb::IMessage /// A token to retrieve next page of results. Pass this value in - /// [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of - /// results. + /// [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] + /// to retrieve the next page of results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2508,7 +2532,8 @@ public sealed partial class ListCryptoKeyVersionsResponse : pb::IMessage - /// The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the + /// The total number of + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the /// query. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2692,7 +2717,8 @@ public sealed partial class ListCryptoKeyVersionsResponse : pb::IMessage - /// Response message for [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. + /// Response message for + /// [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. /// public sealed partial class ListImportJobsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -2759,7 +2785,8 @@ public sealed partial class ListImportJobsResponse : pb::IMessage /// A token to retrieve next page of results. Pass this value in - /// [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] to retrieve the next page of results. + /// [ListImportJobsRequest.page_token][google.cloud.kms.v1.ListImportJobsRequest.page_token] + /// to retrieve the next page of results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2774,7 +2801,8 @@ public sealed partial class ListImportJobsResponse : pb::IMessage - /// The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the query. + /// The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that + /// matched the query. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2957,7 +2985,8 @@ public sealed partial class ListImportJobsResponse : pb::IMessage - /// Request message for [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing]. + /// Request message for + /// [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing]. /// public sealed partial class GetKeyRingRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3007,7 +3036,8 @@ public sealed partial class GetKeyRingRequest : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] to get. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3152,7 +3182,8 @@ public sealed partial class GetKeyRingRequest : pb::IMessage } /// - /// Request message for [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey]. + /// Request message for + /// [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey]. /// public sealed partial class GetCryptoKeyRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3202,7 +3233,8 @@ public sealed partial class GetCryptoKeyRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3347,7 +3379,8 @@ public sealed partial class GetCryptoKeyRequest : pb::IMessage - /// Request message for [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion]. + /// Request message for + /// [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion]. /// public sealed partial class GetCryptoKeyVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3397,7 +3430,8 @@ public sealed partial class GetCryptoKeyVersionRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3542,7 +3576,8 @@ public sealed partial class GetCryptoKeyVersionRequest : pb::IMessage - /// Request message for [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// Request message for + /// [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// public sealed partial class GetPublicKeyRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3592,8 +3627,8 @@ public sealed partial class GetPublicKeyRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to - /// get. + /// Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3738,7 +3773,8 @@ public sealed partial class GetPublicKeyRequest : pb::IMessage - /// Request message for [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]. + /// Request message for + /// [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]. /// public sealed partial class GetImportJobRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3788,7 +3824,8 @@ public sealed partial class GetImportJobRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] to get. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -3933,7 +3970,8 @@ public sealed partial class GetImportJobRequest : pb::IMessage - /// Request message for [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing]. + /// Request message for + /// [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing]. /// public sealed partial class CreateKeyRingRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -3986,7 +4024,8 @@ public sealed partial class CreateKeyRingRequest : pb::IMessage /// Required. The resource name of the location associated with the - /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. + /// [KeyRings][google.cloud.kms.v1.KeyRing], in the format + /// `projects/*/locations/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4017,7 +4056,8 @@ public sealed partial class CreateKeyRingRequest : pb::IMessage - /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + /// Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field + /// values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4219,7 +4259,8 @@ public sealed partial class CreateKeyRingRequest : pb::IMessage - /// Request message for [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]. + /// Request message for + /// [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]. /// public sealed partial class CreateCryptoKeyRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -4272,8 +4313,8 @@ public sealed partial class CreateCryptoKeyRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the - /// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing + /// associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4304,7 +4345,8 @@ public sealed partial class CreateCryptoKeyRequest : pb::IMessage - /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + /// Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field + /// values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4319,9 +4361,12 @@ public sealed partial class CreateCryptoKeyRequest : pb::IMessage - /// If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any - /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call - /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or + /// If set to true, the request will create a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] without any + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must + /// manually call + /// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] + /// or /// [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion] /// before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// @@ -4549,7 +4594,8 @@ public sealed partial class CreateCryptoKeyRequest : pb::IMessage - /// Request message for [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]. + /// Request message for + /// [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]. /// public sealed partial class CreateCryptoKeyVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -4600,8 +4646,9 @@ public sealed partial class CreateCryptoKeyVersionRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with - /// the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the + /// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4616,7 +4663,8 @@ public sealed partial class CreateCryptoKeyVersionRequest : pb::IMessage - /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + /// Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// initial field values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4794,7 +4842,8 @@ public sealed partial class CreateCryptoKeyVersionRequest : pb::IMessage - /// Request message for [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. + /// Request message for + /// [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. /// public sealed partial class ImportCryptoKeyVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -4853,7 +4902,8 @@ public sealed partial class ImportCryptoKeyVersionRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into. + /// Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into. /// /// The create permission is only required on this key when creating a new /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. @@ -4871,20 +4921,25 @@ public sealed partial class ImportCryptoKeyVersionRequest : pb::IMessage - /// Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of an existing - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to target for an import operation. - /// If this field is not present, a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the + /// Optional. The optional [name][google.cloud.kms.v1.CryptoKeyVersion.name] of + /// an existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to + /// target for an import operation. If this field is not present, a new + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] containing the /// supplied key material is created. /// /// If this field is present, the supplied key material is imported into - /// the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To import into an existing - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of - /// [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], have been previously created via - /// [ImportCryptoKeyVersion][], and be in - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] or + /// the existing [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. To + /// import into an existing + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] must be a child of + /// [ImportCryptoKeyVersionRequest.parent][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent], + /// have been previously created via [ImportCryptoKeyVersion][], and be in + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED] + /// or /// [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED] /// state. The key material and algorithm must match the previous - /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] exactly if the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] has ever contained /// key material. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4900,10 +4955,11 @@ public sealed partial class ImportCryptoKeyVersionRequest : pb::IMessage - /// Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of - /// the key being imported. This does not need to match the - /// [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this - /// version imports into. + /// Required. The + /// [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] + /// of the key being imported. This does not need to match the + /// [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4918,8 +4974,9 @@ public sealed partial class ImportCryptoKeyVersionRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to - /// wrap this key material. + /// Required. The [name][google.cloud.kms.v1.ImportJob.name] of the + /// [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key + /// material. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4941,8 +4998,9 @@ public sealed partial class ImportCryptoKeyVersionRequest : pb::IMessage /// <li>An ephemeral AES-256 wrapping key wrapped with the - /// [public_key][google.cloud.kms.v1.ImportJob.public_key] using RSAES-OAEP with SHA-1, - /// MGF1 with SHA-1, and an empty label. + /// [public_key][google.cloud.kms.v1.ImportJob.public_key] using + /// RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an + /// empty label. /// </li> /// <li>The key to be imported, wrapped with the ephemeral AES-256 key /// using AES-KWP (RFC 5649). @@ -5222,7 +5280,8 @@ public enum WrappedKeyMaterialOneofCase { } /// - /// Request message for [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob]. + /// Request message for + /// [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob]. /// public sealed partial class CreateImportJobRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -5274,7 +5333,8 @@ public sealed partial class CreateImportJobRequest : pb::IMessage - /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the + /// Required. The [name][google.cloud.kms.v1.KeyRing.name] of the + /// [KeyRing][google.cloud.kms.v1.KeyRing] associated with the /// [ImportJobs][google.cloud.kms.v1.ImportJob]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5306,7 +5366,8 @@ public sealed partial class CreateImportJobRequest : pb::IMessage - /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. + /// Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field + /// values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -5508,7 +5569,8 @@ public sealed partial class CreateImportJobRequest : pb::IMessage - /// Request message for [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey]. + /// Request message for + /// [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey]. /// public sealed partial class UpdateCryptoKeyRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -5761,7 +5823,8 @@ public sealed partial class UpdateCryptoKeyRequest : pb::IMessage - /// Request message for [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion]. + /// Request message for + /// [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion]. /// public sealed partial class UpdateCryptoKeyVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -5812,7 +5875,8 @@ public sealed partial class UpdateCryptoKeyVersionRequest : pb::IMessage - /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + /// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// updated values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6014,7 +6078,8 @@ public sealed partial class UpdateCryptoKeyVersionRequest : pb::IMessage - /// Request message for [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. + /// Request message for + /// [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. /// public sealed partial class UpdateCryptoKeyPrimaryVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -6065,7 +6130,8 @@ public sealed partial class UpdateCryptoKeyPrimaryVersionRequest : pb::IMessage< public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6080,7 +6146,8 @@ public sealed partial class UpdateCryptoKeyPrimaryVersionRequest : pb::IMessage< public const int CryptoKeyVersionIdFieldNumber = 2; private string cryptoKeyVersionId_ = ""; /// - /// Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + /// Required. The id of the child + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6249,7 +6316,8 @@ public sealed partial class UpdateCryptoKeyPrimaryVersionRequest : pb::IMessage< } /// - /// Request message for [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]. + /// Request message for + /// [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]. /// public sealed partial class DestroyCryptoKeyVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -6299,7 +6367,8 @@ public sealed partial class DestroyCryptoKeyVersionRequest : pb::IMessage - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6444,7 +6513,8 @@ public sealed partial class DestroyCryptoKeyVersionRequest : pb::IMessage - /// Request message for [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]. + /// Request message for + /// [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]. /// public sealed partial class RestoreCryptoKeyVersionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -6494,7 +6564,8 @@ public sealed partial class RestoreCryptoKeyVersionRequest : pb::IMessage - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6639,7 +6710,8 @@ public sealed partial class RestoreCryptoKeyVersionRequest : pb::IMessage - /// Request message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Request message for + /// [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// public sealed partial class EncryptRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -6693,11 +6765,13 @@ public sealed partial class EncryptRequest : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] or [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] - /// to use for encryption. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] or + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// encryption. /// - /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its - /// [primary version][google.cloud.kms.v1.CryptoKey.primary]. + /// If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server + /// will use its [primary version][google.cloud.kms.v1.CryptoKey.primary]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6715,11 +6789,12 @@ public sealed partial class EncryptRequest : pb::IMessage /// Required. The data to encrypt. Must be no larger than 64KiB. /// /// 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 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] 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 + /// than 8KiB. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6734,15 +6809,17 @@ public sealed partial class EncryptRequest : pb::IMessage public const int AdditionalAuthenticatedDataFieldNumber = 3; private pb::ByteString additionalAuthenticatedData_ = pb::ByteString.Empty; /// - /// Optional. Optional data that, if specified, must also be provided during decryption - /// through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. + /// Optional. Optional data that, if specified, must also be provided during + /// decryption through + /// [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. /// /// 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 AAD 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 than - /// 8KiB. + /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + /// For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the AAD + /// 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 + /// than 8KiB. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6758,19 +6835,25 @@ public sealed partial class EncryptRequest : pb::IMessage private static readonly pb::FieldCodec _single_plaintextCrc32C_codec = pb::FieldCodec.ForStructWrapper(58); private long? plaintextCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) is equal to - /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], and if so, perform a limited number of - /// retries. A persistent mismatch may indicate an issue in your computation of - /// the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]) + /// is equal to + /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6788,19 +6871,24 @@ public sealed partial class EncryptRequest : pb::IMessage private long? additionalAuthenticatedDataCrc32C_; /// /// Optional. An optional CRC32C checksum of the - /// [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. If specified, - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received - /// [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) is equal to - /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], and if so, perform - /// a limited number of retries. A persistent mismatch may indicate an issue in - /// your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]) + /// is equal to + /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7054,7 +7142,8 @@ public sealed partial class EncryptRequest : pb::IMessage } /// - /// Request message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. + /// Request message for + /// [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. /// public sealed partial class DecryptRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -7108,8 +7197,9 @@ public sealed partial class DecryptRequest : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. - /// The server will choose the appropriate version. + /// Required. The resource name of the + /// [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. The + /// server will choose the appropriate version. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7157,19 +7247,25 @@ public sealed partial class DecryptRequest : pb::IMessage private static readonly pb::FieldCodec _single_ciphertextCrc32C_codec = pb::FieldCodec.ForStructWrapper(42); private long? ciphertextCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) is equal to - /// [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], and if so, perform a limited number - /// of retries. A persistent mismatch may indicate an issue in your computation - /// of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([DecryptRequest.ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]) + /// is equal to + /// [DecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.DecryptRequest.ciphertext_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7187,19 +7283,24 @@ public sealed partial class DecryptRequest : pb::IMessage private long? additionalAuthenticatedDataCrc32C_; /// /// Optional. An optional CRC32C checksum of the - /// [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. If specified, - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the received - /// [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) is equal to - /// [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], and if so, perform - /// a limited number of retries. A persistent mismatch may indicate an issue in - /// your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]) + /// is equal to + /// [DecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7453,7 +7554,8 @@ public sealed partial class DecryptRequest : pb::IMessage } /// - /// Request message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. + /// Request message for + /// [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. /// public sealed partial class AsymmetricSignRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -7507,7 +7609,9 @@ public sealed partial class AsymmetricSignRequest : pb::IMessage - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7525,6 +7629,10 @@ public sealed partial class AsymmetricSignRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7540,19 +7648,25 @@ public sealed partial class AsymmetricSignRequest : pb::IMessage _single_digestCrc32C_codec = pb::FieldCodec.ForStructWrapper(34); private long? digestCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) is equal to - /// [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], and if so, perform a limited - /// number of retries. A persistent mismatch may indicate an issue in your - /// computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]) + /// is equal to + /// [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7568,9 +7682,10 @@ public sealed partial class AsymmetricSignRequest : pb::IMessage - /// Optional. This field will only be honored for RAW_PKCS1 keys. - /// The data to sign. A digest is computed over the data that will be signed, - /// PKCS #1 padding is applied to the digest directly and then encrypted. + /// Optional. The data to sign. + /// It can't be supplied if + /// [AsymmetricSignRequest.digest][google.cloud.kms.v1.AsymmetricSignRequest.digest] + /// is supplied. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7586,19 +7701,25 @@ public sealed partial class AsymmetricSignRequest : pb::IMessage _single_dataCrc32C_codec = pb::FieldCodec.ForStructWrapper(58); private long? dataCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) is equal to - /// [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], and if so, perform a limited - /// number of retries. A persistent mismatch may indicate an issue in your - /// computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([AsymmetricSignRequest.data][google.cloud.kms.v1.AsymmetricSignRequest.data]) + /// is equal to + /// [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7861,7 +7982,8 @@ public sealed partial class AsymmetricSignRequest : pb::IMessage - /// Request message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. + /// Request message for + /// [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. /// public sealed partial class AsymmetricDecryptRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -7913,7 +8035,8 @@ public sealed partial class AsymmetricDecryptRequest : pb::IMessage - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for /// decryption. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7929,8 +8052,9 @@ public sealed partial class AsymmetricDecryptRequest : pb::IMessage - /// Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public - /// key using OAEP. + /// Required. The data encrypted with the named + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public key using + /// OAEP. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7946,19 +8070,25 @@ public sealed partial class AsymmetricDecryptRequest : pb::IMessage _single_ciphertextCrc32C_codec = pb::FieldCodec.ForStructWrapper(34); private long? ciphertextCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. - /// If specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) is equal to - /// [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], and if so, perform a - /// limited number of retries. A persistent mismatch may indicate an issue in - /// your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. + /// If specified, + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// verify the integrity of the received + /// [AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext] + /// using this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([AsymmetricDecryptRequest.ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]) + /// is equal to + /// [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8158,7 +8288,8 @@ public sealed partial class AsymmetricDecryptRequest : pb::IMessage - /// Request message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. + /// Request message for + /// [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. /// public sealed partial class MacSignRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -8210,7 +8341,9 @@ public sealed partial class MacSignRequest : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// signing. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8225,8 +8358,8 @@ public sealed partial class MacSignRequest : pb::IMessage public const int DataFieldNumber = 2; private pb::ByteString data_ = pb::ByteString.Empty; /// - /// Required. The data to sign. The MAC tag is computed over this data field based on - /// the specific algorithm. + /// Required. The data to sign. The MAC tag is computed over this data field + /// based on the specific algorithm. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8242,19 +8375,23 @@ public sealed partial class MacSignRequest : pb::IMessage private static readonly pb::FieldCodec _single_dataCrc32C_codec = pb::FieldCodec.ForStructWrapper(26); private long? dataCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is equal to - /// [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], and if so, perform a limited - /// number of retries. A persistent mismatch may indicate an issue in your - /// computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]. If + /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + /// will verify the integrity of the received + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] using this + /// checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + /// will report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data]) is + /// equal to + /// [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8454,7 +8591,8 @@ public sealed partial class MacSignRequest : pb::IMessage } /// - /// Request message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. + /// Request message for + /// [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. /// public sealed partial class MacVerifyRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -8508,7 +8646,9 @@ public sealed partial class MacVerifyRequest : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for verification. + /// Required. The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + /// verification. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8523,8 +8663,9 @@ public sealed partial class MacVerifyRequest : pb::IMessage public const int DataFieldNumber = 2; private pb::ByteString data_ = pb::ByteString.Empty; /// - /// Required. The data used previously as a [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate the MAC - /// tag. + /// Required. The data used previously as a + /// [MacSignRequest.data][google.cloud.kms.v1.MacSignRequest.data] to generate + /// the MAC tag. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8540,19 +8681,24 @@ public sealed partial class MacVerifyRequest : pb::IMessage private static readonly pb::FieldCodec _single_dataCrc32C_codec = pb::FieldCodec.ForStructWrapper(26); private long? dataCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that - /// CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) is equal to - /// [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], and if so, perform a limited - /// number of retries. A persistent mismatch may indicate an issue in your - /// computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// Optional. An optional CRC32C checksum of the + /// [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]. If + /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + /// will verify the integrity of the received + /// [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] using + /// this checksum. + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + /// report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C([MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data]) + /// is equal to + /// [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8584,19 +8730,22 @@ public sealed partial class MacVerifyRequest : pb::IMessage private static readonly pb::FieldCodec _single_macCrc32C_codec = pb::FieldCodec.ForStructWrapper(42); private long? macCrc32C_; /// - /// Optional. An optional CRC32C checksum of the [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If - /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will verify the integrity of the - /// received [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this checksum. - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will report an error if the checksum verification - /// fails. If you receive a checksum error, your client should verify that + /// Optional. An optional CRC32C checksum of the + /// [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac]. If + /// specified, [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + /// will verify the integrity of the received + /// [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] using this + /// checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + /// will report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that /// CRC32C([MacVerifyRequest.tag][]) is equal to - /// [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], and if so, perform a limited - /// number of retries. A persistent mismatch may indicate an issue in your - /// computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c], + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8850,7 +8999,8 @@ public sealed partial class MacVerifyRequest : pb::IMessage } /// - /// Request message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. + /// Request message for + /// [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. /// public sealed partial class GenerateRandomBytesRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -8934,8 +9084,10 @@ public sealed partial class GenerateRandomBytesRequest : pb::IMessage - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Defaults to - /// [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when + /// generating the random data. Currently, only + /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is + /// supported. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9128,7 +9280,8 @@ public sealed partial class GenerateRandomBytesRequest : pb::IMessage - /// Response message for [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Response message for + /// [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// public sealed partial class EncryptResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -9183,8 +9336,10 @@ public sealed partial class EncryptResponse : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check - /// this field to verify that the intended resource was used for encryption. + /// The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + /// encryption. Check this field to verify that the intended resource was used + /// for encryption. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9216,16 +9371,18 @@ public sealed partial class EncryptResponse : pb::IMessage private long? ciphertextCrc32C_; /// /// Integrity verification field. A CRC32C checksum of the returned - /// [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. An integrity check of - /// [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] can be performed by computing the CRC32C - /// checksum of [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] and comparing your results to - /// this field. Discard the response in case of non-matching checksum values, - /// and perform a limited number of retries. A persistent mismatch may indicate - /// an issue in your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. + /// An integrity check of + /// [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] + /// can be performed by computing the CRC32C checksum of + /// [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext] + /// and comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the CRC32C + /// checksum. Note: This field is defined as int64 for reasons of compatibility + /// across different languages. However, it is a non-negative integer, which + /// will never exceed 2^32-1, and can be safely downconverted to uint32 in + /// languages that support this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9242,13 +9399,19 @@ public sealed partial class EncryptResponse : pb::IMessage private bool verifiedPlaintextCrc32C_; /// /// Integrity verification field. A flag indicating whether - /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of this field - /// indicates either that [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] was left unset or - /// that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set - /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] but this field is still false, discard - /// the response and perform a limited number of retries. + /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. A false value of + /// this field indicates either that + /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [EncryptRequest.plaintext_crc32c][google.cloud.kms.v1.EncryptRequest.plaintext_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9264,14 +9427,19 @@ public sealed partial class EncryptResponse : pb::IMessage private bool verifiedAdditionalAuthenticatedDataCrc32C_; /// /// Integrity verification field. A flag indicating whether - /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A false value of this - /// field indicates either that - /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] was left unset or - /// that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set - /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] but this field is - /// still false, discard the response and perform a limited number of retries. + /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [AAD][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. A + /// false value of this field indicates either that + /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [EncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9286,7 +9454,9 @@ public sealed partial class EncryptResponse : pb::IMessage public const int ProtectionLevelFieldNumber = 7; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + /// encryption. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9557,7 +9727,8 @@ public sealed partial class EncryptResponse : pb::IMessage } /// - /// Response message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. + /// Response message for + /// [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. /// public sealed partial class DecryptResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -9610,7 +9781,8 @@ public sealed partial class DecryptResponse : pb::IMessage public const int PlaintextFieldNumber = 1; private pb::ByteString plaintext_ = pb::ByteString.Empty; /// - /// The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. + /// The decrypted data originally supplied in + /// [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9627,18 +9799,22 @@ public sealed partial class DecryptResponse : pb::IMessage private long? plaintextCrc32C_; /// /// Integrity verification field. A CRC32C checksum of the returned - /// [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. An integrity check of - /// [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] can be performed by computing the CRC32C - /// checksum of [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] and comparing your results to - /// this field. Discard the response in case of non-matching checksum values, - /// and perform a limited number of retries. A persistent mismatch may indicate - /// an issue in your computation of the CRC32C checksum. Note: receiving this - /// response message indicates that [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to - /// successfully decrypt the [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext]. + /// An integrity check of + /// [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] + /// can be performed by computing the CRC32C checksum of + /// [DecryptResponse.plaintext][google.cloud.kms.v1.DecryptResponse.plaintext] + /// and comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the CRC32C + /// checksum. Note: receiving this response message indicates that + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to + /// successfully decrypt the + /// [ciphertext][google.cloud.kms.v1.DecryptRequest.ciphertext]. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that support + /// this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9669,7 +9845,9 @@ public sealed partial class DecryptResponse : pb::IMessage public const int ProtectionLevelFieldNumber = 4; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + /// decryption. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9892,7 +10070,8 @@ public sealed partial class DecryptResponse : pb::IMessage } /// - /// Response message for [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. + /// Response message for + /// [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. /// public sealed partial class AsymmetricSignResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -9964,16 +10143,18 @@ public sealed partial class AsymmetricSignResponse : pb::IMessage /// Integrity verification field. A CRC32C checksum of the returned - /// [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. An integrity check of - /// [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] can be performed by computing the - /// CRC32C checksum of [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] and comparing your - /// results to this field. Discard the response in case of non-matching - /// checksum values, and perform a limited number of retries. A persistent - /// mismatch may indicate an issue in your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature]. + /// An integrity check of + /// [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] + /// can be performed by computing the CRC32C checksum of + /// [AsymmetricSignResponse.signature][google.cloud.kms.v1.AsymmetricSignResponse.signature] + /// and comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the CRC32C + /// checksum. Note: This field is defined as int64 for reasons of compatibility + /// across different languages. However, it is a non-negative integer, which + /// will never exceed 2^32-1, and can be safely downconverted to uint32 in + /// languages that support this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9990,13 +10171,19 @@ public sealed partial class AsymmetricSignResponse : pb::IMessage /// Integrity verification field. A flag indicating whether - /// [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value of this field - /// indicates either that [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] was left - /// unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - /// set [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] but this field is still false, - /// discard the response and perform a limited number of retries. + /// [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [digest][google.cloud.kms.v1.AsymmetricSignRequest.digest]. A false value + /// of this field indicates either that + /// [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [AsymmetricSignRequest.digest_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.digest_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10011,8 +10198,9 @@ public sealed partial class AsymmetricSignResponse : pb::IMessage - /// The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check - /// this field to verify that the intended resource was used for signing. + /// The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + /// Check this field to verify that the intended resource was used for signing. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10028,13 +10216,19 @@ public sealed partial class AsymmetricSignResponse : pb::IMessage /// Integrity verification field. A flag indicating whether - /// [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of this field - /// indicates either that [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] was left - /// unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - /// set [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] but this field is still false, - /// discard the response and perform a limited number of retries. + /// [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [data][google.cloud.kms.v1.AsymmetricSignRequest.data]. A false value of + /// this field indicates either that + /// [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [AsymmetricSignRequest.data_crc32c][google.cloud.kms.v1.AsymmetricSignRequest.data_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10049,7 +10243,8 @@ public sealed partial class AsymmetricSignResponse : pb::IMessage - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10320,7 +10515,8 @@ public sealed partial class AsymmetricSignResponse : pb::IMessage - /// Response message for [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. + /// Response message for + /// [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. /// public sealed partial class AsymmetricDecryptResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -10390,16 +10586,18 @@ public sealed partial class AsymmetricDecryptResponse : pb::IMessage /// Integrity verification field. A CRC32C checksum of the returned - /// [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. An integrity check of - /// [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] can be performed by computing the - /// CRC32C checksum of [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] and comparing - /// your results to this field. Discard the response in case of non-matching - /// checksum values, and perform a limited number of retries. A persistent - /// mismatch may indicate an issue in your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext]. + /// An integrity check of + /// [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] + /// can be performed by computing the CRC32C checksum of + /// [AsymmetricDecryptResponse.plaintext][google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext] + /// and comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the CRC32C + /// checksum. Note: This field is defined as int64 for reasons of compatibility + /// across different languages. However, it is a non-negative integer, which + /// will never exceed 2^32-1, and can be safely downconverted to uint32 in + /// languages that support this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10416,13 +10614,19 @@ public sealed partial class AsymmetricDecryptResponse : pb::IMessage /// Integrity verification field. A flag indicating whether - /// [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A false value of this - /// field indicates either that [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] - /// was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If - /// you've set [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] but this field is - /// still false, discard the response and perform a limited number of retries. + /// [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [ciphertext][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext]. A + /// false value of this field indicates either that + /// [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [AsymmetricDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10437,7 +10641,9 @@ public sealed partial class AsymmetricDecryptResponse : pb::IMessage - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in decryption. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + /// decryption. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10660,7 +10866,8 @@ public sealed partial class AsymmetricDecryptResponse : pb::IMessage - /// Response message for [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. + /// Response message for + /// [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. /// public sealed partial class MacSignResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -10714,8 +10921,9 @@ public sealed partial class MacSignResponse : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. Check - /// this field to verify that the intended resource was used for signing. + /// The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + /// Check this field to verify that the intended resource was used for signing. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10747,16 +10955,18 @@ public sealed partial class MacSignResponse : pb::IMessage private long? macCrc32C_; /// /// Integrity verification field. A CRC32C checksum of the returned - /// [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An integrity check of - /// [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be performed by computing the - /// CRC32C checksum of [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and comparing your - /// results to this field. Discard the response in case of non-matching - /// checksum values, and perform a limited number of retries. A persistent - /// mismatch may indicate an issue in your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac]. An + /// integrity check of + /// [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] can be + /// performed by computing the CRC32C checksum of + /// [MacSignResponse.mac][google.cloud.kms.v1.MacSignResponse.mac] and + /// comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the CRC32C + /// checksum. Note: This field is defined as int64 for reasons of compatibility + /// across different languages. However, it is a non-negative integer, which + /// will never exceed 2^32-1, and can be safely downconverted to uint32 in + /// languages that support this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10773,13 +10983,19 @@ public sealed partial class MacSignResponse : pb::IMessage private bool verifiedDataCrc32C_; /// /// Integrity verification field. A flag indicating whether - /// [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this field - /// indicates either that [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] was left - /// unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - /// set [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] but this field is still false, - /// discard the response and perform a limited number of retries. + /// [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [data][google.cloud.kms.v1.MacSignRequest.data]. A false value of this + /// field indicates either that + /// [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [MacSignRequest.data_crc32c][google.cloud.kms.v1.MacSignRequest.data_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10794,7 +11010,8 @@ public sealed partial class MacSignResponse : pb::IMessage public const int ProtectionLevelFieldNumber = 5; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for signing. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -11041,7 +11258,8 @@ public sealed partial class MacSignResponse : pb::IMessage } /// - /// Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. + /// Response message for + /// [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. /// public sealed partial class MacVerifyResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -11096,9 +11314,10 @@ public sealed partial class MacVerifyResponse : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. - /// Check this field to verify that the intended resource was used for - /// verification. + /// The resource name of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for + /// verification. Check this field to verify that the intended resource was + /// used for verification. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -11114,7 +11333,9 @@ public sealed partial class MacVerifyResponse : pb::IMessage private bool success_; /// /// This field indicates whether or not the verification operation for - /// [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful. + /// [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over + /// [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was + /// successful. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -11130,13 +11351,19 @@ public sealed partial class MacVerifyResponse : pb::IMessage private bool verifiedDataCrc32C_; /// /// Integrity verification field. A flag indicating whether - /// [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field - /// indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left - /// unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - /// set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false, - /// discard the response and perform a limited number of retries. + /// [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this + /// field indicates either that + /// [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -11152,13 +11379,19 @@ public sealed partial class MacVerifyResponse : pb::IMessage private bool verifiedMacCrc32C_; /// /// Integrity verification field. A flag indicating whether - /// [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by - /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the - /// [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field - /// indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left - /// unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've - /// set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false, - /// discard the response and perform a limited number of retries. + /// [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] + /// was received by + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + /// for the integrity verification of the + /// [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this + /// field indicates either that + /// [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] + /// was left unset or that it was not delivered to + /// [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + /// set + /// [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] + /// but this field is still false, discard the response and perform a limited + /// number of retries. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -11191,7 +11424,9 @@ public sealed partial class MacVerifyResponse : pb::IMessage public const int ProtectionLevelFieldNumber = 6; private global::Google.Cloud.Kms.V1.ProtectionLevel protectionLevel_ = global::Google.Cloud.Kms.V1.ProtectionLevel.Unspecified; /// - /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. + /// The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for + /// verification. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -11456,7 +11691,8 @@ public sealed partial class MacVerifyResponse : pb::IMessage } /// - /// Response message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. + /// Response message for + /// [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. /// public sealed partial class GenerateRandomBytesResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -11524,16 +11760,18 @@ public sealed partial class GenerateRandomBytesResponse : pb::IMessage /// Integrity verification field. A CRC32C checksum of the returned - /// [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. An integrity check of - /// [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] can be performed by computing the - /// CRC32C checksum of [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] and comparing your - /// results to this field. Discard the response in case of non-matching - /// checksum values, and perform a limited number of retries. A persistent - /// mismatch may indicate an issue in your computation of the CRC32C checksum. - /// Note: This field is defined as int64 for reasons of compatibility across - /// different languages. However, it is a non-negative integer, which will - /// never exceed 2^32-1, and can be safely downconverted to uint32 in languages - /// that support this type. + /// [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]. + /// An integrity check of + /// [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] + /// can be performed by computing the CRC32C checksum of + /// [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data] + /// and comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the CRC32C + /// checksum. Note: This field is defined as int64 for reasons of compatibility + /// across different languages. However, it is a non-negative integer, which + /// will never exceed 2^32-1, and can be safely downconverted to uint32 in + /// languages that support this type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -12020,7 +12258,8 @@ public enum DigestOneofCase { } /// - /// Cloud KMS metadata for the given [google.cloud.location.Location][google.cloud.location.Location]. + /// Cloud KMS metadata for the given + /// [google.cloud.location.Location][google.cloud.location.Location]. /// public sealed partial class LocationMetadata : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -12073,7 +12312,8 @@ public sealed partial class LocationMetadata : pb::IMessage /// /// Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] - /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this location. + /// [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this + /// location. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -12090,7 +12330,8 @@ public sealed partial class LocationMetadata : pb::IMessage /// /// Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with /// [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] - /// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in this location. + /// [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in + /// this location. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/ServiceGrpc.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/ServiceGrpc.g.cs index 8b9212b953e5..3df94cd2e42b 100644 --- a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/ServiceGrpc.g.cs +++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/ServiceGrpc.g.cs @@ -438,8 +438,9 @@ public abstract partial class KeyManagementServiceBase } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -451,7 +452,8 @@ public abstract partial class KeyManagementServiceBase } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -463,9 +465,11 @@ public abstract partial class KeyManagementServiceBase } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request received from the client. @@ -490,7 +494,8 @@ public abstract partial class KeyManagementServiceBase } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -502,7 +507,8 @@ public abstract partial class KeyManagementServiceBase } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -518,7 +524,8 @@ public abstract partial class KeyManagementServiceBase } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -534,12 +541,14 @@ public abstract partial class KeyManagementServiceBase } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -551,9 +560,11 @@ public abstract partial class KeyManagementServiceBase } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -577,13 +588,18 @@ public abstract partial class KeyManagementServiceBase } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -595,7 +611,9 @@ public abstract partial class KeyManagementServiceBase } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -610,19 +628,27 @@ public abstract partial class KeyManagementServiceBase } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -638,9 +664,11 @@ public abstract partial class KeyManagementServiceBase /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -652,8 +680,9 @@ public abstract partial class KeyManagementServiceBase } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request received from the client. @@ -666,8 +695,10 @@ public abstract partial class KeyManagementServiceBase } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -679,9 +710,11 @@ public abstract partial class KeyManagementServiceBase } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -694,8 +727,10 @@ public abstract partial class KeyManagementServiceBase /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -707,9 +742,9 @@ public abstract partial class KeyManagementServiceBase } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -721,9 +756,10 @@ public abstract partial class KeyManagementServiceBase } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -1017,8 +1053,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_GetKeyRing, null, options, request); } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1031,8 +1068,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return GetCryptoKey(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The options for the call. @@ -1043,8 +1081,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_GetCryptoKey, null, options, request); } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1057,8 +1096,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return GetCryptoKeyAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as well as its - /// [primary][google.cloud.kms.v1.CryptoKey.primary] [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as + /// well as its [primary][google.cloud.kms.v1.CryptoKey.primary] + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The options for the call. @@ -1069,7 +1109,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_GetCryptoKey, null, options, request); } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1082,7 +1123,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return GetCryptoKeyVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The options for the call. @@ -1093,7 +1135,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_GetCryptoKeyVersion, null, options, request); } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1106,7 +1149,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return GetCryptoKeyVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Returns metadata for a given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// /// The request to send to the server. /// The options for the call. @@ -1117,9 +1161,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_GetCryptoKeyVersion, null, options, request); } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request to send to the server. @@ -1133,9 +1179,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return GetPublicKey(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request to send to the server. @@ -1147,9 +1195,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_GetPublicKey, null, options, request); } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request to send to the server. @@ -1163,9 +1213,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return GetPublicKeyAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The + /// Returns the public key for the given + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be - /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or + /// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] + /// or /// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. /// /// The request to send to the server. @@ -1225,7 +1277,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_GetImportJob, null, options, request); } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1238,7 +1291,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateKeyRing(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request to send to the server. /// The options for the call. @@ -1249,7 +1303,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_CreateKeyRing, null, options, request); } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1262,7 +1317,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateKeyRingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and Location. + /// Create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and + /// Location. /// /// The request to send to the server. /// The options for the call. @@ -1273,7 +1329,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_CreateKeyRing, null, options, request); } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -1290,7 +1347,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateCryptoKey(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -1305,7 +1363,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_CreateCryptoKey, null, options, request); } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -1322,7 +1381,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateCryptoKeyAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and /// [CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm] @@ -1337,7 +1397,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_CreateCryptoKey, null, options, request); } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -1354,7 +1415,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateCryptoKeyVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -1369,7 +1431,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_CreateCryptoKeyVersion, null, options, request); } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -1386,7 +1449,8 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateCryptoKeyVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// Create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a + /// [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The server will assign the next sequential id. If unset, /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to @@ -1401,12 +1465,14 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_CreateCryptoKeyVersion, null, options, request); } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1419,12 +1485,14 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return ImportCryptoKeyVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request to send to the server. /// The options for the call. @@ -1435,12 +1503,14 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_ImportCryptoKeyVersion, null, options, request); } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1453,12 +1523,14 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return ImportCryptoKeyVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Import wrapped key material into a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + /// Import wrapped key material into a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. /// - /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is - /// additionally specified in the request, key material will be reimported into - /// that version. Otherwise, a new version will be created, and will be - /// assigned the next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. + /// All requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If + /// a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally + /// specified in the request, key material will be reimported into that + /// version. Otherwise, a new version will be created, and will be assigned the + /// next sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey]. /// /// The request to send to the server. /// The options for the call. @@ -1469,9 +1541,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_ImportCryptoKeyVersion, null, options, request); } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1484,9 +1558,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateImportJob(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request to send to the server. /// The options for the call. @@ -1497,9 +1573,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_CreateImportJob, null, options, request); } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1512,9 +1590,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CreateImportJobAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a [KeyRing][google.cloud.kms.v1.KeyRing]. + /// Create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a + /// [KeyRing][google.cloud.kms.v1.KeyRing]. /// - /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is required. + /// [ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is + /// required. /// /// The request to send to the server. /// The options for the call. @@ -1573,13 +1653,18 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_UpdateCryptoKey, null, options, request); } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1592,13 +1677,18 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return UpdateCryptoKeyVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request to send to the server. /// The options for the call. @@ -1609,13 +1699,18 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_UpdateCryptoKeyVersion, null, options, request); } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1628,13 +1723,18 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return UpdateCryptoKeyVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s metadata. + /// Update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s + /// metadata. /// /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between - /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] and - /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] using this - /// method. See [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] and [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] to - /// move between other states. + /// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] + /// and + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED] + /// using this method. See + /// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion] + /// and + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// to move between other states. /// /// The request to send to the server. /// The options for the call. @@ -1645,7 +1745,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_UpdateCryptoKeyVersion, null, options, request); } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -1661,7 +1763,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return UpdateCryptoKeyPrimaryVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -1675,7 +1779,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_UpdateCryptoKeyPrimaryVersion, null, options, request); } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -1691,7 +1797,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return UpdateCryptoKeyPrimaryVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. + /// Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that + /// will be used in + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. /// /// Returns an error if called on a key whose purpose is not /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. @@ -1705,19 +1813,27 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_UpdateCryptoKeyPrimaryVersion, null, options, request); } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1730,19 +1846,27 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return DestroyCryptoKeyVersion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request to send to the server. /// The options for the call. @@ -1753,19 +1877,27 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_DestroyCryptoKeyVersion, null, options, request); } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1778,19 +1910,27 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return DestroyCryptoKeyVersionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction. + /// Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for + /// destruction. /// - /// Upon calling this method, [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// Upon calling this method, + /// [CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will + /// be set to /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be set to the time - /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] in the - /// future. At that time, the [state][google.cloud.kms.v1.CryptoKeyVersion.state] will - /// automatically change to - /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], and the key - /// material will be irrevocably destroyed. + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be set to the time + /// [destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration] + /// in the future. At that time, the + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically + /// change to + /// [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED], + /// and the key material will be irrevocably destroyed. /// - /// Before the [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is reached, - /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] may be called to reverse the process. + /// Before the + /// [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is + /// reached, + /// [RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion] + /// may be called to reverse the process. /// /// The request to send to the server. /// The options for the call. @@ -1805,9 +1945,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1824,9 +1966,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request to send to the server. /// The options for the call. @@ -1841,9 +1985,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1860,9 +2006,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba /// [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] /// state. /// - /// Upon restoration of the CryptoKeyVersion, [state][google.cloud.kms.v1.CryptoKeyVersion.state] - /// will be set to [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], - /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared. + /// Upon restoration of the CryptoKeyVersion, + /// [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to + /// [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], + /// and [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will + /// be cleared. /// /// The request to send to the server. /// The options for the call. @@ -1873,8 +2021,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_RestoreCryptoKeyVersion, null, options, request); } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. @@ -1888,8 +2037,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return Encrypt(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. @@ -1901,8 +2051,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_Encrypt, null, options, request); } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. @@ -1916,8 +2067,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return EncryptAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Encrypts data, so that it can only be recovered by a call to [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. - /// The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// Encrypts data, so that it can only be recovered by a call to + /// [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. @@ -1929,8 +2081,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_Encrypt, null, options, request); } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1943,8 +2097,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return Decrypt(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. /// The options for the call. @@ -1955,8 +2111,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_Decrypt, null, options, request); } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1969,8 +2127,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return DecryptAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Decrypts data that was protected by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// must be [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. + /// Decrypts data that was protected by + /// [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + /// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. /// /// The request to send to the server. /// The options for the call. @@ -1981,9 +2141,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_Decrypt, null, options, request); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1996,9 +2158,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return AsymmetricSign(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request to send to the server. /// The options for the call. @@ -2009,9 +2173,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_AsymmetricSign, null, options, request); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2024,9 +2190,11 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return AsymmetricSignAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] /// ASYMMETRIC_SIGN, producing a signature that can be verified with the public - /// key retrieved from [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. + /// key retrieved from + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. /// /// The request to send to the server. /// The options for the call. @@ -2038,8 +2206,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba } /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2053,8 +2223,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba } /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request to send to the server. /// The options for the call. @@ -2066,8 +2238,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba } /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2081,8 +2255,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba } /// /// Decrypts data that was encrypted with a public key retrieved from - /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with - /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT. + /// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + /// corresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + /// ASYMMETRIC_DECRYPT. /// /// The request to send to the server. /// The options for the call. @@ -2093,9 +2269,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_AsymmetricDecrypt, null, options, request); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2108,9 +2284,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return MacSign(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request to send to the server. /// The options for the call. @@ -2121,9 +2297,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_MacSign, null, options, request); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2136,9 +2312,9 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return MacSignAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, producing a tag that can be verified by another source with the - /// same key. + /// Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + /// with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, + /// producing a tag that can be verified by another source with the same key. /// /// The request to send to the server. /// The options for the call. @@ -2149,9 +2325,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.AsyncUnaryCall(__Method_MacSign, null, options, request); } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2164,9 +2341,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return MacVerify(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request to send to the server. /// The options for the call. @@ -2177,9 +2355,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return CallInvoker.BlockingUnaryCall(__Method_MacVerify, null, options, request); } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -2192,9 +2371,10 @@ protected KeyManagementServiceClient(ClientBaseConfiguration configuration) : ba return MacVerifyAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] - /// MAC, and returns a response that indicates whether or not the verification - /// was successful. + /// Verifies MAC tag using a + /// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with + /// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns + /// a response that indicates whether or not the verification was successful. /// /// The request to send to the server. /// The options for the call. diff --git a/apis/Google.Cloud.Kms.V1/gapic_metadata.json b/apis/Google.Cloud.Kms.V1/gapic_metadata.json index a270dae423a9..be79b8ad3e0f 100644 --- a/apis/Google.Cloud.Kms.V1/gapic_metadata.json +++ b/apis/Google.Cloud.Kms.V1/gapic_metadata.json @@ -5,6 +5,39 @@ "protoPackage": "google.cloud.kms.v1", "libraryPackage": "Google.Cloud.Kms.V1", "services": { + "EkmService": { + "clients": { + "grpc": { + "libraryClient": "EkmServiceClient", + "rpcs": { + "CreateEkmConnection": { + "methods": [ + "CreateEkmConnection", + "CreateEkmConnectionAsync" + ] + }, + "GetEkmConnection": { + "methods": [ + "GetEkmConnection", + "GetEkmConnectionAsync" + ] + }, + "ListEkmConnections": { + "methods": [ + "ListEkmConnections", + "ListEkmConnectionsAsync" + ] + }, + "UpdateEkmConnection": { + "methods": [ + "UpdateEkmConnection", + "UpdateEkmConnectionAsync" + ] + } + } + } + } + }, "KeyManagementService": { "clients": { "grpc": {