Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class GetDeploymentRequest.
Request object for GetDeployment
.
Generated from protobuf message google.cloud.telcoautomation.v1.GetDeploymentRequest
Namespace
Google \ Cloud \ TelcoAutomation \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
↳ view |
int
Optional. Defines the type of view of the deployment. When field is not present VIEW_BASIC is considered as default. |
getName
Required. The name of the deployment.
Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the deployment.
Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getView
Optional. Defines the type of view of the deployment.
When field is not present VIEW_BASIC is considered as default.
Returns | |
---|---|
Type | Description |
int |
setView
Optional. Defines the type of view of the deployment.
When field is not present VIEW_BASIC is considered as default.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. Please see Google\Cloud\TelcoAutomation\V1\TelcoAutomationClient::deploymentName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
Google\Cloud\TelcoAutomation\V1\GetDeploymentRequest |