/// <summary>Snippet for ParseResumeAsync</summary> public async Task ParseResumeAsync() { // Snippet: ParseResumeAsync(ProjectName,ByteString,CallSettings) // Additional: ParseResumeAsync(ProjectName,ByteString,CancellationToken) // Create client ResumeServiceClient resumeServiceClient = await ResumeServiceClient.CreateAsync(); // Initialize request argument(s) ProjectName parent = new ProjectName("[PROJECT]"); ByteString resume = ByteString.Empty; // Make the request ParseResumeResponse response = await resumeServiceClient.ParseResumeAsync(parent, resume); // End snippet }
/// <summary>Snippet for ParseResumeAsync</summary> public async Task ParseResumeAsync_RequestObject() { // Snippet: ParseResumeAsync(ParseResumeRequest,CallSettings) // Additional: ParseResumeAsync(ParseResumeRequest,CancellationToken) // Create client ResumeServiceClient resumeServiceClient = await ResumeServiceClient.CreateAsync(); // Initialize request argument(s) ParseResumeRequest request = new ParseResumeRequest { ParentAsProjectName = new ProjectName("[PROJECT]"), Resume = ByteString.Empty, }; // Make the request ParseResumeResponse response = await resumeServiceClient.ParseResumeAsync(request); // End snippet }