Google Cloud Build V1 Client - Class ListBuildTriggersRequest (0.15.0)

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
NameDescription
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
TypeDescription
string

setParent

The parent of the collection of Triggers.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectId

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

Returns
TypeDescription
string

setProjectId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Number of results to return in the list.

Returns
TypeDescription
int

setPageSize

Number of results to return in the list.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this