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

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setContacts

The contacts for the specified resource.

Parameter
NameDescription
var array<Google\Cloud\EssentialContacts\V1\Contact>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this