Reference documentation and code samples for the Google Cloud Deploy V1 Client class ListTargetsRequest.
The request object for ListTargets
.
Generated from protobuf message google.cloud.deploy.v1.ListTargetsRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent, which owns this collection of targets. Format must be projects/{project_id}/locations/{location_name}.
↳ page_size
int
Optional. The maximum number of Target
objects to return. The service may return fewer than this value. If unspecified, at most 50 Target
objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
↳ page_token
string
Optional. A page token, received from a previous ListTargets
call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.
↳ filter
↳ order_by
getParent
Required. The parent, which owns this collection of targets. Format must be projects/{project_id}/locations/{location_name}.
string
setParent
Required. The parent, which owns this collection of targets. Format must be projects/{project_id}/locations/{location_name}.
var
string
$this
getPageSize
Optional. The maximum number of Target
objects to return. The service may
return fewer than this value. If unspecified, at most 50 Target
objects
will be returned. The maximum value is 1000; values above 1000 will be set
to 1000.
int
setPageSize
Optional. The maximum number of Target
objects to return. The service may
return fewer than this value. If unspecified, at most 50 Target
objects
will be returned. The maximum value is 1000; values above 1000 will be set
to 1000.
var
int
$this
getPageToken
Optional. A page token, received from a previous ListTargets
call.
Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.
string
setPageToken
Optional. A page token, received from a previous ListTargets
call.
Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.
var
string
$this
getFilter
Optional. Filter targets to be returned. See https://google.aip.dev/160 for more details.
string
setFilter
Optional. Filter targets to be returned. See https://google.aip.dev/160 for more details.
var
string
$this
getOrderBy
Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
string
setOrderBy
Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
var
string
$this
static::build
parent
string
Required. The parent, which owns this collection of targets. Format must be projects/{project_id}/locations/{location_name}. Please see {@see \Google\Cloud\Deploy\V1\CloudDeployClient::locationName()} for help formatting this field.