/// <summary>Snippet for GetUserLocationView</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetUserLocationViewResourceNames() { // Create client UserLocationViewServiceClient userLocationViewServiceClient = UserLocationViewServiceClient.Create(); // Initialize request argument(s) UserLocationViewName resourceName = UserLocationViewName.FromCustomerUserLocationView("[CUSTOMER]", "[USER_LOCATION_VIEW]"); // Make the request UserLocationView response = userLocationViewServiceClient.GetUserLocationView(resourceName); }
/// <summary>Snippet for GetUserLocationView</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetUserLocationViewResourceNames() { // Create client UserLocationViewServiceClient userLocationViewServiceClient = UserLocationViewServiceClient.Create(); // Initialize request argument(s) UserLocationViewName resourceName = UserLocationViewName.FromCustomerCountryCriterionIsTargetingLocation("[CUSTOMER_ID]", "[COUNTRY_CRITERION_ID]", "[IS_TARGETING_LOCATION]"); // Make the request UserLocationView response = userLocationViewServiceClient.GetUserLocationView(resourceName); }
/// <summary>Snippet for GetUserLocationView</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetUserLocationView() { // Create client UserLocationViewServiceClient userLocationViewServiceClient = UserLocationViewServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/userLocationViews/[USER_LOCATION_VIEW]"; // Make the request UserLocationView response = userLocationViewServiceClient.GetUserLocationView(resourceName); }
/// <summary>Snippet for GetUserLocationView</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetUserLocationView() { // Create client UserLocationViewServiceClient userLocationViewServiceClient = UserLocationViewServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/userLocationViews/[COUNTRY_CRITERION_ID]~[IS_TARGETING_LOCATION]"; // Make the request UserLocationView response = userLocationViewServiceClient.GetUserLocationView(resourceName); }
/// <summary>Snippet for GetUserLocationView</summary> public void GetUserLocationViewRequestObject() { // Snippet: GetUserLocationView(GetUserLocationViewRequest, CallSettings) // Create client UserLocationViewServiceClient userLocationViewServiceClient = UserLocationViewServiceClient.Create(); // Initialize request argument(s) GetUserLocationViewRequest request = new GetUserLocationViewRequest { ResourceNameAsUserLocationViewName = UserLocationViewName.FromCustomerCountryCriterionIsTargetingLocation("[CUSTOMER_ID]", "[COUNTRY_CRITERION_ID]", "[IS_TARGETING_LOCATION]"), }; // Make the request UserLocationView response = userLocationViewServiceClient.GetUserLocationView(request); // End snippet }
/// <summary>Snippet for GetUserLocationView</summary> public void GetUserLocationViewRequestObject() { // Snippet: GetUserLocationView(GetUserLocationViewRequest, CallSettings) // Create client UserLocationViewServiceClient userLocationViewServiceClient = UserLocationViewServiceClient.Create(); // Initialize request argument(s) GetUserLocationViewRequest request = new GetUserLocationViewRequest { ResourceNameAsUserLocationViewName = UserLocationViewName.FromCustomerUserLocationView("[CUSTOMER]", "[USER_LOCATION_VIEW]"), }; // Make the request UserLocationView response = userLocationViewServiceClient.GetUserLocationView(request); // End snippet }