Google Cloud Build V2 Client - Class ListRepositoriesRequest (0.8.0)

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

setParent

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

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

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

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

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