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

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

Request message for GenerateApplicationTemplateRevisionIaC method.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the application template revision.

↳ iac_format int

Optional. The IaC format to generate.

↳ artifact_location ArtifactLocation

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

getName

Required. The name of the application template revision.

Returns
Type Description
string

setName

Required. The name of the application template revision.

Parameter
Name Description
var string
Returns
Type Description
$this

getIacFormat

Optional. The IaC format to generate.

Returns
Type Description
int Enum of type IACFormat.

setIacFormat

Optional. The IaC format to generate.

Parameter
Name Description
var int

Enum of type IACFormat.

Returns
Type Description
$this

getArtifactLocation

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

Returns
Type Description
ArtifactLocation|null

hasArtifactLocation

clearArtifactLocation

setArtifactLocation

Optional. Specifies the destination for the generated IaC, which can be Cloud Storage or a Developer Connect repository.

Parameter
Name Description
var ArtifactLocation
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GenerateApplicationTemplateRevisionIaCRequest