2012-12-12 1 views
2

(https://developers.google.com/drive/v2/reference/files/insert)는 다음 코드 조각이있다. 나는 에 대한 google-api-php-client을 접했습니다. ParentReference. 그것은이다ParentReference 또는 Google 문서에서 Google_ParentReference

lib: grep -R ParentReference ./ | grep class 
.../Google_DriveService.php:class Google_ParentReference extends Google_Model { 

는이에 * Google_ParentReference *의 이름이 어떤 접두사 "GOOGLE_"추가 ParentReference가있는 것 같다.

내 결론이 옳습니까? 내가 이해할 수없는 다른 것이 있습니까?

답변

4

네, 맞습니다.

당신이 확인할 수 PHP에 대한 SDK 최신을 다운로드 할 수 있습니다 경우 거의 모든 클래스는 접두사 GOOGLE_ 있습니다.

예를 들어 \src\contrib\Google_DriveService.php 폴더에 Google_ParentReference의 정의가 있습니다.

도 확인하십시오. Parents: insert (Google 드라이브 SDK).