# Cloud Functions V2 API - Class Google::Cloud::Functions::V2::LocationMetadata (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::LocationMetadata.

Extra GCF specific location information.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #environments

    def environments() -> ::Array<::Google::Cloud::Functions::V2::Environment>

**Returns**

- (::Array\<[::Google::Cloud::Functions::V2::Environment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-Environment)\>) --- The Cloud Function environments this location supports.

### #environments=

    def environments=(value) -> ::Array<::Google::Cloud::Functions::V2::Environment>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Functions::V2::Environment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-Environment)\>) --- The Cloud Function environments this location supports.
**Returns**

- (::Array\<[::Google::Cloud::Functions::V2::Environment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-Environment)\>) --- The Cloud Function environments this location supports.