/// <summary>Snippet for SinglePatternMethod</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void SinglePatternMethod()
 {
     // Create client
     ResourceNamesClient resourceNamesClient = ResourceNamesClient.Create();
     // Initialize request argument(s)
     string realName = "items/[ITEM_ID]";
     string @ref     = "items/[ITEM_ID]";
     IEnumerable <string> repeatedRef = new string[] { "items/[ITEM_ID]", };
     string valueRef = "items/[ITEM_ID]";
     IEnumerable <string> repeatedValueRef = new string[] { "items/[ITEM_ID]", };
     // Make the request
     Response response = resourceNamesClient.SinglePatternMethod(realName, @ref, repeatedRef, valueRef, repeatedValueRef);
 }
 /// <summary>Snippet for SinglePatternMethod</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void SinglePatternMethodResourceNames()
 {
     // Create client
     ResourceNamesClient resourceNamesClient = ResourceNamesClient.Create();
     // Initialize request argument(s)
     SinglePatternName realName = SinglePatternName.FromItem("[ITEM_ID]");
     SinglePatternName @ref     = SinglePatternName.FromItem("[ITEM_ID]");
     IEnumerable <SinglePatternName> repeatedRef = new SinglePatternName[]
     {
         SinglePatternName.FromItem("[ITEM_ID]"),
     };
     SinglePatternName valueRef = SinglePatternName.FromItem("[ITEM_ID]");
     IEnumerable <SinglePatternName> repeatedValueRef = new SinglePatternName[]
     {
         SinglePatternName.FromItem("[ITEM_ID]"),
     };
     // Make the request
     Response response = resourceNamesClient.SinglePatternMethod(realName, @ref, repeatedRef, valueRef, repeatedValueRef);
 }
 /// <summary>Snippet for SinglePatternMethod</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void SinglePatternMethodRequestObject()
 {
     // Create client
     ResourceNamesClient resourceNamesClient = ResourceNamesClient.Create();
     // Initialize request argument(s)
     SinglePattern request = new SinglePattern
     {
         RealNameAsSinglePatternName     = SinglePatternName.FromItem("[ITEM_ID]"),
         RefAsSinglePatternName          = SinglePatternName.FromItem("[ITEM_ID]"),
         RepeatedRefAsSinglePatternNames =
         {
             SinglePatternName.FromItem("[ITEM_ID]"),
         },
         ValueRefAsSinglePatternName          = SinglePatternName.FromItem("[ITEM_ID]"),
         RepeatedValueRefAsSinglePatternNames =
         {
             SinglePatternName.FromItem("[ITEM_ID]"),
         },
     };
     // Make the request
     Response response = resourceNamesClient.SinglePatternMethod(request);
 }