public Task <SnapshotVerifyRepositoryResponse> VerifyRepositoryAsync(Elastic.Clients.Elasticsearch.Name repository, Action <SnapshotVerifyRepositoryRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SnapshotVerifyRepositoryRequestDescriptor(repository);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SnapshotVerifyRepositoryRequestDescriptor, SnapshotVerifyRepositoryResponse>(descriptor));
        }
        public SnapshotVerifyRepositoryResponse VerifyRepository(Elastic.Clients.Elasticsearch.Name repository, Action <SnapshotVerifyRepositoryRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SnapshotVerifyRepositoryRequestDescriptor(repository);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SnapshotVerifyRepositoryRequestDescriptor, SnapshotVerifyRepositoryResponse>(descriptor));
        }