📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/OnDemandScanning
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AISkillAnalysisOccurrence.php
▶ Open 📄 View Source
🐘 AliasContext.php
▶ Open 📄 View Source
🐘 AnalysisCompleted.php
▶ Open 📄 View Source
🐘 AnalyzePackagesMetadata.php
▶ Open 📄 View Source
🐘 AnalyzePackagesMetadataV1.php
▶ Open 📄 View Source
🐘 AnalyzePackagesRequestV1.php
▶ Open 📄 View Source
🐘 AnalyzePackagesResponse.php
▶ Open 📄 View Source
🐘 AnalyzePackagesResponseV1.php
▶ Open 📄 View Source
🐘 Artifact.php
▶ Open 📄 View Source
🐘 AttestationOccurrence.php
▶ Open 📄 View Source
🐘 BaseImage.php
▶ Open 📄 View Source
🐘 Binary.php
▶ Open 📄 View Source
🐘 BinarySourceInfo.php
▶ Open 📄 View Source
🐘 BuildDefinition.php
▶ Open 📄 View Source
🐘 BuildMetadata.php
▶ Open 📄 View Source
🐘 BuildOccurrence.php
▶ Open 📄 View Source
🐘 BuildProvenance.php
▶ Open 📄 View Source
🐘 BuilderConfig.php
▶ Open 📄 View Source
🐘 CISAKnownExploitedVulnerabilities.php
▶ Open 📄 View Source
🐘 CVSS.php
▶ Open 📄 View Source
🐘 Category.php
▶ Open 📄 View Source
🐘 CloudRepoSourceContext.php
▶ Open 📄 View Source
🐘 Command.php
▶ Open 📄 View Source
🐘 Completeness.php
▶ Open 📄 View Source
🐘 ComplianceOccurrence.php
▶ Open 📄 View Source
🐘 ComplianceVersion.php
▶ Open 📄 View Source
🐘 DSSEAttestationOccurrence.php
▶ Open 📄 View Source
🐘 DeploymentOccurrence.php
▶ Open 📄 View Source
🐘 DiscoveryOccurrence.php
▶ Open 📄 View Source
🐘 Envelope.php
▶ Open 📄 View Source
🐘 EnvelopeSignature.php
▶ Open 📄 View Source
🐘 ExploitPredictionScoringSystem.php
▶ Open 📄 View Source
🐘 FileHashes.php
▶ Open 📄 View Source
🐘 FileLocation.php
▶ Open 📄 View Source
🐘 Finding.php
▶ Open 📄 View Source
🐘 Fingerprint.php
▶ Open 📄 View Source
🐘 GerritSourceContext.php
▶ Open 📄 View Source
🐘 GitSourceContext.php
▶ Open 📄 View Source
🐘 GrafeasV1BaseImage.php
▶ Open 📄 View Source
🐘 GrafeasV1FileLocation.php
▶ Open 📄 View Source
🐘 GrafeasV1LayerDetails.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenance02SlsaBuilder.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenance02SlsaCompleteness.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenance02SlsaConfigSource.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenance02SlsaInvocation.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenance02SlsaMaterial.php
▶ Open 📄 View Source
🐘 GrafeasV1SlsaProvenance02SlsaMetadata.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
🐘 Hash.php
▶ Open 📄 View Source
🐘 Identity.php
▶ Open 📄 View Source
🐘 ImageOccurrence.php
▶ Open 📄 View Source
🐘 InTotoProvenance.php
▶ Open 📄 View Source
🐘 InTotoSlsaProvenanceV1.php
▶ Open 📄 View Source
🐘 InTotoStatement.php
▶ Open 📄 View Source
🐘 Justification.php
▶ Open 📄 View Source
🐘 Jwt.php
▶ Open 📄 View Source
🐘 LanguagePackageDependency.php
▶ Open 📄 View Source
🐘 Layer.php
▶ Open 📄 View Source
🐘 LayerDetails.php
▶ Open 📄 View Source
🐘 License.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListVulnerabilitiesResponseV1.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Maintainer.php
▶ Open 📄 View Source
🐘 Material.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 NonCompliantFile.php
▶ Open 📄 View Source
🐘 Occurrence.php
▶ Open 📄 View Source
🐘 OndemandscanningEmpty.php
▶ Open 📄 View Source
🐘 OndemandscanningFile.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 PackageData.php
▶ Open 📄 View Source
🐘 PackageIssue.php
▶ Open 📄 View Source
🐘 PackageOccurrence.php
▶ Open 📄 View Source
🐘 PackageVersion.php
▶ Open 📄 View Source
🐘 ProjectRepoId.php
▶ Open 📄 View Source
🐘 ProvenanceBuilder.php
▶ Open 📄 View Source
🐘 Recipe.php
▶ Open 📄 View Source
🐘 RelatedUrl.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
🐘 SBOMReferenceOccurrence.php
▶ Open 📄 View Source
🐘 SBOMStatus.php
▶ Open 📄 View Source
🐘 SbomReferenceIntotoPayload.php
▶ Open 📄 View Source
🐘 SbomReferenceIntotoPredicate.php
▶ Open 📄 View Source
🐘 SecretLocation.php
▶ Open 📄 View Source
🐘 SecretOccurrence.php
▶ Open 📄 View Source
🐘 SecretStatus.php
▶ Open 📄 View Source
🐘 Signature.php
▶ Open 📄 View Source
🐘 SlsaBuilder.php
▶ Open 📄 View Source
🐘 SlsaCompleteness.php
▶ Open 📄 View Source
🐘 SlsaMetadata.php
▶ Open 📄 View Source
🐘 SlsaProvenance.php
▶ Open 📄 View Source
🐘 SlsaProvenance02.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
🐘 Subject.php
▶ Open 📄 View Source
🐘 UpgradeDistribution.php
▶ Open 📄 View Source
🐘 UpgradeOccurrence.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source
🐘 VexAssessment.php
▶ Open 📄 View Source
🐘 VulnerabilityAttestation.php
▶ Open 📄 View Source
🐘 VulnerabilityOccurrence.php
▶ Open 📄 View Source
🐘 WindowsUpdate.php
▶ Open 📄 View Source

📄 Source: SlsaRecipe.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\OnDemandScanning;

class SlsaRecipe extends \Google\Model
{
  /**
   * Collection of all external inputs that influenced the build on top of
   * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
   * type were "make", then this might be the flags passed to make aside from
   * the target, which is captured in recipe.entryPoint. Depending on the recipe
   * Type, the structure may be different.
   *
   * @var array[]
   */
  public $arguments;
  /**
   * Index in materials containing the recipe steps that are not implied by
   * recipe.type. For example, if the recipe type were "make", then this would
   * point to the source containing the Makefile, not the make program itself.
   * Set to -1 if the recipe doesn't come from a material, as zero is default
   * unset value for int64.
   *
   * @var string
   */
  public $definedInMaterial;
  /**
   * String identifying the entry point into the build. This is often a path to
   * a configuration file and/or a target label within that file. The syntax and
   * meaning are defined by recipe.type. For example, if the recipe type were
   * "make", then this would reference the directory in which to run make as
   * well as which target to use.
   *
   * @var string
   */
  public $entryPoint;
  /**
   * Any other builder-controlled inputs necessary for correctly evaluating the
   * recipe. Usually only needed for reproducing the build but not evaluated as
   * part of policy. Depending on the recipe Type, the structure may be
   * different.
   *
   * @var array[]
   */
  public $environment;
  /**
   * URI indicating what type of recipe was performed. It determines the meaning
   * of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
   *
   * @var string
   */
  public $type;

  /**
   * Collection of all external inputs that influenced the build on top of
   * recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe
   * type were "make", then this might be the flags passed to make aside from
   * the target, which is captured in recipe.entryPoint. Depending on the recipe
   * Type, the structure may be different.
   *
   * @param array[] $arguments
   */
  public function setArguments($arguments)
  {
    $this->arguments = $arguments;
  }
  /**
   * @return array[]
   */
  public function getArguments()
  {
    return $this->arguments;
  }
  /**
   * Index in materials containing the recipe steps that are not implied by
   * recipe.type. For example, if the recipe type were "make", then this would
   * point to the source containing the Makefile, not the make program itself.
   * Set to -1 if the recipe doesn't come from a material, as zero is default
   * unset value for int64.
   *
   * @param string $definedInMaterial
   */
  public function setDefinedInMaterial($definedInMaterial)
  {
    $this->definedInMaterial = $definedInMaterial;
  }
  /**
   * @return string
   */
  public function getDefinedInMaterial()
  {
    return $this->definedInMaterial;
  }
  /**
   * String identifying the entry point into the build. This is often a path to
   * a configuration file and/or a target label within that file. The syntax and
   * meaning are defined by recipe.type. For example, if the recipe type were
   * "make", then this would reference the directory in which to run make as
   * well as which target to use.
   *
   * @param string $entryPoint
   */
  public function setEntryPoint($entryPoint)
  {
    $this->entryPoint = $entryPoint;
  }
  /**
   * @return string
   */
  public function getEntryPoint()
  {
    return $this->entryPoint;
  }
  /**
   * Any other builder-controlled inputs necessary for correctly evaluating the
   * recipe. Usually only needed for reproducing the build but not evaluated as
   * part of policy. Depending on the recipe Type, the structure may be
   * different.
   *
   * @param array[] $environment
   */
  public function setEnvironment($environment)
  {
    $this->environment = $environment;
  }
  /**
   * @return array[]
   */
  public function getEnvironment()
  {
    return $this->environment;
  }
  /**
   * URI indicating what type of recipe was performed. It determines the meaning
   * of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
   *
   * @param string $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return string
   */
  public function getType()
  {
    return $this->type;
  }
}

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