Google Cloud Build V2 Client - Class ListConnectionsRequest (0.9.0)

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

setParent

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

Format: projects/*/locations/*.

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

Page start.

Returns
TypeDescription
string

setPageToken

Page start.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Build\V2\ListConnectionsRequest