Cloud Build v2 API - Class FetchGitRefsRequest (1.4.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
Name Description
other FetchGitRefsRequest

Properties

RefType

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

Type of refs to fetch

Property Value
Type Description
FetchGitRefsRequestTypesRefType

Repository

public string Repository { get; set; }

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

Property Value
Type Description
string

RepositoryAsRepositoryName

public RepositoryName RepositoryAsRepositoryName { get; set; }

RepositoryName-typed view over the Repository resource name property.

Property Value
Type Description
RepositoryName