Resource: Source
An input source of data for a session.
JSON representation |
---|
{ "name": string, "id": string, // Union field |
Fields | |
---|---|
name |
Identifier. The full resource name (e.g., "sources/{source}"). |
id |
Output only. The id of the source. This is the same as the "{source}" part of the resource name (e.g., "sources/{source}"). |
Union field source . The input data source. source can be only one of the following: |
|
githubRepo |
A GitHub repo. |
GitHubRepo
A GitHub repo.
JSON representation |
---|
{ "owner": string, "repo": string, "isPrivate": boolean, "defaultBranch": { object ( |
Fields | |
---|---|
owner |
The owner of the repo; the |
repo |
The name of the repo; the |
isPrivate |
Whether this repo is private. |
defaultBranch |
The default branch for this repo. |
branches[] |
The list of active branches for this repo. |
GitHubBranch
A GitHub branch.
JSON representation |
---|
{ "displayName": string } |
Fields | |
---|---|
displayName |
The name of the GitHub branch. |
Methods |
|
---|---|
|
Gets a single source. |
|
Lists sources. |