Reference documentation and code samples for the Google Cloud Design Center V1 Client class CloudControl.
Cloud control for a framework.
Generated from protobuf message google.cloud.designcenter.v1.CloudControl
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 cloud control. |
↳ description |
string
Optional. The description of the cloud control. |
↳ major_revision_id |
int
Required. The major revision id of the cloud control. |
↳ enforcement_mode |
int
Optional. The enforcement mode of the cloud control. |
↳ parameter_specs |
array<ParameterSpec>
Optional. The specifications of the parameters supported by the cloud control. |
↳ parameters |
array<Parameter>
Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user. |
getName
Required. The name of the cloud control.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. The description of the cloud control.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. The description of the cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMajorRevisionId
Required. The major revision id of the cloud control.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMajorRevisionId
Required. The major revision id of the cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnforcementMode
Optional. The enforcement mode of the cloud control.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type EnforcementMode. |
setEnforcementMode
Optional. The enforcement mode of the cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type EnforcementMode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParameterSpecs
Optional. The specifications of the parameters supported by the cloud control.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ParameterSpec> |
|
setParameterSpecs
Optional. The specifications of the parameters supported by the cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ParameterSpec>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParameters
Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Parameter> |
|
setParameters
Optional. The parameter values that are already configured for the cloud control, if any. Used to pre-populate the parameter values presented to the user.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Parameter>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|