Google Cloud Developer Connect V1 Client - Class FetchGitRepositoryLinkCommitListResponse (0.9.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchGitRepositoryLinkCommitListResponse.

Response message for FetchGitRepositoryLinkCommitList.

Generated from protobuf message google.cloud.developerconnect.v1.FetchGitRepositoryLinkCommitListResponse

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ commits array<SCMCommit>

The list of commit metadata.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getCommits

The list of commit metadata.

Returns
Type Description
Google\Protobuf\RepeatedField<SCMCommit>

setCommits

The list of commit metadata.

Parameter
Name Description
var array<SCMCommit>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this