public sealed class GitConfig.Types.HttpConfig : IMessage<GitConfig.Types.HttpConfig>, IEquatable<GitConfig.Types.HttpConfig>, IDeepCloneable<GitConfig.Types.HttpConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class GitConfig.Types.HttpConfig.
HttpConfig is a configuration for HTTP related git operations.
public string ProxySecretVersionName { get; set; }
SecretVersion resource of the HTTP proxy URL. The Service Account used in
the build (either the default Service Account or
user-specified Service Account) should have
secretmanager.versions.access permissions on this secret. The proxy URL
should be in format [protocol://][user[:password]@]proxyhost[:port].
[[["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-08-28 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eGitConfig.Types.HttpConfig\u003c/code\u003e class, a part of the Cloud Build v1 API, specifically related to HTTP configuration for Git operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGitConfig.Types.HttpConfig\u003c/code\u003e class is 2.15.0, with links available to previous versions ranging from 2.14.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e 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\u003eKey properties of the \u003ccode\u003eHttpConfig\u003c/code\u003e class include \u003ccode\u003eProxySecretVersionName\u003c/code\u003e for setting the proxy URL, and \u003ccode\u003eProxySecretVersionNameAsSecretVersionName\u003c/code\u003e which is a \u003ccode\u003eSecretVersionName\u003c/code\u003e-typed view of the proxy resource name.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, a default constructor and one that accepts another \u003ccode\u003eHttpConfig\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v1 API - Class GitConfig.Types.HttpConfig (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.15.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.14.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.13.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.12.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.11.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.10.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.9.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.8.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.7.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.6.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.5.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.4.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.3.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.2.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.1.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.0.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.4.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.3.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.2.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.1.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.0.0/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig) \n\n public sealed class GitConfig.Types.HttpConfig : IMessage\u003cGitConfig.Types.HttpConfig\u003e, IEquatable\u003cGitConfig.Types.HttpConfig\u003e, IDeepCloneable\u003cGitConfig.Types.HttpConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v1 API class GitConfig.Types.HttpConfig.\n\nHttpConfig is a configuration for HTTP related git operations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GitConfig.Types.HttpConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GitConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig)[Types](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types)[HttpConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GitConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig)[Types](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types)[HttpConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GitConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig)[Types](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types)[HttpConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig), [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.V1](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V1.dll\n\nConstructors\n------------\n\n### HttpConfig()\n\n public HttpConfig()\n\n### HttpConfig(HttpConfig)\n\n public HttpConfig(GitConfig.Types.HttpConfig other)\n\nProperties\n----------\n\n### ProxySecretVersionName\n\n public string ProxySecretVersionName { get; set; }\n\nSecretVersion resource of the HTTP proxy URL. The Service Account used in\nthe build (either the default Service Account or\nuser-specified Service Account) should have\n`secretmanager.versions.access` permissions on this secret. The proxy URL\nshould be in format `[protocol://][user[:password]@]proxyhost[:port]`.\n\n### ProxySecretVersionNameAsSecretVersionName\n\n public SecretVersionName ProxySecretVersionNameAsSecretVersionName { get; set; }\n\n[SecretVersionName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.SecretVersionName)-typed view over the [ProxySecretVersionName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.GitConfig.Types.HttpConfig#Google_Cloud_CloudBuild_V1_GitConfig_Types_HttpConfig_ProxySecretVersionName) resource\nname property."]]