Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.
↳ occurrence_note
string
Required. The resource name of the Note to which the containing Occurrence is associated.
↳ occurrence_resource_uri
string
Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.
getAttestor
Required. The resource name of the Attestor of the
occurrence, in the format
projects/*/attestors/*.
Returns
Type
Description
string
setAttestor
Required. The resource name of the Attestor of the
occurrence, in the format
projects/*/attestors/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAttestation
Required. An AttestationOccurrence to
be checked that it can be verified by the Attestor. It does not have to be
an existing entity in Container Analysis. It must otherwise be a valid
AttestationOccurrence.
Required. An AttestationOccurrence to
be checked that it can be verified by the Attestor. It does not have to be
an existing entity in Container Analysis. It must otherwise be a valid
AttestationOccurrence.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Binary Authorization V1 Client - Class ValidateAttestationOccurrenceRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-binary-authorization/latest/V1.ValidateAttestationOccurrenceRequest)\n- [1.0.4](/php/docs/reference/cloud-binary-authorization/1.0.4/V1.ValidateAttestationOccurrenceRequest)\n- [0.8.7](/php/docs/reference/cloud-binary-authorization/0.8.7/V1.ValidateAttestationOccurrenceRequest)\n- [0.7.0](/php/docs/reference/cloud-binary-authorization/0.7.0/V1.ValidateAttestationOccurrenceRequest)\n- [0.6.1](/php/docs/reference/cloud-binary-authorization/0.6.1/V1.ValidateAttestationOccurrenceRequest)\n- [0.5.13](/php/docs/reference/cloud-binary-authorization/0.5.13/V1.ValidateAttestationOccurrenceRequest) \nReference documentation and code samples for the Google Cloud Binary Authorization V1 Client class ValidateAttestationOccurrenceRequest.\n\nRequest message for\n[ValidationHelperV1.ValidateAttestationOccurrence](/php/docs/reference/cloud-binary-authorization/latest/V1.Client.ValidationHelperV1Client#_Google_Cloud_BinaryAuthorization_V1_Client_ValidationHelperV1Client__validateAttestationOccurrence__).\n\nGenerated from protobuf message `google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BinaryAuthorization \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAttestor\n\nRequired. The resource name of the [Attestor](/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor) of the\n[occurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Occurrence.html), in the format\n`projects/*/attestors/*`.\n\n### setAttestor\n\nRequired. The resource name of the [Attestor](/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor) of the\n[occurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Occurrence.html), in the format\n`projects/*/attestors/*`.\n\n### getAttestation\n\nRequired. An [AttestationOccurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.AttestationOccurrence.html) to\nbe checked that it can be verified by the Attestor. It does not have to be\nan existing entity in Container Analysis. It must otherwise be a valid\nAttestationOccurrence.\n\n### hasAttestation\n\n### clearAttestation\n\n### setAttestation\n\nRequired. An [AttestationOccurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.AttestationOccurrence.html) to\nbe checked that it can be verified by the Attestor. It does not have to be\nan existing entity in Container Analysis. It must otherwise be a valid\nAttestationOccurrence.\n\n### getOccurrenceNote\n\nRequired. The resource name of the [Note](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Note.html) to which the\ncontaining [Occurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Occurrence.html) is associated.\n\n### setOccurrenceNote\n\nRequired. The resource name of the [Note](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Note.html) to which the\ncontaining [Occurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Occurrence.html) is associated.\n\n### getOccurrenceResourceUri\n\nRequired. The URI of the artifact (e.g. container image) that is the\nsubject of the containing [Occurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Occurrence.html).\n\n### setOccurrenceResourceUri\n\nRequired. The URI of the artifact (e.g. container image) that is the\nsubject of the containing [Occurrence](https://cloud.google.com/php/docs/reference/grafeas/latest/V1.Occurrence.html)."]]