/// <summary>Snippet for GetSharedCriterion</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetSharedCriterionResourceNames() { // Create client SharedCriterionServiceClient sharedCriterionServiceClient = SharedCriterionServiceClient.Create(); // Initialize request argument(s) SharedCriterionName resourceName = SharedCriterionName.FromCustomerSharedCriterion("[CUSTOMER]", "[SHARED_CRITERION]"); // Make the request SharedCriterion response = sharedCriterionServiceClient.GetSharedCriterion(resourceName); }
/// <summary>Snippet for GetSharedCriterion</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetSharedCriterion() { // Create client SharedCriterionServiceClient sharedCriterionServiceClient = SharedCriterionServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/sharedCriteria/[SHARED_SET_ID]~[CRITERION_ID]"; // Make the request SharedCriterion response = sharedCriterionServiceClient.GetSharedCriterion(resourceName); }
/// <summary>Snippet for GetSharedCriterion</summary> public void GetSharedCriterion() { // Snippet: GetSharedCriterion(string, CallSettings) // Create client SharedCriterionServiceClient sharedCriterionServiceClient = SharedCriterionServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/sharedCriteria/[SHARED_CRITERION]"; // Make the request SharedCriterion response = sharedCriterionServiceClient.GetSharedCriterion(resourceName); // End snippet }
/// <summary>Snippet for GetSharedCriterion</summary> public void GetSharedCriterionResourceNames() { // Snippet: GetSharedCriterion(SharedCriterionName, CallSettings) // Create client SharedCriterionServiceClient sharedCriterionServiceClient = SharedCriterionServiceClient.Create(); // Initialize request argument(s) SharedCriterionName resourceName = SharedCriterionName.FromCustomerSharedSetCriterion("[CUSTOMER_ID]", "[SHARED_SET_ID]", "[CRITERION_ID]"); // Make the request SharedCriterion response = sharedCriterionServiceClient.GetSharedCriterion(resourceName); // End snippet }
/// <summary>Snippet for GetSharedCriterion</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetSharedCriterionRequestObject() { // Create client SharedCriterionServiceClient sharedCriterionServiceClient = SharedCriterionServiceClient.Create(); // Initialize request argument(s) GetSharedCriterionRequest request = new GetSharedCriterionRequest { ResourceNameAsSharedCriterionName = SharedCriterionName.FromCustomerSharedSetCriterion("[CUSTOMER_ID]", "[SHARED_SET_ID]", "[CRITERION_ID]"), }; // Make the request SharedCriterion response = sharedCriterionServiceClient.GetSharedCriterion(request); }
/// <summary>Snippet for GetSharedCriterion</summary> public void GetSharedCriterionRequestObject() { // Snippet: GetSharedCriterion(GetSharedCriterionRequest, CallSettings) // Create client SharedCriterionServiceClient sharedCriterionServiceClient = SharedCriterionServiceClient.Create(); // Initialize request argument(s) GetSharedCriterionRequest request = new GetSharedCriterionRequest { ResourceNameAsSharedCriterionName = SharedCriterionName.FromCustomerSharedCriterion("[CUSTOMER]", "[SHARED_CRITERION]"), }; // Make the request SharedCriterion response = sharedCriterionServiceClient.GetSharedCriterion(request); // End snippet }