Google Cloud Design Center V1 Client - Class IngestApplicationTemplateIaCRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class IngestApplicationTemplateIaCRequest.

Request message for IngestApplicationTemplateIaC method.

Generated from protobuf message google.cloud.designcenter.v1.IngestApplicationTemplateIaCRequest

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_uri string

Optional. The Cloud Storage URI of the terraform code.

↳ iac_module IaCModule

Optional. The IaC configuration to import.

↳ devconnect_source_config DeveloperConnectSourceConfig

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

↳ git_source GitSource

Optional. The git source.

↳ name string

Required. The name of the application template.

↳ validate_catalog_compatibility bool

Optional. If set to true, validates if the imported IaC is compatible with the catalog.

↳ raw_terraform_import_enabled bool

Optional. If set to true, imports the IaC as raw terraform and does not attempt SAT conversion.

getGcsUri

Optional. The Cloud Storage URI of the terraform code.

Returns
Type Description
string

hasGcsUri

setGcsUri

Optional. The Cloud Storage URI of the terraform code.

Parameter
Name Description
var string
Returns
Type Description
$this

getIacModule

Optional. The IaC configuration to import.

Returns
Type Description
IaCModule|null

hasIacModule

setIacModule

Optional. The IaC configuration to import.

Parameter
Name Description
var IaCModule
Returns
Type Description
$this

getDevconnectSourceConfig

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

Returns
Type Description
DeveloperConnectSourceConfig|null

hasDevconnectSourceConfig

setDevconnectSourceConfig

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

Parameter
Name Description
var DeveloperConnectSourceConfig
Returns
Type Description
$this

getGitSource

Optional. The git source.

Returns
Type Description
GitSource|null

hasGitSource

setGitSource

Optional. The git source.

Parameter
Name Description
var GitSource
Returns
Type Description
$this

getName

Required. The name of the application template.

Returns
Type Description
string

setName

Required. The name of the application template.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidateCatalogCompatibility

Optional. If set to true, validates if the imported IaC is compatible with the catalog.

Returns
Type Description
bool

setValidateCatalogCompatibility

Optional. If set to true, validates if the imported IaC is compatible with the catalog.

Parameter
Name Description
var bool
Returns
Type Description
$this

getRawTerraformImportEnabled

Optional. If set to true, imports the IaC as raw terraform and does not attempt SAT conversion.

Returns
Type Description
bool

setRawTerraformImportEnabled

Optional. If set to true, imports the IaC as raw terraform and does not attempt SAT conversion.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSource

Returns
Type Description
string

static::build

Parameter
Name Description
name string

Required. The name of the application template. Please see DesignCenterClient::applicationTemplateName() for help formatting this field.

Returns
Type Description
IngestApplicationTemplateIaCRequest