Skip to content

Commit bf4a8c7

Browse files
authored
docs(retail): add region tags for several samples
Added region tags for Search with pagination sample for CS.
1 parent a932e81 commit bf4a8c7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

retail/interactive-tutorial/RetailSearch.Samples/SearchSimpleQuerySample.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// [START retail_search_simple_query]
16+
1517
using Google.Cloud.Retail.V2;
1618
using System;
1719
using System.Collections.Generic;
@@ -106,3 +108,5 @@ public static IEnumerable<SearchResponse> Search()
106108
return sample.Search(projectId);
107109
}
108110
}
111+
112+
// [END retail_search_simple_query]

retail/interactive-tutorial/RetailSearch.Samples/SearchWithPaginationSample.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
// limit the number of the products per page and go to the next page using "NextPageToken"
1717
// or jump to chosen page using "Offset".
1818

19+
// [START retail_search_for_products_with_pagination]
20+
1921
using Google.Cloud.Retail.V2;
2022
using System;
2123
using System.Collections.Generic;
@@ -105,6 +107,8 @@ public IEnumerable<SearchResponse> Search(string projectId)
105107
}
106108
}
107109

110+
// [END retail_search_for_products_with_pagination]
111+
108112
/// <summary>
109113
/// Search with page size tutorial.
110114
/// </summary>

0 commit comments

Comments
 (0)