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

# PFAccountManagementClientLinkGooglePlayGamesServicesAccountAsync

> 현재 로그인한 사용자 계정을 Google Play Games 계정 자격 증명을 사용하여 해당 Google Play Games 계정에 연결합니다

현재 로그인한 사용자 계정을 Google Play Games 계정 자격 증명을 사용하여 해당 Google Play Games 계정에 연결합니다

## 구문

```cpp theme={null}
HRESULT PFAccountManagementClientLinkGooglePlayGamesServicesAccountAsync(  
    PFEntityHandle entityHandle,  
    const PFAccountManagementLinkGooglePlayGamesServicesAccountRequest* request,  
    XAsyncBlock* async  
)  
```

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

**`request`**   [PFAccountManagementLinkGooglePlayGamesServicesAccountRequest\*](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkgoogleplaygamesservicesaccountrequest)

채워진 요청 개체입니다.

**`async`**   XAsyncBlock\*<br />*Inout*

비동기 작업을 위한 XAsyncBlock입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다.

## 설명

This API is available on Win32, Linux, Android, and macOS. Google Play Games sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google Play Games sign-in for Android APIs on the device and passing it to this API. 참고: ClientLoginWithGooglePlayGamesServicesAsync, ClientUnlinkGooglePlayGamesServicesAccountAsync. 작업의 상태를 가져오려면 XAsyncGetStatus를 호출합니다. 서비스 호출이 실패하면 비동기 결과는 E\_PF\_ACCOUNT\_ALREADY\_LINKED, E\_PF\_GOOGLE\_O\_AUTH\_ERROR, E\_PF\_GOOGLE\_O\_AUTH\_NOT\_CONFIGURED\_FOR\_TITLE, E\_PF\_INVALID\_GOOGLE\_PLAY\_GAMES\_SERVER\_AUTH\_CODE, E\_PF\_INVALID\_GOOGLE\_TOKEN, E\_PF\_LINKED\_ACCOUNT\_ALREADY\_CLAIMED 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 "Handling PlayFab Errors" 문서 페이지를 참조하세요.

## 요구 사항

**헤더:** PFAccountManagement.h

## 참고 항목

[PFAccountManagement 멤버](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [Services C API 개요 - PFAccountManagement.h](/ko/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientLinkGoogleAccountAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkgoogleaccountasync.md)
- [PFAccountManagementClientUnlinkGooglePlayGamesServicesAccountAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkgoogleplaygamesservicesaccountasync.md)
- [PFAccountManagementClientUnlinkGoogleAccountAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkgoogleaccountasync.md)
- [PFAccountManagementLinkGooglePlayGamesServicesAccountRequest](/ko/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkgoogleplaygamesservicesaccountrequest.md)
