Google Ads Marketing Platform Admin V1alpha Client - Class ListUserGroupsResponse (0.6.0)

Reference documentation and code samples for the Google Ads Marketing Platform Admin V1alpha Client class ListUserGroupsResponse.

Response message for ListUserGroups RPC.

Generated from protobuf message google.marketingplatform.admin.v1alpha.ListUserGroupsResponse

Namespace

Google \ Ads \ MarketingPlatform \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user_groups array<UserGroup>

User groups in the organization.

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

getUserGroups

User groups in the organization.

Returns
Type Description
Google\Protobuf\RepeatedField<UserGroup>

setUserGroups

User groups in the organization.

Parameter
Name Description
var array<UserGroup>
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