Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ListTargetProjectsRequest.
Request message for 'ListTargetProjects' call.
Generated from protobuf messagegoogle.cloud.vmmigration.v1.ListTargetProjectsRequest
Namespace
Google \ Cloud \ VMMigration \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent, which owns this collection of targets.
↳ page_size
int
Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
↳ page_token
string
Required. A page token, received from a previousListTargetscall. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListTargetsmust match the call that provided the page token.
↳ filter
string
Optional. The filter request.
↳ order_by
string
Optional. the order by fields for the result.
getParent
Required. The parent, which owns this collection of targets.
Returns
Type
Description
string
setParent
Required. The parent, which owns this collection of targets.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. The maximum number of targets to return. The service may return
fewer than this value. If unspecified, at most 500 targets will be
returned. The maximum value is 1000; values above 1000 will be coerced to
1000.
Returns
Type
Description
int
setPageSize
Optional. The maximum number of targets to return. The service may return
fewer than this value. If unspecified, at most 500 targets will be
returned. The maximum value is 1000; values above 1000 will be coerced to
1000.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Required. A page token, received from a previousListTargetscall.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided toListTargetsmust
match the call that provided the page token.
Returns
Type
Description
string
setPageToken
Required. A page token, received from a previousListTargetscall.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided toListTargetsmust
match the call that provided the page token.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. The filter request.
Returns
Type
Description
string
setFilter
Optional. The filter request.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOrderBy
Optional. the order by fields for the result.
Returns
Type
Description
string
setOrderBy
Optional. the order by fields for the result.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent, which owns this collection of targets. Please seeVmMigrationClient::locationName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Vm Migration V1 Client - Class ListTargetProjectsRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-vm-migration/latest/V1.ListTargetProjectsRequest)\n- [1.0.4](/php/docs/reference/cloud-vm-migration/1.0.4/V1.ListTargetProjectsRequest)\n- [0.6.5](/php/docs/reference/cloud-vm-migration/0.6.5/V1.ListTargetProjectsRequest)\n- [0.5.2](/php/docs/reference/cloud-vm-migration/0.5.2/V1.ListTargetProjectsRequest)\n- [0.4.2](/php/docs/reference/cloud-vm-migration/0.4.2/V1.ListTargetProjectsRequest)\n- [0.3.2](/php/docs/reference/cloud-vm-migration/0.3.2/V1.ListTargetProjectsRequest)\n- [0.2.3](/php/docs/reference/cloud-vm-migration/0.2.3/V1.ListTargetProjectsRequest) \nReference documentation and code samples for the Google Cloud Vm Migration V1 Client class ListTargetProjectsRequest.\n\nRequest message for 'ListTargetProjects' call.\n\nGenerated from protobuf message `google.cloud.vmmigration.v1.ListTargetProjectsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VMMigration \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent, which owns this collection of targets.\n\n### setParent\n\nRequired. The parent, which owns this collection of targets.\n\n### getPageSize\n\nOptional. The maximum number of targets to return. The service may return\nfewer than this value. If unspecified, at most 500 targets will be\nreturned. The maximum value is 1000; values above 1000 will be coerced to\n1000.\n\n### setPageSize\n\nOptional. The maximum number of targets to return. The service may return\nfewer than this value. If unspecified, at most 500 targets will be\nreturned. The maximum value is 1000; values above 1000 will be coerced to\n1000.\n\n### getPageToken\n\nRequired. A page token, received from a previous `ListTargets` call.\n\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListTargets` must\nmatch the call that provided the page token.\n\n### setPageToken\n\nRequired. A page token, received from a previous `ListTargets` call.\n\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListTargets` must\nmatch the call that provided the page token.\n\n### getFilter\n\nOptional. The filter request.\n\n### setFilter\n\nOptional. The filter request.\n\n### getOrderBy\n\nOptional. the order by fields for the result.\n\n### setOrderBy\n\nOptional. the order by fields for the result.\n\n### static::build"]]