# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::CreateApiDeploymentRequest (v0.16.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::CreateApiDeploymentRequest.

Request message for CreateApiDeployment.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #api_deployment

    def api_deployment() -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- Required. The deployment to create.

### #api_deployment=

    def api_deployment=(value) -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

**Parameter**

- **value** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- Required. The deployment to create.
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- Required. The deployment to create.

### #api_deployment_id

    def api_deployment_id() -> ::String

**Returns**

- (::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.

### #api_deployment_id=

    def api_deployment_id=(value) -> ::String

**Parameter**

- **value** (::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**

- (::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.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`
**Returns**

- (::String) --- Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`