Google Cloud Build V2 Client - Class ListConnectionsRequest (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Build V2 Client class ListConnectionsRequest.

Message for requesting list of Connections.

Generated from protobuf message google.devtools.cloudbuild.v2.ListConnectionsRequest

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of Connections. Format: projects/*/locations/*.

↳ page_size int

Number of results to return in the list.

↳ page_token string

Page start.

getParent

Required. The parent, which owns this collection of Connections.

Format: projects/*/locations/*.

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of Connections.

Format: projects/*/locations/*.

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

Page start.

Returns
Type Description
string

setPageToken

Page start.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent, which owns this collection of Connections. Format: projects/*/locations/*. Please see Google\Cloud\Build\V2\RepositoryManagerClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\Build\V2\ListConnectionsRequest