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

# PFAccountManagementLinkGooglePlayGamesServicesAccountRequest

> PFAccountManagementLinkGooglePlayGamesServicesAccountRequest データ モデル。Google Play Games のサインインは、Google OAuth 2.0 資格情報を取得することで実行されます。

PFAccountManagementLinkGooglePlayGamesServicesAccountRequest データ モデル。Google Play Games のサインインは、デバイス上で Android 向け Google Play Games サインイン API を使用して Google OAuth 2.0 資格情報を取得し、それをこの API に渡すことで実行されます。

## 構文

```cpp theme={null}
typedef struct PFAccountManagementLinkGooglePlayGamesServicesAccountRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* serverAuthCode;  
} PFAccountManagementLinkGooglePlayGamesServicesAccountRequest;  
```

### メンバー

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*nullptr の場合があります*

(オプション) 要求に関連付けられたオプションのカスタム タグです (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

**`forceLink`**   bool const\*\
*nullptr の場合があります*

(オプション) 他のユーザーが既にアカウントにリンクされている場合は、そのユーザーのリンクを解除して再リンクします。現在のユーザーが既にリンクされている場合は、両方のアカウントをリンクします。

**`serverAuthCode`**   const char\*\
*null で終端されます*

クライアント上で Google Play Games クライアント API の requestServerSideAccess() ([https://developers.google.com/games/services/android/signin](https://developers.google.com/games/services/android/signin)) を呼び出して取得した OAuth 2.0 サーバー認証コードです。

## 要件

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

## 関連項目

[PFAccountManagementTypes のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)


## Related topics

- [PFAccountManagementClientLinkGooglePlayGamesServicesAccountAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkgoogleplaygamesservicesaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementLinkGoogleAccountRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkgoogleaccountrequest.md)
- [Link Google Play Games Services Account](https://docs.xbox.com/api-reference/account-management/link-google-play-games-services-account.md)
- [PFAccountManagementUnlinkGooglePlayGamesServicesAccountRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkgoogleplaygamesservicesaccountrequest.md)
