# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::ResourceRecord (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::ResourceRecord.

A DNS resource record.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.
**Returns**

- (::String) --- Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'.

### #rrdata

    def rrdata() -> ::String

**Returns**

- (::String) --- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).

### #rrdata=

    def rrdata=(value) -> ::String

**Parameter**

- **value** (::String) --- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
**Returns**

- (::String) --- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).

### #type

    def type() -> ::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType

**Returns**

- ([::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-ResourceRecord-RecordType)) --- Resource record type. Example: `AAAA`.

### #type=

    def type=(value) -> ::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType

**Parameter**

- **value** ([::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-ResourceRecord-RecordType)) --- Resource record type. Example: `AAAA`.
**Returns**

- ([::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-ResourceRecord-RecordType)) --- Resource record type. Example: `AAAA`.