# Cloud Controls Partner V1 API - Class Google::Cloud::CloudControlsPartner::V1::ListViolationsResponse (v2.3.0)

2.3.0 (latest) 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.1.1 Reference documentation and code samples for the Cloud Controls Partner V1 API class Google::Cloud::CloudControlsPartner::V1::ListViolationsResponse.

Response message for list customer violation requests

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
**Returns**

- (::String) --- A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

### #unreachable

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

**Returns**

- (::Array\<::String\>) --- Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217

### #unreachable=

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

**Parameter**

- **value** (::Array\<::String\>) --- Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
**Returns**

- (::Array\<::String\>) --- Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217

### #violations

    def violations() -> ::Array<::Google::Cloud::CloudControlsPartner::V1::Violation>

**Returns**

- (::Array\<[::Google::Cloud::CloudControlsPartner::V1::Violation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-Violation)\>) --- List of violation

### #violations=

    def violations=(value) -> ::Array<::Google::Cloud::CloudControlsPartner::V1::Violation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CloudControlsPartner::V1::Violation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-Violation)\>) --- List of violation
**Returns**

- (::Array\<[::Google::Cloud::CloudControlsPartner::V1::Violation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-Violation)\>) --- List of violation