public sealed class FetchReadTokenRequest : IMessage<FetchReadTokenRequest>, IEquatable<FetchReadTokenRequest>, IDeepCloneable<FetchReadTokenRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class FetchReadTokenRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eFetchReadTokenRequest\u003c/code\u003e class is 1.4.0, part of the Cloud Build v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFetchReadTokenRequest\u003c/code\u003e is a message class used to fetch SCM read tokens and implements several interfaces, including \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\u003eThis class includes properties such as \u003ccode\u003eRepository\u003c/code\u003e (a string representing the resource name of a repository) and \u003ccode\u003eRepositoryAsRepositoryName\u003c/code\u003e (a \u003ccode\u003eRepositoryName\u003c/code\u003e-typed view of the \u003ccode\u003eRepository\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFetchReadTokenRequest\u003c/code\u003e class has a default constructor \u003ccode\u003eFetchReadTokenRequest()\u003c/code\u003e and a copy constructor \u003ccode\u003eFetchReadTokenRequest(FetchReadTokenRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe message class belongs to the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2\u003c/code\u003e namespace, located in the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class FetchReadTokenRequest (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest) \n\n public sealed class FetchReadTokenRequest : IMessage\u003cFetchReadTokenRequest\u003e, IEquatable\u003cFetchReadTokenRequest\u003e, IDeepCloneable\u003cFetchReadTokenRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class FetchReadTokenRequest.\n\nMessage for fetching SCM read token. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FetchReadTokenRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FetchReadTokenRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FetchReadTokenRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FetchReadTokenRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest), [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.CloudBuild.V2](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V2.dll\n\nConstructors\n------------\n\n### FetchReadTokenRequest()\n\n public FetchReadTokenRequest()\n\n### FetchReadTokenRequest(FetchReadTokenRequest)\n\n public FetchReadTokenRequest(FetchReadTokenRequest other)\n\nProperties\n----------\n\n### Repository\n\n public string Repository { get; set; }\n\nRequired. The resource name of the repository in the format\n`projects/*/locations/*/connections/*/repositories/*`.\n\n### RepositoryAsRepositoryName\n\n public RepositoryName RepositoryAsRepositoryName { get; set; }\n\n[RepositoryName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RepositoryName)-typed view over the [Repository](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadTokenRequest#Google_Cloud_CloudBuild_V2_FetchReadTokenRequest_Repository) resource name property."]]