Reference documentation and code samples for the Google Ads Marketing Platform Admin V1alpha Client class UpdateUserGroupRequest.
Request message for UpdateUserGroup RPC.
Generated from protobuf message google.marketingplatform.admin.v1alpha.UpdateUserGroupRequest
Namespace
Google \ Ads \ MarketingPlatform \ Admin \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user_group |
UserGroup
Required. The user group to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
getUserGroup
Required. The user group to update.
| Returns | |
|---|---|
| Type | Description |
UserGroup|null |
|
hasUserGroup
clearUserGroup
setUserGroup
Required. The user group to update.
| Parameter | |
|---|---|
| Name | Description |
var |
UserGroup
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
userGroup |
UserGroup
Required. The user group to update. |
updateMask |
Google\Protobuf\FieldMask
Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
| Returns | |
|---|---|
| Type | Description |
UpdateUserGroupRequest |
|