Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::FetchGitRepositoryLinkCommitRequest (v1.9.0)

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 FULL view). When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is 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 FULL view). When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is empty).
Returns
  • (::Array<::String>) — Optional. Path patterns or exact paths to filter returned files (only applicable in FULL view). When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is 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 FULL if unspecified. In FULL view, files metadata (paths and statuses) are returned; path_filters must 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 FULL if unspecified. In FULL view, files metadata (paths and statuses) are returned; path_filters must 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 FULL if unspecified. In FULL view, files metadata (paths and statuses) are returned; path_filters must also be specified to populate line patch hunks.