Beispiel #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);
 }
Beispiel #2
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);
 }