Google Cloud Migration Center V1 Client - Class ListPreferenceSetsRequest (0.3.1)

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

Request for listing preference sets.

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

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 ListPreferenceSetsRequest.

↳ page_size int

Requested page size. Server may return fewer items than requested. If unspecified, at most 500 preference sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

↳ page_token string

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

↳ order_by string

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

getParent

Required. Parent value for ListPreferenceSetsRequest.

Returns
TypeDescription
string

setParent

Required. Parent value for ListPreferenceSetsRequest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, at most 500 preference sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Returns
TypeDescription
int

setPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, at most 500 preference sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

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 ListPreferenceSetsRequest. Please see Google\Cloud\MigrationCenter\V1\MigrationCenterClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ListPreferenceSetsRequest