ArtifactLocation

Defines the location for storing an artifact, such as generated IaC.

JSON representation
{

  // Union field location can be only one of the following:
  "developerConnectExportConfig": {
    object (DeveloperConnectExportConfig)
  },
  "gcsUri": string
  // End of list of possible types for union field location.
}
Fields
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

string

Required. The Developer Connect Git repository link, formatted as projects/*/locations/*/connections/*/gitRepositoryLinks/*.

branch

string

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

string

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

string

Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC).