# Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest (v2.3.0)

2.3.0 (latest) 2.2.0 2.1.0 2.0.1 1.6.1 1.5.1 1.4.0 1.3.0 1.2.0 1.1.2 1.0.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest.

A request for an attestation token, providing all the necessary information
needed for this service to verify the platform state of the requestor.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #challenge

    def challenge() -> ::String

**Returns**

- (::String) --- Required. The name of the Challenge whose nonce was used to generate the attestation, in the format `projects/*/locations/*/challenges/*`. The provided Challenge will be consumed, and cannot be used again.

### #challenge=

    def challenge=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the Challenge whose nonce was used to generate the attestation, in the format `projects/*/locations/*/challenges/*`. The provided Challenge will be consumed, and cannot be used again.
**Returns**

- (::String) --- Required. The name of the Challenge whose nonce was used to generate the attestation, in the format `projects/*/locations/*/challenges/*`. The provided Challenge will be consumed, and cannot be used again.

### #gce_shielded_identity

    def gce_shielded_identity() -> ::Google::Cloud::ConfidentialComputing::V1::GceShieldedIdentity

**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::GceShieldedIdentity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-GceShieldedIdentity)) --- Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

### #gce_shielded_identity=

    def gce_shielded_identity=(value) -> ::Google::Cloud::ConfidentialComputing::V1::GceShieldedIdentity

**Parameter**

- **value** ([::Google::Cloud::ConfidentialComputing::V1::GceShieldedIdentity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-GceShieldedIdentity)) --- Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.
**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::GceShieldedIdentity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-GceShieldedIdentity)) --- Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.

### #gcp_credentials

    def gcp_credentials() -> ::Google::Cloud::ConfidentialComputing::V1::GcpCredentials

**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::GcpCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-GcpCredentials)) --- Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

### #gcp_credentials=

    def gcp_credentials=(value) -> ::Google::Cloud::ConfidentialComputing::V1::GcpCredentials

**Parameter**

- **value** ([::Google::Cloud::ConfidentialComputing::V1::GcpCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-GcpCredentials)) --- Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.
**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::GcpCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-GcpCredentials)) --- Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.

### #nvidia_attestation

    def nvidia_attestation() -> ::Google::Cloud::ConfidentialComputing::V1::NvidiaAttestation

**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::NvidiaAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-NvidiaAttestation)) --- Optional. An optional Nvidia attestation report, used to populate hardware rooted claims for Nvidia devices.

### #nvidia_attestation=

    def nvidia_attestation=(value) -> ::Google::Cloud::ConfidentialComputing::V1::NvidiaAttestation

**Parameter**

- **value** ([::Google::Cloud::ConfidentialComputing::V1::NvidiaAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-NvidiaAttestation)) --- Optional. An optional Nvidia attestation report, used to populate hardware rooted claims for Nvidia devices.
**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::NvidiaAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-NvidiaAttestation)) --- Optional. An optional Nvidia attestation report, used to populate hardware rooted claims for Nvidia devices.

### #options

    def options() -> ::Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest::ConfidentialSpaceOptions

**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest::ConfidentialSpaceOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-VerifyConfidentialSpaceRequest-ConfidentialSpaceOptions)) --- Optional. A collection of fields that modify the token output.

### #options=

    def options=(value) -> ::Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest::ConfidentialSpaceOptions

**Parameter**

- **value** ([::Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest::ConfidentialSpaceOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-VerifyConfidentialSpaceRequest-ConfidentialSpaceOptions)) --- Optional. A collection of fields that modify the token output.
**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::VerifyConfidentialSpaceRequest::ConfidentialSpaceOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-VerifyConfidentialSpaceRequest-ConfidentialSpaceOptions)) --- Optional. A collection of fields that modify the token output.

### #signed_entities

    def signed_entities() -> ::Array<::Google::Cloud::ConfidentialComputing::V1::SignedEntity>

**Returns**

- (::Array\<[::Google::Cloud::ConfidentialComputing::V1::SignedEntity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-SignedEntity)\>) --- Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

### #signed_entities=

    def signed_entities=(value) -> ::Array<::Google::Cloud::ConfidentialComputing::V1::SignedEntity>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ConfidentialComputing::V1::SignedEntity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-SignedEntity)\>) --- Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.
**Returns**

- (::Array\<[::Google::Cloud::ConfidentialComputing::V1::SignedEntity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-SignedEntity)\>) --- Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.

### #td_ccel

    def td_ccel() -> ::Google::Cloud::ConfidentialComputing::V1::TdxCcelAttestation

**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::TdxCcelAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TdxCcelAttestation)) --- Input only. A TDX with CCEL and RTMR Attestation Quote.


  Note: The following fields are mutually exclusive: `td_ccel`, `tpm_attestation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #td_ccel=

    def td_ccel=(value) -> ::Google::Cloud::ConfidentialComputing::V1::TdxCcelAttestation

**Parameter**

- **value** ([::Google::Cloud::ConfidentialComputing::V1::TdxCcelAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TdxCcelAttestation)) --- Input only. A TDX with CCEL and RTMR Attestation Quote.


  Note: The following fields are mutually exclusive: `td_ccel`, `tpm_attestation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::TdxCcelAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TdxCcelAttestation)) --- Input only. A TDX with CCEL and RTMR Attestation Quote.


  Note: The following fields are mutually exclusive: `td_ccel`, `tpm_attestation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #tpm_attestation

    def tpm_attestation() -> ::Google::Cloud::ConfidentialComputing::V1::TpmAttestation

**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::TpmAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TpmAttestation)) --- Input only. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.


  Note: The following fields are mutually exclusive: `tpm_attestation`, `td_ccel`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #tpm_attestation=

    def tpm_attestation=(value) -> ::Google::Cloud::ConfidentialComputing::V1::TpmAttestation

**Parameter**

- **value** ([::Google::Cloud::ConfidentialComputing::V1::TpmAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TpmAttestation)) --- Input only. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.


  Note: The following fields are mutually exclusive: `tpm_attestation`, `td_ccel`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::ConfidentialComputing::V1::TpmAttestation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TpmAttestation)) --- Input only. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.


  Note: The following fields are mutually exclusive: `tpm_attestation`, `td_ccel`. If a field in that set is populated, all other fields in the set will automatically be cleared.