Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::FetchGitRepositoryLinkCommitRequest.
Request message for FetchGitRepositoryLinkCommit.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#commit_sha
def commit_sha() -> ::String
Returns
- (::String) — Required. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference).
#commit_sha=
def commit_sha=(value) -> ::String
Parameter
- value (::String) — Required. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference).
Returns
- (::String) — Required. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference).
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
-
(::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#path_filters
def path_filters() -> ::Array<::String>
Returns
-
(::Array<::String>) — Optional. Path patterns or exact paths to filter returned files (only
applicable in
FULLview). Whenpath_filtersis specified,FileDiff.patchis populated for all matching files (use["**"]to include patches for all changed files). Whenpath_filtersis omitted or empty, the full list ofFileDiffis returned without patch diffs (FileDiff.patchis empty).
#path_filters=
def path_filters=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Optional. Path patterns or exact paths to filter returned files (only
applicable in
FULLview). Whenpath_filtersis specified,FileDiff.patchis populated for all matching files (use["**"]to include patches for all changed files). Whenpath_filtersis omitted or empty, the full list ofFileDiffis returned without patch diffs (FileDiff.patchis empty).
Returns
-
(::Array<::String>) — Optional. Path patterns or exact paths to filter returned files (only
applicable in
FULLview). Whenpath_filtersis specified,FileDiff.patchis populated for all matching files (use["**"]to include patches for all changed files). Whenpath_filtersis omitted or empty, the full list ofFileDiffis returned without patch diffs (FileDiff.patchis empty).
#view
def view() -> ::Google::Cloud::DeveloperConnect::V1::CommitView
Returns
-
(::Google::Cloud::DeveloperConnect::V1::CommitView) — Optional. The level of commit details to return in the response.
Defaults to
FULLif unspecified. InFULLview,filesmetadata (paths and statuses) are returned;path_filtersmust also be specified to populate line patch hunks.
#view=
def view=(value) -> ::Google::Cloud::DeveloperConnect::V1::CommitView
Parameter
-
value (::Google::Cloud::DeveloperConnect::V1::CommitView) — Optional. The level of commit details to return in the response.
Defaults to
FULLif unspecified. InFULLview,filesmetadata (paths and statuses) are returned;path_filtersmust also be specified to populate line patch hunks.
Returns
-
(::Google::Cloud::DeveloperConnect::V1::CommitView) — Optional. The level of commit details to return in the response.
Defaults to
FULLif unspecified. InFULLview,filesmetadata (paths and statuses) are returned;path_filtersmust also be specified to populate line patch hunks.