Google Docs, Google Sheets, Google Slides 버전을 게시하려면 revisions 리소스에서 해당 파일의 published 속성을 설정하세요. Drive API를 사용하는 Google Sites 버전에는 이 속성을 설정할 수 없습니다.
Google Slides 및 Google Drawings에서는 특정 버전의 게시를 지원하지 않습니다. 최신 버전의 자동 재게시만 지원됩니다. Slides 및 Drawings를 게시하려면 publishAuto를 true로 설정합니다.
파일이 Google Workspace 도메인에서 생성된 경우 publishedOutsideDomain 속성은 누구나 버전에 액세스할 수 있는지 또는 도메인 사용자로 제한되어 있는지를 나타냅니다. 사이트 파일의 경우 이 속성은 type=anyone 권한이 있는지 여부를 나타냅니다.
publishAuto 속성이 설정되지 않으면 게시된 버전에는 파일에 적용된 변경사항이 반영되지 않습니다. 이 속성이 true로 설정되면 파일의 최신 버전이 자동으로 게시되어 이전 버전을 덮어씁니다.
이 동작은 Drive UI의 '변경사항이 있으면 자동으로 다시 게시' 체크박스에서도 제어할 수 있습니다. 슬라이드 및 그림은 자동 재게시만 지원하며 publishAuto 속성을 true로 설정해야 합니다. Sites 파일의 경우 publishAuto는 항상 false입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[[["Google Drive API allows you to download and publish specific file revisions using the `revisions` resource."],["You can prevent Google Drive from automatically deleting older revisions by setting the `keepRevisionForever` flag to `true`."],["To download the latest revision of a file, utilize the `files.download` method."],["For Google Docs, Sheets, and Slides, publish a revision by setting the `published` property within the `revisions` resource, while Slides and Drawings require `publishAuto` set to `true` for automatic republishing of the latest revision."],["Published revisions are overwritten by newer ones if `publishAuto` is enabled, except for Sites files where `publishAuto` is always `false`."]]],[]]