Google Cloud Deploy V1 Client - Class ListTargetsResponse (0.5.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class ListTargetsResponse.

The response object from ListTargets.

Generated from protobuf message google.cloud.deploy.v1.ListTargetsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ targets array<Google\Cloud\Deploy\V1\Target>

The Target objects.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Locations that could not be reached.

getTargets

The Target objects.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTargets

The Target objects.

Parameter
NameDescription
var array<Google\Cloud\Deploy\V1\Target>
Returns
TypeDescription
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this