Cloud Build v2 API - Class FetchGitRefsRequest (1.2.0)

public sealed class FetchGitRefsRequest : IMessage<FetchGitRefsRequest>, IEquatable<FetchGitRefsRequest>, IDeepCloneable<FetchGitRefsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v2 API class FetchGitRefsRequest.

Request for fetching git refs

Inheritance

object > FetchGitRefsRequest

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

FetchGitRefsRequest()

public FetchGitRefsRequest()

FetchGitRefsRequest(FetchGitRefsRequest)

public FetchGitRefsRequest(FetchGitRefsRequest other)
Parameter
NameDescription
otherFetchGitRefsRequest

Properties

RefType

public FetchGitRefsRequest.Types.RefType RefType { get; set; }

Type of refs to fetch

Property Value
TypeDescription
FetchGitRefsRequestTypesRefType

Repository

public string Repository { get; set; }

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

Property Value
TypeDescription
string

RepositoryAsRepositoryName

public RepositoryName RepositoryAsRepositoryName { get; set; }

RepositoryName-typed view over the Repository resource name property.

Property Value
TypeDescription
RepositoryName