Google Cloud Secure Source Manager V1 Client - Class ListRepositoriesRequest (1.8.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. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.

↳ page_token string

Optional. 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, this field is required. When listing repositories via *.sourcemanager.dev, 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. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.

Returns
Type Description
int

setPageSize

Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

Optional. 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, this field is required. When listing repositories via *.sourcemanager.dev, 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, this field is required. When listing repositories via *.sourcemanager.dev, 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 SecureSourceManagerClient::locationName() for help formatting this field.

Returns
Type Description
ListRepositoriesRequest