LoginSignup
3
2

More than 5 years have passed since last update.

GASドキュメント対訳: Collaborating with Other Developers

Posted at

developersドキュメントの対訳です。

  • 用途
    • google apps scriptを複数人で共有する・共同作業する場合

Collaborating with Other Developers - 他の開発者と共同作業する

Sharing a project - プロジェクトを共有する

This section focuses on sharing and collaboration. To learn how to share only the functionality of the project, see Managing Libraries.

このセクションは、共有と共同作業に焦点を当てる。プロジェクトの機能のみの共有方法を知りたい場合は、ライブラリ管理を見てね。

Standalone projects show up in your Google Drive as a file and you can share them like any other file. For more information, see Sharing files and folders.

単独の(standalone)プロジェクトは、google drive 上にファイルとして表示されるし、他のファイルと同様に共有できる。もっと知りたい場合は、ファイルとフォルダの共有を見てね。

Container-bound projects are not visible from your Google Drive and have unique set of rules around sharing. To share a container-bound project, you simply share the parent container. For example, if you have a Spreadsheet-bound script, you would make someone an editor of the script by making them an editor of the Spreadsheet. By default, the permission and visibility settings set to container will be inherited by all the projects within that container. Another way is to share it by manually configuring the permissions and visibility for that project. For more information, see the next section.

コンテナ固有の(訳注:コンテナとは、sheets,docs,formsといったdrive上のファイルのこと)プロジェクトは、google drive上からは見えず、共有に独自の規則がある。
コンテナ固有のプロジェクトを共有するには、単にその親のコンテナ(=ファイル)を共有すればよい。たとえば、スプレッドシート固有のscriptを持っていて、誰かを編集者にしたいなら、その人をそのスプレッドシートの編集者にする。デフォルトでは、コンテナに対する許可と閲覧の設定は、そのコンテナの中のプロジェクトすべてに継承される。

Note: For container-bound scripts created prior to June 8, 2012, the Share button will remain and any project-specific sharing settings will be preserved if the checkbox to "Allow document collaborators to edit project" or "Allow site collaborators and owners to edit project" was not selected for that script. In this case, if you click the Share button, you'll see an option to upgrade to the simplified sharing model described above for those projects.

注釈:2012/6/8以降に作られたコンテナ固有のscriptでは、共有ボタンが残っていて、プロジェクト固有の共有設定は、保存される。(訳注:古いもの対象なので以下略)

Sharing a project by its container inheritance - コンテナからの継承によってプロジェクトを共有する

Open the container that has your project
Click Share
Configure the permissions and the visibility for the container
Click Save to share the container and all the projects that it has

  1. プロジェクトを持ったコンテナ(=ファイル)を開き
  2. 共有をクリック
  3. そのコンテナに対する許可と閲覧を設定
  4. 保存をクリックすると、コンテナとそのコンテナが持つすべてのプロジェクトが共有される

Note: Some of the project resources cannot be shared. For more information, see the section below

注釈:プロジェクトのリソースのうちいくつかは、共有されない。詳細は以下を見てね

Sharing and project resources - プロジェクトのリソースと共有

Resources are entities that are associated with your project but exist independently of its code. This section explains how sharing a project affects its resources, in particular: triggers, libraries, and user properties.

リソースは、あなたのプロジェクトに関連づけられた実体であるが、そのコードとは独立して存在している。この章では、プロジェクトを共有することにより、そのリソース(特にトリガー、ライブラリ、ユーザープロパティ)にどう影響するかを説明する。

Sharing and triggers - 共有とトリガー

When you share a project, any installable triggers that you have created are not shared with those who have access to your project. If you plan to do any collaboration, use Script Service to create triggers programmatically, at run time. For more information, see Managing Triggers Programmatically.

プロジェクトを共有すると、あなたが作成したインストール可能なトリガーは、あなたのプロジェクトにアクセス権を持つ人に共有されない。あなたが共同作業をしたいなら、ScriptServiceを用いて、実行時に、プログラム的にトリガーを作成してください。(訳注:ちょっと不安)。さらなる情報は、プログラム的なトリガーの管理を見てね

Note: Since simple triggers are created from code, they are shared with project collaborators.

注釈:単純なトリガーがコードから生成されるので、それらはプロジェクトの共同作業者に共有される。

Sharing and libraries - 共有とライブラリ

Libraries included in your project are shared with project collaborators. Though, if they do not have at least read-level access to an included library they are unable to use those libraries and will encounter an error if they attempt to do so. For more information about libraries, see Managing Libraries.

あなたのプロジェクトに含まれているライブラリは、プロジェクトの共同作業者に共有されます。しかし、もし共同編集者たちが、含まれているライブラリに対して少なくともreadアクセスを持っていないと、そのライブラリを使えないし、使おうとするとエラーに遭遇します。ライブラリについてのさらなる情報は、ライブラリを管理するを見てね

Sharing and user properties - 共有とユーザープロパティ

User properties are unique to a user that created them. This means that the project collaborators are unable to see or access your user properties and you are unable to see or access theirs. Use script properties if you want to share project specific properties with the collaborators. For more information, see Using Script and User Properties.

ユーザープロパティは、それを作成した人に独自なものです。このことは、プロジェクトの共同作業者は、あなたのユーザープロパティにアクセスできないことを示していて、他方あなたは、彼らのユーザープロパティにアクセスできません。プロジェクト固有のプロパティを共同作業者と共有したいなら、scriptプロパティを使用してください。さらなる情報は、scriptプロパティとユーザープロパティを利用する、を見てね

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2