Google Cloud Apigee Registry V1 Client - Class CreateApiDeploymentRequest (0.3.2)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class CreateApiDeploymentRequest.

Request message for CreateApiDeployment.

Generated from protobuf message google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

↳ api_deployment Google\Cloud\ApigeeRegistry\V1\ApiDeployment

Required. The deployment to create.

↳ api_deployment_id string

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.

getParent

Required. The parent, which owns this collection of deployments.

Format: projects/*/locations/*/apis/*

Returns
TypeDescription
string

setParent

Required. The parent, which owns this collection of deployments.

Format: projects/*/locations/*/apis/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApiDeployment

Required. The deployment to create.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\ApiDeployment|null

hasApiDeployment

clearApiDeployment

setApiDeployment

Required. The deployment to create.

Parameter
NameDescription
var Google\Cloud\ApigeeRegistry\V1\ApiDeployment
Returns
TypeDescription
$this

getApiDeploymentId

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.

Returns
TypeDescription
string

setApiDeploymentId

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/* Please see Google\Cloud\ApigeeRegistry\V1\RegistryClient::apiName() for help formatting this field.

apiDeployment Google\Cloud\ApigeeRegistry\V1\ApiDeployment

Required. The deployment to create.

apiDeploymentId string

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Following AIP-162, IDs must not have the form of a UUID.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\CreateApiDeploymentRequest