示例#1
0
 /// <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
 }
示例#2
0
 /// <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
 }
示例#3
0
 /// <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
 }