Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::FetchGitRefsRequest.
Request for fetching git refs
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ref_type
def ref_type() -> ::Google::Cloud::Build::V2::FetchGitRefsRequest::RefType
Returns
- (::Google::Cloud::Build::V2::FetchGitRefsRequest::RefType) — Type of refs to fetch
#ref_type=
def ref_type=(value) -> ::Google::Cloud::Build::V2::FetchGitRefsRequest::RefType
Parameter
- value (::Google::Cloud::Build::V2::FetchGitRefsRequest::RefType) — Type of refs to fetch
Returns
- (::Google::Cloud::Build::V2::FetchGitRefsRequest::RefType) — Type of refs to fetch
#repository
def repository() -> ::String
Returns
-
(::String) — Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
#repository=
def repository=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
Returns
-
(::String) — Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.