# reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::Address (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.1 0.18.0 0.17.3 0.16.1 0.15.2 0.14.0 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::Address.

Structured address format for billing and shipping addresses.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #address

    def address() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.

### #address=

    def address=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
**Returns**

- (::Array\<::String\>) --- The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.

### #administrative_area

    def administrative_area() -> ::String

**Returns**

- (::String) --- The state, province, or otherwise administrative area of the address.

### #administrative_area=

    def administrative_area=(value) -> ::String

**Parameter**

- **value** (::String) --- The state, province, or otherwise administrative area of the address.
**Returns**

- (::String) --- The state, province, or otherwise administrative area of the address.

### #locality

    def locality() -> ::String

**Returns**

- (::String) --- The town/city of the address.

### #locality=

    def locality=(value) -> ::String

**Parameter**

- **value** (::String) --- The town/city of the address.
**Returns**

- (::String) --- The town/city of the address.

### #postal_code

    def postal_code() -> ::String

**Returns**

- (::String) --- The postal or ZIP code of the address.

### #postal_code=

    def postal_code=(value) -> ::String

**Parameter**

- **value** (::String) --- The postal or ZIP code of the address.
**Returns**

- (::String) --- The postal or ZIP code of the address.

### #recipient

    def recipient() -> ::String

**Returns**

- (::String) --- The recipient name, potentially including information such as "care of".

### #recipient=

    def recipient=(value) -> ::String

**Parameter**

- **value** (::String) --- The recipient name, potentially including information such as "care of".
**Returns**

- (::String) --- The recipient name, potentially including information such as "care of".

### #region_code

    def region_code() -> ::String

**Returns**

- (::String) --- The CLDR country/region of the address.

### #region_code=

    def region_code=(value) -> ::String

**Parameter**

- **value** (::String) --- The CLDR country/region of the address.
**Returns**

- (::String) --- The CLDR country/region of the address.