# App Hub V1 API - Class Google::Cloud::AppHub::V1::Criticality (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::Criticality.

Criticality of the Application, Service, or Workload

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #type

    def type() -> ::Google::Cloud::AppHub::V1::Criticality::Type

**Returns**

- ([::Google::Cloud::AppHub::V1::Criticality::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Criticality-Type)) --- Required. Criticality Type.

### #type=

    def type=(value) -> ::Google::Cloud::AppHub::V1::Criticality::Type

**Parameter**

- **value** ([::Google::Cloud::AppHub::V1::Criticality::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Criticality-Type)) --- Required. Criticality Type.
**Returns**

- ([::Google::Cloud::AppHub::V1::Criticality::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Criticality-Type)) --- Required. Criticality Type.