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

# PFAccountManagementLinkGoogleAccountRequest

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

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

## 構文

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

### メンバー

**`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 から getServerAuthCode() ([https://developers.google.com/identity/sign-in/android/offline-access](https://developers.google.com/identity/sign-in/android/offline-access)) を呼び出して取得したサーバー認証コードです。

## 要件

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

## 関連項目

[PFAccountManagementTypes のメンバー](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientLinkGoogleAccountAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkgoogleaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementLinkGooglePlayGamesServicesAccountRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkgoogleplaygamesservicesaccountrequest.md)
- [PFAccountManagementClientLinkGooglePlayGamesServicesAccountAsync](/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkgoogleplaygamesservicesaccountasync.md)
- [PFAccountManagementUnlinkGoogleAccountRequest](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkgoogleaccountrequest.md)
