Google Cloud Deploy V1 Client - Class ListTargetsResponse (1.5.1)

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