/// <summary>Snippet for GetFeedMapping</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetFeedMapping()
 {
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/feedMappings/[FEED_MAPPING]";
     // Make the request
     FeedMapping response = feedMappingServiceClient.GetFeedMapping(resourceName);
 }
 /// <summary>Snippet for GetFeedMapping</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetFeedMappingResourceNames()
 {
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     FeedMappingName resourceName = FeedMappingName.FromCustomerFeedMapping("[CUSTOMER]", "[FEED_MAPPING]");
     // Make the request
     FeedMapping response = feedMappingServiceClient.GetFeedMapping(resourceName);
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for GetFeedMapping</summary>
 public void GetFeedMappingResourceNames()
 {
     // Snippet: GetFeedMapping(FeedMappingName, CallSettings)
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     FeedMappingName resourceName = FeedMappingName.FromCustomerFeedFeedMapping("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_MAPPING_ID]");
     // Make the request
     FeedMapping response = feedMappingServiceClient.GetFeedMapping(resourceName);
     // End snippet
 }
Ejemplo n.º 4
0
 /// <summary>Snippet for GetFeedMapping</summary>
 public void GetFeedMapping()
 {
     // Snippet: GetFeedMapping(string, CallSettings)
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/feedMappings/[FEED_ID]~[FEED_MAPPING_ID]";
     // Make the request
     FeedMapping response = feedMappingServiceClient.GetFeedMapping(resourceName);
     // End snippet
 }
Ejemplo n.º 5
0
 /// <summary>Snippet for GetFeedMapping</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetFeedMappingRequestObject()
 {
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     GetFeedMappingRequest request = new GetFeedMappingRequest
     {
         ResourceNameAsFeedMappingName = FeedMappingName.FromCustomerFeedFeedMapping("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_MAPPING_ID]"),
     };
     // Make the request
     FeedMapping response = feedMappingServiceClient.GetFeedMapping(request);
 }
Ejemplo n.º 6
0
 /// <summary>Snippet for MutateFeedMappings</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateFeedMappings()
 {
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <FeedMappingOperation> operations = new FeedMappingOperation[]
     {
         new FeedMappingOperation(),
     };
     // Make the request
     MutateFeedMappingsResponse response = feedMappingServiceClient.MutateFeedMappings(customerId, operations);
 }
 /// <summary>Snippet for MutateFeedMappings</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateFeedMappingsRequestObject()
 {
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     MutateFeedMappingsRequest request = new MutateFeedMappingsRequest
     {
         CustomerId = "",
         Operations =
         {
             new FeedMappingOperation(),
         },
         PartialFailure = false,
         ValidateOnly   = false,
     };
     // Make the request
     MutateFeedMappingsResponse response = feedMappingServiceClient.MutateFeedMappings(request);
 }
Ejemplo n.º 8
0
 /// <summary>Snippet for MutateFeedMappings</summary>
 public void MutateFeedMappingsRequestObject()
 {
     // Snippet: MutateFeedMappings(MutateFeedMappingsRequest, CallSettings)
     // Create client
     FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.Create();
     // Initialize request argument(s)
     MutateFeedMappingsRequest request = new MutateFeedMappingsRequest
     {
         CustomerId = "",
         Operations =
         {
             new FeedMappingOperation(),
         },
         PartialFailure      = false,
         ValidateOnly        = false,
         ResponseContentType = ResponseContentTypeEnum.Types.ResponseContentType.Unspecified,
     };
     // Make the request
     MutateFeedMappingsResponse response = feedMappingServiceClient.MutateFeedMappings(request);
     // End snippet
 }