Google Cloud Discovery Engine V1beta Client - Class ListTargetSitesResponse (0.11.2)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ListTargetSitesResponse.

Response message for SiteSearchEngineService.ListTargetSites method.

Generated from protobuf message google.cloud.discoveryengine.v1beta.ListTargetSitesResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ target_sites array<Google\Cloud\DiscoveryEngine\V1beta\TargetSite>

List of TargetSites.

↳ next_page_token string

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

↳ total_size int

The total number of items matching the request. This will always be populated in the response.

getTargetSites

List of TargetSites.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetSites

List of TargetSites.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1beta\TargetSite>
Returns
Type Description
$this

getNextPageToken

A token that 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 that 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

getTotalSize

The total number of items matching the request.

This will always be populated in the response.

Returns
Type Description
int

setTotalSize

The total number of items matching the request.

This will always be populated in the response.

Parameter
Name Description
var int
Returns
Type Description
$this