/// <summary>Snippet for GetCall</summary> public void GetCall() { // Snippet: GetCall(string, CallSettings) // Create client CallsClient callsClient = CallsClient.Create(); // Initialize request argument(s) string name = "projects/[PROJECT]/calls/[CALL]"; // Make the request Call response = callsClient.GetCall(name); // End snippet }
/// <summary>Snippet for GetCall</summary> public void GetCallResourceNames() { // Snippet: GetCall(CallName, CallSettings) // Create client CallsClient callsClient = CallsClient.Create(); // Initialize request argument(s) CallName name = CallName.FromProjectCall("[PROJECT]", "[CALL]"); // Make the request Call response = callsClient.GetCall(name); // End snippet }
/// <summary>Snippet for GetCall</summary> public void GetCallRequestObject() { // Snippet: GetCall(GetCallRequest, CallSettings) // Create client CallsClient callsClient = CallsClient.Create(); // Initialize request argument(s) GetCallRequest request = new GetCallRequest { CallName = CallName.FromProjectCall("[PROJECT]", "[CALL]"), }; // Make the request Call response = callsClient.GetCall(request); // End snippet }