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

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
Name Description
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
Type Description
string

setParent

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getApiDeployment

Required. The deployment to create.

Returns
Type Description
Google\Cloud\ApigeeRegistry\V1\ApiDeployment|null

hasApiDeployment

clearApiDeployment

setApiDeployment

Required. The deployment to create.

Parameter
Name Description
var Google\Cloud\ApigeeRegistry\V1\ApiDeployment
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\ApigeeRegistry\V1\CreateApiDeploymentRequest