# App Lifecycle Manager V1BETA1 API - Class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.2 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the App Lifecycle Manager V1BETA1 API class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable.

UnitVariable describes a parameter for a Unit.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #type

    def type() -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable::Type

**Returns**

- ([::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-saas_platform-saas_service_mgmt-v1beta1/latest/Google-Cloud-SaasPlatform-SaasServiceMgmt-V1beta1-UnitVariable-Type)) --- Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.

### #type=

    def type=(value) -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable::Type

**Parameter**

- **value** ([::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-saas_platform-saas_service_mgmt-v1beta1/latest/Google-Cloud-SaasPlatform-SaasServiceMgmt-V1beta1-UnitVariable-Type)) --- Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
**Returns**

- ([::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-saas_platform-saas_service_mgmt-v1beta1/latest/Google-Cloud-SaasPlatform-SaasServiceMgmt-V1beta1-UnitVariable-Type)) --- Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.

### #value

    def value() -> ::String

**Returns**

- (::String) --- Optional. String encoded value for the variable.

### #value=

    def value=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. String encoded value for the variable.
**Returns**

- (::String) --- Optional. String encoded value for the variable.

### #variable

    def variable() -> ::String

**Returns**

- (::String) --- Required. Immutable. Name of the variable from actuation configs.

### #variable=

    def variable=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Immutable. Name of the variable from actuation configs.
**Returns**

- (::String) --- Required. Immutable. Name of the variable from actuation configs.