/// <summary>Snippet for GetAnnotationSpec</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAnnotationSpecResourceNames()
 {
     // Create client
     AutoMlClient autoMlClient = AutoMlClient.Create();
     // Initialize request argument(s)
     AnnotationSpecName name = AnnotationSpecName.FromProjectLocationDatasetAnnotationSpec("[PROJECT]", "[LOCATION]", "[DATASET]", "[ANNOTATION_SPEC]");
     // Make the request
     AnnotationSpec response = autoMlClient.GetAnnotationSpec(name);
 }
 /// <summary>Snippet for GetAnnotationSpec</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAnnotationSpec()
 {
     // Create client
     AutoMlClient autoMlClient = AutoMlClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/locations/[LOCATION]/datasets/[DATASET]/annotationSpecs/[ANNOTATION_SPEC]";
     // Make the request
     AnnotationSpec response = autoMlClient.GetAnnotationSpec(name);
 }
コード例 #3
0
 /// <summary>Snippet for GetAnnotationSpec</summary>
 public void GetAnnotationSpecRequestObject()
 {
     // Snippet: GetAnnotationSpec(GetAnnotationSpecRequest, CallSettings)
     // Create client
     AutoMlClient autoMlClient = AutoMlClient.Create();
     // Initialize request argument(s)
     GetAnnotationSpecRequest request = new GetAnnotationSpecRequest {
         Name = "",
     };
     // Make the request
     AnnotationSpec response = autoMlClient.GetAnnotationSpec(request);
     // End snippet
 }