> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/go/go-bundle/sdks/objectstoragemanagement/models/region.md).

# Region

## Properties

| Name               | Type                                                                                                | Description                                                                                                                                                                                                                                    | Notes       |
| ------------------ | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **Version**        | **int32**                                                                                           | The version of the region properties                                                                                                                                                                                                           |             |
| **Endpoint**       | **string**                                                                                          | The endpoint URL for the region                                                                                                                                                                                                                |             |
| **Website**        | **string**                                                                                          | The website URL for the region                                                                                                                                                                                                                 |             |
| **Capability**     | [**RegionCapability**](/cloud/go/go-bundle/sdks/objectstoragemanagement/models/regioncapability.md) |                                                                                                                                                                                                                                                |             |
| **StorageClasses** | Pointer to **\[]string**                                                                            | The available classes in the region                                                                                                                                                                                                            | \[optional] |
| **Location**       | **string**                                                                                          | The data center location of the region as per [Get Location](https://github.com/ionos-cloud/sdk-go-bundle/blob/v2/docs/cloud/v6/README.md#tag/Locations/operation/locationsGet). *Can't be used as \`LocationConstraint\` on bucket creation.* |             |

## Methods

### NewRegion

`func NewRegion(version int32, endpoint string, website string, capability RegionCapability, location string, ) *Region`

NewRegion instantiates a new Region object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

### NewRegionWithDefaults

`func NewRegionWithDefaults() *Region`

NewRegionWithDefaults instantiates a new Region object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

### GetVersion

`func (o *Region) GetVersion() int32`

GetVersion returns the Version field if non-nil, zero value otherwise.

### GetVersionOk

`func (o *Region) GetVersionOk() (*int32, bool)`

GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetVersion

`func (o *Region) SetVersion(v int32)`

SetVersion sets Version field to given value.

### GetEndpoint

`func (o *Region) GetEndpoint() string`

GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.

### GetEndpointOk

`func (o *Region) GetEndpointOk() (*string, bool)`

GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetEndpoint

`func (o *Region) SetEndpoint(v string)`

SetEndpoint sets Endpoint field to given value.

### GetWebsite

`func (o *Region) GetWebsite() string`

GetWebsite returns the Website field if non-nil, zero value otherwise.

### GetWebsiteOk

`func (o *Region) GetWebsiteOk() (*string, bool)`

GetWebsiteOk returns a tuple with the Website field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetWebsite

`func (o *Region) SetWebsite(v string)`

SetWebsite sets Website field to given value.

### GetCapability

`func (o *Region) GetCapability() RegionCapability`

GetCapability returns the Capability field if non-nil, zero value otherwise.

### GetCapabilityOk

`func (o *Region) GetCapabilityOk() (*RegionCapability, bool)`

GetCapabilityOk returns a tuple with the Capability field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetCapability

`func (o *Region) SetCapability(v RegionCapability)`

SetCapability sets Capability field to given value.

### GetStorageClasses

`func (o *Region) GetStorageClasses() []string`

GetStorageClasses returns the StorageClasses field if non-nil, zero value otherwise.

### GetStorageClassesOk

`func (o *Region) GetStorageClassesOk() (*[]string, bool)`

GetStorageClassesOk returns a tuple with the StorageClasses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetStorageClasses

`func (o *Region) SetStorageClasses(v []string)`

SetStorageClasses sets StorageClasses field to given value.

### HasStorageClasses

`func (o *Region) HasStorageClasses() bool`

HasStorageClasses returns a boolean if a field has been set.

### GetLocation

`func (o *Region) GetLocation() string`

GetLocation returns the Location field if non-nil, zero value otherwise.

### GetLocationOk

`func (o *Region) GetLocationOk() (*string, bool)`

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetLocation

`func (o *Region) SetLocation(v string)`

SetLocation sets Location field to given value.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/go/go-bundle/sdks/objectstoragemanagement/models/region.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
