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

# 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](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*nullptr の場合があります*

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

**`customTagsCount`**   uint32\_t

customTags の数

**`forceLink`**   bool const\*<br />*nullptr の場合があります*

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

**`serverAuthCode`**   const char\*<br />*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 のメンバー](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)
