public sealed class FetchReadWriteTokenRequest : IMessage<FetchReadWriteTokenRequest>, IEquatable<FetchReadWriteTokenRequest>, IDeepCloneable<FetchReadWriteTokenRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class FetchReadWriteTokenRequest.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eFetchReadWriteTokenRequest\u003c/code\u003e class within the Cloud Build v2 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFetchReadWriteTokenRequest\u003c/code\u003e class is a message type for fetching SCM (Source Code Management) read/write tokens, designed for use within the Google Cloud ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors and two properties: \u003ccode\u003eRepository\u003c/code\u003e (a string representing the repository's resource name) and \u003ccode\u003eRepositoryAsRepositoryName\u003c/code\u003e (a \u003ccode\u003eRepositoryName\u003c/code\u003e-typed view over the repository property).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class documented is version 1.4.0, with previous versions 1.3.0, 1.2.0, 1.1.0 and 1.0.0 available.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class FetchReadWriteTokenRequest (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.FetchReadWriteTokenRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest) \n\n public sealed class FetchReadWriteTokenRequest : IMessage\u003cFetchReadWriteTokenRequest\u003e, IEquatable\u003cFetchReadWriteTokenRequest\u003e, IDeepCloneable\u003cFetchReadWriteTokenRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class FetchReadWriteTokenRequest.\n\nMessage for fetching SCM read/write token. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FetchReadWriteTokenRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FetchReadWriteTokenRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FetchReadWriteTokenRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FetchReadWriteTokenRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchReadWriteTokenRequest), [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### FetchReadWriteTokenRequest()\n\n public FetchReadWriteTokenRequest()\n\n### FetchReadWriteTokenRequest(FetchReadWriteTokenRequest)\n\n public FetchReadWriteTokenRequest(FetchReadWriteTokenRequest 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.FetchReadWriteTokenRequest#Google_Cloud_CloudBuild_V2_FetchReadWriteTokenRequest_Repository) resource name property."]]