# Binary Authorization V1 API - Class Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Binary Authorization V1 API class Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse.

Response message for
[ValidationHelperV1.ValidateAttestationOccurrence](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Google-Cloud-BinaryAuthorization-V1-ValidationHelper-Client#Google__Cloud__BinaryAuthorization__V1__ValidationHelper__Client_validate_attestation_occurrence_instance_ "Google::Cloud::BinaryAuthorization::V1::ValidationHelper::Client#validate_attestation_occurrence (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #denial_reason

    def denial_reason() -> ::String

**Returns**

- (::String) --- The reason for denial if the Attestation couldn't be validated.

### #denial_reason=

    def denial_reason=(value) -> ::String

**Parameter**

- **value** (::String) --- The reason for denial if the Attestation couldn't be validated.
**Returns**

- (::String) --- The reason for denial if the Attestation couldn't be validated.

### #result

    def result() -> ::Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse::Result

**Returns**

- ([::Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Google-Cloud-BinaryAuthorization-V1-ValidateAttestationOccurrenceResponse-Result)) --- The result of the Attestation validation.

### #result=

    def result=(value) -> ::Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse::Result

**Parameter**

- **value** ([::Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Google-Cloud-BinaryAuthorization-V1-ValidateAttestationOccurrenceResponse-Result)) --- The result of the Attestation validation.
**Returns**

- ([::Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Google-Cloud-BinaryAuthorization-V1-ValidateAttestationOccurrenceResponse-Result)) --- The result of the Attestation validation.