Reference documentation and code samples for the Google Cloud Config V1 Client class DeploymentSource.
Configuration for a value sourced from a Deployment.
Generated from protobuf message google.cloud.config.v1.DeploymentSource
Namespace
Google \ Cloud \ Config \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ deployment |
string
Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location. |
↳ output_name |
string
Required. The name of the output variable in the source deployment's latest successfully applied revision. |
getDeployment
Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeployment
Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOutputName
Required. The name of the output variable in the source deployment's latest successfully applied revision.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOutputName
Required. The name of the output variable in the source deployment's latest successfully applied revision.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|