/// <summary>Snippet for GetRecording</summary> public void GetRecording() { // Snippet: GetRecording(string, CallSettings) // Create client RecordingsClient recordingsClient = RecordingsClient.Create(); // Initialize request argument(s) string name = "projects/[PROJECT]/calls/[CALL]/recordings/[RECORDING]"; // Make the request Recording response = recordingsClient.GetRecording(name); // End snippet }
/// <summary>Snippet for GetRecording</summary> public void GetRecordingResourceNames() { // Snippet: GetRecording(RecordingName, CallSettings) // Create client RecordingsClient recordingsClient = RecordingsClient.Create(); // Initialize request argument(s) RecordingName name = RecordingName.FromProjectCallRecording("[PROJECT]", "[CALL]", "[RECORDING]"); // Make the request Recording response = recordingsClient.GetRecording(name); // End snippet }
/// <summary>Snippet for GetRecording</summary> public void GetRecordingRequestObject() { // Snippet: GetRecording(GetRecordingRequest, CallSettings) // Create client RecordingsClient recordingsClient = RecordingsClient.Create(); // Initialize request argument(s) GetRecordingRequest request = new GetRecordingRequest { RecordingName = RecordingName.FromProjectCallRecording("[PROJECT]", "[CALL]", "[RECORDING]"), View = RecordingView.Unspecified, }; // Make the request Recording response = recordingsClient.GetRecording(request); // End snippet }