コード例 #1
0
 /// <summary>Snippet for GetColumnSpec</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetColumnSpecResourceNames()
 {
     // Create client
     AutoMlClient autoMlClient = AutoMlClient.Create();
     // Initialize request argument(s)
     ColumnSpecName name = ColumnSpecName.FromProjectLocationDatasetTableSpecColumnSpec("[PROJECT]", "[LOCATION]", "[DATASET]", "[TABLE_SPEC]", "[COLUMN_SPEC]");
     // Make the request
     ColumnSpec response = autoMlClient.GetColumnSpec(name);
 }
 /// <summary>Snippet for GetColumnSpec</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetColumnSpec()
 {
     // Create client
     AutoMlClient autoMlClient = AutoMlClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/locations/[LOCATION]/datasets/[DATASET]/tableSpecs/[TABLE_SPEC]/columnSpecs/[COLUMN_SPEC]";
     // Make the request
     ColumnSpec response = autoMlClient.GetColumnSpec(name);
 }
コード例 #3
0
 /// <summary>Snippet for GetColumnSpec</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetColumnSpecRequestObject()
 {
     // Create client
     AutoMlClient autoMlClient = AutoMlClient.Create();
     // Initialize request argument(s)
     GetColumnSpecRequest request = new GetColumnSpecRequest
     {
         ColumnSpecName = ColumnSpecName.FromProjectLocationDatasetTableSpecColumnSpec("[PROJECT]", "[LOCATION]", "[DATASET]", "[TABLE_SPEC]", "[COLUMN_SPEC]"),
         FieldMask      = new FieldMask(),
     };
     // Make the request
     ColumnSpec response = autoMlClient.GetColumnSpec(request);
 }