Esempio n. 1
0
        /// <summary>Snippet for DeleteFeed</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public void DeleteFeed()
        {
            // Create client
            AssetServiceClient assetServiceClient = AssetServiceClient.Create();
            // Initialize request argument(s)
            string name = "projects/[PROJECT]/feeds/[FEED]";

            // Make the request
            assetServiceClient.DeleteFeed(name);
        }
 /// <summary>Snippet for DeleteFeed</summary>
 public void DeleteFeedResourceNames()
 {
     // Snippet: DeleteFeed(FeedName, CallSettings)
     // Create client
     AssetServiceClient assetServiceClient = AssetServiceClient.Create();
     // Initialize request argument(s)
     FeedName name = FeedName.FromProjectFeed("[PROJECT]", "[FEED]");
     // Make the request
     assetServiceClient.DeleteFeed(name);
     // End snippet
 }
Esempio n. 3
0
        /// <summary>Snippet for DeleteFeed</summary>
        public void DeleteFeed()
        {
            // Snippet: DeleteFeed(string,CallSettings)
            // Create client
            AssetServiceClient assetServiceClient = AssetServiceClient.Create();
            // Initialize request argument(s)
            string formattedName = new FeedName("[PROJECT]", "[FEED]").ToString();

            // Make the request
            assetServiceClient.DeleteFeed(formattedName);
            // End snippet
        }
 /// <summary>Snippet for DeleteFeed</summary>
 public void DeleteFeedRequestObject()
 {
     // Snippet: DeleteFeed(DeleteFeedRequest, CallSettings)
     // Create client
     AssetServiceClient assetServiceClient = AssetServiceClient.Create();
     // Initialize request argument(s)
     DeleteFeedRequest request = new DeleteFeedRequest
     {
         FeedName = FeedName.FromProjectFeed("[PROJECT]", "[FEED]"),
     };
     // Make the request
     assetServiceClient.DeleteFeed(request);
     // End snippet
 }