> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFGroupsUpdateGroupRoleRequest

> PFGroupsUpdateGroupRoleRequest データ モデル。ロール名を更新します。更新が成功したかどうかに関する情報を返します。

PFGroupsUpdateGroupRoleRequest データ モデル。ロール名を更新します。更新が成功したかどうかに関する情報を返します。

## 構文

```cpp theme={null}
typedef struct PFGroupsUpdateGroupRoleRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    int32_t const* expectedProfileVersion;  
    PFEntityKey const* group;  
    const char* roleId;  
    const char* roleName;  
} PFGroupsUpdateGroupRoleRequest;  
```

### メンバー

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(省略可能) リクエストに関連付けられた省略可能なカスタム タグ (例: ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数。

**`expectedProfileVersion`**   int32\_t const\*<br />*may be nullptr*

(省略可能) 同時実行制御に使用される省略可能なフィールド。GetGroup API から以前に返された ProfileVersion の値を指定することで、最後に読み込んだバージョン以降にグループが他のクライアントによって更新されていない場合に限り、グループ データの更新が実行されるようにできます。

**`group`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

グループの識別子。

**`roleId`**   const char\*<br />*is null-terminated*

(省略可能) 更新するロールの ID。ロール ID は 1 ～ 64 文字である必要があります。

**`roleName`**   const char\*<br />*is null-terminated*

ロールの新しい名前。

## 要件

**ヘッダー:** PFGroupsTypes.h

## 関連項目

[PFGroupsTypes のメンバー](/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members)


## Related topics

- [PFGroupsUpdateRoleAsync](/ja-jp/services/playfab/api-references/c/pfgroups/functions/pfgroupsupdateroleasync.md)
- [Services C API overview - PFGroupsTypes.h](/ja-jp/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [PFGroupsUpdateGroupRequest](/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsupdategrouprequest.md)
- [PFGroupsUpdateGroupRoleResponse](/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsupdategrouproleresponse.md)
- [PFGroupsCreateGroupRoleRequest](/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupscreategrouprolerequest.md)
