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

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

Message for requesting list of Repositories.

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

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 Repositories. Format: projects/*/locations/*/connections/*.

↳ page_size int

Number of results to return in the list.

↳ page_token string

Page start.

↳ filter string

A filter expression that filters resources listed in the response. Expressions must follow API improvement proposal AIP-160. e.g. remote_uri:"https://github.com*".

getParent

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

Format: projects/*/locations/*/connections/*.

Returns
Type Description
string

setParent

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

Format: projects/*/locations/*/connections/*.

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

getFilter

A filter expression that filters resources listed in the response.

Expressions must follow API improvement proposal AIP-160. e.g. remote_uri:"https://github.com*".

Returns
Type Description
string

setFilter

A filter expression that filters resources listed in the response.

Expressions must follow API improvement proposal AIP-160. e.g. remote_uri:"https://github.com*".

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

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

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