# Developer Connect V1 API - Class Google::Cloud::Developerconnect::V1::RuntimeConfig (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::Developerconnect::V1::RuntimeConfig.

RuntimeConfig represents the runtimes where the application is
deployed.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #app_hub_service

    def app_hub_service() -> ::Google::Cloud::Developerconnect::V1::AppHubService

**Returns**

- ([::Google::Cloud::Developerconnect::V1::AppHubService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-AppHubService)) --- Output only. App Hub Service.


  Note: The following fields are mutually exclusive: `app_hub_service`, `app_hub_workload`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #app_hub_workload

    def app_hub_workload() -> ::Google::Cloud::Developerconnect::V1::AppHubWorkload

**Returns**

- ([::Google::Cloud::Developerconnect::V1::AppHubWorkload](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-AppHubWorkload)) --- Output only. App Hub Workload.


  Note: The following fields are mutually exclusive: `app_hub_workload`, `app_hub_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #gke_workload

    def gke_workload() -> ::Google::Cloud::Developerconnect::V1::GKEWorkload

**Returns**

- ([::Google::Cloud::Developerconnect::V1::GKEWorkload](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-GKEWorkload)) --- Output only. Google Kubernetes Engine runtime.


  Note: The following fields are mutually exclusive: `gke_workload`, `google_cloud_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #google_cloud_run

    def google_cloud_run() -> ::Google::Cloud::Developerconnect::V1::GoogleCloudRun

**Returns**

- ([::Google::Cloud::Developerconnect::V1::GoogleCloudRun](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-GoogleCloudRun)) --- Output only. Cloud Run runtime.


  Note: The following fields are mutually exclusive: `google_cloud_run`, `gke_workload`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #state

    def state() -> ::Google::Cloud::Developerconnect::V1::RuntimeConfig::State

**Returns**

- ([::Google::Cloud::Developerconnect::V1::RuntimeConfig::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-Developerconnect-V1-RuntimeConfig-State)) --- Output only. The state of the Runtime.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
**Returns**

- (::String) --- Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.