# Migrate for Compute Engine V1 API - Class Google::Rpc::ResourceInfo (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Rpc::ResourceInfo.

Describes the resource that is being accessed.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #description

    def description() -> ::String

**Returns**

- (::String) --- Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.
**Returns**

- (::String) --- Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.

### #owner

    def owner() -> ::String

**Returns**

- (::String) --- The owner of the resource (optional). For example, "user:

### #owner=

    def owner=(value) -> ::String

**Parameter**

- **value** (::String) --- The owner of the resource (optional). For example, "user:
**Returns**

- (::String) --- The owner of the resource (optional). For example, "user:

### #resource_name

    def resource_name() -> ::String

**Returns**

- (::String) --- The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is \[google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\].

### #resource_name=

    def resource_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is \[google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\].
**Returns**

- (::String) --- The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is \[google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\].

### #resource_type

    def resource_type() -> ::String

**Returns**

- (::String) --- A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".

### #resource_type=

    def resource_type=(value) -> ::String

**Parameter**

- **value** (::String) --- A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
**Returns**

- (::String) --- A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".