[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eRoutineSpec\u003c/code\u003e class for the Data Catalog v1 API is 2.14.0, with previous versions ranging from 2.13.0 down to 1.2.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRoutineSpec\u003c/code\u003e is a class that applies to a routine, which can only be used on entries with the \u003ccode\u003eROUTINE\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRoutineSpec\u003c/code\u003e class allows the user to specify the routine's language, body, return type, arguments, and type, and provides a separate field for BigQuery-specific routine details.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRoutineSpec\u003c/code\u003e has two constructors, one default and one that accepts another \u003ccode\u003eRoutineSpec\u003c/code\u003e instance to copy its properties, allowing for the creation of new \u003ccode\u003eRoutineSpec\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,["# Data Catalog v1 API - Class RoutineSpec (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.15.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.14.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.13.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.12.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.11.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.10.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.9.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.8.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.7.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.6.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.5.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.4.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.3.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.2.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.1.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.0.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.8.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.7.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.6.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.5.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.4.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.3.0/Google.Cloud.DataCatalog.V1.RoutineSpec)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.2.0/Google.Cloud.DataCatalog.V1.RoutineSpec) \n\n public sealed class RoutineSpec : IMessage\u003cRoutineSpec\u003e, IEquatable\u003cRoutineSpec\u003e, IDeepCloneable\u003cRoutineSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Catalog v1 API class RoutineSpec.\n\nSpecification that applies to a routine. Valid only for\nentries with the `ROUTINE` type. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RoutineSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RoutineSpec](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.RoutineSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RoutineSpec](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.RoutineSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RoutineSpec](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.RoutineSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DataCatalog.V1](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DataCatalog.V1.dll\n\nConstructors\n------------\n\n### RoutineSpec()\n\n public RoutineSpec()\n\n### RoutineSpec(RoutineSpec)\n\n public RoutineSpec(RoutineSpec other)\n\nProperties\n----------\n\n### BigqueryRoutineSpec\n\n public BigQueryRoutineSpec BigqueryRoutineSpec { get; set; }\n\nFields specific for BigQuery routines.\n\n### DefinitionBody\n\n public string DefinitionBody { get; set; }\n\nThe body of the routine.\n\n### Language\n\n public string Language { get; set; }\n\nThe language the routine is written in. The exact value depends on the\nsource system. For BigQuery routines, possible values are:\n\n- `SQL`\n- `JAVASCRIPT`\n\n### ReturnType\n\n public string ReturnType { get; set; }\n\nReturn type of the argument. The exact value depends on the source system\nand the language.\n\n### RoutineArguments\n\n public RepeatedField\u003cRoutineSpec.Types.Argument\u003e RoutineArguments { get; }\n\nArguments of the routine.\n\n### RoutineType\n\n public RoutineSpec.Types.RoutineType RoutineType { get; set; }\n\nThe type of the routine.\n\n### SystemSpecCase\n\n public RoutineSpec.SystemSpecOneofCase SystemSpecCase { get; }"]]