# Policy Simulator V1 API - Class Google::Protobuf::ListValue (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API class Google::Protobuf::ListValue.

`ListValue` is a wrapper around a repeated field of values.


<br />

The JSON representation for `ListValue` is JSON array.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #values

    def values() -> ::Array<::Google::Protobuf::Value>

**Returns**

- (::Array\<[::Google::Protobuf::Value](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Protobuf-Value)\>) --- Repeated field of dynamically typed values.

### #values=

    def values=(value) -> ::Array<::Google::Protobuf::Value>

**Parameter**

- **value** (::Array\<[::Google::Protobuf::Value](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Protobuf-Value)\>) --- Repeated field of dynamically typed values.
**Returns**

- (::Array\<[::Google::Protobuf::Value](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Protobuf-Value)\>) --- Repeated field of dynamically typed values.