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

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

Request message for CreateUserGroup RPC.

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

Namespace

Google \ Ads \ MarketingPlatform \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this UserGroup will be created. Format: organizations/{org_id}

↳ user_group UserGroup

Required. The user group to create.

getParent

Required. The parent resource where this UserGroup will be created.

Format: organizations/{org_id}

Returns
Type Description
string

setParent

Required. The parent resource where this UserGroup will be created.

Format: organizations/{org_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getUserGroup

Required. The user group to create.

Returns
Type Description
UserGroup|null

hasUserGroup

clearUserGroup

setUserGroup

Required. The user group to create.

Parameter
Name Description
var UserGroup
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this UserGroup will be created. Format: organizations/{org_id} Please see MarketingplatformAdminServiceClient::organizationName() for help formatting this field.

userGroup UserGroup

Required. The user group to create.

Returns
Type Description
CreateUserGroupRequest