Class FetchGitRefsRequest (3.19.0)

FetchGitRefsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for fetching git refs

Attributes

NameDescription
repository str
Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.
ref_type google.cloud.devtools.cloudbuild_v2.types.FetchGitRefsRequest.RefType
Type of refs to fetch

Classes

RefType

RefType(value)

Type of refs

Values: REF_TYPE_UNSPECIFIED (0): No type specified. TAG (1): To fetch tags. BRANCH (2): To fetch branches.