Google Cloud Migration Center V1 Client - Class ListSourcesRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ListSourcesRequest.

A request for a list of sources.

Generated from protobuf message google.cloud.migrationcenter.v1.ListSourcesRequest

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent value for ListSourcesRequest.

↳ page_size int

Requested page size. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default value.

↳ page_token string

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

↳ filter string

Filtering results.

↳ order_by string

Field to sort by. See https://google.aip.dev/132#ordering for more details.

getParent

Required. Parent value for ListSourcesRequest.

Returns
TypeDescription
string

setParent

Required. Parent value for ListSourcesRequest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size. The server may return fewer items than requested.

If unspecified, the server will pick an appropriate default value.

Returns
TypeDescription
int

setPageSize

Requested page size. The server may return fewer items than requested.

If unspecified, the server will pick an appropriate default value.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Filtering results.

Returns
TypeDescription
string

setFilter

Filtering results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Field to sort by. See https://google.aip.dev/132#ordering for more details.

Returns
TypeDescription
string

setOrderBy

Field to sort by. See https://google.aip.dev/132#ordering for more details.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Parent value for ListSourcesRequest. Please see Google\Cloud\MigrationCenter\V1\MigrationCenterClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ListSourcesRequest