Google Cloud Deploy V1 Client - Class ListTargetsResponse (2.0.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

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setTargets

The Target objects.

Parameter
Name Description
var array<Google\Cloud\Deploy\V1\Target>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this