public sealed class ObjectId : IMessage<ObjectId>, IEquatable<ObjectId>, IDeepCloneable<ObjectId>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class ObjectId.
An [ObjectId][google.cloud.security.privateca.v1.ObjectId] specifies an
object identifier (OID). These provide context and describe types in ASN.1
messages.
[[["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\u003eObjectId\u003c/code\u003e class within the Google Cloud Security Private CA V1 API is 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eObjectId\u003c/code\u003e is a class that defines an object identifier (OID), crucial for providing context and describing types in ASN.1 messages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eObjectId\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eObjectId\u003c/code\u003e class includes a property named \u003ccode\u003eObjectIdPath\u003c/code\u003e, which is a required \u003ccode\u003eRepeatedField\u003c/code\u003e of integers representing the parts of an OID path, with the most significant parts listed first.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eObjectId\u003c/code\u003e class includes two constructors, one default, and another that takes another ObjectId as an argument.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class ObjectId (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.ObjectId)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.ObjectId) \n\n public sealed class ObjectId : IMessage\u003cObjectId\u003e, IEquatable\u003cObjectId\u003e, IDeepCloneable\u003cObjectId\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class ObjectId.\n\nAn \\[ObjectId\\]\\[google.cloud.security.privateca.v1.ObjectId\\] specifies an\nobject identifier (OID). These provide context and describe types in ASN.1\nmessages. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ObjectId \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ObjectId](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.ObjectId), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ObjectId](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.ObjectId), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ObjectId](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.ObjectId), [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.Security.PrivateCA.V1](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Security.PrivateCA.V1.dll\n\nConstructors\n------------\n\n### ObjectId()\n\n public ObjectId()\n\n### ObjectId(ObjectId)\n\n public ObjectId(ObjectId other)\n\nProperties\n----------\n\n### ObjectIdPath\n\n public RepeatedField\u003cint\u003e ObjectIdPath { get; }\n\nRequired. The parts of an OID path. The most significant parts of the path\ncome first."]]