Source
Stay organized with collections
Save and categorize content based on your preferences.
Used to represent a set of source files.
JSON representation |
{
"files": [
{
object (File )
}
]
} |
Fields |
files[] |
object (File )
Required. The files that comprise the source set.
|
File
JSON representation |
{
"path": string,
"content": string
} |
Fields |
path |
string
Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).
|
content |
string
Required. The file's textual content.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# Source\n\nUsed to represent a set of source files.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------|\n| ``` { \"files\": [ { object (/docs/reference/data-connect/rest/v1beta/Source#File) } ] } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------|\n| `files[]` | `object (`[File](/docs/reference/data-connect/rest/v1beta/Source#File)`)` Required. The files that comprise the source set. |\n\nFile\n----\n\nIndividual files.\n\n| JSON representation |\n|-----------------------------------------------|\n| ``` { \"path\": string, \"content\": string } ``` |\n\n| Fields ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `path` | `string` Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema\\|connector)/\\*.gql) and not an absolute path (e.g. /absolute/path/(schema\\|connector)/\\*.gql). |\n| `content` | `string` Required. The file's textual content. |"]]