Defines the location for storing an artifact, such as generated IaC.
| JSON representation |
|---|
{ // Union field |
location
. Specifies the type of destination for the artifact. location
can be only one of the following:developerConnectExportConfig
object (
DeveloperConnectExportConfig
)
Optional. Source Code Management(SCM) config for storing the content, such as generated IaC. Supports sources integrated with Developer Connect like GitHub, GitHub Enterprise, GitLab, and Bitbucket.
gcsUri
string
Optional. The Cloud Storage URI for storing the generated IaC.
DeveloperConnectExportConfig
Through Developer Connect, defines a location where content such as Infrastructure as Code (IaC) is stored.
| JSON representation |
|---|
{ "developerConnectRepoUri" : string , "branch" : string , "dir" : string , "commitSha" : string } |
| Fields | |
|---|---|
developerConnectRepoUri
|
Required. The Developer Connect Git repository link, formatted as |
branch
|
Optional. The branch in repo to which the content such as Infrastructure as Code (IaC) should be written to. If empty, ADC will create a branch and push the changes. |
dir
|
Required. Directory, relative to the source repo, where content such as Infrastructure as Code (IaC) will be stored. This must be a relative path.To specify the root directory, use '/'. If the path or any subdirectories do not exist, they will be created. |
commitSha
|
Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC). |

