Reference documentation and code samples for the Google Cloud Design Center V1 Client class GenerateApplicationIaCRequest.
Request message for GenerateApplicationIaC method.
Generated from protobuf message google.cloud.designcenter.v1.GenerateApplicationIaCRequest
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the application. |
↳ iac_format |
int
Optional. The IaC format to generate. |
↳ gcs_uri |
string
Optional. DEPRECATED: Use the 'artifact_location' field instead. The Cloud Storage URI to write the generated IaC to. |
↳ 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.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the application.
| 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 |
|
getGcsUri
Optional. DEPRECATED: Use the 'artifact_location' field instead.
The Cloud Storage URI to write the generated IaC to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGcsUri
Optional. DEPRECATED: Use the 'artifact_location' field instead.
The Cloud Storage URI to write the generated IaC to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| 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. Please see DesignCenterClient::applicationName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationIaCRequest |
|