Google Cloud Secure Source Manager V1 Client - Class ListRepositoriesRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class ListRepositoriesRequest.

ListRepositoriesRequest is request to list repositories.

Generated from protobuf message google.cloud.securesourcemanager.v1.ListRepositoriesRequest

Namespace

Google \ Cloud \ SecureSourceManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent value for ListRepositoriesRequest.

↳ page_size int

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

↳ page_token string

A token identifying a page of results the server should return.

↳ filter string

Optional. Filter results.

↳ instance string

Optional. The name of the instance in which the repository is hosted, formatted as projects/{project_number}/locations/{location_id}/instances/{instance_id}. When listing repositories via securesourcemanager.googleapis.com (Control Plane API), this field is required. When listing repositories via *.sourcemanager.dev (Data Plane API), this field is ignored.

getParent

Required. Parent value for ListRepositoriesRequest.

Returns
Type Description
string

setParent

Required. Parent value for ListRepositoriesRequest.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

Returns
Type Description
int

setPageSize

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

A token identifying a page of results the server should return.

Returns
Type Description
string

setPageToken

A token identifying a page of results the server should return.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. Filter results.

Returns
Type Description
string

setFilter

Optional. Filter results.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

Optional. The name of the instance in which the repository is hosted, formatted as projects/{project_number}/locations/{location_id}/instances/{instance_id}.

When listing repositories via securesourcemanager.googleapis.com (Control Plane API), this field is required. When listing repositories via *.sourcemanager.dev (Data Plane API), this field is ignored.

Returns
Type Description
string

setInstance

Optional. The name of the instance in which the repository is hosted, formatted as projects/{project_number}/locations/{location_id}/instances/{instance_id}.

When listing repositories via securesourcemanager.googleapis.com (Control Plane API), this field is required. When listing repositories via *.sourcemanager.dev (Data Plane API), this field is ignored.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Parent value for ListRepositoriesRequest. Please see Google\Cloud\SecureSourceManager\V1\SecureSourceManagerClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\SecureSourceManager\V1\ListRepositoriesRequest