Google Cloud Essential Contacts V1 Client - Class ListContactsResponse (0.4.5)

Reference documentation and code samples for the Google Cloud Essential Contacts V1 Client class ListContactsResponse.

Response message for the ListContacts method.

Generated from protobuf message google.cloud.essentialcontacts.v1.ListContactsResponse

Namespace

Google \ Cloud \ EssentialContacts \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ contacts array<Google\Cloud\EssentialContacts\V1\Contact>

The contacts for the specified resource.

↳ next_page_token string

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token and the rest of the parameters the same as the original request.

getContacts

The contacts for the specified resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setContacts

The contacts for the specified resource.

Parameter
Name Description
var array<Google\Cloud\EssentialContacts\V1\Contact>
Returns
Type Description
$this

getNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token and the rest of the parameters the same as the original request.

Returns
Type Description
string

setNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token and the rest of the parameters the same as the original request.

Parameter
Name Description
var string
Returns
Type Description
$this