Enum DeveloperMetadataVisibility
デベロッパーメタデータ公開設定デベロッパー メタデータの公開設定の種類の列挙型。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SpreadsheetApp.DeveloperMetadataVisibility.DOCUMENT
です。
プロパティ
プロパティ | タイプ | 説明 |
DOCUMENT | Enum | ドキュメントに表示されるメタデータには、ドキュメントへのアクセス権を持つすべてのデベロッパー プロジェクトからアクセスできます。 |
PROJECT | Enum | プロジェクトに表示されるメタデータは、メタデータを作成したデベロッパー プロジェクトにのみ表示され、アクセスできます。プロジェクトに公開されているデベロッパー メタデータをセキュリティ メカニズムとして使用したり、シークレットを保存したりしないでください。ドキュメントの閲覧権限を持つユーザーに公開できます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-02 UTC。
[null,null,["最終更新日 2024-12-02 UTC。"],[[["`DeveloperMetadataVisibility` is used to define the visibility of developer metadata within a Google document."],["There are two visibility types: `DOCUMENT` which allows any developer project with document access to view the metadata, and `PROJECT` which limits visibility to the creating project only."],["Metadata visibility should not be used for security purposes or to hide sensitive information, as it can be accessed by users with viewing permissions."]]],["Developer metadata visibility is categorized into two types: `DOCUMENT` and `PROJECT`. `DOCUMENT`-visible metadata can be accessed by any developer project with document access. `PROJECT`-visible metadata is restricted to the creating project. Project metadata should not be used for security or storing secrets, as it can be exposed to users with view access to the document. The way to use these properties is by referencing `SpreadsheetApp.DeveloperMetadataVisibility`.\n"]]