/// <summary>Snippet for GetModel</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetModel() { // Create client AutoMlClient autoMlClient = AutoMlClient.Create(); // Initialize request argument(s) string name = "projects/[PROJECT]/locations/[LOCATION]/models/[MODEL]"; // Make the request Model response = autoMlClient.GetModel(name); }
/// <summary>Snippet for GetModel</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetModelResourceNames() { // Create client AutoMlClient autoMlClient = AutoMlClient.Create(); // Initialize request argument(s) ModelName name = ModelName.FromProjectLocationModel("[PROJECT]", "[LOCATION]", "[MODEL]"); // Make the request Model response = autoMlClient.GetModel(name); }
/// <summary>Snippet for GetModel</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetModelRequestObject() { // Create client AutoMlClient autoMlClient = AutoMlClient.Create(); // Initialize request argument(s) GetModelRequest request = new GetModelRequest { ModelName = ModelName.FromProjectLocationModel("[PROJECT]", "[LOCATION]", "[MODEL]"), }; // Make the request Model response = autoMlClient.GetModel(request); }
/// <summary>Snippet for GetModel</summary> public void GetModelRequestObject() { // Snippet: GetModel(GetModelRequest, CallSettings) // Create client AutoMlClient autoMlClient = AutoMlClient.Create(); // Initialize request argument(s) GetModelRequest request = new GetModelRequest { Name = "", }; // Make the request Model response = autoMlClient.GetModel(request); // End snippet }