Google ドキュメント、Google スプレッドシート、Google スライドのリビジョンを公開するには、revisions リソースでそのファイルの published プロパティを設定します。Drive API を使用して Google サイトのリビジョンにこのプロパティを設定することはできません。
Google スライドと Google ドローでは、特定のリビジョンの公開はサポートされていません。最新のリビジョンの自動再公開のみがサポートされています。スライドと図形描画を公開するには、publishAuto を true に設定します。
ファイルが Google Workspace ドメインで作成された場合、publishedOutsideDomain プロパティは、リビジョンに誰でもアクセスできるかどうか、またはドメインのユーザーに限定されているかどうかを示します。Sites ファイルの場合、このプロパティは type=anyone 権限が存在するかどうかを示します。
[[["わかりやすい","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`."]]],[]]