# App Hub V1 API - Class Google::Cloud::AppHub::V1::Application (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::Application.

Application defines the governance boundary for App Hub entities that
perform a logical end-to-end business function.
App Hub supports application level IAM permission to align with governance
requirements.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #attributes

    def attributes() -> ::Google::Cloud::AppHub::V1::Attributes

**Returns**

- ([::Google::Cloud::AppHub::V1::Attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Attributes)) --- Optional. Consumer provided attributes.

### #attributes=

    def attributes=(value) -> ::Google::Cloud::AppHub::V1::Attributes

**Parameter**

- **value** ([::Google::Cloud::AppHub::V1::Attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Attributes)) --- Optional. Consumer provided attributes.
**Returns**

- ([::Google::Cloud::AppHub::V1::Attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Attributes)) --- Optional. Consumer provided attributes.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Create time.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. User-defined description of an Application. Can have a maximum length of 2048 characters.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User-defined description of an Application. Can have a maximum length of 2048 characters.
**Returns**

- (::String) --- Optional. User-defined description of an Application. Can have a maximum length of 2048 characters.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Optional. User-defined name for the Application. Can have a maximum length of 63 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User-defined name for the Application. Can have a maximum length of 63 characters.
**Returns**

- (::String) --- Optional. User-defined name for the Application. Can have a maximum length of 63 characters.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The resource name of an Application. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}"`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of an Application. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}"`
**Returns**

- (::String) --- Identifier. The resource name of an Application. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}"`

### #scope

    def scope() -> ::Google::Cloud::AppHub::V1::Scope

**Returns**

- ([::Google::Cloud::AppHub::V1::Scope](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Scope)) --- Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered.

### #scope=

    def scope=(value) -> ::Google::Cloud::AppHub::V1::Scope

**Parameter**

- **value** ([::Google::Cloud::AppHub::V1::Scope](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Scope)) --- Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered.
**Returns**

- ([::Google::Cloud::AppHub::V1::Scope](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Scope)) --- Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered.

### #state

    def state() -> ::Google::Cloud::AppHub::V1::Application::State

**Returns**

- ([::Google::Cloud::AppHub::V1::Application::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Cloud-AppHub-V1-Application-State)) --- Output only. Application state.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. A universally unique identifier (in UUID4 format) for the `Application`.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_hub-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Update time.