/// <summary>Snippet for GetVideo</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetVideo() { // Create client VideoServiceClient videoServiceClient = VideoServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/videos/[VIDEO_ID]"; // Make the request Video response = videoServiceClient.GetVideo(resourceName); }
/// <summary>Snippet for GetVideo</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetVideoResourceNames() { // Create client VideoServiceClient videoServiceClient = VideoServiceClient.Create(); // Initialize request argument(s) VideoName resourceName = VideoName.FromCustomerVideo("[CUSTOMER_ID]", "[VIDEO_ID]"); // Make the request Video response = videoServiceClient.GetVideo(resourceName); }
/// <summary>Snippet for GetVideo</summary> public void GetVideoResourceNames() { // Snippet: GetVideo(VideoName, CallSettings) // Create client VideoServiceClient videoServiceClient = VideoServiceClient.Create(); // Initialize request argument(s) VideoName resourceName = VideoName.FromCustomerVideo("[CUSTOMER]", "[VIDEO]"); // Make the request Video response = videoServiceClient.GetVideo(resourceName); // End snippet }
/// <summary>Snippet for GetVideo</summary> public void GetVideo() { // Snippet: GetVideo(string, CallSettings) // Create client VideoServiceClient videoServiceClient = VideoServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/videos/[VIDEO]"; // Make the request Video response = videoServiceClient.GetVideo(resourceName); // End snippet }
/// <summary>Snippet for GetVideo</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetVideoRequestObject() { // Create client VideoServiceClient videoServiceClient = VideoServiceClient.Create(); // Initialize request argument(s) GetVideoRequest request = new GetVideoRequest { ResourceNameAsVideoName = VideoName.FromCustomerVideo("[CUSTOMER]", "[VIDEO]"), }; // Make the request Video response = videoServiceClient.GetVideo(request); }