πŸ“‚ File Browser

/AgentAI/vendor/google/apiclient-services/src/ContainerAnalysis
β˜€οΈ Light Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 AliasContext.php
β–Ά Open πŸ“„ View Source
🐘 AnalysisCompleted.php
β–Ά Open πŸ“„ View Source
🐘 Artifact.php
β–Ά Open πŸ“„ View Source
🐘 ArtifactHashes.php
β–Ά Open πŸ“„ View Source
🐘 ArtifactRule.php
β–Ά Open πŸ“„ View Source
🐘 Assessment.php
β–Ά Open πŸ“„ View Source
🐘 Attestation.php
β–Ά Open πŸ“„ View Source
🐘 AttestationNote.php
β–Ά Open πŸ“„ View Source
🐘 AttestationOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Authority.php
β–Ά Open πŸ“„ View Source
🐘 BaseImage.php
β–Ά Open πŸ“„ View Source
🐘 Basis.php
β–Ά Open πŸ“„ View Source
🐘 BatchCreateNotesRequest.php
β–Ά Open πŸ“„ View Source
🐘 BatchCreateNotesResponse.php
β–Ά Open πŸ“„ View Source
🐘 BatchCreateOccurrencesRequest.php
β–Ά Open πŸ“„ View Source
🐘 BatchCreateOccurrencesResponse.php
β–Ά Open πŸ“„ View Source
🐘 Binding.php
β–Ά Open πŸ“„ View Source
🐘 Build.php
β–Ά Open πŸ“„ View Source
🐘 BuildDefinition.php
β–Ά Open πŸ“„ View Source
🐘 BuildMetadata.php
β–Ά Open πŸ“„ View Source
🐘 BuildNote.php
β–Ά Open πŸ“„ View Source
🐘 BuildOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 BuildProvenance.php
β–Ά Open πŸ“„ View Source
🐘 BuildSignature.php
β–Ά Open πŸ“„ View Source
🐘 BuildStep.php
β–Ά Open πŸ“„ View Source
🐘 BuilderConfig.php
β–Ά Open πŸ“„ View Source
🐘 ByProducts.php
β–Ά Open πŸ“„ View Source
🐘 CISAKnownExploitedVulnerabilities.php
β–Ά Open πŸ“„ View Source
🐘 CVSS.php
β–Ά Open πŸ“„ View Source
🐘 CVSSv3.php
β–Ά Open πŸ“„ View Source
🐘 CancelOperationRequest.php
β–Ά Open πŸ“„ View Source
🐘 Category.php
β–Ά Open πŸ“„ View Source
🐘 CisBenchmark.php
β–Ά Open πŸ“„ View Source
🐘 CloudRepoSourceContext.php
β–Ά Open πŸ“„ View Source
🐘 CloudStorageLocation.php
β–Ά Open πŸ“„ View Source
🐘 Command.php
β–Ά Open πŸ“„ View Source
🐘 Completeness.php
β–Ά Open πŸ“„ View Source
🐘 ComplianceNote.php
β–Ά Open πŸ“„ View Source
🐘 ComplianceOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 ComplianceVersion.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisEmpty.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisFile.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Build.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Hash.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Results.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Secret.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Source.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisGoogleDevtoolsCloudbuildV1Volume.php
β–Ά Open πŸ“„ View Source
🐘 ContaineranalysisResource.php
β–Ά Open πŸ“„ View Source
🐘 DSSEAttestationNote.php
β–Ά Open πŸ“„ View Source
🐘 DSSEAttestationOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 DSSEHint.php
β–Ά Open πŸ“„ View Source
🐘 Deployable.php
β–Ά Open πŸ“„ View Source
🐘 Deployment.php
β–Ά Open πŸ“„ View Source
🐘 DeploymentNote.php
β–Ά Open πŸ“„ View Source
🐘 DeploymentOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Derived.php
β–Ά Open πŸ“„ View Source
🐘 Detail.php
β–Ά Open πŸ“„ View Source
🐘 Details.php
β–Ά Open πŸ“„ View Source
🐘 Digest.php
β–Ά Open πŸ“„ View Source
🐘 Discovered.php
β–Ά Open πŸ“„ View Source
🐘 Discovery.php
β–Ά Open πŸ“„ View Source
🐘 DiscoveryNote.php
β–Ά Open πŸ“„ View Source
🐘 DiscoveryOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Distribution.php
β–Ά Open πŸ“„ View Source
🐘 DocumentNote.php
β–Ά Open πŸ“„ View Source
🐘 DocumentOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Envelope.php
β–Ά Open πŸ“„ View Source
🐘 EnvelopeSignature.php
β–Ά Open πŸ“„ View Source
🐘 Environment.php
β–Ά Open πŸ“„ View Source
🐘 ExploitPredictionScoringSystem.php
β–Ά Open πŸ“„ View Source
🐘 ExportSBOMRequest.php
β–Ά Open πŸ“„ View Source
🐘 ExportSBOMResponse.php
β–Ά Open πŸ“„ View Source
🐘 Expr.php
β–Ά Open πŸ“„ View Source
🐘 ExternalRef.php
β–Ά Open πŸ“„ View Source
🐘 FileHashes.php
β–Ά Open πŸ“„ View Source
🐘 FileNote.php
β–Ά Open πŸ“„ View Source
🐘 FileOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Fingerprint.php
β–Ά Open πŸ“„ View Source
🐘 FixableTotalByDigest.php
β–Ά Open πŸ“„ View Source
🐘 GeneratePackagesSummaryRequest.php
β–Ά Open πŸ“„ View Source
🐘 GenericSignedAttestation.php
β–Ά Open πŸ“„ View Source
🐘 GerritSourceContext.php
β–Ά Open πŸ“„ View Source
🐘 GetIamPolicyRequest.php
β–Ά Open πŸ“„ View Source
🐘 GetPolicyOptions.php
β–Ά Open πŸ“„ View Source
🐘 GitSourceContext.php
β–Ά Open πŸ“„ View Source
🐘 GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1FileLocation.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1BuildDetails.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1DeploymentDetails.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1DiscoveryDetails.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1ImageDetails.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1IntotoArtifact.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1IntotoDetails.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1IntotoSignature.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1PackageDetails.php
β–Ά Open πŸ“„ View Source
🐘 GrafeasV1beta1VulnerabilityDetails.php
β–Ά Open πŸ“„ View Source
🐘 Hash.php
β–Ά Open πŸ“„ View Source
🐘 Hint.php
β–Ά Open πŸ“„ View Source
🐘 Identity.php
β–Ά Open πŸ“„ View Source
🐘 ImageNote.php
β–Ά Open πŸ“„ View Source
🐘 ImageOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 InToto.php
β–Ά Open πŸ“„ View Source
🐘 InTotoProvenance.php
β–Ά Open πŸ“„ View Source
🐘 InTotoSlsaProvenanceV1.php
β–Ά Open πŸ“„ View Source
🐘 InTotoStatement.php
β–Ά Open πŸ“„ View Source
🐘 Installation.php
β–Ά Open πŸ“„ View Source
🐘 Justification.php
β–Ά Open πŸ“„ View Source
🐘 KnowledgeBase.php
β–Ά Open πŸ“„ View Source
🐘 Layer.php
β–Ά Open πŸ“„ View Source
🐘 LayerDetails.php
β–Ά Open πŸ“„ View Source
🐘 License.php
β–Ά Open πŸ“„ View Source
🐘 LicensesSummary.php
β–Ά Open πŸ“„ View Source
🐘 Link.php
β–Ά Open πŸ“„ View Source
🐘 ListNoteOccurrencesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListNotesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListOccurrencesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScanConfigsResponse.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 Material.php
β–Ά Open πŸ“„ View Source
🐘 Metadata.php
β–Ά Open πŸ“„ View Source
🐘 NonCompliantFile.php
β–Ά Open πŸ“„ View Source
🐘 Note.php
β–Ά Open πŸ“„ View Source
🐘 Occurrence.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 Package.php
β–Ά Open πŸ“„ View Source
🐘 PackageIssue.php
β–Ά Open πŸ“„ View Source
🐘 PackageNote.php
β–Ά Open πŸ“„ View Source
🐘 PackageOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 PackagesSummaryResponse.php
β–Ά Open πŸ“„ View Source
🐘 PgpSignedAttestation.php
β–Ά Open πŸ“„ View Source
🐘 Policy.php
β–Ά Open πŸ“„ View Source
🐘 Product.php
β–Ά Open πŸ“„ View Source
🐘 ProjectRepoId.php
β–Ά Open πŸ“„ View Source
🐘 ProvenanceBuilder.php
β–Ά Open πŸ“„ View Source
🐘 Publisher.php
β–Ά Open πŸ“„ View Source
🐘 Recipe.php
β–Ά Open πŸ“„ View Source
🐘 RelatedUrl.php
β–Ά Open πŸ“„ View Source
🐘 RelationshipNote.php
β–Ά Open πŸ“„ View Source
🐘 RelationshipOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Remediation.php
β–Ά Open πŸ“„ View Source
🐘 RepoId.php
β–Ά Open πŸ“„ View Source
🐘 ResourceDescriptor.php
β–Ά Open πŸ“„ View Source
🐘 Risk.php
β–Ά Open πŸ“„ View Source
🐘 RunDetails.php
β–Ά Open πŸ“„ View Source
🐘 SBOMReferenceNote.php
β–Ά Open πŸ“„ View Source
🐘 SBOMReferenceOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 SBOMStatus.php
β–Ά Open πŸ“„ View Source
🐘 SbomReferenceIntotoPayload.php
β–Ά Open πŸ“„ View Source
🐘 SbomReferenceIntotoPredicate.php
β–Ά Open πŸ“„ View Source
🐘 ScanConfig.php
β–Ά Open πŸ“„ View Source
🐘 SecretLocation.php
β–Ά Open πŸ“„ View Source
🐘 SecretNote.php
β–Ά Open πŸ“„ View Source
🐘 SecretOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 SecretStatus.php
β–Ά Open πŸ“„ View Source
🐘 SetIamPolicyRequest.php
β–Ά Open πŸ“„ View Source
🐘 Signature.php
β–Ά Open πŸ“„ View Source
🐘 SigningKey.php
β–Ά Open πŸ“„ View Source
🐘 SlsaBuilder.php
β–Ά Open πŸ“„ View Source
🐘 SlsaCompleteness.php
β–Ά Open πŸ“„ View Source
🐘 SlsaMetadata.php
β–Ά Open πŸ“„ View Source
🐘 SlsaProvenance.php
β–Ά Open πŸ“„ View Source
🐘 SlsaProvenanceV1.php
β–Ά Open πŸ“„ View Source
🐘 SlsaProvenanceZeroTwo.php
β–Ά Open πŸ“„ View Source
🐘 SlsaRecipe.php
β–Ά Open πŸ“„ View Source
🐘 Source.php
β–Ά Open πŸ“„ View Source
🐘 SourceContext.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 StepResult.php
β–Ά Open πŸ“„ View Source
🐘 Subject.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsRequest.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsResponse.php
β–Ά Open πŸ“„ View Source
🐘 TimeSpan.php
β–Ά Open πŸ“„ View Source
🐘 UpgradeDistribution.php
β–Ά Open πŸ“„ View Source
🐘 UpgradeNote.php
β–Ά Open πŸ“„ View Source
🐘 UpgradeOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 Version.php
β–Ά Open πŸ“„ View Source
🐘 VexAssessment.php
β–Ά Open πŸ“„ View Source
🐘 Volume.php
β–Ά Open πŸ“„ View Source
🐘 Vulnerability.php
β–Ά Open πŸ“„ View Source
🐘 VulnerabilityAssessmentNote.php
β–Ά Open πŸ“„ View Source
🐘 VulnerabilityAttestation.php
β–Ά Open πŸ“„ View Source
🐘 VulnerabilityLocation.php
β–Ά Open πŸ“„ View Source
🐘 VulnerabilityNote.php
β–Ά Open πŸ“„ View Source
🐘 VulnerabilityOccurrence.php
β–Ά Open πŸ“„ View Source
🐘 VulnerabilityOccurrencesSummary.php
β–Ά Open πŸ“„ View Source
🐘 WindowsDetail.php
β–Ά Open πŸ“„ View Source
🐘 WindowsUpdate.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: Assessment.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\ContainerAnalysis;

class Assessment extends \Google\Collection
{
  /**
   * No state is specified.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * This product is known to be affected by this vulnerability.
   */
  public const STATE_AFFECTED = 'AFFECTED';
  /**
   * This product is known to be not affected by this vulnerability.
   */
  public const STATE_NOT_AFFECTED = 'NOT_AFFECTED';
  /**
   * This product contains a fix for this vulnerability.
   */
  public const STATE_FIXED = 'FIXED';
  /**
   * It is not known yet whether these versions are or are not affected by the
   * vulnerability. However, it is still under investigation.
   */
  public const STATE_UNDER_INVESTIGATION = 'UNDER_INVESTIGATION';
  protected $collection_key = 'remediations';
  /**
   * Holds the MITRE standard Common Vulnerabilities and Exposures (CVE)
   * tracking number for the vulnerability. Deprecated: Use vulnerability_id
   * instead to denote CVEs.
   *
   * @deprecated
   * @var string
   */
  public $cve;
  /**
   * Contains information about the impact of this vulnerability, this will
   * change with time.
   *
   * @var string[]
   */
  public $impacts;
  protected $justificationType = Justification::class;
  protected $justificationDataType = '';
  /**
   * A detailed description of this Vex.
   *
   * @var string
   */
  public $longDescription;
  protected $relatedUrisType = RelatedUrl::class;
  protected $relatedUrisDataType = 'array';
  protected $remediationsType = Remediation::class;
  protected $remediationsDataType = 'array';
  /**
   * A one sentence description of this Vex.
   *
   * @var string
   */
  public $shortDescription;
  /**
   * Provides the state of this Vulnerability assessment.
   *
   * @var string
   */
  public $state;
  /**
   * The vulnerability identifier for this Assessment. Will hold one of common
   * identifiers e.g. CVE, GHSA etc.
   *
   * @var string
   */
  public $vulnerabilityId;

  /**
   * Holds the MITRE standard Common Vulnerabilities and Exposures (CVE)
   * tracking number for the vulnerability. Deprecated: Use vulnerability_id
   * instead to denote CVEs.
   *
   * @deprecated
   * @param string $cve
   */
  public function setCve($cve)
  {
    $this->cve = $cve;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getCve()
  {
    return $this->cve;
  }
  /**
   * Contains information about the impact of this vulnerability, this will
   * change with time.
   *
   * @param string[] $impacts
   */
  public function setImpacts($impacts)
  {
    $this->impacts = $impacts;
  }
  /**
   * @return string[]
   */
  public function getImpacts()
  {
    return $this->impacts;
  }
  /**
   * Justification provides the justification when the state of the assessment
   * if NOT_AFFECTED.
   *
   * @param Justification $justification
   */
  public function setJustification(Justification $justification)
  {
    $this->justification = $justification;
  }
  /**
   * @return Justification
   */
  public function getJustification()
  {
    return $this->justification;
  }
  /**
   * A detailed description of this Vex.
   *
   * @param string $longDescription
   */
  public function setLongDescription($longDescription)
  {
    $this->longDescription = $longDescription;
  }
  /**
   * @return string
   */
  public function getLongDescription()
  {
    return $this->longDescription;
  }
  /**
   * Holds a list of references associated with this vulnerability item and
   * assessment. These uris have additional information about the vulnerability
   * and the assessment itself. E.g. Link to a document which details how this
   * assessment concluded the state of this vulnerability.
   *
   * @param RelatedUrl[] $relatedUris
   */
  public function setRelatedUris($relatedUris)
  {
    $this->relatedUris = $relatedUris;
  }
  /**
   * @return RelatedUrl[]
   */
  public function getRelatedUris()
  {
    return $this->relatedUris;
  }
  /**
   * Specifies details on how to handle (and presumably, fix) a vulnerability.
   *
   * @param Remediation[] $remediations
   */
  public function setRemediations($remediations)
  {
    $this->remediations = $remediations;
  }
  /**
   * @return Remediation[]
   */
  public function getRemediations()
  {
    return $this->remediations;
  }
  /**
   * A one sentence description of this Vex.
   *
   * @param string $shortDescription
   */
  public function setShortDescription($shortDescription)
  {
    $this->shortDescription = $shortDescription;
  }
  /**
   * @return string
   */
  public function getShortDescription()
  {
    return $this->shortDescription;
  }
  /**
   * Provides the state of this Vulnerability assessment.
   *
   * Accepted values: STATE_UNSPECIFIED, AFFECTED, NOT_AFFECTED, FIXED,
   * UNDER_INVESTIGATION
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * The vulnerability identifier for this Assessment. Will hold one of common
   * identifiers e.g. CVE, GHSA etc.
   *
   * @param string $vulnerabilityId
   */
  public function setVulnerabilityId($vulnerabilityId)
  {
    $this->vulnerabilityId = $vulnerabilityId;
  }
  /**
   * @return string
   */
  public function getVulnerabilityId()
  {
    return $this->vulnerabilityId;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Assessment::class, 'Google_Service_ContainerAnalysis_Assessment');
← Back