Google Cloud Build V1 Client - Class ListBuildTriggersRequest (0.16.3)

Reference documentation and code samples for the Google Cloud Build V1 Client class ListBuildTriggersRequest.

Request to list existing BuildTriggers.

Generated from protobuf message google.devtools.cloudbuild.v1.ListBuildTriggersRequest

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

The parent of the collection of Triggers. Format: projects/{project}/locations/{location}

↳ project_id string

Required. ID of the project for which to list BuildTriggers.

↳ page_size int

Number of results to return in the list.

↳ page_token string

Token to provide to skip to a particular spot in the list.

getParent

The parent of the collection of Triggers.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

The parent of the collection of Triggers.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getProjectId

Required. ID of the project for which to list BuildTriggers.

Returns
Type Description
string

setProjectId

Required. ID of the project for which to list BuildTriggers.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Number of results to return in the list.

Returns
Type Description
int

setPageSize

Number of results to return in the list.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Token to provide to skip to a particular spot in the list.

Returns
Type Description
string

setPageToken

Token to provide to skip to a particular spot in the list.

Parameter
Name Description
var string
Returns
Type Description
$this