Ejemplo n.º 1
0
        /// <summary>Snippet for DeleteModelAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task DeleteModelAsync()
        {
            // Create client
            ModelServiceClient modelServiceClient = await ModelServiceClient.CreateAsync();

            // Initialize request argument(s)
            string projectId = "";
            string datasetId = "";
            string modelId   = "";
            // Make the request
            await modelServiceClient.DeleteModelAsync(projectId, datasetId, modelId);
        }
Ejemplo n.º 2
0
        /// <summary>Snippet for DeleteModelAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task DeleteModelRequestObjectAsync()
        {
            // Create client
            ModelServiceClient modelServiceClient = await ModelServiceClient.CreateAsync();

            // Initialize request argument(s)
            DeleteModelRequest request = new DeleteModelRequest
            {
                ProjectId = "",
                DatasetId = "",
                ModelId   = "",
            };
            // Make the request
            await modelServiceClient.DeleteModelAsync(request);
        }
        /// <summary>Snippet for DeleteModelAsync</summary>
        public async Task DeleteModelAsync()
        {
            // Snippet: DeleteModelAsync(string, string, string, CallSettings)
            // Additional: DeleteModelAsync(string, string, string, CancellationToken)
            // Create client
            ModelServiceClient modelServiceClient = await ModelServiceClient.CreateAsync();

            // Initialize request argument(s)
            string projectId = "";
            string datasetId = "";
            string modelId   = "";
            // Make the request
            await modelServiceClient.DeleteModelAsync(projectId, datasetId, modelId);

            // End snippet
        }
        /// <summary>Snippet for DeleteModelAsync</summary>
        public async Task DeleteModelRequestObjectAsync()
        {
            // Snippet: DeleteModelAsync(DeleteModelRequest, CallSettings)
            // Additional: DeleteModelAsync(DeleteModelRequest, CancellationToken)
            // Create client
            ModelServiceClient modelServiceClient = await ModelServiceClient.CreateAsync();

            // Initialize request argument(s)
            DeleteModelRequest request = new DeleteModelRequest
            {
                ProjectId = "",
                DatasetId = "",
                ModelId   = "",
            };
            // Make the request
            await modelServiceClient.DeleteModelAsync(request);

            // End snippet
        }