Google Cloud Telco Automation V1 Client - Class GetDeploymentRequest (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getView

Optional. Defines the type of view of the deployment.

When field is not present VIEW_BASIC is considered as default.

Returns
TypeDescription
int

setView

Optional. Defines the type of view of the deployment.

When field is not present VIEW_BASIC is considered as default.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\TelcoAutomation\V1\GetDeploymentRequest