gogol-containeranalysis 0.5.0 → 1.0.0
raw patch · 79 files changed
+21083/−12275 lines, 79 filesdep −basedep ~gogol-coresetup-changed
Dependencies removed: base
Dependency ranges changed: gogol-core
Files
- README.md +1/−1
- Setup.hs +2/−1
- gen/Gogol/ContainerAnalysis.hs +1277/−0
- gen/Gogol/ContainerAnalysis/Internal/Product.hs +10222/−0
- gen/Gogol/ContainerAnalysis/Internal/Sum.hs +2981/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/BatchCreate.hs +129/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Create.hs +128/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Delete.hs +115/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Get.hs +114/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/GetIamPolicy.hs +128/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/List.hs +132/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Occurrences/List.hs +135/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Patch.hs +127/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/SetIamPolicy.hs +128/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/TestIamPermissions.hs +129/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/BatchCreate.hs +130/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Create.hs +129/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Delete.hs +117/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Get.hs +118/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/GetIamPolicy.hs +129/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/GetNotes.hs +120/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/GetVulnerabilitySummary.hs +129/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/List.hs +134/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Patch.hs +131/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/SetIamPolicy.hs +129/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/TestIamPermissions.hs +130/−0
- gen/Gogol/ContainerAnalysis/Projects/Locations/Resources/ExportSBOM.hs +128/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/BatchCreate.hs +124/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/Create.hs +124/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/Delete.hs +111/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/Get.hs +111/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/GetIamPolicy.hs +121/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/List.hs +127/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/Occurrences/List.hs +133/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/Patch.hs +123/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/SetIamPolicy.hs +121/−0
- gen/Gogol/ContainerAnalysis/Projects/Notes/TestIamPermissions.hs +127/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/BatchCreate.hs +125/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/Create.hs +122/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/Delete.hs +114/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/Get.hs +111/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/GetIamPolicy.hs +125/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/GetNotes.hs +116/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/GetVulnerabilitySummary.hs +127/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/List.hs +132/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/Patch.hs +126/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/SetIamPolicy.hs +125/−0
- gen/Gogol/ContainerAnalysis/Projects/Occurrences/TestIamPermissions.hs +128/−0
- gen/Gogol/ContainerAnalysis/Projects/Resources/ExportSBOM.hs +124/−0
- gen/Gogol/ContainerAnalysis/Types.hs +1020/−0
- gen/Network/Google/ContainerAnalysis.hs +0/−814
- gen/Network/Google/ContainerAnalysis/Types.hs +0/−688
- gen/Network/Google/ContainerAnalysis/Types/Product.hs +0/−5365
- gen/Network/Google/ContainerAnalysis/Types/Sum.hs +0/−1217
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/BatchCreate.hs +0/−167
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Create.hs +0/−176
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Delete.hs +0/−149
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Get.hs +0/−149
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/GetIAMPolicy.hs +0/−180
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/List.hs +0/−190
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Occurrences/List.hs +0/−196
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Patch.hs +0/−175
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/SetIAMPolicy.hs +0/−180
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/TestIAMPermissions.hs +0/−182
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/BatchCreate.hs +0/−169
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Create.hs +0/−165
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Delete.hs +0/−154
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Get.hs +0/−149
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/GetIAMPolicy.hs +0/−182
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/GetNotes.hs +0/−154
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/GetVulnerabilitySummary.hs +0/−174
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/List.hs +0/−191
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Patch.hs +0/−176
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/SetIAMPolicy.hs +0/−182
- gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/TestIAMPermissions.hs +0/−183
- gen/Network/Google/Resource/ContainerAnalysis/Projects/ScanConfigs/Get.hs +0/−150
- gen/Network/Google/Resource/ContainerAnalysis/Projects/ScanConfigs/List.hs +0/−192
- gen/Network/Google/Resource/ContainerAnalysis/Projects/ScanConfigs/Update.hs +0/−164
- gogol-containeranalysis.cabal +94/−60
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.5.0`+`1.0.0` ## Description
Setup.hs view
@@ -1,2 +1,3 @@-import Distribution.Simple+import Distribution.Simple+ main = defaultMain
+ gen/Gogol/ContainerAnalysis.hs view
@@ -0,0 +1,1277 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in both Artifact Registry and with Advanced Vulnerability Insights (runtime scanning) in GKE. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference>+module Gogol.ContainerAnalysis+ ( -- * Configuration+ containerAnalysisService,++ -- * OAuth Scopes+ CloudPlatform'FullControl,++ -- * Resources++ -- ** containeranalysis.projects.locations.notes.batchCreate+ ContainerAnalysisProjectsLocationsNotesBatchCreateResource,+ ContainerAnalysisProjectsLocationsNotesBatchCreate (..),+ newContainerAnalysisProjectsLocationsNotesBatchCreate,++ -- ** containeranalysis.projects.locations.notes.create+ ContainerAnalysisProjectsLocationsNotesCreateResource,+ ContainerAnalysisProjectsLocationsNotesCreate (..),+ newContainerAnalysisProjectsLocationsNotesCreate,++ -- ** containeranalysis.projects.locations.notes.delete+ ContainerAnalysisProjectsLocationsNotesDeleteResource,+ ContainerAnalysisProjectsLocationsNotesDelete (..),+ newContainerAnalysisProjectsLocationsNotesDelete,++ -- ** containeranalysis.projects.locations.notes.get+ ContainerAnalysisProjectsLocationsNotesGetResource,+ ContainerAnalysisProjectsLocationsNotesGet (..),+ newContainerAnalysisProjectsLocationsNotesGet,++ -- ** containeranalysis.projects.locations.notes.getIamPolicy+ ContainerAnalysisProjectsLocationsNotesGetIamPolicyResource,+ ContainerAnalysisProjectsLocationsNotesGetIamPolicy (..),+ newContainerAnalysisProjectsLocationsNotesGetIamPolicy,++ -- ** containeranalysis.projects.locations.notes.list+ ContainerAnalysisProjectsLocationsNotesListResource,+ ContainerAnalysisProjectsLocationsNotesList (..),+ newContainerAnalysisProjectsLocationsNotesList,++ -- ** containeranalysis.projects.locations.notes.occurrences.list+ ContainerAnalysisProjectsLocationsNotesOccurrencesListResource,+ ContainerAnalysisProjectsLocationsNotesOccurrencesList (..),+ newContainerAnalysisProjectsLocationsNotesOccurrencesList,++ -- ** containeranalysis.projects.locations.notes.patch+ ContainerAnalysisProjectsLocationsNotesPatchResource,+ ContainerAnalysisProjectsLocationsNotesPatch (..),+ newContainerAnalysisProjectsLocationsNotesPatch,++ -- ** containeranalysis.projects.locations.notes.setIamPolicy+ ContainerAnalysisProjectsLocationsNotesSetIamPolicyResource,+ ContainerAnalysisProjectsLocationsNotesSetIamPolicy (..),+ newContainerAnalysisProjectsLocationsNotesSetIamPolicy,++ -- ** containeranalysis.projects.locations.notes.testIamPermissions+ ContainerAnalysisProjectsLocationsNotesTestIamPermissionsResource,+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions (..),+ newContainerAnalysisProjectsLocationsNotesTestIamPermissions,++ -- ** containeranalysis.projects.locations.occurrences.batchCreate+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreateResource,+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate (..),+ newContainerAnalysisProjectsLocationsOccurrencesBatchCreate,++ -- ** containeranalysis.projects.locations.occurrences.create+ ContainerAnalysisProjectsLocationsOccurrencesCreateResource,+ ContainerAnalysisProjectsLocationsOccurrencesCreate (..),+ newContainerAnalysisProjectsLocationsOccurrencesCreate,++ -- ** containeranalysis.projects.locations.occurrences.delete+ ContainerAnalysisProjectsLocationsOccurrencesDeleteResource,+ ContainerAnalysisProjectsLocationsOccurrencesDelete (..),+ newContainerAnalysisProjectsLocationsOccurrencesDelete,++ -- ** containeranalysis.projects.locations.occurrences.get+ ContainerAnalysisProjectsLocationsOccurrencesGetResource,+ ContainerAnalysisProjectsLocationsOccurrencesGet (..),+ newContainerAnalysisProjectsLocationsOccurrencesGet,++ -- ** containeranalysis.projects.locations.occurrences.getIamPolicy+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicyResource,+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy (..),+ newContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy,++ -- ** containeranalysis.projects.locations.occurrences.getNotes+ ContainerAnalysisProjectsLocationsOccurrencesGetNotesResource,+ ContainerAnalysisProjectsLocationsOccurrencesGetNotes (..),+ newContainerAnalysisProjectsLocationsOccurrencesGetNotes,++ -- ** containeranalysis.projects.locations.occurrences.getVulnerabilitySummary+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummaryResource,+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary (..),+ newContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary,++ -- ** containeranalysis.projects.locations.occurrences.list+ ContainerAnalysisProjectsLocationsOccurrencesListResource,+ ContainerAnalysisProjectsLocationsOccurrencesList (..),+ newContainerAnalysisProjectsLocationsOccurrencesList,++ -- ** containeranalysis.projects.locations.occurrences.patch+ ContainerAnalysisProjectsLocationsOccurrencesPatchResource,+ ContainerAnalysisProjectsLocationsOccurrencesPatch (..),+ newContainerAnalysisProjectsLocationsOccurrencesPatch,++ -- ** containeranalysis.projects.locations.occurrences.setIamPolicy+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicyResource,+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy (..),+ newContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy,++ -- ** containeranalysis.projects.locations.occurrences.testIamPermissions+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissionsResource,+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions (..),+ newContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions,++ -- ** containeranalysis.projects.locations.resources.exportSBOM+ ContainerAnalysisProjectsLocationsResourcesExportSBOMResource,+ ContainerAnalysisProjectsLocationsResourcesExportSBOM (..),+ newContainerAnalysisProjectsLocationsResourcesExportSBOM,++ -- ** containeranalysis.projects.notes.batchCreate+ ContainerAnalysisProjectsNotesBatchCreateResource,+ ContainerAnalysisProjectsNotesBatchCreate (..),+ newContainerAnalysisProjectsNotesBatchCreate,++ -- ** containeranalysis.projects.notes.create+ ContainerAnalysisProjectsNotesCreateResource,+ ContainerAnalysisProjectsNotesCreate (..),+ newContainerAnalysisProjectsNotesCreate,++ -- ** containeranalysis.projects.notes.delete+ ContainerAnalysisProjectsNotesDeleteResource,+ ContainerAnalysisProjectsNotesDelete (..),+ newContainerAnalysisProjectsNotesDelete,++ -- ** containeranalysis.projects.notes.get+ ContainerAnalysisProjectsNotesGetResource,+ ContainerAnalysisProjectsNotesGet (..),+ newContainerAnalysisProjectsNotesGet,++ -- ** containeranalysis.projects.notes.getIamPolicy+ ContainerAnalysisProjectsNotesGetIamPolicyResource,+ ContainerAnalysisProjectsNotesGetIamPolicy (..),+ newContainerAnalysisProjectsNotesGetIamPolicy,++ -- ** containeranalysis.projects.notes.list+ ContainerAnalysisProjectsNotesListResource,+ ContainerAnalysisProjectsNotesList (..),+ newContainerAnalysisProjectsNotesList,++ -- ** containeranalysis.projects.notes.occurrences.list+ ContainerAnalysisProjectsNotesOccurrencesListResource,+ ContainerAnalysisProjectsNotesOccurrencesList (..),+ newContainerAnalysisProjectsNotesOccurrencesList,++ -- ** containeranalysis.projects.notes.patch+ ContainerAnalysisProjectsNotesPatchResource,+ ContainerAnalysisProjectsNotesPatch (..),+ newContainerAnalysisProjectsNotesPatch,++ -- ** containeranalysis.projects.notes.setIamPolicy+ ContainerAnalysisProjectsNotesSetIamPolicyResource,+ ContainerAnalysisProjectsNotesSetIamPolicy (..),+ newContainerAnalysisProjectsNotesSetIamPolicy,++ -- ** containeranalysis.projects.notes.testIamPermissions+ ContainerAnalysisProjectsNotesTestIamPermissionsResource,+ ContainerAnalysisProjectsNotesTestIamPermissions (..),+ newContainerAnalysisProjectsNotesTestIamPermissions,++ -- ** containeranalysis.projects.occurrences.batchCreate+ ContainerAnalysisProjectsOccurrencesBatchCreateResource,+ ContainerAnalysisProjectsOccurrencesBatchCreate (..),+ newContainerAnalysisProjectsOccurrencesBatchCreate,++ -- ** containeranalysis.projects.occurrences.create+ ContainerAnalysisProjectsOccurrencesCreateResource,+ ContainerAnalysisProjectsOccurrencesCreate (..),+ newContainerAnalysisProjectsOccurrencesCreate,++ -- ** containeranalysis.projects.occurrences.delete+ ContainerAnalysisProjectsOccurrencesDeleteResource,+ ContainerAnalysisProjectsOccurrencesDelete (..),+ newContainerAnalysisProjectsOccurrencesDelete,++ -- ** containeranalysis.projects.occurrences.get+ ContainerAnalysisProjectsOccurrencesGetResource,+ ContainerAnalysisProjectsOccurrencesGet (..),+ newContainerAnalysisProjectsOccurrencesGet,++ -- ** containeranalysis.projects.occurrences.getIamPolicy+ ContainerAnalysisProjectsOccurrencesGetIamPolicyResource,+ ContainerAnalysisProjectsOccurrencesGetIamPolicy (..),+ newContainerAnalysisProjectsOccurrencesGetIamPolicy,++ -- ** containeranalysis.projects.occurrences.getNotes+ ContainerAnalysisProjectsOccurrencesGetNotesResource,+ ContainerAnalysisProjectsOccurrencesGetNotes (..),+ newContainerAnalysisProjectsOccurrencesGetNotes,++ -- ** containeranalysis.projects.occurrences.getVulnerabilitySummary+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummaryResource,+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary (..),+ newContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary,++ -- ** containeranalysis.projects.occurrences.list+ ContainerAnalysisProjectsOccurrencesListResource,+ ContainerAnalysisProjectsOccurrencesList (..),+ newContainerAnalysisProjectsOccurrencesList,++ -- ** containeranalysis.projects.occurrences.patch+ ContainerAnalysisProjectsOccurrencesPatchResource,+ ContainerAnalysisProjectsOccurrencesPatch (..),+ newContainerAnalysisProjectsOccurrencesPatch,++ -- ** containeranalysis.projects.occurrences.setIamPolicy+ ContainerAnalysisProjectsOccurrencesSetIamPolicyResource,+ ContainerAnalysisProjectsOccurrencesSetIamPolicy (..),+ newContainerAnalysisProjectsOccurrencesSetIamPolicy,++ -- ** containeranalysis.projects.occurrences.testIamPermissions+ ContainerAnalysisProjectsOccurrencesTestIamPermissionsResource,+ ContainerAnalysisProjectsOccurrencesTestIamPermissions (..),+ newContainerAnalysisProjectsOccurrencesTestIamPermissions,++ -- ** containeranalysis.projects.resources.exportSBOM+ ContainerAnalysisProjectsResourcesExportSBOMResource,+ ContainerAnalysisProjectsResourcesExportSBOM (..),+ newContainerAnalysisProjectsResourcesExportSBOM,++ -- * Types++ -- ** Xgafv+ Xgafv (..),++ -- ** AliasContext+ AliasContext (..),+ newAliasContext,++ -- ** AliasContext_Kind+ AliasContext_Kind (..),++ -- ** AnalysisCompleted+ AnalysisCompleted (..),+ newAnalysisCompleted,++ -- ** Artifact+ Artifact (..),+ newArtifact,++ -- ** Assessment+ Assessment (..),+ newAssessment,++ -- ** Assessment_State+ Assessment_State (..),++ -- ** AttestationNote+ AttestationNote (..),+ newAttestationNote,++ -- ** AttestationOccurrence+ AttestationOccurrence (..),+ newAttestationOccurrence,++ -- ** BatchCreateNotesRequest+ BatchCreateNotesRequest (..),+ newBatchCreateNotesRequest,++ -- ** BatchCreateNotesRequest_Notes+ BatchCreateNotesRequest_Notes (..),+ newBatchCreateNotesRequest_Notes,++ -- ** BatchCreateNotesResponse+ BatchCreateNotesResponse (..),+ newBatchCreateNotesResponse,++ -- ** BatchCreateOccurrencesRequest+ BatchCreateOccurrencesRequest (..),+ newBatchCreateOccurrencesRequest,++ -- ** BatchCreateOccurrencesResponse+ BatchCreateOccurrencesResponse (..),+ newBatchCreateOccurrencesResponse,++ -- ** Binding+ Binding (..),+ newBinding,++ -- ** BuildDefinition+ BuildDefinition (..),+ newBuildDefinition,++ -- ** BuildDefinition_ExternalParameters+ BuildDefinition_ExternalParameters (..),+ newBuildDefinition_ExternalParameters,++ -- ** BuildDefinition_InternalParameters+ BuildDefinition_InternalParameters (..),+ newBuildDefinition_InternalParameters,++ -- ** BuildMetadata+ BuildMetadata (..),+ newBuildMetadata,++ -- ** BuildNote+ BuildNote (..),+ newBuildNote,++ -- ** BuildOccurrence+ BuildOccurrence (..),+ newBuildOccurrence,++ -- ** BuildProvenance+ BuildProvenance (..),+ newBuildProvenance,++ -- ** BuildProvenance_BuildOptions+ BuildProvenance_BuildOptions (..),+ newBuildProvenance_BuildOptions,++ -- ** BuildStep+ BuildStep (..),+ newBuildStep,++ -- ** BuildStep_Status+ BuildStep_Status (..),++ -- ** BuilderConfig+ BuilderConfig (..),+ newBuilderConfig,++ -- ** CVSS+ CVSS (..),+ newCVSS,++ -- ** CVSS_AttackComplexity+ CVSS_AttackComplexity (..),++ -- ** CVSS_AttackVector+ CVSS_AttackVector (..),++ -- ** CVSS_Authentication+ CVSS_Authentication (..),++ -- ** CVSS_AvailabilityImpact+ CVSS_AvailabilityImpact (..),++ -- ** CVSS_ConfidentialityImpact+ CVSS_ConfidentialityImpact (..),++ -- ** CVSS_IntegrityImpact+ CVSS_IntegrityImpact (..),++ -- ** CVSS_PrivilegesRequired+ CVSS_PrivilegesRequired (..),++ -- ** CVSS_Scope+ CVSS_Scope (..),++ -- ** CVSS_UserInteraction+ CVSS_UserInteraction (..),++ -- ** CVSSv3+ CVSSv3 (..),+ newCVSSv3,++ -- ** CVSSv3_AttackComplexity+ CVSSv3_AttackComplexity (..),++ -- ** CVSSv3_AttackVector+ CVSSv3_AttackVector (..),++ -- ** CVSSv3_AvailabilityImpact+ CVSSv3_AvailabilityImpact (..),++ -- ** CVSSv3_ConfidentialityImpact+ CVSSv3_ConfidentialityImpact (..),++ -- ** CVSSv3_IntegrityImpact+ CVSSv3_IntegrityImpact (..),++ -- ** CVSSv3_PrivilegesRequired+ CVSSv3_PrivilegesRequired (..),++ -- ** CVSSv3_Scope+ CVSSv3_Scope (..),++ -- ** CVSSv3_UserInteraction+ CVSSv3_UserInteraction (..),++ -- ** Category+ Category (..),+ newCategory,++ -- ** CisBenchmark+ CisBenchmark (..),+ newCisBenchmark,++ -- ** CisBenchmark_Severity+ CisBenchmark_Severity (..),++ -- ** CloudRepoSourceContext+ CloudRepoSourceContext (..),+ newCloudRepoSourceContext,++ -- ** CloudStorageLocation+ CloudStorageLocation (..),+ newCloudStorageLocation,++ -- ** Command+ Command (..),+ newCommand,++ -- ** Completeness+ Completeness (..),+ newCompleteness,++ -- ** ComplianceNote+ ComplianceNote (..),+ newComplianceNote,++ -- ** ComplianceOccurrence+ ComplianceOccurrence (..),+ newComplianceOccurrence,++ -- ** ComplianceVersion+ ComplianceVersion (..),+ newComplianceVersion,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Dependency,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitSource,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Hash,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Results,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secret,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secrets,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Source,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Volume,++ -- ** DSSEAttestationNote+ DSSEAttestationNote (..),+ newDSSEAttestationNote,++ -- ** DSSEAttestationOccurrence+ DSSEAttestationOccurrence (..),+ newDSSEAttestationOccurrence,++ -- ** DSSEHint+ DSSEHint (..),+ newDSSEHint,++ -- ** DeploymentNote+ DeploymentNote (..),+ newDeploymentNote,++ -- ** DeploymentOccurrence+ DeploymentOccurrence (..),+ newDeploymentOccurrence,++ -- ** DeploymentOccurrence_Platform+ DeploymentOccurrence_Platform (..),++ -- ** Detail+ Detail (..),+ newDetail,++ -- ** Digest+ Digest (..),+ newDigest,++ -- ** DiscoveryNote+ DiscoveryNote (..),+ newDiscoveryNote,++ -- ** DiscoveryNote_AnalysisKind+ DiscoveryNote_AnalysisKind (..),++ -- ** DiscoveryOccurrence+ DiscoveryOccurrence (..),+ newDiscoveryOccurrence,++ -- ** DiscoveryOccurrence_AnalysisStatus+ DiscoveryOccurrence_AnalysisStatus (..),++ -- ** DiscoveryOccurrence_ContinuousAnalysis+ DiscoveryOccurrence_ContinuousAnalysis (..),++ -- ** Distribution+ Distribution (..),+ newDistribution,++ -- ** Distribution_Architecture+ Distribution_Architecture (..),++ -- ** Empty+ Empty (..),+ newEmpty,++ -- ** Envelope+ Envelope (..),+ newEnvelope,++ -- ** EnvelopeSignature+ EnvelopeSignature (..),+ newEnvelopeSignature,++ -- ** ExportSBOMRequest+ ExportSBOMRequest (..),+ newExportSBOMRequest,++ -- ** ExportSBOMResponse+ ExportSBOMResponse (..),+ newExportSBOMResponse,++ -- ** Expr+ Expr (..),+ newExpr,++ -- ** FileHashes+ FileHashes (..),+ newFileHashes,++ -- ** Fingerprint+ Fingerprint (..),+ newFingerprint,++ -- ** FixableTotalByDigest+ FixableTotalByDigest (..),+ newFixableTotalByDigest,++ -- ** FixableTotalByDigest_Severity+ FixableTotalByDigest_Severity (..),++ -- ** GerritSourceContext+ GerritSourceContext (..),+ newGerritSourceContext,++ -- ** GetIamPolicyRequest+ GetIamPolicyRequest (..),+ newGetIamPolicyRequest,++ -- ** GetPolicyOptions+ GetPolicyOptions (..),+ newGetPolicyOptions,++ -- ** GitSourceContext+ GitSourceContext (..),+ newGitSourceContext,++ -- ** GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (..),+ newGoogleDevtoolsContaineranalysisV1alpha1OperationMetadata,++ -- ** GrafeasV1FileLocation+ GrafeasV1FileLocation (..),+ newGrafeasV1FileLocation,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder+ GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaBuilder,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+ GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMetadata,++ -- ** Hash+ Hash (..),+ newHash,++ -- ** Hint+ Hint (..),+ newHint,++ -- ** Identity+ Identity (..),+ newIdentity,++ -- ** ImageNote+ ImageNote (..),+ newImageNote,++ -- ** ImageOccurrence+ ImageOccurrence (..),+ newImageOccurrence,++ -- ** InTotoProvenance+ InTotoProvenance (..),+ newInTotoProvenance,++ -- ** InTotoSlsaProvenanceV1+ InTotoSlsaProvenanceV1 (..),+ newInTotoSlsaProvenanceV1,++ -- ** InTotoStatement+ InTotoStatement (..),+ newInTotoStatement,++ -- ** Justification+ Justification (..),+ newJustification,++ -- ** Justification_JustificationType+ Justification_JustificationType (..),++ -- ** Jwt+ Jwt (..),+ newJwt,++ -- ** KnowledgeBase+ KnowledgeBase (..),+ newKnowledgeBase,++ -- ** Layer+ Layer (..),+ newLayer,++ -- ** License+ License (..),+ newLicense,++ -- ** ListNoteOccurrencesResponse+ ListNoteOccurrencesResponse (..),+ newListNoteOccurrencesResponse,++ -- ** ListNotesResponse+ ListNotesResponse (..),+ newListNotesResponse,++ -- ** ListOccurrencesResponse+ ListOccurrencesResponse (..),+ newListOccurrencesResponse,++ -- ** Location+ Location (..),+ newLocation,++ -- ** Material+ Material (..),+ newMaterial,++ -- ** Material_Digest+ Material_Digest (..),+ newMaterial_Digest,++ -- ** Metadata+ Metadata (..),+ newMetadata,++ -- ** NonCompliantFile+ NonCompliantFile (..),+ newNonCompliantFile,++ -- ** Note+ Note (..),+ newNote,++ -- ** Note_Kind+ Note_Kind (..),++ -- ** Occurrence+ Occurrence (..),+ newOccurrence,++ -- ** Occurrence_Kind+ Occurrence_Kind (..),++ -- ** PackageIssue+ PackageIssue (..),+ newPackageIssue,++ -- ** PackageIssue_EffectiveSeverity+ PackageIssue_EffectiveSeverity (..),++ -- ** PackageNote+ PackageNote (..),+ newPackageNote,++ -- ** PackageNote_Architecture+ PackageNote_Architecture (..),++ -- ** PackageOccurrence+ PackageOccurrence (..),+ newPackageOccurrence,++ -- ** PackageOccurrence_Architecture+ PackageOccurrence_Architecture (..),++ -- ** Policy+ Policy (..),+ newPolicy,++ -- ** Product+ Product (..),+ newProduct,++ -- ** ProjectRepoId+ ProjectRepoId (..),+ newProjectRepoId,++ -- ** ProvenanceBuilder+ ProvenanceBuilder (..),+ newProvenanceBuilder,++ -- ** ProvenanceBuilder_Version+ ProvenanceBuilder_Version (..),+ newProvenanceBuilder_Version,++ -- ** Publisher+ Publisher (..),+ newPublisher,++ -- ** Recipe+ Recipe (..),+ newRecipe,++ -- ** Recipe_ArgumentsItem+ Recipe_ArgumentsItem (..),+ newRecipe_ArgumentsItem,++ -- ** Recipe_EnvironmentItem+ Recipe_EnvironmentItem (..),+ newRecipe_EnvironmentItem,++ -- ** RelatedUrl+ RelatedUrl (..),+ newRelatedUrl,++ -- ** Remediation+ Remediation (..),+ newRemediation,++ -- ** Remediation_RemediationType+ Remediation_RemediationType (..),++ -- ** RepoId+ RepoId (..),+ newRepoId,++ -- ** ResourceDescriptor+ ResourceDescriptor (..),+ newResourceDescriptor,++ -- ** ResourceDescriptor_Annotations+ ResourceDescriptor_Annotations (..),+ newResourceDescriptor_Annotations,++ -- ** ResourceDescriptor_Digest+ ResourceDescriptor_Digest (..),+ newResourceDescriptor_Digest,++ -- ** RunDetails+ RunDetails (..),+ newRunDetails,++ -- ** SBOMReferenceNote+ SBOMReferenceNote (..),+ newSBOMReferenceNote,++ -- ** SBOMReferenceOccurrence+ SBOMReferenceOccurrence (..),+ newSBOMReferenceOccurrence,++ -- ** SBOMStatus+ SBOMStatus (..),+ newSBOMStatus,++ -- ** SBOMStatus_SbomState+ SBOMStatus_SbomState (..),++ -- ** SbomReferenceIntotoPayload+ SbomReferenceIntotoPayload (..),+ newSbomReferenceIntotoPayload,++ -- ** SbomReferenceIntotoPredicate+ SbomReferenceIntotoPredicate (..),+ newSbomReferenceIntotoPredicate,++ -- ** SbomReferenceIntotoPredicate_Digest+ SbomReferenceIntotoPredicate_Digest (..),+ newSbomReferenceIntotoPredicate_Digest,++ -- ** SetIamPolicyRequest+ SetIamPolicyRequest (..),+ newSetIamPolicyRequest,++ -- ** Signature+ Signature (..),+ newSignature,++ -- ** SlsaBuilder+ SlsaBuilder (..),+ newSlsaBuilder,++ -- ** SlsaCompleteness+ SlsaCompleteness (..),+ newSlsaCompleteness,++ -- ** SlsaMetadata+ SlsaMetadata (..),+ newSlsaMetadata,++ -- ** SlsaProvenance+ SlsaProvenance (..),+ newSlsaProvenance,++ -- ** SlsaProvenanceV1+ SlsaProvenanceV1 (..),+ newSlsaProvenanceV1,++ -- ** SlsaProvenanceZeroTwo+ SlsaProvenanceZeroTwo (..),+ newSlsaProvenanceZeroTwo,++ -- ** SlsaProvenanceZeroTwo_BuildConfig+ SlsaProvenanceZeroTwo_BuildConfig (..),+ newSlsaProvenanceZeroTwo_BuildConfig,++ -- ** SlsaRecipe+ SlsaRecipe (..),+ newSlsaRecipe,++ -- ** SlsaRecipe_Arguments+ SlsaRecipe_Arguments (..),+ newSlsaRecipe_Arguments,++ -- ** SlsaRecipe_Environment+ SlsaRecipe_Environment (..),+ newSlsaRecipe_Environment,++ -- ** Source+ Source (..),+ newSource,++ -- ** Source_FileHashes+ Source_FileHashes (..),+ newSource_FileHashes,++ -- ** SourceContext+ SourceContext (..),+ newSourceContext,++ -- ** SourceContext_Labels+ SourceContext_Labels (..),+ newSourceContext_Labels,++ -- ** Status+ Status (..),+ newStatus,++ -- ** Status_DetailsItem+ Status_DetailsItem (..),+ newStatus_DetailsItem,++ -- ** Subject+ Subject (..),+ newSubject,++ -- ** Subject_Digest+ Subject_Digest (..),+ newSubject_Digest,++ -- ** TestIamPermissionsRequest+ TestIamPermissionsRequest (..),+ newTestIamPermissionsRequest,++ -- ** TestIamPermissionsResponse+ TestIamPermissionsResponse (..),+ newTestIamPermissionsResponse,++ -- ** TimeSpan+ TimeSpan (..),+ newTimeSpan,++ -- ** UpgradeDistribution+ UpgradeDistribution (..),+ newUpgradeDistribution,++ -- ** UpgradeNote+ UpgradeNote (..),+ newUpgradeNote,++ -- ** UpgradeOccurrence+ UpgradeOccurrence (..),+ newUpgradeOccurrence,++ -- ** Version+ Version (..),+ newVersion,++ -- ** Version_Kind+ Version_Kind (..),++ -- ** VexAssessment+ VexAssessment (..),+ newVexAssessment,++ -- ** VexAssessment_State+ VexAssessment_State (..),++ -- ** Volume+ Volume (..),+ newVolume,++ -- ** VulnerabilityAssessmentNote+ VulnerabilityAssessmentNote (..),+ newVulnerabilityAssessmentNote,++ -- ** VulnerabilityNote+ VulnerabilityNote (..),+ newVulnerabilityNote,++ -- ** VulnerabilityNote_CvssVersion+ VulnerabilityNote_CvssVersion (..),++ -- ** VulnerabilityNote_Severity+ VulnerabilityNote_Severity (..),++ -- ** VulnerabilityOccurrence+ VulnerabilityOccurrence (..),+ newVulnerabilityOccurrence,++ -- ** VulnerabilityOccurrence_CvssVersion+ VulnerabilityOccurrence_CvssVersion (..),++ -- ** VulnerabilityOccurrence_EffectiveSeverity+ VulnerabilityOccurrence_EffectiveSeverity (..),++ -- ** VulnerabilityOccurrence_Severity+ VulnerabilityOccurrence_Severity (..),++ -- ** VulnerabilityOccurrencesSummary+ VulnerabilityOccurrencesSummary (..),+ newVulnerabilityOccurrencesSummary,++ -- ** WindowsDetail+ WindowsDetail (..),+ newWindowsDetail,++ -- ** WindowsUpdate+ WindowsUpdate (..),+ newWindowsUpdate,+ )+where++import Gogol.ContainerAnalysis.Projects.Locations.Notes.BatchCreate+import Gogol.ContainerAnalysis.Projects.Locations.Notes.Create+import Gogol.ContainerAnalysis.Projects.Locations.Notes.Delete+import Gogol.ContainerAnalysis.Projects.Locations.Notes.Get+import Gogol.ContainerAnalysis.Projects.Locations.Notes.GetIamPolicy+import Gogol.ContainerAnalysis.Projects.Locations.Notes.List+import Gogol.ContainerAnalysis.Projects.Locations.Notes.Occurrences.List+import Gogol.ContainerAnalysis.Projects.Locations.Notes.Patch+import Gogol.ContainerAnalysis.Projects.Locations.Notes.SetIamPolicy+import Gogol.ContainerAnalysis.Projects.Locations.Notes.TestIamPermissions+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.BatchCreate+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Create+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Delete+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Get+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetIamPolicy+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetNotes+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetVulnerabilitySummary+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.List+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Patch+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.SetIamPolicy+import Gogol.ContainerAnalysis.Projects.Locations.Occurrences.TestIamPermissions+import Gogol.ContainerAnalysis.Projects.Locations.Resources.ExportSBOM+import Gogol.ContainerAnalysis.Projects.Notes.BatchCreate+import Gogol.ContainerAnalysis.Projects.Notes.Create+import Gogol.ContainerAnalysis.Projects.Notes.Delete+import Gogol.ContainerAnalysis.Projects.Notes.Get+import Gogol.ContainerAnalysis.Projects.Notes.GetIamPolicy+import Gogol.ContainerAnalysis.Projects.Notes.List+import Gogol.ContainerAnalysis.Projects.Notes.Occurrences.List+import Gogol.ContainerAnalysis.Projects.Notes.Patch+import Gogol.ContainerAnalysis.Projects.Notes.SetIamPolicy+import Gogol.ContainerAnalysis.Projects.Notes.TestIamPermissions+import Gogol.ContainerAnalysis.Projects.Occurrences.BatchCreate+import Gogol.ContainerAnalysis.Projects.Occurrences.Create+import Gogol.ContainerAnalysis.Projects.Occurrences.Delete+import Gogol.ContainerAnalysis.Projects.Occurrences.Get+import Gogol.ContainerAnalysis.Projects.Occurrences.GetIamPolicy+import Gogol.ContainerAnalysis.Projects.Occurrences.GetNotes+import Gogol.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary+import Gogol.ContainerAnalysis.Projects.Occurrences.List+import Gogol.ContainerAnalysis.Projects.Occurrences.Patch+import Gogol.ContainerAnalysis.Projects.Occurrences.SetIamPolicy+import Gogol.ContainerAnalysis.Projects.Occurrences.TestIamPermissions+import Gogol.ContainerAnalysis.Projects.Resources.ExportSBOM+import Gogol.ContainerAnalysis.Types
+ gen/Gogol/ContainerAnalysis/Internal/Product.hs view
@@ -0,0 +1,10222 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Internal.Product+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.ContainerAnalysis.Internal.Product+ ( -- * AliasContext+ AliasContext (..),+ newAliasContext,++ -- * AnalysisCompleted+ AnalysisCompleted (..),+ newAnalysisCompleted,++ -- * Artifact+ Artifact (..),+ newArtifact,++ -- * Assessment+ Assessment (..),+ newAssessment,++ -- * AttestationNote+ AttestationNote (..),+ newAttestationNote,++ -- * AttestationOccurrence+ AttestationOccurrence (..),+ newAttestationOccurrence,++ -- * BatchCreateNotesRequest+ BatchCreateNotesRequest (..),+ newBatchCreateNotesRequest,++ -- * BatchCreateNotesRequest_Notes+ BatchCreateNotesRequest_Notes (..),+ newBatchCreateNotesRequest_Notes,++ -- * BatchCreateNotesResponse+ BatchCreateNotesResponse (..),+ newBatchCreateNotesResponse,++ -- * BatchCreateOccurrencesRequest+ BatchCreateOccurrencesRequest (..),+ newBatchCreateOccurrencesRequest,++ -- * BatchCreateOccurrencesResponse+ BatchCreateOccurrencesResponse (..),+ newBatchCreateOccurrencesResponse,++ -- * Binding+ Binding (..),+ newBinding,++ -- * BuildDefinition+ BuildDefinition (..),+ newBuildDefinition,++ -- * BuildDefinition_ExternalParameters+ BuildDefinition_ExternalParameters (..),+ newBuildDefinition_ExternalParameters,++ -- * BuildDefinition_InternalParameters+ BuildDefinition_InternalParameters (..),+ newBuildDefinition_InternalParameters,++ -- * BuildMetadata+ BuildMetadata (..),+ newBuildMetadata,++ -- * BuildNote+ BuildNote (..),+ newBuildNote,++ -- * BuildOccurrence+ BuildOccurrence (..),+ newBuildOccurrence,++ -- * BuildProvenance+ BuildProvenance (..),+ newBuildProvenance,++ -- * BuildProvenance_BuildOptions+ BuildProvenance_BuildOptions (..),+ newBuildProvenance_BuildOptions,++ -- * BuildStep+ BuildStep (..),+ newBuildStep,++ -- * BuilderConfig+ BuilderConfig (..),+ newBuilderConfig,++ -- * CVSS+ CVSS (..),+ newCVSS,++ -- * CVSSv3+ CVSSv3 (..),+ newCVSSv3,++ -- * Category+ Category (..),+ newCategory,++ -- * CisBenchmark+ CisBenchmark (..),+ newCisBenchmark,++ -- * CloudRepoSourceContext+ CloudRepoSourceContext (..),+ newCloudRepoSourceContext,++ -- * CloudStorageLocation+ CloudStorageLocation (..),+ newCloudStorageLocation,++ -- * Command+ Command (..),+ newCommand,++ -- * Completeness+ Completeness (..),+ newCompleteness,++ -- * ComplianceNote+ ComplianceNote (..),+ newComplianceNote,++ -- * ComplianceOccurrence+ ComplianceOccurrence (..),+ newComplianceOccurrence,++ -- * ComplianceVersion+ ComplianceVersion (..),+ newComplianceVersion,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Dependency,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitSource,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Hash,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Results,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secret,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secrets,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Source,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage,++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Volume,++ -- * DSSEAttestationNote+ DSSEAttestationNote (..),+ newDSSEAttestationNote,++ -- * DSSEAttestationOccurrence+ DSSEAttestationOccurrence (..),+ newDSSEAttestationOccurrence,++ -- * DSSEHint+ DSSEHint (..),+ newDSSEHint,++ -- * DeploymentNote+ DeploymentNote (..),+ newDeploymentNote,++ -- * DeploymentOccurrence+ DeploymentOccurrence (..),+ newDeploymentOccurrence,++ -- * Detail+ Detail (..),+ newDetail,++ -- * Digest+ Digest (..),+ newDigest,++ -- * DiscoveryNote+ DiscoveryNote (..),+ newDiscoveryNote,++ -- * DiscoveryOccurrence+ DiscoveryOccurrence (..),+ newDiscoveryOccurrence,++ -- * Distribution+ Distribution (..),+ newDistribution,++ -- * Empty+ Empty (..),+ newEmpty,++ -- * Envelope+ Envelope (..),+ newEnvelope,++ -- * EnvelopeSignature+ EnvelopeSignature (..),+ newEnvelopeSignature,++ -- * ExportSBOMRequest+ ExportSBOMRequest (..),+ newExportSBOMRequest,++ -- * ExportSBOMResponse+ ExportSBOMResponse (..),+ newExportSBOMResponse,++ -- * Expr+ Expr (..),+ newExpr,++ -- * FileHashes+ FileHashes (..),+ newFileHashes,++ -- * Fingerprint+ Fingerprint (..),+ newFingerprint,++ -- * FixableTotalByDigest+ FixableTotalByDigest (..),+ newFixableTotalByDigest,++ -- * GerritSourceContext+ GerritSourceContext (..),+ newGerritSourceContext,++ -- * GetIamPolicyRequest+ GetIamPolicyRequest (..),+ newGetIamPolicyRequest,++ -- * GetPolicyOptions+ GetPolicyOptions (..),+ newGetPolicyOptions,++ -- * GitSourceContext+ GitSourceContext (..),+ newGitSourceContext,++ -- * GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (..),+ newGoogleDevtoolsContaineranalysisV1alpha1OperationMetadata,++ -- * GrafeasV1FileLocation+ GrafeasV1FileLocation (..),+ newGrafeasV1FileLocation,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder+ GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaBuilder,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest,++ -- * GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+ GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMetadata,++ -- * Hash+ Hash (..),+ newHash,++ -- * Hint+ Hint (..),+ newHint,++ -- * Identity+ Identity (..),+ newIdentity,++ -- * ImageNote+ ImageNote (..),+ newImageNote,++ -- * ImageOccurrence+ ImageOccurrence (..),+ newImageOccurrence,++ -- * InTotoProvenance+ InTotoProvenance (..),+ newInTotoProvenance,++ -- * InTotoSlsaProvenanceV1+ InTotoSlsaProvenanceV1 (..),+ newInTotoSlsaProvenanceV1,++ -- * InTotoStatement+ InTotoStatement (..),+ newInTotoStatement,++ -- * Justification+ Justification (..),+ newJustification,++ -- * Jwt+ Jwt (..),+ newJwt,++ -- * KnowledgeBase+ KnowledgeBase (..),+ newKnowledgeBase,++ -- * Layer+ Layer (..),+ newLayer,++ -- * License+ License (..),+ newLicense,++ -- * ListNoteOccurrencesResponse+ ListNoteOccurrencesResponse (..),+ newListNoteOccurrencesResponse,++ -- * ListNotesResponse+ ListNotesResponse (..),+ newListNotesResponse,++ -- * ListOccurrencesResponse+ ListOccurrencesResponse (..),+ newListOccurrencesResponse,++ -- * Location+ Location (..),+ newLocation,++ -- * Material+ Material (..),+ newMaterial,++ -- * Material_Digest+ Material_Digest (..),+ newMaterial_Digest,++ -- * Metadata+ Metadata (..),+ newMetadata,++ -- * NonCompliantFile+ NonCompliantFile (..),+ newNonCompliantFile,++ -- * Note+ Note (..),+ newNote,++ -- * Occurrence+ Occurrence (..),+ newOccurrence,++ -- * PackageIssue+ PackageIssue (..),+ newPackageIssue,++ -- * PackageNote+ PackageNote (..),+ newPackageNote,++ -- * PackageOccurrence+ PackageOccurrence (..),+ newPackageOccurrence,++ -- * Policy+ Policy (..),+ newPolicy,++ -- * Product+ Product (..),+ newProduct,++ -- * ProjectRepoId+ ProjectRepoId (..),+ newProjectRepoId,++ -- * ProvenanceBuilder+ ProvenanceBuilder (..),+ newProvenanceBuilder,++ -- * ProvenanceBuilder_Version+ ProvenanceBuilder_Version (..),+ newProvenanceBuilder_Version,++ -- * Publisher+ Publisher (..),+ newPublisher,++ -- * Recipe+ Recipe (..),+ newRecipe,++ -- * Recipe_ArgumentsItem+ Recipe_ArgumentsItem (..),+ newRecipe_ArgumentsItem,++ -- * Recipe_EnvironmentItem+ Recipe_EnvironmentItem (..),+ newRecipe_EnvironmentItem,++ -- * RelatedUrl+ RelatedUrl (..),+ newRelatedUrl,++ -- * Remediation+ Remediation (..),+ newRemediation,++ -- * RepoId+ RepoId (..),+ newRepoId,++ -- * ResourceDescriptor+ ResourceDescriptor (..),+ newResourceDescriptor,++ -- * ResourceDescriptor_Annotations+ ResourceDescriptor_Annotations (..),+ newResourceDescriptor_Annotations,++ -- * ResourceDescriptor_Digest+ ResourceDescriptor_Digest (..),+ newResourceDescriptor_Digest,++ -- * RunDetails+ RunDetails (..),+ newRunDetails,++ -- * SBOMReferenceNote+ SBOMReferenceNote (..),+ newSBOMReferenceNote,++ -- * SBOMReferenceOccurrence+ SBOMReferenceOccurrence (..),+ newSBOMReferenceOccurrence,++ -- * SBOMStatus+ SBOMStatus (..),+ newSBOMStatus,++ -- * SbomReferenceIntotoPayload+ SbomReferenceIntotoPayload (..),+ newSbomReferenceIntotoPayload,++ -- * SbomReferenceIntotoPredicate+ SbomReferenceIntotoPredicate (..),+ newSbomReferenceIntotoPredicate,++ -- * SbomReferenceIntotoPredicate_Digest+ SbomReferenceIntotoPredicate_Digest (..),+ newSbomReferenceIntotoPredicate_Digest,++ -- * SetIamPolicyRequest+ SetIamPolicyRequest (..),+ newSetIamPolicyRequest,++ -- * Signature+ Signature (..),+ newSignature,++ -- * SlsaBuilder+ SlsaBuilder (..),+ newSlsaBuilder,++ -- * SlsaCompleteness+ SlsaCompleteness (..),+ newSlsaCompleteness,++ -- * SlsaMetadata+ SlsaMetadata (..),+ newSlsaMetadata,++ -- * SlsaProvenance+ SlsaProvenance (..),+ newSlsaProvenance,++ -- * SlsaProvenanceV1+ SlsaProvenanceV1 (..),+ newSlsaProvenanceV1,++ -- * SlsaProvenanceZeroTwo+ SlsaProvenanceZeroTwo (..),+ newSlsaProvenanceZeroTwo,++ -- * SlsaProvenanceZeroTwo_BuildConfig+ SlsaProvenanceZeroTwo_BuildConfig (..),+ newSlsaProvenanceZeroTwo_BuildConfig,++ -- * SlsaRecipe+ SlsaRecipe (..),+ newSlsaRecipe,++ -- * SlsaRecipe_Arguments+ SlsaRecipe_Arguments (..),+ newSlsaRecipe_Arguments,++ -- * SlsaRecipe_Environment+ SlsaRecipe_Environment (..),+ newSlsaRecipe_Environment,++ -- * Source+ Source (..),+ newSource,++ -- * Source_FileHashes+ Source_FileHashes (..),+ newSource_FileHashes,++ -- * SourceContext+ SourceContext (..),+ newSourceContext,++ -- * SourceContext_Labels+ SourceContext_Labels (..),+ newSourceContext_Labels,++ -- * Status+ Status (..),+ newStatus,++ -- * Status_DetailsItem+ Status_DetailsItem (..),+ newStatus_DetailsItem,++ -- * Subject+ Subject (..),+ newSubject,++ -- * Subject_Digest+ Subject_Digest (..),+ newSubject_Digest,++ -- * TestIamPermissionsRequest+ TestIamPermissionsRequest (..),+ newTestIamPermissionsRequest,++ -- * TestIamPermissionsResponse+ TestIamPermissionsResponse (..),+ newTestIamPermissionsResponse,++ -- * TimeSpan+ TimeSpan (..),+ newTimeSpan,++ -- * UpgradeDistribution+ UpgradeDistribution (..),+ newUpgradeDistribution,++ -- * UpgradeNote+ UpgradeNote (..),+ newUpgradeNote,++ -- * UpgradeOccurrence+ UpgradeOccurrence (..),+ newUpgradeOccurrence,++ -- * Version+ Version (..),+ newVersion,++ -- * VexAssessment+ VexAssessment (..),+ newVexAssessment,++ -- * Volume+ Volume (..),+ newVolume,++ -- * VulnerabilityAssessmentNote+ VulnerabilityAssessmentNote (..),+ newVulnerabilityAssessmentNote,++ -- * VulnerabilityNote+ VulnerabilityNote (..),+ newVulnerabilityNote,++ -- * VulnerabilityOccurrence+ VulnerabilityOccurrence (..),+ newVulnerabilityOccurrence,++ -- * VulnerabilityOccurrencesSummary+ VulnerabilityOccurrencesSummary (..),+ newVulnerabilityOccurrencesSummary,++ -- * WindowsDetail+ WindowsDetail (..),+ newWindowsDetail,++ -- * WindowsUpdate+ WindowsUpdate (..),+ newWindowsUpdate,+ )+where++import Gogol.ContainerAnalysis.Internal.Sum+import Gogol.Prelude qualified as Core++-- | An alias to a repo revision.+--+-- /See:/ 'newAliasContext' smart constructor.+data AliasContext = AliasContext+ { -- | The alias kind.+ kind :: (Core.Maybe AliasContext_Kind),+ -- | The alias name.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AliasContext' with the minimum fields required to make a request.+newAliasContext ::+ AliasContext+newAliasContext =+ AliasContext {kind = Core.Nothing, name = Core.Nothing}++instance Core.FromJSON AliasContext where+ parseJSON =+ Core.withObject+ "AliasContext"+ ( \o ->+ AliasContext+ Core.<$> (o Core..:? "kind")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON AliasContext where+ toJSON AliasContext {..} =+ Core.object+ ( Core.catMaybes+ [("kind" Core..=) Core.<$> kind, ("name" Core..=) Core.<$> name]+ )++-- | Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.+--+-- /See:/ 'newAnalysisCompleted' smart constructor.+newtype AnalysisCompleted = AnalysisCompleted+ { analysisType :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AnalysisCompleted' with the minimum fields required to make a request.+newAnalysisCompleted ::+ AnalysisCompleted+newAnalysisCompleted =+ AnalysisCompleted {analysisType = Core.Nothing}++instance Core.FromJSON AnalysisCompleted where+ parseJSON =+ Core.withObject+ "AnalysisCompleted"+ (\o -> AnalysisCompleted Core.<$> (o Core..:? "analysisType"))++instance Core.ToJSON AnalysisCompleted where+ toJSON AnalysisCompleted {..} =+ Core.object+ (Core.catMaybes [("analysisType" Core..=) Core.<$> analysisType])++-- | Artifact describes a build product.+--+-- /See:/ 'newArtifact' smart constructor.+data Artifact = Artifact+ { -- | Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.+ checksum :: (Core.Maybe Core.Text),+ -- | Artifact ID, if any; for container images, this will be a URL by digest like @gcr.io\/projectID\/imagename\@sha256:123456@.+ id :: (Core.Maybe Core.Text),+ -- | Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to @docker push@. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.+ names :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Artifact' with the minimum fields required to make a request.+newArtifact ::+ Artifact+newArtifact =+ Artifact+ { checksum = Core.Nothing,+ id = Core.Nothing,+ names = Core.Nothing+ }++instance Core.FromJSON Artifact where+ parseJSON =+ Core.withObject+ "Artifact"+ ( \o ->+ Artifact+ Core.<$> (o Core..:? "checksum")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "names")+ )++instance Core.ToJSON Artifact where+ toJSON Artifact {..} =+ Core.object+ ( Core.catMaybes+ [ ("checksum" Core..=) Core.<$> checksum,+ ("id" Core..=) Core.<$> id,+ ("names" Core..=) Core.<$> names+ ]+ )++-- | Assessment provides all information that is related to a single vulnerability for this product.+--+-- /See:/ 'newAssessment' smart constructor.+data Assessment = Assessment+ { -- | Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.+ cve :: (Core.Maybe Core.Text),+ -- | Contains information about the impact of this vulnerability, this will change with time.+ impacts :: (Core.Maybe [Core.Text]),+ -- | Justification provides the justification when the state of the assessment if NOT_AFFECTED.+ justification :: (Core.Maybe Justification),+ -- | A detailed description of this Vex.+ longDescription :: (Core.Maybe Core.Text),+ -- | 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.+ relatedUris :: (Core.Maybe [RelatedUrl]),+ -- | Specifies details on how to handle (and presumably, fix) a vulnerability.+ remediations :: (Core.Maybe [Remediation]),+ -- | A one sentence description of this Vex.+ shortDescription :: (Core.Maybe Core.Text),+ -- | Provides the state of this Vulnerability assessment.+ state :: (Core.Maybe Assessment_State),+ -- | The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.+ vulnerabilityId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Assessment' with the minimum fields required to make a request.+newAssessment ::+ Assessment+newAssessment =+ Assessment+ { cve = Core.Nothing,+ impacts = Core.Nothing,+ justification = Core.Nothing,+ longDescription = Core.Nothing,+ relatedUris = Core.Nothing,+ remediations = Core.Nothing,+ shortDescription = Core.Nothing,+ state = Core.Nothing,+ vulnerabilityId = Core.Nothing+ }++instance Core.FromJSON Assessment where+ parseJSON =+ Core.withObject+ "Assessment"+ ( \o ->+ Assessment+ Core.<$> (o Core..:? "cve")+ Core.<*> (o Core..:? "impacts")+ Core.<*> (o Core..:? "justification")+ Core.<*> (o Core..:? "longDescription")+ Core.<*> (o Core..:? "relatedUris")+ Core.<*> (o Core..:? "remediations")+ Core.<*> (o Core..:? "shortDescription")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "vulnerabilityId")+ )++instance Core.ToJSON Assessment where+ toJSON Assessment {..} =+ Core.object+ ( Core.catMaybes+ [ ("cve" Core..=) Core.<$> cve,+ ("impacts" Core..=) Core.<$> impacts,+ ("justification" Core..=) Core.<$> justification,+ ("longDescription" Core..=) Core.<$> longDescription,+ ("relatedUris" Core..=) Core.<$> relatedUris,+ ("remediations" Core..=) Core.<$> remediations,+ ("shortDescription" Core..=) Core.<$> shortDescription,+ ("state" Core..=) Core.<$> state,+ ("vulnerabilityId" Core..=) Core.<$> vulnerabilityId+ ]+ )++-- | Note kind that represents a logical attestation \"role\" or \"authority\". For example, an organization might have one @Authority@ for \"QA\" and one for \"build\". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don\'t all live in the same project.+--+-- /See:/ 'newAttestationNote' smart constructor.+newtype AttestationNote = AttestationNote+ { -- | Hint hints at the purpose of the attestation authority.+ hint :: (Core.Maybe Hint)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AttestationNote' with the minimum fields required to make a request.+newAttestationNote ::+ AttestationNote+newAttestationNote = AttestationNote {hint = Core.Nothing}++instance Core.FromJSON AttestationNote where+ parseJSON =+ Core.withObject+ "AttestationNote"+ (\o -> AttestationNote Core.<$> (o Core..:? "hint"))++instance Core.ToJSON AttestationNote where+ toJSON AttestationNote {..} =+ Core.object (Core.catMaybes [("hint" Core..=) Core.<$> hint])++-- | Occurrence that represents a single \"attestation\". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.+--+-- /See:/ 'newAttestationOccurrence' smart constructor.+data AttestationOccurrence = AttestationOccurrence+ { -- | One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the @serialized_payload@ field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the @serialized_payload@ SHOULD be left empty. Each JWT SHOULD encode a claim specific to the @resource_uri@ of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.+ jwts :: (Core.Maybe [Jwt]),+ -- | Required. The serialized payload that is verified by one or more @signatures@.+ serializedPayload :: (Core.Maybe Core.Base64),+ -- | One or more signatures over @serialized_payload@. Verifier implementations should consider this attestation message verified if at least one @signature@ verifies @serialized_payload@. See @Signature@ in common.proto for more details on signature structure and verification.+ signatures :: (Core.Maybe [Signature])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AttestationOccurrence' with the minimum fields required to make a request.+newAttestationOccurrence ::+ AttestationOccurrence+newAttestationOccurrence =+ AttestationOccurrence+ { jwts = Core.Nothing,+ serializedPayload = Core.Nothing,+ signatures = Core.Nothing+ }++instance Core.FromJSON AttestationOccurrence where+ parseJSON =+ Core.withObject+ "AttestationOccurrence"+ ( \o ->+ AttestationOccurrence+ Core.<$> (o Core..:? "jwts")+ Core.<*> (o Core..:? "serializedPayload")+ Core.<*> (o Core..:? "signatures")+ )++instance Core.ToJSON AttestationOccurrence where+ toJSON AttestationOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("jwts" Core..=) Core.<$> jwts,+ ("serializedPayload" Core..=) Core.<$> serializedPayload,+ ("signatures" Core..=) Core.<$> signatures+ ]+ )++-- | Request to create notes in batch.+--+-- /See:/ 'newBatchCreateNotesRequest' smart constructor.+newtype BatchCreateNotesRequest = BatchCreateNotesRequest+ { -- | Required. The notes to create. Max allowed length is 1000.+ notes :: (Core.Maybe BatchCreateNotesRequest_Notes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchCreateNotesRequest' with the minimum fields required to make a request.+newBatchCreateNotesRequest ::+ BatchCreateNotesRequest+newBatchCreateNotesRequest =+ BatchCreateNotesRequest {notes = Core.Nothing}++instance Core.FromJSON BatchCreateNotesRequest where+ parseJSON =+ Core.withObject+ "BatchCreateNotesRequest"+ (\o -> BatchCreateNotesRequest Core.<$> (o Core..:? "notes"))++instance Core.ToJSON BatchCreateNotesRequest where+ toJSON BatchCreateNotesRequest {..} =+ Core.object (Core.catMaybes [("notes" Core..=) Core.<$> notes])++-- | Required. The notes to create. Max allowed length is 1000.+--+-- /See:/ 'newBatchCreateNotesRequest_Notes' smart constructor.+newtype BatchCreateNotesRequest_Notes = BatchCreateNotesRequest_Notes+ { additional :: (Core.HashMap Core.Text Note)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchCreateNotesRequest_Notes' with the minimum fields required to make a request.+newBatchCreateNotesRequest_Notes ::+ -- | See 'additional'.+ Core.HashMap Core.Text Note ->+ BatchCreateNotesRequest_Notes+newBatchCreateNotesRequest_Notes additional =+ BatchCreateNotesRequest_Notes {additional = additional}++instance Core.FromJSON BatchCreateNotesRequest_Notes where+ parseJSON =+ Core.withObject+ "BatchCreateNotesRequest_Notes"+ ( \o ->+ BatchCreateNotesRequest_Notes Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON BatchCreateNotesRequest_Notes where+ toJSON BatchCreateNotesRequest_Notes {..} = Core.toJSON additional++-- | Response for creating notes in batch.+--+-- /See:/ 'newBatchCreateNotesResponse' smart constructor.+newtype BatchCreateNotesResponse = BatchCreateNotesResponse+ { -- | The notes that were created.+ notes :: (Core.Maybe [Note])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchCreateNotesResponse' with the minimum fields required to make a request.+newBatchCreateNotesResponse ::+ BatchCreateNotesResponse+newBatchCreateNotesResponse =+ BatchCreateNotesResponse {notes = Core.Nothing}++instance Core.FromJSON BatchCreateNotesResponse where+ parseJSON =+ Core.withObject+ "BatchCreateNotesResponse"+ (\o -> BatchCreateNotesResponse Core.<$> (o Core..:? "notes"))++instance Core.ToJSON BatchCreateNotesResponse where+ toJSON BatchCreateNotesResponse {..} =+ Core.object (Core.catMaybes [("notes" Core..=) Core.<$> notes])++-- | Request to create occurrences in batch.+--+-- /See:/ 'newBatchCreateOccurrencesRequest' smart constructor.+newtype BatchCreateOccurrencesRequest = BatchCreateOccurrencesRequest+ { -- | Required. The occurrences to create. Max allowed length is 1000.+ occurrences :: (Core.Maybe [Occurrence])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchCreateOccurrencesRequest' with the minimum fields required to make a request.+newBatchCreateOccurrencesRequest ::+ BatchCreateOccurrencesRequest+newBatchCreateOccurrencesRequest =+ BatchCreateOccurrencesRequest {occurrences = Core.Nothing}++instance Core.FromJSON BatchCreateOccurrencesRequest where+ parseJSON =+ Core.withObject+ "BatchCreateOccurrencesRequest"+ ( \o ->+ BatchCreateOccurrencesRequest Core.<$> (o Core..:? "occurrences")+ )++instance Core.ToJSON BatchCreateOccurrencesRequest where+ toJSON BatchCreateOccurrencesRequest {..} =+ Core.object+ (Core.catMaybes [("occurrences" Core..=) Core.<$> occurrences])++-- | Response for creating occurrences in batch.+--+-- /See:/ 'newBatchCreateOccurrencesResponse' smart constructor.+newtype BatchCreateOccurrencesResponse = BatchCreateOccurrencesResponse+ { -- | The occurrences that were created.+ occurrences :: (Core.Maybe [Occurrence])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchCreateOccurrencesResponse' with the minimum fields required to make a request.+newBatchCreateOccurrencesResponse ::+ BatchCreateOccurrencesResponse+newBatchCreateOccurrencesResponse =+ BatchCreateOccurrencesResponse {occurrences = Core.Nothing}++instance Core.FromJSON BatchCreateOccurrencesResponse where+ parseJSON =+ Core.withObject+ "BatchCreateOccurrencesResponse"+ ( \o ->+ BatchCreateOccurrencesResponse Core.<$> (o Core..:? "occurrences")+ )++instance Core.ToJSON BatchCreateOccurrencesResponse where+ toJSON BatchCreateOccurrencesResponse {..} =+ Core.object+ (Core.catMaybes [("occurrences" Core..=) Core.<$> occurrences])++-- | Associates @members@, or principals, with a @role@.+--+-- /See:/ 'newBinding' smart constructor.+data Binding = Binding+ { -- | The condition that is associated with this binding. If the condition evaluates to @true@, then this binding applies to the current request. If the condition evaluates to @false@, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>.+ condition :: (Core.Maybe Expr),+ -- | Specifies the principals requesting access for a Google Cloud resource. @members@ can have the following values: * @allUsers@: A special identifier that represents anyone who is on the internet; with or without a Google account. * @allAuthenticatedUsers@: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * @user:{emailid}@: An email address that represents a specific Google account. For example, @alice\@example.com@ . * @serviceAccount:{emailid}@: An email address that represents a Google service account. For example, @my-other-app\@appspot.gserviceaccount.com@. * @serviceAccount:{projectid}.svc.id.goog[{namespace}\/{kubernetes-sa}]@: An identifier for a <https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts Kubernetes service account>. For example, @my-project.svc.id.goog[my-namespace\/my-kubernetes-sa]@. *+ -- @group:{emailid}@: An email address that represents a Google group. For example, @admins\@example.com@. * @domain:{domain}@: The G Suite domain (primary) that represents all the users of that domain. For example, @google.com@ or @example.com@. * @principal:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/subject\/{subject_attribute_value}@: A single identity in a workforce identity pool. * @principalSet:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/group\/{group_id}@: All workforce identities in a group. * @principalSet:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/attribute.{attribute_name}\/{attribute_value}@: All workforce identities with a specific attribute value. * @principalSet:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/*@: All identities in a workforce identity pool. *+ -- @principal:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/subject\/{subject_attribute_value}@: A single identity in a workload identity pool. * @principalSet:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/group\/{group_id}@: A workload identity pool group. * @principalSet:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/attribute.{attribute_name}\/{attribute_value}@: All identities in a workload identity pool with a certain attribute. * @principalSet:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/*@: All identities in a workload identity pool. * @deleted:user:{emailid}?uid={uniqueid}@: An email address (plus unique identifier) representing a user that has been recently deleted. For example, @alice\@example.com?uid=123456789012345678901@. If the user is recovered, this value reverts+ -- to @user:{emailid}@ and the recovered user retains the role in the binding. * @deleted:serviceAccount:{emailid}?uid={uniqueid}@: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, @my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901@. If the service account is undeleted, this value reverts to @serviceAccount:{emailid}@ and the undeleted service account retains the role in the binding. * @deleted:group:{emailid}?uid={uniqueid}@: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, @admins\@example.com?uid=123456789012345678901@. If the group is recovered, this value reverts to @group:{emailid}@ and the recovered group retains the role in the binding. * @deleted:principal:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/subject\/{subject_attribute_value}@: Deleted single identity in a workforce identity pool. For example,+ -- @deleted:principal:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/my-pool-id\/subject\/my-subject-attribute-value@.+ members :: (Core.Maybe [Core.Text]),+ -- | Role that is assigned to the list of @members@, or principals. For example, @roles\/viewer@, @roles\/editor@, or @roles\/owner@. For an overview of the IAM roles and permissions, see the <https://cloud.google.com/iam/docs/roles-overview IAM documentation>. For a list of the available pre-defined roles, see <https://cloud.google.com/iam/docs/understanding-roles here>.+ role' :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Binding' with the minimum fields required to make a request.+newBinding ::+ Binding+newBinding =+ Binding+ { condition = Core.Nothing,+ members = Core.Nothing,+ role' = Core.Nothing+ }++instance Core.FromJSON Binding where+ parseJSON =+ Core.withObject+ "Binding"+ ( \o ->+ Binding+ Core.<$> (o Core..:? "condition")+ Core.<*> (o Core..:? "members")+ Core.<*> (o Core..:? "role")+ )++instance Core.ToJSON Binding where+ toJSON Binding {..} =+ Core.object+ ( Core.catMaybes+ [ ("condition" Core..=) Core.<$> condition,+ ("members" Core..=) Core.<$> members,+ ("role" Core..=) Core.<$> role'+ ]+ )++--+-- /See:/ 'newBuildDefinition' smart constructor.+data BuildDefinition = BuildDefinition+ { buildType :: (Core.Maybe Core.Text),+ externalParameters :: (Core.Maybe BuildDefinition_ExternalParameters),+ internalParameters :: (Core.Maybe BuildDefinition_InternalParameters),+ resolvedDependencies :: (Core.Maybe [ResourceDescriptor])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildDefinition' with the minimum fields required to make a request.+newBuildDefinition ::+ BuildDefinition+newBuildDefinition =+ BuildDefinition+ { buildType = Core.Nothing,+ externalParameters = Core.Nothing,+ internalParameters = Core.Nothing,+ resolvedDependencies = Core.Nothing+ }++instance Core.FromJSON BuildDefinition where+ parseJSON =+ Core.withObject+ "BuildDefinition"+ ( \o ->+ BuildDefinition+ Core.<$> (o Core..:? "buildType")+ Core.<*> (o Core..:? "externalParameters")+ Core.<*> (o Core..:? "internalParameters")+ Core.<*> (o Core..:? "resolvedDependencies")+ )++instance Core.ToJSON BuildDefinition where+ toJSON BuildDefinition {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildType" Core..=) Core.<$> buildType,+ ("externalParameters" Core..=) Core.<$> externalParameters,+ ("internalParameters" Core..=) Core.<$> internalParameters,+ ("resolvedDependencies" Core..=) Core.<$> resolvedDependencies+ ]+ )++--+-- /See:/ 'newBuildDefinition_ExternalParameters' smart constructor.+newtype BuildDefinition_ExternalParameters = BuildDefinition_ExternalParameters+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildDefinition_ExternalParameters' with the minimum fields required to make a request.+newBuildDefinition_ExternalParameters ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ BuildDefinition_ExternalParameters+newBuildDefinition_ExternalParameters additional =+ BuildDefinition_ExternalParameters {additional = additional}++instance Core.FromJSON BuildDefinition_ExternalParameters where+ parseJSON =+ Core.withObject+ "BuildDefinition_ExternalParameters"+ ( \o ->+ BuildDefinition_ExternalParameters+ Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON BuildDefinition_ExternalParameters where+ toJSON BuildDefinition_ExternalParameters {..} =+ Core.toJSON additional++--+-- /See:/ 'newBuildDefinition_InternalParameters' smart constructor.+newtype BuildDefinition_InternalParameters = BuildDefinition_InternalParameters+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildDefinition_InternalParameters' with the minimum fields required to make a request.+newBuildDefinition_InternalParameters ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ BuildDefinition_InternalParameters+newBuildDefinition_InternalParameters additional =+ BuildDefinition_InternalParameters {additional = additional}++instance Core.FromJSON BuildDefinition_InternalParameters where+ parseJSON =+ Core.withObject+ "BuildDefinition_InternalParameters"+ ( \o ->+ BuildDefinition_InternalParameters+ Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON BuildDefinition_InternalParameters where+ toJSON BuildDefinition_InternalParameters {..} =+ Core.toJSON additional++--+-- /See:/ 'newBuildMetadata' smart constructor.+data BuildMetadata = BuildMetadata+ { finishedOn :: (Core.Maybe Core.DateTime),+ invocationId :: (Core.Maybe Core.Text),+ startedOn :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildMetadata' with the minimum fields required to make a request.+newBuildMetadata ::+ BuildMetadata+newBuildMetadata =+ BuildMetadata+ { finishedOn = Core.Nothing,+ invocationId = Core.Nothing,+ startedOn = Core.Nothing+ }++instance Core.FromJSON BuildMetadata where+ parseJSON =+ Core.withObject+ "BuildMetadata"+ ( \o ->+ BuildMetadata+ Core.<$> (o Core..:? "finishedOn")+ Core.<*> (o Core..:? "invocationId")+ Core.<*> (o Core..:? "startedOn")+ )++instance Core.ToJSON BuildMetadata where+ toJSON BuildMetadata {..} =+ Core.object+ ( Core.catMaybes+ [ ("finishedOn" Core..=) Core.<$> finishedOn,+ ("invocationId" Core..=) Core.<$> invocationId,+ ("startedOn" Core..=) Core.<$> startedOn+ ]+ )++-- | Note holding the version of the provider\'s builder and the signature of the provenance message in the build details occurrence.+--+-- /See:/ 'newBuildNote' smart constructor.+newtype BuildNote = BuildNote+ { -- | Required. Immutable. Version of the builder which produced this build.+ builderVersion :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildNote' with the minimum fields required to make a request.+newBuildNote ::+ BuildNote+newBuildNote = BuildNote {builderVersion = Core.Nothing}++instance Core.FromJSON BuildNote where+ parseJSON =+ Core.withObject+ "BuildNote"+ (\o -> BuildNote Core.<$> (o Core..:? "builderVersion"))++instance Core.ToJSON BuildNote where+ toJSON BuildNote {..} =+ Core.object+ ( Core.catMaybes+ [("builderVersion" Core..=) Core.<$> builderVersion]+ )++-- | Details of a build occurrence.+--+-- /See:/ 'newBuildOccurrence' smart constructor.+data BuildOccurrence = BuildOccurrence+ { -- | In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.+ inTotoSlsaProvenanceV1 :: (Core.Maybe InTotoSlsaProvenanceV1),+ -- | Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.+ intotoProvenance :: (Core.Maybe InTotoProvenance),+ -- | In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence\'s envelope.+ intotoStatement :: (Core.Maybe InTotoStatement),+ -- | The actual provenance for the build.+ provenance :: (Core.Maybe BuildProvenance),+ -- | Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, @provenance_bytes@ can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.+ provenanceBytes :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildOccurrence' with the minimum fields required to make a request.+newBuildOccurrence ::+ BuildOccurrence+newBuildOccurrence =+ BuildOccurrence+ { inTotoSlsaProvenanceV1 = Core.Nothing,+ intotoProvenance = Core.Nothing,+ intotoStatement = Core.Nothing,+ provenance = Core.Nothing,+ provenanceBytes = Core.Nothing+ }++instance Core.FromJSON BuildOccurrence where+ parseJSON =+ Core.withObject+ "BuildOccurrence"+ ( \o ->+ BuildOccurrence+ Core.<$> (o Core..:? "inTotoSlsaProvenanceV1")+ Core.<*> (o Core..:? "intotoProvenance")+ Core.<*> (o Core..:? "intotoStatement")+ Core.<*> (o Core..:? "provenance")+ Core.<*> (o Core..:? "provenanceBytes")+ )++instance Core.ToJSON BuildOccurrence where+ toJSON BuildOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("inTotoSlsaProvenanceV1" Core..=)+ Core.<$> inTotoSlsaProvenanceV1,+ ("intotoProvenance" Core..=) Core.<$> intotoProvenance,+ ("intotoStatement" Core..=) Core.<$> intotoStatement,+ ("provenance" Core..=) Core.<$> provenance,+ ("provenanceBytes" Core..=) Core.<$> provenanceBytes+ ]+ )++-- | Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.+--+-- /See:/ 'newBuildProvenance' smart constructor.+data BuildProvenance = BuildProvenance+ { -- | Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.+ buildOptions :: (Core.Maybe BuildProvenance_BuildOptions),+ -- | Version string of the builder at the time this build was executed.+ builderVersion :: (Core.Maybe Core.Text),+ -- | Output of the build.+ builtArtifacts :: (Core.Maybe [Artifact]),+ -- | Commands requested by the build.+ commands :: (Core.Maybe [Command]),+ -- | Time at which the build was created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | E-mail address of the user who initiated this build. Note that this was the user\'s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.+ creator :: (Core.Maybe Core.Text),+ -- | Time at which execution of the build was finished.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Required. Unique identifier of the build.+ id :: (Core.Maybe Core.Text),+ -- | URI where any logs for this provenance were written.+ logsUri :: (Core.Maybe Core.Text),+ -- | ID of the project.+ projectId :: (Core.Maybe Core.Text),+ -- | Details of the Source input to the build.+ sourceProvenance :: (Core.Maybe Source),+ -- | Time at which execution of the build was started.+ startTime :: (Core.Maybe Core.DateTime),+ -- | Trigger identifier if the build was triggered automatically; empty if not.+ triggerId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildProvenance' with the minimum fields required to make a request.+newBuildProvenance ::+ BuildProvenance+newBuildProvenance =+ BuildProvenance+ { buildOptions = Core.Nothing,+ builderVersion = Core.Nothing,+ builtArtifacts = Core.Nothing,+ commands = Core.Nothing,+ createTime = Core.Nothing,+ creator = Core.Nothing,+ endTime = Core.Nothing,+ id = Core.Nothing,+ logsUri = Core.Nothing,+ projectId = Core.Nothing,+ sourceProvenance = Core.Nothing,+ startTime = Core.Nothing,+ triggerId = Core.Nothing+ }++instance Core.FromJSON BuildProvenance where+ parseJSON =+ Core.withObject+ "BuildProvenance"+ ( \o ->+ BuildProvenance+ Core.<$> (o Core..:? "buildOptions")+ Core.<*> (o Core..:? "builderVersion")+ Core.<*> (o Core..:? "builtArtifacts")+ Core.<*> (o Core..:? "commands")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "creator")+ Core.<*> (o Core..:? "endTime")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "logsUri")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "sourceProvenance")+ Core.<*> (o Core..:? "startTime")+ Core.<*> (o Core..:? "triggerId")+ )++instance Core.ToJSON BuildProvenance where+ toJSON BuildProvenance {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildOptions" Core..=) Core.<$> buildOptions,+ ("builderVersion" Core..=) Core.<$> builderVersion,+ ("builtArtifacts" Core..=) Core.<$> builtArtifacts,+ ("commands" Core..=) Core.<$> commands,+ ("createTime" Core..=) Core.<$> createTime,+ ("creator" Core..=) Core.<$> creator,+ ("endTime" Core..=) Core.<$> endTime,+ ("id" Core..=) Core.<$> id,+ ("logsUri" Core..=) Core.<$> logsUri,+ ("projectId" Core..=) Core.<$> projectId,+ ("sourceProvenance" Core..=) Core.<$> sourceProvenance,+ ("startTime" Core..=) Core.<$> startTime,+ ("triggerId" Core..=) Core.<$> triggerId+ ]+ )++-- | Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.+--+-- /See:/ 'newBuildProvenance_BuildOptions' smart constructor.+newtype BuildProvenance_BuildOptions = BuildProvenance_BuildOptions+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildProvenance_BuildOptions' with the minimum fields required to make a request.+newBuildProvenance_BuildOptions ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ BuildProvenance_BuildOptions+newBuildProvenance_BuildOptions additional =+ BuildProvenance_BuildOptions {additional = additional}++instance Core.FromJSON BuildProvenance_BuildOptions where+ parseJSON =+ Core.withObject+ "BuildProvenance_BuildOptions"+ ( \o ->+ BuildProvenance_BuildOptions Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON BuildProvenance_BuildOptions where+ toJSON BuildProvenance_BuildOptions {..} = Core.toJSON additional++-- | A step in the build pipeline. Next ID: 21+--+-- /See:/ 'newBuildStep' smart constructor.+data BuildStep = BuildStep+ { -- | Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.+ allowExitCodes :: (Core.Maybe [Core.Int32]),+ -- | Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.+ allowFailure :: (Core.Maybe Core.Bool),+ -- | A list of arguments that will be presented to the step when it is started. If the image used to run the step\'s container has an entrypoint, the @args@ are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.+ args :: (Core.Maybe [Core.Text]),+ -- | Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.+ automapSubstitutions :: (Core.Maybe Core.Bool),+ -- | Working directory to use when running this step\'s container. If this value is a relative path, it is relative to the build\'s working directory. If this value is absolute, it may be outside the build\'s working directory, in which case the contents of the path may not be persisted across build step executions, unless a @volume@ for that path is specified. If the build specifies a @RepoSource@ with @dir@ and a step with a @dir@, which specifies an absolute path, the @RepoSource@ @dir@ is ignored for the step\'s execution.+ dir :: (Core.Maybe Core.Text),+ -- | Entrypoint to be used instead of the build step image\'s default entrypoint. If unset, the image\'s default entrypoint is used.+ entrypoint :: (Core.Maybe Core.Text),+ -- | A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".+ env :: (Core.Maybe [Core.Text]),+ -- | Output only. Return code from running the step.+ exitCode :: (Core.Maybe Core.Int32),+ -- | Unique identifier for this build step, used in @wait_for@ to reference this build step as a dependency.+ id :: (Core.Maybe Core.Text),+ -- | Required. The name of the container image that will run this particular build step. If the image is available in the host\'s Docker daemon\'s cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account\'s credentials if necessary. The Docker daemon\'s cache will already have the latest versions of all of the officially supported build steps (<https://github.com/GoogleCloudPlatform/cloud-builders>). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host\'s Docker daemon\'s cache and is available to use as the name for a later build step.+ name :: (Core.Maybe Core.Text),+ -- | Output only. Stores timing information for pulling this build step\'s builder image only.+ pullTiming :: (Core.Maybe TimeSpan),+ -- | A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.+ script :: (Core.Maybe Core.Text),+ -- | A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build\'s @Secret@.+ secretEnv :: (Core.Maybe [Core.Text]),+ -- | Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.+ status :: (Core.Maybe BuildStep_Status),+ -- | Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.+ timeout :: (Core.Maybe Core.Duration),+ -- | Output only. Stores timing information for executing this build step.+ timing :: (Core.Maybe TimeSpan),+ -- | List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.+ volumes :: (Core.Maybe [Volume]),+ -- | The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in @wait_for@ have completed successfully. If @wait_for@ is empty, this build step will start when all previous build steps in the @Build.Steps@ list have completed successfully.+ waitFor :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildStep' with the minimum fields required to make a request.+newBuildStep ::+ BuildStep+newBuildStep =+ BuildStep+ { allowExitCodes = Core.Nothing,+ allowFailure = Core.Nothing,+ args = Core.Nothing,+ automapSubstitutions = Core.Nothing,+ dir = Core.Nothing,+ entrypoint = Core.Nothing,+ env = Core.Nothing,+ exitCode = Core.Nothing,+ id = Core.Nothing,+ name = Core.Nothing,+ pullTiming = Core.Nothing,+ script = Core.Nothing,+ secretEnv = Core.Nothing,+ status = Core.Nothing,+ timeout = Core.Nothing,+ timing = Core.Nothing,+ volumes = Core.Nothing,+ waitFor = Core.Nothing+ }++instance Core.FromJSON BuildStep where+ parseJSON =+ Core.withObject+ "BuildStep"+ ( \o ->+ BuildStep+ Core.<$> (o Core..:? "allowExitCodes")+ Core.<*> (o Core..:? "allowFailure")+ Core.<*> (o Core..:? "args")+ Core.<*> (o Core..:? "automapSubstitutions")+ Core.<*> (o Core..:? "dir")+ Core.<*> (o Core..:? "entrypoint")+ Core.<*> (o Core..:? "env")+ Core.<*> (o Core..:? "exitCode")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "pullTiming")+ Core.<*> (o Core..:? "script")+ Core.<*> (o Core..:? "secretEnv")+ Core.<*> (o Core..:? "status")+ Core.<*> (o Core..:? "timeout")+ Core.<*> (o Core..:? "timing")+ Core.<*> (o Core..:? "volumes")+ Core.<*> (o Core..:? "waitFor")+ )++instance Core.ToJSON BuildStep where+ toJSON BuildStep {..} =+ Core.object+ ( Core.catMaybes+ [ ("allowExitCodes" Core..=) Core.<$> allowExitCodes,+ ("allowFailure" Core..=) Core.<$> allowFailure,+ ("args" Core..=) Core.<$> args,+ ("automapSubstitutions" Core..=) Core.<$> automapSubstitutions,+ ("dir" Core..=) Core.<$> dir,+ ("entrypoint" Core..=) Core.<$> entrypoint,+ ("env" Core..=) Core.<$> env,+ ("exitCode" Core..=) Core.<$> exitCode,+ ("id" Core..=) Core.<$> id,+ ("name" Core..=) Core.<$> name,+ ("pullTiming" Core..=) Core.<$> pullTiming,+ ("script" Core..=) Core.<$> script,+ ("secretEnv" Core..=) Core.<$> secretEnv,+ ("status" Core..=) Core.<$> status,+ ("timeout" Core..=) Core.<$> timeout,+ ("timing" Core..=) Core.<$> timing,+ ("volumes" Core..=) Core.<$> volumes,+ ("waitFor" Core..=) Core.<$> waitFor+ ]+ )++--+-- /See:/ 'newBuilderConfig' smart constructor.+newtype BuilderConfig = BuilderConfig+ { id :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuilderConfig' with the minimum fields required to make a request.+newBuilderConfig ::+ BuilderConfig+newBuilderConfig = BuilderConfig {id = Core.Nothing}++instance Core.FromJSON BuilderConfig where+ parseJSON =+ Core.withObject+ "BuilderConfig"+ (\o -> BuilderConfig Core.<$> (o Core..:? "id"))++instance Core.ToJSON BuilderConfig where+ toJSON BuilderConfig {..} =+ Core.object (Core.catMaybes [("id" Core..=) Core.<$> id])++-- | Common Vulnerability Scoring System. For details, see https:\/\/www.first.org\/cvss\/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.+--+-- /See:/ 'newCVSS' smart constructor.+data CVSS = CVSS+ { attackComplexity :: (Core.Maybe CVSS_AttackComplexity),+ -- | Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.+ attackVector :: (Core.Maybe CVSS_AttackVector),+ authentication :: (Core.Maybe CVSS_Authentication),+ availabilityImpact :: (Core.Maybe CVSS_AvailabilityImpact),+ -- | The base score is a function of the base metric scores.+ baseScore :: (Core.Maybe Core.Double),+ confidentialityImpact :: (Core.Maybe CVSS_ConfidentialityImpact),+ exploitabilityScore :: (Core.Maybe Core.Double),+ impactScore :: (Core.Maybe Core.Double),+ integrityImpact :: (Core.Maybe CVSS_IntegrityImpact),+ privilegesRequired :: (Core.Maybe CVSS_PrivilegesRequired),+ scope :: (Core.Maybe CVSS_Scope),+ userInteraction :: (Core.Maybe CVSS_UserInteraction)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CVSS' with the minimum fields required to make a request.+newCVSS ::+ CVSS+newCVSS =+ CVSS+ { attackComplexity = Core.Nothing,+ attackVector = Core.Nothing,+ authentication = Core.Nothing,+ availabilityImpact = Core.Nothing,+ baseScore = Core.Nothing,+ confidentialityImpact = Core.Nothing,+ exploitabilityScore = Core.Nothing,+ impactScore = Core.Nothing,+ integrityImpact = Core.Nothing,+ privilegesRequired = Core.Nothing,+ scope = Core.Nothing,+ userInteraction = Core.Nothing+ }++instance Core.FromJSON CVSS where+ parseJSON =+ Core.withObject+ "CVSS"+ ( \o ->+ CVSS+ Core.<$> (o Core..:? "attackComplexity")+ Core.<*> (o Core..:? "attackVector")+ Core.<*> (o Core..:? "authentication")+ Core.<*> (o Core..:? "availabilityImpact")+ Core.<*> (o Core..:? "baseScore")+ Core.<*> (o Core..:? "confidentialityImpact")+ Core.<*> (o Core..:? "exploitabilityScore")+ Core.<*> (o Core..:? "impactScore")+ Core.<*> (o Core..:? "integrityImpact")+ Core.<*> (o Core..:? "privilegesRequired")+ Core.<*> (o Core..:? "scope")+ Core.<*> (o Core..:? "userInteraction")+ )++instance Core.ToJSON CVSS where+ toJSON CVSS {..} =+ Core.object+ ( Core.catMaybes+ [ ("attackComplexity" Core..=) Core.<$> attackComplexity,+ ("attackVector" Core..=) Core.<$> attackVector,+ ("authentication" Core..=) Core.<$> authentication,+ ("availabilityImpact" Core..=) Core.<$> availabilityImpact,+ ("baseScore" Core..=) Core.<$> baseScore,+ ("confidentialityImpact" Core..=) Core.<$> confidentialityImpact,+ ("exploitabilityScore" Core..=) Core.<$> exploitabilityScore,+ ("impactScore" Core..=) Core.<$> impactScore,+ ("integrityImpact" Core..=) Core.<$> integrityImpact,+ ("privilegesRequired" Core..=) Core.<$> privilegesRequired,+ ("scope" Core..=) Core.<$> scope,+ ("userInteraction" Core..=) Core.<$> userInteraction+ ]+ )++-- | Common Vulnerability Scoring System version 3. For details, see https:\/\/www.first.org\/cvss\/specification-document+--+-- /See:/ 'newCVSSv3' smart constructor.+data CVSSv3 = CVSSv3+ { attackComplexity :: (Core.Maybe CVSSv3_AttackComplexity),+ -- | Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.+ attackVector :: (Core.Maybe CVSSv3_AttackVector),+ availabilityImpact :: (Core.Maybe CVSSv3_AvailabilityImpact),+ -- | The base score is a function of the base metric scores.+ baseScore :: (Core.Maybe Core.Double),+ confidentialityImpact :: (Core.Maybe CVSSv3_ConfidentialityImpact),+ exploitabilityScore :: (Core.Maybe Core.Double),+ impactScore :: (Core.Maybe Core.Double),+ integrityImpact :: (Core.Maybe CVSSv3_IntegrityImpact),+ privilegesRequired :: (Core.Maybe CVSSv3_PrivilegesRequired),+ scope :: (Core.Maybe CVSSv3_Scope),+ userInteraction :: (Core.Maybe CVSSv3_UserInteraction)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CVSSv3' with the minimum fields required to make a request.+newCVSSv3 ::+ CVSSv3+newCVSSv3 =+ CVSSv3+ { attackComplexity = Core.Nothing,+ attackVector = Core.Nothing,+ availabilityImpact = Core.Nothing,+ baseScore = Core.Nothing,+ confidentialityImpact = Core.Nothing,+ exploitabilityScore = Core.Nothing,+ impactScore = Core.Nothing,+ integrityImpact = Core.Nothing,+ privilegesRequired = Core.Nothing,+ scope = Core.Nothing,+ userInteraction = Core.Nothing+ }++instance Core.FromJSON CVSSv3 where+ parseJSON =+ Core.withObject+ "CVSSv3"+ ( \o ->+ CVSSv3+ Core.<$> (o Core..:? "attackComplexity")+ Core.<*> (o Core..:? "attackVector")+ Core.<*> (o Core..:? "availabilityImpact")+ Core.<*> (o Core..:? "baseScore")+ Core.<*> (o Core..:? "confidentialityImpact")+ Core.<*> (o Core..:? "exploitabilityScore")+ Core.<*> (o Core..:? "impactScore")+ Core.<*> (o Core..:? "integrityImpact")+ Core.<*> (o Core..:? "privilegesRequired")+ Core.<*> (o Core..:? "scope")+ Core.<*> (o Core..:? "userInteraction")+ )++instance Core.ToJSON CVSSv3 where+ toJSON CVSSv3 {..} =+ Core.object+ ( Core.catMaybes+ [ ("attackComplexity" Core..=) Core.<$> attackComplexity,+ ("attackVector" Core..=) Core.<$> attackVector,+ ("availabilityImpact" Core..=) Core.<$> availabilityImpact,+ ("baseScore" Core..=) Core.<$> baseScore,+ ("confidentialityImpact" Core..=) Core.<$> confidentialityImpact,+ ("exploitabilityScore" Core..=) Core.<$> exploitabilityScore,+ ("impactScore" Core..=) Core.<$> impactScore,+ ("integrityImpact" Core..=) Core.<$> integrityImpact,+ ("privilegesRequired" Core..=) Core.<$> privilegesRequired,+ ("scope" Core..=) Core.<$> scope,+ ("userInteraction" Core..=) Core.<$> userInteraction+ ]+ )++-- | The category to which the update belongs.+--+-- /See:/ 'newCategory' smart constructor.+data Category = Category+ { -- | The identifier of the category.+ categoryId :: (Core.Maybe Core.Text),+ -- | The localized name of the category.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Category' with the minimum fields required to make a request.+newCategory ::+ Category+newCategory =+ Category {categoryId = Core.Nothing, name = Core.Nothing}++instance Core.FromJSON Category where+ parseJSON =+ Core.withObject+ "Category"+ ( \o ->+ Category+ Core.<$> (o Core..:? "categoryId")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON Category where+ toJSON Category {..} =+ Core.object+ ( Core.catMaybes+ [ ("categoryId" Core..=) Core.<$> categoryId,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | A compliance check that is a CIS benchmark.+--+-- /See:/ 'newCisBenchmark' smart constructor.+data CisBenchmark = CisBenchmark+ { profileLevel :: (Core.Maybe Core.Int32),+ severity :: (Core.Maybe CisBenchmark_Severity)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CisBenchmark' with the minimum fields required to make a request.+newCisBenchmark ::+ CisBenchmark+newCisBenchmark =+ CisBenchmark+ { profileLevel = Core.Nothing,+ severity = Core.Nothing+ }++instance Core.FromJSON CisBenchmark where+ parseJSON =+ Core.withObject+ "CisBenchmark"+ ( \o ->+ CisBenchmark+ Core.<$> (o Core..:? "profileLevel")+ Core.<*> (o Core..:? "severity")+ )++instance Core.ToJSON CisBenchmark where+ toJSON CisBenchmark {..} =+ Core.object+ ( Core.catMaybes+ [ ("profileLevel" Core..=) Core.<$> profileLevel,+ ("severity" Core..=) Core.<$> severity+ ]+ )++-- | A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.+--+-- /See:/ 'newCloudRepoSourceContext' smart constructor.+data CloudRepoSourceContext = CloudRepoSourceContext+ { -- | An alias, which may be a branch or tag.+ aliasContext :: (Core.Maybe AliasContext),+ -- | The ID of the repo.+ repoId :: (Core.Maybe RepoId),+ -- | A revision ID.+ revisionId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CloudRepoSourceContext' with the minimum fields required to make a request.+newCloudRepoSourceContext ::+ CloudRepoSourceContext+newCloudRepoSourceContext =+ CloudRepoSourceContext+ { aliasContext = Core.Nothing,+ repoId = Core.Nothing,+ revisionId = Core.Nothing+ }++instance Core.FromJSON CloudRepoSourceContext where+ parseJSON =+ Core.withObject+ "CloudRepoSourceContext"+ ( \o ->+ CloudRepoSourceContext+ Core.<$> (o Core..:? "aliasContext")+ Core.<*> (o Core..:? "repoId")+ Core.<*> (o Core..:? "revisionId")+ )++instance Core.ToJSON CloudRepoSourceContext where+ toJSON CloudRepoSourceContext {..} =+ Core.object+ ( Core.catMaybes+ [ ("aliasContext" Core..=) Core.<$> aliasContext,+ ("repoId" Core..=) Core.<$> repoId,+ ("revisionId" Core..=) Core.<$> revisionId+ ]+ )++-- | Empty placeholder to denote that this is a Google Cloud Storage export request.+--+-- /See:/ 'newCloudStorageLocation' smart constructor.+data CloudStorageLocation = CloudStorageLocation+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CloudStorageLocation' with the minimum fields required to make a request.+newCloudStorageLocation ::+ CloudStorageLocation+newCloudStorageLocation = CloudStorageLocation++instance Core.FromJSON CloudStorageLocation where+ parseJSON =+ Core.withObject+ "CloudStorageLocation"+ (\o -> Core.pure CloudStorageLocation)++instance Core.ToJSON CloudStorageLocation where+ toJSON = Core.const Core.emptyObject++-- | Command describes a step performed as part of the build pipeline.+--+-- /See:/ 'newCommand' smart constructor.+data Command = Command+ { -- | Command-line arguments used when executing this command.+ args :: (Core.Maybe [Core.Text]),+ -- | Working directory (relative to project source root) used when running this command.+ dir :: (Core.Maybe Core.Text),+ -- | Environment variables set before running this command.+ env :: (Core.Maybe [Core.Text]),+ -- | Optional unique identifier for this command, used in wait_for to reference this command as a dependency.+ id :: (Core.Maybe Core.Text),+ -- | Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to @docker pull@.+ name :: (Core.Maybe Core.Text),+ -- | The ID(s) of the command(s) that this command depends on.+ waitFor :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Command' with the minimum fields required to make a request.+newCommand ::+ Command+newCommand =+ Command+ { args = Core.Nothing,+ dir = Core.Nothing,+ env = Core.Nothing,+ id = Core.Nothing,+ name = Core.Nothing,+ waitFor = Core.Nothing+ }++instance Core.FromJSON Command where+ parseJSON =+ Core.withObject+ "Command"+ ( \o ->+ Command+ Core.<$> (o Core..:? "args")+ Core.<*> (o Core..:? "dir")+ Core.<*> (o Core..:? "env")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "waitFor")+ )++instance Core.ToJSON Command where+ toJSON Command {..} =+ Core.object+ ( Core.catMaybes+ [ ("args" Core..=) Core.<$> args,+ ("dir" Core..=) Core.<$> dir,+ ("env" Core..=) Core.<$> env,+ ("id" Core..=) Core.<$> id,+ ("name" Core..=) Core.<$> name,+ ("waitFor" Core..=) Core.<$> waitFor+ ]+ )++-- | Indicates that the builder claims certain fields in this message to be complete.+--+-- /See:/ 'newCompleteness' smart constructor.+data Completeness = Completeness+ { -- | If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.+ arguments :: (Core.Maybe Core.Bool),+ -- | If true, the builder claims that recipe.environment is claimed to be complete.+ environment :: (Core.Maybe Core.Bool),+ -- | If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".+ materials :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Completeness' with the minimum fields required to make a request.+newCompleteness ::+ Completeness+newCompleteness =+ Completeness+ { arguments = Core.Nothing,+ environment = Core.Nothing,+ materials = Core.Nothing+ }++instance Core.FromJSON Completeness where+ parseJSON =+ Core.withObject+ "Completeness"+ ( \o ->+ Completeness+ Core.<$> (o Core..:? "arguments")+ Core.<*> (o Core..:? "environment")+ Core.<*> (o Core..:? "materials")+ )++instance Core.ToJSON Completeness where+ toJSON Completeness {..} =+ Core.object+ ( Core.catMaybes+ [ ("arguments" Core..=) Core.<$> arguments,+ ("environment" Core..=) Core.<$> environment,+ ("materials" Core..=) Core.<$> materials+ ]+ )++--+-- /See:/ 'newComplianceNote' smart constructor.+data ComplianceNote = ComplianceNote+ { cisBenchmark :: (Core.Maybe CisBenchmark),+ -- | A description about this compliance check.+ description :: (Core.Maybe Core.Text),+ impact :: (Core.Maybe Core.Text),+ -- | A rationale for the existence of this compliance check.+ rationale :: (Core.Maybe Core.Text),+ -- | A description of remediation steps if the compliance check fails.+ remediation :: (Core.Maybe Core.Text),+ -- | Serialized scan instructions with a predefined format.+ scanInstructions :: (Core.Maybe Core.Base64),+ -- | The title that identifies this compliance check.+ title :: (Core.Maybe Core.Text),+ -- | The OS and config versions the benchmark applies to.+ version :: (Core.Maybe [ComplianceVersion])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ComplianceNote' with the minimum fields required to make a request.+newComplianceNote ::+ ComplianceNote+newComplianceNote =+ ComplianceNote+ { cisBenchmark = Core.Nothing,+ description = Core.Nothing,+ impact = Core.Nothing,+ rationale = Core.Nothing,+ remediation = Core.Nothing,+ scanInstructions = Core.Nothing,+ title = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON ComplianceNote where+ parseJSON =+ Core.withObject+ "ComplianceNote"+ ( \o ->+ ComplianceNote+ Core.<$> (o Core..:? "cisBenchmark")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "impact")+ Core.<*> (o Core..:? "rationale")+ Core.<*> (o Core..:? "remediation")+ Core.<*> (o Core..:? "scanInstructions")+ Core.<*> (o Core..:? "title")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON ComplianceNote where+ toJSON ComplianceNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("cisBenchmark" Core..=) Core.<$> cisBenchmark,+ ("description" Core..=) Core.<$> description,+ ("impact" Core..=) Core.<$> impact,+ ("rationale" Core..=) Core.<$> rationale,+ ("remediation" Core..=) Core.<$> remediation,+ ("scanInstructions" Core..=) Core.<$> scanInstructions,+ ("title" Core..=) Core.<$> title,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.+--+-- /See:/ 'newComplianceOccurrence' smart constructor.+data ComplianceOccurrence = ComplianceOccurrence+ { nonComplianceReason :: (Core.Maybe Core.Text),+ nonCompliantFiles :: (Core.Maybe [NonCompliantFile]),+ -- | The OS and config version the benchmark was run on.+ version :: (Core.Maybe ComplianceVersion)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ComplianceOccurrence' with the minimum fields required to make a request.+newComplianceOccurrence ::+ ComplianceOccurrence+newComplianceOccurrence =+ ComplianceOccurrence+ { nonComplianceReason = Core.Nothing,+ nonCompliantFiles = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON ComplianceOccurrence where+ parseJSON =+ Core.withObject+ "ComplianceOccurrence"+ ( \o ->+ ComplianceOccurrence+ Core.<$> (o Core..:? "nonComplianceReason")+ Core.<*> (o Core..:? "nonCompliantFiles")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON ComplianceOccurrence where+ toJSON ComplianceOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("nonComplianceReason" Core..=) Core.<$> nonComplianceReason,+ ("nonCompliantFiles" Core..=) Core.<$> nonCompliantFiles,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Describes the CIS benchmark version that is applicable to a given OS and os version.+--+-- /See:/ 'newComplianceVersion' smart constructor.+data ComplianceVersion = ComplianceVersion+ { -- | The name of the document that defines this benchmark, e.g. \"CIS Container-Optimized OS\".+ benchmarkDocument :: (Core.Maybe Core.Text),+ -- | The CPE URI (https:\/\/cpe.mitre.org\/specification\/) this benchmark is applicable to.+ cpeUri :: (Core.Maybe Core.Text),+ -- | The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.+ version :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ComplianceVersion' with the minimum fields required to make a request.+newComplianceVersion ::+ ComplianceVersion+newComplianceVersion =+ ComplianceVersion+ { benchmarkDocument = Core.Nothing,+ cpeUri = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON ComplianceVersion where+ parseJSON =+ Core.withObject+ "ComplianceVersion"+ ( \o ->+ ComplianceVersion+ Core.<$> (o Core..:? "benchmarkDocument")+ Core.<*> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON ComplianceVersion where+ toJSON ComplianceVersion {..} =+ Core.object+ ( Core.catMaybes+ [ ("benchmarkDocument" Core..=) Core.<$> benchmarkDocument,+ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | ApprovalConfig describes configuration for manual approval of a build.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig = ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ { -- | Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.+ approvalRequired :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ { approvalRequired =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ Core.<$> (o Core..:? "approvalRequired")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig {..} =+ Core.object+ ( Core.catMaybes+ [("approvalRequired" Core..=) Core.<$> approvalRequired]+ )++-- | ApprovalResult describes the decision and associated metadata of a manual approval of a build.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult = ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ { -- | Output only. The time when the approval decision was made.+ approvalTime :: (Core.Maybe Core.DateTime),+ -- | Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.+ approverAccount :: (Core.Maybe Core.Text),+ -- | Optional. An optional comment for this manual approval result.+ comment :: (Core.Maybe Core.Text),+ -- | Required. The decision of this manual approval.+ decision ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+ ),+ -- | Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ { approvalTime =+ Core.Nothing,+ approverAccount = Core.Nothing,+ comment = Core.Nothing,+ decision = Core.Nothing,+ url = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ Core.<$> (o Core..:? "approvalTime")+ Core.<*> (o Core..:? "approverAccount")+ Core.<*> (o Core..:? "comment")+ Core.<*> (o Core..:? "decision")+ Core.<*> (o Core..:? "url")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("approvalTime" Core..=) Core.<$> approvalTime,+ ("approverAccount" Core..=) Core.<$> approverAccount,+ ("comment" Core..=) Core.<$> comment,+ ("decision" Core..=) Core.<$> decision,+ ("url" Core..=) Core.<$> url+ ]+ )++-- | Artifacts produced by a build that should be uploaded upon successful completion of all build steps.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts = ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ { -- | Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE.+ goModules ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule]+ ),+ -- | A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account\'s credentials. The digests of the pushed images will be stored in the Build resource\'s results field. If any of the images fail to be pushed, the build is marked FAILURE.+ images :: (Core.Maybe [Core.Text]),+ -- | A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account\'s credentials. If any artifacts fail to be pushed, the build is marked FAILURE.+ mavenArtifacts ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact]+ ),+ -- | A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account\'s credentials. If any packages fail to be pushed, the build is marked FAILURE.+ npmPackages ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage]+ ),+ -- | A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account\'s credentials. The location and generation of the uploaded objects will be stored in the Build resource\'s results field. If any objects fail to be pushed, the build is marked FAILURE.+ objects ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ ),+ -- | A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.+ pythonPackages ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+newContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ { goModules =+ Core.Nothing,+ images = Core.Nothing,+ mavenArtifacts = Core.Nothing,+ npmPackages = Core.Nothing,+ objects = Core.Nothing,+ pythonPackages = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ Core.<$> (o Core..:? "goModules")+ Core.<*> (o Core..:? "images")+ Core.<*> (o Core..:? "mavenArtifacts")+ Core.<*> (o Core..:? "npmPackages")+ Core.<*> (o Core..:? "objects")+ Core.<*> (o Core..:? "pythonPackages")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts {..} =+ Core.object+ ( Core.catMaybes+ [ ("goModules" Core..=) Core.<$> goModules,+ ("images" Core..=) Core.<$> images,+ ("mavenArtifacts" Core..=) Core.<$> mavenArtifacts,+ ("npmPackages" Core..=) Core.<$> npmPackages,+ ("objects" Core..=) Core.<$> objects,+ ("pythonPackages" Core..=) Core.<$> pythonPackages+ ]+ )++-- | Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ { -- | Cloud Storage bucket and optional object path, in the form \"gs:\/\/bucket\/path\/to\/somewhere\/\". (see <https://cloud.google.com/storage/docs/bucket-naming#requirements Bucket Name Requirements>). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.+ location :: (Core.Maybe Core.Text),+ -- | Path globs used to match files in the build\'s workspace.+ paths :: (Core.Maybe [Core.Text]),+ -- | Output only. Stores timing information for pushing all artifact objects.+ timing :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ { location =+ Core.Nothing,+ paths = Core.Nothing,+ timing = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ Core.<$> (o Core..:? "location")+ Core.<*> (o Core..:? "paths")+ Core.<*> (o Core..:? "timing")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects {..} =+ Core.object+ ( Core.catMaybes+ [ ("location" Core..=) Core.<$> location,+ ("paths" Core..=) Core.<$> paths,+ ("timing" Core..=) Core.<$> timing+ ]+ )++-- | Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all dependencies in a go.mod file.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ { -- | Optional. The Go module\'s \"module path\". e.g. example.com\/foo\/v2+ modulePath :: (Core.Maybe Core.Text),+ -- | Optional. The Go module\'s semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5+ moduleVersion :: (Core.Maybe Core.Text),+ -- | Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s location.+ repositoryLocation :: (Core.Maybe Core.Text),+ -- | Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo+ repositoryName :: (Core.Maybe Core.Text),+ -- | Optional. Project ID of the Artifact Registry repository. Defaults to the build project.+ repositoryProjectId :: (Core.Maybe Core.Text),+ -- | Optional. Source path of the go.mod file in the build\'s workspace. If not specified, this will default to the current directory. e.g. ~\/code\/go\/mypackage+ sourcePath :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ { modulePath =+ Core.Nothing,+ moduleVersion = Core.Nothing,+ repositoryLocation = Core.Nothing,+ repositoryName = Core.Nothing,+ repositoryProjectId = Core.Nothing,+ sourcePath = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ Core.<$> (o Core..:? "modulePath")+ Core.<*> (o Core..:? "moduleVersion")+ Core.<*> (o Core..:? "repositoryLocation")+ Core.<*> (o Core..:? "repositoryName")+ Core.<*> (o Core..:? "repositoryProjectId")+ Core.<*> (o Core..:? "sourcePath")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule {..} =+ Core.object+ ( Core.catMaybes+ [ ("modulePath" Core..=) Core.<$> modulePath,+ ("moduleVersion" Core..=) Core.<$> moduleVersion,+ ("repositoryLocation" Core..=) Core.<$> repositoryLocation,+ ("repositoryName" Core..=) Core.<$> repositoryName,+ ("repositoryProjectId" Core..=) Core.<$> repositoryProjectId,+ ("sourcePath" Core..=) Core.<$> sourcePath+ ]+ )++-- | A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ { -- | Maven @artifactId@ value used when uploading the artifact to Artifact Registry.+ artifactId :: (Core.Maybe Core.Text),+ -- | Maven @groupId@ value used when uploading the artifact to Artifact Registry.+ groupId :: (Core.Maybe Core.Text),+ -- | Path to an artifact in the build\'s workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. \/workspace\/my-app\/target\/my-app-1.0.SNAPSHOT.jar or a relative path from \/workspace, e.g. my-app\/target\/my-app-1.0.SNAPSHOT.jar.+ path :: (Core.Maybe Core.Text),+ -- | Artifact Registry repository, in the form \"https:\/\/$REGION-maven.pkg.dev\/$PROJECT\/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.+ repository :: (Core.Maybe Core.Text),+ -- | Maven @version@ value used when uploading the artifact to Artifact Registry.+ version :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ { artifactId =+ Core.Nothing,+ groupId = Core.Nothing,+ path = Core.Nothing,+ repository = Core.Nothing,+ version = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ Core.<$> (o Core..:? "artifactId")+ Core.<*> (o Core..:? "groupId")+ Core.<*> (o Core..:? "path")+ Core.<*> (o Core..:? "repository")+ Core.<*> (o Core..:? "version")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact {..} =+ Core.object+ ( Core.catMaybes+ [ ("artifactId" Core..=) Core.<$> artifactId,+ ("groupId" Core..=) Core.<$> groupId,+ ("path" Core..=) Core.<$> path,+ ("repository" Core..=) Core.<$> repository,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Npm package to upload to Artifact Registry upon successful completion of all build steps.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ { -- | Path to the package.json. e.g. workspace\/path\/to\/package+ packagePath :: (Core.Maybe Core.Text),+ -- | Artifact Registry repository, in the form \"https:\/\/$REGION-npm.pkg.dev\/$PROJECT\/$REPOSITORY\" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.+ repository :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ { packagePath =+ Core.Nothing,+ repository = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ Core.<$> (o Core..:? "packagePath")+ Core.<*> (o Core..:? "repository")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage {..} =+ Core.object+ ( Core.catMaybes+ [ ("packagePath" Core..=) Core.<$> packagePath,+ ("repository" Core..=) Core.<$> repository+ ]+ )++-- | Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage = ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ { -- | Path globs used to match files in the build\'s workspace. For Python\/ Twine, this is usually @dist\/*@, and sometimes additionally an @.asc@ file.+ paths :: (Core.Maybe [Core.Text]),+ -- | Artifact Registry repository, in the form \"https:\/\/$REGION-python.pkg.dev\/$PROJECT\/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.+ repository :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ { paths =+ Core.Nothing,+ repository = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ Core.<$> (o Core..:? "paths")+ Core.<*> (o Core..:? "repository")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {..} =+ Core.object+ ( Core.catMaybes+ [ ("paths" Core..=) Core.<$> paths,+ ("repository" Core..=) Core.<$> repository+ ]+ )++-- | A build resource in the Cloud Build API. At a high level, a @Build@ describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT/ID: the project ID of the build. - $PROJECT/NUMBER: the project number of the build. - $LOCATION: the location\/region of the build. - $BUILD/ID: the autogenerated ID of the build. - $REPO/NAME: the source repository name specified by RepoSource. - $BRANCH/NAME: the branch name specified by RepoSource. - $TAG/NAME: the tag name specified by RepoSource. - $REVISION/ID or $COMMIT/SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT/SHA: first 7 characters of $REVISION/ID or $COMMIT_SHA.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Build' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Build = ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ { -- | Output only. Describes this build\'s approval configuration, status, and result.+ approval ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ ),+ -- | Artifacts produced by the build that should be uploaded upon successful completion of all build steps.+ artifacts :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts),+ -- | Secrets and secret environment variables.+ availableSecrets :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets),+ -- | Output only. The ID of the @BuildTrigger@ that triggered this build, if it was triggered automatically.+ buildTriggerId :: (Core.Maybe Core.Text),+ -- | Output only. Time at which the request to create the build was received.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.+ dependencies ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency]+ ),+ -- | Output only. Contains information about the build when status=FAILURE.+ failureInfo ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ ),+ -- | Output only. Time at which execution of the build was finished. The difference between finish/time and start/time is the duration of the build\'s execution.+ finishTime :: (Core.Maybe Core.DateTime),+ -- | Optional. Configuration for git operations.+ gitConfig :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig),+ -- | Output only. Unique identifier of the build.+ id :: (Core.Maybe Core.Text),+ -- | A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account\'s credentials. The digests of the pushed images will be stored in the @Build@ resource\'s results field. If any of the images fail to be pushed, the build status is marked @FAILURE@.+ images :: (Core.Maybe [Core.Text]),+ -- | Output only. URL to logs for this build in Google Cloud Console.+ logUrl :: (Core.Maybe Core.Text),+ -- | Cloud Storage bucket where logs should be written (see <https://cloud.google.com/storage/docs/bucket-naming#requirements Bucket Name Requirements>). Logs file names will be of the format @${logs_bucket}\/log-${build_id}.txt@.+ logsBucket :: (Core.Maybe Core.Text),+ -- | Output only. The \'Build\' name with format: @projects\/{project}\/locations\/{location}\/builds\/{build}@, where {build} is a unique identifier generated by the service.+ name :: (Core.Maybe Core.Text),+ -- | Special options for this build.+ options ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ ),+ -- | Output only. ID of the project.+ projectId :: (Core.Maybe Core.Text),+ -- | TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be @EXPIRED@. The TTL starts ticking from create_time.+ queueTtl :: (Core.Maybe Core.Duration),+ -- | Output only. Results of the build.+ results :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1Results),+ -- | Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use @available_secrets@ to configure builds to access secrets from Secret Manager. For instructions, see: https:\/\/cloud.google.com\/cloud-build\/docs\/securing-builds\/use-secrets+ secrets :: (Core.Maybe [ContaineranalysisGoogleDevtoolsCloudbuildV1Secret]),+ -- | IAM service account whose credentials will be used at build runtime. Must be of the format @projects\/{PROJECT_ID}\/serviceAccounts\/{ACCOUNT}@. ACCOUNT can be email address or uniqueId of the service account.+ serviceAccount :: (Core.Maybe Core.Text),+ -- | Optional. The location of the source files to build.+ source :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1Source),+ -- | Output only. A permanent fixed identifier for source.+ sourceProvenance ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ ),+ -- | Output only. Time at which execution of the build was started.+ startTime :: (Core.Maybe Core.DateTime),+ -- | Output only. Status of the build.+ status ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+ ),+ -- | Output only. Customer-readable message about the current status.+ statusDetail :: (Core.Maybe Core.Text),+ -- | Required. The operations to be performed on the workspace.+ steps :: (Core.Maybe [ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep]),+ -- | Substitutions data for @Build@ resource.+ substitutions ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ ),+ -- | Tags for annotation of a @Build@. These are not docker tags.+ tags :: (Core.Maybe [Core.Text]),+ -- | Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be @TIMEOUT@. @timeout@ starts ticking from @startTime@. Default time is 60 minutes.+ timeout :: (Core.Maybe Core.Duration),+ -- | Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.+ timing ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ ),+ -- | Output only. Non-fatal problems encountered during the execution of the build.+ warnings ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Build' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Build ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build+newContaineranalysisGoogleDevtoolsCloudbuildV1Build =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ { approval =+ Core.Nothing,+ artifacts = Core.Nothing,+ availableSecrets = Core.Nothing,+ buildTriggerId = Core.Nothing,+ createTime = Core.Nothing,+ dependencies = Core.Nothing,+ failureInfo = Core.Nothing,+ finishTime = Core.Nothing,+ gitConfig = Core.Nothing,+ id = Core.Nothing,+ images = Core.Nothing,+ logUrl = Core.Nothing,+ logsBucket = Core.Nothing,+ name = Core.Nothing,+ options = Core.Nothing,+ projectId = Core.Nothing,+ queueTtl = Core.Nothing,+ results = Core.Nothing,+ secrets = Core.Nothing,+ serviceAccount = Core.Nothing,+ source = Core.Nothing,+ sourceProvenance = Core.Nothing,+ startTime = Core.Nothing,+ status = Core.Nothing,+ statusDetail = Core.Nothing,+ steps = Core.Nothing,+ substitutions = Core.Nothing,+ tags = Core.Nothing,+ timeout = Core.Nothing,+ timing = Core.Nothing,+ warnings = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Build"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ Core.<$> (o Core..:? "approval")+ Core.<*> (o Core..:? "artifacts")+ Core.<*> (o Core..:? "availableSecrets")+ Core.<*> (o Core..:? "buildTriggerId")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "dependencies")+ Core.<*> (o Core..:? "failureInfo")+ Core.<*> (o Core..:? "finishTime")+ Core.<*> (o Core..:? "gitConfig")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "images")+ Core.<*> (o Core..:? "logUrl")+ Core.<*> (o Core..:? "logsBucket")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "options")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "queueTtl")+ Core.<*> (o Core..:? "results")+ Core.<*> (o Core..:? "secrets")+ Core.<*> (o Core..:? "serviceAccount")+ Core.<*> (o Core..:? "source")+ Core.<*> (o Core..:? "sourceProvenance")+ Core.<*> (o Core..:? "startTime")+ Core.<*> (o Core..:? "status")+ Core.<*> (o Core..:? "statusDetail")+ Core.<*> (o Core..:? "steps")+ Core.<*> (o Core..:? "substitutions")+ Core.<*> (o Core..:? "tags")+ Core.<*> (o Core..:? "timeout")+ Core.<*> (o Core..:? "timing")+ Core.<*> (o Core..:? "warnings")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Build {..} =+ Core.object+ ( Core.catMaybes+ [ ("approval" Core..=) Core.<$> approval,+ ("artifacts" Core..=) Core.<$> artifacts,+ ("availableSecrets" Core..=) Core.<$> availableSecrets,+ ("buildTriggerId" Core..=) Core.<$> buildTriggerId,+ ("createTime" Core..=) Core.<$> createTime,+ ("dependencies" Core..=) Core.<$> dependencies,+ ("failureInfo" Core..=) Core.<$> failureInfo,+ ("finishTime" Core..=) Core.<$> finishTime,+ ("gitConfig" Core..=) Core.<$> gitConfig,+ ("id" Core..=) Core.<$> id,+ ("images" Core..=) Core.<$> images,+ ("logUrl" Core..=) Core.<$> logUrl,+ ("logsBucket" Core..=) Core.<$> logsBucket,+ ("name" Core..=) Core.<$> name,+ ("options" Core..=) Core.<$> options,+ ("projectId" Core..=) Core.<$> projectId,+ ("queueTtl" Core..=) Core.<$> queueTtl,+ ("results" Core..=) Core.<$> results,+ ("secrets" Core..=) Core.<$> secrets,+ ("serviceAccount" Core..=) Core.<$> serviceAccount,+ ("source" Core..=) Core.<$> source,+ ("sourceProvenance" Core..=) Core.<$> sourceProvenance,+ ("startTime" Core..=) Core.<$> startTime,+ ("status" Core..=) Core.<$> status,+ ("statusDetail" Core..=) Core.<$> statusDetail,+ ("steps" Core..=) Core.<$> steps,+ ("substitutions" Core..=) Core.<$> substitutions,+ ("tags" Core..=) Core.<$> tags,+ ("timeout" Core..=) Core.<$> timeout,+ ("timing" Core..=) Core.<$> timing,+ ("warnings" Core..=) Core.<$> warnings+ ]+ )++-- | Substitutions data for @Build@ resource.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ additional =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ { additional =+ additional+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions {..} =+ Core.toJSON additional++-- | Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ { additional ::+ ( Core.HashMap+ Core.Text+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing ::+ -- | See 'additional'.+ Core.HashMap+ Core.Text+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ additional =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ { additional =+ additional+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing {..} =+ Core.toJSON additional++-- | BuildApproval describes a build\'s approval configuration, state, and result.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ { -- | Output only. Configuration for manual approval of this build.+ config ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ ),+ -- | Output only. Result of manual approval for this Build.+ result ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ ),+ -- | Output only. The state of this build\'s approval.+ state ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ { config =+ Core.Nothing,+ result = Core.Nothing,+ state = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ Core.<$> (o Core..:? "config")+ Core.<*> (o Core..:? "result")+ Core.<*> (o Core..:? "state")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval {..} =+ Core.object+ ( Core.catMaybes+ [ ("config" Core..=) Core.<$> config,+ ("result" Core..=) Core.<$> result,+ ("state" Core..=) Core.<$> state+ ]+ )++-- | A fatal problem encountered during the execution of the build.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ { -- | Explains the failure issue in more detail using hard-coded text.+ detail :: (Core.Maybe Core.Text),+ -- | The name of the failure.+ type' ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ { detail =+ Core.Nothing,+ type' = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ Core.<$> (o Core..:? "detail")+ Core.<*> (o Core..:? "type")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {..} =+ Core.object+ ( Core.catMaybes+ [ ("detail" Core..=) Core.<$> detail,+ ("type" Core..=) Core.<$> type'+ ]+ )++-- | Optional arguments to enable specific features of builds.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ { -- | Option to include built-in and custom substitutions as env variables for all build steps.+ automapSubstitutions :: (Core.Maybe Core.Bool),+ -- | Optional. Option to specify how default logs buckets are setup.+ defaultLogsBucketBehavior ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+ ),+ -- | Requested disk size for the VM that runs the build. Note that this is /NOT/ \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error.+ diskSizeGb :: (Core.Maybe Core.Int64),+ -- | Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.+ dynamicSubstitutions :: (Core.Maybe Core.Bool),+ -- | Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs are parsed as structured logs.+ enableStructuredLogging :: (Core.Maybe Core.Bool),+ -- | A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".+ env :: (Core.Maybe [Core.Text]),+ -- | Option to define build log streaming behavior to Cloud Storage.+ logStreamingOption ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+ ),+ -- | Option to specify the logging mode, which determines if and where build logs are stored.+ logging ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+ ),+ -- | Compute Engine machine type on which to run the build.+ machineType ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+ ),+ -- | Optional. Specification for execution on a @WorkerPool@. See <https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool running builds in a private pool> for more information.+ pool ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ ),+ -- | Optional. Option to specify the Pub\/Sub topic to receive build status updates.+ pubsubTopic :: (Core.Maybe Core.Text),+ -- | Requested verifiability options.+ requestedVerifyOption ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+ ),+ -- | A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build\'s @Secret@. These variables will be available to all build steps in this build.+ secretEnv :: (Core.Maybe [Core.Text]),+ -- | Requested hash for SourceProvenance.+ sourceProvenanceHash ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem]+ ),+ -- | Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.+ substitutionOption ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+ ),+ -- | Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.+ volumes :: (Core.Maybe [ContaineranalysisGoogleDevtoolsCloudbuildV1Volume]),+ -- | This field deprecated; please use @pool.name@ instead.+ workerPool :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ { automapSubstitutions =+ Core.Nothing,+ defaultLogsBucketBehavior =+ Core.Nothing,+ diskSizeGb = Core.Nothing,+ dynamicSubstitutions = Core.Nothing,+ enableStructuredLogging = Core.Nothing,+ env = Core.Nothing,+ logStreamingOption = Core.Nothing,+ logging = Core.Nothing,+ machineType = Core.Nothing,+ pool = Core.Nothing,+ pubsubTopic = Core.Nothing,+ requestedVerifyOption = Core.Nothing,+ secretEnv = Core.Nothing,+ sourceProvenanceHash = Core.Nothing,+ substitutionOption = Core.Nothing,+ volumes = Core.Nothing,+ workerPool = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ Core.<$> (o Core..:? "automapSubstitutions")+ Core.<*> (o Core..:? "defaultLogsBucketBehavior")+ Core.<*> (o Core..:? "diskSizeGb" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "dynamicSubstitutions")+ Core.<*> (o Core..:? "enableStructuredLogging")+ Core.<*> (o Core..:? "env")+ Core.<*> (o Core..:? "logStreamingOption")+ Core.<*> (o Core..:? "logging")+ Core.<*> (o Core..:? "machineType")+ Core.<*> (o Core..:? "pool")+ Core.<*> (o Core..:? "pubsubTopic")+ Core.<*> (o Core..:? "requestedVerifyOption")+ Core.<*> (o Core..:? "secretEnv")+ Core.<*> (o Core..:? "sourceProvenanceHash")+ Core.<*> (o Core..:? "substitutionOption")+ Core.<*> (o Core..:? "volumes")+ Core.<*> (o Core..:? "workerPool")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("automapSubstitutions" Core..=) Core.<$> automapSubstitutions,+ ("defaultLogsBucketBehavior" Core..=)+ Core.<$> defaultLogsBucketBehavior,+ ("diskSizeGb" Core..=) Core.. Core.AsText Core.<$> diskSizeGb,+ ("dynamicSubstitutions" Core..=) Core.<$> dynamicSubstitutions,+ ("enableStructuredLogging" Core..=)+ Core.<$> enableStructuredLogging,+ ("env" Core..=) Core.<$> env,+ ("logStreamingOption" Core..=) Core.<$> logStreamingOption,+ ("logging" Core..=) Core.<$> logging,+ ("machineType" Core..=) Core.<$> machineType,+ ("pool" Core..=) Core.<$> pool,+ ("pubsubTopic" Core..=) Core.<$> pubsubTopic,+ ("requestedVerifyOption" Core..=) Core.<$> requestedVerifyOption,+ ("secretEnv" Core..=) Core.<$> secretEnv,+ ("sourceProvenanceHash" Core..=) Core.<$> sourceProvenanceHash,+ ("substitutionOption" Core..=) Core.<$> substitutionOption,+ ("volumes" Core..=) Core.<$> volumes,+ ("workerPool" Core..=) Core.<$> workerPool+ ]+ )++-- | Details about how a build should be executed on a @WorkerPool@. See <https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool running builds in a private pool> for more information.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ { -- | The @WorkerPool@ resource to execute the build on. You must have @cloudbuild.workerpools.use@ on the project hosting the WorkerPool. Format projects\/{project}\/locations\/{location}\/workerPools\/{workerPoolId}+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ { name =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ Core.<$> (o Core..:? "name")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption {..} =+ Core.object (Core.catMaybes [("name" Core..=) Core.<$> name])++-- | A step in the build pipeline.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ { -- | Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.+ allowExitCodes :: (Core.Maybe [Core.Int32]),+ -- | Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.+ allowFailure :: (Core.Maybe Core.Bool),+ -- | A list of arguments that will be presented to the step when it is started. If the image used to run the step\'s container has an entrypoint, the @args@ are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.+ args :: (Core.Maybe [Core.Text]),+ -- | Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.+ automapSubstitutions :: (Core.Maybe Core.Bool),+ -- | Working directory to use when running this step\'s container. If this value is a relative path, it is relative to the build\'s working directory. If this value is absolute, it may be outside the build\'s working directory, in which case the contents of the path may not be persisted across build step executions, unless a @volume@ for that path is specified. If the build specifies a @RepoSource@ with @dir@ and a step with a @dir@, which specifies an absolute path, the @RepoSource@ @dir@ is ignored for the step\'s execution.+ dir :: (Core.Maybe Core.Text),+ -- | Entrypoint to be used instead of the build step image\'s default entrypoint. If unset, the image\'s default entrypoint is used.+ entrypoint :: (Core.Maybe Core.Text),+ -- | A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".+ env :: (Core.Maybe [Core.Text]),+ -- | Output only. Return code from running the step.+ exitCode :: (Core.Maybe Core.Int32),+ -- | Unique identifier for this build step, used in @wait_for@ to reference this build step as a dependency.+ id :: (Core.Maybe Core.Text),+ -- | Required. The name of the container image that will run this particular build step. If the image is available in the host\'s Docker daemon\'s cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account\'s credentials if necessary. The Docker daemon\'s cache will already have the latest versions of all of the officially supported build steps (<https://github.com/GoogleCloudPlatform/cloud-builders>). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host\'s Docker daemon\'s cache and is available to use as the name for a later build step.+ name :: (Core.Maybe Core.Text),+ -- | Output only. Stores timing information for pulling this build step\'s builder image only.+ pullTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.+ script :: (Core.Maybe Core.Text),+ -- | A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build\'s @Secret@.+ secretEnv :: (Core.Maybe [Core.Text]),+ -- | Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.+ status ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+ ),+ -- | Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.+ timeout :: (Core.Maybe Core.Duration),+ -- | Output only. Stores timing information for executing this build step.+ timing :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.+ volumes :: (Core.Maybe [ContaineranalysisGoogleDevtoolsCloudbuildV1Volume]),+ -- | The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in @wait_for@ have completed successfully. If @wait_for@ is empty, this build step will start when all previous build steps in the @Build.Steps@ list have completed successfully.+ waitFor :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ { allowExitCodes =+ Core.Nothing,+ allowFailure = Core.Nothing,+ args = Core.Nothing,+ automapSubstitutions = Core.Nothing,+ dir = Core.Nothing,+ entrypoint = Core.Nothing,+ env = Core.Nothing,+ exitCode = Core.Nothing,+ id = Core.Nothing,+ name = Core.Nothing,+ pullTiming = Core.Nothing,+ script = Core.Nothing,+ secretEnv = Core.Nothing,+ status = Core.Nothing,+ timeout = Core.Nothing,+ timing = Core.Nothing,+ volumes = Core.Nothing,+ waitFor = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ Core.<$> (o Core..:? "allowExitCodes")+ Core.<*> (o Core..:? "allowFailure")+ Core.<*> (o Core..:? "args")+ Core.<*> (o Core..:? "automapSubstitutions")+ Core.<*> (o Core..:? "dir")+ Core.<*> (o Core..:? "entrypoint")+ Core.<*> (o Core..:? "env")+ Core.<*> (o Core..:? "exitCode")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "pullTiming")+ Core.<*> (o Core..:? "script")+ Core.<*> (o Core..:? "secretEnv")+ Core.<*> (o Core..:? "status")+ Core.<*> (o Core..:? "timeout")+ Core.<*> (o Core..:? "timing")+ Core.<*> (o Core..:? "volumes")+ Core.<*> (o Core..:? "waitFor")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep {..} =+ Core.object+ ( Core.catMaybes+ [ ("allowExitCodes" Core..=) Core.<$> allowExitCodes,+ ("allowFailure" Core..=) Core.<$> allowFailure,+ ("args" Core..=) Core.<$> args,+ ("automapSubstitutions" Core..=) Core.<$> automapSubstitutions,+ ("dir" Core..=) Core.<$> dir,+ ("entrypoint" Core..=) Core.<$> entrypoint,+ ("env" Core..=) Core.<$> env,+ ("exitCode" Core..=) Core.<$> exitCode,+ ("id" Core..=) Core.<$> id,+ ("name" Core..=) Core.<$> name,+ ("pullTiming" Core..=) Core.<$> pullTiming,+ ("script" Core..=) Core.<$> script,+ ("secretEnv" Core..=) Core.<$> secretEnv,+ ("status" Core..=) Core.<$> status,+ ("timeout" Core..=) Core.<$> timeout,+ ("timing" Core..=) Core.<$> timing,+ ("volumes" Core..=) Core.<$> volumes,+ ("waitFor" Core..=) Core.<$> waitFor+ ]+ )++-- | A non-fatal problem encountered during the execution of the build.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ { -- | The priority for this warning.+ priority ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+ ),+ -- | Explanation of the warning generated.+ text :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+newContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ { priority =+ Core.Nothing,+ text = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ Core.<$> (o Core..:? "priority")+ Core.<*> (o Core..:? "text")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning {..} =+ Core.object+ ( Core.catMaybes+ [ ("priority" Core..=) Core.<$> priority,+ ("text" Core..=) Core.<$> text+ ]+ )++-- | An image built by the pipeline.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage = ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ { -- | Docker Registry 2.0 digest.+ digest :: (Core.Maybe Core.Text),+ -- | Name used to push the container image to Google Container Registry, as presented to @docker push@.+ name :: (Core.Maybe Core.Text),+ -- | Output only. Stores timing information for pushing the specified image.+ pushTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+newContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage =+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ { digest =+ Core.Nothing,+ name = Core.Nothing,+ pushTiming = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ Core.<$> (o Core..:? "digest")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "pushTiming")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage {..} =+ Core.object+ ( Core.catMaybes+ [ ("digest" Core..=) Core.<$> digest,+ ("name" Core..=) Core.<$> name,+ ("pushTiming" Core..=) Core.<$> pushTiming+ ]+ )++-- | Location of the source in a 2nd-gen Google Cloud Build repository resource.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository = ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ { -- | Optional. Directory, relative to the source root, in which to run the build.+ dir :: (Core.Maybe Core.Text),+ -- | Required. Name of the Google Cloud Build repository, formatted as @projects\/*\/locations\/*\/connections\/*\/repositories\/*@.+ repository :: (Core.Maybe Core.Text),+ -- | Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.+ revision :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+newContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository =+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ { dir =+ Core.Nothing,+ repository = Core.Nothing,+ revision = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ Core.<$> (o Core..:? "dir")+ Core.<*> (o Core..:? "repository")+ Core.<*> (o Core..:? "revision")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository {..} =+ Core.object+ ( Core.catMaybes+ [ ("dir" Core..=) Core.<$> dir,+ ("repository" Core..=) Core.<$> repository,+ ("revision" Core..=) Core.<$> revision+ ]+ )++-- | A dependency that the Cloud Build worker will fetch before executing user steps.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Dependency' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency = ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ { -- | If set to true disable all dependency fetching (ignoring the default source as well).+ empty :: (Core.Maybe Core.Bool),+ -- | Represents a git repository as a build dependency.+ gitSource ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Dependency ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+newContaineranalysisGoogleDevtoolsCloudbuildV1Dependency =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ { empty =+ Core.Nothing,+ gitSource = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ Core.<$> (o Core..:? "empty")+ Core.<*> (o Core..:? "gitSource")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency {..} =+ Core.object+ ( Core.catMaybes+ [ ("empty" Core..=) Core.<$> empty,+ ("gitSource" Core..=) Core.<$> gitSource+ ]+ )++-- | Represents a git repository as a build dependency.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency = ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ { -- | Optional. How much history should be fetched for the build (default 1, -1 for all history).+ depth :: (Core.Maybe Core.Int64),+ -- | Required. Where should the files be placed on the worker.+ destPath :: (Core.Maybe Core.Text),+ -- | Optional. True if submodules should be fetched too (default false).+ recurseSubmodules :: (Core.Maybe Core.Bool),+ -- | Required. The kind of repo (url or dev connect).+ repository ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ ),+ -- | Required. The revision that we will fetch the repo at.+ revision :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency =+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ { depth =+ Core.Nothing,+ destPath =+ Core.Nothing,+ recurseSubmodules =+ Core.Nothing,+ repository =+ Core.Nothing,+ revision =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ Core.<$> (o Core..:? "depth" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "destPath")+ Core.<*> (o Core..:? "recurseSubmodules")+ Core.<*> (o Core..:? "repository")+ Core.<*> (o Core..:? "revision")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency {..} =+ Core.object+ ( Core.catMaybes+ [ ("depth" Core..=) Core.. Core.AsText Core.<$> depth,+ ("destPath" Core..=) Core.<$> destPath,+ ("recurseSubmodules" Core..=) Core.<$> recurseSubmodules,+ ("repository" Core..=) Core.<$> repository,+ ("revision" Core..=) Core.<$> revision+ ]+ )++-- | A repository for a git source.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository = ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ { -- | The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as @projects\/*\/locations\/*\/connections\/*\/gitRepositoryLink\/*@+ developerConnect :: (Core.Maybe Core.Text),+ -- | Location of the Git repository.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository =+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ { developerConnect =+ Core.Nothing,+ url = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ Core.<$> (o Core..:? "developerConnect")+ Core.<*> (o Core..:? "url")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {..} =+ Core.object+ ( Core.catMaybes+ [ ("developerConnect" Core..=) Core.<$> developerConnect,+ ("url" Core..=) Core.<$> url+ ]+ )++-- | This config defines the location of a source through Developer Connect.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig = ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ { -- | Required. Directory, relative to the source root, in which to run the build.+ dir :: (Core.Maybe Core.Text),+ -- | Required. The Developer Connect Git repository link, formatted as @projects\/*\/locations\/*\/connections\/*\/gitRepositoryLink\/*@.+ gitRepositoryLink :: (Core.Maybe Core.Text),+ -- | Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.+ revision :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+newContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig =+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ { dir =+ Core.Nothing,+ gitRepositoryLink =+ Core.Nothing,+ revision = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ Core.<$> (o Core..:? "dir")+ Core.<*> (o Core..:? "gitRepositoryLink")+ Core.<*> (o Core..:? "revision")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("dir" Core..=) Core.<$> dir,+ ("gitRepositoryLink" Core..=) Core.<$> gitRepositoryLink,+ ("revision" Core..=) Core.<$> revision+ ]+ )++-- | Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes = ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ { -- | Collection of file hashes.+ fileHash :: (Core.Maybe [ContaineranalysisGoogleDevtoolsCloudbuildV1Hash])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+newContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes =+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ { fileHash =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ Core.<$> (o Core..:? "fileHash")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes {..} =+ Core.object+ (Core.catMaybes [("fileHash" Core..=) Core.<$> fileHash])++-- | GitConfig is a configuration for git operations.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig = ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ { -- | Configuration for HTTP related git operations.+ http ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig =+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ { http =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ Core.<$> (o Core..:? "http")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig {..} =+ Core.object (Core.catMaybes [("http" Core..=) Core.<$> http])++-- | HttpConfig is a configuration for HTTP related git operations.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig = ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ { -- | SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have @secretmanager.versions.access@ permissions on this secret. The proxy URL should be in format @protocol:\/\/\@]proxyhost[:port]@.+ proxySecretVersionName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig =+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ { proxySecretVersionName =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ Core.<$> (o Core..:? "proxySecretVersionName")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("proxySecretVersionName" Core..=)+ Core.<$> proxySecretVersionName+ ]+ )++-- | Location of the source in any accessible Git repository.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1GitSource' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource = ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ { -- | Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step\'s @dir@ is specified and is an absolute path, this value is ignored for that step\'s execution.+ dir :: (Core.Maybe Core.Text),+ -- | Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses @git fetch@ to fetch the revision from the Git repository; therefore make sure that the string you provide for @revision@ is parsable by the command. For information on string values accepted by @git fetch@, see https:\/\/git-scm.com\/docs\/gitrevisions#/specifying/revisions. For information on @git fetch@, see https:\/\/git-scm.com\/docs\/git-fetch.+ revision :: (Core.Maybe Core.Text),+ -- | Required. Location of the Git repo to build. This will be used as a @git remote@, see https:\/\/git-scm.com\/docs\/git-remote.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1GitSource ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+newContaineranalysisGoogleDevtoolsCloudbuildV1GitSource =+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ { dir =+ Core.Nothing,+ revision = Core.Nothing,+ url = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ Core.<$> (o Core..:? "dir")+ Core.<*> (o Core..:? "revision")+ Core.<*> (o Core..:? "url")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {..} =+ Core.object+ ( Core.catMaybes+ [ ("dir" Core..=) Core.<$> dir,+ ("revision" Core..=) Core.<$> revision,+ ("url" Core..=) Core.<$> url+ ]+ )++-- | Container message for hash values.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Hash' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Hash = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ { -- | The type of hash that was performed.+ type' :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type),+ -- | The hash value.+ value :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Hash' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Hash ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+newContaineranalysisGoogleDevtoolsCloudbuildV1Hash =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ { type' =+ Core.Nothing,+ value = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Hash"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ Core.<$> (o Core..:? "type")+ Core.<*> (o Core..:? "value")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {..} =+ Core.object+ ( Core.catMaybes+ [ ("type" Core..=) Core.<$> type',+ ("value" Core..=) Core.<$> value+ ]+ )++-- | Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret = ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ { -- | Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build\'s secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build\'s secrets.+ envMap ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ ),+ -- | Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects\//\/locations\//\/keyRings\//\/cryptoKeys\//+ kmsKeyName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret =+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ { envMap =+ Core.Nothing,+ kmsKeyName = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ Core.<$> (o Core..:? "envMap")+ Core.<*> (o Core..:? "kmsKeyName")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret {..} =+ Core.object+ ( Core.catMaybes+ [ ("envMap" Core..=) Core.<$> envMap,+ ("kmsKeyName" Core..=) Core.<$> kmsKeyName+ ]+ )++-- | Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build\'s secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build\'s secrets.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap = ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ { additional :: (Core.HashMap Core.Text Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Base64 ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ additional =+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ { additional =+ additional+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap {..} =+ Core.toJSON additional++-- | Location of the source in a Google Cloud Source Repository.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource = ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ { -- | Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https:\/\/github.com\/google\/re2\/wiki\/Syntax+ branchName :: (Core.Maybe Core.Text),+ -- | Explicit commit SHA to build.+ commitSha :: (Core.Maybe Core.Text),+ -- | Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step\'s @dir@ is specified and is an absolute path, this value is ignored for that step\'s execution.+ dir :: (Core.Maybe Core.Text),+ -- | Optional. Only trigger a build if the revision regex does NOT match the revision regex.+ invertRegex :: (Core.Maybe Core.Bool),+ -- | Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.+ projectId :: (Core.Maybe Core.Text),+ -- | Required. Name of the Cloud Source Repository.+ repoName :: (Core.Maybe Core.Text),+ -- | Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger+ substitutions ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ ),+ -- | Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https:\/\/github.com\/google\/re2\/wiki\/Syntax+ tagName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource =+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ { branchName =+ Core.Nothing,+ commitSha = Core.Nothing,+ dir = Core.Nothing,+ invertRegex = Core.Nothing,+ projectId = Core.Nothing,+ repoName = Core.Nothing,+ substitutions = Core.Nothing,+ tagName = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ Core.<$> (o Core..:? "branchName")+ Core.<*> (o Core..:? "commitSha")+ Core.<*> (o Core..:? "dir")+ Core.<*> (o Core..:? "invertRegex")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "repoName")+ Core.<*> (o Core..:? "substitutions")+ Core.<*> (o Core..:? "tagName")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource {..} =+ Core.object+ ( Core.catMaybes+ [ ("branchName" Core..=) Core.<$> branchName,+ ("commitSha" Core..=) Core.<$> commitSha,+ ("dir" Core..=) Core.<$> dir,+ ("invertRegex" Core..=) Core.<$> invertRegex,+ ("projectId" Core..=) Core.<$> projectId,+ ("repoName" Core..=) Core.<$> repoName,+ ("substitutions" Core..=) Core.<$> substitutions,+ ("tagName" Core..=) Core.<$> tagName+ ]+ )++-- | Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions = ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions ::+ -- | See 'additional'.+ Core.HashMap+ Core.Text+ Core.Text ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ additional =+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ { additional =+ additional+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions {..} =+ Core.toJSON additional++-- | Artifacts created by the build pipeline.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Results' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Results = ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ { -- | Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.+ artifactManifest :: (Core.Maybe Core.Text),+ -- | Time to push all non-container artifacts to Cloud Storage.+ artifactTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | List of build step digests, in the order corresponding to build step indices.+ buildStepImages :: (Core.Maybe [Core.Text]),+ -- | List of build step outputs, produced by builder images, in the order corresponding to build step indices. <https://cloud.google.com/cloud-build/docs/cloud-builders Cloud Builders> can produce this output by writing to @$BUILDER_OUTPUT\/output@. Only the first 50KB of data is stored. Note that the @$BUILDER_OUTPUT@ variable is read-only and can\'t be substituted.+ buildStepOutputs :: (Core.Maybe [Core.Base64]),+ -- | Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.+ goModules ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule]+ ),+ -- | Container images that were built as a part of the build.+ images ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage]+ ),+ -- | Maven artifacts uploaded to Artifact Registry at the end of the build.+ mavenArtifacts ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact]+ ),+ -- | Npm packages uploaded to Artifact Registry at the end of the build.+ npmPackages ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage]+ ),+ -- | Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.+ numArtifacts :: (Core.Maybe Core.Int64),+ -- | Python artifacts uploaded to Artifact Registry at the end of the build.+ pythonPackages ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Results' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Results ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results+newContaineranalysisGoogleDevtoolsCloudbuildV1Results =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ { artifactManifest =+ Core.Nothing,+ artifactTiming = Core.Nothing,+ buildStepImages = Core.Nothing,+ buildStepOutputs = Core.Nothing,+ goModules = Core.Nothing,+ images = Core.Nothing,+ mavenArtifacts = Core.Nothing,+ npmPackages = Core.Nothing,+ numArtifacts = Core.Nothing,+ pythonPackages = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Results"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ Core.<$> (o Core..:? "artifactManifest")+ Core.<*> (o Core..:? "artifactTiming")+ Core.<*> (o Core..:? "buildStepImages")+ Core.<*> (o Core..:? "buildStepOutputs")+ Core.<*> (o Core..:? "goModules")+ Core.<*> (o Core..:? "images")+ Core.<*> (o Core..:? "mavenArtifacts")+ Core.<*> (o Core..:? "npmPackages")+ Core.<*> (o Core..:? "numArtifacts" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "pythonPackages")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Results {..} =+ Core.object+ ( Core.catMaybes+ [ ("artifactManifest" Core..=) Core.<$> artifactManifest,+ ("artifactTiming" Core..=) Core.<$> artifactTiming,+ ("buildStepImages" Core..=) Core.<$> buildStepImages,+ ("buildStepOutputs" Core..=) Core.<$> buildStepOutputs,+ ("goModules" Core..=) Core.<$> goModules,+ ("images" Core..=) Core.<$> images,+ ("mavenArtifacts" Core..=) Core.<$> mavenArtifacts,+ ("npmPackages" Core..=) Core.<$> npmPackages,+ ("numArtifacts" Core..=) Core.. Core.AsText Core.<$> numArtifacts,+ ("pythonPackages" Core..=) Core.<$> pythonPackages+ ]+ )++-- | Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use @kmsKeyName@ with @available_secrets@ instead of using @kmsKeyName@ with @secret@. For instructions see: https:\/\/cloud.google.com\/cloud-build\/docs\/securing-builds\/use-encrypted-credentials.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Secret' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Secret = ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ { -- | Cloud KMS key name to use to decrypt these envs.+ kmsKeyName :: (Core.Maybe Core.Text),+ -- | Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build\'s secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build\'s secrets.+ secretEnv ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Secret' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Secret ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+newContaineranalysisGoogleDevtoolsCloudbuildV1Secret =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ { kmsKeyName =+ Core.Nothing,+ secretEnv = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Secret"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ Core.<$> (o Core..:? "kmsKeyName")+ Core.<*> (o Core..:? "secretEnv")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Secret {..} =+ Core.object+ ( Core.catMaybes+ [ ("kmsKeyName" Core..=) Core.<$> kmsKeyName,+ ("secretEnv" Core..=) Core.<$> secretEnv+ ]+ )++-- | Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build\'s secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build\'s secrets.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv = ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ { additional :: (Core.HashMap Core.Text Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Base64 ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+newContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ additional =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ { additional =+ additional+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv {..} =+ Core.toJSON additional++-- | Pairs a secret environment variable with a SecretVersion in Secret Manager.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret = ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ { -- | Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build\'s secrets, and must be used by at least one build step.+ env :: (Core.Maybe Core.Text),+ -- | Resource name of the SecretVersion. In format: projects\//\/secrets\//\/versions\/*+ versionName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+newContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret =+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ { env =+ Core.Nothing,+ versionName = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ Core.<$> (o Core..:? "env")+ Core.<*> (o Core..:? "versionName")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret {..} =+ Core.object+ ( Core.catMaybes+ [ ("env" Core..=) Core.<$> env,+ ("versionName" Core..=) Core.<$> versionName+ ]+ )++-- | Secrets and secret environment variables.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Secrets' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets = ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ { -- | Secrets encrypted with KMS key and the associated secret environment variable.+ inline ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret]+ ),+ -- | Secrets in Secret Manager and associated secret environment variable.+ secretManager ::+ ( Core.Maybe+ [ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Secrets ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+newContaineranalysisGoogleDevtoolsCloudbuildV1Secrets =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ { inline =+ Core.Nothing,+ secretManager = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ Core.<$> (o Core..:? "inline")+ Core.<*> (o Core..:? "secretManager")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets {..} =+ Core.object+ ( Core.catMaybes+ [ ("inline" Core..=) Core.<$> inline,+ ("secretManager" Core..=) Core.<$> secretManager+ ]+ )++-- | Location of the source in a supported storage service.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Source' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Source = ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ { -- | Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.+ connectedRepository ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ ),+ -- | If provided, get the source from this Developer Connect config.+ developerConnectConfig ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ ),+ -- | If provided, get the source from this Git repository.+ gitSource :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource),+ -- | If provided, get the source from this location in a Cloud Source Repository.+ repoSource :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource),+ -- | If provided, get the source from this location in Cloud Storage.+ storageSource ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ ),+ -- | If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description <https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher here>.+ storageSourceManifest ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Source' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Source ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source+newContaineranalysisGoogleDevtoolsCloudbuildV1Source =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ { connectedRepository =+ Core.Nothing,+ developerConnectConfig = Core.Nothing,+ gitSource = Core.Nothing,+ repoSource = Core.Nothing,+ storageSource = Core.Nothing,+ storageSourceManifest = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Source"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ Core.<$> (o Core..:? "connectedRepository")+ Core.<*> (o Core..:? "developerConnectConfig")+ Core.<*> (o Core..:? "gitSource")+ Core.<*> (o Core..:? "repoSource")+ Core.<*> (o Core..:? "storageSource")+ Core.<*> (o Core..:? "storageSourceManifest")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Source {..} =+ Core.object+ ( Core.catMaybes+ [ ("connectedRepository" Core..=) Core.<$> connectedRepository,+ ("developerConnectConfig" Core..=) Core.<$> developerConnectConfig,+ ("gitSource" Core..=) Core.<$> gitSource,+ ("repoSource" Core..=) Core.<$> repoSource,+ ("storageSource" Core..=) Core.<$> storageSource,+ ("storageSourceManifest" Core..=) Core.<$> storageSourceManifest+ ]+ )++-- | Provenance of the source. Ways to find the original source, or verify that some source was used for this build.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance = ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ { -- | Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that @FileHashes@ will only be populated if @BuildOptions@ has requested a @SourceProvenanceHash@. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (@.tar.gz@), the @FileHash@ will be for the single path to that file.+ fileHashes ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ ),+ -- | Output only. A copy of the build\'s @source.connected_repository@, if exists, with any revisions resolved.+ resolvedConnectedRepository ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ ),+ -- | Output only. A copy of the build\'s @source.git_source@, if exists, with any revisions resolved.+ resolvedGitSource :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource),+ -- | A copy of the build\'s @source.repo_source@, if exists, with any revisions resolved.+ resolvedRepoSource :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource),+ -- | A copy of the build\'s @source.storage_source@, if exists, with any generations resolved.+ resolvedStorageSource ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ ),+ -- | A copy of the build\'s @source.storage_source_manifest@, if exists, with any revisions resolved. This feature is in Preview.+ resolvedStorageSourceManifest ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance =+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ { fileHashes =+ Core.Nothing,+ resolvedConnectedRepository =+ Core.Nothing,+ resolvedGitSource = Core.Nothing,+ resolvedRepoSource = Core.Nothing,+ resolvedStorageSource =+ Core.Nothing,+ resolvedStorageSourceManifest =+ Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ Core.<$> (o Core..:? "fileHashes")+ Core.<*> (o Core..:? "resolvedConnectedRepository")+ Core.<*> (o Core..:? "resolvedGitSource")+ Core.<*> (o Core..:? "resolvedRepoSource")+ Core.<*> (o Core..:? "resolvedStorageSource")+ Core.<*> (o Core..:? "resolvedStorageSourceManifest")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance {..} =+ Core.object+ ( Core.catMaybes+ [ ("fileHashes" Core..=) Core.<$> fileHashes,+ ("resolvedConnectedRepository" Core..=)+ Core.<$> resolvedConnectedRepository,+ ("resolvedGitSource" Core..=) Core.<$> resolvedGitSource,+ ("resolvedRepoSource" Core..=) Core.<$> resolvedRepoSource,+ ("resolvedStorageSource" Core..=) Core.<$> resolvedStorageSource,+ ("resolvedStorageSourceManifest" Core..=)+ Core.<$> resolvedStorageSourceManifest+ ]+ )++-- | Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that @FileHashes@ will only be populated if @BuildOptions@ has requested a @SourceProvenanceHash@. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (@.tar.gz@), the @FileHash@ will be for the single path to that file.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes' smart constructor.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes = ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ { additional ::+ ( Core.HashMap+ Core.Text+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes ::+ -- | See 'additional'.+ Core.HashMap+ Core.Text+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ additional =+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ { additional =+ additional+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes {..} =+ Core.toJSON additional++-- | Location of the source in an archive file in Cloud Storage.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource = ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ { -- | Cloud Storage bucket containing the source (see <https://cloud.google.com/storage/docs/bucket-naming#requirements Bucket Name Requirements>).+ bucket :: (Core.Maybe Core.Text),+ -- | Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.+ generation :: (Core.Maybe Core.Int64),+ -- | Required. Cloud Storage object containing the source. This object must be a zipped (@.zip@) or gzipped archive file (@.tar.gz@) containing source to build.+ object :: (Core.Maybe Core.Text),+ -- | Optional. Option to specify the tool to fetch the source file for the build.+ sourceFetcher ::+ ( Core.Maybe+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource =+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ { bucket =+ Core.Nothing,+ generation = Core.Nothing,+ object = Core.Nothing,+ sourceFetcher = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ Core.<$> (o Core..:? "bucket")+ Core.<*> (o Core..:? "generation" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "object")+ Core.<*> (o Core..:? "sourceFetcher")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucket" Core..=) Core.<$> bucket,+ ("generation" Core..=) Core.. Core.AsText Core.<$> generation,+ ("object" Core..=) Core.<$> object,+ ("sourceFetcher" Core..=) Core.<$> sourceFetcher+ ]+ )++-- | Location of the source manifest in Cloud Storage. This feature is in Preview; see description <https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher here>.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest = ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ { -- | Required. Cloud Storage bucket containing the source manifest (see <https://cloud.google.com/storage/docs/bucket-naming#requirements Bucket Name Requirements>).+ bucket :: (Core.Maybe Core.Text),+ -- | Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.+ generation :: (Core.Maybe Core.Int64),+ -- | Required. Cloud Storage object containing the source manifest. This object must be a JSON file.+ object :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest =+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ { bucket =+ Core.Nothing,+ generation = Core.Nothing,+ object = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ Core.<$> (o Core..:? "bucket")+ Core.<*> (o Core..:? "generation" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "object")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucket" Core..=) Core.<$> bucket,+ ("generation" Core..=) Core.. Core.AsText Core.<$> generation,+ ("object" Core..=) Core.<$> object+ ]+ )++-- | Start and end times for a build execution phase.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan = ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ { -- | End of time span.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Start of time span.+ startTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+newContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan =+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ { endTime =+ Core.Nothing,+ startTime = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ Core.<$> (o Core..:? "endTime")+ Core.<*> (o Core..:? "startTime")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan {..} =+ Core.object+ ( Core.catMaybes+ [ ("endTime" Core..=) Core.<$> endTime,+ ("startTime" Core..=) Core.<$> startTime+ ]+ )++-- | A Go module artifact uploaded to Artifact Registry using the GoModule directive.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule = ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ { -- | Hash types and values of the Go Module Artifact.+ fileHashes :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes),+ -- | Output only. Stores timing information for pushing the specified artifact.+ pushTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | URI of the uploaded artifact.+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule =+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ { fileHashes =+ Core.Nothing,+ pushTiming = Core.Nothing,+ uri = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ Core.<$> (o Core..:? "fileHashes")+ Core.<*> (o Core..:? "pushTiming")+ Core.<*> (o Core..:? "uri")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule {..} =+ Core.object+ ( Core.catMaybes+ [ ("fileHashes" Core..=) Core.<$> fileHashes,+ ("pushTiming" Core..=) Core.<$> pushTiming,+ ("uri" Core..=) Core.<$> uri+ ]+ )++-- | A Maven artifact uploaded using the MavenArtifact directive.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact = ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ { -- | Hash types and values of the Maven Artifact.+ fileHashes :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes),+ -- | Output only. Stores timing information for pushing the specified artifact.+ pushTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | URI of the uploaded artifact.+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact =+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ { fileHashes =+ Core.Nothing,+ pushTiming = Core.Nothing,+ uri = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ Core.<$> (o Core..:? "fileHashes")+ Core.<*> (o Core..:? "pushTiming")+ Core.<*> (o Core..:? "uri")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact {..} =+ Core.object+ ( Core.catMaybes+ [ ("fileHashes" Core..=) Core.<$> fileHashes,+ ("pushTiming" Core..=) Core.<$> pushTiming,+ ("uri" Core..=) Core.<$> uri+ ]+ )++-- | An npm package uploaded to Artifact Registry using the NpmPackage directive.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage = ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ { -- | Hash types and values of the npm package.+ fileHashes :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes),+ -- | Output only. Stores timing information for pushing the specified artifact.+ pushTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | URI of the uploaded npm package.+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage =+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ { fileHashes =+ Core.Nothing,+ pushTiming = Core.Nothing,+ uri = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ Core.<$> (o Core..:? "fileHashes")+ Core.<*> (o Core..:? "pushTiming")+ Core.<*> (o Core..:? "uri")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage {..} =+ Core.object+ ( Core.catMaybes+ [ ("fileHashes" Core..=) Core.<$> fileHashes,+ ("pushTiming" Core..=) Core.<$> pushTiming,+ ("uri" Core..=) Core.<$> uri+ ]+ )++-- | Artifact uploaded using the PythonPackage directive.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage = ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ { -- | Hash types and values of the Python Artifact.+ fileHashes :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes),+ -- | Output only. Stores timing information for pushing the specified artifact.+ pushTiming :: (Core.Maybe ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan),+ -- | URI of the uploaded artifact.+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage =+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ { fileHashes =+ Core.Nothing,+ pushTiming = Core.Nothing,+ uri = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ Core.<$> (o Core..:? "fileHashes")+ Core.<*> (o Core..:? "pushTiming")+ Core.<*> (o Core..:? "uri")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ where+ toJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {..} =+ Core.object+ ( Core.catMaybes+ [ ("fileHashes" Core..=) Core.<$> fileHashes,+ ("pushTiming" Core..=) Core.<$> pushTiming,+ ("uri" Core..=) Core.<$> uri+ ]+ )++-- | Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.+--+-- /See:/ 'newContaineranalysisGoogleDevtoolsCloudbuildV1Volume' smart constructor.+data ContaineranalysisGoogleDevtoolsCloudbuildV1Volume = ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ { -- | Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.+ name :: (Core.Maybe Core.Text),+ -- | Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.+ path :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContaineranalysisGoogleDevtoolsCloudbuildV1Volume' with the minimum fields required to make a request.+newContaineranalysisGoogleDevtoolsCloudbuildV1Volume ::+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+newContaineranalysisGoogleDevtoolsCloudbuildV1Volume =+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ { name =+ Core.Nothing,+ path = Core.Nothing+ }++instance+ Core.FromJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ where+ parseJSON =+ Core.withObject+ "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume"+ ( \o ->+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ Core.<$> (o Core..:? "name")+ Core.<*> (o Core..:? "path")+ )++instance+ Core.ToJSON+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ where+ toJSON ContaineranalysisGoogleDevtoolsCloudbuildV1Volume {..} =+ Core.object+ ( Core.catMaybes+ [("name" Core..=) Core.<$> name, ("path" Core..=) Core.<$> path]+ )++--+-- /See:/ 'newDSSEAttestationNote' smart constructor.+newtype DSSEAttestationNote = DSSEAttestationNote+ { -- | DSSEHint hints at the purpose of the attestation authority.+ hint :: (Core.Maybe DSSEHint)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DSSEAttestationNote' with the minimum fields required to make a request.+newDSSEAttestationNote ::+ DSSEAttestationNote+newDSSEAttestationNote = DSSEAttestationNote {hint = Core.Nothing}++instance Core.FromJSON DSSEAttestationNote where+ parseJSON =+ Core.withObject+ "DSSEAttestationNote"+ (\o -> DSSEAttestationNote Core.<$> (o Core..:? "hint"))++instance Core.ToJSON DSSEAttestationNote where+ toJSON DSSEAttestationNote {..} =+ Core.object (Core.catMaybes [("hint" Core..=) Core.<$> hint])++-- | Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence.+--+-- /See:/ 'newDSSEAttestationOccurrence' smart constructor.+data DSSEAttestationOccurrence = DSSEAttestationOccurrence+ { -- | If doing something security critical, make sure to verify the signatures in this metadata.+ envelope :: (Core.Maybe Envelope),+ statement :: (Core.Maybe InTotoStatement)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DSSEAttestationOccurrence' with the minimum fields required to make a request.+newDSSEAttestationOccurrence ::+ DSSEAttestationOccurrence+newDSSEAttestationOccurrence =+ DSSEAttestationOccurrence+ { envelope = Core.Nothing,+ statement = Core.Nothing+ }++instance Core.FromJSON DSSEAttestationOccurrence where+ parseJSON =+ Core.withObject+ "DSSEAttestationOccurrence"+ ( \o ->+ DSSEAttestationOccurrence+ Core.<$> (o Core..:? "envelope")+ Core.<*> (o Core..:? "statement")+ )++instance Core.ToJSON DSSEAttestationOccurrence where+ toJSON DSSEAttestationOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("envelope" Core..=) Core.<$> envelope,+ ("statement" Core..=) Core.<$> statement+ ]+ )++-- | This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from \"readable\" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.+--+-- /See:/ 'newDSSEHint' smart constructor.+newtype DSSEHint = DSSEHint+ { -- | Required. The human readable name of this attestation authority, for example \"cloudbuild-prod\".+ humanReadableName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DSSEHint' with the minimum fields required to make a request.+newDSSEHint ::+ DSSEHint+newDSSEHint = DSSEHint {humanReadableName = Core.Nothing}++instance Core.FromJSON DSSEHint where+ parseJSON =+ Core.withObject+ "DSSEHint"+ (\o -> DSSEHint Core.<$> (o Core..:? "humanReadableName"))++instance Core.ToJSON DSSEHint where+ toJSON DSSEHint {..} =+ Core.object+ ( Core.catMaybes+ [("humanReadableName" Core..=) Core.<$> humanReadableName]+ )++-- | An artifact that can be deployed in some runtime.+--+-- /See:/ 'newDeploymentNote' smart constructor.+newtype DeploymentNote = DeploymentNote+ { -- | Required. Resource URI for the artifact being deployed.+ resourceUri :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DeploymentNote' with the minimum fields required to make a request.+newDeploymentNote ::+ DeploymentNote+newDeploymentNote = DeploymentNote {resourceUri = Core.Nothing}++instance Core.FromJSON DeploymentNote where+ parseJSON =+ Core.withObject+ "DeploymentNote"+ (\o -> DeploymentNote Core.<$> (o Core..:? "resourceUri"))++instance Core.ToJSON DeploymentNote where+ toJSON DeploymentNote {..} =+ Core.object+ (Core.catMaybes [("resourceUri" Core..=) Core.<$> resourceUri])++-- | The period during which some deployable was active in a runtime.+--+-- /See:/ 'newDeploymentOccurrence' smart constructor.+data DeploymentOccurrence = DeploymentOccurrence+ { -- | Address of the runtime element hosting this deployment.+ address :: (Core.Maybe Core.Text),+ -- | Configuration used to create this deployment.+ config :: (Core.Maybe Core.Text),+ -- | Required. Beginning of the lifetime of this deployment.+ deployTime :: (Core.Maybe Core.DateTime),+ -- | Platform hosting this deployment.+ platform :: (Core.Maybe DeploymentOccurrence_Platform),+ -- | Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.+ resourceUri :: (Core.Maybe [Core.Text]),+ -- | End of the lifetime of this deployment.+ undeployTime :: (Core.Maybe Core.DateTime),+ -- | Identity of the user that triggered this deployment.+ userEmail :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DeploymentOccurrence' with the minimum fields required to make a request.+newDeploymentOccurrence ::+ DeploymentOccurrence+newDeploymentOccurrence =+ DeploymentOccurrence+ { address = Core.Nothing,+ config = Core.Nothing,+ deployTime = Core.Nothing,+ platform = Core.Nothing,+ resourceUri = Core.Nothing,+ undeployTime = Core.Nothing,+ userEmail = Core.Nothing+ }++instance Core.FromJSON DeploymentOccurrence where+ parseJSON =+ Core.withObject+ "DeploymentOccurrence"+ ( \o ->+ DeploymentOccurrence+ Core.<$> (o Core..:? "address")+ Core.<*> (o Core..:? "config")+ Core.<*> (o Core..:? "deployTime")+ Core.<*> (o Core..:? "platform")+ Core.<*> (o Core..:? "resourceUri")+ Core.<*> (o Core..:? "undeployTime")+ Core.<*> (o Core..:? "userEmail")+ )++instance Core.ToJSON DeploymentOccurrence where+ toJSON DeploymentOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("address" Core..=) Core.<$> address,+ ("config" Core..=) Core.<$> config,+ ("deployTime" Core..=) Core.<$> deployTime,+ ("platform" Core..=) Core.<$> platform,+ ("resourceUri" Core..=) Core.<$> resourceUri,+ ("undeployTime" Core..=) Core.<$> undeployTime,+ ("userEmail" Core..=) Core.<$> userEmail+ ]+ )++-- | A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).+--+-- /See:/ 'newDetail' smart constructor.+data Detail = Detail+ { -- | Required. The <https://cpe.mitre.org/specification/ CPE URI> this vulnerability affects.+ affectedCpeUri :: (Core.Maybe Core.Text),+ -- | Required. The package this vulnerability affects.+ affectedPackage :: (Core.Maybe Core.Text),+ -- | The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected/version/start and affected/version/end will be the same in that Detail.+ affectedVersionEnd :: (Core.Maybe Version),+ -- | The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected/version/start and affected/version/end will be the same in that Detail.+ affectedVersionStart :: (Core.Maybe Version),+ -- | A vendor-specific description of this vulnerability.+ description :: (Core.Maybe Core.Text),+ -- | The distro recommended <https://cpe.mitre.org/specification/ CPE URI> to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected/cpe/uri.+ fixedCpeUri :: (Core.Maybe Core.Text),+ -- | The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.+ fixedPackage :: (Core.Maybe Core.Text),+ -- | The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.+ fixedVersion :: (Core.Maybe Version),+ -- | Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.+ isObsolete :: (Core.Maybe Core.Bool),+ -- | The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).+ packageType :: (Core.Maybe Core.Text),+ -- | The distro assigned severity of this vulnerability.+ severityName :: (Core.Maybe Core.Text),+ -- | The source from which the information in this Detail was obtained.+ source :: (Core.Maybe Core.Text),+ -- | The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.+ sourceUpdateTime :: (Core.Maybe Core.DateTime),+ -- | The name of the vendor of the product.+ vendor :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Detail' with the minimum fields required to make a request.+newDetail ::+ Detail+newDetail =+ Detail+ { affectedCpeUri = Core.Nothing,+ affectedPackage = Core.Nothing,+ affectedVersionEnd = Core.Nothing,+ affectedVersionStart = Core.Nothing,+ description = Core.Nothing,+ fixedCpeUri = Core.Nothing,+ fixedPackage = Core.Nothing,+ fixedVersion = Core.Nothing,+ isObsolete = Core.Nothing,+ packageType = Core.Nothing,+ severityName = Core.Nothing,+ source = Core.Nothing,+ sourceUpdateTime = Core.Nothing,+ vendor = Core.Nothing+ }++instance Core.FromJSON Detail where+ parseJSON =+ Core.withObject+ "Detail"+ ( \o ->+ Detail+ Core.<$> (o Core..:? "affectedCpeUri")+ Core.<*> (o Core..:? "affectedPackage")+ Core.<*> (o Core..:? "affectedVersionEnd")+ Core.<*> (o Core..:? "affectedVersionStart")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "fixedCpeUri")+ Core.<*> (o Core..:? "fixedPackage")+ Core.<*> (o Core..:? "fixedVersion")+ Core.<*> (o Core..:? "isObsolete")+ Core.<*> (o Core..:? "packageType")+ Core.<*> (o Core..:? "severityName")+ Core.<*> (o Core..:? "source")+ Core.<*> (o Core..:? "sourceUpdateTime")+ Core.<*> (o Core..:? "vendor")+ )++instance Core.ToJSON Detail where+ toJSON Detail {..} =+ Core.object+ ( Core.catMaybes+ [ ("affectedCpeUri" Core..=) Core.<$> affectedCpeUri,+ ("affectedPackage" Core..=) Core.<$> affectedPackage,+ ("affectedVersionEnd" Core..=) Core.<$> affectedVersionEnd,+ ("affectedVersionStart" Core..=) Core.<$> affectedVersionStart,+ ("description" Core..=) Core.<$> description,+ ("fixedCpeUri" Core..=) Core.<$> fixedCpeUri,+ ("fixedPackage" Core..=) Core.<$> fixedPackage,+ ("fixedVersion" Core..=) Core.<$> fixedVersion,+ ("isObsolete" Core..=) Core.<$> isObsolete,+ ("packageType" Core..=) Core.<$> packageType,+ ("severityName" Core..=) Core.<$> severityName,+ ("source" Core..=) Core.<$> source,+ ("sourceUpdateTime" Core..=) Core.<$> sourceUpdateTime,+ ("vendor" Core..=) Core.<$> vendor+ ]+ )++-- | Digest information.+--+-- /See:/ 'newDigest' smart constructor.+data Digest = Digest+ { -- | @SHA1@, @SHA512@ etc.+ algo :: (Core.Maybe Core.Text),+ -- | Value of the digest.+ digestBytes :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Digest' with the minimum fields required to make a request.+newDigest ::+ Digest+newDigest = Digest {algo = Core.Nothing, digestBytes = Core.Nothing}++instance Core.FromJSON Digest where+ parseJSON =+ Core.withObject+ "Digest"+ ( \o ->+ Digest+ Core.<$> (o Core..:? "algo")+ Core.<*> (o Core..:? "digestBytes")+ )++instance Core.ToJSON Digest where+ toJSON Digest {..} =+ Core.object+ ( Core.catMaybes+ [ ("algo" Core..=) Core.<$> algo,+ ("digestBytes" Core..=) Core.<$> digestBytes+ ]+ )++-- | A note that indicates a type of analysis a provider would perform. This note exists in a provider\'s project. A @Discovery@ occurrence is created in a consumer\'s project at the start of analysis.+--+-- /See:/ 'newDiscoveryNote' smart constructor.+newtype DiscoveryNote = DiscoveryNote+ { -- | Required. Immutable. The kind of analysis that is handled by this discovery.+ analysisKind :: (Core.Maybe DiscoveryNote_AnalysisKind)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DiscoveryNote' with the minimum fields required to make a request.+newDiscoveryNote ::+ DiscoveryNote+newDiscoveryNote = DiscoveryNote {analysisKind = Core.Nothing}++instance Core.FromJSON DiscoveryNote where+ parseJSON =+ Core.withObject+ "DiscoveryNote"+ (\o -> DiscoveryNote Core.<$> (o Core..:? "analysisKind"))++instance Core.ToJSON DiscoveryNote where+ toJSON DiscoveryNote {..} =+ Core.object+ (Core.catMaybes [("analysisKind" Core..=) Core.<$> analysisKind])++-- | Provides information about the analysis status of a discovered resource.+--+-- /See:/ 'newDiscoveryOccurrence' smart constructor.+data DiscoveryOccurrence = DiscoveryOccurrence+ { analysisCompleted :: (Core.Maybe AnalysisCompleted),+ -- | Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.+ analysisError :: (Core.Maybe [Status]),+ -- | The status of discovery for the resource.+ analysisStatus :: (Core.Maybe DiscoveryOccurrence_AnalysisStatus),+ -- | When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.+ analysisStatusError :: (Core.Maybe Status),+ -- | Output only. The time occurrences related to this discovery occurrence were archived.+ archiveTime :: (Core.Maybe Core.DateTime),+ -- | Whether the resource is continuously analyzed.+ continuousAnalysis :: (Core.Maybe DiscoveryOccurrence_ContinuousAnalysis),+ -- | The CPE of the resource being scanned.+ cpe :: (Core.Maybe Core.Text),+ -- | The last time this resource was scanned.+ lastScanTime :: (Core.Maybe Core.DateTime),+ -- | The status of an SBOM generation.+ sbomStatus :: (Core.Maybe SBOMStatus)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DiscoveryOccurrence' with the minimum fields required to make a request.+newDiscoveryOccurrence ::+ DiscoveryOccurrence+newDiscoveryOccurrence =+ DiscoveryOccurrence+ { analysisCompleted = Core.Nothing,+ analysisError = Core.Nothing,+ analysisStatus = Core.Nothing,+ analysisStatusError = Core.Nothing,+ archiveTime = Core.Nothing,+ continuousAnalysis = Core.Nothing,+ cpe = Core.Nothing,+ lastScanTime = Core.Nothing,+ sbomStatus = Core.Nothing+ }++instance Core.FromJSON DiscoveryOccurrence where+ parseJSON =+ Core.withObject+ "DiscoveryOccurrence"+ ( \o ->+ DiscoveryOccurrence+ Core.<$> (o Core..:? "analysisCompleted")+ Core.<*> (o Core..:? "analysisError")+ Core.<*> (o Core..:? "analysisStatus")+ Core.<*> (o Core..:? "analysisStatusError")+ Core.<*> (o Core..:? "archiveTime")+ Core.<*> (o Core..:? "continuousAnalysis")+ Core.<*> (o Core..:? "cpe")+ Core.<*> (o Core..:? "lastScanTime")+ Core.<*> (o Core..:? "sbomStatus")+ )++instance Core.ToJSON DiscoveryOccurrence where+ toJSON DiscoveryOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("analysisCompleted" Core..=) Core.<$> analysisCompleted,+ ("analysisError" Core..=) Core.<$> analysisError,+ ("analysisStatus" Core..=) Core.<$> analysisStatus,+ ("analysisStatusError" Core..=) Core.<$> analysisStatusError,+ ("archiveTime" Core..=) Core.<$> archiveTime,+ ("continuousAnalysis" Core..=) Core.<$> continuousAnalysis,+ ("cpe" Core..=) Core.<$> cpe,+ ("lastScanTime" Core..=) Core.<$> lastScanTime,+ ("sbomStatus" Core..=) Core.<$> sbomStatus+ ]+ )++-- | This represents a particular channel of distribution for a given package. E.g., Debian\'s jessie-backports dpkg mirror.+--+-- /See:/ 'newDistribution' smart constructor.+data Distribution = Distribution+ { -- | The CPU architecture for which packages in this distribution channel were built.+ architecture :: (Core.Maybe Distribution_Architecture),+ -- | Required. The cpe_uri in <https://cpe.mitre.org/specification/ CPE format> denoting the package manager version distributing a package.+ cpeUri :: (Core.Maybe Core.Text),+ -- | The distribution channel-specific description of this package.+ description :: (Core.Maybe Core.Text),+ -- | The latest available version of this package in this distribution channel.+ latestVersion :: (Core.Maybe Version),+ -- | A freeform string denoting the maintainer of this package.+ maintainer :: (Core.Maybe Core.Text),+ -- | The distribution channel-specific homepage for this package.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Distribution' with the minimum fields required to make a request.+newDistribution ::+ Distribution+newDistribution =+ Distribution+ { architecture = Core.Nothing,+ cpeUri = Core.Nothing,+ description = Core.Nothing,+ latestVersion = Core.Nothing,+ maintainer = Core.Nothing,+ url = Core.Nothing+ }++instance Core.FromJSON Distribution where+ parseJSON =+ Core.withObject+ "Distribution"+ ( \o ->+ Distribution+ Core.<$> (o Core..:? "architecture")+ Core.<*> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "latestVersion")+ Core.<*> (o Core..:? "maintainer")+ Core.<*> (o Core..:? "url")+ )++instance Core.ToJSON Distribution where+ toJSON Distribution {..} =+ Core.object+ ( Core.catMaybes+ [ ("architecture" Core..=) Core.<$> architecture,+ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("description" Core..=) Core.<$> description,+ ("latestVersion" Core..=) Core.<$> latestVersion,+ ("maintainer" Core..=) Core.<$> maintainer,+ ("url" Core..=) Core.<$> url+ ]+ )++-- | A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }+--+-- /See:/ 'newEmpty' smart constructor.+data Empty = Empty+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Empty' with the minimum fields required to make a request.+newEmpty ::+ Empty+newEmpty = Empty++instance Core.FromJSON Empty where+ parseJSON = Core.withObject "Empty" (\o -> Core.pure Empty)++instance Core.ToJSON Empty where+ toJSON = Core.const Core.emptyObject++-- | MUST match https:\/\/github.com\/secure-systems-lab\/dsse\/blob\/master\/envelope.proto. An authenticated message of arbitrary type.+--+-- /See:/ 'newEnvelope' smart constructor.+data Envelope = Envelope+ { payload :: (Core.Maybe Core.Base64),+ payloadType :: (Core.Maybe Core.Text),+ signatures :: (Core.Maybe [EnvelopeSignature])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Envelope' with the minimum fields required to make a request.+newEnvelope ::+ Envelope+newEnvelope =+ Envelope+ { payload = Core.Nothing,+ payloadType = Core.Nothing,+ signatures = Core.Nothing+ }++instance Core.FromJSON Envelope where+ parseJSON =+ Core.withObject+ "Envelope"+ ( \o ->+ Envelope+ Core.<$> (o Core..:? "payload")+ Core.<*> (o Core..:? "payloadType")+ Core.<*> (o Core..:? "signatures")+ )++instance Core.ToJSON Envelope where+ toJSON Envelope {..} =+ Core.object+ ( Core.catMaybes+ [ ("payload" Core..=) Core.<$> payload,+ ("payloadType" Core..=) Core.<$> payloadType,+ ("signatures" Core..=) Core.<$> signatures+ ]+ )++--+-- /See:/ 'newEnvelopeSignature' smart constructor.+data EnvelopeSignature = EnvelopeSignature+ { keyid :: (Core.Maybe Core.Text),+ sig :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EnvelopeSignature' with the minimum fields required to make a request.+newEnvelopeSignature ::+ EnvelopeSignature+newEnvelopeSignature =+ EnvelopeSignature {keyid = Core.Nothing, sig = Core.Nothing}++instance Core.FromJSON EnvelopeSignature where+ parseJSON =+ Core.withObject+ "EnvelopeSignature"+ ( \o ->+ EnvelopeSignature+ Core.<$> (o Core..:? "keyid")+ Core.<*> (o Core..:? "sig")+ )++instance Core.ToJSON EnvelopeSignature where+ toJSON EnvelopeSignature {..} =+ Core.object+ ( Core.catMaybes+ [("keyid" Core..=) Core.<$> keyid, ("sig" Core..=) Core.<$> sig]+ )++-- | The request to generate and export SBOM. Target must be specified for the request.+--+-- /See:/ 'newExportSBOMRequest' smart constructor.+newtype ExportSBOMRequest = ExportSBOMRequest+ { -- | Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.+ cloudStorageLocation :: (Core.Maybe CloudStorageLocation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExportSBOMRequest' with the minimum fields required to make a request.+newExportSBOMRequest ::+ ExportSBOMRequest+newExportSBOMRequest =+ ExportSBOMRequest {cloudStorageLocation = Core.Nothing}++instance Core.FromJSON ExportSBOMRequest where+ parseJSON =+ Core.withObject+ "ExportSBOMRequest"+ ( \o ->+ ExportSBOMRequest Core.<$> (o Core..:? "cloudStorageLocation")+ )++instance Core.ToJSON ExportSBOMRequest where+ toJSON ExportSBOMRequest {..} =+ Core.object+ ( Core.catMaybes+ [("cloudStorageLocation" Core..=) Core.<$> cloudStorageLocation]+ )++-- | The response from a call to ExportSBOM.+--+-- /See:/ 'newExportSBOMResponse' smart constructor.+newtype ExportSBOMResponse = ExportSBOMResponse+ { -- | The name of the discovery occurrence in the form \"projects\/{project/id}\/occurrences\/{OCCURRENCE/ID} It can be used to track the progress of the SBOM export.+ discoveryOccurrence :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExportSBOMResponse' with the minimum fields required to make a request.+newExportSBOMResponse ::+ ExportSBOMResponse+newExportSBOMResponse =+ ExportSBOMResponse {discoveryOccurrence = Core.Nothing}++instance Core.FromJSON ExportSBOMResponse where+ parseJSON =+ Core.withObject+ "ExportSBOMResponse"+ ( \o ->+ ExportSBOMResponse Core.<$> (o Core..:? "discoveryOccurrence")+ )++instance Core.ToJSON ExportSBOMResponse where+ toJSON ExportSBOMResponse {..} =+ Core.object+ ( Core.catMaybes+ [("discoveryOccurrence" Core..=) Core.<$> discoveryOccurrence]+ )++-- | Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https:\/\/github.com\/google\/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \< 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != \'private\' && document.type != \'internal\'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"\'New message received at \' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are+-- determined by the service that evaluates it. See the service documentation for additional information.+--+-- /See:/ 'newExpr' smart constructor.+data Expr = Expr+ { -- | Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.+ description :: (Core.Maybe Core.Text),+ -- | Textual representation of an expression in Common Expression Language syntax.+ expression :: (Core.Maybe Core.Text),+ -- | Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.+ location :: (Core.Maybe Core.Text),+ -- | Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.+ title :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Expr' with the minimum fields required to make a request.+newExpr ::+ Expr+newExpr =+ Expr+ { description = Core.Nothing,+ expression = Core.Nothing,+ location = Core.Nothing,+ title = Core.Nothing+ }++instance Core.FromJSON Expr where+ parseJSON =+ Core.withObject+ "Expr"+ ( \o ->+ Expr+ Core.<$> (o Core..:? "description")+ Core.<*> (o Core..:? "expression")+ Core.<*> (o Core..:? "location")+ Core.<*> (o Core..:? "title")+ )++instance Core.ToJSON Expr where+ toJSON Expr {..} =+ Core.object+ ( Core.catMaybes+ [ ("description" Core..=) Core.<$> description,+ ("expression" Core..=) Core.<$> expression,+ ("location" Core..=) Core.<$> location,+ ("title" Core..=) Core.<$> title+ ]+ )++-- | Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.+--+-- /See:/ 'newFileHashes' smart constructor.+newtype FileHashes = FileHashes+ { -- | Required. Collection of file hashes.+ fileHash :: (Core.Maybe [Hash])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'FileHashes' with the minimum fields required to make a request.+newFileHashes ::+ FileHashes+newFileHashes = FileHashes {fileHash = Core.Nothing}++instance Core.FromJSON FileHashes where+ parseJSON =+ Core.withObject+ "FileHashes"+ (\o -> FileHashes Core.<$> (o Core..:? "fileHash"))++instance Core.ToJSON FileHashes where+ toJSON FileHashes {..} =+ Core.object+ (Core.catMaybes [("fileHash" Core..=) Core.<$> fileHash])++-- | A set of properties that uniquely identify a given Docker image.+--+-- /See:/ 'newFingerprint' smart constructor.+data Fingerprint = Fingerprint+ { -- | Required. The layer ID of the final layer in the Docker image\'s v1 representation.+ v1Name :: (Core.Maybe Core.Text),+ -- | Required. The ordered list of v2 blobs that represent a given image.+ v2Blob :: (Core.Maybe [Core.Text]),+ -- | Output only. The name of the image\'s v2 blobs computed via: [bottom] := v2/blobbottom := sha256(v2/blob[N] + \" \" + v2_name[N+1]) Only the name of the final blob is kept.+ v2Name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Fingerprint' with the minimum fields required to make a request.+newFingerprint ::+ Fingerprint+newFingerprint =+ Fingerprint+ { v1Name = Core.Nothing,+ v2Blob = Core.Nothing,+ v2Name = Core.Nothing+ }++instance Core.FromJSON Fingerprint where+ parseJSON =+ Core.withObject+ "Fingerprint"+ ( \o ->+ Fingerprint+ Core.<$> (o Core..:? "v1Name")+ Core.<*> (o Core..:? "v2Blob")+ Core.<*> (o Core..:? "v2Name")+ )++instance Core.ToJSON Fingerprint where+ toJSON Fingerprint {..} =+ Core.object+ ( Core.catMaybes+ [ ("v1Name" Core..=) Core.<$> v1Name,+ ("v2Blob" Core..=) Core.<$> v2Blob,+ ("v2Name" Core..=) Core.<$> v2Name+ ]+ )++-- | Per resource and severity counts of fixable and total vulnerabilities.+--+-- /See:/ 'newFixableTotalByDigest' smart constructor.+data FixableTotalByDigest = FixableTotalByDigest+ { -- | The number of fixable vulnerabilities associated with this resource.+ fixableCount :: (Core.Maybe Core.Int64),+ -- | The affected resource.+ resourceUri :: (Core.Maybe Core.Text),+ -- | The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.+ severity :: (Core.Maybe FixableTotalByDigest_Severity),+ -- | The total number of vulnerabilities associated with this resource.+ totalCount :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'FixableTotalByDigest' with the minimum fields required to make a request.+newFixableTotalByDigest ::+ FixableTotalByDigest+newFixableTotalByDigest =+ FixableTotalByDigest+ { fixableCount = Core.Nothing,+ resourceUri = Core.Nothing,+ severity = Core.Nothing,+ totalCount = Core.Nothing+ }++instance Core.FromJSON FixableTotalByDigest where+ parseJSON =+ Core.withObject+ "FixableTotalByDigest"+ ( \o ->+ FixableTotalByDigest+ Core.<$> (o Core..:? "fixableCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "resourceUri")+ Core.<*> (o Core..:? "severity")+ Core.<*> (o Core..:? "totalCount" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON FixableTotalByDigest where+ toJSON FixableTotalByDigest {..} =+ Core.object+ ( Core.catMaybes+ [ ("fixableCount" Core..=) Core.. Core.AsText Core.<$> fixableCount,+ ("resourceUri" Core..=) Core.<$> resourceUri,+ ("severity" Core..=) Core.<$> severity,+ ("totalCount" Core..=) Core.. Core.AsText Core.<$> totalCount+ ]+ )++-- | A SourceContext referring to a Gerrit project.+--+-- /See:/ 'newGerritSourceContext' smart constructor.+data GerritSourceContext = GerritSourceContext+ { -- | An alias, which may be a branch or tag.+ aliasContext :: (Core.Maybe AliasContext),+ -- | The full project name within the host. Projects may be nested, so \"project\/subproject\" is a valid project name. The \"repo name\" is the hostURI\/project.+ gerritProject :: (Core.Maybe Core.Text),+ -- | The URI of a running Gerrit instance.+ hostUri :: (Core.Maybe Core.Text),+ -- | A revision (commit) ID.+ revisionId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GerritSourceContext' with the minimum fields required to make a request.+newGerritSourceContext ::+ GerritSourceContext+newGerritSourceContext =+ GerritSourceContext+ { aliasContext = Core.Nothing,+ gerritProject = Core.Nothing,+ hostUri = Core.Nothing,+ revisionId = Core.Nothing+ }++instance Core.FromJSON GerritSourceContext where+ parseJSON =+ Core.withObject+ "GerritSourceContext"+ ( \o ->+ GerritSourceContext+ Core.<$> (o Core..:? "aliasContext")+ Core.<*> (o Core..:? "gerritProject")+ Core.<*> (o Core..:? "hostUri")+ Core.<*> (o Core..:? "revisionId")+ )++instance Core.ToJSON GerritSourceContext where+ toJSON GerritSourceContext {..} =+ Core.object+ ( Core.catMaybes+ [ ("aliasContext" Core..=) Core.<$> aliasContext,+ ("gerritProject" Core..=) Core.<$> gerritProject,+ ("hostUri" Core..=) Core.<$> hostUri,+ ("revisionId" Core..=) Core.<$> revisionId+ ]+ )++-- | Request message for @GetIamPolicy@ method.+--+-- /See:/ 'newGetIamPolicyRequest' smart constructor.+newtype GetIamPolicyRequest = GetIamPolicyRequest+ { -- | OPTIONAL: A @GetPolicyOptions@ object for specifying options to @GetIamPolicy@.+ options :: (Core.Maybe GetPolicyOptions)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GetIamPolicyRequest' with the minimum fields required to make a request.+newGetIamPolicyRequest ::+ GetIamPolicyRequest+newGetIamPolicyRequest =+ GetIamPolicyRequest {options = Core.Nothing}++instance Core.FromJSON GetIamPolicyRequest where+ parseJSON =+ Core.withObject+ "GetIamPolicyRequest"+ (\o -> GetIamPolicyRequest Core.<$> (o Core..:? "options"))++instance Core.ToJSON GetIamPolicyRequest where+ toJSON GetIamPolicyRequest {..} =+ Core.object+ (Core.catMaybes [("options" Core..=) Core.<$> options])++-- | Encapsulates settings provided to GetIamPolicy.+--+-- /See:/ 'newGetPolicyOptions' smart constructor.+newtype GetPolicyOptions = GetPolicyOptions+ { -- | Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>.+ requestedPolicyVersion :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GetPolicyOptions' with the minimum fields required to make a request.+newGetPolicyOptions ::+ GetPolicyOptions+newGetPolicyOptions =+ GetPolicyOptions {requestedPolicyVersion = Core.Nothing}++instance Core.FromJSON GetPolicyOptions where+ parseJSON =+ Core.withObject+ "GetPolicyOptions"+ ( \o ->+ GetPolicyOptions Core.<$> (o Core..:? "requestedPolicyVersion")+ )++instance Core.ToJSON GetPolicyOptions where+ toJSON GetPolicyOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("requestedPolicyVersion" Core..=)+ Core.<$> requestedPolicyVersion+ ]+ )++-- | A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).+--+-- /See:/ 'newGitSourceContext' smart constructor.+data GitSourceContext = GitSourceContext+ { -- | Git commit hash.+ revisionId :: (Core.Maybe Core.Text),+ -- | Git repository URL.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GitSourceContext' with the minimum fields required to make a request.+newGitSourceContext ::+ GitSourceContext+newGitSourceContext =+ GitSourceContext {revisionId = Core.Nothing, url = Core.Nothing}++instance Core.FromJSON GitSourceContext where+ parseJSON =+ Core.withObject+ "GitSourceContext"+ ( \o ->+ GitSourceContext+ Core.<$> (o Core..:? "revisionId")+ Core.<*> (o Core..:? "url")+ )++instance Core.ToJSON GitSourceContext where+ toJSON GitSourceContext {..} =+ Core.object+ ( Core.catMaybes+ [ ("revisionId" Core..=) Core.<$> revisionId,+ ("url" Core..=) Core.<$> url+ ]+ )++-- | Metadata for all operations used and required for all operations that created by Container Analysis Providers+--+-- /See:/ 'newGoogleDevtoolsContaineranalysisV1alpha1OperationMetadata' smart constructor.+data GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata = GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ { -- | Output only. The time this operation was created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Output only. The time that this operation was marked completed or failed.+ endTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata' with the minimum fields required to make a request.+newGoogleDevtoolsContaineranalysisV1alpha1OperationMetadata ::+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+newGoogleDevtoolsContaineranalysisV1alpha1OperationMetadata =+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ { createTime =+ Core.Nothing,+ endTime = Core.Nothing+ }++instance+ Core.FromJSON+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ where+ parseJSON =+ Core.withObject+ "GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata"+ ( \o ->+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ Core.<$> (o Core..:? "createTime")+ Core.<*> (o Core..:? "endTime")+ )++instance+ Core.ToJSON+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ where+ toJSON GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata {..} =+ Core.object+ ( Core.catMaybes+ [ ("createTime" Core..=) Core.<$> createTime,+ ("endTime" Core..=) Core.<$> endTime+ ]+ )++-- | Indicates the location at which a package was found.+--+-- /See:/ 'newGrafeasV1FileLocation' smart constructor.+newtype GrafeasV1FileLocation = GrafeasV1FileLocation+ { -- | For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.+ filePath :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1FileLocation' with the minimum fields required to make a request.+newGrafeasV1FileLocation ::+ GrafeasV1FileLocation+newGrafeasV1FileLocation =+ GrafeasV1FileLocation {filePath = Core.Nothing}++instance Core.FromJSON GrafeasV1FileLocation where+ parseJSON =+ Core.withObject+ "GrafeasV1FileLocation"+ (\o -> GrafeasV1FileLocation Core.<$> (o Core..:? "filePath"))++instance Core.ToJSON GrafeasV1FileLocation where+ toJSON GrafeasV1FileLocation {..} =+ Core.object+ (Core.catMaybes [("filePath" Core..=) Core.<$> filePath])++-- | Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.+--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaBuilder' smart constructor.+newtype GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder = GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder+ { id :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaBuilder ::+ GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder+newGrafeasV1SlsaProvenanceZeroTwoSlsaBuilder =+ GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {id = Core.Nothing}++instance Core.FromJSON GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder+ Core.<$> (o Core..:? "id")+ )++instance Core.ToJSON GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {..} =+ Core.object (Core.catMaybes [("id" Core..=) Core.<$> id])++-- | Indicates that the builder claims certain fields in this message to be complete.+--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness' smart constructor.+data GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness = GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ { environment :: (Core.Maybe Core.Bool),+ materials :: (Core.Maybe Core.Bool),+ parameters :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness ::+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+newGrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness =+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ { environment =+ Core.Nothing,+ materials = Core.Nothing,+ parameters = Core.Nothing+ }++instance+ Core.FromJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ Core.<$> (o Core..:? "environment")+ Core.<*> (o Core..:? "materials")+ Core.<*> (o Core..:? "parameters")+ )++instance Core.ToJSON GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness {..} =+ Core.object+ ( Core.catMaybes+ [ ("environment" Core..=) Core.<$> environment,+ ("materials" Core..=) Core.<$> materials,+ ("parameters" Core..=) Core.<$> parameters+ ]+ )++-- | Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.+--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource' smart constructor.+data GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource = GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ { digest :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest),+ entryPoint :: (Core.Maybe Core.Text),+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource ::+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource =+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ { digest =+ Core.Nothing,+ entryPoint = Core.Nothing,+ uri = Core.Nothing+ }++instance+ Core.FromJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ Core.<$> (o Core..:? "digest")+ Core.<*> (o Core..:? "entryPoint")+ Core.<*> (o Core..:? "uri")+ )++instance Core.ToJSON GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource {..} =+ Core.object+ ( Core.catMaybes+ [ ("digest" Core..=) Core.<$> digest,+ ("entryPoint" Core..=) Core.<$> entryPoint,+ ("uri" Core..=) Core.<$> uri+ ]+ )++--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest' smart constructor.+newtype GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest = GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest additional =+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ { additional =+ additional+ }++instance+ Core.FromJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest {..} =+ Core.toJSON additional++-- | Identifies the event that kicked off the build.+--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation' smart constructor.+data GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation = GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+ { configSource :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource),+ environment ::+ ( Core.Maybe+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ ),+ parameters ::+ ( Core.Maybe+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation ::+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation =+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+ { configSource =+ Core.Nothing,+ environment = Core.Nothing,+ parameters = Core.Nothing+ }++instance Core.FromJSON GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+ Core.<$> (o Core..:? "configSource")+ Core.<*> (o Core..:? "environment")+ Core.<*> (o Core..:? "parameters")+ )++instance Core.ToJSON GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("configSource" Core..=) Core.<$> configSource,+ ("environment" Core..=) Core.<$> environment,+ ("parameters" Core..=) Core.<$> parameters+ ]+ )++--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment' smart constructor.+newtype GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment = GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ additional =+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ { additional =+ additional+ }++instance+ Core.FromJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment {..} =+ Core.toJSON additional++--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters' smart constructor.+newtype GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters = GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ additional =+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ { additional =+ additional+ }++instance+ Core.FromJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters {..} =+ Core.toJSON additional++-- | The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.+--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial' smart constructor.+data GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial = GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+ { digest :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest),+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial ::+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial =+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+ { digest = Core.Nothing,+ uri = Core.Nothing+ }++instance Core.FromJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+ Core.<$> (o Core..:? "digest")+ Core.<*> (o Core..:? "uri")+ )++instance Core.ToJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial {..} =+ Core.object+ ( Core.catMaybes+ [("digest" Core..=) Core.<$> digest, ("uri" Core..=) Core.<$> uri]+ )++--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest' smart constructor.+newtype GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest = GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest additional =+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ { additional =+ additional+ }++instance+ Core.FromJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest {..} =+ Core.toJSON additional++-- | Other properties of the build.+--+-- /See:/ 'newGrafeasV1SlsaProvenanceZeroTwoSlsaMetadata' smart constructor.+data GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata = GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+ { buildFinishedOn :: (Core.Maybe Core.DateTime),+ buildInvocationId :: (Core.Maybe Core.Text),+ buildStartedOn :: (Core.Maybe Core.DateTime),+ completeness :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness),+ reproducible :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata' with the minimum fields required to make a request.+newGrafeasV1SlsaProvenanceZeroTwoSlsaMetadata ::+ GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+newGrafeasV1SlsaProvenanceZeroTwoSlsaMetadata =+ GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+ { buildFinishedOn =+ Core.Nothing,+ buildInvocationId = Core.Nothing,+ buildStartedOn = Core.Nothing,+ completeness = Core.Nothing,+ reproducible = Core.Nothing+ }++instance Core.FromJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata where+ parseJSON =+ Core.withObject+ "GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata"+ ( \o ->+ GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+ Core.<$> (o Core..:? "buildFinishedOn")+ Core.<*> (o Core..:? "buildInvocationId")+ Core.<*> (o Core..:? "buildStartedOn")+ Core.<*> (o Core..:? "completeness")+ Core.<*> (o Core..:? "reproducible")+ )++instance Core.ToJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata where+ toJSON GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildFinishedOn" Core..=) Core.<$> buildFinishedOn,+ ("buildInvocationId" Core..=) Core.<$> buildInvocationId,+ ("buildStartedOn" Core..=) Core.<$> buildStartedOn,+ ("completeness" Core..=) Core.<$> completeness,+ ("reproducible" Core..=) Core.<$> reproducible+ ]+ )++-- | Container message for hash values.+--+-- /See:/ 'newHash' smart constructor.+data Hash = Hash+ { -- | Required. The type of hash that was performed, e.g. \"SHA-256\".+ type' :: (Core.Maybe Core.Text),+ -- | Required. The hash value.+ value :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Hash' with the minimum fields required to make a request.+newHash ::+ Hash+newHash = Hash {type' = Core.Nothing, value = Core.Nothing}++instance Core.FromJSON Hash where+ parseJSON =+ Core.withObject+ "Hash"+ ( \o ->+ Hash Core.<$> (o Core..:? "type") Core.<*> (o Core..:? "value")+ )++instance Core.ToJSON Hash where+ toJSON Hash {..} =+ Core.object+ ( Core.catMaybes+ [ ("type" Core..=) Core.<$> type',+ ("value" Core..=) Core.<$> value+ ]+ )++-- | This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from \"readable\" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.+--+-- /See:/ 'newHint' smart constructor.+newtype Hint = Hint+ { -- | Required. The human readable name of this attestation authority, for example \"qa\".+ humanReadableName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Hint' with the minimum fields required to make a request.+newHint ::+ Hint+newHint = Hint {humanReadableName = Core.Nothing}++instance Core.FromJSON Hint where+ parseJSON =+ Core.withObject+ "Hint"+ (\o -> Hint Core.<$> (o Core..:? "humanReadableName"))++instance Core.ToJSON Hint where+ toJSON Hint {..} =+ Core.object+ ( Core.catMaybes+ [("humanReadableName" Core..=) Core.<$> humanReadableName]+ )++-- | The unique identifier of the update.+--+-- /See:/ 'newIdentity' smart constructor.+data Identity = Identity+ { -- | The revision number of the update.+ revision :: (Core.Maybe Core.Int32),+ -- | The revision independent identifier of the update.+ updateId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Identity' with the minimum fields required to make a request.+newIdentity ::+ Identity+newIdentity =+ Identity {revision = Core.Nothing, updateId = Core.Nothing}++instance Core.FromJSON Identity where+ parseJSON =+ Core.withObject+ "Identity"+ ( \o ->+ Identity+ Core.<$> (o Core..:? "revision")+ Core.<*> (o Core..:? "updateId")+ )++instance Core.ToJSON Identity where+ toJSON Identity {..} =+ Core.object+ ( Core.catMaybes+ [ ("revision" Core..=) Core.<$> revision,+ ("updateId" Core..=) Core.<$> updateId+ ]+ )++-- | Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g., a tag of the resource_url.+--+-- /See:/ 'newImageNote' smart constructor.+data ImageNote = ImageNote+ { -- | Required. Immutable. The fingerprint of the base image.+ fingerprint :: (Core.Maybe Fingerprint),+ -- | Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.+ resourceUrl :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ImageNote' with the minimum fields required to make a request.+newImageNote ::+ ImageNote+newImageNote =+ ImageNote {fingerprint = Core.Nothing, resourceUrl = Core.Nothing}++instance Core.FromJSON ImageNote where+ parseJSON =+ Core.withObject+ "ImageNote"+ ( \o ->+ ImageNote+ Core.<$> (o Core..:? "fingerprint")+ Core.<*> (o Core..:? "resourceUrl")+ )++instance Core.ToJSON ImageNote where+ toJSON ImageNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("fingerprint" Core..=) Core.<$> fingerprint,+ ("resourceUrl" Core..=) Core.<$> resourceUrl+ ]+ )++-- | Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .+--+-- /See:/ 'newImageOccurrence' smart constructor.+data ImageOccurrence = ImageOccurrence+ { -- | Output only. This contains the base image URL for the derived image occurrence.+ baseResourceUrl :: (Core.Maybe Core.Text),+ -- | Output only. The number of layers by which this image differs from the associated image basis.+ distance :: (Core.Maybe Core.Int32),+ -- | Required. The fingerprint of the derived image.+ fingerprint :: (Core.Maybe Fingerprint),+ -- | This contains layer-specific metadata, if populated it has length \"distance\" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.+ layerInfo :: (Core.Maybe [Layer])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ImageOccurrence' with the minimum fields required to make a request.+newImageOccurrence ::+ ImageOccurrence+newImageOccurrence =+ ImageOccurrence+ { baseResourceUrl = Core.Nothing,+ distance = Core.Nothing,+ fingerprint = Core.Nothing,+ layerInfo = Core.Nothing+ }++instance Core.FromJSON ImageOccurrence where+ parseJSON =+ Core.withObject+ "ImageOccurrence"+ ( \o ->+ ImageOccurrence+ Core.<$> (o Core..:? "baseResourceUrl")+ Core.<*> (o Core..:? "distance")+ Core.<*> (o Core..:? "fingerprint")+ Core.<*> (o Core..:? "layerInfo")+ )++instance Core.ToJSON ImageOccurrence where+ toJSON ImageOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("baseResourceUrl" Core..=) Core.<$> baseResourceUrl,+ ("distance" Core..=) Core.<$> distance,+ ("fingerprint" Core..=) Core.<$> fingerprint,+ ("layerInfo" Core..=) Core.<$> layerInfo+ ]+ )++--+-- /See:/ 'newInTotoProvenance' smart constructor.+data InTotoProvenance = InTotoProvenance+ { -- | required+ builderConfig :: (Core.Maybe BuilderConfig),+ -- | The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.+ materials :: (Core.Maybe [Core.Text]),+ metadata :: (Core.Maybe Metadata),+ -- | Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required+ recipe :: (Core.Maybe Recipe)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InTotoProvenance' with the minimum fields required to make a request.+newInTotoProvenance ::+ InTotoProvenance+newInTotoProvenance =+ InTotoProvenance+ { builderConfig = Core.Nothing,+ materials = Core.Nothing,+ metadata = Core.Nothing,+ recipe = Core.Nothing+ }++instance Core.FromJSON InTotoProvenance where+ parseJSON =+ Core.withObject+ "InTotoProvenance"+ ( \o ->+ InTotoProvenance+ Core.<$> (o Core..:? "builderConfig")+ Core.<*> (o Core..:? "materials")+ Core.<*> (o Core..:? "metadata")+ Core.<*> (o Core..:? "recipe")+ )++instance Core.ToJSON InTotoProvenance where+ toJSON InTotoProvenance {..} =+ Core.object+ ( Core.catMaybes+ [ ("builderConfig" Core..=) Core.<$> builderConfig,+ ("materials" Core..=) Core.<$> materials,+ ("metadata" Core..=) Core.<$> metadata,+ ("recipe" Core..=) Core.<$> recipe+ ]+ )++--+-- /See:/ 'newInTotoSlsaProvenanceV1' smart constructor.+data InTotoSlsaProvenanceV1 = InTotoSlsaProvenanceV1+ { -- | InToto spec defined at https:\/\/github.com\/in-toto\/attestation\/tree\/main\/spec#statement+ type' :: (Core.Maybe Core.Text),+ predicate :: (Core.Maybe SlsaProvenanceV1),+ predicateType :: (Core.Maybe Core.Text),+ subject :: (Core.Maybe [Subject])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InTotoSlsaProvenanceV1' with the minimum fields required to make a request.+newInTotoSlsaProvenanceV1 ::+ InTotoSlsaProvenanceV1+newInTotoSlsaProvenanceV1 =+ InTotoSlsaProvenanceV1+ { type' = Core.Nothing,+ predicate = Core.Nothing,+ predicateType = Core.Nothing,+ subject = Core.Nothing+ }++instance Core.FromJSON InTotoSlsaProvenanceV1 where+ parseJSON =+ Core.withObject+ "InTotoSlsaProvenanceV1"+ ( \o ->+ InTotoSlsaProvenanceV1+ Core.<$> (o Core..:? "_type")+ Core.<*> (o Core..:? "predicate")+ Core.<*> (o Core..:? "predicateType")+ Core.<*> (o Core..:? "subject")+ )++instance Core.ToJSON InTotoSlsaProvenanceV1 where+ toJSON InTotoSlsaProvenanceV1 {..} =+ Core.object+ ( Core.catMaybes+ [ ("_type" Core..=) Core.<$> type',+ ("predicate" Core..=) Core.<$> predicate,+ ("predicateType" Core..=) Core.<$> predicateType,+ ("subject" Core..=) Core.<$> subject+ ]+ )++-- | Spec defined at https:\/\/github.com\/in-toto\/attestation\/tree\/main\/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always \"application\/vnd.in-toto+json\".+--+-- /See:/ 'newInTotoStatement' smart constructor.+data InTotoStatement = InTotoStatement+ { -- | Always @https:\/\/in-toto.io\/Statement\/v0.1@.+ type' :: (Core.Maybe Core.Text),+ -- | @https:\/\/slsa.dev\/provenance\/v0.1@ for SlsaProvenance.+ predicateType :: (Core.Maybe Core.Text),+ provenance :: (Core.Maybe InTotoProvenance),+ slsaProvenance :: (Core.Maybe SlsaProvenance),+ slsaProvenanceZeroTwo :: (Core.Maybe SlsaProvenanceZeroTwo),+ subject :: (Core.Maybe [Subject])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InTotoStatement' with the minimum fields required to make a request.+newInTotoStatement ::+ InTotoStatement+newInTotoStatement =+ InTotoStatement+ { type' = Core.Nothing,+ predicateType = Core.Nothing,+ provenance = Core.Nothing,+ slsaProvenance = Core.Nothing,+ slsaProvenanceZeroTwo = Core.Nothing,+ subject = Core.Nothing+ }++instance Core.FromJSON InTotoStatement where+ parseJSON =+ Core.withObject+ "InTotoStatement"+ ( \o ->+ InTotoStatement+ Core.<$> (o Core..:? "_type")+ Core.<*> (o Core..:? "predicateType")+ Core.<*> (o Core..:? "provenance")+ Core.<*> (o Core..:? "slsaProvenance")+ Core.<*> (o Core..:? "slsaProvenanceZeroTwo")+ Core.<*> (o Core..:? "subject")+ )++instance Core.ToJSON InTotoStatement where+ toJSON InTotoStatement {..} =+ Core.object+ ( Core.catMaybes+ [ ("_type" Core..=) Core.<$> type',+ ("predicateType" Core..=) Core.<$> predicateType,+ ("provenance" Core..=) Core.<$> provenance,+ ("slsaProvenance" Core..=) Core.<$> slsaProvenance,+ ("slsaProvenanceZeroTwo" Core..=) Core.<$> slsaProvenanceZeroTwo,+ ("subject" Core..=) Core.<$> subject+ ]+ )++-- | Justification provides the justification when the state of the assessment if NOT_AFFECTED.+--+-- /See:/ 'newJustification' smart constructor.+data Justification = Justification+ { -- | Additional details on why this justification was chosen.+ details :: (Core.Maybe Core.Text),+ -- | The justification type for this vulnerability.+ justificationType :: (Core.Maybe Justification_JustificationType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Justification' with the minimum fields required to make a request.+newJustification ::+ Justification+newJustification =+ Justification+ { details = Core.Nothing,+ justificationType = Core.Nothing+ }++instance Core.FromJSON Justification where+ parseJSON =+ Core.withObject+ "Justification"+ ( \o ->+ Justification+ Core.<$> (o Core..:? "details")+ Core.<*> (o Core..:? "justificationType")+ )++instance Core.ToJSON Justification where+ toJSON Justification {..} =+ Core.object+ ( Core.catMaybes+ [ ("details" Core..=) Core.<$> details,+ ("justificationType" Core..=) Core.<$> justificationType+ ]+ )++--+-- /See:/ 'newJwt' smart constructor.+newtype Jwt = Jwt+ { -- | The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https:\/\/tools.ietf.org\/html\/rfc7515.html#section-3.1+ compactJwt :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Jwt' with the minimum fields required to make a request.+newJwt ::+ Jwt+newJwt = Jwt {compactJwt = Core.Nothing}++instance Core.FromJSON Jwt where+ parseJSON =+ Core.withObject+ "Jwt"+ (\o -> Jwt Core.<$> (o Core..:? "compactJwt"))++instance Core.ToJSON Jwt where+ toJSON Jwt {..} =+ Core.object+ (Core.catMaybes [("compactJwt" Core..=) Core.<$> compactJwt])++--+-- /See:/ 'newKnowledgeBase' smart constructor.+data KnowledgeBase = KnowledgeBase+ { -- | The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).+ name :: (Core.Maybe Core.Text),+ -- | A link to the KB in the [Windows update catalog] (https:\/\/www.catalog.update.microsoft.com\/).+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'KnowledgeBase' with the minimum fields required to make a request.+newKnowledgeBase ::+ KnowledgeBase+newKnowledgeBase =+ KnowledgeBase {name = Core.Nothing, url = Core.Nothing}++instance Core.FromJSON KnowledgeBase where+ parseJSON =+ Core.withObject+ "KnowledgeBase"+ ( \o ->+ KnowledgeBase+ Core.<$> (o Core..:? "name")+ Core.<*> (o Core..:? "url")+ )++instance Core.ToJSON KnowledgeBase where+ toJSON KnowledgeBase {..} =+ Core.object+ ( Core.catMaybes+ [("name" Core..=) Core.<$> name, ("url" Core..=) Core.<$> url]+ )++-- | Layer holds metadata specific to a layer of a Docker image.+--+-- /See:/ 'newLayer' smart constructor.+data Layer = Layer+ { -- | The recovered arguments to the Dockerfile directive.+ arguments :: (Core.Maybe Core.Text),+ -- | Required. The recovered Dockerfile directive used to construct this layer. See https:\/\/docs.docker.com\/engine\/reference\/builder\/ for more information.+ directive :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Layer' with the minimum fields required to make a request.+newLayer ::+ Layer+newLayer =+ Layer {arguments = Core.Nothing, directive = Core.Nothing}++instance Core.FromJSON Layer where+ parseJSON =+ Core.withObject+ "Layer"+ ( \o ->+ Layer+ Core.<$> (o Core..:? "arguments")+ Core.<*> (o Core..:? "directive")+ )++instance Core.ToJSON Layer where+ toJSON Layer {..} =+ Core.object+ ( Core.catMaybes+ [ ("arguments" Core..=) Core.<$> arguments,+ ("directive" Core..=) Core.<$> directive+ ]+ )++-- | License information.+--+-- /See:/ 'newLicense' smart constructor.+data License = License+ { -- | Comments+ comments :: (Core.Maybe Core.Text),+ -- | Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".+ expression :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'License' with the minimum fields required to make a request.+newLicense ::+ License+newLicense =+ License {comments = Core.Nothing, expression = Core.Nothing}++instance Core.FromJSON License where+ parseJSON =+ Core.withObject+ "License"+ ( \o ->+ License+ Core.<$> (o Core..:? "comments")+ Core.<*> (o Core..:? "expression")+ )++instance Core.ToJSON License where+ toJSON License {..} =+ Core.object+ ( Core.catMaybes+ [ ("comments" Core..=) Core.<$> comments,+ ("expression" Core..=) Core.<$> expression+ ]+ )++-- | Response for listing occurrences for a note.+--+-- /See:/ 'newListNoteOccurrencesResponse' smart constructor.+data ListNoteOccurrencesResponse = ListNoteOccurrencesResponse+ { -- | Token to provide to skip to a particular spot in the list.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | The occurrences attached to the specified note.+ occurrences :: (Core.Maybe [Occurrence])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListNoteOccurrencesResponse' with the minimum fields required to make a request.+newListNoteOccurrencesResponse ::+ ListNoteOccurrencesResponse+newListNoteOccurrencesResponse =+ ListNoteOccurrencesResponse+ { nextPageToken = Core.Nothing,+ occurrences = Core.Nothing+ }++instance Core.FromJSON ListNoteOccurrencesResponse where+ parseJSON =+ Core.withObject+ "ListNoteOccurrencesResponse"+ ( \o ->+ ListNoteOccurrencesResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "occurrences")+ )++instance Core.ToJSON ListNoteOccurrencesResponse where+ toJSON ListNoteOccurrencesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("occurrences" Core..=) Core.<$> occurrences+ ]+ )++-- | Response for listing notes.+--+-- /See:/ 'newListNotesResponse' smart constructor.+data ListNotesResponse = ListNotesResponse+ { -- | The next pagination token in the list response. It should be used as @page_token@ for the following request. An empty value means no more results.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | The notes requested.+ notes :: (Core.Maybe [Note])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListNotesResponse' with the minimum fields required to make a request.+newListNotesResponse ::+ ListNotesResponse+newListNotesResponse =+ ListNotesResponse+ { nextPageToken = Core.Nothing,+ notes = Core.Nothing+ }++instance Core.FromJSON ListNotesResponse where+ parseJSON =+ Core.withObject+ "ListNotesResponse"+ ( \o ->+ ListNotesResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "notes")+ )++instance Core.ToJSON ListNotesResponse where+ toJSON ListNotesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("notes" Core..=) Core.<$> notes+ ]+ )++-- | Response for listing occurrences.+--+-- /See:/ 'newListOccurrencesResponse' smart constructor.+data ListOccurrencesResponse = ListOccurrencesResponse+ { -- | The next pagination token in the list response. It should be used as @page_token@ for the following request. An empty value means no more results.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | The occurrences requested.+ occurrences :: (Core.Maybe [Occurrence])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListOccurrencesResponse' with the minimum fields required to make a request.+newListOccurrencesResponse ::+ ListOccurrencesResponse+newListOccurrencesResponse =+ ListOccurrencesResponse+ { nextPageToken = Core.Nothing,+ occurrences = Core.Nothing+ }++instance Core.FromJSON ListOccurrencesResponse where+ parseJSON =+ Core.withObject+ "ListOccurrencesResponse"+ ( \o ->+ ListOccurrencesResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "occurrences")+ )++instance Core.ToJSON ListOccurrencesResponse where+ toJSON ListOccurrencesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("occurrences" Core..=) Core.<$> occurrences+ ]+ )++-- | An occurrence of a particular package installation found within a system\'s filesystem. E.g., glibc was found in @\/var\/lib\/dpkg\/status@.+--+-- /See:/ 'newLocation' smart constructor.+data Location = Location+ { -- | Deprecated. The CPE URI in <https://cpe.mitre.org/specification/ CPE format>+ cpeUri :: (Core.Maybe Core.Text),+ -- | The path from which we gathered that this package\/version is installed.+ path :: (Core.Maybe Core.Text),+ -- | Deprecated. The version installed at this location.+ version :: (Core.Maybe Version)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Location' with the minimum fields required to make a request.+newLocation ::+ Location+newLocation =+ Location+ { cpeUri = Core.Nothing,+ path = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON Location where+ parseJSON =+ Core.withObject+ "Location"+ ( \o ->+ Location+ Core.<$> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "path")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON Location where+ toJSON Location {..} =+ Core.object+ ( Core.catMaybes+ [ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("path" Core..=) Core.<$> path,+ ("version" Core..=) Core.<$> version+ ]+ )++--+-- /See:/ 'newMaterial' smart constructor.+data Material = Material+ { digest :: (Core.Maybe Material_Digest),+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Material' with the minimum fields required to make a request.+newMaterial ::+ Material+newMaterial = Material {digest = Core.Nothing, uri = Core.Nothing}++instance Core.FromJSON Material where+ parseJSON =+ Core.withObject+ "Material"+ ( \o ->+ Material+ Core.<$> (o Core..:? "digest")+ Core.<*> (o Core..:? "uri")+ )++instance Core.ToJSON Material where+ toJSON Material {..} =+ Core.object+ ( Core.catMaybes+ [("digest" Core..=) Core.<$> digest, ("uri" Core..=) Core.<$> uri]+ )++--+-- /See:/ 'newMaterial_Digest' smart constructor.+newtype Material_Digest = Material_Digest+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Material_Digest' with the minimum fields required to make a request.+newMaterial_Digest ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ Material_Digest+newMaterial_Digest additional =+ Material_Digest {additional = additional}++instance Core.FromJSON Material_Digest where+ parseJSON =+ Core.withObject+ "Material_Digest"+ (\o -> Material_Digest Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Material_Digest where+ toJSON Material_Digest {..} = Core.toJSON additional++-- | Other properties of the build.+--+-- /See:/ 'newMetadata' smart constructor.+data Metadata = Metadata+ { -- | The timestamp of when the build completed.+ buildFinishedOn :: (Core.Maybe Core.DateTime),+ -- | Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.+ buildInvocationId :: (Core.Maybe Core.Text),+ -- | The timestamp of when the build started.+ buildStartedOn :: (Core.Maybe Core.DateTime),+ -- | Indicates that the builder claims certain fields in this message to be complete.+ completeness :: (Core.Maybe Completeness),+ -- | If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.+ reproducible :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Metadata' with the minimum fields required to make a request.+newMetadata ::+ Metadata+newMetadata =+ Metadata+ { buildFinishedOn = Core.Nothing,+ buildInvocationId = Core.Nothing,+ buildStartedOn = Core.Nothing,+ completeness = Core.Nothing,+ reproducible = Core.Nothing+ }++instance Core.FromJSON Metadata where+ parseJSON =+ Core.withObject+ "Metadata"+ ( \o ->+ Metadata+ Core.<$> (o Core..:? "buildFinishedOn")+ Core.<*> (o Core..:? "buildInvocationId")+ Core.<*> (o Core..:? "buildStartedOn")+ Core.<*> (o Core..:? "completeness")+ Core.<*> (o Core..:? "reproducible")+ )++instance Core.ToJSON Metadata where+ toJSON Metadata {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildFinishedOn" Core..=) Core.<$> buildFinishedOn,+ ("buildInvocationId" Core..=) Core.<$> buildInvocationId,+ ("buildStartedOn" Core..=) Core.<$> buildStartedOn,+ ("completeness" Core..=) Core.<$> completeness,+ ("reproducible" Core..=) Core.<$> reproducible+ ]+ )++-- | Details about files that caused a compliance check to fail. display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using \'path\'.+--+-- /See:/ 'newNonCompliantFile' smart constructor.+data NonCompliantFile = NonCompliantFile+ { -- | Command to display the non-compliant files.+ displayCommand :: (Core.Maybe Core.Text),+ -- | Empty if @display_command@ is set.+ path :: (Core.Maybe Core.Text),+ -- | Explains why a file is non compliant for a CIS check.+ reason :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NonCompliantFile' with the minimum fields required to make a request.+newNonCompliantFile ::+ NonCompliantFile+newNonCompliantFile =+ NonCompliantFile+ { displayCommand = Core.Nothing,+ path = Core.Nothing,+ reason = Core.Nothing+ }++instance Core.FromJSON NonCompliantFile where+ parseJSON =+ Core.withObject+ "NonCompliantFile"+ ( \o ->+ NonCompliantFile+ Core.<$> (o Core..:? "displayCommand")+ Core.<*> (o Core..:? "path")+ Core.<*> (o Core..:? "reason")+ )++instance Core.ToJSON NonCompliantFile where+ toJSON NonCompliantFile {..} =+ Core.object+ ( Core.catMaybes+ [ ("displayCommand" Core..=) Core.<$> displayCommand,+ ("path" Core..=) Core.<$> path,+ ("reason" Core..=) Core.<$> reason+ ]+ )++-- | A type of analysis that can be done for a resource.+--+-- /See:/ 'newNote' smart constructor.+data Note = Note+ { -- | A note describing an attestation role.+ attestation :: (Core.Maybe AttestationNote),+ -- | A note describing build provenance for a verifiable build.+ build :: (Core.Maybe BuildNote),+ -- | A note describing a compliance check.+ compliance :: (Core.Maybe ComplianceNote),+ -- | Output only. The time this note was created. This field can be used as a filter in list requests.+ createTime :: (Core.Maybe Core.DateTime),+ -- | A note describing something that can be deployed.+ deployment :: (Core.Maybe DeploymentNote),+ -- | A note describing the initial analysis of a resource.+ discovery :: (Core.Maybe DiscoveryNote),+ -- | A note describing a dsse attestation note.+ dsseAttestation :: (Core.Maybe DSSEAttestationNote),+ -- | Time of expiration for this note. Empty if note does not expire.+ expirationTime :: (Core.Maybe Core.DateTime),+ -- | A note describing a base image.+ image :: (Core.Maybe ImageNote),+ -- | Output only. The type of analysis. This field can be used as a filter in list requests.+ kind :: (Core.Maybe Note_Kind),+ -- | A detailed description of this note.+ longDescription :: (Core.Maybe Core.Text),+ -- | Output only. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: (Core.Maybe Core.Text),+ -- | A note describing a package hosted by various package managers.+ package :: (Core.Maybe PackageNote),+ -- | Other notes related to this note.+ relatedNoteNames :: (Core.Maybe [Core.Text]),+ -- | URLs associated with this note.+ relatedUrl :: (Core.Maybe [RelatedUrl]),+ -- | A note describing an SBOM reference.+ sbomReference :: (Core.Maybe SBOMReferenceNote),+ -- | A one sentence description of this note.+ shortDescription :: (Core.Maybe Core.Text),+ -- | Output only. The time this note was last updated. This field can be used as a filter in list requests.+ updateTime :: (Core.Maybe Core.DateTime),+ -- | A note describing available package upgrades.+ upgrade :: (Core.Maybe UpgradeNote),+ -- | A note describing a package vulnerability.+ vulnerability :: (Core.Maybe VulnerabilityNote),+ -- | A note describing a vulnerability assessment.+ vulnerabilityAssessment :: (Core.Maybe VulnerabilityAssessmentNote)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Note' with the minimum fields required to make a request.+newNote ::+ Note+newNote =+ Note+ { attestation = Core.Nothing,+ build = Core.Nothing,+ compliance = Core.Nothing,+ createTime = Core.Nothing,+ deployment = Core.Nothing,+ discovery = Core.Nothing,+ dsseAttestation = Core.Nothing,+ expirationTime = Core.Nothing,+ image = Core.Nothing,+ kind = Core.Nothing,+ longDescription = Core.Nothing,+ name = Core.Nothing,+ package = Core.Nothing,+ relatedNoteNames = Core.Nothing,+ relatedUrl = Core.Nothing,+ sbomReference = Core.Nothing,+ shortDescription = Core.Nothing,+ updateTime = Core.Nothing,+ upgrade = Core.Nothing,+ vulnerability = Core.Nothing,+ vulnerabilityAssessment = Core.Nothing+ }++instance Core.FromJSON Note where+ parseJSON =+ Core.withObject+ "Note"+ ( \o ->+ Note+ Core.<$> (o Core..:? "attestation")+ Core.<*> (o Core..:? "build")+ Core.<*> (o Core..:? "compliance")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "deployment")+ Core.<*> (o Core..:? "discovery")+ Core.<*> (o Core..:? "dsseAttestation")+ Core.<*> (o Core..:? "expirationTime")+ Core.<*> (o Core..:? "image")+ Core.<*> (o Core..:? "kind")+ Core.<*> (o Core..:? "longDescription")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "package")+ Core.<*> (o Core..:? "relatedNoteNames")+ Core.<*> (o Core..:? "relatedUrl")+ Core.<*> (o Core..:? "sbomReference")+ Core.<*> (o Core..:? "shortDescription")+ Core.<*> (o Core..:? "updateTime")+ Core.<*> (o Core..:? "upgrade")+ Core.<*> (o Core..:? "vulnerability")+ Core.<*> (o Core..:? "vulnerabilityAssessment")+ )++instance Core.ToJSON Note where+ toJSON Note {..} =+ Core.object+ ( Core.catMaybes+ [ ("attestation" Core..=) Core.<$> attestation,+ ("build" Core..=) Core.<$> build,+ ("compliance" Core..=) Core.<$> compliance,+ ("createTime" Core..=) Core.<$> createTime,+ ("deployment" Core..=) Core.<$> deployment,+ ("discovery" Core..=) Core.<$> discovery,+ ("dsseAttestation" Core..=) Core.<$> dsseAttestation,+ ("expirationTime" Core..=) Core.<$> expirationTime,+ ("image" Core..=) Core.<$> image,+ ("kind" Core..=) Core.<$> kind,+ ("longDescription" Core..=) Core.<$> longDescription,+ ("name" Core..=) Core.<$> name,+ ("package" Core..=) Core.<$> package,+ ("relatedNoteNames" Core..=) Core.<$> relatedNoteNames,+ ("relatedUrl" Core..=) Core.<$> relatedUrl,+ ("sbomReference" Core..=) Core.<$> sbomReference,+ ("shortDescription" Core..=) Core.<$> shortDescription,+ ("updateTime" Core..=) Core.<$> updateTime,+ ("upgrade" Core..=) Core.<$> upgrade,+ ("vulnerability" Core..=) Core.<$> vulnerability,+ ("vulnerabilityAssessment" Core..=)+ Core.<$> vulnerabilityAssessment+ ]+ )++-- | An instance of an analysis type that has been found on a resource.+--+-- /See:/ 'newOccurrence' smart constructor.+data Occurrence = Occurrence+ { -- | Describes an attestation of an artifact.+ attestation :: (Core.Maybe AttestationOccurrence),+ -- | Describes a verifiable build.+ build :: (Core.Maybe BuildOccurrence),+ -- | Describes a compliance violation on a linked resource.+ compliance :: (Core.Maybe ComplianceOccurrence),+ -- | Output only. The time this occurrence was created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Describes the deployment of an artifact on a runtime.+ deployment :: (Core.Maybe DeploymentOccurrence),+ -- | Describes when a resource was discovered.+ discovery :: (Core.Maybe DiscoveryOccurrence),+ -- | Describes an attestation of an artifact using dsse.+ dsseAttestation :: (Core.Maybe DSSEAttestationOccurrence),+ -- | https:\/\/github.com\/secure-systems-lab\/dsse+ envelope :: (Core.Maybe Envelope),+ -- | Describes how this resource derives from the basis in the associated note.+ image :: (Core.Maybe ImageOccurrence),+ -- | Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.+ kind :: (Core.Maybe Occurrence_Kind),+ -- | Output only. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: (Core.Maybe Core.Text),+ -- | Required. Immutable. The analysis note associated with this occurrence, in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. This field can be used as a filter in list requests.+ noteName :: (Core.Maybe Core.Text),+ -- | Describes the installation of a package on the linked resource.+ package :: (Core.Maybe PackageOccurrence),+ -- | A description of actions that can be taken to remedy the note.+ remediation :: (Core.Maybe Core.Text),+ -- | Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, @https:\/\/gcr.io\/project\/image\@sha256:123abc@ for a Docker image.+ resourceUri :: (Core.Maybe Core.Text),+ -- | Describes a specific SBOM reference occurrences.+ sbomReference :: (Core.Maybe SBOMReferenceOccurrence),+ -- | Output only. The time this occurrence was last updated.+ updateTime :: (Core.Maybe Core.DateTime),+ -- | Describes an available package upgrade on the linked resource.+ upgrade :: (Core.Maybe UpgradeOccurrence),+ -- | Describes a security vulnerability.+ vulnerability :: (Core.Maybe VulnerabilityOccurrence)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Occurrence' with the minimum fields required to make a request.+newOccurrence ::+ Occurrence+newOccurrence =+ Occurrence+ { attestation = Core.Nothing,+ build = Core.Nothing,+ compliance = Core.Nothing,+ createTime = Core.Nothing,+ deployment = Core.Nothing,+ discovery = Core.Nothing,+ dsseAttestation = Core.Nothing,+ envelope = Core.Nothing,+ image = Core.Nothing,+ kind = Core.Nothing,+ name = Core.Nothing,+ noteName = Core.Nothing,+ package = Core.Nothing,+ remediation = Core.Nothing,+ resourceUri = Core.Nothing,+ sbomReference = Core.Nothing,+ updateTime = Core.Nothing,+ upgrade = Core.Nothing,+ vulnerability = Core.Nothing+ }++instance Core.FromJSON Occurrence where+ parseJSON =+ Core.withObject+ "Occurrence"+ ( \o ->+ Occurrence+ Core.<$> (o Core..:? "attestation")+ Core.<*> (o Core..:? "build")+ Core.<*> (o Core..:? "compliance")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "deployment")+ Core.<*> (o Core..:? "discovery")+ Core.<*> (o Core..:? "dsseAttestation")+ Core.<*> (o Core..:? "envelope")+ Core.<*> (o Core..:? "image")+ Core.<*> (o Core..:? "kind")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "noteName")+ Core.<*> (o Core..:? "package")+ Core.<*> (o Core..:? "remediation")+ Core.<*> (o Core..:? "resourceUri")+ Core.<*> (o Core..:? "sbomReference")+ Core.<*> (o Core..:? "updateTime")+ Core.<*> (o Core..:? "upgrade")+ Core.<*> (o Core..:? "vulnerability")+ )++instance Core.ToJSON Occurrence where+ toJSON Occurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("attestation" Core..=) Core.<$> attestation,+ ("build" Core..=) Core.<$> build,+ ("compliance" Core..=) Core.<$> compliance,+ ("createTime" Core..=) Core.<$> createTime,+ ("deployment" Core..=) Core.<$> deployment,+ ("discovery" Core..=) Core.<$> discovery,+ ("dsseAttestation" Core..=) Core.<$> dsseAttestation,+ ("envelope" Core..=) Core.<$> envelope,+ ("image" Core..=) Core.<$> image,+ ("kind" Core..=) Core.<$> kind,+ ("name" Core..=) Core.<$> name,+ ("noteName" Core..=) Core.<$> noteName,+ ("package" Core..=) Core.<$> package,+ ("remediation" Core..=) Core.<$> remediation,+ ("resourceUri" Core..=) Core.<$> resourceUri,+ ("sbomReference" Core..=) Core.<$> sbomReference,+ ("updateTime" Core..=) Core.<$> updateTime,+ ("upgrade" Core..=) Core.<$> upgrade,+ ("vulnerability" Core..=) Core.<$> vulnerability+ ]+ )++-- | A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).+--+-- /See:/ 'newPackageIssue' smart constructor.+data PackageIssue = PackageIssue+ { -- | Required. The <https://cpe.mitre.org/specification/ CPE URI> this vulnerability was found in.+ affectedCpeUri :: (Core.Maybe Core.Text),+ -- | Required. The package this vulnerability was found in.+ affectedPackage :: (Core.Maybe Core.Text),+ -- | Required. The version of the package that is installed on the resource affected by this vulnerability.+ affectedVersion :: (Core.Maybe Version),+ -- | Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.+ effectiveSeverity :: (Core.Maybe PackageIssue_EffectiveSeverity),+ -- | The location at which this package was found.+ fileLocation :: (Core.Maybe [GrafeasV1FileLocation]),+ -- | Output only. Whether a fix is available for this package.+ fixAvailable :: (Core.Maybe Core.Bool),+ -- | The <https://cpe.mitre.org/specification/ CPE URI> this vulnerability was fixed in. It is possible for this to be different from the affected/cpe/uri.+ fixedCpeUri :: (Core.Maybe Core.Text),+ -- | The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.+ fixedPackage :: (Core.Maybe Core.Text),+ -- | Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.+ fixedVersion :: (Core.Maybe Version),+ -- | The type of package (e.g. OS, MAVEN, GO).+ packageType :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PackageIssue' with the minimum fields required to make a request.+newPackageIssue ::+ PackageIssue+newPackageIssue =+ PackageIssue+ { affectedCpeUri = Core.Nothing,+ affectedPackage = Core.Nothing,+ affectedVersion = Core.Nothing,+ effectiveSeverity = Core.Nothing,+ fileLocation = Core.Nothing,+ fixAvailable = Core.Nothing,+ fixedCpeUri = Core.Nothing,+ fixedPackage = Core.Nothing,+ fixedVersion = Core.Nothing,+ packageType = Core.Nothing+ }++instance Core.FromJSON PackageIssue where+ parseJSON =+ Core.withObject+ "PackageIssue"+ ( \o ->+ PackageIssue+ Core.<$> (o Core..:? "affectedCpeUri")+ Core.<*> (o Core..:? "affectedPackage")+ Core.<*> (o Core..:? "affectedVersion")+ Core.<*> (o Core..:? "effectiveSeverity")+ Core.<*> (o Core..:? "fileLocation")+ Core.<*> (o Core..:? "fixAvailable")+ Core.<*> (o Core..:? "fixedCpeUri")+ Core.<*> (o Core..:? "fixedPackage")+ Core.<*> (o Core..:? "fixedVersion")+ Core.<*> (o Core..:? "packageType")+ )++instance Core.ToJSON PackageIssue where+ toJSON PackageIssue {..} =+ Core.object+ ( Core.catMaybes+ [ ("affectedCpeUri" Core..=) Core.<$> affectedCpeUri,+ ("affectedPackage" Core..=) Core.<$> affectedPackage,+ ("affectedVersion" Core..=) Core.<$> affectedVersion,+ ("effectiveSeverity" Core..=) Core.<$> effectiveSeverity,+ ("fileLocation" Core..=) Core.<$> fileLocation,+ ("fixAvailable" Core..=) Core.<$> fixAvailable,+ ("fixedCpeUri" Core..=) Core.<$> fixedCpeUri,+ ("fixedPackage" Core..=) Core.<$> fixedPackage,+ ("fixedVersion" Core..=) Core.<$> fixedVersion,+ ("packageType" Core..=) Core.<$> packageType+ ]+ )++-- | PackageNote represents a particular package version.+--+-- /See:/ 'newPackageNote' smart constructor.+data PackageNote = PackageNote+ { -- | The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.+ architecture :: (Core.Maybe PackageNote_Architecture),+ -- | The cpe/uri in <https://cpe.mitre.org/specification/ CPE format> denoting the package manager version distributing a package. The cpe/uri will be blank for language packages.+ cpeUri :: (Core.Maybe Core.Text),+ -- | The description of this package.+ description :: (Core.Maybe Core.Text),+ -- | Hash value, typically a file digest, that allows unique identification a specific package.+ digest :: (Core.Maybe [Digest]),+ -- | Deprecated. The various channels by which a package is distributed.+ distribution :: (Core.Maybe [Distribution]),+ -- | Licenses that have been declared by the authors of the package.+ license :: (Core.Maybe License),+ -- | A freeform text denoting the maintainer of this package.+ maintainer :: (Core.Maybe Core.Text),+ -- | Required. Immutable. The name of the package.+ name :: (Core.Maybe Core.Text),+ -- | The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).+ packageType :: (Core.Maybe Core.Text),+ -- | The homepage for this package.+ url :: (Core.Maybe Core.Text),+ -- | The version of the package.+ version :: (Core.Maybe Version)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PackageNote' with the minimum fields required to make a request.+newPackageNote ::+ PackageNote+newPackageNote =+ PackageNote+ { architecture = Core.Nothing,+ cpeUri = Core.Nothing,+ description = Core.Nothing,+ digest = Core.Nothing,+ distribution = Core.Nothing,+ license = Core.Nothing,+ maintainer = Core.Nothing,+ name = Core.Nothing,+ packageType = Core.Nothing,+ url = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON PackageNote where+ parseJSON =+ Core.withObject+ "PackageNote"+ ( \o ->+ PackageNote+ Core.<$> (o Core..:? "architecture")+ Core.<*> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "digest")+ Core.<*> (o Core..:? "distribution")+ Core.<*> (o Core..:? "license")+ Core.<*> (o Core..:? "maintainer")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "packageType")+ Core.<*> (o Core..:? "url")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON PackageNote where+ toJSON PackageNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("architecture" Core..=) Core.<$> architecture,+ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("description" Core..=) Core.<$> description,+ ("digest" Core..=) Core.<$> digest,+ ("distribution" Core..=) Core.<$> distribution,+ ("license" Core..=) Core.<$> license,+ ("maintainer" Core..=) Core.<$> maintainer,+ ("name" Core..=) Core.<$> name,+ ("packageType" Core..=) Core.<$> packageType,+ ("url" Core..=) Core.<$> url,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Details on how a particular software package was installed on a system.+--+-- /See:/ 'newPackageOccurrence' smart constructor.+data PackageOccurrence = PackageOccurrence+ { -- | Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.+ architecture :: (Core.Maybe PackageOccurrence_Architecture),+ -- | Output only. The cpe/uri in <https://cpe.mitre.org/specification/ CPE format> denoting the package manager version distributing a package. The cpe/uri will be blank for language packages.+ cpeUri :: (Core.Maybe Core.Text),+ -- | Licenses that have been declared by the authors of the package.+ license :: (Core.Maybe License),+ -- | All of the places within the filesystem versions of this package have been found.+ location :: (Core.Maybe [Location]),+ -- | Required. Output only. The name of the installed package.+ name :: (Core.Maybe Core.Text),+ -- | Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).+ packageType :: (Core.Maybe Core.Text),+ -- | Output only. The version of the package.+ version :: (Core.Maybe Version)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PackageOccurrence' with the minimum fields required to make a request.+newPackageOccurrence ::+ PackageOccurrence+newPackageOccurrence =+ PackageOccurrence+ { architecture = Core.Nothing,+ cpeUri = Core.Nothing,+ license = Core.Nothing,+ location = Core.Nothing,+ name = Core.Nothing,+ packageType = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON PackageOccurrence where+ parseJSON =+ Core.withObject+ "PackageOccurrence"+ ( \o ->+ PackageOccurrence+ Core.<$> (o Core..:? "architecture")+ Core.<*> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "license")+ Core.<*> (o Core..:? "location")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "packageType")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON PackageOccurrence where+ toJSON PackageOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("architecture" Core..=) Core.<$> architecture,+ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("license" Core..=) Core.<$> license,+ ("location" Core..=) Core.<$> location,+ ("name" Core..=) Core.<$> name,+ ("packageType" Core..=) Core.<$> packageType,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A @Policy@ is a collection of @bindings@. A @binding@ binds one or more @members@, or principals, to a single @role@. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A @role@ is a named list of permissions; each @role@ can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a @binding@ can also specify a @condition@, which is a logical expression that allows access to a resource only if the expression evaluates to @true@. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>. __JSON example:__+-- @{ \"bindings\": [ { \"role\": \"roles\/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike\@example.com\", \"group:admins\@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id\@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles\/resourcemanager.organizationViewer\", \"members\": [ \"user:eve\@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \< timestamp(\'2020-10-01T00:00:00.000Z\')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }@ __YAML example:__+-- @bindings: - members: - user:mike\@example.com - group:admins\@example.com - domain:google.com - serviceAccount:my-project-id\@appspot.gserviceaccount.com role: roles\/resourcemanager.organizationAdmin - members: - user:eve\@example.com role: roles\/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \< timestamp(\'2020-10-01T00:00:00.000Z\') etag: BwWWja0YfJA= version: 3@ For a description of IAM and its features, see the <https://cloud.google.com/iam/docs/ IAM documentation>.+--+-- /See:/ 'newPolicy' smart constructor.+data Policy = Policy+ { -- | Associates a list of @members@, or principals, with a @role@. Optionally, may specify a @condition@ that determines how and when the @bindings@ are applied. Each of the @bindings@ must contain at least one principal. The @bindings@ in a @Policy@ can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the @bindings@ grant 50 different roles to @user:alice\@example.com@, and not to any other principal, then you can add another 1,450 principals to the @bindings@ in the @Policy@.+ bindings :: (Core.Maybe [Binding]),+ -- | @etag@ is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the @etag@ in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An @etag@ is returned in the response to @getIamPolicy@, and systems are expected to put that etag in the request to @setIamPolicy@ to ensure that their change will be applied to the same version of the policy. __Important:__ If you use IAM Conditions, you must include the @etag@ field whenever you call @setIamPolicy@. If you omit this field, then IAM allows you to overwrite a version @3@ policy with a version @1@ policy, and all of the conditions in the version @3@ policy are lost.+ etag :: (Core.Maybe Core.Base64),+ -- | Specifies the format of the policy. Valid values are @0@, @1@, and @3@. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version @3@. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions __Important:__ If you use IAM Conditions, you must include the @etag@ field whenever you call @setIamPolicy@. If you omit this field, then IAM allows you to overwrite a version @3@ policy with a version @1@ policy, and all of the conditions in the version @3@ policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the+ -- <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>.+ version :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Policy' with the minimum fields required to make a request.+newPolicy ::+ Policy+newPolicy =+ Policy+ { bindings = Core.Nothing,+ etag = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON Policy where+ parseJSON =+ Core.withObject+ "Policy"+ ( \o ->+ Policy+ Core.<$> (o Core..:? "bindings")+ Core.<*> (o Core..:? "etag")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON Policy where+ toJSON Policy {..} =+ Core.object+ ( Core.catMaybes+ [ ("bindings" Core..=) Core.<$> bindings,+ ("etag" Core..=) Core.<$> etag,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Product contains information about a product and how to uniquely identify it.+--+-- /See:/ 'newProduct' smart constructor.+data Product = Product+ { -- | Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.+ genericUri :: (Core.Maybe Core.Text),+ -- | Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.+ id :: (Core.Maybe Core.Text),+ -- | Name of the product.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Product' with the minimum fields required to make a request.+newProduct ::+ Product+newProduct =+ Product+ { genericUri = Core.Nothing,+ id = Core.Nothing,+ name = Core.Nothing+ }++instance Core.FromJSON Product where+ parseJSON =+ Core.withObject+ "Product"+ ( \o ->+ Product+ Core.<$> (o Core..:? "genericUri")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON Product where+ toJSON Product {..} =+ Core.object+ ( Core.catMaybes+ [ ("genericUri" Core..=) Core.<$> genericUri,+ ("id" Core..=) Core.<$> id,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.+--+-- /See:/ 'newProjectRepoId' smart constructor.+data ProjectRepoId = ProjectRepoId+ { -- | The ID of the project.+ projectId :: (Core.Maybe Core.Text),+ -- | The name of the repo. Leave empty for the default repo.+ repoName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProjectRepoId' with the minimum fields required to make a request.+newProjectRepoId ::+ ProjectRepoId+newProjectRepoId =+ ProjectRepoId {projectId = Core.Nothing, repoName = Core.Nothing}++instance Core.FromJSON ProjectRepoId where+ parseJSON =+ Core.withObject+ "ProjectRepoId"+ ( \o ->+ ProjectRepoId+ Core.<$> (o Core..:? "projectId")+ Core.<*> (o Core..:? "repoName")+ )++instance Core.ToJSON ProjectRepoId where+ toJSON ProjectRepoId {..} =+ Core.object+ ( Core.catMaybes+ [ ("projectId" Core..=) Core.<$> projectId,+ ("repoName" Core..=) Core.<$> repoName+ ]+ )++--+-- /See:/ 'newProvenanceBuilder' smart constructor.+data ProvenanceBuilder = ProvenanceBuilder+ { builderDependencies :: (Core.Maybe [ResourceDescriptor]),+ id :: (Core.Maybe Core.Text),+ version :: (Core.Maybe ProvenanceBuilder_Version)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProvenanceBuilder' with the minimum fields required to make a request.+newProvenanceBuilder ::+ ProvenanceBuilder+newProvenanceBuilder =+ ProvenanceBuilder+ { builderDependencies = Core.Nothing,+ id = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON ProvenanceBuilder where+ parseJSON =+ Core.withObject+ "ProvenanceBuilder"+ ( \o ->+ ProvenanceBuilder+ Core.<$> (o Core..:? "builderDependencies")+ Core.<*> (o Core..:? "id")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON ProvenanceBuilder where+ toJSON ProvenanceBuilder {..} =+ Core.object+ ( Core.catMaybes+ [ ("builderDependencies" Core..=) Core.<$> builderDependencies,+ ("id" Core..=) Core.<$> id,+ ("version" Core..=) Core.<$> version+ ]+ )++--+-- /See:/ 'newProvenanceBuilder_Version' smart constructor.+newtype ProvenanceBuilder_Version = ProvenanceBuilder_Version+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProvenanceBuilder_Version' with the minimum fields required to make a request.+newProvenanceBuilder_Version ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ ProvenanceBuilder_Version+newProvenanceBuilder_Version additional =+ ProvenanceBuilder_Version {additional = additional}++instance Core.FromJSON ProvenanceBuilder_Version where+ parseJSON =+ Core.withObject+ "ProvenanceBuilder_Version"+ ( \o ->+ ProvenanceBuilder_Version Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON ProvenanceBuilder_Version where+ toJSON ProvenanceBuilder_Version {..} = Core.toJSON additional++-- | Publisher contains information about the publisher of this Note.+--+-- /See:/ 'newPublisher' smart constructor.+data Publisher = Publisher+ { -- | Provides information about the authority of the issuing party to release the document, in particular, the party\'s constituency and responsibilities or other obligations.+ issuingAuthority :: (Core.Maybe Core.Text),+ -- | Name of the publisher. Examples: \'Google\', \'Google Cloud Platform\'.+ name :: (Core.Maybe Core.Text),+ -- | The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https:\/\/csaf.io+ publisherNamespace :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Publisher' with the minimum fields required to make a request.+newPublisher ::+ Publisher+newPublisher =+ Publisher+ { issuingAuthority = Core.Nothing,+ name = Core.Nothing,+ publisherNamespace = Core.Nothing+ }++instance Core.FromJSON Publisher where+ parseJSON =+ Core.withObject+ "Publisher"+ ( \o ->+ Publisher+ Core.<$> (o Core..:? "issuingAuthority")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "publisherNamespace")+ )++instance Core.ToJSON Publisher where+ toJSON Publisher {..} =+ Core.object+ ( Core.catMaybes+ [ ("issuingAuthority" Core..=) Core.<$> issuingAuthority,+ ("name" Core..=) Core.<$> name,+ ("publisherNamespace" Core..=) Core.<$> publisherNamespace+ ]+ )++-- | Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.+--+-- /See:/ 'newRecipe' smart constructor.+data Recipe = Recipe+ { -- | 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. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".+ arguments :: (Core.Maybe [Recipe_ArgumentsItem]),+ -- | 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.+ definedInMaterial :: (Core.Maybe Core.Int64),+ -- | 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.+ entryPoint :: (Core.Maybe Core.Text),+ -- | 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. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".+ environment :: (Core.Maybe [Recipe_EnvironmentItem]),+ -- | URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.+ type' :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Recipe' with the minimum fields required to make a request.+newRecipe ::+ Recipe+newRecipe =+ Recipe+ { arguments = Core.Nothing,+ definedInMaterial = Core.Nothing,+ entryPoint = Core.Nothing,+ environment = Core.Nothing,+ type' = Core.Nothing+ }++instance Core.FromJSON Recipe where+ parseJSON =+ Core.withObject+ "Recipe"+ ( \o ->+ Recipe+ Core.<$> (o Core..:? "arguments")+ Core.<*> (o Core..:? "definedInMaterial" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "entryPoint")+ Core.<*> (o Core..:? "environment")+ Core.<*> (o Core..:? "type")+ )++instance Core.ToJSON Recipe where+ toJSON Recipe {..} =+ Core.object+ ( Core.catMaybes+ [ ("arguments" Core..=) Core.<$> arguments,+ ("definedInMaterial" Core..=)+ Core.. Core.AsText+ Core.<$> definedInMaterial,+ ("entryPoint" Core..=) Core.<$> entryPoint,+ ("environment" Core..=) Core.<$> environment,+ ("type" Core..=) Core.<$> type'+ ]+ )++--+-- /See:/ 'newRecipe_ArgumentsItem' smart constructor.+newtype Recipe_ArgumentsItem = Recipe_ArgumentsItem+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Recipe_ArgumentsItem' with the minimum fields required to make a request.+newRecipe_ArgumentsItem ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ Recipe_ArgumentsItem+newRecipe_ArgumentsItem additional =+ Recipe_ArgumentsItem {additional = additional}++instance Core.FromJSON Recipe_ArgumentsItem where+ parseJSON =+ Core.withObject+ "Recipe_ArgumentsItem"+ (\o -> Recipe_ArgumentsItem Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Recipe_ArgumentsItem where+ toJSON Recipe_ArgumentsItem {..} = Core.toJSON additional++--+-- /See:/ 'newRecipe_EnvironmentItem' smart constructor.+newtype Recipe_EnvironmentItem = Recipe_EnvironmentItem+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Recipe_EnvironmentItem' with the minimum fields required to make a request.+newRecipe_EnvironmentItem ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ Recipe_EnvironmentItem+newRecipe_EnvironmentItem additional =+ Recipe_EnvironmentItem {additional = additional}++instance Core.FromJSON Recipe_EnvironmentItem where+ parseJSON =+ Core.withObject+ "Recipe_EnvironmentItem"+ (\o -> Recipe_EnvironmentItem Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Recipe_EnvironmentItem where+ toJSON Recipe_EnvironmentItem {..} = Core.toJSON additional++-- | Metadata for any related URL information.+--+-- /See:/ 'newRelatedUrl' smart constructor.+data RelatedUrl = RelatedUrl+ { -- | Label to describe usage of the URL.+ label :: (Core.Maybe Core.Text),+ -- | Specific URL associated with the resource.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RelatedUrl' with the minimum fields required to make a request.+newRelatedUrl ::+ RelatedUrl+newRelatedUrl =+ RelatedUrl {label = Core.Nothing, url = Core.Nothing}++instance Core.FromJSON RelatedUrl where+ parseJSON =+ Core.withObject+ "RelatedUrl"+ ( \o ->+ RelatedUrl+ Core.<$> (o Core..:? "label")+ Core.<*> (o Core..:? "url")+ )++instance Core.ToJSON RelatedUrl where+ toJSON RelatedUrl {..} =+ Core.object+ ( Core.catMaybes+ [("label" Core..=) Core.<$> label, ("url" Core..=) Core.<$> url]+ )++-- | Specifies details on how to handle (and presumably, fix) a vulnerability.+--+-- /See:/ 'newRemediation' smart constructor.+data Remediation = Remediation+ { -- | Contains a comprehensive human-readable discussion of the remediation.+ details :: (Core.Maybe Core.Text),+ -- | The type of remediation that can be applied.+ remediationType :: (Core.Maybe Remediation_RemediationType),+ -- | Contains the URL where to obtain the remediation.+ remediationUri :: (Core.Maybe RelatedUrl)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Remediation' with the minimum fields required to make a request.+newRemediation ::+ Remediation+newRemediation =+ Remediation+ { details = Core.Nothing,+ remediationType = Core.Nothing,+ remediationUri = Core.Nothing+ }++instance Core.FromJSON Remediation where+ parseJSON =+ Core.withObject+ "Remediation"+ ( \o ->+ Remediation+ Core.<$> (o Core..:? "details")+ Core.<*> (o Core..:? "remediationType")+ Core.<*> (o Core..:? "remediationUri")+ )++instance Core.ToJSON Remediation where+ toJSON Remediation {..} =+ Core.object+ ( Core.catMaybes+ [ ("details" Core..=) Core.<$> details,+ ("remediationType" Core..=) Core.<$> remediationType,+ ("remediationUri" Core..=) Core.<$> remediationUri+ ]+ )++-- | A unique identifier for a Cloud Repo.+--+-- /See:/ 'newRepoId' smart constructor.+data RepoId = RepoId+ { -- | A combination of a project ID and a repo name.+ projectRepoId :: (Core.Maybe ProjectRepoId),+ -- | A server-assigned, globally unique identifier.+ uid :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RepoId' with the minimum fields required to make a request.+newRepoId ::+ RepoId+newRepoId =+ RepoId {projectRepoId = Core.Nothing, uid = Core.Nothing}++instance Core.FromJSON RepoId where+ parseJSON =+ Core.withObject+ "RepoId"+ ( \o ->+ RepoId+ Core.<$> (o Core..:? "projectRepoId")+ Core.<*> (o Core..:? "uid")+ )++instance Core.ToJSON RepoId where+ toJSON RepoId {..} =+ Core.object+ ( Core.catMaybes+ [ ("projectRepoId" Core..=) Core.<$> projectRepoId,+ ("uid" Core..=) Core.<$> uid+ ]+ )++--+-- /See:/ 'newResourceDescriptor' smart constructor.+data ResourceDescriptor = ResourceDescriptor+ { annotations :: (Core.Maybe ResourceDescriptor_Annotations),+ content :: (Core.Maybe Core.Base64),+ digest :: (Core.Maybe ResourceDescriptor_Digest),+ downloadLocation :: (Core.Maybe Core.Text),+ mediaType :: (Core.Maybe Core.Text),+ name :: (Core.Maybe Core.Text),+ uri :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceDescriptor' with the minimum fields required to make a request.+newResourceDescriptor ::+ ResourceDescriptor+newResourceDescriptor =+ ResourceDescriptor+ { annotations = Core.Nothing,+ content = Core.Nothing,+ digest = Core.Nothing,+ downloadLocation = Core.Nothing,+ mediaType = Core.Nothing,+ name = Core.Nothing,+ uri = Core.Nothing+ }++instance Core.FromJSON ResourceDescriptor where+ parseJSON =+ Core.withObject+ "ResourceDescriptor"+ ( \o ->+ ResourceDescriptor+ Core.<$> (o Core..:? "annotations")+ Core.<*> (o Core..:? "content")+ Core.<*> (o Core..:? "digest")+ Core.<*> (o Core..:? "downloadLocation")+ Core.<*> (o Core..:? "mediaType")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "uri")+ )++instance Core.ToJSON ResourceDescriptor where+ toJSON ResourceDescriptor {..} =+ Core.object+ ( Core.catMaybes+ [ ("annotations" Core..=) Core.<$> annotations,+ ("content" Core..=) Core.<$> content,+ ("digest" Core..=) Core.<$> digest,+ ("downloadLocation" Core..=) Core.<$> downloadLocation,+ ("mediaType" Core..=) Core.<$> mediaType,+ ("name" Core..=) Core.<$> name,+ ("uri" Core..=) Core.<$> uri+ ]+ )++--+-- /See:/ 'newResourceDescriptor_Annotations' smart constructor.+newtype ResourceDescriptor_Annotations = ResourceDescriptor_Annotations+ { additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceDescriptor_Annotations' with the minimum fields required to make a request.+newResourceDescriptor_Annotations ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ ResourceDescriptor_Annotations+newResourceDescriptor_Annotations additional =+ ResourceDescriptor_Annotations {additional = additional}++instance Core.FromJSON ResourceDescriptor_Annotations where+ parseJSON =+ Core.withObject+ "ResourceDescriptor_Annotations"+ ( \o ->+ ResourceDescriptor_Annotations Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON ResourceDescriptor_Annotations where+ toJSON ResourceDescriptor_Annotations {..} = Core.toJSON additional++--+-- /See:/ 'newResourceDescriptor_Digest' smart constructor.+newtype ResourceDescriptor_Digest = ResourceDescriptor_Digest+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceDescriptor_Digest' with the minimum fields required to make a request.+newResourceDescriptor_Digest ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ ResourceDescriptor_Digest+newResourceDescriptor_Digest additional =+ ResourceDescriptor_Digest {additional = additional}++instance Core.FromJSON ResourceDescriptor_Digest where+ parseJSON =+ Core.withObject+ "ResourceDescriptor_Digest"+ ( \o ->+ ResourceDescriptor_Digest Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON ResourceDescriptor_Digest where+ toJSON ResourceDescriptor_Digest {..} = Core.toJSON additional++--+-- /See:/ 'newRunDetails' smart constructor.+data RunDetails = RunDetails+ { builder :: (Core.Maybe ProvenanceBuilder),+ byproducts :: (Core.Maybe [ResourceDescriptor]),+ metadata :: (Core.Maybe BuildMetadata)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RunDetails' with the minimum fields required to make a request.+newRunDetails ::+ RunDetails+newRunDetails =+ RunDetails+ { builder = Core.Nothing,+ byproducts = Core.Nothing,+ metadata = Core.Nothing+ }++instance Core.FromJSON RunDetails where+ parseJSON =+ Core.withObject+ "RunDetails"+ ( \o ->+ RunDetails+ Core.<$> (o Core..:? "builder")+ Core.<*> (o Core..:? "byproducts")+ Core.<*> (o Core..:? "metadata")+ )++instance Core.ToJSON RunDetails where+ toJSON RunDetails {..} =+ Core.object+ ( Core.catMaybes+ [ ("builder" Core..=) Core.<$> builder,+ ("byproducts" Core..=) Core.<$> byproducts,+ ("metadata" Core..=) Core.<$> metadata+ ]+ )++-- | The note representing an SBOM reference.+--+-- /See:/ 'newSBOMReferenceNote' smart constructor.+data SBOMReferenceNote = SBOMReferenceNote+ { -- | The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...+ format :: (Core.Maybe Core.Text),+ -- | The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.+ version :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SBOMReferenceNote' with the minimum fields required to make a request.+newSBOMReferenceNote ::+ SBOMReferenceNote+newSBOMReferenceNote =+ SBOMReferenceNote {format = Core.Nothing, version = Core.Nothing}++instance Core.FromJSON SBOMReferenceNote where+ parseJSON =+ Core.withObject+ "SBOMReferenceNote"+ ( \o ->+ SBOMReferenceNote+ Core.<$> (o Core..:? "format")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON SBOMReferenceNote where+ toJSON SBOMReferenceNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("format" Core..=) Core.<$> format,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https:\/\/github.com\/secure-systems-lab\/dsse\/blob\/master\/envelope.md for more details.+--+-- /See:/ 'newSBOMReferenceOccurrence' smart constructor.+data SBOMReferenceOccurrence = SBOMReferenceOccurrence+ { -- | The actual payload that contains the SBOM reference data.+ payload :: (Core.Maybe SbomReferenceIntotoPayload),+ -- | The kind of payload that SbomReferenceIntotoPayload takes. Since it\'s in the intoto format, this value is expected to be \'application\/vnd.in-toto+json\'.+ payloadType :: (Core.Maybe Core.Text),+ -- | The signatures over the payload.+ signatures :: (Core.Maybe [EnvelopeSignature])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SBOMReferenceOccurrence' with the minimum fields required to make a request.+newSBOMReferenceOccurrence ::+ SBOMReferenceOccurrence+newSBOMReferenceOccurrence =+ SBOMReferenceOccurrence+ { payload = Core.Nothing,+ payloadType = Core.Nothing,+ signatures = Core.Nothing+ }++instance Core.FromJSON SBOMReferenceOccurrence where+ parseJSON =+ Core.withObject+ "SBOMReferenceOccurrence"+ ( \o ->+ SBOMReferenceOccurrence+ Core.<$> (o Core..:? "payload")+ Core.<*> (o Core..:? "payloadType")+ Core.<*> (o Core..:? "signatures")+ )++instance Core.ToJSON SBOMReferenceOccurrence where+ toJSON SBOMReferenceOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("payload" Core..=) Core.<$> payload,+ ("payloadType" Core..=) Core.<$> payloadType,+ ("signatures" Core..=) Core.<$> signatures+ ]+ )++-- | The status of an SBOM generation.+--+-- /See:/ 'newSBOMStatus' smart constructor.+data SBOMStatus = SBOMStatus+ { -- | If there was an error generating an SBOM, this will indicate what that error was.+ error :: (Core.Maybe Core.Text),+ -- | The progress of the SBOM generation.+ sbomState :: (Core.Maybe SBOMStatus_SbomState)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SBOMStatus' with the minimum fields required to make a request.+newSBOMStatus ::+ SBOMStatus+newSBOMStatus =+ SBOMStatus {error = Core.Nothing, sbomState = Core.Nothing}++instance Core.FromJSON SBOMStatus where+ parseJSON =+ Core.withObject+ "SBOMStatus"+ ( \o ->+ SBOMStatus+ Core.<$> (o Core..:? "error")+ Core.<*> (o Core..:? "sbomState")+ )++instance Core.ToJSON SBOMStatus where+ toJSON SBOMStatus {..} =+ Core.object+ ( Core.catMaybes+ [ ("error" Core..=) Core.<$> error,+ ("sbomState" Core..=) Core.<$> sbomState+ ]+ )++-- | The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https:\/\/github.com\/in-toto\/attestation\/blob\/main\/spec\/v1.0\/statement.md for more details.+--+-- /See:/ 'newSbomReferenceIntotoPayload' smart constructor.+data SbomReferenceIntotoPayload = SbomReferenceIntotoPayload+ { -- | Identifier for the schema of the Statement.+ type' :: (Core.Maybe Core.Text),+ -- | Additional parameters of the Predicate. Includes the actual data about the SBOM.+ predicate :: (Core.Maybe SbomReferenceIntotoPredicate),+ -- | URI identifying the type of the Predicate.+ predicateType :: (Core.Maybe Core.Text),+ -- | Set of software artifacts that the attestation applies to. Each element represents a single software artifact.+ subject :: (Core.Maybe [Subject])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SbomReferenceIntotoPayload' with the minimum fields required to make a request.+newSbomReferenceIntotoPayload ::+ SbomReferenceIntotoPayload+newSbomReferenceIntotoPayload =+ SbomReferenceIntotoPayload+ { type' = Core.Nothing,+ predicate = Core.Nothing,+ predicateType = Core.Nothing,+ subject = Core.Nothing+ }++instance Core.FromJSON SbomReferenceIntotoPayload where+ parseJSON =+ Core.withObject+ "SbomReferenceIntotoPayload"+ ( \o ->+ SbomReferenceIntotoPayload+ Core.<$> (o Core..:? "_type")+ Core.<*> (o Core..:? "predicate")+ Core.<*> (o Core..:? "predicateType")+ Core.<*> (o Core..:? "subject")+ )++instance Core.ToJSON SbomReferenceIntotoPayload where+ toJSON SbomReferenceIntotoPayload {..} =+ Core.object+ ( Core.catMaybes+ [ ("_type" Core..=) Core.<$> type',+ ("predicate" Core..=) Core.<$> predicate,+ ("predicateType" Core..=) Core.<$> predicateType,+ ("subject" Core..=) Core.<$> subject+ ]+ )++-- | A predicate which describes the SBOM being referenced.+--+-- /See:/ 'newSbomReferenceIntotoPredicate' smart constructor.+data SbomReferenceIntotoPredicate = SbomReferenceIntotoPredicate+ { -- | A map of algorithm to digest of the contents of the SBOM.+ digest :: (Core.Maybe SbomReferenceIntotoPredicate_Digest),+ -- | The location of the SBOM.+ location :: (Core.Maybe Core.Text),+ -- | The mime type of the SBOM.+ mimeType :: (Core.Maybe Core.Text),+ -- | The person or system referring this predicate to the consumer.+ referrerId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SbomReferenceIntotoPredicate' with the minimum fields required to make a request.+newSbomReferenceIntotoPredicate ::+ SbomReferenceIntotoPredicate+newSbomReferenceIntotoPredicate =+ SbomReferenceIntotoPredicate+ { digest = Core.Nothing,+ location = Core.Nothing,+ mimeType = Core.Nothing,+ referrerId = Core.Nothing+ }++instance Core.FromJSON SbomReferenceIntotoPredicate where+ parseJSON =+ Core.withObject+ "SbomReferenceIntotoPredicate"+ ( \o ->+ SbomReferenceIntotoPredicate+ Core.<$> (o Core..:? "digest")+ Core.<*> (o Core..:? "location")+ Core.<*> (o Core..:? "mimeType")+ Core.<*> (o Core..:? "referrerId")+ )++instance Core.ToJSON SbomReferenceIntotoPredicate where+ toJSON SbomReferenceIntotoPredicate {..} =+ Core.object+ ( Core.catMaybes+ [ ("digest" Core..=) Core.<$> digest,+ ("location" Core..=) Core.<$> location,+ ("mimeType" Core..=) Core.<$> mimeType,+ ("referrerId" Core..=) Core.<$> referrerId+ ]+ )++-- | A map of algorithm to digest of the contents of the SBOM.+--+-- /See:/ 'newSbomReferenceIntotoPredicate_Digest' smart constructor.+newtype SbomReferenceIntotoPredicate_Digest = SbomReferenceIntotoPredicate_Digest+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SbomReferenceIntotoPredicate_Digest' with the minimum fields required to make a request.+newSbomReferenceIntotoPredicate_Digest ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ SbomReferenceIntotoPredicate_Digest+newSbomReferenceIntotoPredicate_Digest additional =+ SbomReferenceIntotoPredicate_Digest {additional = additional}++instance Core.FromJSON SbomReferenceIntotoPredicate_Digest where+ parseJSON =+ Core.withObject+ "SbomReferenceIntotoPredicate_Digest"+ ( \o ->+ SbomReferenceIntotoPredicate_Digest+ Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON SbomReferenceIntotoPredicate_Digest where+ toJSON SbomReferenceIntotoPredicate_Digest {..} =+ Core.toJSON additional++-- | Request message for @SetIamPolicy@ method.+--+-- /See:/ 'newSetIamPolicyRequest' smart constructor.+newtype SetIamPolicyRequest = SetIamPolicyRequest+ { -- | REQUIRED: The complete policy to be applied to the @resource@. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.+ policy :: (Core.Maybe Policy)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SetIamPolicyRequest' with the minimum fields required to make a request.+newSetIamPolicyRequest ::+ SetIamPolicyRequest+newSetIamPolicyRequest = SetIamPolicyRequest {policy = Core.Nothing}++instance Core.FromJSON SetIamPolicyRequest where+ parseJSON =+ Core.withObject+ "SetIamPolicyRequest"+ (\o -> SetIamPolicyRequest Core.<$> (o Core..:? "policy"))++instance Core.ToJSON SetIamPolicyRequest where+ toJSON SetIamPolicyRequest {..} =+ Core.object (Core.catMaybes [("policy" Core..=) Core.<$> policy])++-- | Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from @public_key_id@ to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature @public_key_id@ as anything more than a key lookup hint. The @public_key_id@ DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The @public_key_id@ is not recognized by the verifier. * The public key that @public_key_id@ refers to does not verify the signature with respect to the payload. The @signature@ contents SHOULD NOT be \"attached\" (where the payload is included with the serialized @signature@ bytes). Verifiers MUST+-- ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a @payload@ field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).+--+-- /See:/ 'newSignature' smart constructor.+data Signature = Signature+ { -- | The identifier for the public key that verifies this signature. * The @public_key_id@ is required. * The @public_key_id@ SHOULD be an RFC3986 conformant URI. * When possible, the @public_key_id@ SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid @public_key_id@s: OpenPGP V4 public key fingerprint: * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See https:\/\/www.iana.org\/assignments\/uri-schemes\/prov\/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * \"ni:\/\/\/sha-256;cD9o9Cq6LG3jD0iKXqEi/vdjJGecm/iXkbqVoScViaU\" * \"nih:\/\/\/sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"+ publicKeyId :: (Core.Maybe Core.Text),+ -- | The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.+ signature :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Signature' with the minimum fields required to make a request.+newSignature ::+ Signature+newSignature =+ Signature {publicKeyId = Core.Nothing, signature = Core.Nothing}++instance Core.FromJSON Signature where+ parseJSON =+ Core.withObject+ "Signature"+ ( \o ->+ Signature+ Core.<$> (o Core..:? "publicKeyId")+ Core.<*> (o Core..:? "signature")+ )++instance Core.ToJSON Signature where+ toJSON Signature {..} =+ Core.object+ ( Core.catMaybes+ [ ("publicKeyId" Core..=) Core.<$> publicKeyId,+ ("signature" Core..=) Core.<$> signature+ ]+ )++--+-- /See:/ 'newSlsaBuilder' smart constructor.+newtype SlsaBuilder = SlsaBuilder+ { id :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaBuilder' with the minimum fields required to make a request.+newSlsaBuilder ::+ SlsaBuilder+newSlsaBuilder = SlsaBuilder {id = Core.Nothing}++instance Core.FromJSON SlsaBuilder where+ parseJSON =+ Core.withObject+ "SlsaBuilder"+ (\o -> SlsaBuilder Core.<$> (o Core..:? "id"))++instance Core.ToJSON SlsaBuilder where+ toJSON SlsaBuilder {..} =+ Core.object (Core.catMaybes [("id" Core..=) Core.<$> id])++-- | Indicates that the builder claims certain fields in this message to be complete.+--+-- /See:/ 'newSlsaCompleteness' smart constructor.+data SlsaCompleteness = SlsaCompleteness+ { -- | If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.+ arguments :: (Core.Maybe Core.Bool),+ -- | If true, the builder claims that recipe.environment is claimed to be complete.+ environment :: (Core.Maybe Core.Bool),+ -- | If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".+ materials :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaCompleteness' with the minimum fields required to make a request.+newSlsaCompleteness ::+ SlsaCompleteness+newSlsaCompleteness =+ SlsaCompleteness+ { arguments = Core.Nothing,+ environment = Core.Nothing,+ materials = Core.Nothing+ }++instance Core.FromJSON SlsaCompleteness where+ parseJSON =+ Core.withObject+ "SlsaCompleteness"+ ( \o ->+ SlsaCompleteness+ Core.<$> (o Core..:? "arguments")+ Core.<*> (o Core..:? "environment")+ Core.<*> (o Core..:? "materials")+ )++instance Core.ToJSON SlsaCompleteness where+ toJSON SlsaCompleteness {..} =+ Core.object+ ( Core.catMaybes+ [ ("arguments" Core..=) Core.<$> arguments,+ ("environment" Core..=) Core.<$> environment,+ ("materials" Core..=) Core.<$> materials+ ]+ )++-- | Other properties of the build.+--+-- /See:/ 'newSlsaMetadata' smart constructor.+data SlsaMetadata = SlsaMetadata+ { -- | The timestamp of when the build completed.+ buildFinishedOn :: (Core.Maybe Core.DateTime),+ -- | Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.+ buildInvocationId :: (Core.Maybe Core.Text),+ -- | The timestamp of when the build started.+ buildStartedOn :: (Core.Maybe Core.DateTime),+ -- | Indicates that the builder claims certain fields in this message to be complete.+ completeness :: (Core.Maybe SlsaCompleteness),+ -- | If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.+ reproducible :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaMetadata' with the minimum fields required to make a request.+newSlsaMetadata ::+ SlsaMetadata+newSlsaMetadata =+ SlsaMetadata+ { buildFinishedOn = Core.Nothing,+ buildInvocationId = Core.Nothing,+ buildStartedOn = Core.Nothing,+ completeness = Core.Nothing,+ reproducible = Core.Nothing+ }++instance Core.FromJSON SlsaMetadata where+ parseJSON =+ Core.withObject+ "SlsaMetadata"+ ( \o ->+ SlsaMetadata+ Core.<$> (o Core..:? "buildFinishedOn")+ Core.<*> (o Core..:? "buildInvocationId")+ Core.<*> (o Core..:? "buildStartedOn")+ Core.<*> (o Core..:? "completeness")+ Core.<*> (o Core..:? "reproducible")+ )++instance Core.ToJSON SlsaMetadata where+ toJSON SlsaMetadata {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildFinishedOn" Core..=) Core.<$> buildFinishedOn,+ ("buildInvocationId" Core..=) Core.<$> buildInvocationId,+ ("buildStartedOn" Core..=) Core.<$> buildStartedOn,+ ("completeness" Core..=) Core.<$> completeness,+ ("reproducible" Core..=) Core.<$> reproducible+ ]+ )++--+-- /See:/ 'newSlsaProvenance' smart constructor.+data SlsaProvenance = SlsaProvenance+ { -- | required+ builder :: (Core.Maybe SlsaBuilder),+ -- | The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.+ materials :: (Core.Maybe [Material]),+ metadata :: (Core.Maybe SlsaMetadata),+ -- | Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required+ recipe :: (Core.Maybe SlsaRecipe)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaProvenance' with the minimum fields required to make a request.+newSlsaProvenance ::+ SlsaProvenance+newSlsaProvenance =+ SlsaProvenance+ { builder = Core.Nothing,+ materials = Core.Nothing,+ metadata = Core.Nothing,+ recipe = Core.Nothing+ }++instance Core.FromJSON SlsaProvenance where+ parseJSON =+ Core.withObject+ "SlsaProvenance"+ ( \o ->+ SlsaProvenance+ Core.<$> (o Core..:? "builder")+ Core.<*> (o Core..:? "materials")+ Core.<*> (o Core..:? "metadata")+ Core.<*> (o Core..:? "recipe")+ )++instance Core.ToJSON SlsaProvenance where+ toJSON SlsaProvenance {..} =+ Core.object+ ( Core.catMaybes+ [ ("builder" Core..=) Core.<$> builder,+ ("materials" Core..=) Core.<$> materials,+ ("metadata" Core..=) Core.<$> metadata,+ ("recipe" Core..=) Core.<$> recipe+ ]+ )++-- | Keep in sync with schema at https:\/\/github.com\/slsa-framework\/slsa\/blob\/main\/docs\/provenance\/schema\/v1\/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.+--+-- /See:/ 'newSlsaProvenanceV1' smart constructor.+data SlsaProvenanceV1 = SlsaProvenanceV1+ { buildDefinition :: (Core.Maybe BuildDefinition),+ runDetails :: (Core.Maybe RunDetails)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaProvenanceV1' with the minimum fields required to make a request.+newSlsaProvenanceV1 ::+ SlsaProvenanceV1+newSlsaProvenanceV1 =+ SlsaProvenanceV1+ { buildDefinition = Core.Nothing,+ runDetails = Core.Nothing+ }++instance Core.FromJSON SlsaProvenanceV1 where+ parseJSON =+ Core.withObject+ "SlsaProvenanceV1"+ ( \o ->+ SlsaProvenanceV1+ Core.<$> (o Core..:? "buildDefinition")+ Core.<*> (o Core..:? "runDetails")+ )++instance Core.ToJSON SlsaProvenanceV1 where+ toJSON SlsaProvenanceV1 {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildDefinition" Core..=) Core.<$> buildDefinition,+ ("runDetails" Core..=) Core.<$> runDetails+ ]+ )++-- | See full explanation of fields at slsa.dev\/provenance\/v0.2.+--+-- /See:/ 'newSlsaProvenanceZeroTwo' smart constructor.+data SlsaProvenanceZeroTwo = SlsaProvenanceZeroTwo+ { buildConfig :: (Core.Maybe SlsaProvenanceZeroTwo_BuildConfig),+ buildType :: (Core.Maybe Core.Text),+ builder :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder),+ invocation :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation),+ materials :: (Core.Maybe [GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial]),+ metadata :: (Core.Maybe GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaProvenanceZeroTwo' with the minimum fields required to make a request.+newSlsaProvenanceZeroTwo ::+ SlsaProvenanceZeroTwo+newSlsaProvenanceZeroTwo =+ SlsaProvenanceZeroTwo+ { buildConfig = Core.Nothing,+ buildType = Core.Nothing,+ builder = Core.Nothing,+ invocation = Core.Nothing,+ materials = Core.Nothing,+ metadata = Core.Nothing+ }++instance Core.FromJSON SlsaProvenanceZeroTwo where+ parseJSON =+ Core.withObject+ "SlsaProvenanceZeroTwo"+ ( \o ->+ SlsaProvenanceZeroTwo+ Core.<$> (o Core..:? "buildConfig")+ Core.<*> (o Core..:? "buildType")+ Core.<*> (o Core..:? "builder")+ Core.<*> (o Core..:? "invocation")+ Core.<*> (o Core..:? "materials")+ Core.<*> (o Core..:? "metadata")+ )++instance Core.ToJSON SlsaProvenanceZeroTwo where+ toJSON SlsaProvenanceZeroTwo {..} =+ Core.object+ ( Core.catMaybes+ [ ("buildConfig" Core..=) Core.<$> buildConfig,+ ("buildType" Core..=) Core.<$> buildType,+ ("builder" Core..=) Core.<$> builder,+ ("invocation" Core..=) Core.<$> invocation,+ ("materials" Core..=) Core.<$> materials,+ ("metadata" Core..=) Core.<$> metadata+ ]+ )++--+-- /See:/ 'newSlsaProvenanceZeroTwo_BuildConfig' smart constructor.+newtype SlsaProvenanceZeroTwo_BuildConfig = SlsaProvenanceZeroTwo_BuildConfig+ { -- | Properties of the object.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaProvenanceZeroTwo_BuildConfig' with the minimum fields required to make a request.+newSlsaProvenanceZeroTwo_BuildConfig ::+ -- | Properties of the object. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ SlsaProvenanceZeroTwo_BuildConfig+newSlsaProvenanceZeroTwo_BuildConfig additional =+ SlsaProvenanceZeroTwo_BuildConfig {additional = additional}++instance Core.FromJSON SlsaProvenanceZeroTwo_BuildConfig where+ parseJSON =+ Core.withObject+ "SlsaProvenanceZeroTwo_BuildConfig"+ ( \o ->+ SlsaProvenanceZeroTwo_BuildConfig+ Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON SlsaProvenanceZeroTwo_BuildConfig where+ toJSON SlsaProvenanceZeroTwo_BuildConfig {..} =+ Core.toJSON additional++-- | Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.+--+-- /See:/ 'newSlsaRecipe' smart constructor.+data SlsaRecipe = SlsaRecipe+ { -- | 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.+ arguments :: (Core.Maybe SlsaRecipe_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.+ definedInMaterial :: (Core.Maybe Core.Int64),+ -- | 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.+ entryPoint :: (Core.Maybe Core.Text),+ -- | 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.+ environment :: (Core.Maybe SlsaRecipe_Environment),+ -- | URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.+ type' :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaRecipe' with the minimum fields required to make a request.+newSlsaRecipe ::+ SlsaRecipe+newSlsaRecipe =+ SlsaRecipe+ { arguments = Core.Nothing,+ definedInMaterial = Core.Nothing,+ entryPoint = Core.Nothing,+ environment = Core.Nothing,+ type' = Core.Nothing+ }++instance Core.FromJSON SlsaRecipe where+ parseJSON =+ Core.withObject+ "SlsaRecipe"+ ( \o ->+ SlsaRecipe+ Core.<$> (o Core..:? "arguments")+ Core.<*> (o Core..:? "definedInMaterial" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "entryPoint")+ Core.<*> (o Core..:? "environment")+ Core.<*> (o Core..:? "type")+ )++instance Core.ToJSON SlsaRecipe where+ toJSON SlsaRecipe {..} =+ Core.object+ ( Core.catMaybes+ [ ("arguments" Core..=) Core.<$> arguments,+ ("definedInMaterial" Core..=)+ Core.. Core.AsText+ Core.<$> definedInMaterial,+ ("entryPoint" Core..=) Core.<$> entryPoint,+ ("environment" Core..=) Core.<$> environment,+ ("type" Core..=) Core.<$> 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.+--+-- /See:/ 'newSlsaRecipe_Arguments' smart constructor.+newtype SlsaRecipe_Arguments = SlsaRecipe_Arguments+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaRecipe_Arguments' with the minimum fields required to make a request.+newSlsaRecipe_Arguments ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ SlsaRecipe_Arguments+newSlsaRecipe_Arguments additional =+ SlsaRecipe_Arguments {additional = additional}++instance Core.FromJSON SlsaRecipe_Arguments where+ parseJSON =+ Core.withObject+ "SlsaRecipe_Arguments"+ (\o -> SlsaRecipe_Arguments Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SlsaRecipe_Arguments where+ toJSON SlsaRecipe_Arguments {..} = Core.toJSON additional++-- | 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.+--+-- /See:/ 'newSlsaRecipe_Environment' smart constructor.+newtype SlsaRecipe_Environment = SlsaRecipe_Environment+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SlsaRecipe_Environment' with the minimum fields required to make a request.+newSlsaRecipe_Environment ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ SlsaRecipe_Environment+newSlsaRecipe_Environment additional =+ SlsaRecipe_Environment {additional = additional}++instance Core.FromJSON SlsaRecipe_Environment where+ parseJSON =+ Core.withObject+ "SlsaRecipe_Environment"+ (\o -> SlsaRecipe_Environment Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SlsaRecipe_Environment where+ toJSON SlsaRecipe_Environment {..} = Core.toJSON additional++-- | Source describes the location of the source used for the build.+--+-- /See:/ 'newSource' smart constructor.+data Source = Source+ { -- | If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.+ additionalContexts :: (Core.Maybe [SourceContext]),+ -- | If provided, the input binary artifacts for the build came from this location.+ artifactStorageSourceUri :: (Core.Maybe Core.Text),+ -- | If provided, the source code used for the build came from this location.+ context :: (Core.Maybe SourceContext),+ -- | Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.+ fileHashes :: (Core.Maybe Source_FileHashes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Source' with the minimum fields required to make a request.+newSource ::+ Source+newSource =+ Source+ { additionalContexts = Core.Nothing,+ artifactStorageSourceUri = Core.Nothing,+ context = Core.Nothing,+ fileHashes = Core.Nothing+ }++instance Core.FromJSON Source where+ parseJSON =+ Core.withObject+ "Source"+ ( \o ->+ Source+ Core.<$> (o Core..:? "additionalContexts")+ Core.<*> (o Core..:? "artifactStorageSourceUri")+ Core.<*> (o Core..:? "context")+ Core.<*> (o Core..:? "fileHashes")+ )++instance Core.ToJSON Source where+ toJSON Source {..} =+ Core.object+ ( Core.catMaybes+ [ ("additionalContexts" Core..=) Core.<$> additionalContexts,+ ("artifactStorageSourceUri" Core..=)+ Core.<$> artifactStorageSourceUri,+ ("context" Core..=) Core.<$> context,+ ("fileHashes" Core..=) Core.<$> fileHashes+ ]+ )++-- | Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.+--+-- /See:/ 'newSource_FileHashes' smart constructor.+newtype Source_FileHashes = Source_FileHashes+ { additional :: (Core.HashMap Core.Text FileHashes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Source_FileHashes' with the minimum fields required to make a request.+newSource_FileHashes ::+ -- | See 'additional'.+ Core.HashMap Core.Text FileHashes ->+ Source_FileHashes+newSource_FileHashes additional =+ Source_FileHashes {additional = additional}++instance Core.FromJSON Source_FileHashes where+ parseJSON =+ Core.withObject+ "Source_FileHashes"+ (\o -> Source_FileHashes Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Source_FileHashes where+ toJSON Source_FileHashes {..} = Core.toJSON additional++-- | A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.+--+-- /See:/ 'newSourceContext' smart constructor.+data SourceContext = SourceContext+ { -- | A SourceContext referring to a revision in a Google Cloud Source Repo.+ cloudRepo :: (Core.Maybe CloudRepoSourceContext),+ -- | A SourceContext referring to a Gerrit project.+ gerrit :: (Core.Maybe GerritSourceContext),+ -- | A SourceContext referring to any third party Git repo (e.g., GitHub).+ git :: (Core.Maybe GitSourceContext),+ -- | Labels with user defined metadata.+ labels :: (Core.Maybe SourceContext_Labels)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SourceContext' with the minimum fields required to make a request.+newSourceContext ::+ SourceContext+newSourceContext =+ SourceContext+ { cloudRepo = Core.Nothing,+ gerrit = Core.Nothing,+ git = Core.Nothing,+ labels = Core.Nothing+ }++instance Core.FromJSON SourceContext where+ parseJSON =+ Core.withObject+ "SourceContext"+ ( \o ->+ SourceContext+ Core.<$> (o Core..:? "cloudRepo")+ Core.<*> (o Core..:? "gerrit")+ Core.<*> (o Core..:? "git")+ Core.<*> (o Core..:? "labels")+ )++instance Core.ToJSON SourceContext where+ toJSON SourceContext {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudRepo" Core..=) Core.<$> cloudRepo,+ ("gerrit" Core..=) Core.<$> gerrit,+ ("git" Core..=) Core.<$> git,+ ("labels" Core..=) Core.<$> labels+ ]+ )++-- | Labels with user defined metadata.+--+-- /See:/ 'newSourceContext_Labels' smart constructor.+newtype SourceContext_Labels = SourceContext_Labels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SourceContext_Labels' with the minimum fields required to make a request.+newSourceContext_Labels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ SourceContext_Labels+newSourceContext_Labels additional =+ SourceContext_Labels {additional = additional}++instance Core.FromJSON SourceContext_Labels where+ parseJSON =+ Core.withObject+ "SourceContext_Labels"+ (\o -> SourceContext_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SourceContext_Labels where+ toJSON SourceContext_Labels {..} = Core.toJSON additional++-- | The @Status@ type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by <https://github.com/grpc gRPC>. Each @Status@ message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the <https://cloud.google.com/apis/design/errors API Design Guide>.+--+-- /See:/ 'newStatus' smart constructor.+data Status = Status+ { -- | The status code, which should be an enum value of google.rpc.Code.+ code :: (Core.Maybe Core.Int32),+ -- | A list of messages that carry the error details. There is a common set of message types for APIs to use.+ details :: (Core.Maybe [Status_DetailsItem]),+ -- | A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.+ message :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Status' with the minimum fields required to make a request.+newStatus ::+ Status+newStatus =+ Status+ { code = Core.Nothing,+ details = Core.Nothing,+ message = Core.Nothing+ }++instance Core.FromJSON Status where+ parseJSON =+ Core.withObject+ "Status"+ ( \o ->+ Status+ Core.<$> (o Core..:? "code")+ Core.<*> (o Core..:? "details")+ Core.<*> (o Core..:? "message")+ )++instance Core.ToJSON Status where+ toJSON Status {..} =+ Core.object+ ( Core.catMaybes+ [ ("code" Core..=) Core.<$> code,+ ("details" Core..=) Core.<$> details,+ ("message" Core..=) Core.<$> message+ ]+ )++--+-- /See:/ 'newStatus_DetailsItem' smart constructor.+newtype Status_DetailsItem = Status_DetailsItem+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Status_DetailsItem' with the minimum fields required to make a request.+newStatus_DetailsItem ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ Status_DetailsItem+newStatus_DetailsItem additional =+ Status_DetailsItem {additional = additional}++instance Core.FromJSON Status_DetailsItem where+ parseJSON =+ Core.withObject+ "Status_DetailsItem"+ (\o -> Status_DetailsItem Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Status_DetailsItem where+ toJSON Status_DetailsItem {..} = Core.toJSON additional++--+-- /See:/ 'newSubject' smart constructor.+data Subject = Subject+ { -- | @\"\": \"\"@ Algorithms can be e.g. sha256, sha512 See https:\/\/github.com\/in-toto\/attestation\/blob\/main\/spec\/field_types.md#DigestSet+ digest :: (Core.Maybe Subject_Digest),+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Subject' with the minimum fields required to make a request.+newSubject ::+ Subject+newSubject = Subject {digest = Core.Nothing, name = Core.Nothing}++instance Core.FromJSON Subject where+ parseJSON =+ Core.withObject+ "Subject"+ ( \o ->+ Subject+ Core.<$> (o Core..:? "digest")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON Subject where+ toJSON Subject {..} =+ Core.object+ ( Core.catMaybes+ [ ("digest" Core..=) Core.<$> digest,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | @\"\": \"\"@ Algorithms can be e.g. sha256, sha512 See https:\/\/github.com\/in-toto\/attestation\/blob\/main\/spec\/field_types.md#DigestSet+--+-- /See:/ 'newSubject_Digest' smart constructor.+newtype Subject_Digest = Subject_Digest+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Subject_Digest' with the minimum fields required to make a request.+newSubject_Digest ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ Subject_Digest+newSubject_Digest additional =+ Subject_Digest {additional = additional}++instance Core.FromJSON Subject_Digest where+ parseJSON =+ Core.withObject+ "Subject_Digest"+ (\o -> Subject_Digest Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Subject_Digest where+ toJSON Subject_Digest {..} = Core.toJSON additional++-- | Request message for @TestIamPermissions@ method.+--+-- /See:/ 'newTestIamPermissionsRequest' smart constructor.+newtype TestIamPermissionsRequest = TestIamPermissionsRequest+ { -- | The set of permissions to check for the @resource@. Permissions with wildcards (such as @*@ or @storage.*@) are not allowed. For more information see <https://cloud.google.com/iam/docs/overview#permissions IAM Overview>.+ permissions :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TestIamPermissionsRequest' with the minimum fields required to make a request.+newTestIamPermissionsRequest ::+ TestIamPermissionsRequest+newTestIamPermissionsRequest =+ TestIamPermissionsRequest {permissions = Core.Nothing}++instance Core.FromJSON TestIamPermissionsRequest where+ parseJSON =+ Core.withObject+ "TestIamPermissionsRequest"+ ( \o ->+ TestIamPermissionsRequest Core.<$> (o Core..:? "permissions")+ )++instance Core.ToJSON TestIamPermissionsRequest where+ toJSON TestIamPermissionsRequest {..} =+ Core.object+ (Core.catMaybes [("permissions" Core..=) Core.<$> permissions])++-- | Response message for @TestIamPermissions@ method.+--+-- /See:/ 'newTestIamPermissionsResponse' smart constructor.+newtype TestIamPermissionsResponse = TestIamPermissionsResponse+ { -- | A subset of @TestPermissionsRequest.permissions@ that the caller is allowed.+ permissions :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TestIamPermissionsResponse' with the minimum fields required to make a request.+newTestIamPermissionsResponse ::+ TestIamPermissionsResponse+newTestIamPermissionsResponse =+ TestIamPermissionsResponse {permissions = Core.Nothing}++instance Core.FromJSON TestIamPermissionsResponse where+ parseJSON =+ Core.withObject+ "TestIamPermissionsResponse"+ ( \o ->+ TestIamPermissionsResponse Core.<$> (o Core..:? "permissions")+ )++instance Core.ToJSON TestIamPermissionsResponse where+ toJSON TestIamPermissionsResponse {..} =+ Core.object+ (Core.catMaybes [("permissions" Core..=) Core.<$> permissions])++-- | Start and end times for a build execution phase. Next ID: 3+--+-- /See:/ 'newTimeSpan' smart constructor.+data TimeSpan = TimeSpan+ { -- | End of time span.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Start of time span.+ startTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TimeSpan' with the minimum fields required to make a request.+newTimeSpan ::+ TimeSpan+newTimeSpan =+ TimeSpan {endTime = Core.Nothing, startTime = Core.Nothing}++instance Core.FromJSON TimeSpan where+ parseJSON =+ Core.withObject+ "TimeSpan"+ ( \o ->+ TimeSpan+ Core.<$> (o Core..:? "endTime")+ Core.<*> (o Core..:? "startTime")+ )++instance Core.ToJSON TimeSpan where+ toJSON TimeSpan {..} =+ Core.object+ ( Core.catMaybes+ [ ("endTime" Core..=) Core.<$> endTime,+ ("startTime" Core..=) Core.<$> startTime+ ]+ )++-- | The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.+--+-- /See:/ 'newUpgradeDistribution' smart constructor.+data UpgradeDistribution = UpgradeDistribution+ { -- | The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https:\/\/docs.microsoft.com\/en-us\/previous-versions\/windows\/desktop\/ff357803(v=vs.85)+ classification :: (Core.Maybe Core.Text),+ -- | Required - The specific operating system this metadata applies to. See https:\/\/cpe.mitre.org\/specification\/.+ cpeUri :: (Core.Maybe Core.Text),+ -- | The cve tied to this Upgrade.+ cve :: (Core.Maybe [Core.Text]),+ -- | The severity as specified by the upstream operating system.+ severity :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UpgradeDistribution' with the minimum fields required to make a request.+newUpgradeDistribution ::+ UpgradeDistribution+newUpgradeDistribution =+ UpgradeDistribution+ { classification = Core.Nothing,+ cpeUri = Core.Nothing,+ cve = Core.Nothing,+ severity = Core.Nothing+ }++instance Core.FromJSON UpgradeDistribution where+ parseJSON =+ Core.withObject+ "UpgradeDistribution"+ ( \o ->+ UpgradeDistribution+ Core.<$> (o Core..:? "classification")+ Core.<*> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "cve")+ Core.<*> (o Core..:? "severity")+ )++instance Core.ToJSON UpgradeDistribution where+ toJSON UpgradeDistribution {..} =+ Core.object+ ( Core.catMaybes+ [ ("classification" Core..=) Core.<$> classification,+ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("cve" Core..=) Core.<$> cve,+ ("severity" Core..=) Core.<$> severity+ ]+ )++-- | An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update.+--+-- /See:/ 'newUpgradeNote' smart constructor.+data UpgradeNote = UpgradeNote+ { -- | Metadata about the upgrade for each specific operating system.+ distributions :: (Core.Maybe [UpgradeDistribution]),+ -- | Required for non-Windows OS. The package this Upgrade is for.+ package :: (Core.Maybe Core.Text),+ -- | Required for non-Windows OS. The version of the package in machine + human readable form.+ version :: (Core.Maybe Version),+ -- | Required for Windows OS. Represents the metadata about the Windows update.+ windowsUpdate :: (Core.Maybe WindowsUpdate)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UpgradeNote' with the minimum fields required to make a request.+newUpgradeNote ::+ UpgradeNote+newUpgradeNote =+ UpgradeNote+ { distributions = Core.Nothing,+ package = Core.Nothing,+ version = Core.Nothing,+ windowsUpdate = Core.Nothing+ }++instance Core.FromJSON UpgradeNote where+ parseJSON =+ Core.withObject+ "UpgradeNote"+ ( \o ->+ UpgradeNote+ Core.<$> (o Core..:? "distributions")+ Core.<*> (o Core..:? "package")+ Core.<*> (o Core..:? "version")+ Core.<*> (o Core..:? "windowsUpdate")+ )++instance Core.ToJSON UpgradeNote where+ toJSON UpgradeNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("distributions" Core..=) Core.<$> distributions,+ ("package" Core..=) Core.<$> package,+ ("version" Core..=) Core.<$> version,+ ("windowsUpdate" Core..=) Core.<$> windowsUpdate+ ]+ )++-- | An Upgrade Occurrence represents that a specific resource/url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows/update contain information for the Windows update.+--+-- /See:/ 'newUpgradeOccurrence' smart constructor.+data UpgradeOccurrence = UpgradeOccurrence+ { -- | Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.+ distribution :: (Core.Maybe UpgradeDistribution),+ -- | Required for non-Windows OS. The package this Upgrade is for.+ package :: (Core.Maybe Core.Text),+ -- | Required for non-Windows OS. The version of the package in a machine + human readable form.+ parsedVersion :: (Core.Maybe Version),+ -- | Required for Windows OS. Represents the metadata about the Windows update.+ windowsUpdate :: (Core.Maybe WindowsUpdate)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UpgradeOccurrence' with the minimum fields required to make a request.+newUpgradeOccurrence ::+ UpgradeOccurrence+newUpgradeOccurrence =+ UpgradeOccurrence+ { distribution = Core.Nothing,+ package = Core.Nothing,+ parsedVersion = Core.Nothing,+ windowsUpdate = Core.Nothing+ }++instance Core.FromJSON UpgradeOccurrence where+ parseJSON =+ Core.withObject+ "UpgradeOccurrence"+ ( \o ->+ UpgradeOccurrence+ Core.<$> (o Core..:? "distribution")+ Core.<*> (o Core..:? "package")+ Core.<*> (o Core..:? "parsedVersion")+ Core.<*> (o Core..:? "windowsUpdate")+ )++instance Core.ToJSON UpgradeOccurrence where+ toJSON UpgradeOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("distribution" Core..=) Core.<$> distribution,+ ("package" Core..=) Core.<$> package,+ ("parsedVersion" Core..=) Core.<$> parsedVersion,+ ("windowsUpdate" Core..=) Core.<$> windowsUpdate+ ]+ )++-- | Version contains structured information about the version of a package.+--+-- /See:/ 'newVersion' smart constructor.+data Version = Version+ { -- | Used to correct mistakes in the version numbering scheme.+ epoch :: (Core.Maybe Core.Int32),+ -- | Human readable version string. This string is of the form :- and is only set when kind is NORMAL.+ fullName :: (Core.Maybe Core.Text),+ -- | Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.+ inclusive :: (Core.Maybe Core.Bool),+ -- | Required. Distinguishes between sentinel MIN\/MAX versions and normal versions.+ kind :: (Core.Maybe Version_Kind),+ -- | Required only when version kind is NORMAL. The main part of the version name.+ name :: (Core.Maybe Core.Text),+ -- | The iteration of the package build from the above version.+ revision :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Version' with the minimum fields required to make a request.+newVersion ::+ Version+newVersion =+ Version+ { epoch = Core.Nothing,+ fullName = Core.Nothing,+ inclusive = Core.Nothing,+ kind = Core.Nothing,+ name = Core.Nothing,+ revision = Core.Nothing+ }++instance Core.FromJSON Version where+ parseJSON =+ Core.withObject+ "Version"+ ( \o ->+ Version+ Core.<$> (o Core..:? "epoch")+ Core.<*> (o Core..:? "fullName")+ Core.<*> (o Core..:? "inclusive")+ Core.<*> (o Core..:? "kind")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "revision")+ )++instance Core.ToJSON Version where+ toJSON Version {..} =+ Core.object+ ( Core.catMaybes+ [ ("epoch" Core..=) Core.<$> epoch,+ ("fullName" Core..=) Core.<$> fullName,+ ("inclusive" Core..=) Core.<$> inclusive,+ ("kind" Core..=) Core.<$> kind,+ ("name" Core..=) Core.<$> name,+ ("revision" Core..=) Core.<$> revision+ ]+ )++-- | VexAssessment provides all publisher provided Vex information that is related to this vulnerability.+--+-- /See:/ 'newVexAssessment' smart constructor.+data VexAssessment = VexAssessment+ { -- | Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.+ cve :: (Core.Maybe Core.Text),+ -- | Contains information about the impact of this vulnerability, this will change with time.+ impacts :: (Core.Maybe [Core.Text]),+ -- | Justification provides the justification when the state of the assessment if NOT_AFFECTED.+ justification :: (Core.Maybe Justification),+ -- | The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@.+ noteName :: (Core.Maybe Core.Text),+ -- | Holds a list of references associated with this vulnerability item and assessment.+ relatedUris :: (Core.Maybe [RelatedUrl]),+ -- | Specifies details on how to handle (and presumably, fix) a vulnerability.+ remediations :: (Core.Maybe [Remediation]),+ -- | Provides the state of this Vulnerability assessment.+ state :: (Core.Maybe VexAssessment_State),+ -- | The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.+ vulnerabilityId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VexAssessment' with the minimum fields required to make a request.+newVexAssessment ::+ VexAssessment+newVexAssessment =+ VexAssessment+ { cve = Core.Nothing,+ impacts = Core.Nothing,+ justification = Core.Nothing,+ noteName = Core.Nothing,+ relatedUris = Core.Nothing,+ remediations = Core.Nothing,+ state = Core.Nothing,+ vulnerabilityId = Core.Nothing+ }++instance Core.FromJSON VexAssessment where+ parseJSON =+ Core.withObject+ "VexAssessment"+ ( \o ->+ VexAssessment+ Core.<$> (o Core..:? "cve")+ Core.<*> (o Core..:? "impacts")+ Core.<*> (o Core..:? "justification")+ Core.<*> (o Core..:? "noteName")+ Core.<*> (o Core..:? "relatedUris")+ Core.<*> (o Core..:? "remediations")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "vulnerabilityId")+ )++instance Core.ToJSON VexAssessment where+ toJSON VexAssessment {..} =+ Core.object+ ( Core.catMaybes+ [ ("cve" Core..=) Core.<$> cve,+ ("impacts" Core..=) Core.<$> impacts,+ ("justification" Core..=) Core.<$> justification,+ ("noteName" Core..=) Core.<$> noteName,+ ("relatedUris" Core..=) Core.<$> relatedUris,+ ("remediations" Core..=) Core.<$> remediations,+ ("state" Core..=) Core.<$> state,+ ("vulnerabilityId" Core..=) Core.<$> vulnerabilityId+ ]+ )++-- | Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution. Next ID: 3+--+-- /See:/ 'newVolume' smart constructor.+data Volume = Volume+ { -- | Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.+ name :: (Core.Maybe Core.Text),+ -- | Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.+ path :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Volume' with the minimum fields required to make a request.+newVolume ::+ Volume+newVolume = Volume {name = Core.Nothing, path = Core.Nothing}++instance Core.FromJSON Volume where+ parseJSON =+ Core.withObject+ "Volume"+ ( \o ->+ Volume Core.<$> (o Core..:? "name") Core.<*> (o Core..:? "path")+ )++instance Core.ToJSON Volume where+ toJSON Volume {..} =+ Core.object+ ( Core.catMaybes+ [("name" Core..=) Core.<$> name, ("path" Core..=) Core.<$> path]+ )++-- | A single VulnerabilityAssessmentNote represents one particular product\'s vulnerability assessment for one CVE.+--+-- /See:/ 'newVulnerabilityAssessmentNote' smart constructor.+data VulnerabilityAssessmentNote = VulnerabilityAssessmentNote+ { -- | Represents a vulnerability assessment for the product.+ assessment :: (Core.Maybe Assessment),+ -- | Identifies the language used by this document, corresponding to IETF BCP 47 \/ RFC 5646.+ languageCode :: (Core.Maybe Core.Text),+ -- | A detailed description of this Vex.+ longDescription :: (Core.Maybe Core.Text),+ -- | The product affected by this vex.+ product :: (Core.Maybe Product),+ -- | Publisher details of this Note.+ publisher :: (Core.Maybe Publisher),+ -- | A one sentence description of this Vex.+ shortDescription :: (Core.Maybe Core.Text),+ -- | The title of the note. E.g. @Vex-Debian-11.4@+ title :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VulnerabilityAssessmentNote' with the minimum fields required to make a request.+newVulnerabilityAssessmentNote ::+ VulnerabilityAssessmentNote+newVulnerabilityAssessmentNote =+ VulnerabilityAssessmentNote+ { assessment = Core.Nothing,+ languageCode = Core.Nothing,+ longDescription = Core.Nothing,+ product = Core.Nothing,+ publisher = Core.Nothing,+ shortDescription = Core.Nothing,+ title = Core.Nothing+ }++instance Core.FromJSON VulnerabilityAssessmentNote where+ parseJSON =+ Core.withObject+ "VulnerabilityAssessmentNote"+ ( \o ->+ VulnerabilityAssessmentNote+ Core.<$> (o Core..:? "assessment")+ Core.<*> (o Core..:? "languageCode")+ Core.<*> (o Core..:? "longDescription")+ Core.<*> (o Core..:? "product")+ Core.<*> (o Core..:? "publisher")+ Core.<*> (o Core..:? "shortDescription")+ Core.<*> (o Core..:? "title")+ )++instance Core.ToJSON VulnerabilityAssessmentNote where+ toJSON VulnerabilityAssessmentNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("assessment" Core..=) Core.<$> assessment,+ ("languageCode" Core..=) Core.<$> languageCode,+ ("longDescription" Core..=) Core.<$> longDescription,+ ("product" Core..=) Core.<$> product,+ ("publisher" Core..=) Core.<$> publisher,+ ("shortDescription" Core..=) Core.<$> shortDescription,+ ("title" Core..=) Core.<$> title+ ]+ )++-- | A security vulnerability that can be found in resources.+--+-- /See:/ 'newVulnerabilityNote' smart constructor.+data VulnerabilityNote = VulnerabilityNote+ { -- | The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.+ cvssScore :: (Core.Maybe Core.Double),+ -- | The full description of the v2 CVSS for this vulnerability.+ cvssV2 :: (Core.Maybe CVSS),+ -- | The full description of the CVSSv3 for this vulnerability.+ cvssV3 :: (Core.Maybe CVSSv3),+ -- | CVSS version used to populate cvss_score and severity.+ cvssVersion :: (Core.Maybe VulnerabilityNote_CvssVersion),+ -- | Details of all known distros and packages affected by this vulnerability.+ details :: (Core.Maybe [Detail]),+ -- | The note provider assigned severity of this vulnerability.+ severity :: (Core.Maybe VulnerabilityNote_Severity),+ -- | The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.+ sourceUpdateTime :: (Core.Maybe Core.DateTime),+ -- | Windows details get their own format because the information format and model don\'t match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.+ windowsDetails :: (Core.Maybe [WindowsDetail])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VulnerabilityNote' with the minimum fields required to make a request.+newVulnerabilityNote ::+ VulnerabilityNote+newVulnerabilityNote =+ VulnerabilityNote+ { cvssScore = Core.Nothing,+ cvssV2 = Core.Nothing,+ cvssV3 = Core.Nothing,+ cvssVersion = Core.Nothing,+ details = Core.Nothing,+ severity = Core.Nothing,+ sourceUpdateTime = Core.Nothing,+ windowsDetails = Core.Nothing+ }++instance Core.FromJSON VulnerabilityNote where+ parseJSON =+ Core.withObject+ "VulnerabilityNote"+ ( \o ->+ VulnerabilityNote+ Core.<$> (o Core..:? "cvssScore")+ Core.<*> (o Core..:? "cvssV2")+ Core.<*> (o Core..:? "cvssV3")+ Core.<*> (o Core..:? "cvssVersion")+ Core.<*> (o Core..:? "details")+ Core.<*> (o Core..:? "severity")+ Core.<*> (o Core..:? "sourceUpdateTime")+ Core.<*> (o Core..:? "windowsDetails")+ )++instance Core.ToJSON VulnerabilityNote where+ toJSON VulnerabilityNote {..} =+ Core.object+ ( Core.catMaybes+ [ ("cvssScore" Core..=) Core.<$> cvssScore,+ ("cvssV2" Core..=) Core.<$> cvssV2,+ ("cvssV3" Core..=) Core.<$> cvssV3,+ ("cvssVersion" Core..=) Core.<$> cvssVersion,+ ("details" Core..=) Core.<$> details,+ ("severity" Core..=) Core.<$> severity,+ ("sourceUpdateTime" Core..=) Core.<$> sourceUpdateTime,+ ("windowsDetails" Core..=) Core.<$> windowsDetails+ ]+ )++-- | An occurrence of a severity vulnerability on a resource.+--+-- /See:/ 'newVulnerabilityOccurrence' smart constructor.+data VulnerabilityOccurrence = VulnerabilityOccurrence+ { -- | Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.+ cvssScore :: (Core.Maybe Core.Double),+ -- | The cvss v2 score for the vulnerability.+ cvssV2 :: (Core.Maybe CVSS),+ -- | Output only. CVSS version used to populate cvss_score and severity.+ cvssVersion :: (Core.Maybe VulnerabilityOccurrence_CvssVersion),+ -- | The cvss v3 score for the vulnerability.+ cvssv3 :: (Core.Maybe CVSS),+ -- | The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.+ effectiveSeverity :: (Core.Maybe VulnerabilityOccurrence_EffectiveSeverity),+ -- | Occurrence-specific extra details about the vulnerability.+ extraDetails :: (Core.Maybe Core.Text),+ -- | Output only. Whether at least one of the affected packages has a fix available.+ fixAvailable :: (Core.Maybe Core.Bool),+ -- | Output only. A detailed description of this vulnerability.+ longDescription :: (Core.Maybe Core.Text),+ -- | Required. The set of affected locations and their fixes (if available) within the associated resource.+ packageIssue :: (Core.Maybe [PackageIssue]),+ -- | Output only. URLs related to this vulnerability.+ relatedUrls :: (Core.Maybe [RelatedUrl]),+ -- | Output only. The note provider assigned severity of this vulnerability.+ severity :: (Core.Maybe VulnerabilityOccurrence_Severity),+ -- | Output only. A one sentence description of this vulnerability.+ shortDescription :: (Core.Maybe Core.Text),+ -- | The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).+ type' :: (Core.Maybe Core.Text),+ vexAssessment :: (Core.Maybe VexAssessment)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VulnerabilityOccurrence' with the minimum fields required to make a request.+newVulnerabilityOccurrence ::+ VulnerabilityOccurrence+newVulnerabilityOccurrence =+ VulnerabilityOccurrence+ { cvssScore = Core.Nothing,+ cvssV2 = Core.Nothing,+ cvssVersion = Core.Nothing,+ cvssv3 = Core.Nothing,+ effectiveSeverity = Core.Nothing,+ extraDetails = Core.Nothing,+ fixAvailable = Core.Nothing,+ longDescription = Core.Nothing,+ packageIssue = Core.Nothing,+ relatedUrls = Core.Nothing,+ severity = Core.Nothing,+ shortDescription = Core.Nothing,+ type' = Core.Nothing,+ vexAssessment = Core.Nothing+ }++instance Core.FromJSON VulnerabilityOccurrence where+ parseJSON =+ Core.withObject+ "VulnerabilityOccurrence"+ ( \o ->+ VulnerabilityOccurrence+ Core.<$> (o Core..:? "cvssScore")+ Core.<*> (o Core..:? "cvssV2")+ Core.<*> (o Core..:? "cvssVersion")+ Core.<*> (o Core..:? "cvssv3")+ Core.<*> (o Core..:? "effectiveSeverity")+ Core.<*> (o Core..:? "extraDetails")+ Core.<*> (o Core..:? "fixAvailable")+ Core.<*> (o Core..:? "longDescription")+ Core.<*> (o Core..:? "packageIssue")+ Core.<*> (o Core..:? "relatedUrls")+ Core.<*> (o Core..:? "severity")+ Core.<*> (o Core..:? "shortDescription")+ Core.<*> (o Core..:? "type")+ Core.<*> (o Core..:? "vexAssessment")+ )++instance Core.ToJSON VulnerabilityOccurrence where+ toJSON VulnerabilityOccurrence {..} =+ Core.object+ ( Core.catMaybes+ [ ("cvssScore" Core..=) Core.<$> cvssScore,+ ("cvssV2" Core..=) Core.<$> cvssV2,+ ("cvssVersion" Core..=) Core.<$> cvssVersion,+ ("cvssv3" Core..=) Core.<$> cvssv3,+ ("effectiveSeverity" Core..=) Core.<$> effectiveSeverity,+ ("extraDetails" Core..=) Core.<$> extraDetails,+ ("fixAvailable" Core..=) Core.<$> fixAvailable,+ ("longDescription" Core..=) Core.<$> longDescription,+ ("packageIssue" Core..=) Core.<$> packageIssue,+ ("relatedUrls" Core..=) Core.<$> relatedUrls,+ ("severity" Core..=) Core.<$> severity,+ ("shortDescription" Core..=) Core.<$> shortDescription,+ ("type" Core..=) Core.<$> type',+ ("vexAssessment" Core..=) Core.<$> vexAssessment+ ]+ )++-- | A summary of how many vulnerability occurrences there are per resource and severity type.+--+-- /See:/ 'newVulnerabilityOccurrencesSummary' smart constructor.+newtype VulnerabilityOccurrencesSummary = VulnerabilityOccurrencesSummary+ { -- | A listing by resource of the number of fixable and total vulnerabilities.+ counts :: (Core.Maybe [FixableTotalByDigest])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VulnerabilityOccurrencesSummary' with the minimum fields required to make a request.+newVulnerabilityOccurrencesSummary ::+ VulnerabilityOccurrencesSummary+newVulnerabilityOccurrencesSummary =+ VulnerabilityOccurrencesSummary {counts = Core.Nothing}++instance Core.FromJSON VulnerabilityOccurrencesSummary where+ parseJSON =+ Core.withObject+ "VulnerabilityOccurrencesSummary"+ ( \o ->+ VulnerabilityOccurrencesSummary Core.<$> (o Core..:? "counts")+ )++instance Core.ToJSON VulnerabilityOccurrencesSummary where+ toJSON VulnerabilityOccurrencesSummary {..} =+ Core.object (Core.catMaybes [("counts" Core..=) Core.<$> counts])++--+-- /See:/ 'newWindowsDetail' smart constructor.+data WindowsDetail = WindowsDetail+ { -- | Required. The <https://cpe.mitre.org/specification/ CPE URI> this vulnerability affects.+ cpeUri :: (Core.Maybe Core.Text),+ -- | The description of this vulnerability.+ description :: (Core.Maybe Core.Text),+ -- | Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix.+ fixingKbs :: (Core.Maybe [KnowledgeBase]),+ -- | Required. The name of this vulnerability.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WindowsDetail' with the minimum fields required to make a request.+newWindowsDetail ::+ WindowsDetail+newWindowsDetail =+ WindowsDetail+ { cpeUri = Core.Nothing,+ description = Core.Nothing,+ fixingKbs = Core.Nothing,+ name = Core.Nothing+ }++instance Core.FromJSON WindowsDetail where+ parseJSON =+ Core.withObject+ "WindowsDetail"+ ( \o ->+ WindowsDetail+ Core.<$> (o Core..:? "cpeUri")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "fixingKbs")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON WindowsDetail where+ toJSON WindowsDetail {..} =+ Core.object+ ( Core.catMaybes+ [ ("cpeUri" Core..=) Core.<$> cpeUri,+ ("description" Core..=) Core.<$> description,+ ("fixingKbs" Core..=) Core.<$> fixingKbs,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/wuapi\/nn-wuapi-iupdate.+--+-- /See:/ 'newWindowsUpdate' smart constructor.+data WindowsUpdate = WindowsUpdate+ { -- | The list of categories to which the update belongs.+ categories :: (Core.Maybe [Category]),+ -- | The localized description of the update.+ description :: (Core.Maybe Core.Text),+ -- | Required - The unique identifier for the update.+ identity :: (Core.Maybe Identity),+ -- | The Microsoft Knowledge Base article IDs that are associated with the update.+ kbArticleIds :: (Core.Maybe [Core.Text]),+ -- | The last published timestamp of the update.+ lastPublishedTimestamp :: (Core.Maybe Core.DateTime),+ -- | The hyperlink to the support information for the update.+ supportUrl :: (Core.Maybe Core.Text),+ -- | The localized title of the update.+ title :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WindowsUpdate' with the minimum fields required to make a request.+newWindowsUpdate ::+ WindowsUpdate+newWindowsUpdate =+ WindowsUpdate+ { categories = Core.Nothing,+ description = Core.Nothing,+ identity = Core.Nothing,+ kbArticleIds = Core.Nothing,+ lastPublishedTimestamp = Core.Nothing,+ supportUrl = Core.Nothing,+ title = Core.Nothing+ }++instance Core.FromJSON WindowsUpdate where+ parseJSON =+ Core.withObject+ "WindowsUpdate"+ ( \o ->+ WindowsUpdate+ Core.<$> (o Core..:? "categories")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "identity")+ Core.<*> (o Core..:? "kbArticleIds")+ Core.<*> (o Core..:? "lastPublishedTimestamp")+ Core.<*> (o Core..:? "supportUrl")+ Core.<*> (o Core..:? "title")+ )++instance Core.ToJSON WindowsUpdate where+ toJSON WindowsUpdate {..} =+ Core.object+ ( Core.catMaybes+ [ ("categories" Core..=) Core.<$> categories,+ ("description" Core..=) Core.<$> description,+ ("identity" Core..=) Core.<$> identity,+ ("kbArticleIds" Core..=) Core.<$> kbArticleIds,+ ("lastPublishedTimestamp" Core..=) Core.<$> lastPublishedTimestamp,+ ("supportUrl" Core..=) Core.<$> supportUrl,+ ("title" Core..=) Core.<$> title+ ]+ )
+ gen/Gogol/ContainerAnalysis/Internal/Sum.hs view
@@ -0,0 +1,2981 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Internal.Sum+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.ContainerAnalysis.Internal.Sum+ ( -- * Xgafv+ Xgafv+ ( Xgafv_1,+ Xgafv_2,+ ..+ ),++ -- * AliasContext_Kind+ AliasContext_Kind+ ( AliasContext_Kind_KINDUNSPECIFIED,+ AliasContext_Kind_Fixed,+ AliasContext_Kind_Movable,+ AliasContext_Kind_Other,+ ..+ ),++ -- * Assessment_State+ Assessment_State+ ( Assessment_State_STATEUNSPECIFIED,+ Assessment_State_Affected,+ Assessment_State_NOTAFFECTED,+ Assessment_State_Fixed,+ Assessment_State_UNDERINVESTIGATION,+ ..+ ),++ -- * BuildStep_Status+ BuildStep_Status+ ( BuildStep_Status_STATUSUNKNOWN,+ BuildStep_Status_Pending,+ BuildStep_Status_Queuing,+ BuildStep_Status_Queued,+ BuildStep_Status_Working,+ BuildStep_Status_Success,+ BuildStep_Status_Failure,+ BuildStep_Status_INTERNALERROR,+ BuildStep_Status_Timeout,+ BuildStep_Status_Cancelled,+ BuildStep_Status_Expired,+ ..+ ),++ -- * CVSS_AttackComplexity+ CVSS_AttackComplexity+ ( CVSS_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED,+ CVSS_AttackComplexity_ATTACKCOMPLEXITYLOW,+ CVSS_AttackComplexity_ATTACKCOMPLEXITYHIGH,+ CVSS_AttackComplexity_ATTACKCOMPLEXITYMEDIUM,+ ..+ ),++ -- * CVSS_AttackVector+ CVSS_AttackVector+ ( CVSS_AttackVector_ATTACKVECTORUNSPECIFIED,+ CVSS_AttackVector_ATTACKVECTORNETWORK,+ CVSS_AttackVector_ATTACKVECTORADJACENT,+ CVSS_AttackVector_ATTACKVECTORLOCAL,+ CVSS_AttackVector_ATTACKVECTORPHYSICAL,+ ..+ ),++ -- * CVSS_Authentication+ CVSS_Authentication+ ( CVSS_Authentication_AUTHENTICATIONUNSPECIFIED,+ CVSS_Authentication_AUTHENTICATIONMULTIPLE,+ CVSS_Authentication_AUTHENTICATIONSINGLE,+ CVSS_Authentication_AUTHENTICATIONNONE,+ ..+ ),++ -- * CVSS_AvailabilityImpact+ CVSS_AvailabilityImpact+ ( CVSS_AvailabilityImpact_IMPACTUNSPECIFIED,+ CVSS_AvailabilityImpact_IMPACTHIGH,+ CVSS_AvailabilityImpact_IMPACTLOW,+ CVSS_AvailabilityImpact_IMPACTNONE,+ CVSS_AvailabilityImpact_IMPACTPARTIAL,+ CVSS_AvailabilityImpact_IMPACTCOMPLETE,+ ..+ ),++ -- * CVSS_ConfidentialityImpact+ CVSS_ConfidentialityImpact+ ( CVSS_ConfidentialityImpact_IMPACTUNSPECIFIED,+ CVSS_ConfidentialityImpact_IMPACTHIGH,+ CVSS_ConfidentialityImpact_IMPACTLOW,+ CVSS_ConfidentialityImpact_IMPACTNONE,+ CVSS_ConfidentialityImpact_IMPACTPARTIAL,+ CVSS_ConfidentialityImpact_IMPACTCOMPLETE,+ ..+ ),++ -- * CVSS_IntegrityImpact+ CVSS_IntegrityImpact+ ( CVSS_IntegrityImpact_IMPACTUNSPECIFIED,+ CVSS_IntegrityImpact_IMPACTHIGH,+ CVSS_IntegrityImpact_IMPACTLOW,+ CVSS_IntegrityImpact_IMPACTNONE,+ CVSS_IntegrityImpact_IMPACTPARTIAL,+ CVSS_IntegrityImpact_IMPACTCOMPLETE,+ ..+ ),++ -- * CVSS_PrivilegesRequired+ CVSS_PrivilegesRequired+ ( CVSS_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED,+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDNONE,+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDLOW,+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDHIGH,+ ..+ ),++ -- * CVSS_Scope+ CVSS_Scope+ ( CVSS_Scope_SCOPEUNSPECIFIED,+ CVSS_Scope_SCOPEUNCHANGED,+ CVSS_Scope_SCOPECHANGED,+ ..+ ),++ -- * CVSS_UserInteraction+ CVSS_UserInteraction+ ( CVSS_UserInteraction_USERINTERACTIONUNSPECIFIED,+ CVSS_UserInteraction_USERINTERACTIONNONE,+ CVSS_UserInteraction_USERINTERACTIONREQUIRED,+ ..+ ),++ -- * CVSSv3_AttackComplexity+ CVSSv3_AttackComplexity+ ( CVSSv3_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED,+ CVSSv3_AttackComplexity_ATTACKCOMPLEXITYLOW,+ CVSSv3_AttackComplexity_ATTACKCOMPLEXITYHIGH,+ ..+ ),++ -- * CVSSv3_AttackVector+ CVSSv3_AttackVector+ ( CVSSv3_AttackVector_ATTACKVECTORUNSPECIFIED,+ CVSSv3_AttackVector_ATTACKVECTORNETWORK,+ CVSSv3_AttackVector_ATTACKVECTORADJACENT,+ CVSSv3_AttackVector_ATTACKVECTORLOCAL,+ CVSSv3_AttackVector_ATTACKVECTORPHYSICAL,+ ..+ ),++ -- * CVSSv3_AvailabilityImpact+ CVSSv3_AvailabilityImpact+ ( CVSSv3_AvailabilityImpact_IMPACTUNSPECIFIED,+ CVSSv3_AvailabilityImpact_IMPACTHIGH,+ CVSSv3_AvailabilityImpact_IMPACTLOW,+ CVSSv3_AvailabilityImpact_IMPACTNONE,+ ..+ ),++ -- * CVSSv3_ConfidentialityImpact+ CVSSv3_ConfidentialityImpact+ ( CVSSv3_ConfidentialityImpact_IMPACTUNSPECIFIED,+ CVSSv3_ConfidentialityImpact_IMPACTHIGH,+ CVSSv3_ConfidentialityImpact_IMPACTLOW,+ CVSSv3_ConfidentialityImpact_IMPACTNONE,+ ..+ ),++ -- * CVSSv3_IntegrityImpact+ CVSSv3_IntegrityImpact+ ( CVSSv3_IntegrityImpact_IMPACTUNSPECIFIED,+ CVSSv3_IntegrityImpact_IMPACTHIGH,+ CVSSv3_IntegrityImpact_IMPACTLOW,+ CVSSv3_IntegrityImpact_IMPACTNONE,+ ..+ ),++ -- * CVSSv3_PrivilegesRequired+ CVSSv3_PrivilegesRequired+ ( CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED,+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDNONE,+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDLOW,+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDHIGH,+ ..+ ),++ -- * CVSSv3_Scope+ CVSSv3_Scope+ ( CVSSv3_Scope_SCOPEUNSPECIFIED,+ CVSSv3_Scope_SCOPEUNCHANGED,+ CVSSv3_Scope_SCOPECHANGED,+ ..+ ),++ -- * CVSSv3_UserInteraction+ CVSSv3_UserInteraction+ ( CVSSv3_UserInteraction_USERINTERACTIONUNSPECIFIED,+ CVSSv3_UserInteraction_USERINTERACTIONNONE,+ CVSSv3_UserInteraction_USERINTERACTIONREQUIRED,+ ..+ ),++ -- * CisBenchmark_Severity+ CisBenchmark_Severity+ ( CisBenchmark_Severity_SEVERITYUNSPECIFIED,+ CisBenchmark_Severity_Minimal,+ CisBenchmark_Severity_Low,+ CisBenchmark_Severity_Medium,+ CisBenchmark_Severity_High,+ CisBenchmark_Severity_Critical,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_DECISIONUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Approved,+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Rejected,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_STATUSUNKNOWN,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Pending,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Queued,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Working,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Success,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Failure,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_INTERNALERROR,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Timeout,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Cancelled,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Expired,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_STATEUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Pending,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Approved,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Rejected,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Cancelled,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FAILURETYPEUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHFAILED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHIMAGENOTFOUND,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHNOTAUTHORIZED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_LOGGINGFAILURE,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_USERBUILDSTEP,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FETCHSOURCEFAILED,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_DEFAULTLOGSBUCKETBEHAVIORUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_REGIONALUSEROWNEDBUCKET,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_LEGACYBUCKET,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMDEFAULT,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMON,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMOFF,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_LOGGINGUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_Legacy,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_GCSONLY,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_STACKDRIVERONLY,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_CLOUDLOGGINGONLY,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_None,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_Unspecified,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_8,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_32,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_8,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_32,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2MEDIUM,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_NOTVERIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_Verified,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_None,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA256,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_MD5,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_GO_MODULE_H1,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA512,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_MUSTMATCH,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_ALLOWLOOSE,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_STATUSUNKNOWN,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Pending,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Queued,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Working,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Success,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Failure,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_INTERNALERROR,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Timeout,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Cancelled,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Expired,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_PRIORITYUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Info,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Warning,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Alert,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_None,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA256,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_MD5,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_GO_MODULE_H1,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA512,+ ..+ ),++ -- * ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+ ( ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_SOURCEFETCHERUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_Gsutil,+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_GCSFETCHER,+ ..+ ),++ -- * DeploymentOccurrence_Platform+ DeploymentOccurrence_Platform+ ( DeploymentOccurrence_Platform_PLATFORMUNSPECIFIED,+ DeploymentOccurrence_Platform_Gke,+ DeploymentOccurrence_Platform_Flex,+ DeploymentOccurrence_Platform_Custom,+ ..+ ),++ -- * DiscoveryNote_AnalysisKind+ DiscoveryNote_AnalysisKind+ ( DiscoveryNote_AnalysisKind_NOTEKINDUNSPECIFIED,+ DiscoveryNote_AnalysisKind_Vulnerability,+ DiscoveryNote_AnalysisKind_Build,+ DiscoveryNote_AnalysisKind_Image,+ DiscoveryNote_AnalysisKind_Package,+ DiscoveryNote_AnalysisKind_Deployment,+ DiscoveryNote_AnalysisKind_Discovery,+ DiscoveryNote_AnalysisKind_Attestation,+ DiscoveryNote_AnalysisKind_Upgrade,+ DiscoveryNote_AnalysisKind_Compliance,+ DiscoveryNote_AnalysisKind_DSSEATTESTATION,+ DiscoveryNote_AnalysisKind_VULNERABILITYASSESSMENT,+ DiscoveryNote_AnalysisKind_SBOMREFERENCE,+ ..+ ),++ -- * DiscoveryOccurrence_AnalysisStatus+ DiscoveryOccurrence_AnalysisStatus+ ( DiscoveryOccurrence_AnalysisStatus_ANALYSISSTATUSUNSPECIFIED,+ DiscoveryOccurrence_AnalysisStatus_Pending,+ DiscoveryOccurrence_AnalysisStatus_Scanning,+ DiscoveryOccurrence_AnalysisStatus_FINISHEDSUCCESS,+ DiscoveryOccurrence_AnalysisStatus_Complete,+ DiscoveryOccurrence_AnalysisStatus_FINISHEDFAILED,+ DiscoveryOccurrence_AnalysisStatus_FINISHEDUNSUPPORTED,+ ..+ ),++ -- * DiscoveryOccurrence_ContinuousAnalysis+ DiscoveryOccurrence_ContinuousAnalysis+ ( DiscoveryOccurrence_ContinuousAnalysis_CONTINUOUSANALYSISUNSPECIFIED,+ DiscoveryOccurrence_ContinuousAnalysis_Active,+ DiscoveryOccurrence_ContinuousAnalysis_Inactive,+ ..+ ),++ -- * Distribution_Architecture+ Distribution_Architecture+ ( Distribution_Architecture_ARCHITECTUREUNSPECIFIED,+ Distribution_Architecture_X86,+ Distribution_Architecture_X64,+ ..+ ),++ -- * FixableTotalByDigest_Severity+ FixableTotalByDigest_Severity+ ( FixableTotalByDigest_Severity_SEVERITYUNSPECIFIED,+ FixableTotalByDigest_Severity_Minimal,+ FixableTotalByDigest_Severity_Low,+ FixableTotalByDigest_Severity_Medium,+ FixableTotalByDigest_Severity_High,+ FixableTotalByDigest_Severity_Critical,+ ..+ ),++ -- * Justification_JustificationType+ Justification_JustificationType+ ( Justification_JustificationType_JUSTIFICATIONTYPEUNSPECIFIED,+ Justification_JustificationType_COMPONENTNOTPRESENT,+ Justification_JustificationType_VULNERABLECODENOTPRESENT,+ Justification_JustificationType_VULNERABLECODENOTINEXECUTEPATH,+ Justification_JustificationType_VULNERABLECODECANNOTBECONTROLLEDBYADVERSARY,+ Justification_JustificationType_INLINEMITIGATIONSALREADYEXIST,+ ..+ ),++ -- * Note_Kind+ Note_Kind+ ( Note_Kind_NOTEKINDUNSPECIFIED,+ Note_Kind_Vulnerability,+ Note_Kind_Build,+ Note_Kind_Image,+ Note_Kind_Package,+ Note_Kind_Deployment,+ Note_Kind_Discovery,+ Note_Kind_Attestation,+ Note_Kind_Upgrade,+ Note_Kind_Compliance,+ Note_Kind_DSSEATTESTATION,+ Note_Kind_VULNERABILITYASSESSMENT,+ Note_Kind_SBOMREFERENCE,+ ..+ ),++ -- * Occurrence_Kind+ Occurrence_Kind+ ( Occurrence_Kind_NOTEKINDUNSPECIFIED,+ Occurrence_Kind_Vulnerability,+ Occurrence_Kind_Build,+ Occurrence_Kind_Image,+ Occurrence_Kind_Package,+ Occurrence_Kind_Deployment,+ Occurrence_Kind_Discovery,+ Occurrence_Kind_Attestation,+ Occurrence_Kind_Upgrade,+ Occurrence_Kind_Compliance,+ Occurrence_Kind_DSSEATTESTATION,+ Occurrence_Kind_VULNERABILITYASSESSMENT,+ Occurrence_Kind_SBOMREFERENCE,+ ..+ ),++ -- * PackageIssue_EffectiveSeverity+ PackageIssue_EffectiveSeverity+ ( PackageIssue_EffectiveSeverity_SEVERITYUNSPECIFIED,+ PackageIssue_EffectiveSeverity_Minimal,+ PackageIssue_EffectiveSeverity_Low,+ PackageIssue_EffectiveSeverity_Medium,+ PackageIssue_EffectiveSeverity_High,+ PackageIssue_EffectiveSeverity_Critical,+ ..+ ),++ -- * PackageNote_Architecture+ PackageNote_Architecture+ ( PackageNote_Architecture_ARCHITECTUREUNSPECIFIED,+ PackageNote_Architecture_X86,+ PackageNote_Architecture_X64,+ ..+ ),++ -- * PackageOccurrence_Architecture+ PackageOccurrence_Architecture+ ( PackageOccurrence_Architecture_ARCHITECTUREUNSPECIFIED,+ PackageOccurrence_Architecture_X86,+ PackageOccurrence_Architecture_X64,+ ..+ ),++ -- * Remediation_RemediationType+ Remediation_RemediationType+ ( Remediation_RemediationType_REMEDIATIONTYPEUNSPECIFIED,+ Remediation_RemediationType_Mitigation,+ Remediation_RemediationType_NOFIXPLANNED,+ Remediation_RemediationType_NONEAVAILABLE,+ Remediation_RemediationType_VENDORFIX,+ Remediation_RemediationType_Workaround,+ ..+ ),++ -- * SBOMStatus_SbomState+ SBOMStatus_SbomState+ ( SBOMStatus_SbomState_SBOMSTATEUNSPECIFIED,+ SBOMStatus_SbomState_Pending,+ SBOMStatus_SbomState_Complete,+ ..+ ),++ -- * Version_Kind+ Version_Kind+ ( Version_Kind_VERSIONKINDUNSPECIFIED,+ Version_Kind_Normal,+ Version_Kind_Minimum,+ Version_Kind_Maximum,+ ..+ ),++ -- * VexAssessment_State+ VexAssessment_State+ ( VexAssessment_State_STATEUNSPECIFIED,+ VexAssessment_State_Affected,+ VexAssessment_State_NOTAFFECTED,+ VexAssessment_State_Fixed,+ VexAssessment_State_UNDERINVESTIGATION,+ ..+ ),++ -- * VulnerabilityNote_CvssVersion+ VulnerabilityNote_CvssVersion+ ( VulnerabilityNote_CvssVersion_CVSSVERSIONUNSPECIFIED,+ VulnerabilityNote_CvssVersion_CVSS_VERSION_2,+ VulnerabilityNote_CvssVersion_CVSS_VERSION_3,+ ..+ ),++ -- * VulnerabilityNote_Severity+ VulnerabilityNote_Severity+ ( VulnerabilityNote_Severity_SEVERITYUNSPECIFIED,+ VulnerabilityNote_Severity_Minimal,+ VulnerabilityNote_Severity_Low,+ VulnerabilityNote_Severity_Medium,+ VulnerabilityNote_Severity_High,+ VulnerabilityNote_Severity_Critical,+ ..+ ),++ -- * VulnerabilityOccurrence_CvssVersion+ VulnerabilityOccurrence_CvssVersion+ ( VulnerabilityOccurrence_CvssVersion_CVSSVERSIONUNSPECIFIED,+ VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_2,+ VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_3,+ ..+ ),++ -- * VulnerabilityOccurrence_EffectiveSeverity+ VulnerabilityOccurrence_EffectiveSeverity+ ( VulnerabilityOccurrence_EffectiveSeverity_SEVERITYUNSPECIFIED,+ VulnerabilityOccurrence_EffectiveSeverity_Minimal,+ VulnerabilityOccurrence_EffectiveSeverity_Low,+ VulnerabilityOccurrence_EffectiveSeverity_Medium,+ VulnerabilityOccurrence_EffectiveSeverity_High,+ VulnerabilityOccurrence_EffectiveSeverity_Critical,+ ..+ ),++ -- * VulnerabilityOccurrence_Severity+ VulnerabilityOccurrence_Severity+ ( VulnerabilityOccurrence_Severity_SEVERITYUNSPECIFIED,+ VulnerabilityOccurrence_Severity_Minimal,+ VulnerabilityOccurrence_Severity_Low,+ VulnerabilityOccurrence_Severity_Medium,+ VulnerabilityOccurrence_Severity_High,+ VulnerabilityOccurrence_Severity_Critical,+ ..+ ),+ )+where++import Gogol.Prelude qualified as Core++-- | V1 error format.+newtype Xgafv = Xgafv {fromXgafv :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | v1 error format+pattern Xgafv_1 :: Xgafv+pattern Xgafv_1 = Xgafv "1"++-- | v2 error format+pattern Xgafv_2 :: Xgafv+pattern Xgafv_2 = Xgafv "2"++{-# COMPLETE+ Xgafv_1,+ Xgafv_2,+ Xgafv+ #-}++-- | The alias kind.+newtype AliasContext_Kind = AliasContext_Kind {fromAliasContext_Kind :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern AliasContext_Kind_KINDUNSPECIFIED :: AliasContext_Kind+pattern AliasContext_Kind_KINDUNSPECIFIED = AliasContext_Kind "KIND_UNSPECIFIED"++-- | Git tag.+pattern AliasContext_Kind_Fixed :: AliasContext_Kind+pattern AliasContext_Kind_Fixed = AliasContext_Kind "FIXED"++-- | Git branch.+pattern AliasContext_Kind_Movable :: AliasContext_Kind+pattern AliasContext_Kind_Movable = AliasContext_Kind "MOVABLE"++-- | Used to specify non-standard aliases. For example, if a Git repo has a ref named \"refs\/foo\/bar\".+pattern AliasContext_Kind_Other :: AliasContext_Kind+pattern AliasContext_Kind_Other = AliasContext_Kind "OTHER"++{-# COMPLETE+ AliasContext_Kind_KINDUNSPECIFIED,+ AliasContext_Kind_Fixed,+ AliasContext_Kind_Movable,+ AliasContext_Kind_Other,+ AliasContext_Kind+ #-}++-- | Provides the state of this Vulnerability assessment.+newtype Assessment_State = Assessment_State {fromAssessment_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No state is specified.+pattern Assessment_State_STATEUNSPECIFIED :: Assessment_State+pattern Assessment_State_STATEUNSPECIFIED = Assessment_State "STATE_UNSPECIFIED"++-- | This product is known to be affected by this vulnerability.+pattern Assessment_State_Affected :: Assessment_State+pattern Assessment_State_Affected = Assessment_State "AFFECTED"++-- | This product is known to be not affected by this vulnerability.+pattern Assessment_State_NOTAFFECTED :: Assessment_State+pattern Assessment_State_NOTAFFECTED = Assessment_State "NOT_AFFECTED"++-- | This product contains a fix for this vulnerability.+pattern Assessment_State_Fixed :: Assessment_State+pattern Assessment_State_Fixed = Assessment_State "FIXED"++-- | It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation.+pattern Assessment_State_UNDERINVESTIGATION :: Assessment_State+pattern Assessment_State_UNDERINVESTIGATION = Assessment_State "UNDER_INVESTIGATION"++{-# COMPLETE+ Assessment_State_STATEUNSPECIFIED,+ Assessment_State_Affected,+ Assessment_State_NOTAFFECTED,+ Assessment_State_Fixed,+ Assessment_State_UNDERINVESTIGATION,+ Assessment_State+ #-}++-- | Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.+newtype BuildStep_Status = BuildStep_Status {fromBuildStep_Status :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Status of the build is unknown.+pattern BuildStep_Status_STATUSUNKNOWN :: BuildStep_Status+pattern BuildStep_Status_STATUSUNKNOWN = BuildStep_Status "STATUS_UNKNOWN"++-- | Build has been created and is pending execution and queuing. It has not been queued.+pattern BuildStep_Status_Pending :: BuildStep_Status+pattern BuildStep_Status_Pending = BuildStep_Status "PENDING"++-- | Build has been received and is being queued.+pattern BuildStep_Status_Queuing :: BuildStep_Status+pattern BuildStep_Status_Queuing = BuildStep_Status "QUEUING"++-- | Build or step is queued; work has not yet begun.+pattern BuildStep_Status_Queued :: BuildStep_Status+pattern BuildStep_Status_Queued = BuildStep_Status "QUEUED"++-- | Build or step is being executed.+pattern BuildStep_Status_Working :: BuildStep_Status+pattern BuildStep_Status_Working = BuildStep_Status "WORKING"++-- | Build or step finished successfully.+pattern BuildStep_Status_Success :: BuildStep_Status+pattern BuildStep_Status_Success = BuildStep_Status "SUCCESS"++-- | Build or step failed to complete successfully.+pattern BuildStep_Status_Failure :: BuildStep_Status+pattern BuildStep_Status_Failure = BuildStep_Status "FAILURE"++-- | Build or step failed due to an internal cause.+pattern BuildStep_Status_INTERNALERROR :: BuildStep_Status+pattern BuildStep_Status_INTERNALERROR = BuildStep_Status "INTERNAL_ERROR"++-- | Build or step took longer than was allowed.+pattern BuildStep_Status_Timeout :: BuildStep_Status+pattern BuildStep_Status_Timeout = BuildStep_Status "TIMEOUT"++-- | Build or step was canceled by a user.+pattern BuildStep_Status_Cancelled :: BuildStep_Status+pattern BuildStep_Status_Cancelled = BuildStep_Status "CANCELLED"++-- | Build was enqueued for longer than the value of @queue_ttl@.+pattern BuildStep_Status_Expired :: BuildStep_Status+pattern BuildStep_Status_Expired = BuildStep_Status "EXPIRED"++{-# COMPLETE+ BuildStep_Status_STATUSUNKNOWN,+ BuildStep_Status_Pending,+ BuildStep_Status_Queuing,+ BuildStep_Status_Queued,+ BuildStep_Status_Working,+ BuildStep_Status_Success,+ BuildStep_Status_Failure,+ BuildStep_Status_INTERNALERROR,+ BuildStep_Status_Timeout,+ BuildStep_Status_Cancelled,+ BuildStep_Status_Expired,+ BuildStep_Status+ #-}++newtype CVSS_AttackComplexity = CVSS_AttackComplexity {fromCVSS_AttackComplexity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED :: CVSS_AttackComplexity+pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED = CVSS_AttackComplexity "ATTACK_COMPLEXITY_UNSPECIFIED"++pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYLOW :: CVSS_AttackComplexity+pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYLOW = CVSS_AttackComplexity "ATTACK_COMPLEXITY_LOW"++pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYHIGH :: CVSS_AttackComplexity+pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYHIGH = CVSS_AttackComplexity "ATTACK_COMPLEXITY_HIGH"++pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYMEDIUM :: CVSS_AttackComplexity+pattern CVSS_AttackComplexity_ATTACKCOMPLEXITYMEDIUM = CVSS_AttackComplexity "ATTACK_COMPLEXITY_MEDIUM"++{-# COMPLETE+ CVSS_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED,+ CVSS_AttackComplexity_ATTACKCOMPLEXITYLOW,+ CVSS_AttackComplexity_ATTACKCOMPLEXITYHIGH,+ CVSS_AttackComplexity_ATTACKCOMPLEXITYMEDIUM,+ CVSS_AttackComplexity+ #-}++-- | Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.+newtype CVSS_AttackVector = CVSS_AttackVector {fromCVSS_AttackVector :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_AttackVector_ATTACKVECTORUNSPECIFIED :: CVSS_AttackVector+pattern CVSS_AttackVector_ATTACKVECTORUNSPECIFIED = CVSS_AttackVector "ATTACK_VECTOR_UNSPECIFIED"++pattern CVSS_AttackVector_ATTACKVECTORNETWORK :: CVSS_AttackVector+pattern CVSS_AttackVector_ATTACKVECTORNETWORK = CVSS_AttackVector "ATTACK_VECTOR_NETWORK"++pattern CVSS_AttackVector_ATTACKVECTORADJACENT :: CVSS_AttackVector+pattern CVSS_AttackVector_ATTACKVECTORADJACENT = CVSS_AttackVector "ATTACK_VECTOR_ADJACENT"++pattern CVSS_AttackVector_ATTACKVECTORLOCAL :: CVSS_AttackVector+pattern CVSS_AttackVector_ATTACKVECTORLOCAL = CVSS_AttackVector "ATTACK_VECTOR_LOCAL"++pattern CVSS_AttackVector_ATTACKVECTORPHYSICAL :: CVSS_AttackVector+pattern CVSS_AttackVector_ATTACKVECTORPHYSICAL = CVSS_AttackVector "ATTACK_VECTOR_PHYSICAL"++{-# COMPLETE+ CVSS_AttackVector_ATTACKVECTORUNSPECIFIED,+ CVSS_AttackVector_ATTACKVECTORNETWORK,+ CVSS_AttackVector_ATTACKVECTORADJACENT,+ CVSS_AttackVector_ATTACKVECTORLOCAL,+ CVSS_AttackVector_ATTACKVECTORPHYSICAL,+ CVSS_AttackVector+ #-}++newtype CVSS_Authentication = CVSS_Authentication {fromCVSS_Authentication :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_Authentication_AUTHENTICATIONUNSPECIFIED :: CVSS_Authentication+pattern CVSS_Authentication_AUTHENTICATIONUNSPECIFIED = CVSS_Authentication "AUTHENTICATION_UNSPECIFIED"++pattern CVSS_Authentication_AUTHENTICATIONMULTIPLE :: CVSS_Authentication+pattern CVSS_Authentication_AUTHENTICATIONMULTIPLE = CVSS_Authentication "AUTHENTICATION_MULTIPLE"++pattern CVSS_Authentication_AUTHENTICATIONSINGLE :: CVSS_Authentication+pattern CVSS_Authentication_AUTHENTICATIONSINGLE = CVSS_Authentication "AUTHENTICATION_SINGLE"++pattern CVSS_Authentication_AUTHENTICATIONNONE :: CVSS_Authentication+pattern CVSS_Authentication_AUTHENTICATIONNONE = CVSS_Authentication "AUTHENTICATION_NONE"++{-# COMPLETE+ CVSS_Authentication_AUTHENTICATIONUNSPECIFIED,+ CVSS_Authentication_AUTHENTICATIONMULTIPLE,+ CVSS_Authentication_AUTHENTICATIONSINGLE,+ CVSS_Authentication_AUTHENTICATIONNONE,+ CVSS_Authentication+ #-}++newtype CVSS_AvailabilityImpact = CVSS_AvailabilityImpact {fromCVSS_AvailabilityImpact :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_AvailabilityImpact_IMPACTUNSPECIFIED :: CVSS_AvailabilityImpact+pattern CVSS_AvailabilityImpact_IMPACTUNSPECIFIED = CVSS_AvailabilityImpact "IMPACT_UNSPECIFIED"++pattern CVSS_AvailabilityImpact_IMPACTHIGH :: CVSS_AvailabilityImpact+pattern CVSS_AvailabilityImpact_IMPACTHIGH = CVSS_AvailabilityImpact "IMPACT_HIGH"++pattern CVSS_AvailabilityImpact_IMPACTLOW :: CVSS_AvailabilityImpact+pattern CVSS_AvailabilityImpact_IMPACTLOW = CVSS_AvailabilityImpact "IMPACT_LOW"++pattern CVSS_AvailabilityImpact_IMPACTNONE :: CVSS_AvailabilityImpact+pattern CVSS_AvailabilityImpact_IMPACTNONE = CVSS_AvailabilityImpact "IMPACT_NONE"++pattern CVSS_AvailabilityImpact_IMPACTPARTIAL :: CVSS_AvailabilityImpact+pattern CVSS_AvailabilityImpact_IMPACTPARTIAL = CVSS_AvailabilityImpact "IMPACT_PARTIAL"++pattern CVSS_AvailabilityImpact_IMPACTCOMPLETE :: CVSS_AvailabilityImpact+pattern CVSS_AvailabilityImpact_IMPACTCOMPLETE = CVSS_AvailabilityImpact "IMPACT_COMPLETE"++{-# COMPLETE+ CVSS_AvailabilityImpact_IMPACTUNSPECIFIED,+ CVSS_AvailabilityImpact_IMPACTHIGH,+ CVSS_AvailabilityImpact_IMPACTLOW,+ CVSS_AvailabilityImpact_IMPACTNONE,+ CVSS_AvailabilityImpact_IMPACTPARTIAL,+ CVSS_AvailabilityImpact_IMPACTCOMPLETE,+ CVSS_AvailabilityImpact+ #-}++newtype CVSS_ConfidentialityImpact = CVSS_ConfidentialityImpact {fromCVSS_ConfidentialityImpact :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_ConfidentialityImpact_IMPACTUNSPECIFIED :: CVSS_ConfidentialityImpact+pattern CVSS_ConfidentialityImpact_IMPACTUNSPECIFIED = CVSS_ConfidentialityImpact "IMPACT_UNSPECIFIED"++pattern CVSS_ConfidentialityImpact_IMPACTHIGH :: CVSS_ConfidentialityImpact+pattern CVSS_ConfidentialityImpact_IMPACTHIGH = CVSS_ConfidentialityImpact "IMPACT_HIGH"++pattern CVSS_ConfidentialityImpact_IMPACTLOW :: CVSS_ConfidentialityImpact+pattern CVSS_ConfidentialityImpact_IMPACTLOW = CVSS_ConfidentialityImpact "IMPACT_LOW"++pattern CVSS_ConfidentialityImpact_IMPACTNONE :: CVSS_ConfidentialityImpact+pattern CVSS_ConfidentialityImpact_IMPACTNONE = CVSS_ConfidentialityImpact "IMPACT_NONE"++pattern CVSS_ConfidentialityImpact_IMPACTPARTIAL :: CVSS_ConfidentialityImpact+pattern CVSS_ConfidentialityImpact_IMPACTPARTIAL = CVSS_ConfidentialityImpact "IMPACT_PARTIAL"++pattern CVSS_ConfidentialityImpact_IMPACTCOMPLETE :: CVSS_ConfidentialityImpact+pattern CVSS_ConfidentialityImpact_IMPACTCOMPLETE = CVSS_ConfidentialityImpact "IMPACT_COMPLETE"++{-# COMPLETE+ CVSS_ConfidentialityImpact_IMPACTUNSPECIFIED,+ CVSS_ConfidentialityImpact_IMPACTHIGH,+ CVSS_ConfidentialityImpact_IMPACTLOW,+ CVSS_ConfidentialityImpact_IMPACTNONE,+ CVSS_ConfidentialityImpact_IMPACTPARTIAL,+ CVSS_ConfidentialityImpact_IMPACTCOMPLETE,+ CVSS_ConfidentialityImpact+ #-}++newtype CVSS_IntegrityImpact = CVSS_IntegrityImpact {fromCVSS_IntegrityImpact :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_IntegrityImpact_IMPACTUNSPECIFIED :: CVSS_IntegrityImpact+pattern CVSS_IntegrityImpact_IMPACTUNSPECIFIED = CVSS_IntegrityImpact "IMPACT_UNSPECIFIED"++pattern CVSS_IntegrityImpact_IMPACTHIGH :: CVSS_IntegrityImpact+pattern CVSS_IntegrityImpact_IMPACTHIGH = CVSS_IntegrityImpact "IMPACT_HIGH"++pattern CVSS_IntegrityImpact_IMPACTLOW :: CVSS_IntegrityImpact+pattern CVSS_IntegrityImpact_IMPACTLOW = CVSS_IntegrityImpact "IMPACT_LOW"++pattern CVSS_IntegrityImpact_IMPACTNONE :: CVSS_IntegrityImpact+pattern CVSS_IntegrityImpact_IMPACTNONE = CVSS_IntegrityImpact "IMPACT_NONE"++pattern CVSS_IntegrityImpact_IMPACTPARTIAL :: CVSS_IntegrityImpact+pattern CVSS_IntegrityImpact_IMPACTPARTIAL = CVSS_IntegrityImpact "IMPACT_PARTIAL"++pattern CVSS_IntegrityImpact_IMPACTCOMPLETE :: CVSS_IntegrityImpact+pattern CVSS_IntegrityImpact_IMPACTCOMPLETE = CVSS_IntegrityImpact "IMPACT_COMPLETE"++{-# COMPLETE+ CVSS_IntegrityImpact_IMPACTUNSPECIFIED,+ CVSS_IntegrityImpact_IMPACTHIGH,+ CVSS_IntegrityImpact_IMPACTLOW,+ CVSS_IntegrityImpact_IMPACTNONE,+ CVSS_IntegrityImpact_IMPACTPARTIAL,+ CVSS_IntegrityImpact_IMPACTCOMPLETE,+ CVSS_IntegrityImpact+ #-}++newtype CVSS_PrivilegesRequired = CVSS_PrivilegesRequired {fromCVSS_PrivilegesRequired :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED :: CVSS_PrivilegesRequired+pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED = CVSS_PrivilegesRequired "PRIVILEGES_REQUIRED_UNSPECIFIED"++pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDNONE :: CVSS_PrivilegesRequired+pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDNONE = CVSS_PrivilegesRequired "PRIVILEGES_REQUIRED_NONE"++pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDLOW :: CVSS_PrivilegesRequired+pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDLOW = CVSS_PrivilegesRequired "PRIVILEGES_REQUIRED_LOW"++pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDHIGH :: CVSS_PrivilegesRequired+pattern CVSS_PrivilegesRequired_PRIVILEGESREQUIREDHIGH = CVSS_PrivilegesRequired "PRIVILEGES_REQUIRED_HIGH"++{-# COMPLETE+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED,+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDNONE,+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDLOW,+ CVSS_PrivilegesRequired_PRIVILEGESREQUIREDHIGH,+ CVSS_PrivilegesRequired+ #-}++newtype CVSS_Scope = CVSS_Scope {fromCVSS_Scope :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_Scope_SCOPEUNSPECIFIED :: CVSS_Scope+pattern CVSS_Scope_SCOPEUNSPECIFIED = CVSS_Scope "SCOPE_UNSPECIFIED"++pattern CVSS_Scope_SCOPEUNCHANGED :: CVSS_Scope+pattern CVSS_Scope_SCOPEUNCHANGED = CVSS_Scope "SCOPE_UNCHANGED"++pattern CVSS_Scope_SCOPECHANGED :: CVSS_Scope+pattern CVSS_Scope_SCOPECHANGED = CVSS_Scope "SCOPE_CHANGED"++{-# COMPLETE+ CVSS_Scope_SCOPEUNSPECIFIED,+ CVSS_Scope_SCOPEUNCHANGED,+ CVSS_Scope_SCOPECHANGED,+ CVSS_Scope+ #-}++newtype CVSS_UserInteraction = CVSS_UserInteraction {fromCVSS_UserInteraction :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSS_UserInteraction_USERINTERACTIONUNSPECIFIED :: CVSS_UserInteraction+pattern CVSS_UserInteraction_USERINTERACTIONUNSPECIFIED = CVSS_UserInteraction "USER_INTERACTION_UNSPECIFIED"++pattern CVSS_UserInteraction_USERINTERACTIONNONE :: CVSS_UserInteraction+pattern CVSS_UserInteraction_USERINTERACTIONNONE = CVSS_UserInteraction "USER_INTERACTION_NONE"++pattern CVSS_UserInteraction_USERINTERACTIONREQUIRED :: CVSS_UserInteraction+pattern CVSS_UserInteraction_USERINTERACTIONREQUIRED = CVSS_UserInteraction "USER_INTERACTION_REQUIRED"++{-# COMPLETE+ CVSS_UserInteraction_USERINTERACTIONUNSPECIFIED,+ CVSS_UserInteraction_USERINTERACTIONNONE,+ CVSS_UserInteraction_USERINTERACTIONREQUIRED,+ CVSS_UserInteraction+ #-}++newtype CVSSv3_AttackComplexity = CVSSv3_AttackComplexity {fromCVSSv3_AttackComplexity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED :: CVSSv3_AttackComplexity+pattern CVSSv3_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED = CVSSv3_AttackComplexity "ATTACK_COMPLEXITY_UNSPECIFIED"++pattern CVSSv3_AttackComplexity_ATTACKCOMPLEXITYLOW :: CVSSv3_AttackComplexity+pattern CVSSv3_AttackComplexity_ATTACKCOMPLEXITYLOW = CVSSv3_AttackComplexity "ATTACK_COMPLEXITY_LOW"++pattern CVSSv3_AttackComplexity_ATTACKCOMPLEXITYHIGH :: CVSSv3_AttackComplexity+pattern CVSSv3_AttackComplexity_ATTACKCOMPLEXITYHIGH = CVSSv3_AttackComplexity "ATTACK_COMPLEXITY_HIGH"++{-# COMPLETE+ CVSSv3_AttackComplexity_ATTACKCOMPLEXITYUNSPECIFIED,+ CVSSv3_AttackComplexity_ATTACKCOMPLEXITYLOW,+ CVSSv3_AttackComplexity_ATTACKCOMPLEXITYHIGH,+ CVSSv3_AttackComplexity+ #-}++-- | Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.+newtype CVSSv3_AttackVector = CVSSv3_AttackVector {fromCVSSv3_AttackVector :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_AttackVector_ATTACKVECTORUNSPECIFIED :: CVSSv3_AttackVector+pattern CVSSv3_AttackVector_ATTACKVECTORUNSPECIFIED = CVSSv3_AttackVector "ATTACK_VECTOR_UNSPECIFIED"++pattern CVSSv3_AttackVector_ATTACKVECTORNETWORK :: CVSSv3_AttackVector+pattern CVSSv3_AttackVector_ATTACKVECTORNETWORK = CVSSv3_AttackVector "ATTACK_VECTOR_NETWORK"++pattern CVSSv3_AttackVector_ATTACKVECTORADJACENT :: CVSSv3_AttackVector+pattern CVSSv3_AttackVector_ATTACKVECTORADJACENT = CVSSv3_AttackVector "ATTACK_VECTOR_ADJACENT"++pattern CVSSv3_AttackVector_ATTACKVECTORLOCAL :: CVSSv3_AttackVector+pattern CVSSv3_AttackVector_ATTACKVECTORLOCAL = CVSSv3_AttackVector "ATTACK_VECTOR_LOCAL"++pattern CVSSv3_AttackVector_ATTACKVECTORPHYSICAL :: CVSSv3_AttackVector+pattern CVSSv3_AttackVector_ATTACKVECTORPHYSICAL = CVSSv3_AttackVector "ATTACK_VECTOR_PHYSICAL"++{-# COMPLETE+ CVSSv3_AttackVector_ATTACKVECTORUNSPECIFIED,+ CVSSv3_AttackVector_ATTACKVECTORNETWORK,+ CVSSv3_AttackVector_ATTACKVECTORADJACENT,+ CVSSv3_AttackVector_ATTACKVECTORLOCAL,+ CVSSv3_AttackVector_ATTACKVECTORPHYSICAL,+ CVSSv3_AttackVector+ #-}++newtype CVSSv3_AvailabilityImpact = CVSSv3_AvailabilityImpact {fromCVSSv3_AvailabilityImpact :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_AvailabilityImpact_IMPACTUNSPECIFIED :: CVSSv3_AvailabilityImpact+pattern CVSSv3_AvailabilityImpact_IMPACTUNSPECIFIED = CVSSv3_AvailabilityImpact "IMPACT_UNSPECIFIED"++pattern CVSSv3_AvailabilityImpact_IMPACTHIGH :: CVSSv3_AvailabilityImpact+pattern CVSSv3_AvailabilityImpact_IMPACTHIGH = CVSSv3_AvailabilityImpact "IMPACT_HIGH"++pattern CVSSv3_AvailabilityImpact_IMPACTLOW :: CVSSv3_AvailabilityImpact+pattern CVSSv3_AvailabilityImpact_IMPACTLOW = CVSSv3_AvailabilityImpact "IMPACT_LOW"++pattern CVSSv3_AvailabilityImpact_IMPACTNONE :: CVSSv3_AvailabilityImpact+pattern CVSSv3_AvailabilityImpact_IMPACTNONE = CVSSv3_AvailabilityImpact "IMPACT_NONE"++{-# COMPLETE+ CVSSv3_AvailabilityImpact_IMPACTUNSPECIFIED,+ CVSSv3_AvailabilityImpact_IMPACTHIGH,+ CVSSv3_AvailabilityImpact_IMPACTLOW,+ CVSSv3_AvailabilityImpact_IMPACTNONE,+ CVSSv3_AvailabilityImpact+ #-}++newtype CVSSv3_ConfidentialityImpact = CVSSv3_ConfidentialityImpact {fromCVSSv3_ConfidentialityImpact :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_ConfidentialityImpact_IMPACTUNSPECIFIED :: CVSSv3_ConfidentialityImpact+pattern CVSSv3_ConfidentialityImpact_IMPACTUNSPECIFIED = CVSSv3_ConfidentialityImpact "IMPACT_UNSPECIFIED"++pattern CVSSv3_ConfidentialityImpact_IMPACTHIGH :: CVSSv3_ConfidentialityImpact+pattern CVSSv3_ConfidentialityImpact_IMPACTHIGH = CVSSv3_ConfidentialityImpact "IMPACT_HIGH"++pattern CVSSv3_ConfidentialityImpact_IMPACTLOW :: CVSSv3_ConfidentialityImpact+pattern CVSSv3_ConfidentialityImpact_IMPACTLOW = CVSSv3_ConfidentialityImpact "IMPACT_LOW"++pattern CVSSv3_ConfidentialityImpact_IMPACTNONE :: CVSSv3_ConfidentialityImpact+pattern CVSSv3_ConfidentialityImpact_IMPACTNONE = CVSSv3_ConfidentialityImpact "IMPACT_NONE"++{-# COMPLETE+ CVSSv3_ConfidentialityImpact_IMPACTUNSPECIFIED,+ CVSSv3_ConfidentialityImpact_IMPACTHIGH,+ CVSSv3_ConfidentialityImpact_IMPACTLOW,+ CVSSv3_ConfidentialityImpact_IMPACTNONE,+ CVSSv3_ConfidentialityImpact+ #-}++newtype CVSSv3_IntegrityImpact = CVSSv3_IntegrityImpact {fromCVSSv3_IntegrityImpact :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_IntegrityImpact_IMPACTUNSPECIFIED :: CVSSv3_IntegrityImpact+pattern CVSSv3_IntegrityImpact_IMPACTUNSPECIFIED = CVSSv3_IntegrityImpact "IMPACT_UNSPECIFIED"++pattern CVSSv3_IntegrityImpact_IMPACTHIGH :: CVSSv3_IntegrityImpact+pattern CVSSv3_IntegrityImpact_IMPACTHIGH = CVSSv3_IntegrityImpact "IMPACT_HIGH"++pattern CVSSv3_IntegrityImpact_IMPACTLOW :: CVSSv3_IntegrityImpact+pattern CVSSv3_IntegrityImpact_IMPACTLOW = CVSSv3_IntegrityImpact "IMPACT_LOW"++pattern CVSSv3_IntegrityImpact_IMPACTNONE :: CVSSv3_IntegrityImpact+pattern CVSSv3_IntegrityImpact_IMPACTNONE = CVSSv3_IntegrityImpact "IMPACT_NONE"++{-# COMPLETE+ CVSSv3_IntegrityImpact_IMPACTUNSPECIFIED,+ CVSSv3_IntegrityImpact_IMPACTHIGH,+ CVSSv3_IntegrityImpact_IMPACTLOW,+ CVSSv3_IntegrityImpact_IMPACTNONE,+ CVSSv3_IntegrityImpact+ #-}++newtype CVSSv3_PrivilegesRequired = CVSSv3_PrivilegesRequired {fromCVSSv3_PrivilegesRequired :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED :: CVSSv3_PrivilegesRequired+pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED = CVSSv3_PrivilegesRequired "PRIVILEGES_REQUIRED_UNSPECIFIED"++pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDNONE :: CVSSv3_PrivilegesRequired+pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDNONE = CVSSv3_PrivilegesRequired "PRIVILEGES_REQUIRED_NONE"++pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDLOW :: CVSSv3_PrivilegesRequired+pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDLOW = CVSSv3_PrivilegesRequired "PRIVILEGES_REQUIRED_LOW"++pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDHIGH :: CVSSv3_PrivilegesRequired+pattern CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDHIGH = CVSSv3_PrivilegesRequired "PRIVILEGES_REQUIRED_HIGH"++{-# COMPLETE+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDUNSPECIFIED,+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDNONE,+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDLOW,+ CVSSv3_PrivilegesRequired_PRIVILEGESREQUIREDHIGH,+ CVSSv3_PrivilegesRequired+ #-}++newtype CVSSv3_Scope = CVSSv3_Scope {fromCVSSv3_Scope :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_Scope_SCOPEUNSPECIFIED :: CVSSv3_Scope+pattern CVSSv3_Scope_SCOPEUNSPECIFIED = CVSSv3_Scope "SCOPE_UNSPECIFIED"++pattern CVSSv3_Scope_SCOPEUNCHANGED :: CVSSv3_Scope+pattern CVSSv3_Scope_SCOPEUNCHANGED = CVSSv3_Scope "SCOPE_UNCHANGED"++pattern CVSSv3_Scope_SCOPECHANGED :: CVSSv3_Scope+pattern CVSSv3_Scope_SCOPECHANGED = CVSSv3_Scope "SCOPE_CHANGED"++{-# COMPLETE+ CVSSv3_Scope_SCOPEUNSPECIFIED,+ CVSSv3_Scope_SCOPEUNCHANGED,+ CVSSv3_Scope_SCOPECHANGED,+ CVSSv3_Scope+ #-}++newtype CVSSv3_UserInteraction = CVSSv3_UserInteraction {fromCVSSv3_UserInteraction :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern CVSSv3_UserInteraction_USERINTERACTIONUNSPECIFIED :: CVSSv3_UserInteraction+pattern CVSSv3_UserInteraction_USERINTERACTIONUNSPECIFIED = CVSSv3_UserInteraction "USER_INTERACTION_UNSPECIFIED"++pattern CVSSv3_UserInteraction_USERINTERACTIONNONE :: CVSSv3_UserInteraction+pattern CVSSv3_UserInteraction_USERINTERACTIONNONE = CVSSv3_UserInteraction "USER_INTERACTION_NONE"++pattern CVSSv3_UserInteraction_USERINTERACTIONREQUIRED :: CVSSv3_UserInteraction+pattern CVSSv3_UserInteraction_USERINTERACTIONREQUIRED = CVSSv3_UserInteraction "USER_INTERACTION_REQUIRED"++{-# COMPLETE+ CVSSv3_UserInteraction_USERINTERACTIONUNSPECIFIED,+ CVSSv3_UserInteraction_USERINTERACTIONNONE,+ CVSSv3_UserInteraction_USERINTERACTIONREQUIRED,+ CVSSv3_UserInteraction+ #-}++newtype CisBenchmark_Severity = CisBenchmark_Severity {fromCisBenchmark_Severity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern CisBenchmark_Severity_SEVERITYUNSPECIFIED :: CisBenchmark_Severity+pattern CisBenchmark_Severity_SEVERITYUNSPECIFIED = CisBenchmark_Severity "SEVERITY_UNSPECIFIED"++-- | Minimal severity.+pattern CisBenchmark_Severity_Minimal :: CisBenchmark_Severity+pattern CisBenchmark_Severity_Minimal = CisBenchmark_Severity "MINIMAL"++-- | Low severity.+pattern CisBenchmark_Severity_Low :: CisBenchmark_Severity+pattern CisBenchmark_Severity_Low = CisBenchmark_Severity "LOW"++-- | Medium severity.+pattern CisBenchmark_Severity_Medium :: CisBenchmark_Severity+pattern CisBenchmark_Severity_Medium = CisBenchmark_Severity "MEDIUM"++-- | High severity.+pattern CisBenchmark_Severity_High :: CisBenchmark_Severity+pattern CisBenchmark_Severity_High = CisBenchmark_Severity "HIGH"++-- | Critical severity.+pattern CisBenchmark_Severity_Critical :: CisBenchmark_Severity+pattern CisBenchmark_Severity_Critical = CisBenchmark_Severity "CRITICAL"++{-# COMPLETE+ CisBenchmark_Severity_SEVERITYUNSPECIFIED,+ CisBenchmark_Severity_Minimal,+ CisBenchmark_Severity_Low,+ CisBenchmark_Severity_Medium,+ CisBenchmark_Severity_High,+ CisBenchmark_Severity_Critical,+ CisBenchmark_Severity+ #-}++-- | Required. The decision of this manual approval.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision = ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision {fromContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default enum type. This should not be used.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_DECISIONUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_DECISIONUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision "DECISION_UNSPECIFIED"++-- | Build is approved.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Approved :: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Approved = ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision "APPROVED"++-- | Build is rejected.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Rejected :: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Rejected = ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision "REJECTED"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_DECISIONUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Approved,+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Rejected,+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+ #-}++-- | Output only. Status of the build.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status {fromContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Status of the build is unknown.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_STATUSUNKNOWN :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_STATUSUNKNOWN = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "STATUS_UNKNOWN"++-- | Build has been created and is pending execution and queuing. It has not been queued.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Pending :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Pending = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "PENDING"++-- | Build or step is queued; work has not yet begun.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Queued :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Queued = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "QUEUED"++-- | Build or step is being executed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Working :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Working = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "WORKING"++-- | Build or step finished successfully.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Success :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Success = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "SUCCESS"++-- | Build or step failed to complete successfully.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Failure :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Failure = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "FAILURE"++-- | Build or step failed due to an internal cause.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_INTERNALERROR :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_INTERNALERROR = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "INTERNAL_ERROR"++-- | Build or step took longer than was allowed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Timeout :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Timeout = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "TIMEOUT"++-- | Build or step was canceled by a user.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Cancelled :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Cancelled = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "CANCELLED"++-- | Build was enqueued for longer than the value of @queue_ttl@.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Expired :: ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Expired = ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status "EXPIRED"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_STATUSUNKNOWN,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Pending,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Queued,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Working,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Success,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Failure,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_INTERNALERROR,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Timeout,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Cancelled,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status_Expired,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+ #-}++-- | Output only. The state of this build\'s approval.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default enum type. This should not be used.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_STATEUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_STATEUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State "STATE_UNSPECIFIED"++-- | Build approval is pending.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Pending :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Pending = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State "PENDING"++-- | Build approval has been approved.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Approved :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Approved = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State "APPROVED"++-- | Build approval has been rejected.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Rejected :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Rejected = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State "REJECTED"++-- | Build was cancelled while it was still pending approval.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Cancelled :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Cancelled = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State "CANCELLED"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_STATEUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Pending,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Approved,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Rejected,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State_Cancelled,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+ #-}++-- | The name of the failure.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Type unspecified+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FAILURETYPEUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FAILURETYPEUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "FAILURE_TYPE_UNSPECIFIED"++-- | Unable to push the image to the repository.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHFAILED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHFAILED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "PUSH_FAILED"++-- | Final image not found.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHIMAGENOTFOUND :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHIMAGENOTFOUND = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "PUSH_IMAGE_NOT_FOUND"++-- | Unauthorized push of the final image.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHNOTAUTHORIZED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHNOTAUTHORIZED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "PUSH_NOT_AUTHORIZED"++-- | Backend logging failures. Should retry.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_LOGGINGFAILURE :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_LOGGINGFAILURE = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "LOGGING_FAILURE"++-- | A build step has failed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_USERBUILDSTEP :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_USERBUILDSTEP = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "USER_BUILD_STEP"++-- | The source fetching has failed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FETCHSOURCEFAILED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FETCHSOURCEFAILED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type "FETCH_SOURCE_FAILED"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FAILURETYPEUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHFAILED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHIMAGENOTFOUND,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_PUSHNOTAUTHORIZED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_LOGGINGFAILURE,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_USERBUILDSTEP,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type_FETCHSOURCEFAILED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+ #-}++-- | Optional. Option to specify how default logs buckets are setup.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_DEFAULTLOGSBUCKETBEHAVIORUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_DEFAULTLOGSBUCKETBEHAVIORUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED"++-- | Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to Cloud Storage buckets in the build project.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_REGIONALUSEROWNEDBUCKET :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_REGIONALUSEROWNEDBUCKET = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior "REGIONAL_USER_OWNED_BUCKET"++-- | Bucket is located in a Google-owned project and is not regionalized.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_LEGACYBUCKET :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_LEGACYBUCKET = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior "LEGACY_BUCKET"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_DEFAULTLOGSBUCKETBEHAVIORUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_REGIONALUSEROWNEDBUCKET,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior_LEGACYBUCKET,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+ #-}++-- | Option to define build log streaming behavior to Cloud Storage.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Service may automatically determine build log streaming behavior.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMDEFAULT :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMDEFAULT = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption "STREAM_DEFAULT"++-- | Build logs should be streamed to Cloud Storage.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMON :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMON = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption "STREAM_ON"++-- | Build logs should not be streamed to Cloud Storage; they will be written when the build is completed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMOFF :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMOFF = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption "STREAM_OFF"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMDEFAULT,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMON,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption_STREAMOFF,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+ #-}++-- | Option to specify the logging mode, which determines if and where build logs are stored.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | The service determines the logging mode. The default is @LEGACY@. Do not rely on the default logging behavior as it may change in the future.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_LOGGINGUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_LOGGINGUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging "LOGGING_UNSPECIFIED"++-- | Build logs are stored in Cloud Logging and Cloud Storage.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_Legacy :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_Legacy = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging "LEGACY"++-- | Build logs are stored in Cloud Storage.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_GCSONLY :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_GCSONLY = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging "GCS_ONLY"++-- | This option is the same as CLOUD/LOGGING/ONLY.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_STACKDRIVERONLY :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_STACKDRIVERONLY = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging "STACKDRIVER_ONLY"++-- | Build logs are stored in Cloud Logging. Selecting this option will not allow <https://cloud.google.com/sdk/gcloud/reference/builds/log logs streaming>.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_CLOUDLOGGINGONLY :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_CLOUDLOGGINGONLY = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging "CLOUD_LOGGING_ONLY"++-- | Turn off all logging. No build logs will be captured.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_None :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_None = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging "NONE"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_LOGGINGUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_Legacy,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_GCSONLY,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_STACKDRIVERONLY,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_CLOUDLOGGINGONLY,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging_None,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+ #-}++-- | Compute Engine machine type on which to run the build.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Standard machine type.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_Unspecified :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_Unspecified = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType "UNSPECIFIED"++-- | Highcpu machine with 8 CPUs.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_8 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_8 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType "N1_HIGHCPU_8"++-- | Highcpu machine with 32 CPUs.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_32 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_32 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType "N1_HIGHCPU_32"++-- | Highcpu e2 machine with 8 CPUs.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_8 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_8 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType "E2_HIGHCPU_8"++-- | Highcpu e2 machine with 32 CPUs.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_32 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_32 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType "E2_HIGHCPU_32"++-- | E2 machine with 1 CPU.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2MEDIUM :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2MEDIUM = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType "E2_MEDIUM"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_Unspecified,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_8,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_N1_HIGHCPU_32,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_8,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2_HIGHCPU_32,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType_E2MEDIUM,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+ #-}++-- | Requested verifiability options.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Not a verifiable build (the default).+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_NOTVERIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_NOTVERIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption "NOT_VERIFIED"++-- | Build must be verified.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_Verified :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_Verified = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption "VERIFIED"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_NOTVERIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption_Verified,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+ #-}++newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No hash requested.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_None :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_None = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem "NONE"++-- | Use a sha256 hash.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA256 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA256 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem "SHA256"++-- | Use a md5 hash.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_MD5 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_MD5 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem "MD5"++-- | Dirhash of a Go module\'s source code which is then hex-encoded.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_GO_MODULE_H1 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_GO_MODULE_H1 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem "GO_MODULE_H1"++-- | Use a sha512 hash.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA512 :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA512 = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem "SHA512"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_None,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA256,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_MD5,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_GO_MODULE_H1,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem_SHA512,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+ #-}++-- | Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_MUSTMATCH :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_MUSTMATCH = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption "MUST_MATCH"++-- | Do not fail the build if error in substitutions checks.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_ALLOWLOOSE :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_ALLOWLOOSE = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption "ALLOW_LOOSE"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_MUSTMATCH,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption_ALLOWLOOSE,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+ #-}++-- | Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Status of the build is unknown.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_STATUSUNKNOWN :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_STATUSUNKNOWN = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "STATUS_UNKNOWN"++-- | Build has been created and is pending execution and queuing. It has not been queued.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Pending :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Pending = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "PENDING"++-- | Build or step is queued; work has not yet begun.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Queued :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Queued = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "QUEUED"++-- | Build or step is being executed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Working :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Working = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "WORKING"++-- | Build or step finished successfully.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Success :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Success = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "SUCCESS"++-- | Build or step failed to complete successfully.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Failure :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Failure = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "FAILURE"++-- | Build or step failed due to an internal cause.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_INTERNALERROR :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_INTERNALERROR = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "INTERNAL_ERROR"++-- | Build or step took longer than was allowed.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Timeout :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Timeout = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "TIMEOUT"++-- | Build or step was canceled by a user.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Cancelled :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Cancelled = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "CANCELLED"++-- | Build was enqueued for longer than the value of @queue_ttl@.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Expired :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Expired = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status "EXPIRED"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_STATUSUNKNOWN,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Pending,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Queued,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Working,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Success,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Failure,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_INTERNALERROR,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Timeout,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Cancelled,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status_Expired,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+ #-}++-- | The priority for this warning.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority {fromContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Should not be used.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_PRIORITYUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_PRIORITYUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority "PRIORITY_UNSPECIFIED"++-- | e.g. deprecation warnings and alternative feature highlights.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Info :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Info = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority "INFO"++-- | e.g. automated detection of possible issues with the build.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Warning :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Warning = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority "WARNING"++-- | e.g. alerts that a feature used in the build is pending removal+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Alert :: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Alert = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority "ALERT"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_PRIORITYUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Info,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Warning,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority_Alert,+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+ #-}++-- | The type of hash that was performed.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type {fromContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No hash requested.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_None :: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_None = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type "NONE"++-- | Use a sha256 hash.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA256 :: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA256 = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type "SHA256"++-- | Use a md5 hash.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_MD5 :: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_MD5 = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type "MD5"++-- | Dirhash of a Go module\'s source code which is then hex-encoded.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_GO_MODULE_H1 :: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_GO_MODULE_H1 = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type "GO_MODULE_H1"++-- | Use a sha512 hash.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA512 :: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA512 = ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type "SHA512"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_None,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA256,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_MD5,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_GO_MODULE_H1,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type_SHA512,+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+ #-}++-- | Optional. Option to specify the tool to fetch the source file for the build.+newtype ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher = ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher {fromContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified defaults to GSUTIL.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_SOURCEFETCHERUNSPECIFIED :: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_SOURCEFETCHERUNSPECIFIED = ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher "SOURCE_FETCHER_UNSPECIFIED"++-- | Use the \"gsutil\" tool to download the source file.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_Gsutil :: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_Gsutil = ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher "GSUTIL"++-- | Use the Cloud Storage Fetcher tool to download the source file.+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_GCSFETCHER :: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+pattern ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_GCSFETCHER = ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher "GCS_FETCHER"++{-# COMPLETE+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_SOURCEFETCHERUNSPECIFIED,+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_Gsutil,+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher_GCSFETCHER,+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+ #-}++-- | Platform hosting this deployment.+newtype DeploymentOccurrence_Platform = DeploymentOccurrence_Platform {fromDeploymentOccurrence_Platform :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern DeploymentOccurrence_Platform_PLATFORMUNSPECIFIED :: DeploymentOccurrence_Platform+pattern DeploymentOccurrence_Platform_PLATFORMUNSPECIFIED = DeploymentOccurrence_Platform "PLATFORM_UNSPECIFIED"++-- | Google Container Engine.+pattern DeploymentOccurrence_Platform_Gke :: DeploymentOccurrence_Platform+pattern DeploymentOccurrence_Platform_Gke = DeploymentOccurrence_Platform "GKE"++-- | Google App Engine: Flexible Environment.+pattern DeploymentOccurrence_Platform_Flex :: DeploymentOccurrence_Platform+pattern DeploymentOccurrence_Platform_Flex = DeploymentOccurrence_Platform "FLEX"++-- | Custom user-defined platform.+pattern DeploymentOccurrence_Platform_Custom :: DeploymentOccurrence_Platform+pattern DeploymentOccurrence_Platform_Custom = DeploymentOccurrence_Platform "CUSTOM"++{-# COMPLETE+ DeploymentOccurrence_Platform_PLATFORMUNSPECIFIED,+ DeploymentOccurrence_Platform_Gke,+ DeploymentOccurrence_Platform_Flex,+ DeploymentOccurrence_Platform_Custom,+ DeploymentOccurrence_Platform+ #-}++-- | Required. Immutable. The kind of analysis that is handled by this discovery.+newtype DiscoveryNote_AnalysisKind = DiscoveryNote_AnalysisKind {fromDiscoveryNote_AnalysisKind :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value. This value is unused.+pattern DiscoveryNote_AnalysisKind_NOTEKINDUNSPECIFIED :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_NOTEKINDUNSPECIFIED = DiscoveryNote_AnalysisKind "NOTE_KIND_UNSPECIFIED"++-- | The note and occurrence represent a package vulnerability.+pattern DiscoveryNote_AnalysisKind_Vulnerability :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Vulnerability = DiscoveryNote_AnalysisKind "VULNERABILITY"++-- | The note and occurrence assert build provenance.+pattern DiscoveryNote_AnalysisKind_Build :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Build = DiscoveryNote_AnalysisKind "BUILD"++-- | This represents an image basis relationship.+pattern DiscoveryNote_AnalysisKind_Image :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Image = DiscoveryNote_AnalysisKind "IMAGE"++-- | This represents a package installed via a package manager.+pattern DiscoveryNote_AnalysisKind_Package :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Package = DiscoveryNote_AnalysisKind "PACKAGE"++-- | The note and occurrence track deployment events.+pattern DiscoveryNote_AnalysisKind_Deployment :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Deployment = DiscoveryNote_AnalysisKind "DEPLOYMENT"++-- | The note and occurrence track the initial discovery status of a resource.+pattern DiscoveryNote_AnalysisKind_Discovery :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Discovery = DiscoveryNote_AnalysisKind "DISCOVERY"++-- | This represents a logical \"role\" that can attest to artifacts.+pattern DiscoveryNote_AnalysisKind_Attestation :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Attestation = DiscoveryNote_AnalysisKind "ATTESTATION"++-- | This represents an available package upgrade.+pattern DiscoveryNote_AnalysisKind_Upgrade :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Upgrade = DiscoveryNote_AnalysisKind "UPGRADE"++-- | This represents a Compliance Note+pattern DiscoveryNote_AnalysisKind_Compliance :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_Compliance = DiscoveryNote_AnalysisKind "COMPLIANCE"++-- | This represents a DSSE attestation Note+pattern DiscoveryNote_AnalysisKind_DSSEATTESTATION :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_DSSEATTESTATION = DiscoveryNote_AnalysisKind "DSSE_ATTESTATION"++-- | This represents a Vulnerability Assessment.+pattern DiscoveryNote_AnalysisKind_VULNERABILITYASSESSMENT :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_VULNERABILITYASSESSMENT = DiscoveryNote_AnalysisKind "VULNERABILITY_ASSESSMENT"++-- | This represents an SBOM Reference.+pattern DiscoveryNote_AnalysisKind_SBOMREFERENCE :: DiscoveryNote_AnalysisKind+pattern DiscoveryNote_AnalysisKind_SBOMREFERENCE = DiscoveryNote_AnalysisKind "SBOM_REFERENCE"++{-# COMPLETE+ DiscoveryNote_AnalysisKind_NOTEKINDUNSPECIFIED,+ DiscoveryNote_AnalysisKind_Vulnerability,+ DiscoveryNote_AnalysisKind_Build,+ DiscoveryNote_AnalysisKind_Image,+ DiscoveryNote_AnalysisKind_Package,+ DiscoveryNote_AnalysisKind_Deployment,+ DiscoveryNote_AnalysisKind_Discovery,+ DiscoveryNote_AnalysisKind_Attestation,+ DiscoveryNote_AnalysisKind_Upgrade,+ DiscoveryNote_AnalysisKind_Compliance,+ DiscoveryNote_AnalysisKind_DSSEATTESTATION,+ DiscoveryNote_AnalysisKind_VULNERABILITYASSESSMENT,+ DiscoveryNote_AnalysisKind_SBOMREFERENCE,+ DiscoveryNote_AnalysisKind+ #-}++-- | The status of discovery for the resource.+newtype DiscoveryOccurrence_AnalysisStatus = DiscoveryOccurrence_AnalysisStatus {fromDiscoveryOccurrence_AnalysisStatus :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern DiscoveryOccurrence_AnalysisStatus_ANALYSISSTATUSUNSPECIFIED :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_ANALYSISSTATUSUNSPECIFIED = DiscoveryOccurrence_AnalysisStatus "ANALYSIS_STATUS_UNSPECIFIED"++-- | Resource is known but no action has been taken yet.+pattern DiscoveryOccurrence_AnalysisStatus_Pending :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_Pending = DiscoveryOccurrence_AnalysisStatus "PENDING"++-- | Resource is being analyzed.+pattern DiscoveryOccurrence_AnalysisStatus_Scanning :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_Scanning = DiscoveryOccurrence_AnalysisStatus "SCANNING"++-- | Analysis has finished successfully.+pattern DiscoveryOccurrence_AnalysisStatus_FINISHEDSUCCESS :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_FINISHEDSUCCESS = DiscoveryOccurrence_AnalysisStatus "FINISHED_SUCCESS"++-- | Analysis has completed.+pattern DiscoveryOccurrence_AnalysisStatus_Complete :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_Complete = DiscoveryOccurrence_AnalysisStatus "COMPLETE"++-- | Analysis has finished unsuccessfully, the analysis itself is in a bad state.+pattern DiscoveryOccurrence_AnalysisStatus_FINISHEDFAILED :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_FINISHEDFAILED = DiscoveryOccurrence_AnalysisStatus "FINISHED_FAILED"++-- | The resource is known not to be supported.+pattern DiscoveryOccurrence_AnalysisStatus_FINISHEDUNSUPPORTED :: DiscoveryOccurrence_AnalysisStatus+pattern DiscoveryOccurrence_AnalysisStatus_FINISHEDUNSUPPORTED = DiscoveryOccurrence_AnalysisStatus "FINISHED_UNSUPPORTED"++{-# COMPLETE+ DiscoveryOccurrence_AnalysisStatus_ANALYSISSTATUSUNSPECIFIED,+ DiscoveryOccurrence_AnalysisStatus_Pending,+ DiscoveryOccurrence_AnalysisStatus_Scanning,+ DiscoveryOccurrence_AnalysisStatus_FINISHEDSUCCESS,+ DiscoveryOccurrence_AnalysisStatus_Complete,+ DiscoveryOccurrence_AnalysisStatus_FINISHEDFAILED,+ DiscoveryOccurrence_AnalysisStatus_FINISHEDUNSUPPORTED,+ DiscoveryOccurrence_AnalysisStatus+ #-}++-- | Whether the resource is continuously analyzed.+newtype DiscoveryOccurrence_ContinuousAnalysis = DiscoveryOccurrence_ContinuousAnalysis {fromDiscoveryOccurrence_ContinuousAnalysis :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern DiscoveryOccurrence_ContinuousAnalysis_CONTINUOUSANALYSISUNSPECIFIED :: DiscoveryOccurrence_ContinuousAnalysis+pattern DiscoveryOccurrence_ContinuousAnalysis_CONTINUOUSANALYSISUNSPECIFIED = DiscoveryOccurrence_ContinuousAnalysis "CONTINUOUS_ANALYSIS_UNSPECIFIED"++-- | The resource is continuously analyzed.+pattern DiscoveryOccurrence_ContinuousAnalysis_Active :: DiscoveryOccurrence_ContinuousAnalysis+pattern DiscoveryOccurrence_ContinuousAnalysis_Active = DiscoveryOccurrence_ContinuousAnalysis "ACTIVE"++-- | The resource is ignored for continuous analysis.+pattern DiscoveryOccurrence_ContinuousAnalysis_Inactive :: DiscoveryOccurrence_ContinuousAnalysis+pattern DiscoveryOccurrence_ContinuousAnalysis_Inactive = DiscoveryOccurrence_ContinuousAnalysis "INACTIVE"++{-# COMPLETE+ DiscoveryOccurrence_ContinuousAnalysis_CONTINUOUSANALYSISUNSPECIFIED,+ DiscoveryOccurrence_ContinuousAnalysis_Active,+ DiscoveryOccurrence_ContinuousAnalysis_Inactive,+ DiscoveryOccurrence_ContinuousAnalysis+ #-}++-- | The CPU architecture for which packages in this distribution channel were built.+newtype Distribution_Architecture = Distribution_Architecture {fromDistribution_Architecture :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown architecture.+pattern Distribution_Architecture_ARCHITECTUREUNSPECIFIED :: Distribution_Architecture+pattern Distribution_Architecture_ARCHITECTUREUNSPECIFIED = Distribution_Architecture "ARCHITECTURE_UNSPECIFIED"++-- | X86 architecture.+pattern Distribution_Architecture_X86 :: Distribution_Architecture+pattern Distribution_Architecture_X86 = Distribution_Architecture "X86"++-- | X64 architecture.+pattern Distribution_Architecture_X64 :: Distribution_Architecture+pattern Distribution_Architecture_X64 = Distribution_Architecture "X64"++{-# COMPLETE+ Distribution_Architecture_ARCHITECTUREUNSPECIFIED,+ Distribution_Architecture_X86,+ Distribution_Architecture_X64,+ Distribution_Architecture+ #-}++-- | The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.+newtype FixableTotalByDigest_Severity = FixableTotalByDigest_Severity {fromFixableTotalByDigest_Severity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern FixableTotalByDigest_Severity_SEVERITYUNSPECIFIED :: FixableTotalByDigest_Severity+pattern FixableTotalByDigest_Severity_SEVERITYUNSPECIFIED = FixableTotalByDigest_Severity "SEVERITY_UNSPECIFIED"++-- | Minimal severity.+pattern FixableTotalByDigest_Severity_Minimal :: FixableTotalByDigest_Severity+pattern FixableTotalByDigest_Severity_Minimal = FixableTotalByDigest_Severity "MINIMAL"++-- | Low severity.+pattern FixableTotalByDigest_Severity_Low :: FixableTotalByDigest_Severity+pattern FixableTotalByDigest_Severity_Low = FixableTotalByDigest_Severity "LOW"++-- | Medium severity.+pattern FixableTotalByDigest_Severity_Medium :: FixableTotalByDigest_Severity+pattern FixableTotalByDigest_Severity_Medium = FixableTotalByDigest_Severity "MEDIUM"++-- | High severity.+pattern FixableTotalByDigest_Severity_High :: FixableTotalByDigest_Severity+pattern FixableTotalByDigest_Severity_High = FixableTotalByDigest_Severity "HIGH"++-- | Critical severity.+pattern FixableTotalByDigest_Severity_Critical :: FixableTotalByDigest_Severity+pattern FixableTotalByDigest_Severity_Critical = FixableTotalByDigest_Severity "CRITICAL"++{-# COMPLETE+ FixableTotalByDigest_Severity_SEVERITYUNSPECIFIED,+ FixableTotalByDigest_Severity_Minimal,+ FixableTotalByDigest_Severity_Low,+ FixableTotalByDigest_Severity_Medium,+ FixableTotalByDigest_Severity_High,+ FixableTotalByDigest_Severity_Critical,+ FixableTotalByDigest_Severity+ #-}++-- | The justification type for this vulnerability.+newtype Justification_JustificationType = Justification_JustificationType {fromJustification_JustificationType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | JUSTIFICATION/TYPE/UNSPECIFIED.+pattern Justification_JustificationType_JUSTIFICATIONTYPEUNSPECIFIED :: Justification_JustificationType+pattern Justification_JustificationType_JUSTIFICATIONTYPEUNSPECIFIED = Justification_JustificationType "JUSTIFICATION_TYPE_UNSPECIFIED"++-- | The vulnerable component is not present in the product.+pattern Justification_JustificationType_COMPONENTNOTPRESENT :: Justification_JustificationType+pattern Justification_JustificationType_COMPONENTNOTPRESENT = Justification_JustificationType "COMPONENT_NOT_PRESENT"++-- | The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.+pattern Justification_JustificationType_VULNERABLECODENOTPRESENT :: Justification_JustificationType+pattern Justification_JustificationType_VULNERABLECODENOTPRESENT = Justification_JustificationType "VULNERABLE_CODE_NOT_PRESENT"++-- | The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.+pattern Justification_JustificationType_VULNERABLECODENOTINEXECUTEPATH :: Justification_JustificationType+pattern Justification_JustificationType_VULNERABLECODENOTINEXECUTEPATH = Justification_JustificationType "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH"++-- | The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.+pattern Justification_JustificationType_VULNERABLECODECANNOTBECONTROLLEDBYADVERSARY :: Justification_JustificationType+pattern Justification_JustificationType_VULNERABLECODECANNOTBECONTROLLEDBYADVERSARY = Justification_JustificationType "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY"++-- | The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors.+pattern Justification_JustificationType_INLINEMITIGATIONSALREADYEXIST :: Justification_JustificationType+pattern Justification_JustificationType_INLINEMITIGATIONSALREADYEXIST = Justification_JustificationType "INLINE_MITIGATIONS_ALREADY_EXIST"++{-# COMPLETE+ Justification_JustificationType_JUSTIFICATIONTYPEUNSPECIFIED,+ Justification_JustificationType_COMPONENTNOTPRESENT,+ Justification_JustificationType_VULNERABLECODENOTPRESENT,+ Justification_JustificationType_VULNERABLECODENOTINEXECUTEPATH,+ Justification_JustificationType_VULNERABLECODECANNOTBECONTROLLEDBYADVERSARY,+ Justification_JustificationType_INLINEMITIGATIONSALREADYEXIST,+ Justification_JustificationType+ #-}++-- | Output only. The type of analysis. This field can be used as a filter in list requests.+newtype Note_Kind = Note_Kind {fromNote_Kind :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value. This value is unused.+pattern Note_Kind_NOTEKINDUNSPECIFIED :: Note_Kind+pattern Note_Kind_NOTEKINDUNSPECIFIED = Note_Kind "NOTE_KIND_UNSPECIFIED"++-- | The note and occurrence represent a package vulnerability.+pattern Note_Kind_Vulnerability :: Note_Kind+pattern Note_Kind_Vulnerability = Note_Kind "VULNERABILITY"++-- | The note and occurrence assert build provenance.+pattern Note_Kind_Build :: Note_Kind+pattern Note_Kind_Build = Note_Kind "BUILD"++-- | This represents an image basis relationship.+pattern Note_Kind_Image :: Note_Kind+pattern Note_Kind_Image = Note_Kind "IMAGE"++-- | This represents a package installed via a package manager.+pattern Note_Kind_Package :: Note_Kind+pattern Note_Kind_Package = Note_Kind "PACKAGE"++-- | The note and occurrence track deployment events.+pattern Note_Kind_Deployment :: Note_Kind+pattern Note_Kind_Deployment = Note_Kind "DEPLOYMENT"++-- | The note and occurrence track the initial discovery status of a resource.+pattern Note_Kind_Discovery :: Note_Kind+pattern Note_Kind_Discovery = Note_Kind "DISCOVERY"++-- | This represents a logical \"role\" that can attest to artifacts.+pattern Note_Kind_Attestation :: Note_Kind+pattern Note_Kind_Attestation = Note_Kind "ATTESTATION"++-- | This represents an available package upgrade.+pattern Note_Kind_Upgrade :: Note_Kind+pattern Note_Kind_Upgrade = Note_Kind "UPGRADE"++-- | This represents a Compliance Note+pattern Note_Kind_Compliance :: Note_Kind+pattern Note_Kind_Compliance = Note_Kind "COMPLIANCE"++-- | This represents a DSSE attestation Note+pattern Note_Kind_DSSEATTESTATION :: Note_Kind+pattern Note_Kind_DSSEATTESTATION = Note_Kind "DSSE_ATTESTATION"++-- | This represents a Vulnerability Assessment.+pattern Note_Kind_VULNERABILITYASSESSMENT :: Note_Kind+pattern Note_Kind_VULNERABILITYASSESSMENT = Note_Kind "VULNERABILITY_ASSESSMENT"++-- | This represents an SBOM Reference.+pattern Note_Kind_SBOMREFERENCE :: Note_Kind+pattern Note_Kind_SBOMREFERENCE = Note_Kind "SBOM_REFERENCE"++{-# COMPLETE+ Note_Kind_NOTEKINDUNSPECIFIED,+ Note_Kind_Vulnerability,+ Note_Kind_Build,+ Note_Kind_Image,+ Note_Kind_Package,+ Note_Kind_Deployment,+ Note_Kind_Discovery,+ Note_Kind_Attestation,+ Note_Kind_Upgrade,+ Note_Kind_Compliance,+ Note_Kind_DSSEATTESTATION,+ Note_Kind_VULNERABILITYASSESSMENT,+ Note_Kind_SBOMREFERENCE,+ Note_Kind+ #-}++-- | Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.+newtype Occurrence_Kind = Occurrence_Kind {fromOccurrence_Kind :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value. This value is unused.+pattern Occurrence_Kind_NOTEKINDUNSPECIFIED :: Occurrence_Kind+pattern Occurrence_Kind_NOTEKINDUNSPECIFIED = Occurrence_Kind "NOTE_KIND_UNSPECIFIED"++-- | The note and occurrence represent a package vulnerability.+pattern Occurrence_Kind_Vulnerability :: Occurrence_Kind+pattern Occurrence_Kind_Vulnerability = Occurrence_Kind "VULNERABILITY"++-- | The note and occurrence assert build provenance.+pattern Occurrence_Kind_Build :: Occurrence_Kind+pattern Occurrence_Kind_Build = Occurrence_Kind "BUILD"++-- | This represents an image basis relationship.+pattern Occurrence_Kind_Image :: Occurrence_Kind+pattern Occurrence_Kind_Image = Occurrence_Kind "IMAGE"++-- | This represents a package installed via a package manager.+pattern Occurrence_Kind_Package :: Occurrence_Kind+pattern Occurrence_Kind_Package = Occurrence_Kind "PACKAGE"++-- | The note and occurrence track deployment events.+pattern Occurrence_Kind_Deployment :: Occurrence_Kind+pattern Occurrence_Kind_Deployment = Occurrence_Kind "DEPLOYMENT"++-- | The note and occurrence track the initial discovery status of a resource.+pattern Occurrence_Kind_Discovery :: Occurrence_Kind+pattern Occurrence_Kind_Discovery = Occurrence_Kind "DISCOVERY"++-- | This represents a logical \"role\" that can attest to artifacts.+pattern Occurrence_Kind_Attestation :: Occurrence_Kind+pattern Occurrence_Kind_Attestation = Occurrence_Kind "ATTESTATION"++-- | This represents an available package upgrade.+pattern Occurrence_Kind_Upgrade :: Occurrence_Kind+pattern Occurrence_Kind_Upgrade = Occurrence_Kind "UPGRADE"++-- | This represents a Compliance Note+pattern Occurrence_Kind_Compliance :: Occurrence_Kind+pattern Occurrence_Kind_Compliance = Occurrence_Kind "COMPLIANCE"++-- | This represents a DSSE attestation Note+pattern Occurrence_Kind_DSSEATTESTATION :: Occurrence_Kind+pattern Occurrence_Kind_DSSEATTESTATION = Occurrence_Kind "DSSE_ATTESTATION"++-- | This represents a Vulnerability Assessment.+pattern Occurrence_Kind_VULNERABILITYASSESSMENT :: Occurrence_Kind+pattern Occurrence_Kind_VULNERABILITYASSESSMENT = Occurrence_Kind "VULNERABILITY_ASSESSMENT"++-- | This represents an SBOM Reference.+pattern Occurrence_Kind_SBOMREFERENCE :: Occurrence_Kind+pattern Occurrence_Kind_SBOMREFERENCE = Occurrence_Kind "SBOM_REFERENCE"++{-# COMPLETE+ Occurrence_Kind_NOTEKINDUNSPECIFIED,+ Occurrence_Kind_Vulnerability,+ Occurrence_Kind_Build,+ Occurrence_Kind_Image,+ Occurrence_Kind_Package,+ Occurrence_Kind_Deployment,+ Occurrence_Kind_Discovery,+ Occurrence_Kind_Attestation,+ Occurrence_Kind_Upgrade,+ Occurrence_Kind_Compliance,+ Occurrence_Kind_DSSEATTESTATION,+ Occurrence_Kind_VULNERABILITYASSESSMENT,+ Occurrence_Kind_SBOMREFERENCE,+ Occurrence_Kind+ #-}++-- | Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.+newtype PackageIssue_EffectiveSeverity = PackageIssue_EffectiveSeverity {fromPackageIssue_EffectiveSeverity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern PackageIssue_EffectiveSeverity_SEVERITYUNSPECIFIED :: PackageIssue_EffectiveSeverity+pattern PackageIssue_EffectiveSeverity_SEVERITYUNSPECIFIED = PackageIssue_EffectiveSeverity "SEVERITY_UNSPECIFIED"++-- | Minimal severity.+pattern PackageIssue_EffectiveSeverity_Minimal :: PackageIssue_EffectiveSeverity+pattern PackageIssue_EffectiveSeverity_Minimal = PackageIssue_EffectiveSeverity "MINIMAL"++-- | Low severity.+pattern PackageIssue_EffectiveSeverity_Low :: PackageIssue_EffectiveSeverity+pattern PackageIssue_EffectiveSeverity_Low = PackageIssue_EffectiveSeverity "LOW"++-- | Medium severity.+pattern PackageIssue_EffectiveSeverity_Medium :: PackageIssue_EffectiveSeverity+pattern PackageIssue_EffectiveSeverity_Medium = PackageIssue_EffectiveSeverity "MEDIUM"++-- | High severity.+pattern PackageIssue_EffectiveSeverity_High :: PackageIssue_EffectiveSeverity+pattern PackageIssue_EffectiveSeverity_High = PackageIssue_EffectiveSeverity "HIGH"++-- | Critical severity.+pattern PackageIssue_EffectiveSeverity_Critical :: PackageIssue_EffectiveSeverity+pattern PackageIssue_EffectiveSeverity_Critical = PackageIssue_EffectiveSeverity "CRITICAL"++{-# COMPLETE+ PackageIssue_EffectiveSeverity_SEVERITYUNSPECIFIED,+ PackageIssue_EffectiveSeverity_Minimal,+ PackageIssue_EffectiveSeverity_Low,+ PackageIssue_EffectiveSeverity_Medium,+ PackageIssue_EffectiveSeverity_High,+ PackageIssue_EffectiveSeverity_Critical,+ PackageIssue_EffectiveSeverity+ #-}++-- | The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.+newtype PackageNote_Architecture = PackageNote_Architecture {fromPackageNote_Architecture :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown architecture.+pattern PackageNote_Architecture_ARCHITECTUREUNSPECIFIED :: PackageNote_Architecture+pattern PackageNote_Architecture_ARCHITECTUREUNSPECIFIED = PackageNote_Architecture "ARCHITECTURE_UNSPECIFIED"++-- | X86 architecture.+pattern PackageNote_Architecture_X86 :: PackageNote_Architecture+pattern PackageNote_Architecture_X86 = PackageNote_Architecture "X86"++-- | X64 architecture.+pattern PackageNote_Architecture_X64 :: PackageNote_Architecture+pattern PackageNote_Architecture_X64 = PackageNote_Architecture "X64"++{-# COMPLETE+ PackageNote_Architecture_ARCHITECTUREUNSPECIFIED,+ PackageNote_Architecture_X86,+ PackageNote_Architecture_X64,+ PackageNote_Architecture+ #-}++-- | Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.+newtype PackageOccurrence_Architecture = PackageOccurrence_Architecture {fromPackageOccurrence_Architecture :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown architecture.+pattern PackageOccurrence_Architecture_ARCHITECTUREUNSPECIFIED :: PackageOccurrence_Architecture+pattern PackageOccurrence_Architecture_ARCHITECTUREUNSPECIFIED = PackageOccurrence_Architecture "ARCHITECTURE_UNSPECIFIED"++-- | X86 architecture.+pattern PackageOccurrence_Architecture_X86 :: PackageOccurrence_Architecture+pattern PackageOccurrence_Architecture_X86 = PackageOccurrence_Architecture "X86"++-- | X64 architecture.+pattern PackageOccurrence_Architecture_X64 :: PackageOccurrence_Architecture+pattern PackageOccurrence_Architecture_X64 = PackageOccurrence_Architecture "X64"++{-# COMPLETE+ PackageOccurrence_Architecture_ARCHITECTUREUNSPECIFIED,+ PackageOccurrence_Architecture_X86,+ PackageOccurrence_Architecture_X64,+ PackageOccurrence_Architecture+ #-}++-- | The type of remediation that can be applied.+newtype Remediation_RemediationType = Remediation_RemediationType {fromRemediation_RemediationType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No remediation type specified.+pattern Remediation_RemediationType_REMEDIATIONTYPEUNSPECIFIED :: Remediation_RemediationType+pattern Remediation_RemediationType_REMEDIATIONTYPEUNSPECIFIED = Remediation_RemediationType "REMEDIATION_TYPE_UNSPECIFIED"++-- | A MITIGATION is available.+pattern Remediation_RemediationType_Mitigation :: Remediation_RemediationType+pattern Remediation_RemediationType_Mitigation = Remediation_RemediationType "MITIGATION"++-- | No fix is planned.+pattern Remediation_RemediationType_NOFIXPLANNED :: Remediation_RemediationType+pattern Remediation_RemediationType_NOFIXPLANNED = Remediation_RemediationType "NO_FIX_PLANNED"++-- | Not available.+pattern Remediation_RemediationType_NONEAVAILABLE :: Remediation_RemediationType+pattern Remediation_RemediationType_NONEAVAILABLE = Remediation_RemediationType "NONE_AVAILABLE"++-- | A vendor fix is available.+pattern Remediation_RemediationType_VENDORFIX :: Remediation_RemediationType+pattern Remediation_RemediationType_VENDORFIX = Remediation_RemediationType "VENDOR_FIX"++-- | A workaround is available.+pattern Remediation_RemediationType_Workaround :: Remediation_RemediationType+pattern Remediation_RemediationType_Workaround = Remediation_RemediationType "WORKAROUND"++{-# COMPLETE+ Remediation_RemediationType_REMEDIATIONTYPEUNSPECIFIED,+ Remediation_RemediationType_Mitigation,+ Remediation_RemediationType_NOFIXPLANNED,+ Remediation_RemediationType_NONEAVAILABLE,+ Remediation_RemediationType_VENDORFIX,+ Remediation_RemediationType_Workaround,+ Remediation_RemediationType+ #-}++-- | The progress of the SBOM generation.+newtype SBOMStatus_SbomState = SBOMStatus_SbomState {fromSBOMStatus_SbomState :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default unknown state.+pattern SBOMStatus_SbomState_SBOMSTATEUNSPECIFIED :: SBOMStatus_SbomState+pattern SBOMStatus_SbomState_SBOMSTATEUNSPECIFIED = SBOMStatus_SbomState "SBOM_STATE_UNSPECIFIED"++-- | SBOM scanning is pending.+pattern SBOMStatus_SbomState_Pending :: SBOMStatus_SbomState+pattern SBOMStatus_SbomState_Pending = SBOMStatus_SbomState "PENDING"++-- | SBOM scanning has completed.+pattern SBOMStatus_SbomState_Complete :: SBOMStatus_SbomState+pattern SBOMStatus_SbomState_Complete = SBOMStatus_SbomState "COMPLETE"++{-# COMPLETE+ SBOMStatus_SbomState_SBOMSTATEUNSPECIFIED,+ SBOMStatus_SbomState_Pending,+ SBOMStatus_SbomState_Complete,+ SBOMStatus_SbomState+ #-}++-- | Required. Distinguishes between sentinel MIN\/MAX versions and normal versions.+newtype Version_Kind = Version_Kind {fromVersion_Kind :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern Version_Kind_VERSIONKINDUNSPECIFIED :: Version_Kind+pattern Version_Kind_VERSIONKINDUNSPECIFIED = Version_Kind "VERSION_KIND_UNSPECIFIED"++-- | A standard package version.+pattern Version_Kind_Normal :: Version_Kind+pattern Version_Kind_Normal = Version_Kind "NORMAL"++-- | A special version representing negative infinity.+pattern Version_Kind_Minimum :: Version_Kind+pattern Version_Kind_Minimum = Version_Kind "MINIMUM"++-- | A special version representing positive infinity.+pattern Version_Kind_Maximum :: Version_Kind+pattern Version_Kind_Maximum = Version_Kind "MAXIMUM"++{-# COMPLETE+ Version_Kind_VERSIONKINDUNSPECIFIED,+ Version_Kind_Normal,+ Version_Kind_Minimum,+ Version_Kind_Maximum,+ Version_Kind+ #-}++-- | Provides the state of this Vulnerability assessment.+newtype VexAssessment_State = VexAssessment_State {fromVexAssessment_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No state is specified.+pattern VexAssessment_State_STATEUNSPECIFIED :: VexAssessment_State+pattern VexAssessment_State_STATEUNSPECIFIED = VexAssessment_State "STATE_UNSPECIFIED"++-- | This product is known to be affected by this vulnerability.+pattern VexAssessment_State_Affected :: VexAssessment_State+pattern VexAssessment_State_Affected = VexAssessment_State "AFFECTED"++-- | This product is known to be not affected by this vulnerability.+pattern VexAssessment_State_NOTAFFECTED :: VexAssessment_State+pattern VexAssessment_State_NOTAFFECTED = VexAssessment_State "NOT_AFFECTED"++-- | This product contains a fix for this vulnerability.+pattern VexAssessment_State_Fixed :: VexAssessment_State+pattern VexAssessment_State_Fixed = VexAssessment_State "FIXED"++-- | It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation.+pattern VexAssessment_State_UNDERINVESTIGATION :: VexAssessment_State+pattern VexAssessment_State_UNDERINVESTIGATION = VexAssessment_State "UNDER_INVESTIGATION"++{-# COMPLETE+ VexAssessment_State_STATEUNSPECIFIED,+ VexAssessment_State_Affected,+ VexAssessment_State_NOTAFFECTED,+ VexAssessment_State_Fixed,+ VexAssessment_State_UNDERINVESTIGATION,+ VexAssessment_State+ #-}++-- | CVSS version used to populate cvss_score and severity.+newtype VulnerabilityNote_CvssVersion = VulnerabilityNote_CvssVersion {fromVulnerabilityNote_CvssVersion :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern VulnerabilityNote_CvssVersion_CVSSVERSIONUNSPECIFIED :: VulnerabilityNote_CvssVersion+pattern VulnerabilityNote_CvssVersion_CVSSVERSIONUNSPECIFIED = VulnerabilityNote_CvssVersion "CVSS_VERSION_UNSPECIFIED"++pattern VulnerabilityNote_CvssVersion_CVSS_VERSION_2 :: VulnerabilityNote_CvssVersion+pattern VulnerabilityNote_CvssVersion_CVSS_VERSION_2 = VulnerabilityNote_CvssVersion "CVSS_VERSION_2"++pattern VulnerabilityNote_CvssVersion_CVSS_VERSION_3 :: VulnerabilityNote_CvssVersion+pattern VulnerabilityNote_CvssVersion_CVSS_VERSION_3 = VulnerabilityNote_CvssVersion "CVSS_VERSION_3"++{-# COMPLETE+ VulnerabilityNote_CvssVersion_CVSSVERSIONUNSPECIFIED,+ VulnerabilityNote_CvssVersion_CVSS_VERSION_2,+ VulnerabilityNote_CvssVersion_CVSS_VERSION_3,+ VulnerabilityNote_CvssVersion+ #-}++-- | The note provider assigned severity of this vulnerability.+newtype VulnerabilityNote_Severity = VulnerabilityNote_Severity {fromVulnerabilityNote_Severity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern VulnerabilityNote_Severity_SEVERITYUNSPECIFIED :: VulnerabilityNote_Severity+pattern VulnerabilityNote_Severity_SEVERITYUNSPECIFIED = VulnerabilityNote_Severity "SEVERITY_UNSPECIFIED"++-- | Minimal severity.+pattern VulnerabilityNote_Severity_Minimal :: VulnerabilityNote_Severity+pattern VulnerabilityNote_Severity_Minimal = VulnerabilityNote_Severity "MINIMAL"++-- | Low severity.+pattern VulnerabilityNote_Severity_Low :: VulnerabilityNote_Severity+pattern VulnerabilityNote_Severity_Low = VulnerabilityNote_Severity "LOW"++-- | Medium severity.+pattern VulnerabilityNote_Severity_Medium :: VulnerabilityNote_Severity+pattern VulnerabilityNote_Severity_Medium = VulnerabilityNote_Severity "MEDIUM"++-- | High severity.+pattern VulnerabilityNote_Severity_High :: VulnerabilityNote_Severity+pattern VulnerabilityNote_Severity_High = VulnerabilityNote_Severity "HIGH"++-- | Critical severity.+pattern VulnerabilityNote_Severity_Critical :: VulnerabilityNote_Severity+pattern VulnerabilityNote_Severity_Critical = VulnerabilityNote_Severity "CRITICAL"++{-# COMPLETE+ VulnerabilityNote_Severity_SEVERITYUNSPECIFIED,+ VulnerabilityNote_Severity_Minimal,+ VulnerabilityNote_Severity_Low,+ VulnerabilityNote_Severity_Medium,+ VulnerabilityNote_Severity_High,+ VulnerabilityNote_Severity_Critical,+ VulnerabilityNote_Severity+ #-}++-- | Output only. CVSS version used to populate cvss_score and severity.+newtype VulnerabilityOccurrence_CvssVersion = VulnerabilityOccurrence_CvssVersion {fromVulnerabilityOccurrence_CvssVersion :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++pattern VulnerabilityOccurrence_CvssVersion_CVSSVERSIONUNSPECIFIED :: VulnerabilityOccurrence_CvssVersion+pattern VulnerabilityOccurrence_CvssVersion_CVSSVERSIONUNSPECIFIED = VulnerabilityOccurrence_CvssVersion "CVSS_VERSION_UNSPECIFIED"++pattern VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_2 :: VulnerabilityOccurrence_CvssVersion+pattern VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_2 = VulnerabilityOccurrence_CvssVersion "CVSS_VERSION_2"++pattern VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_3 :: VulnerabilityOccurrence_CvssVersion+pattern VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_3 = VulnerabilityOccurrence_CvssVersion "CVSS_VERSION_3"++{-# COMPLETE+ VulnerabilityOccurrence_CvssVersion_CVSSVERSIONUNSPECIFIED,+ VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_2,+ VulnerabilityOccurrence_CvssVersion_CVSS_VERSION_3,+ VulnerabilityOccurrence_CvssVersion+ #-}++-- | The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.+newtype VulnerabilityOccurrence_EffectiveSeverity = VulnerabilityOccurrence_EffectiveSeverity {fromVulnerabilityOccurrence_EffectiveSeverity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern VulnerabilityOccurrence_EffectiveSeverity_SEVERITYUNSPECIFIED :: VulnerabilityOccurrence_EffectiveSeverity+pattern VulnerabilityOccurrence_EffectiveSeverity_SEVERITYUNSPECIFIED = VulnerabilityOccurrence_EffectiveSeverity "SEVERITY_UNSPECIFIED"++-- | Minimal severity.+pattern VulnerabilityOccurrence_EffectiveSeverity_Minimal :: VulnerabilityOccurrence_EffectiveSeverity+pattern VulnerabilityOccurrence_EffectiveSeverity_Minimal = VulnerabilityOccurrence_EffectiveSeverity "MINIMAL"++-- | Low severity.+pattern VulnerabilityOccurrence_EffectiveSeverity_Low :: VulnerabilityOccurrence_EffectiveSeverity+pattern VulnerabilityOccurrence_EffectiveSeverity_Low = VulnerabilityOccurrence_EffectiveSeverity "LOW"++-- | Medium severity.+pattern VulnerabilityOccurrence_EffectiveSeverity_Medium :: VulnerabilityOccurrence_EffectiveSeverity+pattern VulnerabilityOccurrence_EffectiveSeverity_Medium = VulnerabilityOccurrence_EffectiveSeverity "MEDIUM"++-- | High severity.+pattern VulnerabilityOccurrence_EffectiveSeverity_High :: VulnerabilityOccurrence_EffectiveSeverity+pattern VulnerabilityOccurrence_EffectiveSeverity_High = VulnerabilityOccurrence_EffectiveSeverity "HIGH"++-- | Critical severity.+pattern VulnerabilityOccurrence_EffectiveSeverity_Critical :: VulnerabilityOccurrence_EffectiveSeverity+pattern VulnerabilityOccurrence_EffectiveSeverity_Critical = VulnerabilityOccurrence_EffectiveSeverity "CRITICAL"++{-# COMPLETE+ VulnerabilityOccurrence_EffectiveSeverity_SEVERITYUNSPECIFIED,+ VulnerabilityOccurrence_EffectiveSeverity_Minimal,+ VulnerabilityOccurrence_EffectiveSeverity_Low,+ VulnerabilityOccurrence_EffectiveSeverity_Medium,+ VulnerabilityOccurrence_EffectiveSeverity_High,+ VulnerabilityOccurrence_EffectiveSeverity_Critical,+ VulnerabilityOccurrence_EffectiveSeverity+ #-}++-- | Output only. The note provider assigned severity of this vulnerability.+newtype VulnerabilityOccurrence_Severity = VulnerabilityOccurrence_Severity {fromVulnerabilityOccurrence_Severity :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unknown.+pattern VulnerabilityOccurrence_Severity_SEVERITYUNSPECIFIED :: VulnerabilityOccurrence_Severity+pattern VulnerabilityOccurrence_Severity_SEVERITYUNSPECIFIED = VulnerabilityOccurrence_Severity "SEVERITY_UNSPECIFIED"++-- | Minimal severity.+pattern VulnerabilityOccurrence_Severity_Minimal :: VulnerabilityOccurrence_Severity+pattern VulnerabilityOccurrence_Severity_Minimal = VulnerabilityOccurrence_Severity "MINIMAL"++-- | Low severity.+pattern VulnerabilityOccurrence_Severity_Low :: VulnerabilityOccurrence_Severity+pattern VulnerabilityOccurrence_Severity_Low = VulnerabilityOccurrence_Severity "LOW"++-- | Medium severity.+pattern VulnerabilityOccurrence_Severity_Medium :: VulnerabilityOccurrence_Severity+pattern VulnerabilityOccurrence_Severity_Medium = VulnerabilityOccurrence_Severity "MEDIUM"++-- | High severity.+pattern VulnerabilityOccurrence_Severity_High :: VulnerabilityOccurrence_Severity+pattern VulnerabilityOccurrence_Severity_High = VulnerabilityOccurrence_Severity "HIGH"++-- | Critical severity.+pattern VulnerabilityOccurrence_Severity_Critical :: VulnerabilityOccurrence_Severity+pattern VulnerabilityOccurrence_Severity_Critical = VulnerabilityOccurrence_Severity "CRITICAL"++{-# COMPLETE+ VulnerabilityOccurrence_Severity_SEVERITYUNSPECIFIED,+ VulnerabilityOccurrence_Severity_Minimal,+ VulnerabilityOccurrence_Severity_Low,+ VulnerabilityOccurrence_Severity_Medium,+ VulnerabilityOccurrence_Severity_High,+ VulnerabilityOccurrence_Severity_Critical,+ VulnerabilityOccurrence_Severity+ #-}
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/BatchCreate.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.BatchCreate+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates new notes in batch.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.batchCreate@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.BatchCreate+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesBatchCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesBatchCreate (..),+ newContainerAnalysisProjectsLocationsNotesBatchCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.batchCreate@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesBatchCreate' request conforms to.+type ContainerAnalysisProjectsLocationsNotesBatchCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "notes:batchCreate"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] BatchCreateNotesRequest+ Core.:> Core.Post '[Core.JSON] BatchCreateNotesResponse++-- | Creates new notes in batch.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesBatchCreate' smart constructor.+data ContainerAnalysisProjectsLocationsNotesBatchCreate = ContainerAnalysisProjectsLocationsNotesBatchCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the notes are to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: BatchCreateNotesRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesBatchCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesBatchCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the notes are to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ BatchCreateNotesRequest ->+ ContainerAnalysisProjectsLocationsNotesBatchCreate+newContainerAnalysisProjectsLocationsNotesBatchCreate+ parent+ payload =+ ContainerAnalysisProjectsLocationsNotesBatchCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesBatchCreate+ where+ type+ Rs ContainerAnalysisProjectsLocationsNotesBatchCreate =+ BatchCreateNotesResponse+ type+ Scopes ContainerAnalysisProjectsLocationsNotesBatchCreate =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsNotesBatchCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsNotesBatchCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Create.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.create@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.Create+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesCreate (..),+ newContainerAnalysisProjectsLocationsNotesCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.create@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesCreate' request conforms to.+type ContainerAnalysisProjectsLocationsNotesCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "notes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "noteId" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Note+ Core.:> Core.Post '[Core.JSON] Note++-- | Creates a new note.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesCreate' smart constructor.+data ContainerAnalysisProjectsLocationsNotesCreate = ContainerAnalysisProjectsLocationsNotesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The ID to use for this note.+ noteId :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the note is to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: Note,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the note is to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Note ->+ ContainerAnalysisProjectsLocationsNotesCreate+newContainerAnalysisProjectsLocationsNotesCreate parent payload =+ ContainerAnalysisProjectsLocationsNotesCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ noteId = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesCreate+ where+ type Rs ContainerAnalysisProjectsLocationsNotesCreate = Note+ type+ Scopes ContainerAnalysisProjectsLocationsNotesCreate =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsNotesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ noteId+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsLocationsNotesCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Delete.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.delete@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.Delete+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesDeleteResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesDelete (..),+ newContainerAnalysisProjectsLocationsNotesDelete,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.delete@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesDelete' request conforms to.+type ContainerAnalysisProjectsLocationsNotesDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesDelete' smart constructor.+data ContainerAnalysisProjectsLocationsNotesDelete = ContainerAnalysisProjectsLocationsNotesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesDelete' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesDelete ::+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesDelete+newContainerAnalysisProjectsLocationsNotesDelete name =+ ContainerAnalysisProjectsLocationsNotesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesDelete+ where+ type Rs ContainerAnalysisProjectsLocationsNotesDelete = Empty+ type+ Scopes ContainerAnalysisProjectsLocationsNotesDelete =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsNotesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsLocationsNotesDeleteResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Get.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.get@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.Get+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesGetResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesGet (..),+ newContainerAnalysisProjectsLocationsNotesGet,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.get@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesGet' request conforms to.+type ContainerAnalysisProjectsLocationsNotesGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] Note++-- | Gets the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesGet' smart constructor.+data ContainerAnalysisProjectsLocationsNotesGet = ContainerAnalysisProjectsLocationsNotesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesGet' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesGet ::+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesGet+newContainerAnalysisProjectsLocationsNotesGet name =+ ContainerAnalysisProjectsLocationsNotesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesGet+ where+ type Rs ContainerAnalysisProjectsLocationsNotesGet = Note+ type+ Scopes ContainerAnalysisProjectsLocationsNotesGet =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsNotesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsLocationsNotesGetResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/GetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.GetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.getIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.GetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesGetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesGetIamPolicy (..),+ newContainerAnalysisProjectsLocationsNotesGetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.getIamPolicy@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesGetIamPolicy' request conforms to.+type ContainerAnalysisProjectsLocationsNotesGetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesGetIamPolicy' smart constructor.+data ContainerAnalysisProjectsLocationsNotesGetIamPolicy = ContainerAnalysisProjectsLocationsNotesGetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: GetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesGetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesGetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ GetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesGetIamPolicy+newContainerAnalysisProjectsLocationsNotesGetIamPolicy+ payload+ resource =+ ContainerAnalysisProjectsLocationsNotesGetIamPolicy+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesGetIamPolicy+ where+ type+ Rs ContainerAnalysisProjectsLocationsNotesGetIamPolicy =+ Policy+ type+ Scopes ContainerAnalysisProjectsLocationsNotesGetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsNotesGetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsNotesGetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/List.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists notes for the specified project.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.list@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.List+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesListResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesList (..),+ newContainerAnalysisProjectsLocationsNotesList,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.list@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesList' request conforms to.+type ContainerAnalysisProjectsLocationsNotesListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "notes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListNotesResponse++-- | Lists notes for the specified project.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesList' smart constructor.+data ContainerAnalysisProjectsLocationsNotesList = ContainerAnalysisProjectsLocationsNotesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Token to provide to skip to a particular spot in the list.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The name of the project to list notes for in the form of @projects\/[PROJECT_ID]@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesList' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesList ::+ -- | Required. The name of the project to list notes for in the form of @projects\/[PROJECT_ID]@. See 'parent'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesList+newContainerAnalysisProjectsLocationsNotesList parent =+ ContainerAnalysisProjectsLocationsNotesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesList+ where+ type+ Rs ContainerAnalysisProjectsLocationsNotesList =+ ListNotesResponse+ type+ Scopes ContainerAnalysisProjectsLocationsNotesList =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsNotesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsLocationsNotesListResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Occurrences/List.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.Occurrences.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.occurrences.list@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.Occurrences.List+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesOccurrencesListResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesOccurrencesList (..),+ newContainerAnalysisProjectsLocationsNotesOccurrencesList,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.occurrences.list@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesOccurrencesList' request conforms to.+type ContainerAnalysisProjectsLocationsNotesOccurrencesListResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> "occurrences"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListNoteOccurrencesResponse++-- | Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesOccurrencesList' smart constructor.+data ContainerAnalysisProjectsLocationsNotesOccurrencesList = ContainerAnalysisProjectsLocationsNotesOccurrencesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Required. The name of the note to list occurrences for in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Number of occurrences to return in the list.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Token to provide to skip to a particular spot in the list.+ pageToken :: (Core.Maybe Core.Text),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesOccurrencesList' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesOccurrencesList ::+ -- | Required. The name of the note to list occurrences for in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesOccurrencesList+newContainerAnalysisProjectsLocationsNotesOccurrencesList name =+ ContainerAnalysisProjectsLocationsNotesOccurrencesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ name = name,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesOccurrencesList+ where+ type+ Rs ContainerAnalysisProjectsLocationsNotesOccurrencesList =+ ListNoteOccurrencesResponse+ type+ Scopes ContainerAnalysisProjectsLocationsNotesOccurrencesList =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsNotesOccurrencesList {..} =+ go+ name+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsNotesOccurrencesListResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/Patch.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.patch@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.Patch+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesPatchResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesPatch (..),+ newContainerAnalysisProjectsLocationsNotesPatch,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.patch@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesPatch' request conforms to.+type ContainerAnalysisProjectsLocationsNotesPatchResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "updateMask" Core.FieldMask+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Note+ Core.:> Core.Patch '[Core.JSON] Note++-- | Updates the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesPatch' smart constructor.+data ContainerAnalysisProjectsLocationsNotesPatch = ContainerAnalysisProjectsLocationsNotesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: Note,+ -- | The fields to update.+ updateMask :: (Core.Maybe Core.FieldMask),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesPatch' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesPatch ::+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Note ->+ ContainerAnalysisProjectsLocationsNotesPatch+newContainerAnalysisProjectsLocationsNotesPatch name payload =+ ContainerAnalysisProjectsLocationsNotesPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ updateMask = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesPatch+ where+ type Rs ContainerAnalysisProjectsLocationsNotesPatch = Note+ type+ Scopes ContainerAnalysisProjectsLocationsNotesPatch =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsNotesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ updateMask+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsLocationsNotesPatchResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/SetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.SetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.setIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.SetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesSetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesSetIamPolicy (..),+ newContainerAnalysisProjectsLocationsNotesSetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.setIamPolicy@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesSetIamPolicy' request conforms to.+type ContainerAnalysisProjectsLocationsNotesSetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "setIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] SetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesSetIamPolicy' smart constructor.+data ContainerAnalysisProjectsLocationsNotesSetIamPolicy = ContainerAnalysisProjectsLocationsNotesSetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: SetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesSetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesSetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ SetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesSetIamPolicy+newContainerAnalysisProjectsLocationsNotesSetIamPolicy+ payload+ resource =+ ContainerAnalysisProjectsLocationsNotesSetIamPolicy+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesSetIamPolicy+ where+ type+ Rs ContainerAnalysisProjectsLocationsNotesSetIamPolicy =+ Policy+ type+ Scopes ContainerAnalysisProjectsLocationsNotesSetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsNotesSetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsNotesSetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Notes/TestIamPermissions.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Notes.TestIamPermissions+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.notes.testIamPermissions@.+module Gogol.ContainerAnalysis.Projects.Locations.Notes.TestIamPermissions+ ( -- * Resource+ ContainerAnalysisProjectsLocationsNotesTestIamPermissionsResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions (..),+ newContainerAnalysisProjectsLocationsNotesTestIamPermissions,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.notes.testIamPermissions@ method which the+-- 'ContainerAnalysisProjectsLocationsNotesTestIamPermissions' request conforms to.+type ContainerAnalysisProjectsLocationsNotesTestIamPermissionsResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "testIamPermissions" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TestIamPermissionsRequest+ Core.:> Core.Post '[Core.JSON] TestIamPermissionsResponse++-- | Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsNotesTestIamPermissions' smart constructor.+data ContainerAnalysisProjectsLocationsNotesTestIamPermissions = ContainerAnalysisProjectsLocationsNotesTestIamPermissions+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: TestIamPermissionsRequest,+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsNotesTestIamPermissions' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsNotesTestIamPermissions ::+ -- | Multipart request metadata. See 'payload'.+ TestIamPermissionsRequest ->+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions+newContainerAnalysisProjectsLocationsNotesTestIamPermissions+ payload+ resource =+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions+ where+ type+ Rs ContainerAnalysisProjectsLocationsNotesTestIamPermissions =+ TestIamPermissionsResponse+ type+ Scopes+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsNotesTestIamPermissions {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsNotesTestIamPermissionsResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/BatchCreate.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.BatchCreate+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates new occurrences in batch.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.batchCreate@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.BatchCreate+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate (..),+ newContainerAnalysisProjectsLocationsOccurrencesBatchCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.batchCreate@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesBatchCreate' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesBatchCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences:batchCreate"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] BatchCreateOccurrencesRequest+ Core.:> Core.Post '[Core.JSON] BatchCreateOccurrencesResponse++-- | Creates new occurrences in batch.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesBatchCreate' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesBatchCreate = ContainerAnalysisProjectsLocationsOccurrencesBatchCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrences are to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: BatchCreateOccurrencesRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesBatchCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesBatchCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrences are to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ BatchCreateOccurrencesRequest ->+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate+newContainerAnalysisProjectsLocationsOccurrencesBatchCreate+ parent+ payload =+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesBatchCreate =+ BatchCreateOccurrencesResponse+ type+ Scopes+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesBatchCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Create.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new occurrence.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.create@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Create+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesCreate (..),+ newContainerAnalysisProjectsLocationsOccurrencesCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.create@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesCreate' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Occurrence+ Core.:> Core.Post '[Core.JSON] Occurrence++-- | Creates a new occurrence.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesCreate' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesCreate = ContainerAnalysisProjectsLocationsOccurrencesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrence is to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: Occurrence,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrence is to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Occurrence ->+ ContainerAnalysisProjectsLocationsOccurrencesCreate+newContainerAnalysisProjectsLocationsOccurrencesCreate+ parent+ payload =+ ContainerAnalysisProjectsLocationsOccurrencesCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesCreate+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesCreate =+ Occurrence+ type+ Scopes ContainerAnalysisProjectsLocationsOccurrencesCreate =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Delete.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.delete@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Delete+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesDeleteResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesDelete (..),+ newContainerAnalysisProjectsLocationsOccurrencesDelete,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.delete@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesDelete' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesDelete' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesDelete = ContainerAnalysisProjectsLocationsOccurrencesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesDelete' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesDelete ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesDelete+newContainerAnalysisProjectsLocationsOccurrencesDelete name =+ ContainerAnalysisProjectsLocationsOccurrencesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesDelete+ where+ type Rs ContainerAnalysisProjectsLocationsOccurrencesDelete = Empty+ type+ Scopes ContainerAnalysisProjectsLocationsOccurrencesDelete =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesDeleteResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Get.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified occurrence.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.get@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Get+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesGetResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesGet (..),+ newContainerAnalysisProjectsLocationsOccurrencesGet,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.get@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesGet' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] Occurrence++-- | Gets the specified occurrence.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesGet' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesGet = ContainerAnalysisProjectsLocationsOccurrencesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesGet' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesGet ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesGet+newContainerAnalysisProjectsLocationsOccurrencesGet name =+ ContainerAnalysisProjectsLocationsOccurrencesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesGet+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesGet =+ Occurrence+ type+ Scopes ContainerAnalysisProjectsLocationsOccurrencesGet =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsOccurrencesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesGetResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/GetIamPolicy.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.getIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy (..),+ newContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.getIamPolicy@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy = ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: GetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ GetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy+newContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy+ payload+ resource =+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy =+ Policy+ type+ Scopes+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesGetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/GetNotes.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetNotes+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.getNotes@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetNotes+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesGetNotesResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesGetNotes (..),+ newContainerAnalysisProjectsLocationsOccurrencesGetNotes,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.getNotes@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesGetNotes' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesGetNotesResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> "notes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] Note++-- | Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesGetNotes' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesGetNotes = ContainerAnalysisProjectsLocationsOccurrencesGetNotes+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesGetNotes' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesGetNotes ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesGetNotes+newContainerAnalysisProjectsLocationsOccurrencesGetNotes name =+ ContainerAnalysisProjectsLocationsOccurrencesGetNotes+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesGetNotes+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesGetNotes =+ Note+ type+ Scopes ContainerAnalysisProjectsLocationsOccurrencesGetNotes =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesGetNotes {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesGetNotesResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/GetVulnerabilitySummary.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetVulnerabilitySummary+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a summary of the number and severity of occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.getVulnerabilitySummary@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetVulnerabilitySummary+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummaryResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary (..),+ newContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.getVulnerabilitySummary@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummaryResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences:vulnerabilitySummary"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] VulnerabilityOccurrencesSummary++-- | Gets a summary of the number and severity of occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary = ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Required. The name of the project to get a vulnerability summary for in the form of @projects\/[PROJECT_ID]@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary ::+ -- | Required. The name of the project to get a vulnerability summary for in the form of @projects\/[PROJECT_ID]@. See 'parent'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary+newContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary+ parent =+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol =+ Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary+ where+ type+ Rs+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary =+ VulnerabilityOccurrencesSummary+ type+ Scopes+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummary {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesGetVulnerabilitySummaryResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/List.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists occurrences for the specified project.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.list@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.List+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesListResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesList (..),+ newContainerAnalysisProjectsLocationsOccurrencesList,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.list@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesList' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListOccurrencesResponse++-- | Lists occurrences for the specified project.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesList' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesList = ContainerAnalysisProjectsLocationsOccurrencesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Token to provide to skip to a particular spot in the list.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The name of the project to list occurrences for in the form of @projects\/[PROJECT_ID]@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesList' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesList ::+ -- | Required. The name of the project to list occurrences for in the form of @projects\/[PROJECT_ID]@. See 'parent'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesList+newContainerAnalysisProjectsLocationsOccurrencesList parent =+ ContainerAnalysisProjectsLocationsOccurrencesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesList+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesList =+ ListOccurrencesResponse+ type+ Scopes ContainerAnalysisProjectsLocationsOccurrencesList =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsLocationsOccurrencesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesListResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/Patch.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the specified occurrence.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.patch@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Patch+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesPatchResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesPatch (..),+ newContainerAnalysisProjectsLocationsOccurrencesPatch,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.patch@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesPatch' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesPatchResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "updateMask" Core.FieldMask+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Occurrence+ Core.:> Core.Patch '[Core.JSON] Occurrence++-- | Updates the specified occurrence.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesPatch' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesPatch = ContainerAnalysisProjectsLocationsOccurrencesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: Occurrence,+ -- | The fields to update.+ updateMask :: (Core.Maybe Core.FieldMask),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesPatch' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesPatch ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Occurrence ->+ ContainerAnalysisProjectsLocationsOccurrencesPatch+newContainerAnalysisProjectsLocationsOccurrencesPatch name payload =+ ContainerAnalysisProjectsLocationsOccurrencesPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ updateMask = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesPatch+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesPatch =+ Occurrence+ type+ Scopes ContainerAnalysisProjectsLocationsOccurrencesPatch =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ updateMask+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesPatchResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/SetIamPolicy.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.SetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.setIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.SetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy (..),+ newContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.setIamPolicy@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "setIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] SetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy = ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: SetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ SetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy+newContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy+ payload+ resource =+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy+ where+ type+ Rs ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy =+ Policy+ type+ Scopes+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesSetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Occurrences/TestIamPermissions.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Occurrences.TestIamPermissions+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.occurrences.testIamPermissions@.+module Gogol.ContainerAnalysis.Projects.Locations.Occurrences.TestIamPermissions+ ( -- * Resource+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissionsResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions (..),+ newContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.occurrences.testIamPermissions@ method which the+-- 'ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions' request conforms to.+type ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissionsResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "testIamPermissions" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TestIamPermissionsRequest+ Core.:> Core.Post '[Core.JSON] TestIamPermissionsResponse++-- | Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions' smart constructor.+data ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions = ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: TestIamPermissionsRequest,+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions ::+ -- | Multipart request metadata. See 'payload'.+ TestIamPermissionsRequest ->+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions+newContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions+ payload+ resource =+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions+ where+ type+ Rs+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions =+ TestIamPermissionsResponse+ type+ Scopes+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissions {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsOccurrencesTestIamPermissionsResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Locations/Resources/ExportSBOM.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Locations.Resources.ExportSBOM+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates an SBOM for the given resource.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.locations.resources.exportSBOM@.+module Gogol.ContainerAnalysis.Projects.Locations.Resources.ExportSBOM+ ( -- * Resource+ ContainerAnalysisProjectsLocationsResourcesExportSBOMResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsLocationsResourcesExportSBOM (..),+ newContainerAnalysisProjectsLocationsResourcesExportSBOM,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.locations.resources.exportSBOM@ method which the+-- 'ContainerAnalysisProjectsLocationsResourcesExportSBOM' request conforms to.+type ContainerAnalysisProjectsLocationsResourcesExportSBOMResource =+ "v1"+ Core.:> Core.CaptureMode "name" "exportSBOM" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] ExportSBOMRequest+ Core.:> Core.Post '[Core.JSON] ExportSBOMResponse++-- | Generates an SBOM for the given resource.+--+-- /See:/ 'newContainerAnalysisProjectsLocationsResourcesExportSBOM' smart constructor.+data ContainerAnalysisProjectsLocationsResourcesExportSBOM = ContainerAnalysisProjectsLocationsResourcesExportSBOM+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the resource in the form of @projects\/[PROJECT_ID]\/resources\/[RESOURCE_URL]@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: ExportSBOMRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsLocationsResourcesExportSBOM' with the minimum fields required to make a request.+newContainerAnalysisProjectsLocationsResourcesExportSBOM ::+ -- | Required. The name of the resource in the form of @projects\/[PROJECT_ID]\/resources\/[RESOURCE_URL]@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ ExportSBOMRequest ->+ ContainerAnalysisProjectsLocationsResourcesExportSBOM+newContainerAnalysisProjectsLocationsResourcesExportSBOM+ name+ payload =+ ContainerAnalysisProjectsLocationsResourcesExportSBOM+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsLocationsResourcesExportSBOM+ where+ type+ Rs ContainerAnalysisProjectsLocationsResourcesExportSBOM =+ ExportSBOMResponse+ type+ Scopes ContainerAnalysisProjectsLocationsResourcesExportSBOM =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsLocationsResourcesExportSBOM {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsLocationsResourcesExportSBOMResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/BatchCreate.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.BatchCreate+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates new notes in batch.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.batchCreate@.+module Gogol.ContainerAnalysis.Projects.Notes.BatchCreate+ ( -- * Resource+ ContainerAnalysisProjectsNotesBatchCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesBatchCreate (..),+ newContainerAnalysisProjectsNotesBatchCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.batchCreate@ method which the+-- 'ContainerAnalysisProjectsNotesBatchCreate' request conforms to.+type ContainerAnalysisProjectsNotesBatchCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "notes:batchCreate"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] BatchCreateNotesRequest+ Core.:> Core.Post '[Core.JSON] BatchCreateNotesResponse++-- | Creates new notes in batch.+--+-- /See:/ 'newContainerAnalysisProjectsNotesBatchCreate' smart constructor.+data ContainerAnalysisProjectsNotesBatchCreate = ContainerAnalysisProjectsNotesBatchCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the notes are to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: BatchCreateNotesRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesBatchCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesBatchCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the notes are to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ BatchCreateNotesRequest ->+ ContainerAnalysisProjectsNotesBatchCreate+newContainerAnalysisProjectsNotesBatchCreate parent payload =+ ContainerAnalysisProjectsNotesBatchCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsNotesBatchCreate+ where+ type+ Rs ContainerAnalysisProjectsNotesBatchCreate =+ BatchCreateNotesResponse+ type+ Scopes ContainerAnalysisProjectsNotesBatchCreate =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesBatchCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesBatchCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/Create.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.create@.+module Gogol.ContainerAnalysis.Projects.Notes.Create+ ( -- * Resource+ ContainerAnalysisProjectsNotesCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesCreate (..),+ newContainerAnalysisProjectsNotesCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.create@ method which the+-- 'ContainerAnalysisProjectsNotesCreate' request conforms to.+type ContainerAnalysisProjectsNotesCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "notes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "noteId" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Note+ Core.:> Core.Post '[Core.JSON] Note++-- | Creates a new note.+--+-- /See:/ 'newContainerAnalysisProjectsNotesCreate' smart constructor.+data ContainerAnalysisProjectsNotesCreate = ContainerAnalysisProjectsNotesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The ID to use for this note.+ noteId :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the note is to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: Note,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the note is to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Note ->+ ContainerAnalysisProjectsNotesCreate+newContainerAnalysisProjectsNotesCreate parent payload =+ ContainerAnalysisProjectsNotesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ noteId = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest ContainerAnalysisProjectsNotesCreate where+ type Rs ContainerAnalysisProjectsNotesCreate = Note+ type+ Scopes ContainerAnalysisProjectsNotesCreate =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ noteId+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.delete@.+module Gogol.ContainerAnalysis.Projects.Notes.Delete+ ( -- * Resource+ ContainerAnalysisProjectsNotesDeleteResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesDelete (..),+ newContainerAnalysisProjectsNotesDelete,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.delete@ method which the+-- 'ContainerAnalysisProjectsNotesDelete' request conforms to.+type ContainerAnalysisProjectsNotesDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsNotesDelete' smart constructor.+data ContainerAnalysisProjectsNotesDelete = ContainerAnalysisProjectsNotesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesDelete' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesDelete ::+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsNotesDelete+newContainerAnalysisProjectsNotesDelete name =+ ContainerAnalysisProjectsNotesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest ContainerAnalysisProjectsNotesDelete where+ type Rs ContainerAnalysisProjectsNotesDelete = Empty+ type+ Scopes ContainerAnalysisProjectsNotesDelete =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesDeleteResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/Get.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.get@.+module Gogol.ContainerAnalysis.Projects.Notes.Get+ ( -- * Resource+ ContainerAnalysisProjectsNotesGetResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesGet (..),+ newContainerAnalysisProjectsNotesGet,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.get@ method which the+-- 'ContainerAnalysisProjectsNotesGet' request conforms to.+type ContainerAnalysisProjectsNotesGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] Note++-- | Gets the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsNotesGet' smart constructor.+data ContainerAnalysisProjectsNotesGet = ContainerAnalysisProjectsNotesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesGet' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesGet ::+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsNotesGet+newContainerAnalysisProjectsNotesGet name =+ ContainerAnalysisProjectsNotesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest ContainerAnalysisProjectsNotesGet where+ type Rs ContainerAnalysisProjectsNotesGet = Note+ type+ Scopes ContainerAnalysisProjectsNotesGet =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesGetResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/GetIamPolicy.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.GetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.getIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Notes.GetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsNotesGetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesGetIamPolicy (..),+ newContainerAnalysisProjectsNotesGetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.getIamPolicy@ method which the+-- 'ContainerAnalysisProjectsNotesGetIamPolicy' request conforms to.+type ContainerAnalysisProjectsNotesGetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsNotesGetIamPolicy' smart constructor.+data ContainerAnalysisProjectsNotesGetIamPolicy = ContainerAnalysisProjectsNotesGetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: GetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesGetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesGetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ GetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsNotesGetIamPolicy+newContainerAnalysisProjectsNotesGetIamPolicy payload resource =+ ContainerAnalysisProjectsNotesGetIamPolicy+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsNotesGetIamPolicy+ where+ type Rs ContainerAnalysisProjectsNotesGetIamPolicy = Policy+ type+ Scopes ContainerAnalysisProjectsNotesGetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesGetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesGetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/List.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists notes for the specified project.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.list@.+module Gogol.ContainerAnalysis.Projects.Notes.List+ ( -- * Resource+ ContainerAnalysisProjectsNotesListResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesList (..),+ newContainerAnalysisProjectsNotesList,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.list@ method which the+-- 'ContainerAnalysisProjectsNotesList' request conforms to.+type ContainerAnalysisProjectsNotesListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "notes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListNotesResponse++-- | Lists notes for the specified project.+--+-- /See:/ 'newContainerAnalysisProjectsNotesList' smart constructor.+data ContainerAnalysisProjectsNotesList = ContainerAnalysisProjectsNotesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Token to provide to skip to a particular spot in the list.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The name of the project to list notes for in the form of @projects\/[PROJECT_ID]@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesList' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesList ::+ -- | Required. The name of the project to list notes for in the form of @projects\/[PROJECT_ID]@. See 'parent'.+ Core.Text ->+ ContainerAnalysisProjectsNotesList+newContainerAnalysisProjectsNotesList parent =+ ContainerAnalysisProjectsNotesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest ContainerAnalysisProjectsNotesList where+ type Rs ContainerAnalysisProjectsNotesList = ListNotesResponse+ type+ Scopes ContainerAnalysisProjectsNotesList =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesListResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/Occurrences/List.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.Occurrences.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.occurrences.list@.+module Gogol.ContainerAnalysis.Projects.Notes.Occurrences.List+ ( -- * Resource+ ContainerAnalysisProjectsNotesOccurrencesListResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesOccurrencesList (..),+ newContainerAnalysisProjectsNotesOccurrencesList,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.occurrences.list@ method which the+-- 'ContainerAnalysisProjectsNotesOccurrencesList' request conforms to.+type ContainerAnalysisProjectsNotesOccurrencesListResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> "occurrences"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListNoteOccurrencesResponse++-- | Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsNotesOccurrencesList' smart constructor.+data ContainerAnalysisProjectsNotesOccurrencesList = ContainerAnalysisProjectsNotesOccurrencesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Required. The name of the note to list occurrences for in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Number of occurrences to return in the list.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Token to provide to skip to a particular spot in the list.+ pageToken :: (Core.Maybe Core.Text),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesOccurrencesList' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesOccurrencesList ::+ -- | Required. The name of the note to list occurrences for in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsNotesOccurrencesList+newContainerAnalysisProjectsNotesOccurrencesList name =+ ContainerAnalysisProjectsNotesOccurrencesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ name = name,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsNotesOccurrencesList+ where+ type+ Rs ContainerAnalysisProjectsNotesOccurrencesList =+ ListNoteOccurrencesResponse+ type+ Scopes ContainerAnalysisProjectsNotesOccurrencesList =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesOccurrencesList {..} =+ go+ name+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesOccurrencesListResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/Patch.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the specified note.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.patch@.+module Gogol.ContainerAnalysis.Projects.Notes.Patch+ ( -- * Resource+ ContainerAnalysisProjectsNotesPatchResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesPatch (..),+ newContainerAnalysisProjectsNotesPatch,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.patch@ method which the+-- 'ContainerAnalysisProjectsNotesPatch' request conforms to.+type ContainerAnalysisProjectsNotesPatchResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "updateMask" Core.FieldMask+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Note+ Core.:> Core.Patch '[Core.JSON] Note++-- | Updates the specified note.+--+-- /See:/ 'newContainerAnalysisProjectsNotesPatch' smart constructor.+data ContainerAnalysisProjectsNotesPatch = ContainerAnalysisProjectsNotesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: Note,+ -- | The fields to update.+ updateMask :: (Core.Maybe Core.FieldMask),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesPatch' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesPatch ::+ -- | Required. The name of the note in the form of @projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Note ->+ ContainerAnalysisProjectsNotesPatch+newContainerAnalysisProjectsNotesPatch name payload =+ ContainerAnalysisProjectsNotesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ updateMask = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest ContainerAnalysisProjectsNotesPatch where+ type Rs ContainerAnalysisProjectsNotesPatch = Note+ type+ Scopes ContainerAnalysisProjectsNotesPatch =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ updateMask+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesPatchResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/SetIamPolicy.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.SetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.setIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Notes.SetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsNotesSetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesSetIamPolicy (..),+ newContainerAnalysisProjectsNotesSetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.setIamPolicy@ method which the+-- 'ContainerAnalysisProjectsNotesSetIamPolicy' request conforms to.+type ContainerAnalysisProjectsNotesSetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "setIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] SetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsNotesSetIamPolicy' smart constructor.+data ContainerAnalysisProjectsNotesSetIamPolicy = ContainerAnalysisProjectsNotesSetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: SetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesSetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesSetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ SetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsNotesSetIamPolicy+newContainerAnalysisProjectsNotesSetIamPolicy payload resource =+ ContainerAnalysisProjectsNotesSetIamPolicy+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsNotesSetIamPolicy+ where+ type Rs ContainerAnalysisProjectsNotesSetIamPolicy = Policy+ type+ Scopes ContainerAnalysisProjectsNotesSetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesSetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsNotesSetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Notes/TestIamPermissions.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Notes.TestIamPermissions+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.testIamPermissions@.+module Gogol.ContainerAnalysis.Projects.Notes.TestIamPermissions+ ( -- * Resource+ ContainerAnalysisProjectsNotesTestIamPermissionsResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsNotesTestIamPermissions (..),+ newContainerAnalysisProjectsNotesTestIamPermissions,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.notes.testIamPermissions@ method which the+-- 'ContainerAnalysisProjectsNotesTestIamPermissions' request conforms to.+type ContainerAnalysisProjectsNotesTestIamPermissionsResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "testIamPermissions" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TestIamPermissionsRequest+ Core.:> Core.Post '[Core.JSON] TestIamPermissionsResponse++-- | Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsNotesTestIamPermissions' smart constructor.+data ContainerAnalysisProjectsNotesTestIamPermissions = ContainerAnalysisProjectsNotesTestIamPermissions+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: TestIamPermissionsRequest,+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsNotesTestIamPermissions' with the minimum fields required to make a request.+newContainerAnalysisProjectsNotesTestIamPermissions ::+ -- | Multipart request metadata. See 'payload'.+ TestIamPermissionsRequest ->+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsNotesTestIamPermissions+newContainerAnalysisProjectsNotesTestIamPermissions+ payload+ resource =+ ContainerAnalysisProjectsNotesTestIamPermissions+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsNotesTestIamPermissions+ where+ type+ Rs ContainerAnalysisProjectsNotesTestIamPermissions =+ TestIamPermissionsResponse+ type+ Scopes ContainerAnalysisProjectsNotesTestIamPermissions =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsNotesTestIamPermissions {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsNotesTestIamPermissionsResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/BatchCreate.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.BatchCreate+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates new occurrences in batch.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.batchCreate@.+module Gogol.ContainerAnalysis.Projects.Occurrences.BatchCreate+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesBatchCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesBatchCreate (..),+ newContainerAnalysisProjectsOccurrencesBatchCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.batchCreate@ method which the+-- 'ContainerAnalysisProjectsOccurrencesBatchCreate' request conforms to.+type ContainerAnalysisProjectsOccurrencesBatchCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences:batchCreate"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] BatchCreateOccurrencesRequest+ Core.:> Core.Post '[Core.JSON] BatchCreateOccurrencesResponse++-- | Creates new occurrences in batch.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesBatchCreate' smart constructor.+data ContainerAnalysisProjectsOccurrencesBatchCreate = ContainerAnalysisProjectsOccurrencesBatchCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrences are to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: BatchCreateOccurrencesRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesBatchCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesBatchCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrences are to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ BatchCreateOccurrencesRequest ->+ ContainerAnalysisProjectsOccurrencesBatchCreate+newContainerAnalysisProjectsOccurrencesBatchCreate parent payload =+ ContainerAnalysisProjectsOccurrencesBatchCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesBatchCreate+ where+ type+ Rs ContainerAnalysisProjectsOccurrencesBatchCreate =+ BatchCreateOccurrencesResponse+ type+ Scopes ContainerAnalysisProjectsOccurrencesBatchCreate =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesBatchCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesBatchCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/Create.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new occurrence.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.create@.+module Gogol.ContainerAnalysis.Projects.Occurrences.Create+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesCreateResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesCreate (..),+ newContainerAnalysisProjectsOccurrencesCreate,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.create@ method which the+-- 'ContainerAnalysisProjectsOccurrencesCreate' request conforms to.+type ContainerAnalysisProjectsOccurrencesCreateResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Occurrence+ Core.:> Core.Post '[Core.JSON] Occurrence++-- | Creates a new occurrence.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesCreate' smart constructor.+data ContainerAnalysisProjectsOccurrencesCreate = ContainerAnalysisProjectsOccurrencesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrence is to be created.+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: Occurrence,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesCreate' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesCreate ::+ -- | Required. The name of the project in the form of @projects\/[PROJECT_ID]@, under which the occurrence is to be created. See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Occurrence ->+ ContainerAnalysisProjectsOccurrencesCreate+newContainerAnalysisProjectsOccurrencesCreate parent payload =+ ContainerAnalysisProjectsOccurrencesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesCreate+ where+ type Rs ContainerAnalysisProjectsOccurrencesCreate = Occurrence+ type+ Scopes ContainerAnalysisProjectsOccurrencesCreate =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesCreateResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/Delete.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.delete@.+module Gogol.ContainerAnalysis.Projects.Occurrences.Delete+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesDeleteResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesDelete (..),+ newContainerAnalysisProjectsOccurrencesDelete,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.delete@ method which the+-- 'ContainerAnalysisProjectsOccurrencesDelete' request conforms to.+type ContainerAnalysisProjectsOccurrencesDeleteResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesDelete' smart constructor.+data ContainerAnalysisProjectsOccurrencesDelete = ContainerAnalysisProjectsOccurrencesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesDelete' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesDelete ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesDelete+newContainerAnalysisProjectsOccurrencesDelete name =+ ContainerAnalysisProjectsOccurrencesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesDelete+ where+ type Rs ContainerAnalysisProjectsOccurrencesDelete = Empty+ type+ Scopes ContainerAnalysisProjectsOccurrencesDelete =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesDeleteResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/Get.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified occurrence.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.get@.+module Gogol.ContainerAnalysis.Projects.Occurrences.Get+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesGetResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesGet (..),+ newContainerAnalysisProjectsOccurrencesGet,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.get@ method which the+-- 'ContainerAnalysisProjectsOccurrencesGet' request conforms to.+type ContainerAnalysisProjectsOccurrencesGetResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] Occurrence++-- | Gets the specified occurrence.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesGet' smart constructor.+data ContainerAnalysisProjectsOccurrencesGet = ContainerAnalysisProjectsOccurrencesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesGet' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesGet ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesGet+newContainerAnalysisProjectsOccurrencesGet name =+ ContainerAnalysisProjectsOccurrencesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest ContainerAnalysisProjectsOccurrencesGet where+ type Rs ContainerAnalysisProjectsOccurrencesGet = Occurrence+ type+ Scopes ContainerAnalysisProjectsOccurrencesGet =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesGetResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/GetIamPolicy.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.GetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.getIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Occurrences.GetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesGetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesGetIamPolicy (..),+ newContainerAnalysisProjectsOccurrencesGetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.getIamPolicy@ method which the+-- 'ContainerAnalysisProjectsOccurrencesGetIamPolicy' request conforms to.+type ContainerAnalysisProjectsOccurrencesGetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a note or an occurrence resource. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesGetIamPolicy' smart constructor.+data ContainerAnalysisProjectsOccurrencesGetIamPolicy = ContainerAnalysisProjectsOccurrencesGetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: GetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesGetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesGetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ GetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesGetIamPolicy+newContainerAnalysisProjectsOccurrencesGetIamPolicy+ payload+ resource =+ ContainerAnalysisProjectsOccurrencesGetIamPolicy+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesGetIamPolicy+ where+ type Rs ContainerAnalysisProjectsOccurrencesGetIamPolicy = Policy+ type+ Scopes ContainerAnalysisProjectsOccurrencesGetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesGetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsOccurrencesGetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/GetNotes.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.GetNotes+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.getNotes@.+module Gogol.ContainerAnalysis.Projects.Occurrences.GetNotes+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesGetNotesResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesGetNotes (..),+ newContainerAnalysisProjectsOccurrencesGetNotes,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.getNotes@ method which the+-- 'ContainerAnalysisProjectsOccurrencesGetNotes' request conforms to.+type ContainerAnalysisProjectsOccurrencesGetNotesResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> "notes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] Note++-- | Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesGetNotes' smart constructor.+data ContainerAnalysisProjectsOccurrencesGetNotes = ContainerAnalysisProjectsOccurrencesGetNotes+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesGetNotes' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesGetNotes ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesGetNotes+newContainerAnalysisProjectsOccurrencesGetNotes name =+ ContainerAnalysisProjectsOccurrencesGetNotes+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesGetNotes+ where+ type Rs ContainerAnalysisProjectsOccurrencesGetNotes = Note+ type+ Scopes ContainerAnalysisProjectsOccurrencesGetNotes =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesGetNotes {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesGetNotesResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/GetVulnerabilitySummary.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a summary of the number and severity of occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.getVulnerabilitySummary@.+module Gogol.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummaryResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary (..),+ newContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.getVulnerabilitySummary@ method which the+-- 'ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary' request conforms to.+type ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummaryResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences:vulnerabilitySummary"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] VulnerabilityOccurrencesSummary++-- | Gets a summary of the number and severity of occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary' smart constructor.+data ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary = ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Required. The name of the project to get a vulnerability summary for in the form of @projects\/[PROJECT_ID]@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary ::+ -- | Required. The name of the project to get a vulnerability summary for in the form of @projects\/[PROJECT_ID]@. See 'parent'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary+newContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary+ parent =+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary+ where+ type+ Rs ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary =+ VulnerabilityOccurrencesSummary+ type+ Scopes+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummary {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsOccurrencesGetVulnerabilitySummaryResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/List.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists occurrences for the specified project.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.list@.+module Gogol.ContainerAnalysis.Projects.Occurrences.List+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesListResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesList (..),+ newContainerAnalysisProjectsOccurrencesList,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.list@ method which the+-- 'ContainerAnalysisProjectsOccurrencesList' request conforms to.+type ContainerAnalysisProjectsOccurrencesListResource =+ "v1"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "occurrences"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] ListOccurrencesResponse++-- | Lists occurrences for the specified project.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesList' smart constructor.+data ContainerAnalysisProjectsOccurrencesList = ContainerAnalysisProjectsOccurrencesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | The filter expression.+ filter :: (Core.Maybe Core.Text),+ -- | Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Token to provide to skip to a particular spot in the list.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. The name of the project to list occurrences for in the form of @projects\/[PROJECT_ID]@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesList' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesList ::+ -- | Required. The name of the project to list occurrences for in the form of @projects\/[PROJECT_ID]@. See 'parent'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesList+newContainerAnalysisProjectsOccurrencesList parent =+ ContainerAnalysisProjectsOccurrencesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesList+ where+ type+ Rs ContainerAnalysisProjectsOccurrencesList =+ ListOccurrencesResponse+ type+ Scopes ContainerAnalysisProjectsOccurrencesList =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesListResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/Patch.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the specified occurrence.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.patch@.+module Gogol.ContainerAnalysis.Projects.Occurrences.Patch+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesPatchResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesPatch (..),+ newContainerAnalysisProjectsOccurrencesPatch,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.patch@ method which the+-- 'ContainerAnalysisProjectsOccurrencesPatch' request conforms to.+type ContainerAnalysisProjectsOccurrencesPatchResource =+ "v1"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "updateMask" Core.FieldMask+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] Occurrence+ Core.:> Core.Patch '[Core.JSON] Occurrence++-- | Updates the specified occurrence.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesPatch' smart constructor.+data ContainerAnalysisProjectsOccurrencesPatch = ContainerAnalysisProjectsOccurrencesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: Occurrence,+ -- | The fields to update.+ updateMask :: (Core.Maybe Core.FieldMask),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesPatch' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesPatch ::+ -- | Required. The name of the occurrence in the form of @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ Occurrence ->+ ContainerAnalysisProjectsOccurrencesPatch+newContainerAnalysisProjectsOccurrencesPatch name payload =+ ContainerAnalysisProjectsOccurrencesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ updateMask = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesPatch+ where+ type Rs ContainerAnalysisProjectsOccurrencesPatch = Occurrence+ type+ Scopes ContainerAnalysisProjectsOccurrencesPatch =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ updateMask+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsOccurrencesPatchResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/SetIamPolicy.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.SetIamPolicy+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.setIamPolicy@.+module Gogol.ContainerAnalysis.Projects.Occurrences.SetIamPolicy+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesSetIamPolicyResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesSetIamPolicy (..),+ newContainerAnalysisProjectsOccurrencesSetIamPolicy,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.setIamPolicy@ method which the+-- 'ContainerAnalysisProjectsOccurrencesSetIamPolicy' request conforms to.+type ContainerAnalysisProjectsOccurrencesSetIamPolicyResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "setIamPolicy" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] SetIamPolicyRequest+ Core.:> Core.Post '[Core.JSON] Policy++-- | Sets the access control policy on the specified note or occurrence. Requires @containeranalysis.notes.setIamPolicy@ or @containeranalysis.occurrences.setIamPolicy@ permission if the resource is a note or an occurrence, respectively. The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesSetIamPolicy' smart constructor.+data ContainerAnalysisProjectsOccurrencesSetIamPolicy = ContainerAnalysisProjectsOccurrencesSetIamPolicy+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: SetIamPolicyRequest,+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesSetIamPolicy' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesSetIamPolicy ::+ -- | Multipart request metadata. See 'payload'.+ SetIamPolicyRequest ->+ -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesSetIamPolicy+newContainerAnalysisProjectsOccurrencesSetIamPolicy+ payload+ resource =+ ContainerAnalysisProjectsOccurrencesSetIamPolicy+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesSetIamPolicy+ where+ type Rs ContainerAnalysisProjectsOccurrencesSetIamPolicy = Policy+ type+ Scopes ContainerAnalysisProjectsOccurrencesSetIamPolicy =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsOccurrencesSetIamPolicy {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsOccurrencesSetIamPolicyResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Occurrences/TestIamPermissions.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Occurrences.TestIamPermissions+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.testIamPermissions@.+module Gogol.ContainerAnalysis.Projects.Occurrences.TestIamPermissions+ ( -- * Resource+ ContainerAnalysisProjectsOccurrencesTestIamPermissionsResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsOccurrencesTestIamPermissions (..),+ newContainerAnalysisProjectsOccurrencesTestIamPermissions,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.occurrences.testIamPermissions@ method which the+-- 'ContainerAnalysisProjectsOccurrencesTestIamPermissions' request conforms to.+type ContainerAnalysisProjectsOccurrencesTestIamPermissionsResource =+ "v1"+ Core.:> Core.CaptureMode "resource" "testIamPermissions" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] TestIamPermissionsRequest+ Core.:> Core.Post '[Core.JSON] TestIamPermissionsResponse++-- | Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, @containeranalysis.notes.list@). The resource takes the format @projects\/[PROJECT_ID]\/notes\/[NOTE_ID]@ for notes and @projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]@ for occurrences.+--+-- /See:/ 'newContainerAnalysisProjectsOccurrencesTestIamPermissions' smart constructor.+data ContainerAnalysisProjectsOccurrencesTestIamPermissions = ContainerAnalysisProjectsOccurrencesTestIamPermissions+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Multipart request metadata.+ payload :: TestIamPermissionsRequest,+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+ resource :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsOccurrencesTestIamPermissions' with the minimum fields required to make a request.+newContainerAnalysisProjectsOccurrencesTestIamPermissions ::+ -- | Multipart request metadata. See 'payload'.+ TestIamPermissionsRequest ->+ -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+ Core.Text ->+ ContainerAnalysisProjectsOccurrencesTestIamPermissions+newContainerAnalysisProjectsOccurrencesTestIamPermissions+ payload+ resource =+ ContainerAnalysisProjectsOccurrencesTestIamPermissions+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ payload = payload,+ resource = resource,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsOccurrencesTestIamPermissions+ where+ type+ Rs ContainerAnalysisProjectsOccurrencesTestIamPermissions =+ TestIamPermissionsResponse+ type+ Scopes ContainerAnalysisProjectsOccurrencesTestIamPermissions =+ '[CloudPlatform'FullControl]+ requestClient+ ContainerAnalysisProjectsOccurrencesTestIamPermissions {..} =+ go+ resource+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ ContainerAnalysisProjectsOccurrencesTestIamPermissionsResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Projects/Resources/ExportSBOM.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Projects.Resources.ExportSBOM+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates an SBOM for the given resource.+--+-- /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.resources.exportSBOM@.+module Gogol.ContainerAnalysis.Projects.Resources.ExportSBOM+ ( -- * Resource+ ContainerAnalysisProjectsResourcesExportSBOMResource,++ -- ** Constructing a Request+ ContainerAnalysisProjectsResourcesExportSBOM (..),+ newContainerAnalysisProjectsResourcesExportSBOM,+ )+where++import Gogol.ContainerAnalysis.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @containeranalysis.projects.resources.exportSBOM@ method which the+-- 'ContainerAnalysisProjectsResourcesExportSBOM' request conforms to.+type ContainerAnalysisProjectsResourcesExportSBOMResource =+ "v1"+ Core.:> Core.CaptureMode "name" "exportSBOM" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] ExportSBOMRequest+ Core.:> Core.Post '[Core.JSON] ExportSBOMResponse++-- | Generates an SBOM for the given resource.+--+-- /See:/ 'newContainerAnalysisProjectsResourcesExportSBOM' smart constructor.+data ContainerAnalysisProjectsResourcesExportSBOM = ContainerAnalysisProjectsResourcesExportSBOM+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the resource in the form of @projects\/[PROJECT_ID]\/resources\/[RESOURCE_URL]@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: ExportSBOMRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContainerAnalysisProjectsResourcesExportSBOM' with the minimum fields required to make a request.+newContainerAnalysisProjectsResourcesExportSBOM ::+ -- | Required. The name of the resource in the form of @projects\/[PROJECT_ID]\/resources\/[RESOURCE_URL]@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ ExportSBOMRequest ->+ ContainerAnalysisProjectsResourcesExportSBOM+newContainerAnalysisProjectsResourcesExportSBOM name payload =+ ContainerAnalysisProjectsResourcesExportSBOM+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ ContainerAnalysisProjectsResourcesExportSBOM+ where+ type+ Rs ContainerAnalysisProjectsResourcesExportSBOM =+ ExportSBOMResponse+ type+ Scopes ContainerAnalysisProjectsResourcesExportSBOM =+ '[CloudPlatform'FullControl]+ requestClient ContainerAnalysisProjectsResourcesExportSBOM {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ containerAnalysisService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy ContainerAnalysisProjectsResourcesExportSBOMResource+ )+ Core.mempty
+ gen/Gogol/ContainerAnalysis/Types.hs view
@@ -0,0 +1,1020 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.ContainerAnalysis.Types+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.ContainerAnalysis.Types+ ( -- * Configuration+ containerAnalysisService,++ -- * OAuth Scopes+ CloudPlatform'FullControl,++ -- * Types++ -- ** Xgafv+ Xgafv (..),++ -- ** AliasContext+ AliasContext (..),+ newAliasContext,++ -- ** AliasContext_Kind+ AliasContext_Kind (..),++ -- ** AnalysisCompleted+ AnalysisCompleted (..),+ newAnalysisCompleted,++ -- ** Artifact+ Artifact (..),+ newArtifact,++ -- ** Assessment+ Assessment (..),+ newAssessment,++ -- ** Assessment_State+ Assessment_State (..),++ -- ** AttestationNote+ AttestationNote (..),+ newAttestationNote,++ -- ** AttestationOccurrence+ AttestationOccurrence (..),+ newAttestationOccurrence,++ -- ** BatchCreateNotesRequest+ BatchCreateNotesRequest (..),+ newBatchCreateNotesRequest,++ -- ** BatchCreateNotesRequest_Notes+ BatchCreateNotesRequest_Notes (..),+ newBatchCreateNotesRequest_Notes,++ -- ** BatchCreateNotesResponse+ BatchCreateNotesResponse (..),+ newBatchCreateNotesResponse,++ -- ** BatchCreateOccurrencesRequest+ BatchCreateOccurrencesRequest (..),+ newBatchCreateOccurrencesRequest,++ -- ** BatchCreateOccurrencesResponse+ BatchCreateOccurrencesResponse (..),+ newBatchCreateOccurrencesResponse,++ -- ** Binding+ Binding (..),+ newBinding,++ -- ** BuildDefinition+ BuildDefinition (..),+ newBuildDefinition,++ -- ** BuildDefinition_ExternalParameters+ BuildDefinition_ExternalParameters (..),+ newBuildDefinition_ExternalParameters,++ -- ** BuildDefinition_InternalParameters+ BuildDefinition_InternalParameters (..),+ newBuildDefinition_InternalParameters,++ -- ** BuildMetadata+ BuildMetadata (..),+ newBuildMetadata,++ -- ** BuildNote+ BuildNote (..),+ newBuildNote,++ -- ** BuildOccurrence+ BuildOccurrence (..),+ newBuildOccurrence,++ -- ** BuildProvenance+ BuildProvenance (..),+ newBuildProvenance,++ -- ** BuildProvenance_BuildOptions+ BuildProvenance_BuildOptions (..),+ newBuildProvenance_BuildOptions,++ -- ** BuildStep+ BuildStep (..),+ newBuildStep,++ -- ** BuildStep_Status+ BuildStep_Status (..),++ -- ** BuilderConfig+ BuilderConfig (..),+ newBuilderConfig,++ -- ** CVSS+ CVSS (..),+ newCVSS,++ -- ** CVSS_AttackComplexity+ CVSS_AttackComplexity (..),++ -- ** CVSS_AttackVector+ CVSS_AttackVector (..),++ -- ** CVSS_Authentication+ CVSS_Authentication (..),++ -- ** CVSS_AvailabilityImpact+ CVSS_AvailabilityImpact (..),++ -- ** CVSS_ConfidentialityImpact+ CVSS_ConfidentialityImpact (..),++ -- ** CVSS_IntegrityImpact+ CVSS_IntegrityImpact (..),++ -- ** CVSS_PrivilegesRequired+ CVSS_PrivilegesRequired (..),++ -- ** CVSS_Scope+ CVSS_Scope (..),++ -- ** CVSS_UserInteraction+ CVSS_UserInteraction (..),++ -- ** CVSSv3+ CVSSv3 (..),+ newCVSSv3,++ -- ** CVSSv3_AttackComplexity+ CVSSv3_AttackComplexity (..),++ -- ** CVSSv3_AttackVector+ CVSSv3_AttackVector (..),++ -- ** CVSSv3_AvailabilityImpact+ CVSSv3_AvailabilityImpact (..),++ -- ** CVSSv3_ConfidentialityImpact+ CVSSv3_ConfidentialityImpact (..),++ -- ** CVSSv3_IntegrityImpact+ CVSSv3_IntegrityImpact (..),++ -- ** CVSSv3_PrivilegesRequired+ CVSSv3_PrivilegesRequired (..),++ -- ** CVSSv3_Scope+ CVSSv3_Scope (..),++ -- ** CVSSv3_UserInteraction+ CVSSv3_UserInteraction (..),++ -- ** Category+ Category (..),+ newCategory,++ -- ** CisBenchmark+ CisBenchmark (..),+ newCisBenchmark,++ -- ** CisBenchmark_Severity+ CisBenchmark_Severity (..),++ -- ** CloudRepoSourceContext+ CloudRepoSourceContext (..),+ newCloudRepoSourceContext,++ -- ** CloudStorageLocation+ CloudStorageLocation (..),+ newCloudStorageLocation,++ -- ** Command+ Command (..),+ newCommand,++ -- ** Completeness+ Completeness (..),+ newCompleteness,++ -- ** ComplianceNote+ ComplianceNote (..),+ newComplianceNote,++ -- ** ComplianceOccurrence+ ComplianceOccurrence (..),+ newComplianceOccurrence,++ -- ** ComplianceVersion+ ComplianceVersion (..),+ newComplianceVersion,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult_Decision (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Status (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Substitutions,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing+ ContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Build_Timing,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval_State (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo_Type (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_DefaultLogsBucketBehavior (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_LogStreamingOption (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_Logging (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_MachineType (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_RequestedVerifyOption (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SourceProvenanceHashItem (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions_SubstitutionOption (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep_Status (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning_Priority (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency+ ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Dependency,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository+ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1GitSource,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Hash+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Hash,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash_Type (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret_EnvMap,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource_Substitutions,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Results+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Results,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Secret+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secret,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secret_SecretEnv,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Secrets,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Source+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Source,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance_FileHashes,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource_SourceFetcher (..),++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage,++ -- ** ContaineranalysisGoogleDevtoolsCloudbuildV1Volume+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume (..),+ newContaineranalysisGoogleDevtoolsCloudbuildV1Volume,++ -- ** DSSEAttestationNote+ DSSEAttestationNote (..),+ newDSSEAttestationNote,++ -- ** DSSEAttestationOccurrence+ DSSEAttestationOccurrence (..),+ newDSSEAttestationOccurrence,++ -- ** DSSEHint+ DSSEHint (..),+ newDSSEHint,++ -- ** DeploymentNote+ DeploymentNote (..),+ newDeploymentNote,++ -- ** DeploymentOccurrence+ DeploymentOccurrence (..),+ newDeploymentOccurrence,++ -- ** DeploymentOccurrence_Platform+ DeploymentOccurrence_Platform (..),++ -- ** Detail+ Detail (..),+ newDetail,++ -- ** Digest+ Digest (..),+ newDigest,++ -- ** DiscoveryNote+ DiscoveryNote (..),+ newDiscoveryNote,++ -- ** DiscoveryNote_AnalysisKind+ DiscoveryNote_AnalysisKind (..),++ -- ** DiscoveryOccurrence+ DiscoveryOccurrence (..),+ newDiscoveryOccurrence,++ -- ** DiscoveryOccurrence_AnalysisStatus+ DiscoveryOccurrence_AnalysisStatus (..),++ -- ** DiscoveryOccurrence_ContinuousAnalysis+ DiscoveryOccurrence_ContinuousAnalysis (..),++ -- ** Distribution+ Distribution (..),+ newDistribution,++ -- ** Distribution_Architecture+ Distribution_Architecture (..),++ -- ** Empty+ Empty (..),+ newEmpty,++ -- ** Envelope+ Envelope (..),+ newEnvelope,++ -- ** EnvelopeSignature+ EnvelopeSignature (..),+ newEnvelopeSignature,++ -- ** ExportSBOMRequest+ ExportSBOMRequest (..),+ newExportSBOMRequest,++ -- ** ExportSBOMResponse+ ExportSBOMResponse (..),+ newExportSBOMResponse,++ -- ** Expr+ Expr (..),+ newExpr,++ -- ** FileHashes+ FileHashes (..),+ newFileHashes,++ -- ** Fingerprint+ Fingerprint (..),+ newFingerprint,++ -- ** FixableTotalByDigest+ FixableTotalByDigest (..),+ newFixableTotalByDigest,++ -- ** FixableTotalByDigest_Severity+ FixableTotalByDigest_Severity (..),++ -- ** GerritSourceContext+ GerritSourceContext (..),+ newGerritSourceContext,++ -- ** GetIamPolicyRequest+ GetIamPolicyRequest (..),+ newGetIamPolicyRequest,++ -- ** GetPolicyOptions+ GetPolicyOptions (..),+ newGetPolicyOptions,++ -- ** GitSourceContext+ GitSourceContext (..),+ newGitSourceContext,++ -- ** GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata+ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (..),+ newGoogleDevtoolsContaineranalysisV1alpha1OperationMetadata,++ -- ** GrafeasV1FileLocation+ GrafeasV1FileLocation (..),+ newGrafeasV1FileLocation,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder+ GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaBuilder,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness+ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest+ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource_Digest,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Environment,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters+ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaInvocation_Parameters,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest+ GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMaterial_Digest,++ -- ** GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata+ GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata (..),+ newGrafeasV1SlsaProvenanceZeroTwoSlsaMetadata,++ -- ** Hash+ Hash (..),+ newHash,++ -- ** Hint+ Hint (..),+ newHint,++ -- ** Identity+ Identity (..),+ newIdentity,++ -- ** ImageNote+ ImageNote (..),+ newImageNote,++ -- ** ImageOccurrence+ ImageOccurrence (..),+ newImageOccurrence,++ -- ** InTotoProvenance+ InTotoProvenance (..),+ newInTotoProvenance,++ -- ** InTotoSlsaProvenanceV1+ InTotoSlsaProvenanceV1 (..),+ newInTotoSlsaProvenanceV1,++ -- ** InTotoStatement+ InTotoStatement (..),+ newInTotoStatement,++ -- ** Justification+ Justification (..),+ newJustification,++ -- ** Justification_JustificationType+ Justification_JustificationType (..),++ -- ** Jwt+ Jwt (..),+ newJwt,++ -- ** KnowledgeBase+ KnowledgeBase (..),+ newKnowledgeBase,++ -- ** Layer+ Layer (..),+ newLayer,++ -- ** License+ License (..),+ newLicense,++ -- ** ListNoteOccurrencesResponse+ ListNoteOccurrencesResponse (..),+ newListNoteOccurrencesResponse,++ -- ** ListNotesResponse+ ListNotesResponse (..),+ newListNotesResponse,++ -- ** ListOccurrencesResponse+ ListOccurrencesResponse (..),+ newListOccurrencesResponse,++ -- ** Location+ Location (..),+ newLocation,++ -- ** Material+ Material (..),+ newMaterial,++ -- ** Material_Digest+ Material_Digest (..),+ newMaterial_Digest,++ -- ** Metadata+ Metadata (..),+ newMetadata,++ -- ** NonCompliantFile+ NonCompliantFile (..),+ newNonCompliantFile,++ -- ** Note+ Note (..),+ newNote,++ -- ** Note_Kind+ Note_Kind (..),++ -- ** Occurrence+ Occurrence (..),+ newOccurrence,++ -- ** Occurrence_Kind+ Occurrence_Kind (..),++ -- ** PackageIssue+ PackageIssue (..),+ newPackageIssue,++ -- ** PackageIssue_EffectiveSeverity+ PackageIssue_EffectiveSeverity (..),++ -- ** PackageNote+ PackageNote (..),+ newPackageNote,++ -- ** PackageNote_Architecture+ PackageNote_Architecture (..),++ -- ** PackageOccurrence+ PackageOccurrence (..),+ newPackageOccurrence,++ -- ** PackageOccurrence_Architecture+ PackageOccurrence_Architecture (..),++ -- ** Policy+ Policy (..),+ newPolicy,++ -- ** Product+ Product (..),+ newProduct,++ -- ** ProjectRepoId+ ProjectRepoId (..),+ newProjectRepoId,++ -- ** ProvenanceBuilder+ ProvenanceBuilder (..),+ newProvenanceBuilder,++ -- ** ProvenanceBuilder_Version+ ProvenanceBuilder_Version (..),+ newProvenanceBuilder_Version,++ -- ** Publisher+ Publisher (..),+ newPublisher,++ -- ** Recipe+ Recipe (..),+ newRecipe,++ -- ** Recipe_ArgumentsItem+ Recipe_ArgumentsItem (..),+ newRecipe_ArgumentsItem,++ -- ** Recipe_EnvironmentItem+ Recipe_EnvironmentItem (..),+ newRecipe_EnvironmentItem,++ -- ** RelatedUrl+ RelatedUrl (..),+ newRelatedUrl,++ -- ** Remediation+ Remediation (..),+ newRemediation,++ -- ** Remediation_RemediationType+ Remediation_RemediationType (..),++ -- ** RepoId+ RepoId (..),+ newRepoId,++ -- ** ResourceDescriptor+ ResourceDescriptor (..),+ newResourceDescriptor,++ -- ** ResourceDescriptor_Annotations+ ResourceDescriptor_Annotations (..),+ newResourceDescriptor_Annotations,++ -- ** ResourceDescriptor_Digest+ ResourceDescriptor_Digest (..),+ newResourceDescriptor_Digest,++ -- ** RunDetails+ RunDetails (..),+ newRunDetails,++ -- ** SBOMReferenceNote+ SBOMReferenceNote (..),+ newSBOMReferenceNote,++ -- ** SBOMReferenceOccurrence+ SBOMReferenceOccurrence (..),+ newSBOMReferenceOccurrence,++ -- ** SBOMStatus+ SBOMStatus (..),+ newSBOMStatus,++ -- ** SBOMStatus_SbomState+ SBOMStatus_SbomState (..),++ -- ** SbomReferenceIntotoPayload+ SbomReferenceIntotoPayload (..),+ newSbomReferenceIntotoPayload,++ -- ** SbomReferenceIntotoPredicate+ SbomReferenceIntotoPredicate (..),+ newSbomReferenceIntotoPredicate,++ -- ** SbomReferenceIntotoPredicate_Digest+ SbomReferenceIntotoPredicate_Digest (..),+ newSbomReferenceIntotoPredicate_Digest,++ -- ** SetIamPolicyRequest+ SetIamPolicyRequest (..),+ newSetIamPolicyRequest,++ -- ** Signature+ Signature (..),+ newSignature,++ -- ** SlsaBuilder+ SlsaBuilder (..),+ newSlsaBuilder,++ -- ** SlsaCompleteness+ SlsaCompleteness (..),+ newSlsaCompleteness,++ -- ** SlsaMetadata+ SlsaMetadata (..),+ newSlsaMetadata,++ -- ** SlsaProvenance+ SlsaProvenance (..),+ newSlsaProvenance,++ -- ** SlsaProvenanceV1+ SlsaProvenanceV1 (..),+ newSlsaProvenanceV1,++ -- ** SlsaProvenanceZeroTwo+ SlsaProvenanceZeroTwo (..),+ newSlsaProvenanceZeroTwo,++ -- ** SlsaProvenanceZeroTwo_BuildConfig+ SlsaProvenanceZeroTwo_BuildConfig (..),+ newSlsaProvenanceZeroTwo_BuildConfig,++ -- ** SlsaRecipe+ SlsaRecipe (..),+ newSlsaRecipe,++ -- ** SlsaRecipe_Arguments+ SlsaRecipe_Arguments (..),+ newSlsaRecipe_Arguments,++ -- ** SlsaRecipe_Environment+ SlsaRecipe_Environment (..),+ newSlsaRecipe_Environment,++ -- ** Source+ Source (..),+ newSource,++ -- ** Source_FileHashes+ Source_FileHashes (..),+ newSource_FileHashes,++ -- ** SourceContext+ SourceContext (..),+ newSourceContext,++ -- ** SourceContext_Labels+ SourceContext_Labels (..),+ newSourceContext_Labels,++ -- ** Status+ Status (..),+ newStatus,++ -- ** Status_DetailsItem+ Status_DetailsItem (..),+ newStatus_DetailsItem,++ -- ** Subject+ Subject (..),+ newSubject,++ -- ** Subject_Digest+ Subject_Digest (..),+ newSubject_Digest,++ -- ** TestIamPermissionsRequest+ TestIamPermissionsRequest (..),+ newTestIamPermissionsRequest,++ -- ** TestIamPermissionsResponse+ TestIamPermissionsResponse (..),+ newTestIamPermissionsResponse,++ -- ** TimeSpan+ TimeSpan (..),+ newTimeSpan,++ -- ** UpgradeDistribution+ UpgradeDistribution (..),+ newUpgradeDistribution,++ -- ** UpgradeNote+ UpgradeNote (..),+ newUpgradeNote,++ -- ** UpgradeOccurrence+ UpgradeOccurrence (..),+ newUpgradeOccurrence,++ -- ** Version+ Version (..),+ newVersion,++ -- ** Version_Kind+ Version_Kind (..),++ -- ** VexAssessment+ VexAssessment (..),+ newVexAssessment,++ -- ** VexAssessment_State+ VexAssessment_State (..),++ -- ** Volume+ Volume (..),+ newVolume,++ -- ** VulnerabilityAssessmentNote+ VulnerabilityAssessmentNote (..),+ newVulnerabilityAssessmentNote,++ -- ** VulnerabilityNote+ VulnerabilityNote (..),+ newVulnerabilityNote,++ -- ** VulnerabilityNote_CvssVersion+ VulnerabilityNote_CvssVersion (..),++ -- ** VulnerabilityNote_Severity+ VulnerabilityNote_Severity (..),++ -- ** VulnerabilityOccurrence+ VulnerabilityOccurrence (..),+ newVulnerabilityOccurrence,++ -- ** VulnerabilityOccurrence_CvssVersion+ VulnerabilityOccurrence_CvssVersion (..),++ -- ** VulnerabilityOccurrence_EffectiveSeverity+ VulnerabilityOccurrence_EffectiveSeverity (..),++ -- ** VulnerabilityOccurrence_Severity+ VulnerabilityOccurrence_Severity (..),++ -- ** VulnerabilityOccurrencesSummary+ VulnerabilityOccurrencesSummary (..),+ newVulnerabilityOccurrencesSummary,++ -- ** WindowsDetail+ WindowsDetail (..),+ newWindowsDetail,++ -- ** WindowsUpdate+ WindowsUpdate (..),+ newWindowsUpdate,+ )+where++import Gogol.ContainerAnalysis.Internal.Product+import Gogol.ContainerAnalysis.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Default request referring to version @v1@ of the Container Analysis API. This contains the host and root path used as a starting point for constructing service requests.+containerAnalysisService :: Core.ServiceConfig+containerAnalysisService =+ Core.defaultService+ (Core.ServiceId "containeranalysis:v1")+ "containeranalysis.googleapis.com"++-- | See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.+type CloudPlatform'FullControl =+ "https://www.googleapis.com/auth/cloud-platform"
− gen/Network/Google/ContainerAnalysis.hs
@@ -1,814 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- |--- Module : Network.Google.ContainerAnalysis--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ An implementation of the Grafeas API, which stores, and enables querying--- and retrieval of critical metadata about all of your software artifacts.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference>-module Network.Google.ContainerAnalysis- (- -- * Service Configuration- containerAnalysisService-- -- * OAuth Scopes- , cloudPlatformScope-- -- * API Declaration- , ContainerAnalysisAPI-- -- * Resources-- -- ** containeranalysis.projects.notes.batchCreate- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.BatchCreate-- -- ** containeranalysis.projects.notes.create- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create-- -- ** containeranalysis.projects.notes.delete- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Delete-- -- ** containeranalysis.projects.notes.get- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Get-- -- ** containeranalysis.projects.notes.getIamPolicy- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.GetIAMPolicy-- -- ** containeranalysis.projects.notes.list- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.List-- -- ** containeranalysis.projects.notes.occurrences.list- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Occurrences.List-- -- ** containeranalysis.projects.notes.patch- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch-- -- ** containeranalysis.projects.notes.setIamPolicy- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.SetIAMPolicy-- -- ** containeranalysis.projects.notes.testIamPermissions- , module Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions-- -- ** containeranalysis.projects.occurrences.batchCreate- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.BatchCreate-- -- ** containeranalysis.projects.occurrences.create- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Create-- -- ** containeranalysis.projects.occurrences.delete- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Delete-- -- ** containeranalysis.projects.occurrences.get- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Get-- -- ** containeranalysis.projects.occurrences.getIamPolicy- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy-- -- ** containeranalysis.projects.occurrences.getNotes- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes-- -- ** containeranalysis.projects.occurrences.getVulnerabilitySummary- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary-- -- ** containeranalysis.projects.occurrences.list- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.List-- -- ** containeranalysis.projects.occurrences.patch- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch-- -- ** containeranalysis.projects.occurrences.setIamPolicy- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.SetIAMPolicy-- -- ** containeranalysis.projects.occurrences.testIamPermissions- , module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions-- -- ** containeranalysis.projects.scanConfigs.get- , module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Get-- -- ** containeranalysis.projects.scanConfigs.list- , module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.List-- -- ** containeranalysis.projects.scanConfigs.update- , module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update-- -- * Types-- -- ** LayerDirective- , LayerDirective (..)-- -- ** CVSSv3AttackComplexity- , CVSSv3AttackComplexity (..)-- -- ** DiscoveredAnalysisStatus- , DiscoveredAnalysisStatus (..)-- -- ** Installation- , Installation- , installation- , iLocation- , iName-- -- ** Signature- , Signature- , signature- , sSignature- , sPublicKeyId-- -- ** Vulnerability- , Vulnerability- , vulnerability- , vCvssScore- , vCvssV3- , vSeverity- , vDetails- , vWindowsDetails-- -- ** GrafeasV1beta1VulnerabilityDetailsSeverity- , GrafeasV1beta1VulnerabilityDetailsSeverity (..)-- -- ** Status- , Status- , status- , sDetails- , sCode- , sMessage-- -- ** VulnerabilityOccurrencesSummary- , VulnerabilityOccurrencesSummary- , vulnerabilityOccurrencesSummary- , vosCounts-- -- ** OccurrenceKind- , OccurrenceKind (..)-- -- ** BuildProvenance- , BuildProvenance- , buildProvenance- , bpCreator- , bpSourceProvenance- , bpCommands- , bpTriggerId- , bpStartTime- , bpBuilderVersion- , bpEndTime- , bpId- , bpProjectId- , bpBuiltArtifacts- , bpBuildOptions- , bpCreateTime- , bpLogsURI-- -- ** AuditConfig- , AuditConfig- , auditConfig- , acService- , acAuditLogConfigs-- -- ** Occurrence- , Occurrence- , occurrence- , oInstallation- , oVulnerability- , oDerivedImage- , oKind- , oBuild- , oAttestation- , oUpdateTime- , oName- , oNoteName- , oRemediation- , oResource- , oDiscovered- , oCreateTime- , oDeployment-- -- ** GrafeasV1beta1VulnerabilityDetails- , GrafeasV1beta1VulnerabilityDetails- , grafeasV1beta1VulnerabilityDetails- , gvvdLongDescription- , gvvdRelatedURLs- , gvvdCvssScore- , gvvdPackageIssue- , gvvdSeverity- , gvvdEffectiveSeverity- , gvvdShortDescription- , gvvdType-- -- ** VulnerabilitySeverity- , VulnerabilitySeverity (..)-- -- ** SourceFileHashes- , SourceFileHashes- , sourceFileHashes- , sfhAddtional-- -- ** Expr- , Expr- , expr- , eLocation- , eExpression- , eTitle- , eDescription-- -- ** Command- , Command- , command- , cDir- , cArgs- , cEnv- , cWaitFor- , cName- , cId-- -- ** KnowledgeBase- , KnowledgeBase- , knowledgeBase- , kbURL- , kbName-- -- ** GetIAMPolicyRequest- , GetIAMPolicyRequest- , getIAMPolicyRequest-- -- ** Discovery- , Discovery- , discovery- , dAnalysisKind-- -- ** Hash- , Hash- , hash- , hValue- , hType-- -- ** Basis- , Basis- , basis- , bFingerprint- , bResourceURL-- -- ** BatchCreateNotesRequest- , BatchCreateNotesRequest- , batchCreateNotesRequest- , bcnrNotes-- -- ** SourceContext- , SourceContext- , sourceContext- , scCloudRepo- , scGerrit- , scGit- , scLabels-- -- ** Distribution- , Distribution- , distribution- , dURL- , dMaintainer- , dArchitecture- , dCpeURI- , dDescription- , dLatestVersion-- -- ** BatchCreateOccurrencesRequest- , BatchCreateOccurrencesRequest- , batchCreateOccurrencesRequest- , bcorOccurrences-- -- ** ListOccurrencesResponse- , ListOccurrencesResponse- , listOccurrencesResponse- , lorOccurrences- , lorNextPageToken-- -- ** CVSSv3IntegrityImpact- , CVSSv3IntegrityImpact (..)-- -- ** Location- , Location- , location- , lPath- , lVersion- , lCpeURI-- -- ** Empty- , Empty- , empty-- -- ** GerritSourceContext- , GerritSourceContext- , gerritSourceContext- , gscGerritProject- , gscRevisionId- , gscHostURI- , gscAliasContext-- -- ** RepoId- , RepoId- , repoId- , riUid- , riProjectRepoId-- -- ** DiscoveredContinuousAnalysis- , DiscoveredContinuousAnalysis (..)-- -- ** CVSSv3PrivilegesRequired- , CVSSv3PrivilegesRequired (..)-- -- ** ListNoteOccurrencesResponse- , ListNoteOccurrencesResponse- , listNoteOccurrencesResponse- , lnorOccurrences- , lnorNextPageToken-- -- ** NoteKind- , NoteKind (..)-- -- ** Note- , Note- , note- , nVulnerability- , nLongDescription- , nAttestationAuthority- , nDiscovery- , nKind- , nRelatedNoteNames- , nBuild- , nDeployable- , nRelatedURL- , nUpdateTime- , nShortDescription- , nName- , nBaseImage- , nPackage- , nExpirationTime- , nCreateTime-- -- ** CVSSv3- , CVSSv3- , cVSSv3- , cvssAttackComplexity- , cvssIntegrityImpact- , cvssPrivilegesRequired- , cvssUserInteraction- , cvssAttackVector- , cvssConfidentialityImpact- , cvssScope- , cvssImpactScore- , cvssBaseScore- , cvssAvailabilityImpact- , cvssExploitabilityScore-- -- ** BatchCreateNotesResponse- , BatchCreateNotesResponse- , batchCreateNotesResponse- , bNotes-- -- ** ProjectRepoId- , ProjectRepoId- , projectRepoId- , priRepoName- , priProjectId-- -- ** Fingerprint- , Fingerprint- , fingerprint- , fV2Name- , fV2Blob- , fV1Name-- -- ** CVSSv3UserInteraction- , CVSSv3UserInteraction (..)-- -- ** Hint- , Hint- , hint- , hHumanReadableName-- -- ** PackageIssue- , PackageIssue- , packageIssue- , piAffectedLocation- , piFixedLocation- , piSeverityName-- -- ** StatusDetailsItem- , StatusDetailsItem- , statusDetailsItem- , sdiAddtional-- -- ** Build- , Build- , build- , bSignature- , bBuilderVersion-- -- ** Attestation- , Attestation- , attestation- , aGenericSignedAttestation- , aPgpSignedAttestation-- -- ** DeploymentPlatform- , DeploymentPlatform (..)-- -- ** Artifact- , Artifact- , artifact- , aChecksum- , aNames- , aId-- -- ** SetIAMPolicyRequest- , SetIAMPolicyRequest- , setIAMPolicyRequest- , siprUpdateMask- , siprPolicy-- -- ** GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity- , GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity (..)-- -- ** BuildProvenanceBuildOptions- , BuildProvenanceBuildOptions- , buildProvenanceBuildOptions- , bpboAddtional-- -- ** Deployable- , Deployable- , deployable- , dResourceURI-- -- ** GrafeasV1beta1DiscoveryDetails- , GrafeasV1beta1DiscoveryDetails- , grafeasV1beta1DiscoveryDetails- , gvddDiscovered-- -- ** VulnerabilityLocation- , VulnerabilityLocation- , vulnerabilityLocation- , vlVersion- , vlPackage- , vlCpeURI-- -- ** CVSSv3AttackVector- , CVSSv3AttackVector (..)-- -- ** GenericSignedAttestationContentType- , GenericSignedAttestationContentType (..)-- -- ** CVSSv3ConfidentialityImpact- , CVSSv3ConfidentialityImpact (..)-- -- ** FixableTotalByDigest- , FixableTotalByDigest- , fixableTotalByDigest- , ftbdSeverity- , ftbdFixableCount- , ftbdResource- , ftbdTotalCount-- -- ** RelatedURL- , RelatedURL- , relatedURL- , ruURL- , ruLabel-- -- ** GrafeasV1beta1ImageDetails- , GrafeasV1beta1ImageDetails- , grafeasV1beta1ImageDetails- , gvidDerivedImage-- -- ** BatchCreateOccurrencesResponse- , BatchCreateOccurrencesResponse- , batchCreateOccurrencesResponse- , bOccurrences-- -- ** SourceContextLabels- , SourceContextLabels- , sourceContextLabels- , sclAddtional-- -- ** DistributionArchitecture- , DistributionArchitecture (..)-- -- ** ListScanConfigsResponse- , ListScanConfigsResponse- , listScanConfigsResponse- , lscrNextPageToken- , lscrScanConfigs-- -- ** FixableTotalByDigestSeverity- , FixableTotalByDigestSeverity (..)-- -- ** AuditLogConfigLogType- , AuditLogConfigLogType (..)-- -- ** Version- , Version- , version- , vKind- , vName- , vRevision- , vEpoch-- -- ** FileHashes- , FileHashes- , fileHashes- , fhFileHash-- -- ** Resource- , Resource- , resource- , rContentHash- , rURI- , rName-- -- ** GrafeasV1beta1DeploymentDetails- , GrafeasV1beta1DeploymentDetails- , grafeasV1beta1DeploymentDetails- , gvddDeployment-- -- ** GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata- , GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata- , googleDevtoolsContaineranalysisV1alpha1OperationMetadata- , gdcvomEndTime- , gdcvomCreateTime-- -- ** CVSSv3Scope- , CVSSv3Scope (..)-- -- ** PgpSignedAttestationContentType- , PgpSignedAttestationContentType (..)-- -- ** Xgafv- , Xgafv (..)-- -- ** Details- , Details- , details- , dAttestation-- -- ** Package- , Package- , package- , pDistribution- , pName-- -- ** ListNotesResponse- , ListNotesResponse- , listNotesResponse- , lnrNextPageToken- , lnrNotes-- -- ** BuildSignature- , BuildSignature- , buildSignature- , bsSignature- , bsKeyType- , bsKeyId- , bsPublicKey-- -- ** TestIAMPermissionsRequest- , TestIAMPermissionsRequest- , testIAMPermissionsRequest- , tiprPermissions-- -- ** VersionKind- , VersionKind (..)-- -- ** HashType- , HashType (..)-- -- ** Discovered- , Discovered- , discovered- , dLastAnalysisTime- , dAnalysisStatusError- , dAnalysisStatus- , dContinuousAnalysis-- -- ** BuildSignatureKeyType- , BuildSignatureKeyType (..)-- -- ** Derived- , Derived- , derived- , dBaseResourceURL- , dFingerprint- , dDistance- , dLayerInfo-- -- ** GrafeasV1beta1BuildDetails- , GrafeasV1beta1BuildDetails- , grafeasV1beta1BuildDetails- , gvbdProvenanceBytes- , gvbdProvenance-- -- ** Source- , Source- , source- , sContext- , sAdditionalContexts- , sArtifactStorageSourceURI- , sFileHashes-- -- ** ScanConfig- , ScanConfig- , scanConfig- , scEnabled- , scUpdateTime- , scName- , scDescription- , scCreateTime-- -- ** GenericSignedAttestation- , GenericSignedAttestation- , genericSignedAttestation- , gsaSerializedPayload- , gsaSignatures- , gsaContentType-- -- ** GitSourceContext- , GitSourceContext- , gitSourceContext- , gURL- , gRevisionId-- -- ** TestIAMPermissionsResponse- , TestIAMPermissionsResponse- , testIAMPermissionsResponse- , tiamprPermissions-- -- ** Policy- , Policy- , policy- , pAuditConfigs- , pEtag- , pVersion- , pBindings-- -- ** DiscoveryAnalysisKind- , DiscoveryAnalysisKind (..)-- -- ** Layer- , Layer- , layer- , lDirective- , lArguments-- -- ** CloudRepoSourceContext- , CloudRepoSourceContext- , cloudRepoSourceContext- , crscRepoId- , crscRevisionId- , crscAliasContext-- -- ** AuditLogConfig- , AuditLogConfig- , auditLogConfig- , alcLogType- , alcExemptedMembers-- -- ** PgpSignedAttestation- , PgpSignedAttestation- , pgpSignedAttestation- , psaSignature- , psaPgpKeyId- , psaContentType-- -- ** CVSSv3AvailabilityImpact- , CVSSv3AvailabilityImpact (..)-- -- ** WindowsDetail- , WindowsDetail- , windowsDetail- , wdName- , wdFixingKbs- , wdCpeURI- , wdDescription-- -- ** BatchCreateNotesRequestNotes- , BatchCreateNotesRequestNotes- , batchCreateNotesRequestNotes- , bcnrnAddtional-- -- ** AliasContext- , AliasContext- , aliasContext- , acKind- , acName-- -- ** AliasContextKind- , AliasContextKind (..)-- -- ** Binding- , Binding- , binding- , bMembers- , bRole- , bCondition-- -- ** Detail- , Detail- , detail- , detMinAffectedVersion- , detPackageType- , detIsObsolete- , detFixedLocation- , detSeverityName- , detMaxAffectedVersion- , detPackage- , detCpeURI- , detDescription-- -- ** Authority- , Authority- , authority- , aHint-- -- ** GrafeasV1beta1PackageDetails- , GrafeasV1beta1PackageDetails- , grafeasV1beta1PackageDetails- , gvpdInstallation-- -- ** Deployment- , Deployment- , deployment- , depResourceURI- , depPlatform- , depConfig- , depUndeployTime- , depDeployTime- , depAddress- , depUserEmail- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.BatchCreate-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.Delete-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.Get-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.GetIAMPolicy-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.List-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.Occurrences.List-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.SetIAMPolicy-import Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.BatchCreate-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Create-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Delete-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Get-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.List-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.SetIAMPolicy-import Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions-import Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Get-import Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.List-import Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update--{- $resources-TODO--}---- | Represents the entirety of the methods and resources available for the Container Analysis API service.-type ContainerAnalysisAPI =- ProjectsOccurrencesListResource :<|>- ProjectsOccurrencesGetNotesResource- :<|> ProjectsOccurrencesGetIAMPolicyResource- :<|> ProjectsOccurrencesPatchResource- :<|> ProjectsOccurrencesGetResource- :<|>- ProjectsOccurrencesGetVulnerabilitySummaryResource- :<|> ProjectsOccurrencesCreateResource- :<|> ProjectsOccurrencesSetIAMPolicyResource- :<|> ProjectsOccurrencesBatchCreateResource- :<|> ProjectsOccurrencesTestIAMPermissionsResource- :<|> ProjectsOccurrencesDeleteResource- :<|> ProjectsScanConfigsListResource- :<|> ProjectsScanConfigsGetResource- :<|> ProjectsScanConfigsUpdateResource- :<|> ProjectsNotesOccurrencesListResource- :<|> ProjectsNotesListResource- :<|> ProjectsNotesGetIAMPolicyResource- :<|> ProjectsNotesPatchResource- :<|> ProjectsNotesGetResource- :<|> ProjectsNotesCreateResource- :<|> ProjectsNotesSetIAMPolicyResource- :<|> ProjectsNotesBatchCreateResource- :<|> ProjectsNotesTestIAMPermissionsResource- :<|> ProjectsNotesDeleteResource
− gen/Network/Google/ContainerAnalysis/Types.hs
@@ -1,688 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.ContainerAnalysis.Types--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.ContainerAnalysis.Types- (- -- * Service Configuration- containerAnalysisService-- -- * OAuth Scopes- , cloudPlatformScope-- -- * LayerDirective- , LayerDirective (..)-- -- * CVSSv3AttackComplexity- , CVSSv3AttackComplexity (..)-- -- * DiscoveredAnalysisStatus- , DiscoveredAnalysisStatus (..)-- -- * Installation- , Installation- , installation- , iLocation- , iName-- -- * Signature- , Signature- , signature- , sSignature- , sPublicKeyId-- -- * Vulnerability- , Vulnerability- , vulnerability- , vCvssScore- , vCvssV3- , vSeverity- , vDetails- , vWindowsDetails-- -- * GrafeasV1beta1VulnerabilityDetailsSeverity- , GrafeasV1beta1VulnerabilityDetailsSeverity (..)-- -- * Status- , Status- , status- , sDetails- , sCode- , sMessage-- -- * VulnerabilityOccurrencesSummary- , VulnerabilityOccurrencesSummary- , vulnerabilityOccurrencesSummary- , vosCounts-- -- * OccurrenceKind- , OccurrenceKind (..)-- -- * BuildProvenance- , BuildProvenance- , buildProvenance- , bpCreator- , bpSourceProvenance- , bpCommands- , bpTriggerId- , bpStartTime- , bpBuilderVersion- , bpEndTime- , bpId- , bpProjectId- , bpBuiltArtifacts- , bpBuildOptions- , bpCreateTime- , bpLogsURI-- -- * AuditConfig- , AuditConfig- , auditConfig- , acService- , acAuditLogConfigs-- -- * Occurrence- , Occurrence- , occurrence- , oInstallation- , oVulnerability- , oDerivedImage- , oKind- , oBuild- , oAttestation- , oUpdateTime- , oName- , oNoteName- , oRemediation- , oResource- , oDiscovered- , oCreateTime- , oDeployment-- -- * GrafeasV1beta1VulnerabilityDetails- , GrafeasV1beta1VulnerabilityDetails- , grafeasV1beta1VulnerabilityDetails- , gvvdLongDescription- , gvvdRelatedURLs- , gvvdCvssScore- , gvvdPackageIssue- , gvvdSeverity- , gvvdEffectiveSeverity- , gvvdShortDescription- , gvvdType-- -- * VulnerabilitySeverity- , VulnerabilitySeverity (..)-- -- * SourceFileHashes- , SourceFileHashes- , sourceFileHashes- , sfhAddtional-- -- * Expr- , Expr- , expr- , eLocation- , eExpression- , eTitle- , eDescription-- -- * Command- , Command- , command- , cDir- , cArgs- , cEnv- , cWaitFor- , cName- , cId-- -- * KnowledgeBase- , KnowledgeBase- , knowledgeBase- , kbURL- , kbName-- -- * GetIAMPolicyRequest- , GetIAMPolicyRequest- , getIAMPolicyRequest-- -- * Discovery- , Discovery- , discovery- , dAnalysisKind-- -- * Hash- , Hash- , hash- , hValue- , hType-- -- * Basis- , Basis- , basis- , bFingerprint- , bResourceURL-- -- * BatchCreateNotesRequest- , BatchCreateNotesRequest- , batchCreateNotesRequest- , bcnrNotes-- -- * SourceContext- , SourceContext- , sourceContext- , scCloudRepo- , scGerrit- , scGit- , scLabels-- -- * Distribution- , Distribution- , distribution- , dURL- , dMaintainer- , dArchitecture- , dCpeURI- , dDescription- , dLatestVersion-- -- * BatchCreateOccurrencesRequest- , BatchCreateOccurrencesRequest- , batchCreateOccurrencesRequest- , bcorOccurrences-- -- * ListOccurrencesResponse- , ListOccurrencesResponse- , listOccurrencesResponse- , lorOccurrences- , lorNextPageToken-- -- * CVSSv3IntegrityImpact- , CVSSv3IntegrityImpact (..)-- -- * Location- , Location- , location- , lPath- , lVersion- , lCpeURI-- -- * Empty- , Empty- , empty-- -- * GerritSourceContext- , GerritSourceContext- , gerritSourceContext- , gscGerritProject- , gscRevisionId- , gscHostURI- , gscAliasContext-- -- * RepoId- , RepoId- , repoId- , riUid- , riProjectRepoId-- -- * DiscoveredContinuousAnalysis- , DiscoveredContinuousAnalysis (..)-- -- * CVSSv3PrivilegesRequired- , CVSSv3PrivilegesRequired (..)-- -- * ListNoteOccurrencesResponse- , ListNoteOccurrencesResponse- , listNoteOccurrencesResponse- , lnorOccurrences- , lnorNextPageToken-- -- * NoteKind- , NoteKind (..)-- -- * Note- , Note- , note- , nVulnerability- , nLongDescription- , nAttestationAuthority- , nDiscovery- , nKind- , nRelatedNoteNames- , nBuild- , nDeployable- , nRelatedURL- , nUpdateTime- , nShortDescription- , nName- , nBaseImage- , nPackage- , nExpirationTime- , nCreateTime-- -- * CVSSv3- , CVSSv3- , cVSSv3- , cvssAttackComplexity- , cvssIntegrityImpact- , cvssPrivilegesRequired- , cvssUserInteraction- , cvssAttackVector- , cvssConfidentialityImpact- , cvssScope- , cvssImpactScore- , cvssBaseScore- , cvssAvailabilityImpact- , cvssExploitabilityScore-- -- * BatchCreateNotesResponse- , BatchCreateNotesResponse- , batchCreateNotesResponse- , bNotes-- -- * ProjectRepoId- , ProjectRepoId- , projectRepoId- , priRepoName- , priProjectId-- -- * Fingerprint- , Fingerprint- , fingerprint- , fV2Name- , fV2Blob- , fV1Name-- -- * CVSSv3UserInteraction- , CVSSv3UserInteraction (..)-- -- * Hint- , Hint- , hint- , hHumanReadableName-- -- * PackageIssue- , PackageIssue- , packageIssue- , piAffectedLocation- , piFixedLocation- , piSeverityName-- -- * StatusDetailsItem- , StatusDetailsItem- , statusDetailsItem- , sdiAddtional-- -- * Build- , Build- , build- , bSignature- , bBuilderVersion-- -- * Attestation- , Attestation- , attestation- , aGenericSignedAttestation- , aPgpSignedAttestation-- -- * DeploymentPlatform- , DeploymentPlatform (..)-- -- * Artifact- , Artifact- , artifact- , aChecksum- , aNames- , aId-- -- * SetIAMPolicyRequest- , SetIAMPolicyRequest- , setIAMPolicyRequest- , siprUpdateMask- , siprPolicy-- -- * GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity- , GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity (..)-- -- * BuildProvenanceBuildOptions- , BuildProvenanceBuildOptions- , buildProvenanceBuildOptions- , bpboAddtional-- -- * Deployable- , Deployable- , deployable- , dResourceURI-- -- * GrafeasV1beta1DiscoveryDetails- , GrafeasV1beta1DiscoveryDetails- , grafeasV1beta1DiscoveryDetails- , gvddDiscovered-- -- * VulnerabilityLocation- , VulnerabilityLocation- , vulnerabilityLocation- , vlVersion- , vlPackage- , vlCpeURI-- -- * CVSSv3AttackVector- , CVSSv3AttackVector (..)-- -- * GenericSignedAttestationContentType- , GenericSignedAttestationContentType (..)-- -- * CVSSv3ConfidentialityImpact- , CVSSv3ConfidentialityImpact (..)-- -- * FixableTotalByDigest- , FixableTotalByDigest- , fixableTotalByDigest- , ftbdSeverity- , ftbdFixableCount- , ftbdResource- , ftbdTotalCount-- -- * RelatedURL- , RelatedURL- , relatedURL- , ruURL- , ruLabel-- -- * GrafeasV1beta1ImageDetails- , GrafeasV1beta1ImageDetails- , grafeasV1beta1ImageDetails- , gvidDerivedImage-- -- * BatchCreateOccurrencesResponse- , BatchCreateOccurrencesResponse- , batchCreateOccurrencesResponse- , bOccurrences-- -- * SourceContextLabels- , SourceContextLabels- , sourceContextLabels- , sclAddtional-- -- * DistributionArchitecture- , DistributionArchitecture (..)-- -- * ListScanConfigsResponse- , ListScanConfigsResponse- , listScanConfigsResponse- , lscrNextPageToken- , lscrScanConfigs-- -- * FixableTotalByDigestSeverity- , FixableTotalByDigestSeverity (..)-- -- * AuditLogConfigLogType- , AuditLogConfigLogType (..)-- -- * Version- , Version- , version- , vKind- , vName- , vRevision- , vEpoch-- -- * FileHashes- , FileHashes- , fileHashes- , fhFileHash-- -- * Resource- , Resource- , resource- , rContentHash- , rURI- , rName-- -- * GrafeasV1beta1DeploymentDetails- , GrafeasV1beta1DeploymentDetails- , grafeasV1beta1DeploymentDetails- , gvddDeployment-- -- * GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata- , GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata- , googleDevtoolsContaineranalysisV1alpha1OperationMetadata- , gdcvomEndTime- , gdcvomCreateTime-- -- * CVSSv3Scope- , CVSSv3Scope (..)-- -- * PgpSignedAttestationContentType- , PgpSignedAttestationContentType (..)-- -- * Xgafv- , Xgafv (..)-- -- * Details- , Details- , details- , dAttestation-- -- * Package- , Package- , package- , pDistribution- , pName-- -- * ListNotesResponse- , ListNotesResponse- , listNotesResponse- , lnrNextPageToken- , lnrNotes-- -- * BuildSignature- , BuildSignature- , buildSignature- , bsSignature- , bsKeyType- , bsKeyId- , bsPublicKey-- -- * TestIAMPermissionsRequest- , TestIAMPermissionsRequest- , testIAMPermissionsRequest- , tiprPermissions-- -- * VersionKind- , VersionKind (..)-- -- * HashType- , HashType (..)-- -- * Discovered- , Discovered- , discovered- , dLastAnalysisTime- , dAnalysisStatusError- , dAnalysisStatus- , dContinuousAnalysis-- -- * BuildSignatureKeyType- , BuildSignatureKeyType (..)-- -- * Derived- , Derived- , derived- , dBaseResourceURL- , dFingerprint- , dDistance- , dLayerInfo-- -- * GrafeasV1beta1BuildDetails- , GrafeasV1beta1BuildDetails- , grafeasV1beta1BuildDetails- , gvbdProvenanceBytes- , gvbdProvenance-- -- * Source- , Source- , source- , sContext- , sAdditionalContexts- , sArtifactStorageSourceURI- , sFileHashes-- -- * ScanConfig- , ScanConfig- , scanConfig- , scEnabled- , scUpdateTime- , scName- , scDescription- , scCreateTime-- -- * GenericSignedAttestation- , GenericSignedAttestation- , genericSignedAttestation- , gsaSerializedPayload- , gsaSignatures- , gsaContentType-- -- * GitSourceContext- , GitSourceContext- , gitSourceContext- , gURL- , gRevisionId-- -- * TestIAMPermissionsResponse- , TestIAMPermissionsResponse- , testIAMPermissionsResponse- , tiamprPermissions-- -- * Policy- , Policy- , policy- , pAuditConfigs- , pEtag- , pVersion- , pBindings-- -- * DiscoveryAnalysisKind- , DiscoveryAnalysisKind (..)-- -- * Layer- , Layer- , layer- , lDirective- , lArguments-- -- * CloudRepoSourceContext- , CloudRepoSourceContext- , cloudRepoSourceContext- , crscRepoId- , crscRevisionId- , crscAliasContext-- -- * AuditLogConfig- , AuditLogConfig- , auditLogConfig- , alcLogType- , alcExemptedMembers-- -- * PgpSignedAttestation- , PgpSignedAttestation- , pgpSignedAttestation- , psaSignature- , psaPgpKeyId- , psaContentType-- -- * CVSSv3AvailabilityImpact- , CVSSv3AvailabilityImpact (..)-- -- * WindowsDetail- , WindowsDetail- , windowsDetail- , wdName- , wdFixingKbs- , wdCpeURI- , wdDescription-- -- * BatchCreateNotesRequestNotes- , BatchCreateNotesRequestNotes- , batchCreateNotesRequestNotes- , bcnrnAddtional-- -- * AliasContext- , AliasContext- , aliasContext- , acKind- , acName-- -- * AliasContextKind- , AliasContextKind (..)-- -- * Binding- , Binding- , binding- , bMembers- , bRole- , bCondition-- -- * Detail- , Detail- , detail- , detMinAffectedVersion- , detPackageType- , detIsObsolete- , detFixedLocation- , detSeverityName- , detMaxAffectedVersion- , detPackage- , detCpeURI- , detDescription-- -- * Authority- , Authority- , authority- , aHint-- -- * GrafeasV1beta1PackageDetails- , GrafeasV1beta1PackageDetails- , grafeasV1beta1PackageDetails- , gvpdInstallation-- -- * Deployment- , Deployment- , deployment- , depResourceURI- , depPlatform- , depConfig- , depUndeployTime- , depDeployTime- , depAddress- , depUserEmail- ) where--import Network.Google.ContainerAnalysis.Types.Product-import Network.Google.ContainerAnalysis.Types.Sum-import Network.Google.Prelude---- | Default request referring to version 'v1beta1' of the Container Analysis API. This contains the host and root path used as a starting point for constructing service requests.-containerAnalysisService :: ServiceConfig-containerAnalysisService- = defaultService- (ServiceId "containeranalysis:v1beta1")- "containeranalysis.googleapis.com"---- | View and manage your data across Google Cloud Platform services-cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy
− gen/Network/Google/ContainerAnalysis/Types/Product.hs
@@ -1,5365 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.ContainerAnalysis.Types.Product--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.ContainerAnalysis.Types.Product where--import Network.Google.ContainerAnalysis.Types.Sum-import Network.Google.Prelude---- | This represents how a particular software package may be installed on a--- system.------ /See:/ 'installation' smart constructor.-data Installation =- Installation'- { _iLocation :: !(Maybe [Location])- , _iName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Installation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iLocation'------ * 'iName'-installation- :: Installation-installation = Installation' {_iLocation = Nothing, _iName = Nothing}----- | Required. All of the places within the filesystem versions of this--- package have been found.-iLocation :: Lens' Installation [Location]-iLocation- = lens _iLocation (\ s a -> s{_iLocation = a}) .- _Default- . _Coerce---- | Output only. The name of the installed package.-iName :: Lens' Installation (Maybe Text)-iName = lens _iName (\ s a -> s{_iName = a})--instance FromJSON Installation where- parseJSON- = withObject "Installation"- (\ o ->- Installation' <$>- (o .:? "location" .!= mempty) <*> (o .:? "name"))--instance ToJSON Installation where- toJSON Installation'{..}- = object- (catMaybes- [("location" .=) <$> _iLocation,- ("name" .=) <$> _iName])---- | Verifiers (e.g. Kritis implementations) MUST verify signatures with--- respect to the trust anchors defined in policy (e.g. a Kritis policy).--- Typically this means that the verifier has been configured with a map--- from \`public_key_id\` to public key material (and any required--- parameters, e.g. signing algorithm). In particular, verification--- implementations MUST NOT treat the signature \`public_key_id\` as--- anything more than a key lookup hint. The \`public_key_id\` DOES NOT--- validate or authenticate a public key; it only provides a mechanism for--- quickly selecting a public key ALREADY CONFIGURED on the verifier--- through a trusted channel. Verification implementations MUST reject--- signatures in any of the following circumstances: * The--- \`public_key_id\` is not recognized by the verifier. * The public key--- that \`public_key_id\` refers to does not verify the signature with--- respect to the payload. The \`signature\` contents SHOULD NOT be--- \"attached\" (where the payload is included with the serialized--- \`signature\` bytes). Verifiers MUST ignore any \"attached\" payload and--- only verify signatures with respect to explicitly provided payload (e.g.--- a \`payload\` field on the proto message that holds this Signature, or--- the canonical serialization of the proto message that holds this--- signature).------ /See:/ 'signature' smart constructor.-data Signature =- Signature'- { _sSignature :: !(Maybe Bytes)- , _sPublicKeyId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Signature' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sSignature'------ * 'sPublicKeyId'-signature- :: Signature-signature = Signature' {_sSignature = Nothing, _sPublicKeyId = Nothing}----- | The content of the signature, an opaque bytestring. The payload that--- this signature verifies MUST be unambiguously provided with the--- Signature during verification. A wrapper message might provide the--- payload explicitly. Alternatively, a message might have a canonical--- serialization that can always be unambiguously computed to derive the--- payload.-sSignature :: Lens' Signature (Maybe ByteString)-sSignature- = lens _sSignature (\ s a -> s{_sSignature = a}) .- mapping _Bytes---- | The identifier for the public key that verifies this signature. * The--- \`public_key_id\` is required. * The \`public_key_id\` MUST be an--- RFC3986 conformant URI. * When possible, the \`public_key_id\` SHOULD be--- an immutable reference, such as a cryptographic digest. Examples of--- valid \`public_key_id\`s: OpenPGP V4 public key fingerprint: *--- \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See--- https:\/\/www.iana.org\/assignments\/uri-schemes\/prov\/openpgp4fpr for--- more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo--- (digest of the DER serialization): *--- \"ni:\/\/\/sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\" *--- \"nih:\/\/\/sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"-sPublicKeyId :: Lens' Signature (Maybe Text)-sPublicKeyId- = lens _sPublicKeyId (\ s a -> s{_sPublicKeyId = a})--instance FromJSON Signature where- parseJSON- = withObject "Signature"- (\ o ->- Signature' <$>- (o .:? "signature") <*> (o .:? "publicKeyId"))--instance ToJSON Signature where- toJSON Signature'{..}- = object- (catMaybes- [("signature" .=) <$> _sSignature,- ("publicKeyId" .=) <$> _sPublicKeyId])---- | Vulnerability provides metadata about a security vulnerability in a--- Note.------ /See:/ 'vulnerability' smart constructor.-data Vulnerability =- Vulnerability'- { _vCvssScore :: !(Maybe (Textual Double))- , _vCvssV3 :: !(Maybe CVSSv3)- , _vSeverity :: !(Maybe VulnerabilitySeverity)- , _vDetails :: !(Maybe [Detail])- , _vWindowsDetails :: !(Maybe [WindowsDetail])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Vulnerability' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vCvssScore'------ * 'vCvssV3'------ * 'vSeverity'------ * 'vDetails'------ * 'vWindowsDetails'-vulnerability- :: Vulnerability-vulnerability =- Vulnerability'- { _vCvssScore = Nothing- , _vCvssV3 = Nothing- , _vSeverity = Nothing- , _vDetails = Nothing- , _vWindowsDetails = Nothing- }----- | The CVSS score for this vulnerability.-vCvssScore :: Lens' Vulnerability (Maybe Double)-vCvssScore- = lens _vCvssScore (\ s a -> s{_vCvssScore = a}) .- mapping _Coerce---- | The full description of the CVSSv3.-vCvssV3 :: Lens' Vulnerability (Maybe CVSSv3)-vCvssV3 = lens _vCvssV3 (\ s a -> s{_vCvssV3 = a})---- | Note provider assigned impact of the vulnerability.-vSeverity :: Lens' Vulnerability (Maybe VulnerabilitySeverity)-vSeverity- = lens _vSeverity (\ s a -> s{_vSeverity = a})---- | All information about the package to specifically identify this--- vulnerability. One entry per (version range and cpe_uri) the package--- vulnerability has manifested in.-vDetails :: Lens' Vulnerability [Detail]-vDetails- = lens _vDetails (\ s a -> s{_vDetails = a}) .- _Default- . _Coerce---- | Windows details get their own format because the information format and--- model don\'t match a normal detail. Specifically Windows updates are--- done as patches, thus Windows vulnerabilities really are a missing--- package, rather than a package being at an incorrect version.-vWindowsDetails :: Lens' Vulnerability [WindowsDetail]-vWindowsDetails- = lens _vWindowsDetails- (\ s a -> s{_vWindowsDetails = a})- . _Default- . _Coerce--instance FromJSON Vulnerability where- parseJSON- = withObject "Vulnerability"- (\ o ->- Vulnerability' <$>- (o .:? "cvssScore") <*> (o .:? "cvssV3") <*>- (o .:? "severity")- <*> (o .:? "details" .!= mempty)- <*> (o .:? "windowsDetails" .!= mempty))--instance ToJSON Vulnerability where- toJSON Vulnerability'{..}- = object- (catMaybes- [("cvssScore" .=) <$> _vCvssScore,- ("cvssV3" .=) <$> _vCvssV3,- ("severity" .=) <$> _vSeverity,- ("details" .=) <$> _vDetails,- ("windowsDetails" .=) <$> _vWindowsDetails])---- | The \`Status\` type defines a logical error model that is suitable for--- different programming environments, including REST APIs and RPC APIs. It--- is used by [gRPC](https:\/\/github.com\/grpc). The error model is--- designed to be: - Simple to use and understand for most users - Flexible--- enough to meet unexpected needs # Overview The \`Status\` message--- contains three pieces of data: error code, error message, and error--- details. The error code should be an enum value of google.rpc.Code, but--- it may accept additional error codes if needed. The error message should--- be a developer-facing English message that helps developers *understand*--- and *resolve* the error. If a localized user-facing error message is--- needed, put the localized message in the error details or localize it in--- the client. The optional error details may contain arbitrary information--- about the error. There is a predefined set of error detail types in the--- package \`google.rpc\` that can be used for common error conditions. #--- Language mapping The \`Status\` message is the logical representation of--- the error model, but it is not necessarily the actual wire format. When--- the \`Status\` message is exposed in different client libraries and--- different wire protocols, it can be mapped differently. For example, it--- will likely be mapped to some exceptions in Java, but more likely mapped--- to some error codes in C. # Other uses The error model and the--- \`Status\` message can be used in a variety of environments, either with--- or without APIs, to provide a consistent developer experience across--- different environments. Example uses of this error model include: ---- Partial errors. If a service needs to return partial errors to the--- client, it may embed the \`Status\` in the normal response to indicate--- the partial errors. - Workflow errors. A typical workflow has multiple--- steps. Each step may have a \`Status\` message for error reporting. ---- Batch operations. If a client uses batch request and batch response, the--- \`Status\` message should be used directly inside batch response, one--- for each error sub-response. - Asynchronous operations. If an API call--- embeds asynchronous operation results in its response, the status of--- those operations should be represented directly using the \`Status\`--- message. - Logging. If some API errors are stored in logs, the message--- \`Status\` could be used directly after any stripping needed for--- security\/privacy reasons.------ /See:/ 'status' smart constructor.-data Status =- Status'- { _sDetails :: !(Maybe [StatusDetailsItem])- , _sCode :: !(Maybe (Textual Int32))- , _sMessage :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Status' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sDetails'------ * 'sCode'------ * 'sMessage'-status- :: Status-status = Status' {_sDetails = Nothing, _sCode = Nothing, _sMessage = Nothing}----- | A list of messages that carry the error details. There is a common set--- of message types for APIs to use.-sDetails :: Lens' Status [StatusDetailsItem]-sDetails- = lens _sDetails (\ s a -> s{_sDetails = a}) .- _Default- . _Coerce---- | The status code, which should be an enum value of google.rpc.Code.-sCode :: Lens' Status (Maybe Int32)-sCode- = lens _sCode (\ s a -> s{_sCode = a}) .- mapping _Coerce---- | A developer-facing error message, which should be in English. Any--- user-facing error message should be localized and sent in the--- google.rpc.Status.details field, or localized by the client.-sMessage :: Lens' Status (Maybe Text)-sMessage = lens _sMessage (\ s a -> s{_sMessage = a})--instance FromJSON Status where- parseJSON- = withObject "Status"- (\ o ->- Status' <$>- (o .:? "details" .!= mempty) <*> (o .:? "code") <*>- (o .:? "message"))--instance ToJSON Status where- toJSON Status'{..}- = object- (catMaybes- [("details" .=) <$> _sDetails,- ("code" .=) <$> _sCode,- ("message" .=) <$> _sMessage])---- | A summary of how many vulnerability occurrences there are per resource--- and severity type.------ /See:/ 'vulnerabilityOccurrencesSummary' smart constructor.-newtype VulnerabilityOccurrencesSummary =- VulnerabilityOccurrencesSummary'- { _vosCounts :: Maybe [FixableTotalByDigest]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'VulnerabilityOccurrencesSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vosCounts'-vulnerabilityOccurrencesSummary- :: VulnerabilityOccurrencesSummary-vulnerabilityOccurrencesSummary =- VulnerabilityOccurrencesSummary' {_vosCounts = Nothing}----- | A listing by resource of the number of fixable and total--- vulnerabilities.-vosCounts :: Lens' VulnerabilityOccurrencesSummary [FixableTotalByDigest]-vosCounts- = lens _vosCounts (\ s a -> s{_vosCounts = a}) .- _Default- . _Coerce--instance FromJSON VulnerabilityOccurrencesSummary- where- parseJSON- = withObject "VulnerabilityOccurrencesSummary"- (\ o ->- VulnerabilityOccurrencesSummary' <$>- (o .:? "counts" .!= mempty))--instance ToJSON VulnerabilityOccurrencesSummary where- toJSON VulnerabilityOccurrencesSummary'{..}- = object (catMaybes [("counts" .=) <$> _vosCounts])---- | Provenance of a build. Contains all information needed to verify the--- full details about the build from source to completion.------ /See:/ 'buildProvenance' smart constructor.-data BuildProvenance =- BuildProvenance'- { _bpCreator :: !(Maybe Text)- , _bpSourceProvenance :: !(Maybe Source)- , _bpCommands :: !(Maybe [Command])- , _bpTriggerId :: !(Maybe Text)- , _bpStartTime :: !(Maybe DateTime')- , _bpBuilderVersion :: !(Maybe Text)- , _bpEndTime :: !(Maybe DateTime')- , _bpId :: !(Maybe Text)- , _bpProjectId :: !(Maybe Text)- , _bpBuiltArtifacts :: !(Maybe [Artifact])- , _bpBuildOptions :: !(Maybe BuildProvenanceBuildOptions)- , _bpCreateTime :: !(Maybe DateTime')- , _bpLogsURI :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BuildProvenance' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bpCreator'------ * 'bpSourceProvenance'------ * 'bpCommands'------ * 'bpTriggerId'------ * 'bpStartTime'------ * 'bpBuilderVersion'------ * 'bpEndTime'------ * 'bpId'------ * 'bpProjectId'------ * 'bpBuiltArtifacts'------ * 'bpBuildOptions'------ * 'bpCreateTime'------ * 'bpLogsURI'-buildProvenance- :: BuildProvenance-buildProvenance =- BuildProvenance'- { _bpCreator = Nothing- , _bpSourceProvenance = Nothing- , _bpCommands = Nothing- , _bpTriggerId = Nothing- , _bpStartTime = Nothing- , _bpBuilderVersion = Nothing- , _bpEndTime = Nothing- , _bpId = Nothing- , _bpProjectId = Nothing- , _bpBuiltArtifacts = Nothing- , _bpBuildOptions = Nothing- , _bpCreateTime = Nothing- , _bpLogsURI = Nothing- }----- | E-mail address of the user who initiated this build. Note that this was--- the user\'s e-mail address at the time the build was initiated; this--- address may not represent the same end-user for all time.-bpCreator :: Lens' BuildProvenance (Maybe Text)-bpCreator- = lens _bpCreator (\ s a -> s{_bpCreator = a})---- | Details of the Source input to the build.-bpSourceProvenance :: Lens' BuildProvenance (Maybe Source)-bpSourceProvenance- = lens _bpSourceProvenance- (\ s a -> s{_bpSourceProvenance = a})---- | Commands requested by the build.-bpCommands :: Lens' BuildProvenance [Command]-bpCommands- = lens _bpCommands (\ s a -> s{_bpCommands = a}) .- _Default- . _Coerce---- | Trigger identifier if the build was triggered automatically; empty if--- not.-bpTriggerId :: Lens' BuildProvenance (Maybe Text)-bpTriggerId- = lens _bpTriggerId (\ s a -> s{_bpTriggerId = a})---- | Time at which execution of the build was started.-bpStartTime :: Lens' BuildProvenance (Maybe UTCTime)-bpStartTime- = lens _bpStartTime (\ s a -> s{_bpStartTime = a}) .- mapping _DateTime---- | Version string of the builder at the time this build was executed.-bpBuilderVersion :: Lens' BuildProvenance (Maybe Text)-bpBuilderVersion- = lens _bpBuilderVersion- (\ s a -> s{_bpBuilderVersion = a})---- | Time at which execution of the build was finished.-bpEndTime :: Lens' BuildProvenance (Maybe UTCTime)-bpEndTime- = lens _bpEndTime (\ s a -> s{_bpEndTime = a}) .- mapping _DateTime---- | Required. Unique identifier of the build.-bpId :: Lens' BuildProvenance (Maybe Text)-bpId = lens _bpId (\ s a -> s{_bpId = a})---- | ID of the project.-bpProjectId :: Lens' BuildProvenance (Maybe Text)-bpProjectId- = lens _bpProjectId (\ s a -> s{_bpProjectId = a})---- | Output of the build.-bpBuiltArtifacts :: Lens' BuildProvenance [Artifact]-bpBuiltArtifacts- = lens _bpBuiltArtifacts- (\ s a -> s{_bpBuiltArtifacts = a})- . _Default- . _Coerce---- | Special options applied to this build. This is a catch-all field where--- build providers can enter any desired additional details.-bpBuildOptions :: Lens' BuildProvenance (Maybe BuildProvenanceBuildOptions)-bpBuildOptions- = lens _bpBuildOptions- (\ s a -> s{_bpBuildOptions = a})---- | Time at which the build was created.-bpCreateTime :: Lens' BuildProvenance (Maybe UTCTime)-bpCreateTime- = lens _bpCreateTime (\ s a -> s{_bpCreateTime = a})- . mapping _DateTime---- | URI where any logs for this provenance were written.-bpLogsURI :: Lens' BuildProvenance (Maybe Text)-bpLogsURI- = lens _bpLogsURI (\ s a -> s{_bpLogsURI = a})--instance FromJSON BuildProvenance where- parseJSON- = withObject "BuildProvenance"- (\ o ->- BuildProvenance' <$>- (o .:? "creator") <*> (o .:? "sourceProvenance") <*>- (o .:? "commands" .!= mempty)- <*> (o .:? "triggerId")- <*> (o .:? "startTime")- <*> (o .:? "builderVersion")- <*> (o .:? "endTime")- <*> (o .:? "id")- <*> (o .:? "projectId")- <*> (o .:? "builtArtifacts" .!= mempty)- <*> (o .:? "buildOptions")- <*> (o .:? "createTime")- <*> (o .:? "logsUri"))--instance ToJSON BuildProvenance where- toJSON BuildProvenance'{..}- = object- (catMaybes- [("creator" .=) <$> _bpCreator,- ("sourceProvenance" .=) <$> _bpSourceProvenance,- ("commands" .=) <$> _bpCommands,- ("triggerId" .=) <$> _bpTriggerId,- ("startTime" .=) <$> _bpStartTime,- ("builderVersion" .=) <$> _bpBuilderVersion,- ("endTime" .=) <$> _bpEndTime, ("id" .=) <$> _bpId,- ("projectId" .=) <$> _bpProjectId,- ("builtArtifacts" .=) <$> _bpBuiltArtifacts,- ("buildOptions" .=) <$> _bpBuildOptions,- ("createTime" .=) <$> _bpCreateTime,- ("logsUri" .=) <$> _bpLogsURI])---- | Specifies the audit configuration for a service. The configuration--- determines which permission types are logged, and what identities, if--- any, are exempted from logging. An AuditConfig must have one or more--- AuditLogConfigs. If there are AuditConfigs for both \`allServices\` and--- a specific service, the union of the two AuditConfigs is used for that--- service: the log_types specified in each AuditConfig are enabled, and--- the exempted_members in each AuditLogConfig are exempted. Example Policy--- with multiple AuditConfigs: { \"audit_configs\": [ { \"service\":--- \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\",--- \"exempted_members\": [ \"user:foo\'gmail.com\" ] }, { \"log_type\":--- \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\":--- \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\":--- \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\":--- [ \"user:bar\'gmail.com\" ] } ] } ] } For fooservice, this policy--- enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts--- foo\'gmail.com from DATA_READ logging, and bar\'gmail.com from--- DATA_WRITE logging.------ /See:/ 'auditConfig' smart constructor.-data AuditConfig =- AuditConfig'- { _acService :: !(Maybe Text)- , _acAuditLogConfigs :: !(Maybe [AuditLogConfig])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AuditConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acService'------ * 'acAuditLogConfigs'-auditConfig- :: AuditConfig-auditConfig = AuditConfig' {_acService = Nothing, _acAuditLogConfigs = Nothing}----- | Specifies a service that will be enabled for audit logging. For example,--- \`storage.googleapis.com\`, \`cloudsql.googleapis.com\`. \`allServices\`--- is a special value that covers all services.-acService :: Lens' AuditConfig (Maybe Text)-acService- = lens _acService (\ s a -> s{_acService = a})---- | The configuration for logging of each type of permission.-acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig]-acAuditLogConfigs- = lens _acAuditLogConfigs- (\ s a -> s{_acAuditLogConfigs = a})- . _Default- . _Coerce--instance FromJSON AuditConfig where- parseJSON- = withObject "AuditConfig"- (\ o ->- AuditConfig' <$>- (o .:? "service") <*>- (o .:? "auditLogConfigs" .!= mempty))--instance ToJSON AuditConfig where- toJSON AuditConfig'{..}- = object- (catMaybes- [("service" .=) <$> _acService,- ("auditLogConfigs" .=) <$> _acAuditLogConfigs])---- | An instance of an analysis type that has been found on a resource.------ /See:/ 'occurrence' smart constructor.-data Occurrence =- Occurrence'- { _oInstallation :: !(Maybe GrafeasV1beta1PackageDetails)- , _oVulnerability :: !(Maybe GrafeasV1beta1VulnerabilityDetails)- , _oDerivedImage :: !(Maybe GrafeasV1beta1ImageDetails)- , _oKind :: !(Maybe OccurrenceKind)- , _oBuild :: !(Maybe GrafeasV1beta1BuildDetails)- , _oAttestation :: !(Maybe Details)- , _oUpdateTime :: !(Maybe DateTime')- , _oName :: !(Maybe Text)- , _oNoteName :: !(Maybe Text)- , _oRemediation :: !(Maybe Text)- , _oResource :: !(Maybe Resource)- , _oDiscovered :: !(Maybe GrafeasV1beta1DiscoveryDetails)- , _oCreateTime :: !(Maybe DateTime')- , _oDeployment :: !(Maybe GrafeasV1beta1DeploymentDetails)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Occurrence' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oInstallation'------ * 'oVulnerability'------ * 'oDerivedImage'------ * 'oKind'------ * 'oBuild'------ * 'oAttestation'------ * 'oUpdateTime'------ * 'oName'------ * 'oNoteName'------ * 'oRemediation'------ * 'oResource'------ * 'oDiscovered'------ * 'oCreateTime'------ * 'oDeployment'-occurrence- :: Occurrence-occurrence =- Occurrence'- { _oInstallation = Nothing- , _oVulnerability = Nothing- , _oDerivedImage = Nothing- , _oKind = Nothing- , _oBuild = Nothing- , _oAttestation = Nothing- , _oUpdateTime = Nothing- , _oName = Nothing- , _oNoteName = Nothing- , _oRemediation = Nothing- , _oResource = Nothing- , _oDiscovered = Nothing- , _oCreateTime = Nothing- , _oDeployment = Nothing- }----- | Describes the installation of a package on the linked resource.-oInstallation :: Lens' Occurrence (Maybe GrafeasV1beta1PackageDetails)-oInstallation- = lens _oInstallation- (\ s a -> s{_oInstallation = a})---- | Describes a security vulnerability.-oVulnerability :: Lens' Occurrence (Maybe GrafeasV1beta1VulnerabilityDetails)-oVulnerability- = lens _oVulnerability- (\ s a -> s{_oVulnerability = a})---- | Describes how this resource derives from the basis in the associated--- note.-oDerivedImage :: Lens' Occurrence (Maybe GrafeasV1beta1ImageDetails)-oDerivedImage- = lens _oDerivedImage- (\ s a -> s{_oDerivedImage = a})---- | Output only. This explicitly denotes which of the occurrence details are--- specified. This field can be used as a filter in list requests.-oKind :: Lens' Occurrence (Maybe OccurrenceKind)-oKind = lens _oKind (\ s a -> s{_oKind = a})---- | Describes a verifiable build.-oBuild :: Lens' Occurrence (Maybe GrafeasV1beta1BuildDetails)-oBuild = lens _oBuild (\ s a -> s{_oBuild = a})---- | Describes an attestation of an artifact.-oAttestation :: Lens' Occurrence (Maybe Details)-oAttestation- = lens _oAttestation (\ s a -> s{_oAttestation = a})---- | Output only. The time this occurrence was last updated.-oUpdateTime :: Lens' Occurrence (Maybe UTCTime)-oUpdateTime- = lens _oUpdateTime (\ s a -> s{_oUpdateTime = a}) .- mapping _DateTime---- | Output only. The name of the occurrence in the form of--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\`.-oName :: Lens' Occurrence (Maybe Text)-oName = lens _oName (\ s a -> s{_oName = a})---- | Required. Immutable. The analysis note associated with this occurrence,--- in the form of \`projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]\`. This field--- can be used as a filter in list requests.-oNoteName :: Lens' Occurrence (Maybe Text)-oNoteName- = lens _oNoteName (\ s a -> s{_oNoteName = a})---- | A description of actions that can be taken to remedy the note.-oRemediation :: Lens' Occurrence (Maybe Text)-oRemediation- = lens _oRemediation (\ s a -> s{_oRemediation = a})---- | Required. Immutable. The resource for which the occurrence applies.-oResource :: Lens' Occurrence (Maybe Resource)-oResource- = lens _oResource (\ s a -> s{_oResource = a})---- | Describes when a resource was discovered.-oDiscovered :: Lens' Occurrence (Maybe GrafeasV1beta1DiscoveryDetails)-oDiscovered- = lens _oDiscovered (\ s a -> s{_oDiscovered = a})---- | Output only. The time this occurrence was created.-oCreateTime :: Lens' Occurrence (Maybe UTCTime)-oCreateTime- = lens _oCreateTime (\ s a -> s{_oCreateTime = a}) .- mapping _DateTime---- | Describes the deployment of an artifact on a runtime.-oDeployment :: Lens' Occurrence (Maybe GrafeasV1beta1DeploymentDetails)-oDeployment- = lens _oDeployment (\ s a -> s{_oDeployment = a})--instance FromJSON Occurrence where- parseJSON- = withObject "Occurrence"- (\ o ->- Occurrence' <$>- (o .:? "installation") <*> (o .:? "vulnerability")- <*> (o .:? "derivedImage")- <*> (o .:? "kind")- <*> (o .:? "build")- <*> (o .:? "attestation")- <*> (o .:? "updateTime")- <*> (o .:? "name")- <*> (o .:? "noteName")- <*> (o .:? "remediation")- <*> (o .:? "resource")- <*> (o .:? "discovered")- <*> (o .:? "createTime")- <*> (o .:? "deployment"))--instance ToJSON Occurrence where- toJSON Occurrence'{..}- = object- (catMaybes- [("installation" .=) <$> _oInstallation,- ("vulnerability" .=) <$> _oVulnerability,- ("derivedImage" .=) <$> _oDerivedImage,- ("kind" .=) <$> _oKind, ("build" .=) <$> _oBuild,- ("attestation" .=) <$> _oAttestation,- ("updateTime" .=) <$> _oUpdateTime,- ("name" .=) <$> _oName,- ("noteName" .=) <$> _oNoteName,- ("remediation" .=) <$> _oRemediation,- ("resource" .=) <$> _oResource,- ("discovered" .=) <$> _oDiscovered,- ("createTime" .=) <$> _oCreateTime,- ("deployment" .=) <$> _oDeployment])---- | Details of a vulnerability Occurrence.------ /See:/ 'grafeasV1beta1VulnerabilityDetails' smart constructor.-data GrafeasV1beta1VulnerabilityDetails =- GrafeasV1beta1VulnerabilityDetails'- { _gvvdLongDescription :: !(Maybe Text)- , _gvvdRelatedURLs :: !(Maybe [RelatedURL])- , _gvvdCvssScore :: !(Maybe (Textual Double))- , _gvvdPackageIssue :: !(Maybe [PackageIssue])- , _gvvdSeverity :: !(Maybe GrafeasV1beta1VulnerabilityDetailsSeverity)- , _gvvdEffectiveSeverity :: !(Maybe GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity)- , _gvvdShortDescription :: !(Maybe Text)- , _gvvdType :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GrafeasV1beta1VulnerabilityDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gvvdLongDescription'------ * 'gvvdRelatedURLs'------ * 'gvvdCvssScore'------ * 'gvvdPackageIssue'------ * 'gvvdSeverity'------ * 'gvvdEffectiveSeverity'------ * 'gvvdShortDescription'------ * 'gvvdType'-grafeasV1beta1VulnerabilityDetails- :: GrafeasV1beta1VulnerabilityDetails-grafeasV1beta1VulnerabilityDetails =- GrafeasV1beta1VulnerabilityDetails'- { _gvvdLongDescription = Nothing- , _gvvdRelatedURLs = Nothing- , _gvvdCvssScore = Nothing- , _gvvdPackageIssue = Nothing- , _gvvdSeverity = Nothing- , _gvvdEffectiveSeverity = Nothing- , _gvvdShortDescription = Nothing- , _gvvdType = Nothing- }----- | Output only. A detailed description of this vulnerability.-gvvdLongDescription :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text)-gvvdLongDescription- = lens _gvvdLongDescription- (\ s a -> s{_gvvdLongDescription = a})---- | Output only. URLs related to this vulnerability.-gvvdRelatedURLs :: Lens' GrafeasV1beta1VulnerabilityDetails [RelatedURL]-gvvdRelatedURLs- = lens _gvvdRelatedURLs- (\ s a -> s{_gvvdRelatedURLs = a})- . _Default- . _Coerce---- | Output only. The CVSS score of this vulnerability. CVSS score is on a--- scale of 0-10 where 0 indicates low severity and 10 indicates high--- severity.-gvvdCvssScore :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Double)-gvvdCvssScore- = lens _gvvdCvssScore- (\ s a -> s{_gvvdCvssScore = a})- . mapping _Coerce---- | Required. The set of affected locations and their fixes (if available)--- within the associated resource.-gvvdPackageIssue :: Lens' GrafeasV1beta1VulnerabilityDetails [PackageIssue]-gvvdPackageIssue- = lens _gvvdPackageIssue- (\ s a -> s{_gvvdPackageIssue = a})- . _Default- . _Coerce---- | Output only. The note provider assigned Severity of the vulnerability.-gvvdSeverity :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe GrafeasV1beta1VulnerabilityDetailsSeverity)-gvvdSeverity- = lens _gvvdSeverity (\ s a -> s{_gvvdSeverity = a})---- | The distro assigned severity for this vulnerability when it is--- available, and note provider assigned severity when distro has not yet--- assigned a severity for this vulnerability.-gvvdEffectiveSeverity :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity)-gvvdEffectiveSeverity- = lens _gvvdEffectiveSeverity- (\ s a -> s{_gvvdEffectiveSeverity = a})---- | Output only. A one sentence description of this vulnerability.-gvvdShortDescription :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text)-gvvdShortDescription- = lens _gvvdShortDescription- (\ s a -> s{_gvvdShortDescription = a})---- | The type of package; whether native or non native(ruby gems, node.js--- packages etc)-gvvdType :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text)-gvvdType = lens _gvvdType (\ s a -> s{_gvvdType = a})--instance FromJSON GrafeasV1beta1VulnerabilityDetails- where- parseJSON- = withObject "GrafeasV1beta1VulnerabilityDetails"- (\ o ->- GrafeasV1beta1VulnerabilityDetails' <$>- (o .:? "longDescription") <*>- (o .:? "relatedUrls" .!= mempty)- <*> (o .:? "cvssScore")- <*> (o .:? "packageIssue" .!= mempty)- <*> (o .:? "severity")- <*> (o .:? "effectiveSeverity")- <*> (o .:? "shortDescription")- <*> (o .:? "type"))--instance ToJSON GrafeasV1beta1VulnerabilityDetails- where- toJSON GrafeasV1beta1VulnerabilityDetails'{..}- = object- (catMaybes- [("longDescription" .=) <$> _gvvdLongDescription,- ("relatedUrls" .=) <$> _gvvdRelatedURLs,- ("cvssScore" .=) <$> _gvvdCvssScore,- ("packageIssue" .=) <$> _gvvdPackageIssue,- ("severity" .=) <$> _gvvdSeverity,- ("effectiveSeverity" .=) <$> _gvvdEffectiveSeverity,- ("shortDescription" .=) <$> _gvvdShortDescription,- ("type" .=) <$> _gvvdType])---- | Hash(es) of the build source, which can be used to verify that the--- original source integrity was maintained in the build. The keys to this--- map are file paths used as build source and the values contain the hash--- values for those files. If the build source came in a single package--- such as a gzipped tarfile (.tar.gz), the FileHash will be for the single--- path to that file.------ /See:/ 'sourceFileHashes' smart constructor.-newtype SourceFileHashes =- SourceFileHashes'- { _sfhAddtional :: HashMap Text FileHashes- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SourceFileHashes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sfhAddtional'-sourceFileHashes- :: HashMap Text FileHashes -- ^ 'sfhAddtional'- -> SourceFileHashes-sourceFileHashes pSfhAddtional_ =- SourceFileHashes' {_sfhAddtional = _Coerce # pSfhAddtional_}---sfhAddtional :: Lens' SourceFileHashes (HashMap Text FileHashes)-sfhAddtional- = lens _sfhAddtional (\ s a -> s{_sfhAddtional = a})- . _Coerce--instance FromJSON SourceFileHashes where- parseJSON- = withObject "SourceFileHashes"- (\ o -> SourceFileHashes' <$> (parseJSONObject o))--instance ToJSON SourceFileHashes where- toJSON = toJSON . _sfhAddtional---- | Represents an expression text. Example: title: \"User account presence\"--- description: \"Determines whether the request has a user account\"--- expression: \"size(request.user) > 0\"------ /See:/ 'expr' smart constructor.-data Expr =- Expr'- { _eLocation :: !(Maybe Text)- , _eExpression :: !(Maybe Text)- , _eTitle :: !(Maybe Text)- , _eDescription :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Expr' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eLocation'------ * 'eExpression'------ * 'eTitle'------ * 'eDescription'-expr- :: Expr-expr =- Expr'- { _eLocation = Nothing- , _eExpression = Nothing- , _eTitle = Nothing- , _eDescription = Nothing- }----- | An optional string indicating the location of the expression for error--- reporting, e.g. a file name and a position in the file.-eLocation :: Lens' Expr (Maybe Text)-eLocation- = lens _eLocation (\ s a -> s{_eLocation = a})---- | Textual representation of an expression in Common Expression Language--- syntax. The application context of the containing message determines--- which well-known feature set of CEL is supported.-eExpression :: Lens' Expr (Maybe Text)-eExpression- = lens _eExpression (\ s a -> s{_eExpression = a})---- | An optional title for the expression, i.e. a short string describing its--- purpose. This can be used e.g. in UIs which allow to enter the--- expression.-eTitle :: Lens' Expr (Maybe Text)-eTitle = lens _eTitle (\ s a -> s{_eTitle = a})---- | An optional description of the expression. This is a longer text which--- describes the expression, e.g. when hovered over it in a UI.-eDescription :: Lens' Expr (Maybe Text)-eDescription- = lens _eDescription (\ s a -> s{_eDescription = a})--instance FromJSON Expr where- parseJSON- = withObject "Expr"- (\ o ->- Expr' <$>- (o .:? "location") <*> (o .:? "expression") <*>- (o .:? "title")- <*> (o .:? "description"))--instance ToJSON Expr where- toJSON Expr'{..}- = object- (catMaybes- [("location" .=) <$> _eLocation,- ("expression" .=) <$> _eExpression,- ("title" .=) <$> _eTitle,- ("description" .=) <$> _eDescription])---- | Command describes a step performed as part of the build pipeline.------ /See:/ 'command' smart constructor.-data Command =- Command'- { _cDir :: !(Maybe Text)- , _cArgs :: !(Maybe [Text])- , _cEnv :: !(Maybe [Text])- , _cWaitFor :: !(Maybe [Text])- , _cName :: !(Maybe Text)- , _cId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Command' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cDir'------ * 'cArgs'------ * 'cEnv'------ * 'cWaitFor'------ * 'cName'------ * 'cId'-command- :: Command-command =- Command'- { _cDir = Nothing- , _cArgs = Nothing- , _cEnv = Nothing- , _cWaitFor = Nothing- , _cName = Nothing- , _cId = Nothing- }----- | Working directory (relative to project source root) used when running--- this command.-cDir :: Lens' Command (Maybe Text)-cDir = lens _cDir (\ s a -> s{_cDir = a})---- | Command-line arguments used when executing this command.-cArgs :: Lens' Command [Text]-cArgs- = lens _cArgs (\ s a -> s{_cArgs = a}) . _Default .- _Coerce---- | Environment variables set before running this command.-cEnv :: Lens' Command [Text]-cEnv- = lens _cEnv (\ s a -> s{_cEnv = a}) . _Default .- _Coerce---- | The ID(s) of the command(s) that this command depends on.-cWaitFor :: Lens' Command [Text]-cWaitFor- = lens _cWaitFor (\ s a -> s{_cWaitFor = a}) .- _Default- . _Coerce---- | Required. Name of the command, as presented on the command line, or if--- the command is packaged as a Docker container, as presented to \`docker--- pull\`.-cName :: Lens' Command (Maybe Text)-cName = lens _cName (\ s a -> s{_cName = a})---- | Optional unique identifier for this command, used in wait_for to--- reference this command as a dependency.-cId :: Lens' Command (Maybe Text)-cId = lens _cId (\ s a -> s{_cId = a})--instance FromJSON Command where- parseJSON- = withObject "Command"- (\ o ->- Command' <$>- (o .:? "dir") <*> (o .:? "args" .!= mempty) <*>- (o .:? "env" .!= mempty)- <*> (o .:? "waitFor" .!= mempty)- <*> (o .:? "name")- <*> (o .:? "id"))--instance ToJSON Command where- toJSON Command'{..}- = object- (catMaybes- [("dir" .=) <$> _cDir, ("args" .=) <$> _cArgs,- ("env" .=) <$> _cEnv, ("waitFor" .=) <$> _cWaitFor,- ("name" .=) <$> _cName, ("id" .=) <$> _cId])------- /See:/ 'knowledgeBase' smart constructor.-data KnowledgeBase =- KnowledgeBase'- { _kbURL :: !(Maybe Text)- , _kbName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'KnowledgeBase' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'kbURL'------ * 'kbName'-knowledgeBase- :: KnowledgeBase-knowledgeBase = KnowledgeBase' {_kbURL = Nothing, _kbName = Nothing}----- | A link to the KB in the Windows update catalog ---- https:\/\/www.catalog.update.microsoft.com\/-kbURL :: Lens' KnowledgeBase (Maybe Text)-kbURL = lens _kbURL (\ s a -> s{_kbURL = a})---- | The KB name (generally of the form KB[0-9]+ i.e. KB123456).-kbName :: Lens' KnowledgeBase (Maybe Text)-kbName = lens _kbName (\ s a -> s{_kbName = a})--instance FromJSON KnowledgeBase where- parseJSON- = withObject "KnowledgeBase"- (\ o ->- KnowledgeBase' <$> (o .:? "url") <*> (o .:? "name"))--instance ToJSON KnowledgeBase where- toJSON KnowledgeBase'{..}- = object- (catMaybes- [("url" .=) <$> _kbURL, ("name" .=) <$> _kbName])---- | Request message for \`GetIamPolicy\` method.------ /See:/ 'getIAMPolicyRequest' smart constructor.-data GetIAMPolicyRequest =- GetIAMPolicyRequest'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GetIAMPolicyRequest' with the minimum fields required to make a request.----getIAMPolicyRequest- :: GetIAMPolicyRequest-getIAMPolicyRequest = GetIAMPolicyRequest'---instance FromJSON GetIAMPolicyRequest where- parseJSON- = withObject "GetIAMPolicyRequest"- (\ o -> pure GetIAMPolicyRequest')--instance ToJSON GetIAMPolicyRequest where- toJSON = const emptyObject---- | A note that indicates a type of analysis a provider would perform. This--- note exists in a provider\'s project. A \`Discovery\` occurrence is--- created in a consumer\'s project at the start of analysis.------ /See:/ 'discovery' smart constructor.-newtype Discovery =- Discovery'- { _dAnalysisKind :: Maybe DiscoveryAnalysisKind- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Discovery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dAnalysisKind'-discovery- :: Discovery-discovery = Discovery' {_dAnalysisKind = Nothing}----- | Required. Immutable. The kind of analysis that is handled by this--- discovery.-dAnalysisKind :: Lens' Discovery (Maybe DiscoveryAnalysisKind)-dAnalysisKind- = lens _dAnalysisKind- (\ s a -> s{_dAnalysisKind = a})--instance FromJSON Discovery where- parseJSON- = withObject "Discovery"- (\ o -> Discovery' <$> (o .:? "analysisKind"))--instance ToJSON Discovery where- toJSON Discovery'{..}- = object- (catMaybes [("analysisKind" .=) <$> _dAnalysisKind])---- | Container message for hash values.------ /See:/ 'hash' smart constructor.-data Hash =- Hash'- { _hValue :: !(Maybe Bytes)- , _hType :: !(Maybe HashType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Hash' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hValue'------ * 'hType'-hash- :: Hash-hash = Hash' {_hValue = Nothing, _hType = Nothing}----- | Required. The hash value.-hValue :: Lens' Hash (Maybe ByteString)-hValue- = lens _hValue (\ s a -> s{_hValue = a}) .- mapping _Bytes---- | Required. The type of hash that was performed.-hType :: Lens' Hash (Maybe HashType)-hType = lens _hType (\ s a -> s{_hType = a})--instance FromJSON Hash where- parseJSON- = withObject "Hash"- (\ o -> Hash' <$> (o .:? "value") <*> (o .:? "type"))--instance ToJSON Hash where- toJSON Hash'{..}- = object- (catMaybes- [("value" .=) <$> _hValue, ("type" .=) <$> _hType])---- | Basis describes the base image portion (Note) of the DockerImage--- relationship. Linked occurrences are derived from this or an equivalent--- image via: FROM Or an equivalent reference, e.g. a tag of the--- resource_url.------ /See:/ 'basis' smart constructor.-data Basis =- Basis'- { _bFingerprint :: !(Maybe Fingerprint)- , _bResourceURL :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Basis' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bFingerprint'------ * 'bResourceURL'-basis- :: Basis-basis = Basis' {_bFingerprint = Nothing, _bResourceURL = Nothing}----- | Required. Immutable. The fingerprint of the base image.-bFingerprint :: Lens' Basis (Maybe Fingerprint)-bFingerprint- = lens _bFingerprint (\ s a -> s{_bFingerprint = a})---- | Required. Immutable. The resource_url for the resource representing the--- basis of associated occurrence images.-bResourceURL :: Lens' Basis (Maybe Text)-bResourceURL- = lens _bResourceURL (\ s a -> s{_bResourceURL = a})--instance FromJSON Basis where- parseJSON- = withObject "Basis"- (\ o ->- Basis' <$>- (o .:? "fingerprint") <*> (o .:? "resourceUrl"))--instance ToJSON Basis where- toJSON Basis'{..}- = object- (catMaybes- [("fingerprint" .=) <$> _bFingerprint,- ("resourceUrl" .=) <$> _bResourceURL])---- | Request to create notes in batch.------ /See:/ 'batchCreateNotesRequest' smart constructor.-newtype BatchCreateNotesRequest =- BatchCreateNotesRequest'- { _bcnrNotes :: Maybe BatchCreateNotesRequestNotes- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchCreateNotesRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bcnrNotes'-batchCreateNotesRequest- :: BatchCreateNotesRequest-batchCreateNotesRequest = BatchCreateNotesRequest' {_bcnrNotes = Nothing}----- | The notes to create. Max allowed length is 1000.-bcnrNotes :: Lens' BatchCreateNotesRequest (Maybe BatchCreateNotesRequestNotes)-bcnrNotes- = lens _bcnrNotes (\ s a -> s{_bcnrNotes = a})--instance FromJSON BatchCreateNotesRequest where- parseJSON- = withObject "BatchCreateNotesRequest"- (\ o -> BatchCreateNotesRequest' <$> (o .:? "notes"))--instance ToJSON BatchCreateNotesRequest where- toJSON BatchCreateNotesRequest'{..}- = object (catMaybes [("notes" .=) <$> _bcnrNotes])---- | A SourceContext is a reference to a tree of files. A SourceContext--- together with a path point to a unique revision of a single file or--- directory.------ /See:/ 'sourceContext' smart constructor.-data SourceContext =- SourceContext'- { _scCloudRepo :: !(Maybe CloudRepoSourceContext)- , _scGerrit :: !(Maybe GerritSourceContext)- , _scGit :: !(Maybe GitSourceContext)- , _scLabels :: !(Maybe SourceContextLabels)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SourceContext' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'scCloudRepo'------ * 'scGerrit'------ * 'scGit'------ * 'scLabels'-sourceContext- :: SourceContext-sourceContext =- SourceContext'- { _scCloudRepo = Nothing- , _scGerrit = Nothing- , _scGit = Nothing- , _scLabels = Nothing- }----- | A SourceContext referring to a revision in a Google Cloud Source Repo.-scCloudRepo :: Lens' SourceContext (Maybe CloudRepoSourceContext)-scCloudRepo- = lens _scCloudRepo (\ s a -> s{_scCloudRepo = a})---- | A SourceContext referring to a Gerrit project.-scGerrit :: Lens' SourceContext (Maybe GerritSourceContext)-scGerrit = lens _scGerrit (\ s a -> s{_scGerrit = a})---- | A SourceContext referring to any third party Git repo (e.g., GitHub).-scGit :: Lens' SourceContext (Maybe GitSourceContext)-scGit = lens _scGit (\ s a -> s{_scGit = a})---- | Labels with user defined metadata.-scLabels :: Lens' SourceContext (Maybe SourceContextLabels)-scLabels = lens _scLabels (\ s a -> s{_scLabels = a})--instance FromJSON SourceContext where- parseJSON- = withObject "SourceContext"- (\ o ->- SourceContext' <$>- (o .:? "cloudRepo") <*> (o .:? "gerrit") <*>- (o .:? "git")- <*> (o .:? "labels"))--instance ToJSON SourceContext where- toJSON SourceContext'{..}- = object- (catMaybes- [("cloudRepo" .=) <$> _scCloudRepo,- ("gerrit" .=) <$> _scGerrit, ("git" .=) <$> _scGit,- ("labels" .=) <$> _scLabels])---- | This represents a particular channel of distribution for a given--- package. E.g., Debian\'s jessie-backports dpkg mirror.------ /See:/ 'distribution' smart constructor.-data Distribution =- Distribution'- { _dURL :: !(Maybe Text)- , _dMaintainer :: !(Maybe Text)- , _dArchitecture :: !(Maybe DistributionArchitecture)- , _dCpeURI :: !(Maybe Text)- , _dDescription :: !(Maybe Text)- , _dLatestVersion :: !(Maybe Version)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Distribution' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dURL'------ * 'dMaintainer'------ * 'dArchitecture'------ * 'dCpeURI'------ * 'dDescription'------ * 'dLatestVersion'-distribution- :: Distribution-distribution =- Distribution'- { _dURL = Nothing- , _dMaintainer = Nothing- , _dArchitecture = Nothing- , _dCpeURI = Nothing- , _dDescription = Nothing- , _dLatestVersion = Nothing- }----- | The distribution channel-specific homepage for this package.-dURL :: Lens' Distribution (Maybe Text)-dURL = lens _dURL (\ s a -> s{_dURL = a})---- | A freeform string denoting the maintainer of this package.-dMaintainer :: Lens' Distribution (Maybe Text)-dMaintainer- = lens _dMaintainer (\ s a -> s{_dMaintainer = a})---- | The CPU architecture for which packages in this distribution channel--- were built.-dArchitecture :: Lens' Distribution (Maybe DistributionArchitecture)-dArchitecture- = lens _dArchitecture- (\ s a -> s{_dArchitecture = a})---- | Required. The cpe_uri in [CPE--- format](https:\/\/cpe.mitre.org\/specification\/) denoting the package--- manager version distributing a package.-dCpeURI :: Lens' Distribution (Maybe Text)-dCpeURI = lens _dCpeURI (\ s a -> s{_dCpeURI = a})---- | The distribution channel-specific description of this package.-dDescription :: Lens' Distribution (Maybe Text)-dDescription- = lens _dDescription (\ s a -> s{_dDescription = a})---- | The latest available version of this package in this distribution--- channel.-dLatestVersion :: Lens' Distribution (Maybe Version)-dLatestVersion- = lens _dLatestVersion- (\ s a -> s{_dLatestVersion = a})--instance FromJSON Distribution where- parseJSON- = withObject "Distribution"- (\ o ->- Distribution' <$>- (o .:? "url") <*> (o .:? "maintainer") <*>- (o .:? "architecture")- <*> (o .:? "cpeUri")- <*> (o .:? "description")- <*> (o .:? "latestVersion"))--instance ToJSON Distribution where- toJSON Distribution'{..}- = object- (catMaybes- [("url" .=) <$> _dURL,- ("maintainer" .=) <$> _dMaintainer,- ("architecture" .=) <$> _dArchitecture,- ("cpeUri" .=) <$> _dCpeURI,- ("description" .=) <$> _dDescription,- ("latestVersion" .=) <$> _dLatestVersion])---- | Request to create occurrences in batch.------ /See:/ 'batchCreateOccurrencesRequest' smart constructor.-newtype BatchCreateOccurrencesRequest =- BatchCreateOccurrencesRequest'- { _bcorOccurrences :: Maybe [Occurrence]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchCreateOccurrencesRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bcorOccurrences'-batchCreateOccurrencesRequest- :: BatchCreateOccurrencesRequest-batchCreateOccurrencesRequest =- BatchCreateOccurrencesRequest' {_bcorOccurrences = Nothing}----- | The occurrences to create. Max allowed length is 1000.-bcorOccurrences :: Lens' BatchCreateOccurrencesRequest [Occurrence]-bcorOccurrences- = lens _bcorOccurrences- (\ s a -> s{_bcorOccurrences = a})- . _Default- . _Coerce--instance FromJSON BatchCreateOccurrencesRequest where- parseJSON- = withObject "BatchCreateOccurrencesRequest"- (\ o ->- BatchCreateOccurrencesRequest' <$>- (o .:? "occurrences" .!= mempty))--instance ToJSON BatchCreateOccurrencesRequest where- toJSON BatchCreateOccurrencesRequest'{..}- = object- (catMaybes [("occurrences" .=) <$> _bcorOccurrences])---- | Response for listing occurrences.------ /See:/ 'listOccurrencesResponse' smart constructor.-data ListOccurrencesResponse =- ListOccurrencesResponse'- { _lorOccurrences :: !(Maybe [Occurrence])- , _lorNextPageToken :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListOccurrencesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lorOccurrences'------ * 'lorNextPageToken'-listOccurrencesResponse- :: ListOccurrencesResponse-listOccurrencesResponse =- ListOccurrencesResponse'- {_lorOccurrences = Nothing, _lorNextPageToken = Nothing}----- | The occurrences requested.-lorOccurrences :: Lens' ListOccurrencesResponse [Occurrence]-lorOccurrences- = lens _lorOccurrences- (\ s a -> s{_lorOccurrences = a})- . _Default- . _Coerce---- | The next pagination token in the list response. It should be used as--- \`page_token\` for the following request. An empty value means no more--- results.-lorNextPageToken :: Lens' ListOccurrencesResponse (Maybe Text)-lorNextPageToken- = lens _lorNextPageToken- (\ s a -> s{_lorNextPageToken = a})--instance FromJSON ListOccurrencesResponse where- parseJSON- = withObject "ListOccurrencesResponse"- (\ o ->- ListOccurrencesResponse' <$>- (o .:? "occurrences" .!= mempty) <*>- (o .:? "nextPageToken"))--instance ToJSON ListOccurrencesResponse where- toJSON ListOccurrencesResponse'{..}- = object- (catMaybes- [("occurrences" .=) <$> _lorOccurrences,- ("nextPageToken" .=) <$> _lorNextPageToken])---- | An occurrence of a particular package installation found within a--- system\'s filesystem. E.g., glibc was found in--- \`\/var\/lib\/dpkg\/status\`.------ /See:/ 'location' smart constructor.-data Location =- Location'- { _lPath :: !(Maybe Text)- , _lVersion :: !(Maybe Version)- , _lCpeURI :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Location' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lPath'------ * 'lVersion'------ * 'lCpeURI'-location- :: Location-location = Location' {_lPath = Nothing, _lVersion = Nothing, _lCpeURI = Nothing}----- | The path from which we gathered that this package\/version is installed.-lPath :: Lens' Location (Maybe Text)-lPath = lens _lPath (\ s a -> s{_lPath = a})---- | The version installed at this location.-lVersion :: Lens' Location (Maybe Version)-lVersion = lens _lVersion (\ s a -> s{_lVersion = a})---- | Required. The CPE URI in [CPE--- format](https:\/\/cpe.mitre.org\/specification\/) denoting the package--- manager version distributing a package.-lCpeURI :: Lens' Location (Maybe Text)-lCpeURI = lens _lCpeURI (\ s a -> s{_lCpeURI = a})--instance FromJSON Location where- parseJSON- = withObject "Location"- (\ o ->- Location' <$>- (o .:? "path") <*> (o .:? "version") <*>- (o .:? "cpeUri"))--instance ToJSON Location where- toJSON Location'{..}- = object- (catMaybes- [("path" .=) <$> _lPath,- ("version" .=) <$> _lVersion,- ("cpeUri" .=) <$> _lCpeURI])---- | A generic empty message that you can re-use to avoid defining duplicated--- empty messages in your APIs. A typical example is to use it as the--- request or the response type of an API method. For instance: service Foo--- { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The--- JSON representation for \`Empty\` is empty JSON object \`{}\`.------ /See:/ 'empty' smart constructor.-data Empty =- Empty'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Empty' with the minimum fields required to make a request.----empty- :: Empty-empty = Empty'---instance FromJSON Empty where- parseJSON = withObject "Empty" (\ o -> pure Empty')--instance ToJSON Empty where- toJSON = const emptyObject---- | A SourceContext referring to a Gerrit project.------ /See:/ 'gerritSourceContext' smart constructor.-data GerritSourceContext =- GerritSourceContext'- { _gscGerritProject :: !(Maybe Text)- , _gscRevisionId :: !(Maybe Text)- , _gscHostURI :: !(Maybe Text)- , _gscAliasContext :: !(Maybe AliasContext)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GerritSourceContext' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gscGerritProject'------ * 'gscRevisionId'------ * 'gscHostURI'------ * 'gscAliasContext'-gerritSourceContext- :: GerritSourceContext-gerritSourceContext =- GerritSourceContext'- { _gscGerritProject = Nothing- , _gscRevisionId = Nothing- , _gscHostURI = Nothing- , _gscAliasContext = Nothing- }----- | The full project name within the host. Projects may be nested, so--- \"project\/subproject\" is a valid project name. The \"repo name\" is--- the hostURI\/project.-gscGerritProject :: Lens' GerritSourceContext (Maybe Text)-gscGerritProject- = lens _gscGerritProject- (\ s a -> s{_gscGerritProject = a})---- | A revision (commit) ID.-gscRevisionId :: Lens' GerritSourceContext (Maybe Text)-gscRevisionId- = lens _gscRevisionId- (\ s a -> s{_gscRevisionId = a})---- | The URI of a running Gerrit instance.-gscHostURI :: Lens' GerritSourceContext (Maybe Text)-gscHostURI- = lens _gscHostURI (\ s a -> s{_gscHostURI = a})---- | An alias, which may be a branch or tag.-gscAliasContext :: Lens' GerritSourceContext (Maybe AliasContext)-gscAliasContext- = lens _gscAliasContext- (\ s a -> s{_gscAliasContext = a})--instance FromJSON GerritSourceContext where- parseJSON- = withObject "GerritSourceContext"- (\ o ->- GerritSourceContext' <$>- (o .:? "gerritProject") <*> (o .:? "revisionId") <*>- (o .:? "hostUri")- <*> (o .:? "aliasContext"))--instance ToJSON GerritSourceContext where- toJSON GerritSourceContext'{..}- = object- (catMaybes- [("gerritProject" .=) <$> _gscGerritProject,- ("revisionId" .=) <$> _gscRevisionId,- ("hostUri" .=) <$> _gscHostURI,- ("aliasContext" .=) <$> _gscAliasContext])---- | A unique identifier for a Cloud Repo.------ /See:/ 'repoId' smart constructor.-data RepoId =- RepoId'- { _riUid :: !(Maybe Text)- , _riProjectRepoId :: !(Maybe ProjectRepoId)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'RepoId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'riUid'------ * 'riProjectRepoId'-repoId- :: RepoId-repoId = RepoId' {_riUid = Nothing, _riProjectRepoId = Nothing}----- | A server-assigned, globally unique identifier.-riUid :: Lens' RepoId (Maybe Text)-riUid = lens _riUid (\ s a -> s{_riUid = a})---- | A combination of a project ID and a repo name.-riProjectRepoId :: Lens' RepoId (Maybe ProjectRepoId)-riProjectRepoId- = lens _riProjectRepoId- (\ s a -> s{_riProjectRepoId = a})--instance FromJSON RepoId where- parseJSON- = withObject "RepoId"- (\ o ->- RepoId' <$>- (o .:? "uid") <*> (o .:? "projectRepoId"))--instance ToJSON RepoId where- toJSON RepoId'{..}- = object- (catMaybes- [("uid" .=) <$> _riUid,- ("projectRepoId" .=) <$> _riProjectRepoId])---- | Response for listing occurrences for a note.------ /See:/ 'listNoteOccurrencesResponse' smart constructor.-data ListNoteOccurrencesResponse =- ListNoteOccurrencesResponse'- { _lnorOccurrences :: !(Maybe [Occurrence])- , _lnorNextPageToken :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListNoteOccurrencesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lnorOccurrences'------ * 'lnorNextPageToken'-listNoteOccurrencesResponse- :: ListNoteOccurrencesResponse-listNoteOccurrencesResponse =- ListNoteOccurrencesResponse'- {_lnorOccurrences = Nothing, _lnorNextPageToken = Nothing}----- | The occurrences attached to the specified note.-lnorOccurrences :: Lens' ListNoteOccurrencesResponse [Occurrence]-lnorOccurrences- = lens _lnorOccurrences- (\ s a -> s{_lnorOccurrences = a})- . _Default- . _Coerce---- | Token to provide to skip to a particular spot in the list.-lnorNextPageToken :: Lens' ListNoteOccurrencesResponse (Maybe Text)-lnorNextPageToken- = lens _lnorNextPageToken- (\ s a -> s{_lnorNextPageToken = a})--instance FromJSON ListNoteOccurrencesResponse where- parseJSON- = withObject "ListNoteOccurrencesResponse"- (\ o ->- ListNoteOccurrencesResponse' <$>- (o .:? "occurrences" .!= mempty) <*>- (o .:? "nextPageToken"))--instance ToJSON ListNoteOccurrencesResponse where- toJSON ListNoteOccurrencesResponse'{..}- = object- (catMaybes- [("occurrences" .=) <$> _lnorOccurrences,- ("nextPageToken" .=) <$> _lnorNextPageToken])---- | A type of analysis that can be done for a resource.------ /See:/ 'note' smart constructor.-data Note =- Note'- { _nVulnerability :: !(Maybe Vulnerability)- , _nLongDescription :: !(Maybe Text)- , _nAttestationAuthority :: !(Maybe Authority)- , _nDiscovery :: !(Maybe Discovery)- , _nKind :: !(Maybe NoteKind)- , _nRelatedNoteNames :: !(Maybe [Text])- , _nBuild :: !(Maybe Build)- , _nDeployable :: !(Maybe Deployable)- , _nRelatedURL :: !(Maybe [RelatedURL])- , _nUpdateTime :: !(Maybe DateTime')- , _nShortDescription :: !(Maybe Text)- , _nName :: !(Maybe Text)- , _nBaseImage :: !(Maybe Basis)- , _nPackage :: !(Maybe Package)- , _nExpirationTime :: !(Maybe DateTime')- , _nCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Note' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'nVulnerability'------ * 'nLongDescription'------ * 'nAttestationAuthority'------ * 'nDiscovery'------ * 'nKind'------ * 'nRelatedNoteNames'------ * 'nBuild'------ * 'nDeployable'------ * 'nRelatedURL'------ * 'nUpdateTime'------ * 'nShortDescription'------ * 'nName'------ * 'nBaseImage'------ * 'nPackage'------ * 'nExpirationTime'------ * 'nCreateTime'-note- :: Note-note =- Note'- { _nVulnerability = Nothing- , _nLongDescription = Nothing- , _nAttestationAuthority = Nothing- , _nDiscovery = Nothing- , _nKind = Nothing- , _nRelatedNoteNames = Nothing- , _nBuild = Nothing- , _nDeployable = Nothing- , _nRelatedURL = Nothing- , _nUpdateTime = Nothing- , _nShortDescription = Nothing- , _nName = Nothing- , _nBaseImage = Nothing- , _nPackage = Nothing- , _nExpirationTime = Nothing- , _nCreateTime = Nothing- }----- | A note describing a package vulnerability.-nVulnerability :: Lens' Note (Maybe Vulnerability)-nVulnerability- = lens _nVulnerability- (\ s a -> s{_nVulnerability = a})---- | A detailed description of this note.-nLongDescription :: Lens' Note (Maybe Text)-nLongDescription- = lens _nLongDescription- (\ s a -> s{_nLongDescription = a})---- | A note describing an attestation role.-nAttestationAuthority :: Lens' Note (Maybe Authority)-nAttestationAuthority- = lens _nAttestationAuthority- (\ s a -> s{_nAttestationAuthority = a})---- | A note describing the initial analysis of a resource.-nDiscovery :: Lens' Note (Maybe Discovery)-nDiscovery- = lens _nDiscovery (\ s a -> s{_nDiscovery = a})---- | Output only. The type of analysis. This field can be used as a filter in--- list requests.-nKind :: Lens' Note (Maybe NoteKind)-nKind = lens _nKind (\ s a -> s{_nKind = a})---- | Other notes related to this note.-nRelatedNoteNames :: Lens' Note [Text]-nRelatedNoteNames- = lens _nRelatedNoteNames- (\ s a -> s{_nRelatedNoteNames = a})- . _Default- . _Coerce---- | A note describing build provenance for a verifiable build.-nBuild :: Lens' Note (Maybe Build)-nBuild = lens _nBuild (\ s a -> s{_nBuild = a})---- | A note describing something that can be deployed.-nDeployable :: Lens' Note (Maybe Deployable)-nDeployable- = lens _nDeployable (\ s a -> s{_nDeployable = a})---- | URLs associated with this note.-nRelatedURL :: Lens' Note [RelatedURL]-nRelatedURL- = lens _nRelatedURL (\ s a -> s{_nRelatedURL = a}) .- _Default- . _Coerce---- | Output only. The time this note was last updated. This field can be used--- as a filter in list requests.-nUpdateTime :: Lens' Note (Maybe UTCTime)-nUpdateTime- = lens _nUpdateTime (\ s a -> s{_nUpdateTime = a}) .- mapping _DateTime---- | A one sentence description of this note.-nShortDescription :: Lens' Note (Maybe Text)-nShortDescription- = lens _nShortDescription- (\ s a -> s{_nShortDescription = a})---- | Output only. The name of the note in the form of--- \`projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]\`.-nName :: Lens' Note (Maybe Text)-nName = lens _nName (\ s a -> s{_nName = a})---- | A note describing a base image.-nBaseImage :: Lens' Note (Maybe Basis)-nBaseImage- = lens _nBaseImage (\ s a -> s{_nBaseImage = a})---- | A note describing a package hosted by various package managers.-nPackage :: Lens' Note (Maybe Package)-nPackage = lens _nPackage (\ s a -> s{_nPackage = a})---- | Time of expiration for this note. Empty if note does not expire.-nExpirationTime :: Lens' Note (Maybe UTCTime)-nExpirationTime- = lens _nExpirationTime- (\ s a -> s{_nExpirationTime = a})- . mapping _DateTime---- | Output only. The time this note was created. This field can be used as a--- filter in list requests.-nCreateTime :: Lens' Note (Maybe UTCTime)-nCreateTime- = lens _nCreateTime (\ s a -> s{_nCreateTime = a}) .- mapping _DateTime--instance FromJSON Note where- parseJSON- = withObject "Note"- (\ o ->- Note' <$>- (o .:? "vulnerability") <*> (o .:? "longDescription")- <*> (o .:? "attestationAuthority")- <*> (o .:? "discovery")- <*> (o .:? "kind")- <*> (o .:? "relatedNoteNames" .!= mempty)- <*> (o .:? "build")- <*> (o .:? "deployable")- <*> (o .:? "relatedUrl" .!= mempty)- <*> (o .:? "updateTime")- <*> (o .:? "shortDescription")- <*> (o .:? "name")- <*> (o .:? "baseImage")- <*> (o .:? "package")- <*> (o .:? "expirationTime")- <*> (o .:? "createTime"))--instance ToJSON Note where- toJSON Note'{..}- = object- (catMaybes- [("vulnerability" .=) <$> _nVulnerability,- ("longDescription" .=) <$> _nLongDescription,- ("attestationAuthority" .=) <$>- _nAttestationAuthority,- ("discovery" .=) <$> _nDiscovery,- ("kind" .=) <$> _nKind,- ("relatedNoteNames" .=) <$> _nRelatedNoteNames,- ("build" .=) <$> _nBuild,- ("deployable" .=) <$> _nDeployable,- ("relatedUrl" .=) <$> _nRelatedURL,- ("updateTime" .=) <$> _nUpdateTime,- ("shortDescription" .=) <$> _nShortDescription,- ("name" .=) <$> _nName,- ("baseImage" .=) <$> _nBaseImage,- ("package" .=) <$> _nPackage,- ("expirationTime" .=) <$> _nExpirationTime,- ("createTime" .=) <$> _nCreateTime])---- | Common Vulnerability Scoring System version 3. For details, see--- https:\/\/www.first.org\/cvss\/specification-document------ /See:/ 'cVSSv3' smart constructor.-data CVSSv3 =- CVSSv3'- { _cvssAttackComplexity :: !(Maybe CVSSv3AttackComplexity)- , _cvssIntegrityImpact :: !(Maybe CVSSv3IntegrityImpact)- , _cvssPrivilegesRequired :: !(Maybe CVSSv3PrivilegesRequired)- , _cvssUserInteraction :: !(Maybe CVSSv3UserInteraction)- , _cvssAttackVector :: !(Maybe CVSSv3AttackVector)- , _cvssConfidentialityImpact :: !(Maybe CVSSv3ConfidentialityImpact)- , _cvssScope :: !(Maybe CVSSv3Scope)- , _cvssImpactScore :: !(Maybe (Textual Double))- , _cvssBaseScore :: !(Maybe (Textual Double))- , _cvssAvailabilityImpact :: !(Maybe CVSSv3AvailabilityImpact)- , _cvssExploitabilityScore :: !(Maybe (Textual Double))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CVSSv3' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cvssAttackComplexity'------ * 'cvssIntegrityImpact'------ * 'cvssPrivilegesRequired'------ * 'cvssUserInteraction'------ * 'cvssAttackVector'------ * 'cvssConfidentialityImpact'------ * 'cvssScope'------ * 'cvssImpactScore'------ * 'cvssBaseScore'------ * 'cvssAvailabilityImpact'------ * 'cvssExploitabilityScore'-cVSSv3- :: CVSSv3-cVSSv3 =- CVSSv3'- { _cvssAttackComplexity = Nothing- , _cvssIntegrityImpact = Nothing- , _cvssPrivilegesRequired = Nothing- , _cvssUserInteraction = Nothing- , _cvssAttackVector = Nothing- , _cvssConfidentialityImpact = Nothing- , _cvssScope = Nothing- , _cvssImpactScore = Nothing- , _cvssBaseScore = Nothing- , _cvssAvailabilityImpact = Nothing- , _cvssExploitabilityScore = Nothing- }---cvssAttackComplexity :: Lens' CVSSv3 (Maybe CVSSv3AttackComplexity)-cvssAttackComplexity- = lens _cvssAttackComplexity- (\ s a -> s{_cvssAttackComplexity = a})--cvssIntegrityImpact :: Lens' CVSSv3 (Maybe CVSSv3IntegrityImpact)-cvssIntegrityImpact- = lens _cvssIntegrityImpact- (\ s a -> s{_cvssIntegrityImpact = a})--cvssPrivilegesRequired :: Lens' CVSSv3 (Maybe CVSSv3PrivilegesRequired)-cvssPrivilegesRequired- = lens _cvssPrivilegesRequired- (\ s a -> s{_cvssPrivilegesRequired = a})--cvssUserInteraction :: Lens' CVSSv3 (Maybe CVSSv3UserInteraction)-cvssUserInteraction- = lens _cvssUserInteraction- (\ s a -> s{_cvssUserInteraction = a})---- | Base Metrics Represents the intrinsic characteristics of a vulnerability--- that are constant over time and across user environments.-cvssAttackVector :: Lens' CVSSv3 (Maybe CVSSv3AttackVector)-cvssAttackVector- = lens _cvssAttackVector- (\ s a -> s{_cvssAttackVector = a})--cvssConfidentialityImpact :: Lens' CVSSv3 (Maybe CVSSv3ConfidentialityImpact)-cvssConfidentialityImpact- = lens _cvssConfidentialityImpact- (\ s a -> s{_cvssConfidentialityImpact = a})--cvssScope :: Lens' CVSSv3 (Maybe CVSSv3Scope)-cvssScope- = lens _cvssScope (\ s a -> s{_cvssScope = a})--cvssImpactScore :: Lens' CVSSv3 (Maybe Double)-cvssImpactScore- = lens _cvssImpactScore- (\ s a -> s{_cvssImpactScore = a})- . mapping _Coerce---- | The base score is a function of the base metric scores.-cvssBaseScore :: Lens' CVSSv3 (Maybe Double)-cvssBaseScore- = lens _cvssBaseScore- (\ s a -> s{_cvssBaseScore = a})- . mapping _Coerce--cvssAvailabilityImpact :: Lens' CVSSv3 (Maybe CVSSv3AvailabilityImpact)-cvssAvailabilityImpact- = lens _cvssAvailabilityImpact- (\ s a -> s{_cvssAvailabilityImpact = a})--cvssExploitabilityScore :: Lens' CVSSv3 (Maybe Double)-cvssExploitabilityScore- = lens _cvssExploitabilityScore- (\ s a -> s{_cvssExploitabilityScore = a})- . mapping _Coerce--instance FromJSON CVSSv3 where- parseJSON- = withObject "CVSSv3"- (\ o ->- CVSSv3' <$>- (o .:? "attackComplexity") <*>- (o .:? "integrityImpact")- <*> (o .:? "privilegesRequired")- <*> (o .:? "userInteraction")- <*> (o .:? "attackVector")- <*> (o .:? "confidentialityImpact")- <*> (o .:? "scope")- <*> (o .:? "impactScore")- <*> (o .:? "baseScore")- <*> (o .:? "availabilityImpact")- <*> (o .:? "exploitabilityScore"))--instance ToJSON CVSSv3 where- toJSON CVSSv3'{..}- = object- (catMaybes- [("attackComplexity" .=) <$> _cvssAttackComplexity,- ("integrityImpact" .=) <$> _cvssIntegrityImpact,- ("privilegesRequired" .=) <$>- _cvssPrivilegesRequired,- ("userInteraction" .=) <$> _cvssUserInteraction,- ("attackVector" .=) <$> _cvssAttackVector,- ("confidentialityImpact" .=) <$>- _cvssConfidentialityImpact,- ("scope" .=) <$> _cvssScope,- ("impactScore" .=) <$> _cvssImpactScore,- ("baseScore" .=) <$> _cvssBaseScore,- ("availabilityImpact" .=) <$>- _cvssAvailabilityImpact,- ("exploitabilityScore" .=) <$>- _cvssExploitabilityScore])---- | Response for creating notes in batch.------ /See:/ 'batchCreateNotesResponse' smart constructor.-newtype BatchCreateNotesResponse =- BatchCreateNotesResponse'- { _bNotes :: Maybe [Note]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchCreateNotesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bNotes'-batchCreateNotesResponse- :: BatchCreateNotesResponse-batchCreateNotesResponse = BatchCreateNotesResponse' {_bNotes = Nothing}----- | The notes that were created.-bNotes :: Lens' BatchCreateNotesResponse [Note]-bNotes- = lens _bNotes (\ s a -> s{_bNotes = a}) . _Default .- _Coerce--instance FromJSON BatchCreateNotesResponse where- parseJSON- = withObject "BatchCreateNotesResponse"- (\ o ->- BatchCreateNotesResponse' <$>- (o .:? "notes" .!= mempty))--instance ToJSON BatchCreateNotesResponse where- toJSON BatchCreateNotesResponse'{..}- = object (catMaybes [("notes" .=) <$> _bNotes])---- | Selects a repo using a Google Cloud Platform project ID (e.g.,--- winged-cargo-31) and a repo name within that project.------ /See:/ 'projectRepoId' smart constructor.-data ProjectRepoId =- ProjectRepoId'- { _priRepoName :: !(Maybe Text)- , _priProjectId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectRepoId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'priRepoName'------ * 'priProjectId'-projectRepoId- :: ProjectRepoId-projectRepoId = ProjectRepoId' {_priRepoName = Nothing, _priProjectId = Nothing}----- | The name of the repo. Leave empty for the default repo.-priRepoName :: Lens' ProjectRepoId (Maybe Text)-priRepoName- = lens _priRepoName (\ s a -> s{_priRepoName = a})---- | The ID of the project.-priProjectId :: Lens' ProjectRepoId (Maybe Text)-priProjectId- = lens _priProjectId (\ s a -> s{_priProjectId = a})--instance FromJSON ProjectRepoId where- parseJSON- = withObject "ProjectRepoId"- (\ o ->- ProjectRepoId' <$>- (o .:? "repoName") <*> (o .:? "projectId"))--instance ToJSON ProjectRepoId where- toJSON ProjectRepoId'{..}- = object- (catMaybes- [("repoName" .=) <$> _priRepoName,- ("projectId" .=) <$> _priProjectId])---- | A set of properties that uniquely identify a given Docker image.------ /See:/ 'fingerprint' smart constructor.-data Fingerprint =- Fingerprint'- { _fV2Name :: !(Maybe Text)- , _fV2Blob :: !(Maybe [Text])- , _fV1Name :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Fingerprint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'fV2Name'------ * 'fV2Blob'------ * 'fV1Name'-fingerprint- :: Fingerprint-fingerprint =- Fingerprint' {_fV2Name = Nothing, _fV2Blob = Nothing, _fV1Name = Nothing}----- | Output only. The name of the image\'s v2 blobs computed via: [bottom] :=--- v2_blobbottom := sha256(v2_blob[N] + \" \" + v2_name[N+1]) Only the name--- of the final blob is kept.-fV2Name :: Lens' Fingerprint (Maybe Text)-fV2Name = lens _fV2Name (\ s a -> s{_fV2Name = a})---- | Required. The ordered list of v2 blobs that represent a given image.-fV2Blob :: Lens' Fingerprint [Text]-fV2Blob- = lens _fV2Blob (\ s a -> s{_fV2Blob = a}) . _Default- . _Coerce---- | Required. The layer ID of the final layer in the Docker image\'s v1--- representation.-fV1Name :: Lens' Fingerprint (Maybe Text)-fV1Name = lens _fV1Name (\ s a -> s{_fV1Name = a})--instance FromJSON Fingerprint where- parseJSON- = withObject "Fingerprint"- (\ o ->- Fingerprint' <$>- (o .:? "v2Name") <*> (o .:? "v2Blob" .!= mempty) <*>- (o .:? "v1Name"))--instance ToJSON Fingerprint where- toJSON Fingerprint'{..}- = object- (catMaybes- [("v2Name" .=) <$> _fV2Name,- ("v2Blob" .=) <$> _fV2Blob,- ("v1Name" .=) <$> _fV1Name])---- | This submessage provides human-readable hints about the purpose of the--- authority. Because the name of a note acts as its resource reference, it--- is important to disambiguate the canonical name of the Note (which might--- be a UUID for security purposes) from \"readable\" names more suitable--- for debug output. Note that these hints should not be used to look up--- authorities in security sensitive contexts, such as when looking up--- attestations to verify.------ /See:/ 'hint' smart constructor.-newtype Hint =- Hint'- { _hHumanReadableName :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Hint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hHumanReadableName'-hint- :: Hint-hint = Hint' {_hHumanReadableName = Nothing}----- | Required. The human readable name of this attestation authority, for--- example \"qa\".-hHumanReadableName :: Lens' Hint (Maybe Text)-hHumanReadableName- = lens _hHumanReadableName- (\ s a -> s{_hHumanReadableName = a})--instance FromJSON Hint where- parseJSON- = withObject "Hint"- (\ o -> Hint' <$> (o .:? "humanReadableName"))--instance ToJSON Hint where- toJSON Hint'{..}- = object- (catMaybes- [("humanReadableName" .=) <$> _hHumanReadableName])---- | This message wraps a location affected by a vulnerability and its--- associated fix (if one is available).------ /See:/ 'packageIssue' smart constructor.-data PackageIssue =- PackageIssue'- { _piAffectedLocation :: !(Maybe VulnerabilityLocation)- , _piFixedLocation :: !(Maybe VulnerabilityLocation)- , _piSeverityName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PackageIssue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'piAffectedLocation'------ * 'piFixedLocation'------ * 'piSeverityName'-packageIssue- :: PackageIssue-packageIssue =- PackageIssue'- { _piAffectedLocation = Nothing- , _piFixedLocation = Nothing- , _piSeverityName = Nothing- }----- | Required. The location of the vulnerability.-piAffectedLocation :: Lens' PackageIssue (Maybe VulnerabilityLocation)-piAffectedLocation- = lens _piAffectedLocation- (\ s a -> s{_piAffectedLocation = a})---- | The location of the available fix for vulnerability.-piFixedLocation :: Lens' PackageIssue (Maybe VulnerabilityLocation)-piFixedLocation- = lens _piFixedLocation- (\ s a -> s{_piFixedLocation = a})---- | Deprecated, use Details.effective_severity instead The severity (e.g.,--- distro assigned severity) for this vulnerability.-piSeverityName :: Lens' PackageIssue (Maybe Text)-piSeverityName- = lens _piSeverityName- (\ s a -> s{_piSeverityName = a})--instance FromJSON PackageIssue where- parseJSON- = withObject "PackageIssue"- (\ o ->- PackageIssue' <$>- (o .:? "affectedLocation") <*>- (o .:? "fixedLocation")- <*> (o .:? "severityName"))--instance ToJSON PackageIssue where- toJSON PackageIssue'{..}- = object- (catMaybes- [("affectedLocation" .=) <$> _piAffectedLocation,- ("fixedLocation" .=) <$> _piFixedLocation,- ("severityName" .=) <$> _piSeverityName])------- /See:/ 'statusDetailsItem' smart constructor.-newtype StatusDetailsItem =- StatusDetailsItem'- { _sdiAddtional :: HashMap Text JSONValue- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StatusDetailsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdiAddtional'-statusDetailsItem- :: HashMap Text JSONValue -- ^ 'sdiAddtional'- -> StatusDetailsItem-statusDetailsItem pSdiAddtional_ =- StatusDetailsItem' {_sdiAddtional = _Coerce # pSdiAddtional_}----- | Properties of the object. Contains field \'type with type URL.-sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)-sdiAddtional- = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})- . _Coerce--instance FromJSON StatusDetailsItem where- parseJSON- = withObject "StatusDetailsItem"- (\ o -> StatusDetailsItem' <$> (parseJSONObject o))--instance ToJSON StatusDetailsItem where- toJSON = toJSON . _sdiAddtional---- | Note holding the version of the provider\'s builder and the signature of--- the provenance message in the build details occurrence.------ /See:/ 'build' smart constructor.-data Build =- Build'- { _bSignature :: !(Maybe BuildSignature)- , _bBuilderVersion :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Build' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bSignature'------ * 'bBuilderVersion'-build- :: Build-build = Build' {_bSignature = Nothing, _bBuilderVersion = Nothing}----- | Signature of the build in occurrences pointing to this build note--- containing build details.-bSignature :: Lens' Build (Maybe BuildSignature)-bSignature- = lens _bSignature (\ s a -> s{_bSignature = a})---- | Required. Immutable. Version of the builder which produced this build.-bBuilderVersion :: Lens' Build (Maybe Text)-bBuilderVersion- = lens _bBuilderVersion- (\ s a -> s{_bBuilderVersion = a})--instance FromJSON Build where- parseJSON- = withObject "Build"- (\ o ->- Build' <$>- (o .:? "signature") <*> (o .:? "builderVersion"))--instance ToJSON Build where- toJSON Build'{..}- = object- (catMaybes- [("signature" .=) <$> _bSignature,- ("builderVersion" .=) <$> _bBuilderVersion])---- | Occurrence that represents a single \"attestation\". The authenticity of--- an attestation can be verified using the attached signature. If the--- verifier trusts the public key of the signer, then verifying the--- signature is sufficient to establish trust. In this circumstance, the--- authority to which this attestation is attached is primarily useful for--- look-up (how to find this attestation if you already know the authority--- and artifact to be verified) and intent (which authority was this--- attestation intended to sign for).------ /See:/ 'attestation' smart constructor.-data Attestation =- Attestation'- { _aGenericSignedAttestation :: !(Maybe GenericSignedAttestation)- , _aPgpSignedAttestation :: !(Maybe PgpSignedAttestation)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Attestation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aGenericSignedAttestation'------ * 'aPgpSignedAttestation'-attestation- :: Attestation-attestation =- Attestation'- {_aGenericSignedAttestation = Nothing, _aPgpSignedAttestation = Nothing}---aGenericSignedAttestation :: Lens' Attestation (Maybe GenericSignedAttestation)-aGenericSignedAttestation- = lens _aGenericSignedAttestation- (\ s a -> s{_aGenericSignedAttestation = a})---- | A PGP signed attestation.-aPgpSignedAttestation :: Lens' Attestation (Maybe PgpSignedAttestation)-aPgpSignedAttestation- = lens _aPgpSignedAttestation- (\ s a -> s{_aPgpSignedAttestation = a})--instance FromJSON Attestation where- parseJSON- = withObject "Attestation"- (\ o ->- Attestation' <$>- (o .:? "genericSignedAttestation") <*>- (o .:? "pgpSignedAttestation"))--instance ToJSON Attestation where- toJSON Attestation'{..}- = object- (catMaybes- [("genericSignedAttestation" .=) <$>- _aGenericSignedAttestation,- ("pgpSignedAttestation" .=) <$>- _aPgpSignedAttestation])---- | Artifact describes a build product.------ /See:/ 'artifact' smart constructor.-data Artifact =- Artifact'- { _aChecksum :: !(Maybe Text)- , _aNames :: !(Maybe [Text])- , _aId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Artifact' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aChecksum'------ * 'aNames'------ * 'aId'-artifact- :: Artifact-artifact = Artifact' {_aChecksum = Nothing, _aNames = Nothing, _aId = Nothing}----- | Hash or checksum value of a binary, or Docker Registry 2.0 digest of a--- container.-aChecksum :: Lens' Artifact (Maybe Text)-aChecksum- = lens _aChecksum (\ s a -> s{_aChecksum = a})---- | Related artifact names. This may be the path to a binary or jar file, or--- in the case of a container build, the name used to push the container--- image to Google Container Registry, as presented to \`docker push\`.--- Note that a single Artifact ID can have multiple names, for example if--- two tags are applied to one image.-aNames :: Lens' Artifact [Text]-aNames- = lens _aNames (\ s a -> s{_aNames = a}) . _Default .- _Coerce---- | Artifact ID, if any; for container images, this will be a URL by digest--- like \`gcr.io\/projectID\/imagename\'sha256:123456\`.-aId :: Lens' Artifact (Maybe Text)-aId = lens _aId (\ s a -> s{_aId = a})--instance FromJSON Artifact where- parseJSON- = withObject "Artifact"- (\ o ->- Artifact' <$>- (o .:? "checksum") <*> (o .:? "names" .!= mempty) <*>- (o .:? "id"))--instance ToJSON Artifact where- toJSON Artifact'{..}- = object- (catMaybes- [("checksum" .=) <$> _aChecksum,- ("names" .=) <$> _aNames, ("id" .=) <$> _aId])---- | Request message for \`SetIamPolicy\` method.------ /See:/ 'setIAMPolicyRequest' smart constructor.-data SetIAMPolicyRequest =- SetIAMPolicyRequest'- { _siprUpdateMask :: !(Maybe GFieldMask)- , _siprPolicy :: !(Maybe Policy)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SetIAMPolicyRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'siprUpdateMask'------ * 'siprPolicy'-setIAMPolicyRequest- :: SetIAMPolicyRequest-setIAMPolicyRequest =- SetIAMPolicyRequest' {_siprUpdateMask = Nothing, _siprPolicy = Nothing}----- | OPTIONAL: A FieldMask specifying which fields of the policy to modify.--- Only the fields in the mask will be modified. If no mask is provided,--- the following default mask is used: paths: \"bindings, etag\" This field--- is only used by Cloud IAM.-siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask)-siprUpdateMask- = lens _siprUpdateMask- (\ s a -> s{_siprUpdateMask = a})---- | REQUIRED: The complete policy to be applied to the \`resource\`. The--- size of the policy is limited to a few 10s of KB. An empty policy is a--- valid policy but certain Cloud Platform services (such as Projects)--- might reject them.-siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)-siprPolicy- = lens _siprPolicy (\ s a -> s{_siprPolicy = a})--instance FromJSON SetIAMPolicyRequest where- parseJSON- = withObject "SetIAMPolicyRequest"- (\ o ->- SetIAMPolicyRequest' <$>- (o .:? "updateMask") <*> (o .:? "policy"))--instance ToJSON SetIAMPolicyRequest where- toJSON SetIAMPolicyRequest'{..}- = object- (catMaybes- [("updateMask" .=) <$> _siprUpdateMask,- ("policy" .=) <$> _siprPolicy])---- | Special options applied to this build. This is a catch-all field where--- build providers can enter any desired additional details.------ /See:/ 'buildProvenanceBuildOptions' smart constructor.-newtype BuildProvenanceBuildOptions =- BuildProvenanceBuildOptions'- { _bpboAddtional :: HashMap Text Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BuildProvenanceBuildOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bpboAddtional'-buildProvenanceBuildOptions- :: HashMap Text Text -- ^ 'bpboAddtional'- -> BuildProvenanceBuildOptions-buildProvenanceBuildOptions pBpboAddtional_ =- BuildProvenanceBuildOptions' {_bpboAddtional = _Coerce # pBpboAddtional_}---bpboAddtional :: Lens' BuildProvenanceBuildOptions (HashMap Text Text)-bpboAddtional- = lens _bpboAddtional- (\ s a -> s{_bpboAddtional = a})- . _Coerce--instance FromJSON BuildProvenanceBuildOptions where- parseJSON- = withObject "BuildProvenanceBuildOptions"- (\ o ->- BuildProvenanceBuildOptions' <$> (parseJSONObject o))--instance ToJSON BuildProvenanceBuildOptions where- toJSON = toJSON . _bpboAddtional---- | An artifact that can be deployed in some runtime.------ /See:/ 'deployable' smart constructor.-newtype Deployable =- Deployable'- { _dResourceURI :: Maybe [Text]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Deployable' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dResourceURI'-deployable- :: Deployable-deployable = Deployable' {_dResourceURI = Nothing}----- | Required. Resource URI for the artifact being deployed.-dResourceURI :: Lens' Deployable [Text]-dResourceURI- = lens _dResourceURI (\ s a -> s{_dResourceURI = a})- . _Default- . _Coerce--instance FromJSON Deployable where- parseJSON- = withObject "Deployable"- (\ o ->- Deployable' <$> (o .:? "resourceUri" .!= mempty))--instance ToJSON Deployable where- toJSON Deployable'{..}- = object- (catMaybes [("resourceUri" .=) <$> _dResourceURI])---- | Details of a discovery occurrence.------ /See:/ 'grafeasV1beta1DiscoveryDetails' smart constructor.-newtype GrafeasV1beta1DiscoveryDetails =- GrafeasV1beta1DiscoveryDetails'- { _gvddDiscovered :: Maybe Discovered- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GrafeasV1beta1DiscoveryDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gvddDiscovered'-grafeasV1beta1DiscoveryDetails- :: GrafeasV1beta1DiscoveryDetails-grafeasV1beta1DiscoveryDetails =- GrafeasV1beta1DiscoveryDetails' {_gvddDiscovered = Nothing}----- | Required. Analysis status for the discovered resource.-gvddDiscovered :: Lens' GrafeasV1beta1DiscoveryDetails (Maybe Discovered)-gvddDiscovered- = lens _gvddDiscovered- (\ s a -> s{_gvddDiscovered = a})--instance FromJSON GrafeasV1beta1DiscoveryDetails- where- parseJSON- = withObject "GrafeasV1beta1DiscoveryDetails"- (\ o ->- GrafeasV1beta1DiscoveryDetails' <$>- (o .:? "discovered"))--instance ToJSON GrafeasV1beta1DiscoveryDetails where- toJSON GrafeasV1beta1DiscoveryDetails'{..}- = object- (catMaybes [("discovered" .=) <$> _gvddDiscovered])---- | The location of the vulnerability.------ /See:/ 'vulnerabilityLocation' smart constructor.-data VulnerabilityLocation =- VulnerabilityLocation'- { _vlVersion :: !(Maybe Version)- , _vlPackage :: !(Maybe Text)- , _vlCpeURI :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'VulnerabilityLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vlVersion'------ * 'vlPackage'------ * 'vlCpeURI'-vulnerabilityLocation- :: VulnerabilityLocation-vulnerabilityLocation =- VulnerabilityLocation'- {_vlVersion = Nothing, _vlPackage = Nothing, _vlCpeURI = Nothing}----- | Required. The version of the package being described.-vlVersion :: Lens' VulnerabilityLocation (Maybe Version)-vlVersion- = lens _vlVersion (\ s a -> s{_vlVersion = a})---- | Required. The package being described.-vlPackage :: Lens' VulnerabilityLocation (Maybe Text)-vlPackage- = lens _vlPackage (\ s a -> s{_vlPackage = a})---- | Required. The CPE URI in [cpe--- format](https:\/\/cpe.mitre.org\/specification\/) format. Examples--- include distro or storage location for vulnerable jar.-vlCpeURI :: Lens' VulnerabilityLocation (Maybe Text)-vlCpeURI = lens _vlCpeURI (\ s a -> s{_vlCpeURI = a})--instance FromJSON VulnerabilityLocation where- parseJSON- = withObject "VulnerabilityLocation"- (\ o ->- VulnerabilityLocation' <$>- (o .:? "version") <*> (o .:? "package") <*>- (o .:? "cpeUri"))--instance ToJSON VulnerabilityLocation where- toJSON VulnerabilityLocation'{..}- = object- (catMaybes- [("version" .=) <$> _vlVersion,- ("package" .=) <$> _vlPackage,- ("cpeUri" .=) <$> _vlCpeURI])---- | Per resource and severity counts of fixable and total vulnerabilities.------ /See:/ 'fixableTotalByDigest' smart constructor.-data FixableTotalByDigest =- FixableTotalByDigest'- { _ftbdSeverity :: !(Maybe FixableTotalByDigestSeverity)- , _ftbdFixableCount :: !(Maybe (Textual Int64))- , _ftbdResource :: !(Maybe Resource)- , _ftbdTotalCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'FixableTotalByDigest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ftbdSeverity'------ * 'ftbdFixableCount'------ * 'ftbdResource'------ * 'ftbdTotalCount'-fixableTotalByDigest- :: FixableTotalByDigest-fixableTotalByDigest =- FixableTotalByDigest'- { _ftbdSeverity = Nothing- , _ftbdFixableCount = Nothing- , _ftbdResource = Nothing- , _ftbdTotalCount = Nothing- }----- | The severity for this count. SEVERITY_UNSPECIFIED indicates total across--- all severities.-ftbdSeverity :: Lens' FixableTotalByDigest (Maybe FixableTotalByDigestSeverity)-ftbdSeverity- = lens _ftbdSeverity (\ s a -> s{_ftbdSeverity = a})---- | The number of fixable vulnerabilities associated with this resource.-ftbdFixableCount :: Lens' FixableTotalByDigest (Maybe Int64)-ftbdFixableCount- = lens _ftbdFixableCount- (\ s a -> s{_ftbdFixableCount = a})- . mapping _Coerce---- | The affected resource.-ftbdResource :: Lens' FixableTotalByDigest (Maybe Resource)-ftbdResource- = lens _ftbdResource (\ s a -> s{_ftbdResource = a})---- | The total number of vulnerabilities associated with this resource.-ftbdTotalCount :: Lens' FixableTotalByDigest (Maybe Int64)-ftbdTotalCount- = lens _ftbdTotalCount- (\ s a -> s{_ftbdTotalCount = a})- . mapping _Coerce--instance FromJSON FixableTotalByDigest where- parseJSON- = withObject "FixableTotalByDigest"- (\ o ->- FixableTotalByDigest' <$>- (o .:? "severity") <*> (o .:? "fixableCount") <*>- (o .:? "resource")- <*> (o .:? "totalCount"))--instance ToJSON FixableTotalByDigest where- toJSON FixableTotalByDigest'{..}- = object- (catMaybes- [("severity" .=) <$> _ftbdSeverity,- ("fixableCount" .=) <$> _ftbdFixableCount,- ("resource" .=) <$> _ftbdResource,- ("totalCount" .=) <$> _ftbdTotalCount])---- | Metadata for any related URL information.------ /See:/ 'relatedURL' smart constructor.-data RelatedURL =- RelatedURL'- { _ruURL :: !(Maybe Text)- , _ruLabel :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'RelatedURL' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ruURL'------ * 'ruLabel'-relatedURL- :: RelatedURL-relatedURL = RelatedURL' {_ruURL = Nothing, _ruLabel = Nothing}----- | Specific URL associated with the resource.-ruURL :: Lens' RelatedURL (Maybe Text)-ruURL = lens _ruURL (\ s a -> s{_ruURL = a})---- | Label to describe usage of the URL.-ruLabel :: Lens' RelatedURL (Maybe Text)-ruLabel = lens _ruLabel (\ s a -> s{_ruLabel = a})--instance FromJSON RelatedURL where- parseJSON- = withObject "RelatedURL"- (\ o ->- RelatedURL' <$> (o .:? "url") <*> (o .:? "label"))--instance ToJSON RelatedURL where- toJSON RelatedURL'{..}- = object- (catMaybes- [("url" .=) <$> _ruURL, ("label" .=) <$> _ruLabel])---- | Details of an image occurrence.------ /See:/ 'grafeasV1beta1ImageDetails' smart constructor.-newtype GrafeasV1beta1ImageDetails =- GrafeasV1beta1ImageDetails'- { _gvidDerivedImage :: Maybe Derived- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GrafeasV1beta1ImageDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gvidDerivedImage'-grafeasV1beta1ImageDetails- :: GrafeasV1beta1ImageDetails-grafeasV1beta1ImageDetails =- GrafeasV1beta1ImageDetails' {_gvidDerivedImage = Nothing}----- | Required. Immutable. The child image derived from the base image.-gvidDerivedImage :: Lens' GrafeasV1beta1ImageDetails (Maybe Derived)-gvidDerivedImage- = lens _gvidDerivedImage- (\ s a -> s{_gvidDerivedImage = a})--instance FromJSON GrafeasV1beta1ImageDetails where- parseJSON- = withObject "GrafeasV1beta1ImageDetails"- (\ o ->- GrafeasV1beta1ImageDetails' <$>- (o .:? "derivedImage"))--instance ToJSON GrafeasV1beta1ImageDetails where- toJSON GrafeasV1beta1ImageDetails'{..}- = object- (catMaybes- [("derivedImage" .=) <$> _gvidDerivedImage])---- | Response for creating occurrences in batch.------ /See:/ 'batchCreateOccurrencesResponse' smart constructor.-newtype BatchCreateOccurrencesResponse =- BatchCreateOccurrencesResponse'- { _bOccurrences :: Maybe [Occurrence]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchCreateOccurrencesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bOccurrences'-batchCreateOccurrencesResponse- :: BatchCreateOccurrencesResponse-batchCreateOccurrencesResponse =- BatchCreateOccurrencesResponse' {_bOccurrences = Nothing}----- | The occurrences that were created.-bOccurrences :: Lens' BatchCreateOccurrencesResponse [Occurrence]-bOccurrences- = lens _bOccurrences (\ s a -> s{_bOccurrences = a})- . _Default- . _Coerce--instance FromJSON BatchCreateOccurrencesResponse- where- parseJSON- = withObject "BatchCreateOccurrencesResponse"- (\ o ->- BatchCreateOccurrencesResponse' <$>- (o .:? "occurrences" .!= mempty))--instance ToJSON BatchCreateOccurrencesResponse where- toJSON BatchCreateOccurrencesResponse'{..}- = object- (catMaybes [("occurrences" .=) <$> _bOccurrences])---- | Labels with user defined metadata.------ /See:/ 'sourceContextLabels' smart constructor.-newtype SourceContextLabels =- SourceContextLabels'- { _sclAddtional :: HashMap Text Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SourceContextLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sclAddtional'-sourceContextLabels- :: HashMap Text Text -- ^ 'sclAddtional'- -> SourceContextLabels-sourceContextLabels pSclAddtional_ =- SourceContextLabels' {_sclAddtional = _Coerce # pSclAddtional_}---sclAddtional :: Lens' SourceContextLabels (HashMap Text Text)-sclAddtional- = lens _sclAddtional (\ s a -> s{_sclAddtional = a})- . _Coerce--instance FromJSON SourceContextLabels where- parseJSON- = withObject "SourceContextLabels"- (\ o -> SourceContextLabels' <$> (parseJSONObject o))--instance ToJSON SourceContextLabels where- toJSON = toJSON . _sclAddtional---- | Response for listing scan configurations.------ /See:/ 'listScanConfigsResponse' smart constructor.-data ListScanConfigsResponse =- ListScanConfigsResponse'- { _lscrNextPageToken :: !(Maybe Text)- , _lscrScanConfigs :: !(Maybe [ScanConfig])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListScanConfigsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lscrNextPageToken'------ * 'lscrScanConfigs'-listScanConfigsResponse- :: ListScanConfigsResponse-listScanConfigsResponse =- ListScanConfigsResponse'- {_lscrNextPageToken = Nothing, _lscrScanConfigs = Nothing}----- | The next pagination token in the list response. It should be used as--- \`page_token\` for the following request. An empty value means no more--- results.-lscrNextPageToken :: Lens' ListScanConfigsResponse (Maybe Text)-lscrNextPageToken- = lens _lscrNextPageToken- (\ s a -> s{_lscrNextPageToken = a})---- | The scan configurations requested.-lscrScanConfigs :: Lens' ListScanConfigsResponse [ScanConfig]-lscrScanConfigs- = lens _lscrScanConfigs- (\ s a -> s{_lscrScanConfigs = a})- . _Default- . _Coerce--instance FromJSON ListScanConfigsResponse where- parseJSON- = withObject "ListScanConfigsResponse"- (\ o ->- ListScanConfigsResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "scanConfigs" .!= mempty))--instance ToJSON ListScanConfigsResponse where- toJSON ListScanConfigsResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _lscrNextPageToken,- ("scanConfigs" .=) <$> _lscrScanConfigs])---- | Version contains structured information about the version of a package.------ /See:/ 'version' smart constructor.-data Version =- Version'- { _vKind :: !(Maybe VersionKind)- , _vName :: !(Maybe Text)- , _vRevision :: !(Maybe Text)- , _vEpoch :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Version' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vKind'------ * 'vName'------ * 'vRevision'------ * 'vEpoch'-version- :: Version-version =- Version'- { _vKind = Nothing- , _vName = Nothing- , _vRevision = Nothing- , _vEpoch = Nothing- }----- | Required. Distinguishes between sentinel MIN\/MAX versions and normal--- versions.-vKind :: Lens' Version (Maybe VersionKind)-vKind = lens _vKind (\ s a -> s{_vKind = a})---- | Required only when version kind is NORMAL. The main part of the version--- name.-vName :: Lens' Version (Maybe Text)-vName = lens _vName (\ s a -> s{_vName = a})---- | The iteration of the package build from the above version.-vRevision :: Lens' Version (Maybe Text)-vRevision- = lens _vRevision (\ s a -> s{_vRevision = a})---- | Used to correct mistakes in the version numbering scheme.-vEpoch :: Lens' Version (Maybe Int32)-vEpoch- = lens _vEpoch (\ s a -> s{_vEpoch = a}) .- mapping _Coerce--instance FromJSON Version where- parseJSON- = withObject "Version"- (\ o ->- Version' <$>- (o .:? "kind") <*> (o .:? "name") <*>- (o .:? "revision")- <*> (o .:? "epoch"))--instance ToJSON Version where- toJSON Version'{..}- = object- (catMaybes- [("kind" .=) <$> _vKind, ("name" .=) <$> _vName,- ("revision" .=) <$> _vRevision,- ("epoch" .=) <$> _vEpoch])---- | Container message for hashes of byte content of files, used in source--- messages to verify integrity of source input to the build.------ /See:/ 'fileHashes' smart constructor.-newtype FileHashes =- FileHashes'- { _fhFileHash :: Maybe [Hash]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'FileHashes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'fhFileHash'-fileHashes- :: FileHashes-fileHashes = FileHashes' {_fhFileHash = Nothing}----- | Required. Collection of file hashes.-fhFileHash :: Lens' FileHashes [Hash]-fhFileHash- = lens _fhFileHash (\ s a -> s{_fhFileHash = a}) .- _Default- . _Coerce--instance FromJSON FileHashes where- parseJSON- = withObject "FileHashes"- (\ o ->- FileHashes' <$> (o .:? "fileHash" .!= mempty))--instance ToJSON FileHashes where- toJSON FileHashes'{..}- = object- (catMaybes [("fileHash" .=) <$> _fhFileHash])---- | An entity that can have metadata. For example, a Docker image.------ /See:/ 'resource' smart constructor.-data Resource =- Resource'- { _rContentHash :: !(Maybe Hash)- , _rURI :: !(Maybe Text)- , _rName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Resource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rContentHash'------ * 'rURI'------ * 'rName'-resource- :: Resource-resource =- Resource' {_rContentHash = Nothing, _rURI = Nothing, _rName = Nothing}----- | The hash of the resource content. For example, the Docker digest.-rContentHash :: Lens' Resource (Maybe Hash)-rContentHash- = lens _rContentHash (\ s a -> s{_rContentHash = a})---- | Required. The unique URI of the resource. For example,--- \`https:\/\/gcr.io\/project\/image\'sha256:foo\` for a Docker image.-rURI :: Lens' Resource (Maybe Text)-rURI = lens _rURI (\ s a -> s{_rURI = a})---- | The name of the resource. For example, the name of a Docker image ---- \"Debian\".-rName :: Lens' Resource (Maybe Text)-rName = lens _rName (\ s a -> s{_rName = a})--instance FromJSON Resource where- parseJSON- = withObject "Resource"- (\ o ->- Resource' <$>- (o .:? "contentHash") <*> (o .:? "uri") <*>- (o .:? "name"))--instance ToJSON Resource where- toJSON Resource'{..}- = object- (catMaybes- [("contentHash" .=) <$> _rContentHash,- ("uri" .=) <$> _rURI, ("name" .=) <$> _rName])---- | Details of a deployment occurrence.------ /See:/ 'grafeasV1beta1DeploymentDetails' smart constructor.-newtype GrafeasV1beta1DeploymentDetails =- GrafeasV1beta1DeploymentDetails'- { _gvddDeployment :: Maybe Deployment- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GrafeasV1beta1DeploymentDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gvddDeployment'-grafeasV1beta1DeploymentDetails- :: GrafeasV1beta1DeploymentDetails-grafeasV1beta1DeploymentDetails =- GrafeasV1beta1DeploymentDetails' {_gvddDeployment = Nothing}----- | Required. Deployment history for the resource.-gvddDeployment :: Lens' GrafeasV1beta1DeploymentDetails (Maybe Deployment)-gvddDeployment- = lens _gvddDeployment- (\ s a -> s{_gvddDeployment = a})--instance FromJSON GrafeasV1beta1DeploymentDetails- where- parseJSON- = withObject "GrafeasV1beta1DeploymentDetails"- (\ o ->- GrafeasV1beta1DeploymentDetails' <$>- (o .:? "deployment"))--instance ToJSON GrafeasV1beta1DeploymentDetails where- toJSON GrafeasV1beta1DeploymentDetails'{..}- = object- (catMaybes [("deployment" .=) <$> _gvddDeployment])---- | Metadata for all operations used and required for all operations that--- created by Container Analysis Providers------ /See:/ 'googleDevtoolsContaineranalysisV1alpha1OperationMetadata' smart constructor.-data GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata =- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata'- { _gdcvomEndTime :: !(Maybe DateTime')- , _gdcvomCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gdcvomEndTime'------ * 'gdcvomCreateTime'-googleDevtoolsContaineranalysisV1alpha1OperationMetadata- :: GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata-googleDevtoolsContaineranalysisV1alpha1OperationMetadata =- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata'- {_gdcvomEndTime = Nothing, _gdcvomCreateTime = Nothing}----- | Output only. The time that this operation was marked completed or--- failed.-gdcvomEndTime :: Lens' GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (Maybe UTCTime)-gdcvomEndTime- = lens _gdcvomEndTime- (\ s a -> s{_gdcvomEndTime = a})- . mapping _DateTime---- | Output only. The time this operation was created.-gdcvomCreateTime :: Lens' GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (Maybe UTCTime)-gdcvomCreateTime- = lens _gdcvomCreateTime- (\ s a -> s{_gdcvomCreateTime = a})- . mapping _DateTime--instance FromJSON- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata- where- parseJSON- = withObject- "GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata"- (\ o ->- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata'- <$> (o .:? "endTime") <*> (o .:? "createTime"))--instance ToJSON- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata- where- toJSON- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata'{..}- = object- (catMaybes- [("endTime" .=) <$> _gdcvomEndTime,- ("createTime" .=) <$> _gdcvomCreateTime])---- | Details of an attestation occurrence.------ /See:/ 'details' smart constructor.-newtype Details =- Details'- { _dAttestation :: Maybe Attestation- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Details' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dAttestation'-details- :: Details-details = Details' {_dAttestation = Nothing}----- | Required. Attestation for the resource.-dAttestation :: Lens' Details (Maybe Attestation)-dAttestation- = lens _dAttestation (\ s a -> s{_dAttestation = a})--instance FromJSON Details where- parseJSON- = withObject "Details"- (\ o -> Details' <$> (o .:? "attestation"))--instance ToJSON Details where- toJSON Details'{..}- = object- (catMaybes [("attestation" .=) <$> _dAttestation])---- | This represents a particular package that is distributed over various--- channels. E.g., glibc (aka libc6) is distributed by many, at various--- versions.------ /See:/ 'package' smart constructor.-data Package =- Package'- { _pDistribution :: !(Maybe [Distribution])- , _pName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Package' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pDistribution'------ * 'pName'-package- :: Package-package = Package' {_pDistribution = Nothing, _pName = Nothing}----- | The various channels by which a package is distributed.-pDistribution :: Lens' Package [Distribution]-pDistribution- = lens _pDistribution- (\ s a -> s{_pDistribution = a})- . _Default- . _Coerce---- | Required. Immutable. The name of the package.-pName :: Lens' Package (Maybe Text)-pName = lens _pName (\ s a -> s{_pName = a})--instance FromJSON Package where- parseJSON- = withObject "Package"- (\ o ->- Package' <$>- (o .:? "distribution" .!= mempty) <*> (o .:? "name"))--instance ToJSON Package where- toJSON Package'{..}- = object- (catMaybes- [("distribution" .=) <$> _pDistribution,- ("name" .=) <$> _pName])---- | Response for listing notes.------ /See:/ 'listNotesResponse' smart constructor.-data ListNotesResponse =- ListNotesResponse'- { _lnrNextPageToken :: !(Maybe Text)- , _lnrNotes :: !(Maybe [Note])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListNotesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lnrNextPageToken'------ * 'lnrNotes'-listNotesResponse- :: ListNotesResponse-listNotesResponse =- ListNotesResponse' {_lnrNextPageToken = Nothing, _lnrNotes = Nothing}----- | The next pagination token in the list response. It should be used as--- \`page_token\` for the following request. An empty value means no more--- results.-lnrNextPageToken :: Lens' ListNotesResponse (Maybe Text)-lnrNextPageToken- = lens _lnrNextPageToken- (\ s a -> s{_lnrNextPageToken = a})---- | The notes requested.-lnrNotes :: Lens' ListNotesResponse [Note]-lnrNotes- = lens _lnrNotes (\ s a -> s{_lnrNotes = a}) .- _Default- . _Coerce--instance FromJSON ListNotesResponse where- parseJSON- = withObject "ListNotesResponse"- (\ o ->- ListNotesResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "notes" .!= mempty))--instance ToJSON ListNotesResponse where- toJSON ListNotesResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _lnrNextPageToken,- ("notes" .=) <$> _lnrNotes])---- | Message encapsulating the signature of the verified build.------ /See:/ 'buildSignature' smart constructor.-data BuildSignature =- BuildSignature'- { _bsSignature :: !(Maybe Bytes)- , _bsKeyType :: !(Maybe BuildSignatureKeyType)- , _bsKeyId :: !(Maybe Text)- , _bsPublicKey :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BuildSignature' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bsSignature'------ * 'bsKeyType'------ * 'bsKeyId'------ * 'bsPublicKey'-buildSignature- :: BuildSignature-buildSignature =- BuildSignature'- { _bsSignature = Nothing- , _bsKeyType = Nothing- , _bsKeyId = Nothing- , _bsPublicKey = Nothing- }----- | Required. Signature of the related \`BuildProvenance\`. In JSON, this is--- base-64 encoded.-bsSignature :: Lens' BuildSignature (Maybe ByteString)-bsSignature- = lens _bsSignature (\ s a -> s{_bsSignature = a}) .- mapping _Bytes---- | The type of the key, either stored in \`public_key\` or referenced in--- \`key_id\`.-bsKeyType :: Lens' BuildSignature (Maybe BuildSignatureKeyType)-bsKeyType- = lens _bsKeyType (\ s a -> s{_bsKeyType = a})---- | An ID for the key used to sign. This could be either an ID for the key--- stored in \`public_key\` (such as the ID or fingerprint for a PGP key,--- or the CN for a cert), or a reference to an external key (such as a--- reference to a key in Cloud Key Management Service).-bsKeyId :: Lens' BuildSignature (Maybe Text)-bsKeyId = lens _bsKeyId (\ s a -> s{_bsKeyId = a})---- | Public key of the builder which can be used to verify that the related--- findings are valid and unchanged. If \`key_type\` is empty, this--- defaults to PEM encoded public keys. This field may be empty if--- \`key_id\` references an external key. For Cloud Build based signatures,--- this is a PEM encoded public key. To verify the Cloud Build signature,--- place the contents of this field into a file (public.pem). The signature--- field is base64-decoded into its binary representation in signature.bin,--- and the provenance bytes from \`BuildDetails\` are base64-decoded into a--- binary representation in signed.bin. OpenSSL can then verify the--- signature: \`openssl sha256 -verify public.pem -signature signature.bin--- signed.bin\`-bsPublicKey :: Lens' BuildSignature (Maybe Text)-bsPublicKey- = lens _bsPublicKey (\ s a -> s{_bsPublicKey = a})--instance FromJSON BuildSignature where- parseJSON- = withObject "BuildSignature"- (\ o ->- BuildSignature' <$>- (o .:? "signature") <*> (o .:? "keyType") <*>- (o .:? "keyId")- <*> (o .:? "publicKey"))--instance ToJSON BuildSignature where- toJSON BuildSignature'{..}- = object- (catMaybes- [("signature" .=) <$> _bsSignature,- ("keyType" .=) <$> _bsKeyType,- ("keyId" .=) <$> _bsKeyId,- ("publicKey" .=) <$> _bsPublicKey])---- | Request message for \`TestIamPermissions\` method.------ /See:/ 'testIAMPermissionsRequest' smart constructor.-newtype TestIAMPermissionsRequest =- TestIAMPermissionsRequest'- { _tiprPermissions :: Maybe [Text]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TestIAMPermissionsRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tiprPermissions'-testIAMPermissionsRequest- :: TestIAMPermissionsRequest-testIAMPermissionsRequest =- TestIAMPermissionsRequest' {_tiprPermissions = Nothing}----- | The set of permissions to check for the \`resource\`. Permissions with--- wildcards (such as \'*\' or \'storage.*\') are not allowed. For more--- information see [IAM--- Overview](https:\/\/cloud.google.com\/iam\/docs\/overview#permissions).-tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]-tiprPermissions- = lens _tiprPermissions- (\ s a -> s{_tiprPermissions = a})- . _Default- . _Coerce--instance FromJSON TestIAMPermissionsRequest where- parseJSON- = withObject "TestIAMPermissionsRequest"- (\ o ->- TestIAMPermissionsRequest' <$>- (o .:? "permissions" .!= mempty))--instance ToJSON TestIAMPermissionsRequest where- toJSON TestIAMPermissionsRequest'{..}- = object- (catMaybes [("permissions" .=) <$> _tiprPermissions])---- | Provides information about the analysis status of a discovered resource.------ /See:/ 'discovered' smart constructor.-data Discovered =- Discovered'- { _dLastAnalysisTime :: !(Maybe DateTime')- , _dAnalysisStatusError :: !(Maybe Status)- , _dAnalysisStatus :: !(Maybe DiscoveredAnalysisStatus)- , _dContinuousAnalysis :: !(Maybe DiscoveredContinuousAnalysis)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Discovered' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dLastAnalysisTime'------ * 'dAnalysisStatusError'------ * 'dAnalysisStatus'------ * 'dContinuousAnalysis'-discovered- :: Discovered-discovered =- Discovered'- { _dLastAnalysisTime = Nothing- , _dAnalysisStatusError = Nothing- , _dAnalysisStatus = Nothing- , _dContinuousAnalysis = Nothing- }----- | The last time continuous analysis was done for this resource.--- Deprecated, do not use.-dLastAnalysisTime :: Lens' Discovered (Maybe UTCTime)-dLastAnalysisTime- = lens _dLastAnalysisTime- (\ s a -> s{_dLastAnalysisTime = a})- . mapping _DateTime---- | When an error is encountered this will contain a LocalizedMessage under--- details to show to the user. The LocalizedMessage is output only and--- populated by the API.-dAnalysisStatusError :: Lens' Discovered (Maybe Status)-dAnalysisStatusError- = lens _dAnalysisStatusError- (\ s a -> s{_dAnalysisStatusError = a})---- | The status of discovery for the resource.-dAnalysisStatus :: Lens' Discovered (Maybe DiscoveredAnalysisStatus)-dAnalysisStatus- = lens _dAnalysisStatus- (\ s a -> s{_dAnalysisStatus = a})---- | Whether the resource is continuously analyzed.-dContinuousAnalysis :: Lens' Discovered (Maybe DiscoveredContinuousAnalysis)-dContinuousAnalysis- = lens _dContinuousAnalysis- (\ s a -> s{_dContinuousAnalysis = a})--instance FromJSON Discovered where- parseJSON- = withObject "Discovered"- (\ o ->- Discovered' <$>- (o .:? "lastAnalysisTime") <*>- (o .:? "analysisStatusError")- <*> (o .:? "analysisStatus")- <*> (o .:? "continuousAnalysis"))--instance ToJSON Discovered where- toJSON Discovered'{..}- = object- (catMaybes- [("lastAnalysisTime" .=) <$> _dLastAnalysisTime,- ("analysisStatusError" .=) <$> _dAnalysisStatusError,- ("analysisStatus" .=) <$> _dAnalysisStatus,- ("continuousAnalysis" .=) <$> _dContinuousAnalysis])---- | Derived describes the derived image portion (Occurrence) of the--- DockerImage relationship. This image would be produced from a Dockerfile--- with FROM .------ /See:/ 'derived' smart constructor.-data Derived =- Derived'- { _dBaseResourceURL :: !(Maybe Text)- , _dFingerprint :: !(Maybe Fingerprint)- , _dDistance :: !(Maybe (Textual Int32))- , _dLayerInfo :: !(Maybe [Layer])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Derived' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dBaseResourceURL'------ * 'dFingerprint'------ * 'dDistance'------ * 'dLayerInfo'-derived- :: Derived-derived =- Derived'- { _dBaseResourceURL = Nothing- , _dFingerprint = Nothing- , _dDistance = Nothing- , _dLayerInfo = Nothing- }----- | Output only. This contains the base image URL for the derived image--- occurrence.-dBaseResourceURL :: Lens' Derived (Maybe Text)-dBaseResourceURL- = lens _dBaseResourceURL- (\ s a -> s{_dBaseResourceURL = a})---- | Required. The fingerprint of the derived image.-dFingerprint :: Lens' Derived (Maybe Fingerprint)-dFingerprint- = lens _dFingerprint (\ s a -> s{_dFingerprint = a})---- | Output only. The number of layers by which this image differs from the--- associated image basis.-dDistance :: Lens' Derived (Maybe Int32)-dDistance- = lens _dDistance (\ s a -> s{_dDistance = a}) .- mapping _Coerce---- | This contains layer-specific metadata, if populated it has length--- \"distance\" and is ordered with [distance] being the layer immediately--- following the base image and [1] being the final layer.-dLayerInfo :: Lens' Derived [Layer]-dLayerInfo- = lens _dLayerInfo (\ s a -> s{_dLayerInfo = a}) .- _Default- . _Coerce--instance FromJSON Derived where- parseJSON- = withObject "Derived"- (\ o ->- Derived' <$>- (o .:? "baseResourceUrl") <*> (o .:? "fingerprint")- <*> (o .:? "distance")- <*> (o .:? "layerInfo" .!= mempty))--instance ToJSON Derived where- toJSON Derived'{..}- = object- (catMaybes- [("baseResourceUrl" .=) <$> _dBaseResourceURL,- ("fingerprint" .=) <$> _dFingerprint,- ("distance" .=) <$> _dDistance,- ("layerInfo" .=) <$> _dLayerInfo])---- | Details of a build occurrence.------ /See:/ 'grafeasV1beta1BuildDetails' smart constructor.-data GrafeasV1beta1BuildDetails =- GrafeasV1beta1BuildDetails'- { _gvbdProvenanceBytes :: !(Maybe Text)- , _gvbdProvenance :: !(Maybe BuildProvenance)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GrafeasV1beta1BuildDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gvbdProvenanceBytes'------ * 'gvbdProvenance'-grafeasV1beta1BuildDetails- :: GrafeasV1beta1BuildDetails-grafeasV1beta1BuildDetails =- GrafeasV1beta1BuildDetails'- {_gvbdProvenanceBytes = Nothing, _gvbdProvenance = Nothing}----- | Serialized JSON representation of the provenance, used in generating the--- build signature in the corresponding build note. After verifying the--- signature, \`provenance_bytes\` can be unmarshalled and compared to the--- provenance to confirm that it is unchanged. A base64-encoded string--- representation of the provenance bytes is used for the signature in--- order to interoperate with openssl which expects this format for--- signature verification. The serialized form is captured both to avoid--- ambiguity in how the provenance is marshalled to json as well to prevent--- incompatibilities with future changes.-gvbdProvenanceBytes :: Lens' GrafeasV1beta1BuildDetails (Maybe Text)-gvbdProvenanceBytes- = lens _gvbdProvenanceBytes- (\ s a -> s{_gvbdProvenanceBytes = a})---- | Required. The actual provenance for the build.-gvbdProvenance :: Lens' GrafeasV1beta1BuildDetails (Maybe BuildProvenance)-gvbdProvenance- = lens _gvbdProvenance- (\ s a -> s{_gvbdProvenance = a})--instance FromJSON GrafeasV1beta1BuildDetails where- parseJSON- = withObject "GrafeasV1beta1BuildDetails"- (\ o ->- GrafeasV1beta1BuildDetails' <$>- (o .:? "provenanceBytes") <*> (o .:? "provenance"))--instance ToJSON GrafeasV1beta1BuildDetails where- toJSON GrafeasV1beta1BuildDetails'{..}- = object- (catMaybes- [("provenanceBytes" .=) <$> _gvbdProvenanceBytes,- ("provenance" .=) <$> _gvbdProvenance])---- | Source describes the location of the source used for the build.------ /See:/ 'source' smart constructor.-data Source =- Source'- { _sContext :: !(Maybe SourceContext)- , _sAdditionalContexts :: !(Maybe [SourceContext])- , _sArtifactStorageSourceURI :: !(Maybe Text)- , _sFileHashes :: !(Maybe SourceFileHashes)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Source' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sContext'------ * 'sAdditionalContexts'------ * 'sArtifactStorageSourceURI'------ * 'sFileHashes'-source- :: Source-source =- Source'- { _sContext = Nothing- , _sAdditionalContexts = Nothing- , _sArtifactStorageSourceURI = Nothing- , _sFileHashes = Nothing- }----- | If provided, the source code used for the build came from this location.-sContext :: Lens' Source (Maybe SourceContext)-sContext = lens _sContext (\ s a -> s{_sContext = a})---- | If provided, some of the source code used for the build may be found in--- these locations, in the case where the source repository had multiple--- remotes or submodules. This list will not include the context specified--- in the context field.-sAdditionalContexts :: Lens' Source [SourceContext]-sAdditionalContexts- = lens _sAdditionalContexts- (\ s a -> s{_sAdditionalContexts = a})- . _Default- . _Coerce---- | If provided, the input binary artifacts for the build came from this--- location.-sArtifactStorageSourceURI :: Lens' Source (Maybe Text)-sArtifactStorageSourceURI- = lens _sArtifactStorageSourceURI- (\ s a -> s{_sArtifactStorageSourceURI = a})---- | Hash(es) of the build source, which can be used to verify that the--- original source integrity was maintained in the build. The keys to this--- map are file paths used as build source and the values contain the hash--- values for those files. If the build source came in a single package--- such as a gzipped tarfile (.tar.gz), the FileHash will be for the single--- path to that file.-sFileHashes :: Lens' Source (Maybe SourceFileHashes)-sFileHashes- = lens _sFileHashes (\ s a -> s{_sFileHashes = a})--instance FromJSON Source where- parseJSON- = withObject "Source"- (\ o ->- Source' <$>- (o .:? "context") <*>- (o .:? "additionalContexts" .!= mempty)- <*> (o .:? "artifactStorageSourceUri")- <*> (o .:? "fileHashes"))--instance ToJSON Source where- toJSON Source'{..}- = object- (catMaybes- [("context" .=) <$> _sContext,- ("additionalContexts" .=) <$> _sAdditionalContexts,- ("artifactStorageSourceUri" .=) <$>- _sArtifactStorageSourceURI,- ("fileHashes" .=) <$> _sFileHashes])---- | A scan configuration specifies whether Cloud components in a project--- have a particular type of analysis being run. For example, it can--- configure whether vulnerability scanning is being done on Docker images--- or not.------ /See:/ 'scanConfig' smart constructor.-data ScanConfig =- ScanConfig'- { _scEnabled :: !(Maybe Bool)- , _scUpdateTime :: !(Maybe DateTime')- , _scName :: !(Maybe Text)- , _scDescription :: !(Maybe Text)- , _scCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ScanConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'scEnabled'------ * 'scUpdateTime'------ * 'scName'------ * 'scDescription'------ * 'scCreateTime'-scanConfig- :: ScanConfig-scanConfig =- ScanConfig'- { _scEnabled = Nothing- , _scUpdateTime = Nothing- , _scName = Nothing- , _scDescription = Nothing- , _scCreateTime = Nothing- }----- | Whether the scan is enabled.-scEnabled :: Lens' ScanConfig (Maybe Bool)-scEnabled- = lens _scEnabled (\ s a -> s{_scEnabled = a})---- | Output only. The time this scan config was last updated.-scUpdateTime :: Lens' ScanConfig (Maybe UTCTime)-scUpdateTime- = lens _scUpdateTime (\ s a -> s{_scUpdateTime = a})- . mapping _DateTime---- | Output only. The name of the scan configuration in the form of--- \`projects\/[PROJECT_ID]\/scanConfigs\/[SCAN_CONFIG_ID]\`.-scName :: Lens' ScanConfig (Maybe Text)-scName = lens _scName (\ s a -> s{_scName = a})---- | Output only. A human-readable description of what the scan configuration--- does.-scDescription :: Lens' ScanConfig (Maybe Text)-scDescription- = lens _scDescription- (\ s a -> s{_scDescription = a})---- | Output only. The time this scan config was created.-scCreateTime :: Lens' ScanConfig (Maybe UTCTime)-scCreateTime- = lens _scCreateTime (\ s a -> s{_scCreateTime = a})- . mapping _DateTime--instance FromJSON ScanConfig where- parseJSON- = withObject "ScanConfig"- (\ o ->- ScanConfig' <$>- (o .:? "enabled") <*> (o .:? "updateTime") <*>- (o .:? "name")- <*> (o .:? "description")- <*> (o .:? "createTime"))--instance ToJSON ScanConfig where- toJSON ScanConfig'{..}- = object- (catMaybes- [("enabled" .=) <$> _scEnabled,- ("updateTime" .=) <$> _scUpdateTime,- ("name" .=) <$> _scName,- ("description" .=) <$> _scDescription,- ("createTime" .=) <$> _scCreateTime])---- | An attestation wrapper that uses the Grafeas \`Signature\` message. This--- attestation must define the \`serialized_payload\` that the--- \`signatures\` verify and any metadata necessary to interpret that--- plaintext. The signatures should always be over the--- \`serialized_payload\` bytestring.------ /See:/ 'genericSignedAttestation' smart constructor.-data GenericSignedAttestation =- GenericSignedAttestation'- { _gsaSerializedPayload :: !(Maybe Bytes)- , _gsaSignatures :: !(Maybe [Signature])- , _gsaContentType :: !(Maybe GenericSignedAttestationContentType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GenericSignedAttestation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gsaSerializedPayload'------ * 'gsaSignatures'------ * 'gsaContentType'-genericSignedAttestation- :: GenericSignedAttestation-genericSignedAttestation =- GenericSignedAttestation'- { _gsaSerializedPayload = Nothing- , _gsaSignatures = Nothing- , _gsaContentType = Nothing- }----- | The serialized payload that is verified by one or more \`signatures\`.--- The encoding and semantic meaning of this payload must match what is set--- in \`content_type\`.-gsaSerializedPayload :: Lens' GenericSignedAttestation (Maybe ByteString)-gsaSerializedPayload- = lens _gsaSerializedPayload- (\ s a -> s{_gsaSerializedPayload = a})- . mapping _Bytes---- | One or more signatures over \`serialized_payload\`. Verifier--- implementations should consider this attestation message verified if at--- least one \`signature\` verifies \`serialized_payload\`. See--- \`Signature\` in common.proto for more details on signature structure--- and verification.-gsaSignatures :: Lens' GenericSignedAttestation [Signature]-gsaSignatures- = lens _gsaSignatures- (\ s a -> s{_gsaSignatures = a})- . _Default- . _Coerce---- | Type (for example schema) of the attestation payload that was signed.--- The verifier must ensure that the provided type is one that the verifier--- supports, and that the attestation payload is a valid instantiation of--- that type (for example by validating a JSON schema).-gsaContentType :: Lens' GenericSignedAttestation (Maybe GenericSignedAttestationContentType)-gsaContentType- = lens _gsaContentType- (\ s a -> s{_gsaContentType = a})--instance FromJSON GenericSignedAttestation where- parseJSON- = withObject "GenericSignedAttestation"- (\ o ->- GenericSignedAttestation' <$>- (o .:? "serializedPayload") <*>- (o .:? "signatures" .!= mempty)- <*> (o .:? "contentType"))--instance ToJSON GenericSignedAttestation where- toJSON GenericSignedAttestation'{..}- = object- (catMaybes- [("serializedPayload" .=) <$> _gsaSerializedPayload,- ("signatures" .=) <$> _gsaSignatures,- ("contentType" .=) <$> _gsaContentType])---- | A GitSourceContext denotes a particular revision in a third party Git--- repository (e.g., GitHub).------ /See:/ 'gitSourceContext' smart constructor.-data GitSourceContext =- GitSourceContext'- { _gURL :: !(Maybe Text)- , _gRevisionId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GitSourceContext' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gURL'------ * 'gRevisionId'-gitSourceContext- :: GitSourceContext-gitSourceContext = GitSourceContext' {_gURL = Nothing, _gRevisionId = Nothing}----- | Git repository URL.-gURL :: Lens' GitSourceContext (Maybe Text)-gURL = lens _gURL (\ s a -> s{_gURL = a})---- | Git commit hash.-gRevisionId :: Lens' GitSourceContext (Maybe Text)-gRevisionId- = lens _gRevisionId (\ s a -> s{_gRevisionId = a})--instance FromJSON GitSourceContext where- parseJSON- = withObject "GitSourceContext"- (\ o ->- GitSourceContext' <$>- (o .:? "url") <*> (o .:? "revisionId"))--instance ToJSON GitSourceContext where- toJSON GitSourceContext'{..}- = object- (catMaybes- [("url" .=) <$> _gURL,- ("revisionId" .=) <$> _gRevisionId])---- | Response message for \`TestIamPermissions\` method.------ /See:/ 'testIAMPermissionsResponse' smart constructor.-newtype TestIAMPermissionsResponse =- TestIAMPermissionsResponse'- { _tiamprPermissions :: Maybe [Text]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TestIAMPermissionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tiamprPermissions'-testIAMPermissionsResponse- :: TestIAMPermissionsResponse-testIAMPermissionsResponse =- TestIAMPermissionsResponse' {_tiamprPermissions = Nothing}----- | A subset of \`TestPermissionsRequest.permissions\` that the caller is--- allowed.-tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]-tiamprPermissions- = lens _tiamprPermissions- (\ s a -> s{_tiamprPermissions = a})- . _Default- . _Coerce--instance FromJSON TestIAMPermissionsResponse where- parseJSON- = withObject "TestIAMPermissionsResponse"- (\ o ->- TestIAMPermissionsResponse' <$>- (o .:? "permissions" .!= mempty))--instance ToJSON TestIAMPermissionsResponse where- toJSON TestIAMPermissionsResponse'{..}- = object- (catMaybes- [("permissions" .=) <$> _tiamprPermissions])---- | Defines an Identity and Access Management (IAM) policy. It is used to--- specify access control policies for Cloud Platform resources. A--- \`Policy\` consists of a list of \`bindings\`. A \`binding\` binds a--- list of \`members\` to a \`role\`, where the members can be user--- accounts, Google groups, Google domains, and service accounts. A--- \`role\` is a named list of permissions defined by IAM. **JSON Example**--- { \"bindings\": [ { \"role\": \"roles\/owner\", \"members\": [--- \"user:mike\'example.com\", \"group:admins\'example.com\",--- \"domain:google.com\",--- \"serviceAccount:my-other-app\'appspot.gserviceaccount.com\" ] }, {--- \"role\": \"roles\/viewer\", \"members\": [\"user:sean\'example.com\"] }--- ] } **YAML Example** bindings: - members: - user:mike\'example.com ---- group:admins\'example.com - domain:google.com ---- serviceAccount:my-other-app\'appspot.gserviceaccount.com role:--- roles\/owner - members: - user:sean\'example.com role: roles\/viewer For--- a description of IAM and its features, see the [IAM developer\'s--- guide](https:\/\/cloud.google.com\/iam\/docs).------ /See:/ 'policy' smart constructor.-data Policy =- Policy'- { _pAuditConfigs :: !(Maybe [AuditConfig])- , _pEtag :: !(Maybe Bytes)- , _pVersion :: !(Maybe (Textual Int32))- , _pBindings :: !(Maybe [Binding])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Policy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pAuditConfigs'------ * 'pEtag'------ * 'pVersion'------ * 'pBindings'-policy- :: Policy-policy =- Policy'- { _pAuditConfigs = Nothing- , _pEtag = Nothing- , _pVersion = Nothing- , _pBindings = Nothing- }----- | Specifies cloud audit logging configuration for this policy.-pAuditConfigs :: Lens' Policy [AuditConfig]-pAuditConfigs- = lens _pAuditConfigs- (\ s a -> s{_pAuditConfigs = a})- . _Default- . _Coerce---- | \`etag\` is used for optimistic concurrency control as a way to help--- prevent simultaneous updates of a policy from overwriting each other. It--- is strongly suggested that systems make use of the \`etag\` in the--- read-modify-write cycle to perform policy updates in order to avoid race--- conditions: An \`etag\` is returned in the response to \`getIamPolicy\`,--- and systems are expected to put that etag in the request to--- \`setIamPolicy\` to ensure that their change will be applied to the same--- version of the policy. If no \`etag\` is provided in the call to--- \`setIamPolicy\`, then the existing policy is overwritten blindly.-pEtag :: Lens' Policy (Maybe ByteString)-pEtag- = lens _pEtag (\ s a -> s{_pEtag = a}) .- mapping _Bytes---- | Deprecated.-pVersion :: Lens' Policy (Maybe Int32)-pVersion- = lens _pVersion (\ s a -> s{_pVersion = a}) .- mapping _Coerce---- | Associates a list of \`members\` to a \`role\`. \`bindings\` with no--- members will result in an error.-pBindings :: Lens' Policy [Binding]-pBindings- = lens _pBindings (\ s a -> s{_pBindings = a}) .- _Default- . _Coerce--instance FromJSON Policy where- parseJSON- = withObject "Policy"- (\ o ->- Policy' <$>- (o .:? "auditConfigs" .!= mempty) <*> (o .:? "etag")- <*> (o .:? "version")- <*> (o .:? "bindings" .!= mempty))--instance ToJSON Policy where- toJSON Policy'{..}- = object- (catMaybes- [("auditConfigs" .=) <$> _pAuditConfigs,- ("etag" .=) <$> _pEtag, ("version" .=) <$> _pVersion,- ("bindings" .=) <$> _pBindings])---- | Layer holds metadata specific to a layer of a Docker image.------ /See:/ 'layer' smart constructor.-data Layer =- Layer'- { _lDirective :: !(Maybe LayerDirective)- , _lArguments :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Layer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lDirective'------ * 'lArguments'-layer- :: Layer-layer = Layer' {_lDirective = Nothing, _lArguments = Nothing}----- | Required. The recovered Dockerfile directive used to construct this--- layer.-lDirective :: Lens' Layer (Maybe LayerDirective)-lDirective- = lens _lDirective (\ s a -> s{_lDirective = a})---- | The recovered arguments to the Dockerfile directive.-lArguments :: Lens' Layer (Maybe Text)-lArguments- = lens _lArguments (\ s a -> s{_lArguments = a})--instance FromJSON Layer where- parseJSON- = withObject "Layer"- (\ o ->- Layer' <$>- (o .:? "directive") <*> (o .:? "arguments"))--instance ToJSON Layer where- toJSON Layer'{..}- = object- (catMaybes- [("directive" .=) <$> _lDirective,- ("arguments" .=) <$> _lArguments])---- | A CloudRepoSourceContext denotes a particular revision in a Google Cloud--- Source Repo.------ /See:/ 'cloudRepoSourceContext' smart constructor.-data CloudRepoSourceContext =- CloudRepoSourceContext'- { _crscRepoId :: !(Maybe RepoId)- , _crscRevisionId :: !(Maybe Text)- , _crscAliasContext :: !(Maybe AliasContext)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CloudRepoSourceContext' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'crscRepoId'------ * 'crscRevisionId'------ * 'crscAliasContext'-cloudRepoSourceContext- :: CloudRepoSourceContext-cloudRepoSourceContext =- CloudRepoSourceContext'- { _crscRepoId = Nothing- , _crscRevisionId = Nothing- , _crscAliasContext = Nothing- }----- | The ID of the repo.-crscRepoId :: Lens' CloudRepoSourceContext (Maybe RepoId)-crscRepoId- = lens _crscRepoId (\ s a -> s{_crscRepoId = a})---- | A revision ID.-crscRevisionId :: Lens' CloudRepoSourceContext (Maybe Text)-crscRevisionId- = lens _crscRevisionId- (\ s a -> s{_crscRevisionId = a})---- | An alias, which may be a branch or tag.-crscAliasContext :: Lens' CloudRepoSourceContext (Maybe AliasContext)-crscAliasContext- = lens _crscAliasContext- (\ s a -> s{_crscAliasContext = a})--instance FromJSON CloudRepoSourceContext where- parseJSON- = withObject "CloudRepoSourceContext"- (\ o ->- CloudRepoSourceContext' <$>- (o .:? "repoId") <*> (o .:? "revisionId") <*>- (o .:? "aliasContext"))--instance ToJSON CloudRepoSourceContext where- toJSON CloudRepoSourceContext'{..}- = object- (catMaybes- [("repoId" .=) <$> _crscRepoId,- ("revisionId" .=) <$> _crscRevisionId,- ("aliasContext" .=) <$> _crscAliasContext])---- | Provides the configuration for logging a type of permissions. Example: {--- \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\",--- \"exempted_members\": [ \"user:foo\'gmail.com\" ] }, { \"log_type\":--- \"DATA_WRITE\", } ] } This enables \'DATA_READ\' and \'DATA_WRITE\'--- logging, while exempting foo\'gmail.com from DATA_READ logging.------ /See:/ 'auditLogConfig' smart constructor.-data AuditLogConfig =- AuditLogConfig'- { _alcLogType :: !(Maybe AuditLogConfigLogType)- , _alcExemptedMembers :: !(Maybe [Text])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AuditLogConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'alcLogType'------ * 'alcExemptedMembers'-auditLogConfig- :: AuditLogConfig-auditLogConfig =- AuditLogConfig' {_alcLogType = Nothing, _alcExemptedMembers = Nothing}----- | The log type that this config enables.-alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType)-alcLogType- = lens _alcLogType (\ s a -> s{_alcLogType = a})---- | Specifies the identities that do not cause logging for this type of--- permission. Follows the same format of Binding.members.-alcExemptedMembers :: Lens' AuditLogConfig [Text]-alcExemptedMembers- = lens _alcExemptedMembers- (\ s a -> s{_alcExemptedMembers = a})- . _Default- . _Coerce--instance FromJSON AuditLogConfig where- parseJSON- = withObject "AuditLogConfig"- (\ o ->- AuditLogConfig' <$>- (o .:? "logType") <*>- (o .:? "exemptedMembers" .!= mempty))--instance ToJSON AuditLogConfig where- toJSON AuditLogConfig'{..}- = object- (catMaybes- [("logType" .=) <$> _alcLogType,- ("exemptedMembers" .=) <$> _alcExemptedMembers])---- | An attestation wrapper with a PGP-compatible signature. This message--- only supports \`ATTACHED\` signatures, where the payload that is signed--- is included alongside the signature itself in the same file.------ /See:/ 'pgpSignedAttestation' smart constructor.-data PgpSignedAttestation =- PgpSignedAttestation'- { _psaSignature :: !(Maybe Text)- , _psaPgpKeyId :: !(Maybe Text)- , _psaContentType :: !(Maybe PgpSignedAttestationContentType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PgpSignedAttestation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psaSignature'------ * 'psaPgpKeyId'------ * 'psaContentType'-pgpSignedAttestation- :: PgpSignedAttestation-pgpSignedAttestation =- PgpSignedAttestation'- {_psaSignature = Nothing, _psaPgpKeyId = Nothing, _psaContentType = Nothing}----- | Required. The raw content of the signature, as output by GNU Privacy--- Guard (GPG) or equivalent. Since this message only supports attached--- signatures, the payload that was signed must be attached. While the--- signature format supported is dependent on the verification--- implementation, currently only ASCII-armored (\`--armor\` to gpg),--- non-clearsigned (\`--sign\` rather than \`--clearsign\` to gpg) are--- supported. Concretely, \`gpg --sign --armor --output=signature.gpg--- payload.json\` will create the signature content expected in this field--- in \`signature.gpg\` for the \`payload.json\` attestation payload.-psaSignature :: Lens' PgpSignedAttestation (Maybe Text)-psaSignature- = lens _psaSignature (\ s a -> s{_psaSignature = a})---- | The cryptographic fingerprint of the key used to generate the signature,--- as output by, e.g. \`gpg --list-keys\`. This should be the version 4,--- full 160-bit fingerprint, expressed as a 40 character hexidecimal--- string. See https:\/\/tools.ietf.org\/html\/rfc4880#section-12.2 for--- details. Implementations may choose to acknowledge \"LONG\", \"SHORT\",--- or other abbreviated key IDs, but only the full fingerprint is--- guaranteed to work. In gpg, the full fingerprint can be retrieved from--- the \`fpr\` field returned when calling --list-keys with --with-colons.--- For example: \`\`\` gpg --with-colons --with-fingerprint--- --force-v4-certs \\ --list-keys attester\'example.com--- tru::1:1513631572:0:3:1:5 pub:......--- fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: \`\`\` Above, the--- fingerprint is \`24FF6481B76AC91E66A00AC657A93A81EF3AE6FB\`.-psaPgpKeyId :: Lens' PgpSignedAttestation (Maybe Text)-psaPgpKeyId- = lens _psaPgpKeyId (\ s a -> s{_psaPgpKeyId = a})---- | Type (for example schema) of the attestation payload that was signed.--- The verifier must ensure that the provided type is one that the verifier--- supports, and that the attestation payload is a valid instantiation of--- that type (for example by validating a JSON schema).-psaContentType :: Lens' PgpSignedAttestation (Maybe PgpSignedAttestationContentType)-psaContentType- = lens _psaContentType- (\ s a -> s{_psaContentType = a})--instance FromJSON PgpSignedAttestation where- parseJSON- = withObject "PgpSignedAttestation"- (\ o ->- PgpSignedAttestation' <$>- (o .:? "signature") <*> (o .:? "pgpKeyId") <*>- (o .:? "contentType"))--instance ToJSON PgpSignedAttestation where- toJSON PgpSignedAttestation'{..}- = object- (catMaybes- [("signature" .=) <$> _psaSignature,- ("pgpKeyId" .=) <$> _psaPgpKeyId,- ("contentType" .=) <$> _psaContentType])------- /See:/ 'windowsDetail' smart constructor.-data WindowsDetail =- WindowsDetail'- { _wdName :: !(Maybe Text)- , _wdFixingKbs :: !(Maybe [KnowledgeBase])- , _wdCpeURI :: !(Maybe Text)- , _wdDescription :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WindowsDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wdName'------ * 'wdFixingKbs'------ * 'wdCpeURI'------ * 'wdDescription'-windowsDetail- :: WindowsDetail-windowsDetail =- WindowsDetail'- { _wdName = Nothing- , _wdFixingKbs = Nothing- , _wdCpeURI = Nothing- , _wdDescription = Nothing- }----- | Required. The name of the vulnerability.-wdName :: Lens' WindowsDetail (Maybe Text)-wdName = lens _wdName (\ s a -> s{_wdName = a})---- | Required. The names of the KBs which have hotfixes to mitigate this--- vulnerability. Note that there may be multiple hotfixes (and thus--- multiple KBs) that mitigate a given vulnerability. Currently any listed--- kb\'s presence is considered a fix.-wdFixingKbs :: Lens' WindowsDetail [KnowledgeBase]-wdFixingKbs- = lens _wdFixingKbs (\ s a -> s{_wdFixingKbs = a}) .- _Default- . _Coerce---- | Required. The CPE URI in [cpe--- format](https:\/\/cpe.mitre.org\/specification\/) in which the--- vulnerability manifests. Examples include distro or storage location for--- vulnerable jar.-wdCpeURI :: Lens' WindowsDetail (Maybe Text)-wdCpeURI = lens _wdCpeURI (\ s a -> s{_wdCpeURI = a})---- | The description of the vulnerability.-wdDescription :: Lens' WindowsDetail (Maybe Text)-wdDescription- = lens _wdDescription- (\ s a -> s{_wdDescription = a})--instance FromJSON WindowsDetail where- parseJSON- = withObject "WindowsDetail"- (\ o ->- WindowsDetail' <$>- (o .:? "name") <*> (o .:? "fixingKbs" .!= mempty) <*>- (o .:? "cpeUri")- <*> (o .:? "description"))--instance ToJSON WindowsDetail where- toJSON WindowsDetail'{..}- = object- (catMaybes- [("name" .=) <$> _wdName,- ("fixingKbs" .=) <$> _wdFixingKbs,- ("cpeUri" .=) <$> _wdCpeURI,- ("description" .=) <$> _wdDescription])---- | The notes to create. Max allowed length is 1000.------ /See:/ 'batchCreateNotesRequestNotes' smart constructor.-newtype BatchCreateNotesRequestNotes =- BatchCreateNotesRequestNotes'- { _bcnrnAddtional :: HashMap Text Note- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchCreateNotesRequestNotes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bcnrnAddtional'-batchCreateNotesRequestNotes- :: HashMap Text Note -- ^ 'bcnrnAddtional'- -> BatchCreateNotesRequestNotes-batchCreateNotesRequestNotes pBcnrnAddtional_ =- BatchCreateNotesRequestNotes' {_bcnrnAddtional = _Coerce # pBcnrnAddtional_}---bcnrnAddtional :: Lens' BatchCreateNotesRequestNotes (HashMap Text Note)-bcnrnAddtional- = lens _bcnrnAddtional- (\ s a -> s{_bcnrnAddtional = a})- . _Coerce--instance FromJSON BatchCreateNotesRequestNotes where- parseJSON- = withObject "BatchCreateNotesRequestNotes"- (\ o ->- BatchCreateNotesRequestNotes' <$>- (parseJSONObject o))--instance ToJSON BatchCreateNotesRequestNotes where- toJSON = toJSON . _bcnrnAddtional---- | An alias to a repo revision.------ /See:/ 'aliasContext' smart constructor.-data AliasContext =- AliasContext'- { _acKind :: !(Maybe AliasContextKind)- , _acName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AliasContext' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acKind'------ * 'acName'-aliasContext- :: AliasContext-aliasContext = AliasContext' {_acKind = Nothing, _acName = Nothing}----- | The alias kind.-acKind :: Lens' AliasContext (Maybe AliasContextKind)-acKind = lens _acKind (\ s a -> s{_acKind = a})---- | The alias name.-acName :: Lens' AliasContext (Maybe Text)-acName = lens _acName (\ s a -> s{_acName = a})--instance FromJSON AliasContext where- parseJSON- = withObject "AliasContext"- (\ o ->- AliasContext' <$> (o .:? "kind") <*> (o .:? "name"))--instance ToJSON AliasContext where- toJSON AliasContext'{..}- = object- (catMaybes- [("kind" .=) <$> _acKind, ("name" .=) <$> _acName])---- | Associates \`members\` with a \`role\`.------ /See:/ 'binding' smart constructor.-data Binding =- Binding'- { _bMembers :: !(Maybe [Text])- , _bRole :: !(Maybe Text)- , _bCondition :: !(Maybe Expr)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Binding' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bMembers'------ * 'bRole'------ * 'bCondition'-binding- :: Binding-binding =- Binding' {_bMembers = Nothing, _bRole = Nothing, _bCondition = Nothing}----- | Specifies the identities requesting access for a Cloud Platform--- resource. \`members\` can have the following values: * \`allUsers\`: A--- special identifier that represents anyone who is on the internet; with--- or without a Google account. * \`allAuthenticatedUsers\`: A special--- identifier that represents anyone who is authenticated with a Google--- account or a service account. * \`user:{emailid}\`: An email address--- that represents a specific Google account. For example,--- \`alice\'gmail.com\` . * \`serviceAccount:{emailid}\`: An email address--- that represents a service account. For example,--- \`my-other-app\'appspot.gserviceaccount.com\`. * \`group:{emailid}\`: An--- email address that represents a Google group. For example,--- \`admins\'example.com\`. * \`domain:{domain}\`: The G Suite domain--- (primary) that represents all the users of that domain. For example,--- \`google.com\` or \`example.com\`.-bMembers :: Lens' Binding [Text]-bMembers- = lens _bMembers (\ s a -> s{_bMembers = a}) .- _Default- . _Coerce---- | Role that is assigned to \`members\`. For example, \`roles\/viewer\`,--- \`roles\/editor\`, or \`roles\/owner\`.-bRole :: Lens' Binding (Maybe Text)-bRole = lens _bRole (\ s a -> s{_bRole = a})---- | The condition that is associated with this binding. NOTE: An unsatisfied--- condition will not allow user access via current binding. Different--- bindings, including their conditions, are examined independently.-bCondition :: Lens' Binding (Maybe Expr)-bCondition- = lens _bCondition (\ s a -> s{_bCondition = a})--instance FromJSON Binding where- parseJSON- = withObject "Binding"- (\ o ->- Binding' <$>- (o .:? "members" .!= mempty) <*> (o .:? "role") <*>- (o .:? "condition"))--instance ToJSON Binding where- toJSON Binding'{..}- = object- (catMaybes- [("members" .=) <$> _bMembers,- ("role" .=) <$> _bRole,- ("condition" .=) <$> _bCondition])---- | Identifies all appearances of this vulnerability in the package for a--- specific distro\/location. For example: glibc in--- cpe:\/o:debian:debian_linux:8 for versions 2.1 - 2.2------ /See:/ 'detail' smart constructor.-data Detail =- Detail'- { _detMinAffectedVersion :: !(Maybe Version)- , _detPackageType :: !(Maybe Text)- , _detIsObsolete :: !(Maybe Bool)- , _detFixedLocation :: !(Maybe VulnerabilityLocation)- , _detSeverityName :: !(Maybe Text)- , _detMaxAffectedVersion :: !(Maybe Version)- , _detPackage :: !(Maybe Text)- , _detCpeURI :: !(Maybe Text)- , _detDescription :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Detail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'detMinAffectedVersion'------ * 'detPackageType'------ * 'detIsObsolete'------ * 'detFixedLocation'------ * 'detSeverityName'------ * 'detMaxAffectedVersion'------ * 'detPackage'------ * 'detCpeURI'------ * 'detDescription'-detail- :: Detail-detail =- Detail'- { _detMinAffectedVersion = Nothing- , _detPackageType = Nothing- , _detIsObsolete = Nothing- , _detFixedLocation = Nothing- , _detSeverityName = Nothing- , _detMaxAffectedVersion = Nothing- , _detPackage = Nothing- , _detCpeURI = Nothing- , _detDescription = Nothing- }----- | The min version of the package in which the vulnerability exists.-detMinAffectedVersion :: Lens' Detail (Maybe Version)-detMinAffectedVersion- = lens _detMinAffectedVersion- (\ s a -> s{_detMinAffectedVersion = a})---- | The type of package; whether native or non native(ruby gems, node.js--- packages etc).-detPackageType :: Lens' Detail (Maybe Text)-detPackageType- = lens _detPackageType- (\ s a -> s{_detPackageType = a})---- | Whether this detail is obsolete. Occurrences are expected not to point--- to obsolete details.-detIsObsolete :: Lens' Detail (Maybe Bool)-detIsObsolete- = lens _detIsObsolete- (\ s a -> s{_detIsObsolete = a})---- | The fix for this specific package version.-detFixedLocation :: Lens' Detail (Maybe VulnerabilityLocation)-detFixedLocation- = lens _detFixedLocation- (\ s a -> s{_detFixedLocation = a})---- | The severity (eg: distro assigned severity) for this vulnerability.-detSeverityName :: Lens' Detail (Maybe Text)-detSeverityName- = lens _detSeverityName- (\ s a -> s{_detSeverityName = a})---- | The max version of the package in which the vulnerability exists.-detMaxAffectedVersion :: Lens' Detail (Maybe Version)-detMaxAffectedVersion- = lens _detMaxAffectedVersion- (\ s a -> s{_detMaxAffectedVersion = a})---- | Required. The name of the package where the vulnerability was found.-detPackage :: Lens' Detail (Maybe Text)-detPackage- = lens _detPackage (\ s a -> s{_detPackage = a})---- | Required. The CPE URI in [cpe--- format](https:\/\/cpe.mitre.org\/specification\/) in which the--- vulnerability manifests. Examples include distro or storage location for--- vulnerable jar.-detCpeURI :: Lens' Detail (Maybe Text)-detCpeURI- = lens _detCpeURI (\ s a -> s{_detCpeURI = a})---- | A vendor-specific description of this note.-detDescription :: Lens' Detail (Maybe Text)-detDescription- = lens _detDescription- (\ s a -> s{_detDescription = a})--instance FromJSON Detail where- parseJSON- = withObject "Detail"- (\ o ->- Detail' <$>- (o .:? "minAffectedVersion") <*>- (o .:? "packageType")- <*> (o .:? "isObsolete")- <*> (o .:? "fixedLocation")- <*> (o .:? "severityName")- <*> (o .:? "maxAffectedVersion")- <*> (o .:? "package")- <*> (o .:? "cpeUri")- <*> (o .:? "description"))--instance ToJSON Detail where- toJSON Detail'{..}- = object- (catMaybes- [("minAffectedVersion" .=) <$>- _detMinAffectedVersion,- ("packageType" .=) <$> _detPackageType,- ("isObsolete" .=) <$> _detIsObsolete,- ("fixedLocation" .=) <$> _detFixedLocation,- ("severityName" .=) <$> _detSeverityName,- ("maxAffectedVersion" .=) <$> _detMaxAffectedVersion,- ("package" .=) <$> _detPackage,- ("cpeUri" .=) <$> _detCpeURI,- ("description" .=) <$> _detDescription])---- | Note kind that represents a logical attestation \"role\" or--- \"authority\". For example, an organization might have one \`Authority\`--- for \"QA\" and one for \"build\". This note is intended to act strictly--- as a grouping mechanism for the attached occurrences (Attestations).--- This grouping mechanism also provides a security boundary, since IAM--- ACLs gate the ability for a principle to attach an occurrence to a given--- note. It also provides a single point of lookup to find all attached--- attestation occurrences, even if they don\'t all live in the same--- project.------ /See:/ 'authority' smart constructor.-newtype Authority =- Authority'- { _aHint :: Maybe Hint- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Authority' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aHint'-authority- :: Authority-authority = Authority' {_aHint = Nothing}----- | Hint hints at the purpose of the attestation authority.-aHint :: Lens' Authority (Maybe Hint)-aHint = lens _aHint (\ s a -> s{_aHint = a})--instance FromJSON Authority where- parseJSON- = withObject "Authority"- (\ o -> Authority' <$> (o .:? "hint"))--instance ToJSON Authority where- toJSON Authority'{..}- = object (catMaybes [("hint" .=) <$> _aHint])---- | Details of a package occurrence.------ /See:/ 'grafeasV1beta1PackageDetails' smart constructor.-newtype GrafeasV1beta1PackageDetails =- GrafeasV1beta1PackageDetails'- { _gvpdInstallation :: Maybe Installation- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GrafeasV1beta1PackageDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gvpdInstallation'-grafeasV1beta1PackageDetails- :: GrafeasV1beta1PackageDetails-grafeasV1beta1PackageDetails =- GrafeasV1beta1PackageDetails' {_gvpdInstallation = Nothing}----- | Required. Where the package was installed.-gvpdInstallation :: Lens' GrafeasV1beta1PackageDetails (Maybe Installation)-gvpdInstallation- = lens _gvpdInstallation- (\ s a -> s{_gvpdInstallation = a})--instance FromJSON GrafeasV1beta1PackageDetails where- parseJSON- = withObject "GrafeasV1beta1PackageDetails"- (\ o ->- GrafeasV1beta1PackageDetails' <$>- (o .:? "installation"))--instance ToJSON GrafeasV1beta1PackageDetails where- toJSON GrafeasV1beta1PackageDetails'{..}- = object- (catMaybes- [("installation" .=) <$> _gvpdInstallation])---- | The period during which some deployable was active in a runtime.------ /See:/ 'deployment' smart constructor.-data Deployment =- Deployment'- { _depResourceURI :: !(Maybe [Text])- , _depPlatform :: !(Maybe DeploymentPlatform)- , _depConfig :: !(Maybe Text)- , _depUndeployTime :: !(Maybe DateTime')- , _depDeployTime :: !(Maybe DateTime')- , _depAddress :: !(Maybe Text)- , _depUserEmail :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Deployment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'depResourceURI'------ * 'depPlatform'------ * 'depConfig'------ * 'depUndeployTime'------ * 'depDeployTime'------ * 'depAddress'------ * 'depUserEmail'-deployment- :: Deployment-deployment =- Deployment'- { _depResourceURI = Nothing- , _depPlatform = Nothing- , _depConfig = Nothing- , _depUndeployTime = Nothing- , _depDeployTime = Nothing- , _depAddress = Nothing- , _depUserEmail = Nothing- }----- | Output only. Resource URI for the artifact being deployed taken from the--- deployable field with the same name.-depResourceURI :: Lens' Deployment [Text]-depResourceURI- = lens _depResourceURI- (\ s a -> s{_depResourceURI = a})- . _Default- . _Coerce---- | Platform hosting this deployment.-depPlatform :: Lens' Deployment (Maybe DeploymentPlatform)-depPlatform- = lens _depPlatform (\ s a -> s{_depPlatform = a})---- | Configuration used to create this deployment.-depConfig :: Lens' Deployment (Maybe Text)-depConfig- = lens _depConfig (\ s a -> s{_depConfig = a})---- | End of the lifetime of this deployment.-depUndeployTime :: Lens' Deployment (Maybe UTCTime)-depUndeployTime- = lens _depUndeployTime- (\ s a -> s{_depUndeployTime = a})- . mapping _DateTime---- | Required. Beginning of the lifetime of this deployment.-depDeployTime :: Lens' Deployment (Maybe UTCTime)-depDeployTime- = lens _depDeployTime- (\ s a -> s{_depDeployTime = a})- . mapping _DateTime---- | Address of the runtime element hosting this deployment.-depAddress :: Lens' Deployment (Maybe Text)-depAddress- = lens _depAddress (\ s a -> s{_depAddress = a})---- | Identity of the user that triggered this deployment.-depUserEmail :: Lens' Deployment (Maybe Text)-depUserEmail- = lens _depUserEmail (\ s a -> s{_depUserEmail = a})--instance FromJSON Deployment where- parseJSON- = withObject "Deployment"- (\ o ->- Deployment' <$>- (o .:? "resourceUri" .!= mempty) <*>- (o .:? "platform")- <*> (o .:? "config")- <*> (o .:? "undeployTime")- <*> (o .:? "deployTime")- <*> (o .:? "address")- <*> (o .:? "userEmail"))--instance ToJSON Deployment where- toJSON Deployment'{..}- = object- (catMaybes- [("resourceUri" .=) <$> _depResourceURI,- ("platform" .=) <$> _depPlatform,- ("config" .=) <$> _depConfig,- ("undeployTime" .=) <$> _depUndeployTime,- ("deployTime" .=) <$> _depDeployTime,- ("address" .=) <$> _depAddress,- ("userEmail" .=) <$> _depUserEmail])
− gen/Network/Google/ContainerAnalysis/Types/Sum.hs
@@ -1,1217 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.ContainerAnalysis.Types.Sum--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.ContainerAnalysis.Types.Sum where--import Network.Google.Prelude hiding (Bytes)---- | Required. The recovered Dockerfile directive used to construct this--- layer.-data LayerDirective- = DirectiveUnspecified- -- ^ @DIRECTIVE_UNSPECIFIED@- -- Default value for unsupported\/missing directive.- | Maintainer- -- ^ @MAINTAINER@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Run- -- ^ @RUN@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Cmd- -- ^ @CMD@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Label- -- ^ @LABEL@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Expose- -- ^ @EXPOSE@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Env- -- ^ @ENV@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Add- -- ^ @ADD@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Copy- -- ^ @COPY@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Entrypoint- -- ^ @ENTRYPOINT@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Volume- -- ^ @VOLUME@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | User- -- ^ @USER@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Workdir- -- ^ @WORKDIR@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Arg- -- ^ @ARG@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Onbuild- -- ^ @ONBUILD@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Stopsignal- -- ^ @STOPSIGNAL@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Healthcheck- -- ^ @HEALTHCHECK@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- | Shell- -- ^ @SHELL@- -- https:\/\/docs.docker.com\/engine\/reference\/builder\/- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable LayerDirective--instance FromHttpApiData LayerDirective where- parseQueryParam = \case- "DIRECTIVE_UNSPECIFIED" -> Right DirectiveUnspecified- "MAINTAINER" -> Right Maintainer- "RUN" -> Right Run- "CMD" -> Right Cmd- "LABEL" -> Right Label- "EXPOSE" -> Right Expose- "ENV" -> Right Env- "ADD" -> Right Add- "COPY" -> Right Copy- "ENTRYPOINT" -> Right Entrypoint- "VOLUME" -> Right Volume- "USER" -> Right User- "WORKDIR" -> Right Workdir- "ARG" -> Right Arg- "ONBUILD" -> Right Onbuild- "STOPSIGNAL" -> Right Stopsignal- "HEALTHCHECK" -> Right Healthcheck- "SHELL" -> Right Shell- x -> Left ("Unable to parse LayerDirective from: " <> x)--instance ToHttpApiData LayerDirective where- toQueryParam = \case- DirectiveUnspecified -> "DIRECTIVE_UNSPECIFIED"- Maintainer -> "MAINTAINER"- Run -> "RUN"- Cmd -> "CMD"- Label -> "LABEL"- Expose -> "EXPOSE"- Env -> "ENV"- Add -> "ADD"- Copy -> "COPY"- Entrypoint -> "ENTRYPOINT"- Volume -> "VOLUME"- User -> "USER"- Workdir -> "WORKDIR"- Arg -> "ARG"- Onbuild -> "ONBUILD"- Stopsignal -> "STOPSIGNAL"- Healthcheck -> "HEALTHCHECK"- Shell -> "SHELL"--instance FromJSON LayerDirective where- parseJSON = parseJSONText "LayerDirective"--instance ToJSON LayerDirective where- toJSON = toJSONText--data CVSSv3AttackComplexity- = AttackComplexityUnspecified- -- ^ @ATTACK_COMPLEXITY_UNSPECIFIED@- | AttackComplexityLow- -- ^ @ATTACK_COMPLEXITY_LOW@- | AttackComplexityHigh- -- ^ @ATTACK_COMPLEXITY_HIGH@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3AttackComplexity--instance FromHttpApiData CVSSv3AttackComplexity where- parseQueryParam = \case- "ATTACK_COMPLEXITY_UNSPECIFIED" -> Right AttackComplexityUnspecified- "ATTACK_COMPLEXITY_LOW" -> Right AttackComplexityLow- "ATTACK_COMPLEXITY_HIGH" -> Right AttackComplexityHigh- x -> Left ("Unable to parse CVSSv3AttackComplexity from: " <> x)--instance ToHttpApiData CVSSv3AttackComplexity where- toQueryParam = \case- AttackComplexityUnspecified -> "ATTACK_COMPLEXITY_UNSPECIFIED"- AttackComplexityLow -> "ATTACK_COMPLEXITY_LOW"- AttackComplexityHigh -> "ATTACK_COMPLEXITY_HIGH"--instance FromJSON CVSSv3AttackComplexity where- parseJSON = parseJSONText "CVSSv3AttackComplexity"--instance ToJSON CVSSv3AttackComplexity where- toJSON = toJSONText---- | The status of discovery for the resource.-data DiscoveredAnalysisStatus- = AnalysisStatusUnspecified- -- ^ @ANALYSIS_STATUS_UNSPECIFIED@- -- Unknown.- | Pending- -- ^ @PENDING@- -- Resource is known but no action has been taken yet.- | Scanning- -- ^ @SCANNING@- -- Resource is being analyzed.- | FinishedSuccess- -- ^ @FINISHED_SUCCESS@- -- Analysis has finished successfully.- | FinishedFailed- -- ^ @FINISHED_FAILED@- -- Analysis has finished unsuccessfully, the analysis itself is in a bad- -- state.- | FinishedUnsupported- -- ^ @FINISHED_UNSUPPORTED@- -- The resource is known not to be supported- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DiscoveredAnalysisStatus--instance FromHttpApiData DiscoveredAnalysisStatus where- parseQueryParam = \case- "ANALYSIS_STATUS_UNSPECIFIED" -> Right AnalysisStatusUnspecified- "PENDING" -> Right Pending- "SCANNING" -> Right Scanning- "FINISHED_SUCCESS" -> Right FinishedSuccess- "FINISHED_FAILED" -> Right FinishedFailed- "FINISHED_UNSUPPORTED" -> Right FinishedUnsupported- x -> Left ("Unable to parse DiscoveredAnalysisStatus from: " <> x)--instance ToHttpApiData DiscoveredAnalysisStatus where- toQueryParam = \case- AnalysisStatusUnspecified -> "ANALYSIS_STATUS_UNSPECIFIED"- Pending -> "PENDING"- Scanning -> "SCANNING"- FinishedSuccess -> "FINISHED_SUCCESS"- FinishedFailed -> "FINISHED_FAILED"- FinishedUnsupported -> "FINISHED_UNSUPPORTED"--instance FromJSON DiscoveredAnalysisStatus where- parseJSON = parseJSONText "DiscoveredAnalysisStatus"--instance ToJSON DiscoveredAnalysisStatus where- toJSON = toJSONText---- | Output only. The note provider assigned Severity of the vulnerability.-data GrafeasV1beta1VulnerabilityDetailsSeverity- = SeverityUnspecified- -- ^ @SEVERITY_UNSPECIFIED@- -- Unknown.- | Minimal- -- ^ @MINIMAL@- -- Minimal severity.- | Low- -- ^ @LOW@- -- Low severity.- | Medium- -- ^ @MEDIUM@- -- Medium severity.- | High- -- ^ @HIGH@- -- High severity.- | Critical- -- ^ @CRITICAL@- -- Critical severity.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GrafeasV1beta1VulnerabilityDetailsSeverity--instance FromHttpApiData GrafeasV1beta1VulnerabilityDetailsSeverity where- parseQueryParam = \case- "SEVERITY_UNSPECIFIED" -> Right SeverityUnspecified- "MINIMAL" -> Right Minimal- "LOW" -> Right Low- "MEDIUM" -> Right Medium- "HIGH" -> Right High- "CRITICAL" -> Right Critical- x -> Left ("Unable to parse GrafeasV1beta1VulnerabilityDetailsSeverity from: " <> x)--instance ToHttpApiData GrafeasV1beta1VulnerabilityDetailsSeverity where- toQueryParam = \case- SeverityUnspecified -> "SEVERITY_UNSPECIFIED"- Minimal -> "MINIMAL"- Low -> "LOW"- Medium -> "MEDIUM"- High -> "HIGH"- Critical -> "CRITICAL"--instance FromJSON GrafeasV1beta1VulnerabilityDetailsSeverity where- parseJSON = parseJSONText "GrafeasV1beta1VulnerabilityDetailsSeverity"--instance ToJSON GrafeasV1beta1VulnerabilityDetailsSeverity where- toJSON = toJSONText---- | Output only. This explicitly denotes which of the occurrence details are--- specified. This field can be used as a filter in list requests.-data OccurrenceKind- = OKNoteKindUnspecified- -- ^ @NOTE_KIND_UNSPECIFIED@- -- Unknown.- | OKVulnerability- -- ^ @VULNERABILITY@- -- The note and occurrence represent a package vulnerability.- | OKBuild- -- ^ @BUILD@- -- The note and occurrence assert build provenance.- | OKImage- -- ^ @IMAGE@- -- This represents an image basis relationship.- | OKPackage- -- ^ @PACKAGE@- -- This represents a package installed via a package manager.- | OKDeployment- -- ^ @DEPLOYMENT@- -- The note and occurrence track deployment events.- | OKDiscovery- -- ^ @DISCOVERY@- -- The note and occurrence track the initial discovery status of a- -- resource.- | OKAttestation- -- ^ @ATTESTATION@- -- This represents a logical \"role\" that can attest to artifacts.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable OccurrenceKind--instance FromHttpApiData OccurrenceKind where- parseQueryParam = \case- "NOTE_KIND_UNSPECIFIED" -> Right OKNoteKindUnspecified- "VULNERABILITY" -> Right OKVulnerability- "BUILD" -> Right OKBuild- "IMAGE" -> Right OKImage- "PACKAGE" -> Right OKPackage- "DEPLOYMENT" -> Right OKDeployment- "DISCOVERY" -> Right OKDiscovery- "ATTESTATION" -> Right OKAttestation- x -> Left ("Unable to parse OccurrenceKind from: " <> x)--instance ToHttpApiData OccurrenceKind where- toQueryParam = \case- OKNoteKindUnspecified -> "NOTE_KIND_UNSPECIFIED"- OKVulnerability -> "VULNERABILITY"- OKBuild -> "BUILD"- OKImage -> "IMAGE"- OKPackage -> "PACKAGE"- OKDeployment -> "DEPLOYMENT"- OKDiscovery -> "DISCOVERY"- OKAttestation -> "ATTESTATION"--instance FromJSON OccurrenceKind where- parseJSON = parseJSONText "OccurrenceKind"--instance ToJSON OccurrenceKind where- toJSON = toJSONText---- | Note provider assigned impact of the vulnerability.-data VulnerabilitySeverity- = VSSeverityUnspecified- -- ^ @SEVERITY_UNSPECIFIED@- -- Unknown.- | VSMinimal- -- ^ @MINIMAL@- -- Minimal severity.- | VSLow- -- ^ @LOW@- -- Low severity.- | VSMedium- -- ^ @MEDIUM@- -- Medium severity.- | VSHigh- -- ^ @HIGH@- -- High severity.- | VSCritical- -- ^ @CRITICAL@- -- Critical severity.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable VulnerabilitySeverity--instance FromHttpApiData VulnerabilitySeverity where- parseQueryParam = \case- "SEVERITY_UNSPECIFIED" -> Right VSSeverityUnspecified- "MINIMAL" -> Right VSMinimal- "LOW" -> Right VSLow- "MEDIUM" -> Right VSMedium- "HIGH" -> Right VSHigh- "CRITICAL" -> Right VSCritical- x -> Left ("Unable to parse VulnerabilitySeverity from: " <> x)--instance ToHttpApiData VulnerabilitySeverity where- toQueryParam = \case- VSSeverityUnspecified -> "SEVERITY_UNSPECIFIED"- VSMinimal -> "MINIMAL"- VSLow -> "LOW"- VSMedium -> "MEDIUM"- VSHigh -> "HIGH"- VSCritical -> "CRITICAL"--instance FromJSON VulnerabilitySeverity where- parseJSON = parseJSONText "VulnerabilitySeverity"--instance ToJSON VulnerabilitySeverity where- toJSON = toJSONText--data CVSSv3IntegrityImpact- = ImpactUnspecified- -- ^ @IMPACT_UNSPECIFIED@- | ImpactHigh- -- ^ @IMPACT_HIGH@- | ImpactLow- -- ^ @IMPACT_LOW@- | ImpactNone- -- ^ @IMPACT_NONE@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3IntegrityImpact--instance FromHttpApiData CVSSv3IntegrityImpact where- parseQueryParam = \case- "IMPACT_UNSPECIFIED" -> Right ImpactUnspecified- "IMPACT_HIGH" -> Right ImpactHigh- "IMPACT_LOW" -> Right ImpactLow- "IMPACT_NONE" -> Right ImpactNone- x -> Left ("Unable to parse CVSSv3IntegrityImpact from: " <> x)--instance ToHttpApiData CVSSv3IntegrityImpact where- toQueryParam = \case- ImpactUnspecified -> "IMPACT_UNSPECIFIED"- ImpactHigh -> "IMPACT_HIGH"- ImpactLow -> "IMPACT_LOW"- ImpactNone -> "IMPACT_NONE"--instance FromJSON CVSSv3IntegrityImpact where- parseJSON = parseJSONText "CVSSv3IntegrityImpact"--instance ToJSON CVSSv3IntegrityImpact where- toJSON = toJSONText---- | Whether the resource is continuously analyzed.-data DiscoveredContinuousAnalysis- = ContinuousAnalysisUnspecified- -- ^ @CONTINUOUS_ANALYSIS_UNSPECIFIED@- -- Unknown.- | Active- -- ^ @ACTIVE@- -- The resource is continuously analyzed.- | Inactive- -- ^ @INACTIVE@- -- The resource is ignored for continuous analysis.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DiscoveredContinuousAnalysis--instance FromHttpApiData DiscoveredContinuousAnalysis where- parseQueryParam = \case- "CONTINUOUS_ANALYSIS_UNSPECIFIED" -> Right ContinuousAnalysisUnspecified- "ACTIVE" -> Right Active- "INACTIVE" -> Right Inactive- x -> Left ("Unable to parse DiscoveredContinuousAnalysis from: " <> x)--instance ToHttpApiData DiscoveredContinuousAnalysis where- toQueryParam = \case- ContinuousAnalysisUnspecified -> "CONTINUOUS_ANALYSIS_UNSPECIFIED"- Active -> "ACTIVE"- Inactive -> "INACTIVE"--instance FromJSON DiscoveredContinuousAnalysis where- parseJSON = parseJSONText "DiscoveredContinuousAnalysis"--instance ToJSON DiscoveredContinuousAnalysis where- toJSON = toJSONText--data CVSSv3PrivilegesRequired- = PrivilegesRequiredUnspecified- -- ^ @PRIVILEGES_REQUIRED_UNSPECIFIED@- | PrivilegesRequiredNone- -- ^ @PRIVILEGES_REQUIRED_NONE@- | PrivilegesRequiredLow- -- ^ @PRIVILEGES_REQUIRED_LOW@- | PrivilegesRequiredHigh- -- ^ @PRIVILEGES_REQUIRED_HIGH@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3PrivilegesRequired--instance FromHttpApiData CVSSv3PrivilegesRequired where- parseQueryParam = \case- "PRIVILEGES_REQUIRED_UNSPECIFIED" -> Right PrivilegesRequiredUnspecified- "PRIVILEGES_REQUIRED_NONE" -> Right PrivilegesRequiredNone- "PRIVILEGES_REQUIRED_LOW" -> Right PrivilegesRequiredLow- "PRIVILEGES_REQUIRED_HIGH" -> Right PrivilegesRequiredHigh- x -> Left ("Unable to parse CVSSv3PrivilegesRequired from: " <> x)--instance ToHttpApiData CVSSv3PrivilegesRequired where- toQueryParam = \case- PrivilegesRequiredUnspecified -> "PRIVILEGES_REQUIRED_UNSPECIFIED"- PrivilegesRequiredNone -> "PRIVILEGES_REQUIRED_NONE"- PrivilegesRequiredLow -> "PRIVILEGES_REQUIRED_LOW"- PrivilegesRequiredHigh -> "PRIVILEGES_REQUIRED_HIGH"--instance FromJSON CVSSv3PrivilegesRequired where- parseJSON = parseJSONText "CVSSv3PrivilegesRequired"--instance ToJSON CVSSv3PrivilegesRequired where- toJSON = toJSONText---- | Output only. The type of analysis. This field can be used as a filter in--- list requests.-data NoteKind- = NKNoteKindUnspecified- -- ^ @NOTE_KIND_UNSPECIFIED@- -- Unknown.- | NKVulnerability- -- ^ @VULNERABILITY@- -- The note and occurrence represent a package vulnerability.- | NKBuild- -- ^ @BUILD@- -- The note and occurrence assert build provenance.- | NKImage- -- ^ @IMAGE@- -- This represents an image basis relationship.- | NKPackage- -- ^ @PACKAGE@- -- This represents a package installed via a package manager.- | NKDeployment- -- ^ @DEPLOYMENT@- -- The note and occurrence track deployment events.- | NKDiscovery- -- ^ @DISCOVERY@- -- The note and occurrence track the initial discovery status of a- -- resource.- | NKAttestation- -- ^ @ATTESTATION@- -- This represents a logical \"role\" that can attest to artifacts.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable NoteKind--instance FromHttpApiData NoteKind where- parseQueryParam = \case- "NOTE_KIND_UNSPECIFIED" -> Right NKNoteKindUnspecified- "VULNERABILITY" -> Right NKVulnerability- "BUILD" -> Right NKBuild- "IMAGE" -> Right NKImage- "PACKAGE" -> Right NKPackage- "DEPLOYMENT" -> Right NKDeployment- "DISCOVERY" -> Right NKDiscovery- "ATTESTATION" -> Right NKAttestation- x -> Left ("Unable to parse NoteKind from: " <> x)--instance ToHttpApiData NoteKind where- toQueryParam = \case- NKNoteKindUnspecified -> "NOTE_KIND_UNSPECIFIED"- NKVulnerability -> "VULNERABILITY"- NKBuild -> "BUILD"- NKImage -> "IMAGE"- NKPackage -> "PACKAGE"- NKDeployment -> "DEPLOYMENT"- NKDiscovery -> "DISCOVERY"- NKAttestation -> "ATTESTATION"--instance FromJSON NoteKind where- parseJSON = parseJSONText "NoteKind"--instance ToJSON NoteKind where- toJSON = toJSONText--data CVSSv3UserInteraction- = UserInteractionUnspecified- -- ^ @USER_INTERACTION_UNSPECIFIED@- | UserInteractionNone- -- ^ @USER_INTERACTION_NONE@- | UserInteractionRequired- -- ^ @USER_INTERACTION_REQUIRED@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3UserInteraction--instance FromHttpApiData CVSSv3UserInteraction where- parseQueryParam = \case- "USER_INTERACTION_UNSPECIFIED" -> Right UserInteractionUnspecified- "USER_INTERACTION_NONE" -> Right UserInteractionNone- "USER_INTERACTION_REQUIRED" -> Right UserInteractionRequired- x -> Left ("Unable to parse CVSSv3UserInteraction from: " <> x)--instance ToHttpApiData CVSSv3UserInteraction where- toQueryParam = \case- UserInteractionUnspecified -> "USER_INTERACTION_UNSPECIFIED"- UserInteractionNone -> "USER_INTERACTION_NONE"- UserInteractionRequired -> "USER_INTERACTION_REQUIRED"--instance FromJSON CVSSv3UserInteraction where- parseJSON = parseJSONText "CVSSv3UserInteraction"--instance ToJSON CVSSv3UserInteraction where- toJSON = toJSONText---- | Platform hosting this deployment.-data DeploymentPlatform- = PlatformUnspecified- -- ^ @PLATFORM_UNSPECIFIED@- -- Unknown.- | Gke- -- ^ @GKE@- -- Google Container Engine.- | Flex- -- ^ @FLEX@- -- Google App Engine: Flexible Environment.- | Custom- -- ^ @CUSTOM@- -- Custom user-defined platform.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DeploymentPlatform--instance FromHttpApiData DeploymentPlatform where- parseQueryParam = \case- "PLATFORM_UNSPECIFIED" -> Right PlatformUnspecified- "GKE" -> Right Gke- "FLEX" -> Right Flex- "CUSTOM" -> Right Custom- x -> Left ("Unable to parse DeploymentPlatform from: " <> x)--instance ToHttpApiData DeploymentPlatform where- toQueryParam = \case- PlatformUnspecified -> "PLATFORM_UNSPECIFIED"- Gke -> "GKE"- Flex -> "FLEX"- Custom -> "CUSTOM"--instance FromJSON DeploymentPlatform where- parseJSON = parseJSONText "DeploymentPlatform"--instance ToJSON DeploymentPlatform where- toJSON = toJSONText---- | The distro assigned severity for this vulnerability when it is--- available, and note provider assigned severity when distro has not yet--- assigned a severity for this vulnerability.-data GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity- = GVVDESSeverityUnspecified- -- ^ @SEVERITY_UNSPECIFIED@- -- Unknown.- | GVVDESMinimal- -- ^ @MINIMAL@- -- Minimal severity.- | GVVDESLow- -- ^ @LOW@- -- Low severity.- | GVVDESMedium- -- ^ @MEDIUM@- -- Medium severity.- | GVVDESHigh- -- ^ @HIGH@- -- High severity.- | GVVDESCritical- -- ^ @CRITICAL@- -- Critical severity.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity--instance FromHttpApiData GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity where- parseQueryParam = \case- "SEVERITY_UNSPECIFIED" -> Right GVVDESSeverityUnspecified- "MINIMAL" -> Right GVVDESMinimal- "LOW" -> Right GVVDESLow- "MEDIUM" -> Right GVVDESMedium- "HIGH" -> Right GVVDESHigh- "CRITICAL" -> Right GVVDESCritical- x -> Left ("Unable to parse GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity from: " <> x)--instance ToHttpApiData GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity where- toQueryParam = \case- GVVDESSeverityUnspecified -> "SEVERITY_UNSPECIFIED"- GVVDESMinimal -> "MINIMAL"- GVVDESLow -> "LOW"- GVVDESMedium -> "MEDIUM"- GVVDESHigh -> "HIGH"- GVVDESCritical -> "CRITICAL"--instance FromJSON GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity where- parseJSON = parseJSONText "GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity"--instance ToJSON GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity where- toJSON = toJSONText---- | Base Metrics Represents the intrinsic characteristics of a vulnerability--- that are constant over time and across user environments.-data CVSSv3AttackVector- = AttackVectorUnspecified- -- ^ @ATTACK_VECTOR_UNSPECIFIED@- | AttackVectorNetwork- -- ^ @ATTACK_VECTOR_NETWORK@- | AttackVectorAdjacent- -- ^ @ATTACK_VECTOR_ADJACENT@- | AttackVectorLocal- -- ^ @ATTACK_VECTOR_LOCAL@- | AttackVectorPhysical- -- ^ @ATTACK_VECTOR_PHYSICAL@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3AttackVector--instance FromHttpApiData CVSSv3AttackVector where- parseQueryParam = \case- "ATTACK_VECTOR_UNSPECIFIED" -> Right AttackVectorUnspecified- "ATTACK_VECTOR_NETWORK" -> Right AttackVectorNetwork- "ATTACK_VECTOR_ADJACENT" -> Right AttackVectorAdjacent- "ATTACK_VECTOR_LOCAL" -> Right AttackVectorLocal- "ATTACK_VECTOR_PHYSICAL" -> Right AttackVectorPhysical- x -> Left ("Unable to parse CVSSv3AttackVector from: " <> x)--instance ToHttpApiData CVSSv3AttackVector where- toQueryParam = \case- AttackVectorUnspecified -> "ATTACK_VECTOR_UNSPECIFIED"- AttackVectorNetwork -> "ATTACK_VECTOR_NETWORK"- AttackVectorAdjacent -> "ATTACK_VECTOR_ADJACENT"- AttackVectorLocal -> "ATTACK_VECTOR_LOCAL"- AttackVectorPhysical -> "ATTACK_VECTOR_PHYSICAL"--instance FromJSON CVSSv3AttackVector where- parseJSON = parseJSONText "CVSSv3AttackVector"--instance ToJSON CVSSv3AttackVector where- toJSON = toJSONText---- | Type (for example schema) of the attestation payload that was signed.--- The verifier must ensure that the provided type is one that the verifier--- supports, and that the attestation payload is a valid instantiation of--- that type (for example by validating a JSON schema).-data GenericSignedAttestationContentType- = ContentTypeUnspecified- -- ^ @CONTENT_TYPE_UNSPECIFIED@- -- \`ContentType\` is not set.- | SimpleSigningJSON- -- ^ @SIMPLE_SIGNING_JSON@- -- Atomic format attestation signature. See- -- https:\/\/github.com\/containers\/image\/blob\/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7\/docs\/atomic-signature.md- -- The payload extracted in \`plaintext\` is a JSON blob conforming to the- -- linked schema.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GenericSignedAttestationContentType--instance FromHttpApiData GenericSignedAttestationContentType where- parseQueryParam = \case- "CONTENT_TYPE_UNSPECIFIED" -> Right ContentTypeUnspecified- "SIMPLE_SIGNING_JSON" -> Right SimpleSigningJSON- x -> Left ("Unable to parse GenericSignedAttestationContentType from: " <> x)--instance ToHttpApiData GenericSignedAttestationContentType where- toQueryParam = \case- ContentTypeUnspecified -> "CONTENT_TYPE_UNSPECIFIED"- SimpleSigningJSON -> "SIMPLE_SIGNING_JSON"--instance FromJSON GenericSignedAttestationContentType where- parseJSON = parseJSONText "GenericSignedAttestationContentType"--instance ToJSON GenericSignedAttestationContentType where- toJSON = toJSONText--data CVSSv3ConfidentialityImpact- = CVSSCIImpactUnspecified- -- ^ @IMPACT_UNSPECIFIED@- | CVSSCIImpactHigh- -- ^ @IMPACT_HIGH@- | CVSSCIImpactLow- -- ^ @IMPACT_LOW@- | CVSSCIImpactNone- -- ^ @IMPACT_NONE@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3ConfidentialityImpact--instance FromHttpApiData CVSSv3ConfidentialityImpact where- parseQueryParam = \case- "IMPACT_UNSPECIFIED" -> Right CVSSCIImpactUnspecified- "IMPACT_HIGH" -> Right CVSSCIImpactHigh- "IMPACT_LOW" -> Right CVSSCIImpactLow- "IMPACT_NONE" -> Right CVSSCIImpactNone- x -> Left ("Unable to parse CVSSv3ConfidentialityImpact from: " <> x)--instance ToHttpApiData CVSSv3ConfidentialityImpact where- toQueryParam = \case- CVSSCIImpactUnspecified -> "IMPACT_UNSPECIFIED"- CVSSCIImpactHigh -> "IMPACT_HIGH"- CVSSCIImpactLow -> "IMPACT_LOW"- CVSSCIImpactNone -> "IMPACT_NONE"--instance FromJSON CVSSv3ConfidentialityImpact where- parseJSON = parseJSONText "CVSSv3ConfidentialityImpact"--instance ToJSON CVSSv3ConfidentialityImpact where- toJSON = toJSONText---- | The CPU architecture for which packages in this distribution channel--- were built.-data DistributionArchitecture- = ArchitectureUnspecified- -- ^ @ARCHITECTURE_UNSPECIFIED@- -- Unknown architecture.- | X86- -- ^ @X86@- -- X86 architecture.- | X64- -- ^ @X64@- -- X64 architecture.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DistributionArchitecture--instance FromHttpApiData DistributionArchitecture where- parseQueryParam = \case- "ARCHITECTURE_UNSPECIFIED" -> Right ArchitectureUnspecified- "X86" -> Right X86- "X64" -> Right X64- x -> Left ("Unable to parse DistributionArchitecture from: " <> x)--instance ToHttpApiData DistributionArchitecture where- toQueryParam = \case- ArchitectureUnspecified -> "ARCHITECTURE_UNSPECIFIED"- X86 -> "X86"- X64 -> "X64"--instance FromJSON DistributionArchitecture where- parseJSON = parseJSONText "DistributionArchitecture"--instance ToJSON DistributionArchitecture where- toJSON = toJSONText---- | The severity for this count. SEVERITY_UNSPECIFIED indicates total across--- all severities.-data FixableTotalByDigestSeverity- = FTBDSSeverityUnspecified- -- ^ @SEVERITY_UNSPECIFIED@- -- Unknown.- | FTBDSMinimal- -- ^ @MINIMAL@- -- Minimal severity.- | FTBDSLow- -- ^ @LOW@- -- Low severity.- | FTBDSMedium- -- ^ @MEDIUM@- -- Medium severity.- | FTBDSHigh- -- ^ @HIGH@- -- High severity.- | FTBDSCritical- -- ^ @CRITICAL@- -- Critical severity.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable FixableTotalByDigestSeverity--instance FromHttpApiData FixableTotalByDigestSeverity where- parseQueryParam = \case- "SEVERITY_UNSPECIFIED" -> Right FTBDSSeverityUnspecified- "MINIMAL" -> Right FTBDSMinimal- "LOW" -> Right FTBDSLow- "MEDIUM" -> Right FTBDSMedium- "HIGH" -> Right FTBDSHigh- "CRITICAL" -> Right FTBDSCritical- x -> Left ("Unable to parse FixableTotalByDigestSeverity from: " <> x)--instance ToHttpApiData FixableTotalByDigestSeverity where- toQueryParam = \case- FTBDSSeverityUnspecified -> "SEVERITY_UNSPECIFIED"- FTBDSMinimal -> "MINIMAL"- FTBDSLow -> "LOW"- FTBDSMedium -> "MEDIUM"- FTBDSHigh -> "HIGH"- FTBDSCritical -> "CRITICAL"--instance FromJSON FixableTotalByDigestSeverity where- parseJSON = parseJSONText "FixableTotalByDigestSeverity"--instance ToJSON FixableTotalByDigestSeverity where- toJSON = toJSONText---- | The log type that this config enables.-data AuditLogConfigLogType- = LogTypeUnspecified- -- ^ @LOG_TYPE_UNSPECIFIED@- -- Default case. Should never be this.- | AdminRead- -- ^ @ADMIN_READ@- -- Admin reads. Example: CloudIAM getIamPolicy- | DataWrite- -- ^ @DATA_WRITE@- -- Data writes. Example: CloudSQL Users create- | DataRead- -- ^ @DATA_READ@- -- Data reads. Example: CloudSQL Users list- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable AuditLogConfigLogType--instance FromHttpApiData AuditLogConfigLogType where- parseQueryParam = \case- "LOG_TYPE_UNSPECIFIED" -> Right LogTypeUnspecified- "ADMIN_READ" -> Right AdminRead- "DATA_WRITE" -> Right DataWrite- "DATA_READ" -> Right DataRead- x -> Left ("Unable to parse AuditLogConfigLogType from: " <> x)--instance ToHttpApiData AuditLogConfigLogType where- toQueryParam = \case- LogTypeUnspecified -> "LOG_TYPE_UNSPECIFIED"- AdminRead -> "ADMIN_READ"- DataWrite -> "DATA_WRITE"- DataRead -> "DATA_READ"--instance FromJSON AuditLogConfigLogType where- parseJSON = parseJSONText "AuditLogConfigLogType"--instance ToJSON AuditLogConfigLogType where- toJSON = toJSONText--data CVSSv3Scope- = ScopeUnspecified- -- ^ @SCOPE_UNSPECIFIED@- | ScopeUnchanged- -- ^ @SCOPE_UNCHANGED@- | ScopeChanged- -- ^ @SCOPE_CHANGED@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3Scope--instance FromHttpApiData CVSSv3Scope where- parseQueryParam = \case- "SCOPE_UNSPECIFIED" -> Right ScopeUnspecified- "SCOPE_UNCHANGED" -> Right ScopeUnchanged- "SCOPE_CHANGED" -> Right ScopeChanged- x -> Left ("Unable to parse CVSSv3Scope from: " <> x)--instance ToHttpApiData CVSSv3Scope where- toQueryParam = \case- ScopeUnspecified -> "SCOPE_UNSPECIFIED"- ScopeUnchanged -> "SCOPE_UNCHANGED"- ScopeChanged -> "SCOPE_CHANGED"--instance FromJSON CVSSv3Scope where- parseJSON = parseJSONText "CVSSv3Scope"--instance ToJSON CVSSv3Scope where- toJSON = toJSONText---- | Type (for example schema) of the attestation payload that was signed.--- The verifier must ensure that the provided type is one that the verifier--- supports, and that the attestation payload is a valid instantiation of--- that type (for example by validating a JSON schema).-data PgpSignedAttestationContentType- = PSACTContentTypeUnspecified- -- ^ @CONTENT_TYPE_UNSPECIFIED@- -- \`ContentType\` is not set.- | PSACTSimpleSigningJSON- -- ^ @SIMPLE_SIGNING_JSON@- -- Atomic format attestation signature. See- -- https:\/\/github.com\/containers\/image\/blob\/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7\/docs\/atomic-signature.md- -- The payload extracted from \`signature\` is a JSON blob conforming to- -- the linked schema.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable PgpSignedAttestationContentType--instance FromHttpApiData PgpSignedAttestationContentType where- parseQueryParam = \case- "CONTENT_TYPE_UNSPECIFIED" -> Right PSACTContentTypeUnspecified- "SIMPLE_SIGNING_JSON" -> Right PSACTSimpleSigningJSON- x -> Left ("Unable to parse PgpSignedAttestationContentType from: " <> x)--instance ToHttpApiData PgpSignedAttestationContentType where- toQueryParam = \case- PSACTContentTypeUnspecified -> "CONTENT_TYPE_UNSPECIFIED"- PSACTSimpleSigningJSON -> "SIMPLE_SIGNING_JSON"--instance FromJSON PgpSignedAttestationContentType where- parseJSON = parseJSONText "PgpSignedAttestationContentType"--instance ToJSON PgpSignedAttestationContentType where- toJSON = toJSONText---- | V1 error format.-data Xgafv- = X1- -- ^ @1@- -- v1 error format- | X2- -- ^ @2@- -- v2 error format- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable Xgafv--instance FromHttpApiData Xgafv where- parseQueryParam = \case- "1" -> Right X1- "2" -> Right X2- x -> Left ("Unable to parse Xgafv from: " <> x)--instance ToHttpApiData Xgafv where- toQueryParam = \case- X1 -> "1"- X2 -> "2"--instance FromJSON Xgafv where- parseJSON = parseJSONText "Xgafv"--instance ToJSON Xgafv where- toJSON = toJSONText---- | Required. Distinguishes between sentinel MIN\/MAX versions and normal--- versions.-data VersionKind- = VersionKindUnspecified- -- ^ @VERSION_KIND_UNSPECIFIED@- -- Unknown.- | Normal- -- ^ @NORMAL@- -- A standard package version.- | Minimum- -- ^ @MINIMUM@- -- A special version representing negative infinity.- | Maximum- -- ^ @MAXIMUM@- -- A special version representing positive infinity.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable VersionKind--instance FromHttpApiData VersionKind where- parseQueryParam = \case- "VERSION_KIND_UNSPECIFIED" -> Right VersionKindUnspecified- "NORMAL" -> Right Normal- "MINIMUM" -> Right Minimum- "MAXIMUM" -> Right Maximum- x -> Left ("Unable to parse VersionKind from: " <> x)--instance ToHttpApiData VersionKind where- toQueryParam = \case- VersionKindUnspecified -> "VERSION_KIND_UNSPECIFIED"- Normal -> "NORMAL"- Minimum -> "MINIMUM"- Maximum -> "MAXIMUM"--instance FromJSON VersionKind where- parseJSON = parseJSONText "VersionKind"--instance ToJSON VersionKind where- toJSON = toJSONText---- | Required. The type of hash that was performed.-data HashType- = HashTypeUnspecified- -- ^ @HASH_TYPE_UNSPECIFIED@- -- Unknown.- | SHA256- -- ^ @SHA256@- -- A SHA-256 hash.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable HashType--instance FromHttpApiData HashType where- parseQueryParam = \case- "HASH_TYPE_UNSPECIFIED" -> Right HashTypeUnspecified- "SHA256" -> Right SHA256- x -> Left ("Unable to parse HashType from: " <> x)--instance ToHttpApiData HashType where- toQueryParam = \case- HashTypeUnspecified -> "HASH_TYPE_UNSPECIFIED"- SHA256 -> "SHA256"--instance FromJSON HashType where- parseJSON = parseJSONText "HashType"--instance ToJSON HashType where- toJSON = toJSONText---- | The type of the key, either stored in \`public_key\` or referenced in--- \`key_id\`.-data BuildSignatureKeyType- = KeyTypeUnspecified- -- ^ @KEY_TYPE_UNSPECIFIED@- -- \`KeyType\` is not set.- | PgpAsciiArmored- -- ^ @PGP_ASCII_ARMORED@- -- \`PGP ASCII Armored\` public key.- | PkixPem- -- ^ @PKIX_PEM@- -- \`PKIX PEM\` public key.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable BuildSignatureKeyType--instance FromHttpApiData BuildSignatureKeyType where- parseQueryParam = \case- "KEY_TYPE_UNSPECIFIED" -> Right KeyTypeUnspecified- "PGP_ASCII_ARMORED" -> Right PgpAsciiArmored- "PKIX_PEM" -> Right PkixPem- x -> Left ("Unable to parse BuildSignatureKeyType from: " <> x)--instance ToHttpApiData BuildSignatureKeyType where- toQueryParam = \case- KeyTypeUnspecified -> "KEY_TYPE_UNSPECIFIED"- PgpAsciiArmored -> "PGP_ASCII_ARMORED"- PkixPem -> "PKIX_PEM"--instance FromJSON BuildSignatureKeyType where- parseJSON = parseJSONText "BuildSignatureKeyType"--instance ToJSON BuildSignatureKeyType where- toJSON = toJSONText---- | Required. Immutable. The kind of analysis that is handled by this--- discovery.-data DiscoveryAnalysisKind- = DAKNoteKindUnspecified- -- ^ @NOTE_KIND_UNSPECIFIED@- -- Unknown.- | DAKVulnerability- -- ^ @VULNERABILITY@- -- The note and occurrence represent a package vulnerability.- | DAKBuild- -- ^ @BUILD@- -- The note and occurrence assert build provenance.- | DAKImage- -- ^ @IMAGE@- -- This represents an image basis relationship.- | DAKPackage- -- ^ @PACKAGE@- -- This represents a package installed via a package manager.- | DAKDeployment- -- ^ @DEPLOYMENT@- -- The note and occurrence track deployment events.- | DAKDiscovery- -- ^ @DISCOVERY@- -- The note and occurrence track the initial discovery status of a- -- resource.- | DAKAttestation- -- ^ @ATTESTATION@- -- This represents a logical \"role\" that can attest to artifacts.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable DiscoveryAnalysisKind--instance FromHttpApiData DiscoveryAnalysisKind where- parseQueryParam = \case- "NOTE_KIND_UNSPECIFIED" -> Right DAKNoteKindUnspecified- "VULNERABILITY" -> Right DAKVulnerability- "BUILD" -> Right DAKBuild- "IMAGE" -> Right DAKImage- "PACKAGE" -> Right DAKPackage- "DEPLOYMENT" -> Right DAKDeployment- "DISCOVERY" -> Right DAKDiscovery- "ATTESTATION" -> Right DAKAttestation- x -> Left ("Unable to parse DiscoveryAnalysisKind from: " <> x)--instance ToHttpApiData DiscoveryAnalysisKind where- toQueryParam = \case- DAKNoteKindUnspecified -> "NOTE_KIND_UNSPECIFIED"- DAKVulnerability -> "VULNERABILITY"- DAKBuild -> "BUILD"- DAKImage -> "IMAGE"- DAKPackage -> "PACKAGE"- DAKDeployment -> "DEPLOYMENT"- DAKDiscovery -> "DISCOVERY"- DAKAttestation -> "ATTESTATION"--instance FromJSON DiscoveryAnalysisKind where- parseJSON = parseJSONText "DiscoveryAnalysisKind"--instance ToJSON DiscoveryAnalysisKind where- toJSON = toJSONText--data CVSSv3AvailabilityImpact- = CVSSAIImpactUnspecified- -- ^ @IMPACT_UNSPECIFIED@- | CVSSAIImpactHigh- -- ^ @IMPACT_HIGH@- | CVSSAIImpactLow- -- ^ @IMPACT_LOW@- | CVSSAIImpactNone- -- ^ @IMPACT_NONE@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable CVSSv3AvailabilityImpact--instance FromHttpApiData CVSSv3AvailabilityImpact where- parseQueryParam = \case- "IMPACT_UNSPECIFIED" -> Right CVSSAIImpactUnspecified- "IMPACT_HIGH" -> Right CVSSAIImpactHigh- "IMPACT_LOW" -> Right CVSSAIImpactLow- "IMPACT_NONE" -> Right CVSSAIImpactNone- x -> Left ("Unable to parse CVSSv3AvailabilityImpact from: " <> x)--instance ToHttpApiData CVSSv3AvailabilityImpact where- toQueryParam = \case- CVSSAIImpactUnspecified -> "IMPACT_UNSPECIFIED"- CVSSAIImpactHigh -> "IMPACT_HIGH"- CVSSAIImpactLow -> "IMPACT_LOW"- CVSSAIImpactNone -> "IMPACT_NONE"--instance FromJSON CVSSv3AvailabilityImpact where- parseJSON = parseJSONText "CVSSv3AvailabilityImpact"--instance ToJSON CVSSv3AvailabilityImpact where- toJSON = toJSONText---- | The alias kind.-data AliasContextKind- = KindUnspecified- -- ^ @KIND_UNSPECIFIED@- -- Unknown.- | Fixed- -- ^ @FIXED@- -- Git tag.- | Movable- -- ^ @MOVABLE@- -- Git branch.- | Other- -- ^ @OTHER@- -- Used to specify non-standard aliases. For example, if a Git repo has a- -- ref named \"refs\/foo\/bar\".- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable AliasContextKind--instance FromHttpApiData AliasContextKind where- parseQueryParam = \case- "KIND_UNSPECIFIED" -> Right KindUnspecified- "FIXED" -> Right Fixed- "MOVABLE" -> Right Movable- "OTHER" -> Right Other- x -> Left ("Unable to parse AliasContextKind from: " <> x)--instance ToHttpApiData AliasContextKind where- toQueryParam = \case- KindUnspecified -> "KIND_UNSPECIFIED"- Fixed -> "FIXED"- Movable -> "MOVABLE"- Other -> "OTHER"--instance FromJSON AliasContextKind where- parseJSON = parseJSONText "AliasContextKind"--instance ToJSON AliasContextKind where- toJSON = toJSONText
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/BatchCreate.hs
@@ -1,167 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.BatchCreate--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates new notes in batch.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.batchCreate@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.BatchCreate- (- -- * REST Resource- ProjectsNotesBatchCreateResource-- -- * Creating a Request- , projectsNotesBatchCreate- , ProjectsNotesBatchCreate-- -- * Request Lenses- , pnbcParent- , pnbcXgafv- , pnbcUploadProtocol- , pnbcAccessToken- , pnbcUploadType- , pnbcPayload- , pnbcCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.batchCreate@ method which the--- 'ProjectsNotesBatchCreate' request conforms to.-type ProjectsNotesBatchCreateResource =- "v1beta1" :>- Capture "parent" Text :>- "notes:batchCreate" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] BatchCreateNotesRequest :>- Post '[JSON] BatchCreateNotesResponse---- | Creates new notes in batch.------ /See:/ 'projectsNotesBatchCreate' smart constructor.-data ProjectsNotesBatchCreate =- ProjectsNotesBatchCreate'- { _pnbcParent :: !Text- , _pnbcXgafv :: !(Maybe Xgafv)- , _pnbcUploadProtocol :: !(Maybe Text)- , _pnbcAccessToken :: !(Maybe Text)- , _pnbcUploadType :: !(Maybe Text)- , _pnbcPayload :: !BatchCreateNotesRequest- , _pnbcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesBatchCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pnbcParent'------ * 'pnbcXgafv'------ * 'pnbcUploadProtocol'------ * 'pnbcAccessToken'------ * 'pnbcUploadType'------ * 'pnbcPayload'------ * 'pnbcCallback'-projectsNotesBatchCreate- :: Text -- ^ 'pnbcParent'- -> BatchCreateNotesRequest -- ^ 'pnbcPayload'- -> ProjectsNotesBatchCreate-projectsNotesBatchCreate pPnbcParent_ pPnbcPayload_ =- ProjectsNotesBatchCreate'- { _pnbcParent = pPnbcParent_- , _pnbcXgafv = Nothing- , _pnbcUploadProtocol = Nothing- , _pnbcAccessToken = Nothing- , _pnbcUploadType = Nothing- , _pnbcPayload = pPnbcPayload_- , _pnbcCallback = Nothing- }----- | The name of the project in the form of \`projects\/[PROJECT_ID]\`, under--- which the notes are to be created.-pnbcParent :: Lens' ProjectsNotesBatchCreate Text-pnbcParent- = lens _pnbcParent (\ s a -> s{_pnbcParent = a})---- | V1 error format.-pnbcXgafv :: Lens' ProjectsNotesBatchCreate (Maybe Xgafv)-pnbcXgafv- = lens _pnbcXgafv (\ s a -> s{_pnbcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pnbcUploadProtocol :: Lens' ProjectsNotesBatchCreate (Maybe Text)-pnbcUploadProtocol- = lens _pnbcUploadProtocol- (\ s a -> s{_pnbcUploadProtocol = a})---- | OAuth access token.-pnbcAccessToken :: Lens' ProjectsNotesBatchCreate (Maybe Text)-pnbcAccessToken- = lens _pnbcAccessToken- (\ s a -> s{_pnbcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pnbcUploadType :: Lens' ProjectsNotesBatchCreate (Maybe Text)-pnbcUploadType- = lens _pnbcUploadType- (\ s a -> s{_pnbcUploadType = a})---- | Multipart request metadata.-pnbcPayload :: Lens' ProjectsNotesBatchCreate BatchCreateNotesRequest-pnbcPayload- = lens _pnbcPayload (\ s a -> s{_pnbcPayload = a})---- | JSONP-pnbcCallback :: Lens' ProjectsNotesBatchCreate (Maybe Text)-pnbcCallback- = lens _pnbcCallback (\ s a -> s{_pnbcCallback = a})--instance GoogleRequest ProjectsNotesBatchCreate where- type Rs ProjectsNotesBatchCreate =- BatchCreateNotesResponse- type Scopes ProjectsNotesBatchCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesBatchCreate'{..}- = go _pnbcParent _pnbcXgafv _pnbcUploadProtocol- _pnbcAccessToken- _pnbcUploadType- _pnbcCallback- (Just AltJSON)- _pnbcPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesBatchCreateResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Create.hs
@@ -1,176 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new note.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.create@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create- (- -- * REST Resource- ProjectsNotesCreateResource-- -- * Creating a Request- , projectsNotesCreate- , ProjectsNotesCreate-- -- * Request Lenses- , pncParent- , pncXgafv- , pncUploadProtocol- , pncAccessToken- , pncUploadType- , pncPayload- , pncNoteId- , pncCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.create@ method which the--- 'ProjectsNotesCreate' request conforms to.-type ProjectsNotesCreateResource =- "v1beta1" :>- Capture "parent" Text :>- "notes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "noteId" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Note :> Post '[JSON] Note---- | Creates a new note.------ /See:/ 'projectsNotesCreate' smart constructor.-data ProjectsNotesCreate =- ProjectsNotesCreate'- { _pncParent :: !Text- , _pncXgafv :: !(Maybe Xgafv)- , _pncUploadProtocol :: !(Maybe Text)- , _pncAccessToken :: !(Maybe Text)- , _pncUploadType :: !(Maybe Text)- , _pncPayload :: !Note- , _pncNoteId :: !(Maybe Text)- , _pncCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pncParent'------ * 'pncXgafv'------ * 'pncUploadProtocol'------ * 'pncAccessToken'------ * 'pncUploadType'------ * 'pncPayload'------ * 'pncNoteId'------ * 'pncCallback'-projectsNotesCreate- :: Text -- ^ 'pncParent'- -> Note -- ^ 'pncPayload'- -> ProjectsNotesCreate-projectsNotesCreate pPncParent_ pPncPayload_ =- ProjectsNotesCreate'- { _pncParent = pPncParent_- , _pncXgafv = Nothing- , _pncUploadProtocol = Nothing- , _pncAccessToken = Nothing- , _pncUploadType = Nothing- , _pncPayload = pPncPayload_- , _pncNoteId = Nothing- , _pncCallback = Nothing- }----- | The name of the project in the form of \`projects\/[PROJECT_ID]\`, under--- which the note is to be created.-pncParent :: Lens' ProjectsNotesCreate Text-pncParent- = lens _pncParent (\ s a -> s{_pncParent = a})---- | V1 error format.-pncXgafv :: Lens' ProjectsNotesCreate (Maybe Xgafv)-pncXgafv = lens _pncXgafv (\ s a -> s{_pncXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pncUploadProtocol :: Lens' ProjectsNotesCreate (Maybe Text)-pncUploadProtocol- = lens _pncUploadProtocol- (\ s a -> s{_pncUploadProtocol = a})---- | OAuth access token.-pncAccessToken :: Lens' ProjectsNotesCreate (Maybe Text)-pncAccessToken- = lens _pncAccessToken- (\ s a -> s{_pncAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pncUploadType :: Lens' ProjectsNotesCreate (Maybe Text)-pncUploadType- = lens _pncUploadType- (\ s a -> s{_pncUploadType = a})---- | Multipart request metadata.-pncPayload :: Lens' ProjectsNotesCreate Note-pncPayload- = lens _pncPayload (\ s a -> s{_pncPayload = a})---- | The ID to use for this note.-pncNoteId :: Lens' ProjectsNotesCreate (Maybe Text)-pncNoteId- = lens _pncNoteId (\ s a -> s{_pncNoteId = a})---- | JSONP-pncCallback :: Lens' ProjectsNotesCreate (Maybe Text)-pncCallback- = lens _pncCallback (\ s a -> s{_pncCallback = a})--instance GoogleRequest ProjectsNotesCreate where- type Rs ProjectsNotesCreate = Note- type Scopes ProjectsNotesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesCreate'{..}- = go _pncParent _pncXgafv _pncUploadProtocol- _pncAccessToken- _pncUploadType- _pncNoteId- _pncCallback- (Just AltJSON)- _pncPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesCreateResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Delete.hs
@@ -1,149 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified note.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.delete@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Delete- (- -- * REST Resource- ProjectsNotesDeleteResource-- -- * Creating a Request- , projectsNotesDelete- , ProjectsNotesDelete-- -- * Request Lenses- , pndXgafv- , pndUploadProtocol- , pndAccessToken- , pndUploadType- , pndName- , pndCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.delete@ method which the--- 'ProjectsNotesDelete' request conforms to.-type ProjectsNotesDeleteResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes the specified note.------ /See:/ 'projectsNotesDelete' smart constructor.-data ProjectsNotesDelete =- ProjectsNotesDelete'- { _pndXgafv :: !(Maybe Xgafv)- , _pndUploadProtocol :: !(Maybe Text)- , _pndAccessToken :: !(Maybe Text)- , _pndUploadType :: !(Maybe Text)- , _pndName :: !Text- , _pndCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pndXgafv'------ * 'pndUploadProtocol'------ * 'pndAccessToken'------ * 'pndUploadType'------ * 'pndName'------ * 'pndCallback'-projectsNotesDelete- :: Text -- ^ 'pndName'- -> ProjectsNotesDelete-projectsNotesDelete pPndName_ =- ProjectsNotesDelete'- { _pndXgafv = Nothing- , _pndUploadProtocol = Nothing- , _pndAccessToken = Nothing- , _pndUploadType = Nothing- , _pndName = pPndName_- , _pndCallback = Nothing- }----- | V1 error format.-pndXgafv :: Lens' ProjectsNotesDelete (Maybe Xgafv)-pndXgafv = lens _pndXgafv (\ s a -> s{_pndXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pndUploadProtocol :: Lens' ProjectsNotesDelete (Maybe Text)-pndUploadProtocol- = lens _pndUploadProtocol- (\ s a -> s{_pndUploadProtocol = a})---- | OAuth access token.-pndAccessToken :: Lens' ProjectsNotesDelete (Maybe Text)-pndAccessToken- = lens _pndAccessToken- (\ s a -> s{_pndAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pndUploadType :: Lens' ProjectsNotesDelete (Maybe Text)-pndUploadType- = lens _pndUploadType- (\ s a -> s{_pndUploadType = a})---- | The name of the note in the form of--- \`projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]\`.-pndName :: Lens' ProjectsNotesDelete Text-pndName = lens _pndName (\ s a -> s{_pndName = a})---- | JSONP-pndCallback :: Lens' ProjectsNotesDelete (Maybe Text)-pndCallback- = lens _pndCallback (\ s a -> s{_pndCallback = a})--instance GoogleRequest ProjectsNotesDelete where- type Rs ProjectsNotesDelete = Empty- type Scopes ProjectsNotesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesDelete'{..}- = go _pndName _pndXgafv _pndUploadProtocol- _pndAccessToken- _pndUploadType- _pndCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesDeleteResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Get.hs
@@ -1,149 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the specified note.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.get@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Get- (- -- * REST Resource- ProjectsNotesGetResource-- -- * Creating a Request- , projectsNotesGet- , ProjectsNotesGet-- -- * Request Lenses- , pngXgafv- , pngUploadProtocol- , pngAccessToken- , pngUploadType- , pngName- , pngCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.get@ method which the--- 'ProjectsNotesGet' request conforms to.-type ProjectsNotesGetResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] Note---- | Gets the specified note.------ /See:/ 'projectsNotesGet' smart constructor.-data ProjectsNotesGet =- ProjectsNotesGet'- { _pngXgafv :: !(Maybe Xgafv)- , _pngUploadProtocol :: !(Maybe Text)- , _pngAccessToken :: !(Maybe Text)- , _pngUploadType :: !(Maybe Text)- , _pngName :: !Text- , _pngCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pngXgafv'------ * 'pngUploadProtocol'------ * 'pngAccessToken'------ * 'pngUploadType'------ * 'pngName'------ * 'pngCallback'-projectsNotesGet- :: Text -- ^ 'pngName'- -> ProjectsNotesGet-projectsNotesGet pPngName_ =- ProjectsNotesGet'- { _pngXgafv = Nothing- , _pngUploadProtocol = Nothing- , _pngAccessToken = Nothing- , _pngUploadType = Nothing- , _pngName = pPngName_- , _pngCallback = Nothing- }----- | V1 error format.-pngXgafv :: Lens' ProjectsNotesGet (Maybe Xgafv)-pngXgafv = lens _pngXgafv (\ s a -> s{_pngXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pngUploadProtocol :: Lens' ProjectsNotesGet (Maybe Text)-pngUploadProtocol- = lens _pngUploadProtocol- (\ s a -> s{_pngUploadProtocol = a})---- | OAuth access token.-pngAccessToken :: Lens' ProjectsNotesGet (Maybe Text)-pngAccessToken- = lens _pngAccessToken- (\ s a -> s{_pngAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pngUploadType :: Lens' ProjectsNotesGet (Maybe Text)-pngUploadType- = lens _pngUploadType- (\ s a -> s{_pngUploadType = a})---- | The name of the note in the form of--- \`projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]\`.-pngName :: Lens' ProjectsNotesGet Text-pngName = lens _pngName (\ s a -> s{_pngName = a})---- | JSONP-pngCallback :: Lens' ProjectsNotesGet (Maybe Text)-pngCallback- = lens _pngCallback (\ s a -> s{_pngCallback = a})--instance GoogleRequest ProjectsNotesGet where- type Rs ProjectsNotesGet = Note- type Scopes ProjectsNotesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesGet'{..}- = go _pngName _pngXgafv _pngUploadProtocol- _pngAccessToken- _pngUploadType- _pngCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesGetResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/GetIAMPolicy.hs
@@ -1,180 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.GetIAMPolicy--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the access control policy for a note or an occurrence resource.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or occurrence, respectively. The resource takes the--- format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.getIamPolicy@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.GetIAMPolicy- (- -- * REST Resource- ProjectsNotesGetIAMPolicyResource-- -- * Creating a Request- , projectsNotesGetIAMPolicy- , ProjectsNotesGetIAMPolicy-- -- * Request Lenses- , pngipXgafv- , pngipUploadProtocol- , pngipAccessToken- , pngipUploadType- , pngipPayload- , pngipResource- , pngipCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.getIamPolicy@ method which the--- 'ProjectsNotesGetIAMPolicy' request conforms to.-type ProjectsNotesGetIAMPolicyResource =- "v1beta1" :>- CaptureMode "resource" "getIamPolicy" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] GetIAMPolicyRequest :>- Post '[JSON] Policy---- | Gets the access control policy for a note or an occurrence resource.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or occurrence, respectively. The resource takes the--- format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ 'projectsNotesGetIAMPolicy' smart constructor.-data ProjectsNotesGetIAMPolicy =- ProjectsNotesGetIAMPolicy'- { _pngipXgafv :: !(Maybe Xgafv)- , _pngipUploadProtocol :: !(Maybe Text)- , _pngipAccessToken :: !(Maybe Text)- , _pngipUploadType :: !(Maybe Text)- , _pngipPayload :: !GetIAMPolicyRequest- , _pngipResource :: !Text- , _pngipCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pngipXgafv'------ * 'pngipUploadProtocol'------ * 'pngipAccessToken'------ * 'pngipUploadType'------ * 'pngipPayload'------ * 'pngipResource'------ * 'pngipCallback'-projectsNotesGetIAMPolicy- :: GetIAMPolicyRequest -- ^ 'pngipPayload'- -> Text -- ^ 'pngipResource'- -> ProjectsNotesGetIAMPolicy-projectsNotesGetIAMPolicy pPngipPayload_ pPngipResource_ =- ProjectsNotesGetIAMPolicy'- { _pngipXgafv = Nothing- , _pngipUploadProtocol = Nothing- , _pngipAccessToken = Nothing- , _pngipUploadType = Nothing- , _pngipPayload = pPngipPayload_- , _pngipResource = pPngipResource_- , _pngipCallback = Nothing- }----- | V1 error format.-pngipXgafv :: Lens' ProjectsNotesGetIAMPolicy (Maybe Xgafv)-pngipXgafv- = lens _pngipXgafv (\ s a -> s{_pngipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pngipUploadProtocol :: Lens' ProjectsNotesGetIAMPolicy (Maybe Text)-pngipUploadProtocol- = lens _pngipUploadProtocol- (\ s a -> s{_pngipUploadProtocol = a})---- | OAuth access token.-pngipAccessToken :: Lens' ProjectsNotesGetIAMPolicy (Maybe Text)-pngipAccessToken- = lens _pngipAccessToken- (\ s a -> s{_pngipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pngipUploadType :: Lens' ProjectsNotesGetIAMPolicy (Maybe Text)-pngipUploadType- = lens _pngipUploadType- (\ s a -> s{_pngipUploadType = a})---- | Multipart request metadata.-pngipPayload :: Lens' ProjectsNotesGetIAMPolicy GetIAMPolicyRequest-pngipPayload- = lens _pngipPayload (\ s a -> s{_pngipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-pngipResource :: Lens' ProjectsNotesGetIAMPolicy Text-pngipResource- = lens _pngipResource- (\ s a -> s{_pngipResource = a})---- | JSONP-pngipCallback :: Lens' ProjectsNotesGetIAMPolicy (Maybe Text)-pngipCallback- = lens _pngipCallback- (\ s a -> s{_pngipCallback = a})--instance GoogleRequest ProjectsNotesGetIAMPolicy- where- type Rs ProjectsNotesGetIAMPolicy = Policy- type Scopes ProjectsNotesGetIAMPolicy =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesGetIAMPolicy'{..}- = go _pngipResource _pngipXgafv _pngipUploadProtocol- _pngipAccessToken- _pngipUploadType- _pngipCallback- (Just AltJSON)- _pngipPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesGetIAMPolicyResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/List.hs
@@ -1,190 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists notes for the specified project.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.list@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.List- (- -- * REST Resource- ProjectsNotesListResource-- -- * Creating a Request- , projectsNotesList- , ProjectsNotesList-- -- * Request Lenses- , pnlParent- , pnlXgafv- , pnlUploadProtocol- , pnlAccessToken- , pnlUploadType- , pnlFilter- , pnlPageToken- , pnlPageSize- , pnlCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.list@ method which the--- 'ProjectsNotesList' request conforms to.-type ProjectsNotesListResource =- "v1beta1" :>- Capture "parent" Text :>- "notes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListNotesResponse---- | Lists notes for the specified project.------ /See:/ 'projectsNotesList' smart constructor.-data ProjectsNotesList =- ProjectsNotesList'- { _pnlParent :: !Text- , _pnlXgafv :: !(Maybe Xgafv)- , _pnlUploadProtocol :: !(Maybe Text)- , _pnlAccessToken :: !(Maybe Text)- , _pnlUploadType :: !(Maybe Text)- , _pnlFilter :: !(Maybe Text)- , _pnlPageToken :: !(Maybe Text)- , _pnlPageSize :: !(Maybe (Textual Int32))- , _pnlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pnlParent'------ * 'pnlXgafv'------ * 'pnlUploadProtocol'------ * 'pnlAccessToken'------ * 'pnlUploadType'------ * 'pnlFilter'------ * 'pnlPageToken'------ * 'pnlPageSize'------ * 'pnlCallback'-projectsNotesList- :: Text -- ^ 'pnlParent'- -> ProjectsNotesList-projectsNotesList pPnlParent_ =- ProjectsNotesList'- { _pnlParent = pPnlParent_- , _pnlXgafv = Nothing- , _pnlUploadProtocol = Nothing- , _pnlAccessToken = Nothing- , _pnlUploadType = Nothing- , _pnlFilter = Nothing- , _pnlPageToken = Nothing- , _pnlPageSize = Nothing- , _pnlCallback = Nothing- }----- | The name of the project to list notes for in the form of--- \`projects\/[PROJECT_ID]\`.-pnlParent :: Lens' ProjectsNotesList Text-pnlParent- = lens _pnlParent (\ s a -> s{_pnlParent = a})---- | V1 error format.-pnlXgafv :: Lens' ProjectsNotesList (Maybe Xgafv)-pnlXgafv = lens _pnlXgafv (\ s a -> s{_pnlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pnlUploadProtocol :: Lens' ProjectsNotesList (Maybe Text)-pnlUploadProtocol- = lens _pnlUploadProtocol- (\ s a -> s{_pnlUploadProtocol = a})---- | OAuth access token.-pnlAccessToken :: Lens' ProjectsNotesList (Maybe Text)-pnlAccessToken- = lens _pnlAccessToken- (\ s a -> s{_pnlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pnlUploadType :: Lens' ProjectsNotesList (Maybe Text)-pnlUploadType- = lens _pnlUploadType- (\ s a -> s{_pnlUploadType = a})---- | The filter expression.-pnlFilter :: Lens' ProjectsNotesList (Maybe Text)-pnlFilter- = lens _pnlFilter (\ s a -> s{_pnlFilter = a})---- | Token to provide to skip to a particular spot in the list.-pnlPageToken :: Lens' ProjectsNotesList (Maybe Text)-pnlPageToken- = lens _pnlPageToken (\ s a -> s{_pnlPageToken = a})---- | Number of notes to return in the list. Must be positive. Max allowed--- page size is 1000. If not specified, page size defaults to 20.-pnlPageSize :: Lens' ProjectsNotesList (Maybe Int32)-pnlPageSize- = lens _pnlPageSize (\ s a -> s{_pnlPageSize = a}) .- mapping _Coerce---- | JSONP-pnlCallback :: Lens' ProjectsNotesList (Maybe Text)-pnlCallback- = lens _pnlCallback (\ s a -> s{_pnlCallback = a})--instance GoogleRequest ProjectsNotesList where- type Rs ProjectsNotesList = ListNotesResponse- type Scopes ProjectsNotesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesList'{..}- = go _pnlParent _pnlXgafv _pnlUploadProtocol- _pnlAccessToken- _pnlUploadType- _pnlFilter- _pnlPageToken- _pnlPageSize- _pnlCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesListResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Occurrences/List.hs
@@ -1,196 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.Occurrences.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists occurrences referencing the specified note. Provider projects can--- use this method to get all occurrences across consumer projects--- referencing the specified note.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.occurrences.list@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Occurrences.List- (- -- * REST Resource- ProjectsNotesOccurrencesListResource-- -- * Creating a Request- , projectsNotesOccurrencesList- , ProjectsNotesOccurrencesList-- -- * Request Lenses- , pnolXgafv- , pnolUploadProtocol- , pnolAccessToken- , pnolUploadType- , pnolName- , pnolFilter- , pnolPageToken- , pnolPageSize- , pnolCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.occurrences.list@ method which the--- 'ProjectsNotesOccurrencesList' request conforms to.-type ProjectsNotesOccurrencesListResource =- "v1beta1" :>- Capture "name" Text :>- "occurrences" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListNoteOccurrencesResponse---- | Lists occurrences referencing the specified note. Provider projects can--- use this method to get all occurrences across consumer projects--- referencing the specified note.------ /See:/ 'projectsNotesOccurrencesList' smart constructor.-data ProjectsNotesOccurrencesList =- ProjectsNotesOccurrencesList'- { _pnolXgafv :: !(Maybe Xgafv)- , _pnolUploadProtocol :: !(Maybe Text)- , _pnolAccessToken :: !(Maybe Text)- , _pnolUploadType :: !(Maybe Text)- , _pnolName :: !Text- , _pnolFilter :: !(Maybe Text)- , _pnolPageToken :: !(Maybe Text)- , _pnolPageSize :: !(Maybe (Textual Int32))- , _pnolCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesOccurrencesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pnolXgafv'------ * 'pnolUploadProtocol'------ * 'pnolAccessToken'------ * 'pnolUploadType'------ * 'pnolName'------ * 'pnolFilter'------ * 'pnolPageToken'------ * 'pnolPageSize'------ * 'pnolCallback'-projectsNotesOccurrencesList- :: Text -- ^ 'pnolName'- -> ProjectsNotesOccurrencesList-projectsNotesOccurrencesList pPnolName_ =- ProjectsNotesOccurrencesList'- { _pnolXgafv = Nothing- , _pnolUploadProtocol = Nothing- , _pnolAccessToken = Nothing- , _pnolUploadType = Nothing- , _pnolName = pPnolName_- , _pnolFilter = Nothing- , _pnolPageToken = Nothing- , _pnolPageSize = Nothing- , _pnolCallback = Nothing- }----- | V1 error format.-pnolXgafv :: Lens' ProjectsNotesOccurrencesList (Maybe Xgafv)-pnolXgafv- = lens _pnolXgafv (\ s a -> s{_pnolXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pnolUploadProtocol :: Lens' ProjectsNotesOccurrencesList (Maybe Text)-pnolUploadProtocol- = lens _pnolUploadProtocol- (\ s a -> s{_pnolUploadProtocol = a})---- | OAuth access token.-pnolAccessToken :: Lens' ProjectsNotesOccurrencesList (Maybe Text)-pnolAccessToken- = lens _pnolAccessToken- (\ s a -> s{_pnolAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pnolUploadType :: Lens' ProjectsNotesOccurrencesList (Maybe Text)-pnolUploadType- = lens _pnolUploadType- (\ s a -> s{_pnolUploadType = a})---- | The name of the note to list occurrences for in the form of--- \`projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]\`.-pnolName :: Lens' ProjectsNotesOccurrencesList Text-pnolName = lens _pnolName (\ s a -> s{_pnolName = a})---- | The filter expression.-pnolFilter :: Lens' ProjectsNotesOccurrencesList (Maybe Text)-pnolFilter- = lens _pnolFilter (\ s a -> s{_pnolFilter = a})---- | Token to provide to skip to a particular spot in the list.-pnolPageToken :: Lens' ProjectsNotesOccurrencesList (Maybe Text)-pnolPageToken- = lens _pnolPageToken- (\ s a -> s{_pnolPageToken = a})---- | Number of occurrences to return in the list.-pnolPageSize :: Lens' ProjectsNotesOccurrencesList (Maybe Int32)-pnolPageSize- = lens _pnolPageSize (\ s a -> s{_pnolPageSize = a})- . mapping _Coerce---- | JSONP-pnolCallback :: Lens' ProjectsNotesOccurrencesList (Maybe Text)-pnolCallback- = lens _pnolCallback (\ s a -> s{_pnolCallback = a})--instance GoogleRequest ProjectsNotesOccurrencesList- where- type Rs ProjectsNotesOccurrencesList =- ListNoteOccurrencesResponse- type Scopes ProjectsNotesOccurrencesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesOccurrencesList'{..}- = go _pnolName _pnolXgafv _pnolUploadProtocol- _pnolAccessToken- _pnolUploadType- _pnolFilter- _pnolPageToken- _pnolPageSize- _pnolCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesOccurrencesListResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/Patch.hs
@@ -1,175 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the specified note.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.patch@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch- (- -- * REST Resource- ProjectsNotesPatchResource-- -- * Creating a Request- , projectsNotesPatch- , ProjectsNotesPatch-- -- * Request Lenses- , pnpXgafv- , pnpUploadProtocol- , pnpUpdateMask- , pnpAccessToken- , pnpUploadType- , pnpPayload- , pnpName- , pnpCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.patch@ method which the--- 'ProjectsNotesPatch' request conforms to.-type ProjectsNotesPatchResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "updateMask" GFieldMask :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Note :> Patch '[JSON] Note---- | Updates the specified note.------ /See:/ 'projectsNotesPatch' smart constructor.-data ProjectsNotesPatch =- ProjectsNotesPatch'- { _pnpXgafv :: !(Maybe Xgafv)- , _pnpUploadProtocol :: !(Maybe Text)- , _pnpUpdateMask :: !(Maybe GFieldMask)- , _pnpAccessToken :: !(Maybe Text)- , _pnpUploadType :: !(Maybe Text)- , _pnpPayload :: !Note- , _pnpName :: !Text- , _pnpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pnpXgafv'------ * 'pnpUploadProtocol'------ * 'pnpUpdateMask'------ * 'pnpAccessToken'------ * 'pnpUploadType'------ * 'pnpPayload'------ * 'pnpName'------ * 'pnpCallback'-projectsNotesPatch- :: Note -- ^ 'pnpPayload'- -> Text -- ^ 'pnpName'- -> ProjectsNotesPatch-projectsNotesPatch pPnpPayload_ pPnpName_ =- ProjectsNotesPatch'- { _pnpXgafv = Nothing- , _pnpUploadProtocol = Nothing- , _pnpUpdateMask = Nothing- , _pnpAccessToken = Nothing- , _pnpUploadType = Nothing- , _pnpPayload = pPnpPayload_- , _pnpName = pPnpName_- , _pnpCallback = Nothing- }----- | V1 error format.-pnpXgafv :: Lens' ProjectsNotesPatch (Maybe Xgafv)-pnpXgafv = lens _pnpXgafv (\ s a -> s{_pnpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pnpUploadProtocol :: Lens' ProjectsNotesPatch (Maybe Text)-pnpUploadProtocol- = lens _pnpUploadProtocol- (\ s a -> s{_pnpUploadProtocol = a})---- | The fields to update.-pnpUpdateMask :: Lens' ProjectsNotesPatch (Maybe GFieldMask)-pnpUpdateMask- = lens _pnpUpdateMask- (\ s a -> s{_pnpUpdateMask = a})---- | OAuth access token.-pnpAccessToken :: Lens' ProjectsNotesPatch (Maybe Text)-pnpAccessToken- = lens _pnpAccessToken- (\ s a -> s{_pnpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pnpUploadType :: Lens' ProjectsNotesPatch (Maybe Text)-pnpUploadType- = lens _pnpUploadType- (\ s a -> s{_pnpUploadType = a})---- | Multipart request metadata.-pnpPayload :: Lens' ProjectsNotesPatch Note-pnpPayload- = lens _pnpPayload (\ s a -> s{_pnpPayload = a})---- | The name of the note in the form of--- \`projects\/[PROVIDER_ID]\/notes\/[NOTE_ID]\`.-pnpName :: Lens' ProjectsNotesPatch Text-pnpName = lens _pnpName (\ s a -> s{_pnpName = a})---- | JSONP-pnpCallback :: Lens' ProjectsNotesPatch (Maybe Text)-pnpCallback- = lens _pnpCallback (\ s a -> s{_pnpCallback = a})--instance GoogleRequest ProjectsNotesPatch where- type Rs ProjectsNotesPatch = Note- type Scopes ProjectsNotesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesPatch'{..}- = go _pnpName _pnpXgafv _pnpUploadProtocol- _pnpUpdateMask- _pnpAccessToken- _pnpUploadType- _pnpCallback- (Just AltJSON)- _pnpPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesPatchResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/SetIAMPolicy.hs
@@ -1,180 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.SetIAMPolicy--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Sets the access control policy on the specified note or occurrence.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or an occurrence, respectively. The resource takes--- the format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.setIamPolicy@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.SetIAMPolicy- (- -- * REST Resource- ProjectsNotesSetIAMPolicyResource-- -- * Creating a Request- , projectsNotesSetIAMPolicy- , ProjectsNotesSetIAMPolicy-- -- * Request Lenses- , pnsipXgafv- , pnsipUploadProtocol- , pnsipAccessToken- , pnsipUploadType- , pnsipPayload- , pnsipResource- , pnsipCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.setIamPolicy@ method which the--- 'ProjectsNotesSetIAMPolicy' request conforms to.-type ProjectsNotesSetIAMPolicyResource =- "v1beta1" :>- CaptureMode "resource" "setIamPolicy" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] SetIAMPolicyRequest :>- Post '[JSON] Policy---- | Sets the access control policy on the specified note or occurrence.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or an occurrence, respectively. The resource takes--- the format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ 'projectsNotesSetIAMPolicy' smart constructor.-data ProjectsNotesSetIAMPolicy =- ProjectsNotesSetIAMPolicy'- { _pnsipXgafv :: !(Maybe Xgafv)- , _pnsipUploadProtocol :: !(Maybe Text)- , _pnsipAccessToken :: !(Maybe Text)- , _pnsipUploadType :: !(Maybe Text)- , _pnsipPayload :: !SetIAMPolicyRequest- , _pnsipResource :: !Text- , _pnsipCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pnsipXgafv'------ * 'pnsipUploadProtocol'------ * 'pnsipAccessToken'------ * 'pnsipUploadType'------ * 'pnsipPayload'------ * 'pnsipResource'------ * 'pnsipCallback'-projectsNotesSetIAMPolicy- :: SetIAMPolicyRequest -- ^ 'pnsipPayload'- -> Text -- ^ 'pnsipResource'- -> ProjectsNotesSetIAMPolicy-projectsNotesSetIAMPolicy pPnsipPayload_ pPnsipResource_ =- ProjectsNotesSetIAMPolicy'- { _pnsipXgafv = Nothing- , _pnsipUploadProtocol = Nothing- , _pnsipAccessToken = Nothing- , _pnsipUploadType = Nothing- , _pnsipPayload = pPnsipPayload_- , _pnsipResource = pPnsipResource_- , _pnsipCallback = Nothing- }----- | V1 error format.-pnsipXgafv :: Lens' ProjectsNotesSetIAMPolicy (Maybe Xgafv)-pnsipXgafv- = lens _pnsipXgafv (\ s a -> s{_pnsipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pnsipUploadProtocol :: Lens' ProjectsNotesSetIAMPolicy (Maybe Text)-pnsipUploadProtocol- = lens _pnsipUploadProtocol- (\ s a -> s{_pnsipUploadProtocol = a})---- | OAuth access token.-pnsipAccessToken :: Lens' ProjectsNotesSetIAMPolicy (Maybe Text)-pnsipAccessToken- = lens _pnsipAccessToken- (\ s a -> s{_pnsipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pnsipUploadType :: Lens' ProjectsNotesSetIAMPolicy (Maybe Text)-pnsipUploadType- = lens _pnsipUploadType- (\ s a -> s{_pnsipUploadType = a})---- | Multipart request metadata.-pnsipPayload :: Lens' ProjectsNotesSetIAMPolicy SetIAMPolicyRequest-pnsipPayload- = lens _pnsipPayload (\ s a -> s{_pnsipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-pnsipResource :: Lens' ProjectsNotesSetIAMPolicy Text-pnsipResource- = lens _pnsipResource- (\ s a -> s{_pnsipResource = a})---- | JSONP-pnsipCallback :: Lens' ProjectsNotesSetIAMPolicy (Maybe Text)-pnsipCallback- = lens _pnsipCallback- (\ s a -> s{_pnsipCallback = a})--instance GoogleRequest ProjectsNotesSetIAMPolicy- where- type Rs ProjectsNotesSetIAMPolicy = Policy- type Scopes ProjectsNotesSetIAMPolicy =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesSetIAMPolicy'{..}- = go _pnsipResource _pnsipXgafv _pnsipUploadProtocol- _pnsipAccessToken- _pnsipUploadType- _pnsipCallback- (Just AltJSON)- _pnsipPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsNotesSetIAMPolicyResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Notes/TestIAMPermissions.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the permissions that a caller has on the specified note or--- occurrence. Requires list permission on the project (for example,--- \`containeranalysis.notes.list\`). The resource takes the format--- \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.notes.testIamPermissions@.-module Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions- (- -- * REST Resource- ProjectsNotesTestIAMPermissionsResource-- -- * Creating a Request- , projectsNotesTestIAMPermissions- , ProjectsNotesTestIAMPermissions-- -- * Request Lenses- , pntipXgafv- , pntipUploadProtocol- , pntipAccessToken- , pntipUploadType- , pntipPayload- , pntipResource- , pntipCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.notes.testIamPermissions@ method which the--- 'ProjectsNotesTestIAMPermissions' request conforms to.-type ProjectsNotesTestIAMPermissionsResource =- "v1beta1" :>- CaptureMode "resource" "testIamPermissions" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] TestIAMPermissionsRequest :>- Post '[JSON] TestIAMPermissionsResponse---- | Returns the permissions that a caller has on the specified note or--- occurrence. Requires list permission on the project (for example,--- \`containeranalysis.notes.list\`). The resource takes the format--- \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ 'projectsNotesTestIAMPermissions' smart constructor.-data ProjectsNotesTestIAMPermissions =- ProjectsNotesTestIAMPermissions'- { _pntipXgafv :: !(Maybe Xgafv)- , _pntipUploadProtocol :: !(Maybe Text)- , _pntipAccessToken :: !(Maybe Text)- , _pntipUploadType :: !(Maybe Text)- , _pntipPayload :: !TestIAMPermissionsRequest- , _pntipResource :: !Text- , _pntipCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsNotesTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pntipXgafv'------ * 'pntipUploadProtocol'------ * 'pntipAccessToken'------ * 'pntipUploadType'------ * 'pntipPayload'------ * 'pntipResource'------ * 'pntipCallback'-projectsNotesTestIAMPermissions- :: TestIAMPermissionsRequest -- ^ 'pntipPayload'- -> Text -- ^ 'pntipResource'- -> ProjectsNotesTestIAMPermissions-projectsNotesTestIAMPermissions pPntipPayload_ pPntipResource_ =- ProjectsNotesTestIAMPermissions'- { _pntipXgafv = Nothing- , _pntipUploadProtocol = Nothing- , _pntipAccessToken = Nothing- , _pntipUploadType = Nothing- , _pntipPayload = pPntipPayload_- , _pntipResource = pPntipResource_- , _pntipCallback = Nothing- }----- | V1 error format.-pntipXgafv :: Lens' ProjectsNotesTestIAMPermissions (Maybe Xgafv)-pntipXgafv- = lens _pntipXgafv (\ s a -> s{_pntipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pntipUploadProtocol :: Lens' ProjectsNotesTestIAMPermissions (Maybe Text)-pntipUploadProtocol- = lens _pntipUploadProtocol- (\ s a -> s{_pntipUploadProtocol = a})---- | OAuth access token.-pntipAccessToken :: Lens' ProjectsNotesTestIAMPermissions (Maybe Text)-pntipAccessToken- = lens _pntipAccessToken- (\ s a -> s{_pntipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pntipUploadType :: Lens' ProjectsNotesTestIAMPermissions (Maybe Text)-pntipUploadType- = lens _pntipUploadType- (\ s a -> s{_pntipUploadType = a})---- | Multipart request metadata.-pntipPayload :: Lens' ProjectsNotesTestIAMPermissions TestIAMPermissionsRequest-pntipPayload- = lens _pntipPayload (\ s a -> s{_pntipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-pntipResource :: Lens' ProjectsNotesTestIAMPermissions Text-pntipResource- = lens _pntipResource- (\ s a -> s{_pntipResource = a})---- | JSONP-pntipCallback :: Lens' ProjectsNotesTestIAMPermissions (Maybe Text)-pntipCallback- = lens _pntipCallback- (\ s a -> s{_pntipCallback = a})--instance GoogleRequest- ProjectsNotesTestIAMPermissions- where- type Rs ProjectsNotesTestIAMPermissions =- TestIAMPermissionsResponse- type Scopes ProjectsNotesTestIAMPermissions =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsNotesTestIAMPermissions'{..}- = go _pntipResource _pntipXgafv _pntipUploadProtocol- _pntipAccessToken- _pntipUploadType- _pntipCallback- (Just AltJSON)- _pntipPayload- containerAnalysisService- where go- = buildClient- (Proxy ::- Proxy ProjectsNotesTestIAMPermissionsResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/BatchCreate.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.BatchCreate--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates new occurrences in batch.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.batchCreate@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.BatchCreate- (- -- * REST Resource- ProjectsOccurrencesBatchCreateResource-- -- * Creating a Request- , projectsOccurrencesBatchCreate- , ProjectsOccurrencesBatchCreate-- -- * Request Lenses- , pobcParent- , pobcXgafv- , pobcUploadProtocol- , pobcAccessToken- , pobcUploadType- , pobcPayload- , pobcCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.batchCreate@ method which the--- 'ProjectsOccurrencesBatchCreate' request conforms to.-type ProjectsOccurrencesBatchCreateResource =- "v1beta1" :>- Capture "parent" Text :>- "occurrences:batchCreate" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] BatchCreateOccurrencesRequest :>- Post '[JSON] BatchCreateOccurrencesResponse---- | Creates new occurrences in batch.------ /See:/ 'projectsOccurrencesBatchCreate' smart constructor.-data ProjectsOccurrencesBatchCreate =- ProjectsOccurrencesBatchCreate'- { _pobcParent :: !Text- , _pobcXgafv :: !(Maybe Xgafv)- , _pobcUploadProtocol :: !(Maybe Text)- , _pobcAccessToken :: !(Maybe Text)- , _pobcUploadType :: !(Maybe Text)- , _pobcPayload :: !BatchCreateOccurrencesRequest- , _pobcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesBatchCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pobcParent'------ * 'pobcXgafv'------ * 'pobcUploadProtocol'------ * 'pobcAccessToken'------ * 'pobcUploadType'------ * 'pobcPayload'------ * 'pobcCallback'-projectsOccurrencesBatchCreate- :: Text -- ^ 'pobcParent'- -> BatchCreateOccurrencesRequest -- ^ 'pobcPayload'- -> ProjectsOccurrencesBatchCreate-projectsOccurrencesBatchCreate pPobcParent_ pPobcPayload_ =- ProjectsOccurrencesBatchCreate'- { _pobcParent = pPobcParent_- , _pobcXgafv = Nothing- , _pobcUploadProtocol = Nothing- , _pobcAccessToken = Nothing- , _pobcUploadType = Nothing- , _pobcPayload = pPobcPayload_- , _pobcCallback = Nothing- }----- | The name of the project in the form of \`projects\/[PROJECT_ID]\`, under--- which the occurrences are to be created.-pobcParent :: Lens' ProjectsOccurrencesBatchCreate Text-pobcParent- = lens _pobcParent (\ s a -> s{_pobcParent = a})---- | V1 error format.-pobcXgafv :: Lens' ProjectsOccurrencesBatchCreate (Maybe Xgafv)-pobcXgafv- = lens _pobcXgafv (\ s a -> s{_pobcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pobcUploadProtocol :: Lens' ProjectsOccurrencesBatchCreate (Maybe Text)-pobcUploadProtocol- = lens _pobcUploadProtocol- (\ s a -> s{_pobcUploadProtocol = a})---- | OAuth access token.-pobcAccessToken :: Lens' ProjectsOccurrencesBatchCreate (Maybe Text)-pobcAccessToken- = lens _pobcAccessToken- (\ s a -> s{_pobcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pobcUploadType :: Lens' ProjectsOccurrencesBatchCreate (Maybe Text)-pobcUploadType- = lens _pobcUploadType- (\ s a -> s{_pobcUploadType = a})---- | Multipart request metadata.-pobcPayload :: Lens' ProjectsOccurrencesBatchCreate BatchCreateOccurrencesRequest-pobcPayload- = lens _pobcPayload (\ s a -> s{_pobcPayload = a})---- | JSONP-pobcCallback :: Lens' ProjectsOccurrencesBatchCreate (Maybe Text)-pobcCallback- = lens _pobcCallback (\ s a -> s{_pobcCallback = a})--instance GoogleRequest ProjectsOccurrencesBatchCreate- where- type Rs ProjectsOccurrencesBatchCreate =- BatchCreateOccurrencesResponse- type Scopes ProjectsOccurrencesBatchCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesBatchCreate'{..}- = go _pobcParent _pobcXgafv _pobcUploadProtocol- _pobcAccessToken- _pobcUploadType- _pobcCallback- (Just AltJSON)- _pobcPayload- containerAnalysisService- where go- = buildClient- (Proxy ::- Proxy ProjectsOccurrencesBatchCreateResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Create.hs
@@ -1,165 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new occurrence.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.create@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Create- (- -- * REST Resource- ProjectsOccurrencesCreateResource-- -- * Creating a Request- , projectsOccurrencesCreate- , ProjectsOccurrencesCreate-- -- * Request Lenses- , pocParent- , pocXgafv- , pocUploadProtocol- , pocAccessToken- , pocUploadType- , pocPayload- , pocCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.create@ method which the--- 'ProjectsOccurrencesCreate' request conforms to.-type ProjectsOccurrencesCreateResource =- "v1beta1" :>- Capture "parent" Text :>- "occurrences" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Occurrence :> Post '[JSON] Occurrence---- | Creates a new occurrence.------ /See:/ 'projectsOccurrencesCreate' smart constructor.-data ProjectsOccurrencesCreate =- ProjectsOccurrencesCreate'- { _pocParent :: !Text- , _pocXgafv :: !(Maybe Xgafv)- , _pocUploadProtocol :: !(Maybe Text)- , _pocAccessToken :: !(Maybe Text)- , _pocUploadType :: !(Maybe Text)- , _pocPayload :: !Occurrence- , _pocCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pocParent'------ * 'pocXgafv'------ * 'pocUploadProtocol'------ * 'pocAccessToken'------ * 'pocUploadType'------ * 'pocPayload'------ * 'pocCallback'-projectsOccurrencesCreate- :: Text -- ^ 'pocParent'- -> Occurrence -- ^ 'pocPayload'- -> ProjectsOccurrencesCreate-projectsOccurrencesCreate pPocParent_ pPocPayload_ =- ProjectsOccurrencesCreate'- { _pocParent = pPocParent_- , _pocXgafv = Nothing- , _pocUploadProtocol = Nothing- , _pocAccessToken = Nothing- , _pocUploadType = Nothing- , _pocPayload = pPocPayload_- , _pocCallback = Nothing- }----- | The name of the project in the form of \`projects\/[PROJECT_ID]\`, under--- which the occurrence is to be created.-pocParent :: Lens' ProjectsOccurrencesCreate Text-pocParent- = lens _pocParent (\ s a -> s{_pocParent = a})---- | V1 error format.-pocXgafv :: Lens' ProjectsOccurrencesCreate (Maybe Xgafv)-pocXgafv = lens _pocXgafv (\ s a -> s{_pocXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pocUploadProtocol :: Lens' ProjectsOccurrencesCreate (Maybe Text)-pocUploadProtocol- = lens _pocUploadProtocol- (\ s a -> s{_pocUploadProtocol = a})---- | OAuth access token.-pocAccessToken :: Lens' ProjectsOccurrencesCreate (Maybe Text)-pocAccessToken- = lens _pocAccessToken- (\ s a -> s{_pocAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pocUploadType :: Lens' ProjectsOccurrencesCreate (Maybe Text)-pocUploadType- = lens _pocUploadType- (\ s a -> s{_pocUploadType = a})---- | Multipart request metadata.-pocPayload :: Lens' ProjectsOccurrencesCreate Occurrence-pocPayload- = lens _pocPayload (\ s a -> s{_pocPayload = a})---- | JSONP-pocCallback :: Lens' ProjectsOccurrencesCreate (Maybe Text)-pocCallback- = lens _pocCallback (\ s a -> s{_pocCallback = a})--instance GoogleRequest ProjectsOccurrencesCreate- where- type Rs ProjectsOccurrencesCreate = Occurrence- type Scopes ProjectsOccurrencesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesCreate'{..}- = go _pocParent _pocXgafv _pocUploadProtocol- _pocAccessToken- _pocUploadType- _pocCallback- (Just AltJSON)- _pocPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsOccurrencesCreateResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Delete.hs
@@ -1,154 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified occurrence. For example, use this method to delete--- an occurrence when the occurrence is no longer applicable for the given--- resource.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.delete@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Delete- (- -- * REST Resource- ProjectsOccurrencesDeleteResource-- -- * Creating a Request- , projectsOccurrencesDelete- , ProjectsOccurrencesDelete-- -- * Request Lenses- , podXgafv- , podUploadProtocol- , podAccessToken- , podUploadType- , podName- , podCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.delete@ method which the--- 'ProjectsOccurrencesDelete' request conforms to.-type ProjectsOccurrencesDeleteResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes the specified occurrence. For example, use this method to delete--- an occurrence when the occurrence is no longer applicable for the given--- resource.------ /See:/ 'projectsOccurrencesDelete' smart constructor.-data ProjectsOccurrencesDelete =- ProjectsOccurrencesDelete'- { _podXgafv :: !(Maybe Xgafv)- , _podUploadProtocol :: !(Maybe Text)- , _podAccessToken :: !(Maybe Text)- , _podUploadType :: !(Maybe Text)- , _podName :: !Text- , _podCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'podXgafv'------ * 'podUploadProtocol'------ * 'podAccessToken'------ * 'podUploadType'------ * 'podName'------ * 'podCallback'-projectsOccurrencesDelete- :: Text -- ^ 'podName'- -> ProjectsOccurrencesDelete-projectsOccurrencesDelete pPodName_ =- ProjectsOccurrencesDelete'- { _podXgafv = Nothing- , _podUploadProtocol = Nothing- , _podAccessToken = Nothing- , _podUploadType = Nothing- , _podName = pPodName_- , _podCallback = Nothing- }----- | V1 error format.-podXgafv :: Lens' ProjectsOccurrencesDelete (Maybe Xgafv)-podXgafv = lens _podXgafv (\ s a -> s{_podXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-podUploadProtocol :: Lens' ProjectsOccurrencesDelete (Maybe Text)-podUploadProtocol- = lens _podUploadProtocol- (\ s a -> s{_podUploadProtocol = a})---- | OAuth access token.-podAccessToken :: Lens' ProjectsOccurrencesDelete (Maybe Text)-podAccessToken- = lens _podAccessToken- (\ s a -> s{_podAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-podUploadType :: Lens' ProjectsOccurrencesDelete (Maybe Text)-podUploadType- = lens _podUploadType- (\ s a -> s{_podUploadType = a})---- | The name of the occurrence in the form of--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\`.-podName :: Lens' ProjectsOccurrencesDelete Text-podName = lens _podName (\ s a -> s{_podName = a})---- | JSONP-podCallback :: Lens' ProjectsOccurrencesDelete (Maybe Text)-podCallback- = lens _podCallback (\ s a -> s{_podCallback = a})--instance GoogleRequest ProjectsOccurrencesDelete- where- type Rs ProjectsOccurrencesDelete = Empty- type Scopes ProjectsOccurrencesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesDelete'{..}- = go _podName _podXgafv _podUploadProtocol- _podAccessToken- _podUploadType- _podCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsOccurrencesDeleteResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Get.hs
@@ -1,149 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the specified occurrence.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.get@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Get- (- -- * REST Resource- ProjectsOccurrencesGetResource-- -- * Creating a Request- , projectsOccurrencesGet- , ProjectsOccurrencesGet-- -- * Request Lenses- , pogXgafv- , pogUploadProtocol- , pogAccessToken- , pogUploadType- , pogName- , pogCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.get@ method which the--- 'ProjectsOccurrencesGet' request conforms to.-type ProjectsOccurrencesGetResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] Occurrence---- | Gets the specified occurrence.------ /See:/ 'projectsOccurrencesGet' smart constructor.-data ProjectsOccurrencesGet =- ProjectsOccurrencesGet'- { _pogXgafv :: !(Maybe Xgafv)- , _pogUploadProtocol :: !(Maybe Text)- , _pogAccessToken :: !(Maybe Text)- , _pogUploadType :: !(Maybe Text)- , _pogName :: !Text- , _pogCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pogXgafv'------ * 'pogUploadProtocol'------ * 'pogAccessToken'------ * 'pogUploadType'------ * 'pogName'------ * 'pogCallback'-projectsOccurrencesGet- :: Text -- ^ 'pogName'- -> ProjectsOccurrencesGet-projectsOccurrencesGet pPogName_ =- ProjectsOccurrencesGet'- { _pogXgafv = Nothing- , _pogUploadProtocol = Nothing- , _pogAccessToken = Nothing- , _pogUploadType = Nothing- , _pogName = pPogName_- , _pogCallback = Nothing- }----- | V1 error format.-pogXgafv :: Lens' ProjectsOccurrencesGet (Maybe Xgafv)-pogXgafv = lens _pogXgafv (\ s a -> s{_pogXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pogUploadProtocol :: Lens' ProjectsOccurrencesGet (Maybe Text)-pogUploadProtocol- = lens _pogUploadProtocol- (\ s a -> s{_pogUploadProtocol = a})---- | OAuth access token.-pogAccessToken :: Lens' ProjectsOccurrencesGet (Maybe Text)-pogAccessToken- = lens _pogAccessToken- (\ s a -> s{_pogAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pogUploadType :: Lens' ProjectsOccurrencesGet (Maybe Text)-pogUploadType- = lens _pogUploadType- (\ s a -> s{_pogUploadType = a})---- | The name of the occurrence in the form of--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\`.-pogName :: Lens' ProjectsOccurrencesGet Text-pogName = lens _pogName (\ s a -> s{_pogName = a})---- | JSONP-pogCallback :: Lens' ProjectsOccurrencesGet (Maybe Text)-pogCallback- = lens _pogCallback (\ s a -> s{_pogCallback = a})--instance GoogleRequest ProjectsOccurrencesGet where- type Rs ProjectsOccurrencesGet = Occurrence- type Scopes ProjectsOccurrencesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesGet'{..}- = go _pogName _pogXgafv _pogUploadProtocol- _pogAccessToken- _pogUploadType- _pogCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsOccurrencesGetResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/GetIAMPolicy.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the access control policy for a note or an occurrence resource.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or occurrence, respectively. The resource takes the--- format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.getIamPolicy@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy- (- -- * REST Resource- ProjectsOccurrencesGetIAMPolicyResource-- -- * Creating a Request- , projectsOccurrencesGetIAMPolicy- , ProjectsOccurrencesGetIAMPolicy-- -- * Request Lenses- , pogipXgafv- , pogipUploadProtocol- , pogipAccessToken- , pogipUploadType- , pogipPayload- , pogipResource- , pogipCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.getIamPolicy@ method which the--- 'ProjectsOccurrencesGetIAMPolicy' request conforms to.-type ProjectsOccurrencesGetIAMPolicyResource =- "v1beta1" :>- CaptureMode "resource" "getIamPolicy" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] GetIAMPolicyRequest :>- Post '[JSON] Policy---- | Gets the access control policy for a note or an occurrence resource.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or occurrence, respectively. The resource takes the--- format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ 'projectsOccurrencesGetIAMPolicy' smart constructor.-data ProjectsOccurrencesGetIAMPolicy =- ProjectsOccurrencesGetIAMPolicy'- { _pogipXgafv :: !(Maybe Xgafv)- , _pogipUploadProtocol :: !(Maybe Text)- , _pogipAccessToken :: !(Maybe Text)- , _pogipUploadType :: !(Maybe Text)- , _pogipPayload :: !GetIAMPolicyRequest- , _pogipResource :: !Text- , _pogipCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pogipXgafv'------ * 'pogipUploadProtocol'------ * 'pogipAccessToken'------ * 'pogipUploadType'------ * 'pogipPayload'------ * 'pogipResource'------ * 'pogipCallback'-projectsOccurrencesGetIAMPolicy- :: GetIAMPolicyRequest -- ^ 'pogipPayload'- -> Text -- ^ 'pogipResource'- -> ProjectsOccurrencesGetIAMPolicy-projectsOccurrencesGetIAMPolicy pPogipPayload_ pPogipResource_ =- ProjectsOccurrencesGetIAMPolicy'- { _pogipXgafv = Nothing- , _pogipUploadProtocol = Nothing- , _pogipAccessToken = Nothing- , _pogipUploadType = Nothing- , _pogipPayload = pPogipPayload_- , _pogipResource = pPogipResource_- , _pogipCallback = Nothing- }----- | V1 error format.-pogipXgafv :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Xgafv)-pogipXgafv- = lens _pogipXgafv (\ s a -> s{_pogipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pogipUploadProtocol :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Text)-pogipUploadProtocol- = lens _pogipUploadProtocol- (\ s a -> s{_pogipUploadProtocol = a})---- | OAuth access token.-pogipAccessToken :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Text)-pogipAccessToken- = lens _pogipAccessToken- (\ s a -> s{_pogipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pogipUploadType :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Text)-pogipUploadType- = lens _pogipUploadType- (\ s a -> s{_pogipUploadType = a})---- | Multipart request metadata.-pogipPayload :: Lens' ProjectsOccurrencesGetIAMPolicy GetIAMPolicyRequest-pogipPayload- = lens _pogipPayload (\ s a -> s{_pogipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-pogipResource :: Lens' ProjectsOccurrencesGetIAMPolicy Text-pogipResource- = lens _pogipResource- (\ s a -> s{_pogipResource = a})---- | JSONP-pogipCallback :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Text)-pogipCallback- = lens _pogipCallback- (\ s a -> s{_pogipCallback = a})--instance GoogleRequest- ProjectsOccurrencesGetIAMPolicy- where- type Rs ProjectsOccurrencesGetIAMPolicy = Policy- type Scopes ProjectsOccurrencesGetIAMPolicy =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesGetIAMPolicy'{..}- = go _pogipResource _pogipXgafv _pogipUploadProtocol- _pogipAccessToken- _pogipUploadType- _pogipCallback- (Just AltJSON)- _pogipPayload- containerAnalysisService- where go- = buildClient- (Proxy ::- Proxy ProjectsOccurrencesGetIAMPolicyResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/GetNotes.hs
@@ -1,154 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the note attached to the specified occurrence. Consumer projects--- can use this method to get a note that belongs to a provider project.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.getNotes@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes- (- -- * REST Resource- ProjectsOccurrencesGetNotesResource-- -- * Creating a Request- , projectsOccurrencesGetNotes- , ProjectsOccurrencesGetNotes-- -- * Request Lenses- , pognXgafv- , pognUploadProtocol- , pognAccessToken- , pognUploadType- , pognName- , pognCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.getNotes@ method which the--- 'ProjectsOccurrencesGetNotes' request conforms to.-type ProjectsOccurrencesGetNotesResource =- "v1beta1" :>- Capture "name" Text :>- "notes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] Note---- | Gets the note attached to the specified occurrence. Consumer projects--- can use this method to get a note that belongs to a provider project.------ /See:/ 'projectsOccurrencesGetNotes' smart constructor.-data ProjectsOccurrencesGetNotes =- ProjectsOccurrencesGetNotes'- { _pognXgafv :: !(Maybe Xgafv)- , _pognUploadProtocol :: !(Maybe Text)- , _pognAccessToken :: !(Maybe Text)- , _pognUploadType :: !(Maybe Text)- , _pognName :: !Text- , _pognCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesGetNotes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pognXgafv'------ * 'pognUploadProtocol'------ * 'pognAccessToken'------ * 'pognUploadType'------ * 'pognName'------ * 'pognCallback'-projectsOccurrencesGetNotes- :: Text -- ^ 'pognName'- -> ProjectsOccurrencesGetNotes-projectsOccurrencesGetNotes pPognName_ =- ProjectsOccurrencesGetNotes'- { _pognXgafv = Nothing- , _pognUploadProtocol = Nothing- , _pognAccessToken = Nothing- , _pognUploadType = Nothing- , _pognName = pPognName_- , _pognCallback = Nothing- }----- | V1 error format.-pognXgafv :: Lens' ProjectsOccurrencesGetNotes (Maybe Xgafv)-pognXgafv- = lens _pognXgafv (\ s a -> s{_pognXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pognUploadProtocol :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)-pognUploadProtocol- = lens _pognUploadProtocol- (\ s a -> s{_pognUploadProtocol = a})---- | OAuth access token.-pognAccessToken :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)-pognAccessToken- = lens _pognAccessToken- (\ s a -> s{_pognAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pognUploadType :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)-pognUploadType- = lens _pognUploadType- (\ s a -> s{_pognUploadType = a})---- | The name of the occurrence in the form of--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\`.-pognName :: Lens' ProjectsOccurrencesGetNotes Text-pognName = lens _pognName (\ s a -> s{_pognName = a})---- | JSONP-pognCallback :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)-pognCallback- = lens _pognCallback (\ s a -> s{_pognCallback = a})--instance GoogleRequest ProjectsOccurrencesGetNotes- where- type Rs ProjectsOccurrencesGetNotes = Note- type Scopes ProjectsOccurrencesGetNotes =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesGetNotes'{..}- = go _pognName _pognXgafv _pognUploadProtocol- _pognAccessToken- _pognUploadType- _pognCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsOccurrencesGetNotesResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/GetVulnerabilitySummary.hs
@@ -1,174 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a summary of the number and severity of occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.getVulnerabilitySummary@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary- (- -- * REST Resource- ProjectsOccurrencesGetVulnerabilitySummaryResource-- -- * Creating a Request- , projectsOccurrencesGetVulnerabilitySummary- , ProjectsOccurrencesGetVulnerabilitySummary-- -- * Request Lenses- , pogvsParent- , pogvsXgafv- , pogvsUploadProtocol- , pogvsAccessToken- , pogvsUploadType- , pogvsFilter- , pogvsCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.getVulnerabilitySummary@ method which the--- 'ProjectsOccurrencesGetVulnerabilitySummary' request conforms to.-type ProjectsOccurrencesGetVulnerabilitySummaryResource- =- "v1beta1" :>- Capture "parent" Text :>- "occurrences:vulnerabilitySummary" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] VulnerabilityOccurrencesSummary---- | Gets a summary of the number and severity of occurrences.------ /See:/ 'projectsOccurrencesGetVulnerabilitySummary' smart constructor.-data ProjectsOccurrencesGetVulnerabilitySummary =- ProjectsOccurrencesGetVulnerabilitySummary'- { _pogvsParent :: !Text- , _pogvsXgafv :: !(Maybe Xgafv)- , _pogvsUploadProtocol :: !(Maybe Text)- , _pogvsAccessToken :: !(Maybe Text)- , _pogvsUploadType :: !(Maybe Text)- , _pogvsFilter :: !(Maybe Text)- , _pogvsCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesGetVulnerabilitySummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pogvsParent'------ * 'pogvsXgafv'------ * 'pogvsUploadProtocol'------ * 'pogvsAccessToken'------ * 'pogvsUploadType'------ * 'pogvsFilter'------ * 'pogvsCallback'-projectsOccurrencesGetVulnerabilitySummary- :: Text -- ^ 'pogvsParent'- -> ProjectsOccurrencesGetVulnerabilitySummary-projectsOccurrencesGetVulnerabilitySummary pPogvsParent_ =- ProjectsOccurrencesGetVulnerabilitySummary'- { _pogvsParent = pPogvsParent_- , _pogvsXgafv = Nothing- , _pogvsUploadProtocol = Nothing- , _pogvsAccessToken = Nothing- , _pogvsUploadType = Nothing- , _pogvsFilter = Nothing- , _pogvsCallback = Nothing- }----- | The name of the project to get a vulnerability summary for in the form--- of \`projects\/[PROJECT_ID]\`.-pogvsParent :: Lens' ProjectsOccurrencesGetVulnerabilitySummary Text-pogvsParent- = lens _pogvsParent (\ s a -> s{_pogvsParent = a})---- | V1 error format.-pogvsXgafv :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Xgafv)-pogvsXgafv- = lens _pogvsXgafv (\ s a -> s{_pogvsXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pogvsUploadProtocol :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)-pogvsUploadProtocol- = lens _pogvsUploadProtocol- (\ s a -> s{_pogvsUploadProtocol = a})---- | OAuth access token.-pogvsAccessToken :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)-pogvsAccessToken- = lens _pogvsAccessToken- (\ s a -> s{_pogvsAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pogvsUploadType :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)-pogvsUploadType- = lens _pogvsUploadType- (\ s a -> s{_pogvsUploadType = a})---- | The filter expression.-pogvsFilter :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)-pogvsFilter- = lens _pogvsFilter (\ s a -> s{_pogvsFilter = a})---- | JSONP-pogvsCallback :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)-pogvsCallback- = lens _pogvsCallback- (\ s a -> s{_pogvsCallback = a})--instance GoogleRequest- ProjectsOccurrencesGetVulnerabilitySummary- where- type Rs ProjectsOccurrencesGetVulnerabilitySummary =- VulnerabilityOccurrencesSummary- type Scopes- ProjectsOccurrencesGetVulnerabilitySummary- = '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsOccurrencesGetVulnerabilitySummary'{..}- = go _pogvsParent _pogvsXgafv _pogvsUploadProtocol- _pogvsAccessToken- _pogvsUploadType- _pogvsFilter- _pogvsCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy ::- Proxy- ProjectsOccurrencesGetVulnerabilitySummaryResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/List.hs
@@ -1,191 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists occurrences for the specified project.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.list@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.List- (- -- * REST Resource- ProjectsOccurrencesListResource-- -- * Creating a Request- , projectsOccurrencesList- , ProjectsOccurrencesList-- -- * Request Lenses- , polParent- , polXgafv- , polUploadProtocol- , polAccessToken- , polUploadType- , polFilter- , polPageToken- , polPageSize- , polCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.list@ method which the--- 'ProjectsOccurrencesList' request conforms to.-type ProjectsOccurrencesListResource =- "v1beta1" :>- Capture "parent" Text :>- "occurrences" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListOccurrencesResponse---- | Lists occurrences for the specified project.------ /See:/ 'projectsOccurrencesList' smart constructor.-data ProjectsOccurrencesList =- ProjectsOccurrencesList'- { _polParent :: !Text- , _polXgafv :: !(Maybe Xgafv)- , _polUploadProtocol :: !(Maybe Text)- , _polAccessToken :: !(Maybe Text)- , _polUploadType :: !(Maybe Text)- , _polFilter :: !(Maybe Text)- , _polPageToken :: !(Maybe Text)- , _polPageSize :: !(Maybe (Textual Int32))- , _polCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'polParent'------ * 'polXgafv'------ * 'polUploadProtocol'------ * 'polAccessToken'------ * 'polUploadType'------ * 'polFilter'------ * 'polPageToken'------ * 'polPageSize'------ * 'polCallback'-projectsOccurrencesList- :: Text -- ^ 'polParent'- -> ProjectsOccurrencesList-projectsOccurrencesList pPolParent_ =- ProjectsOccurrencesList'- { _polParent = pPolParent_- , _polXgafv = Nothing- , _polUploadProtocol = Nothing- , _polAccessToken = Nothing- , _polUploadType = Nothing- , _polFilter = Nothing- , _polPageToken = Nothing- , _polPageSize = Nothing- , _polCallback = Nothing- }----- | The name of the project to list occurrences for in the form of--- \`projects\/[PROJECT_ID]\`.-polParent :: Lens' ProjectsOccurrencesList Text-polParent- = lens _polParent (\ s a -> s{_polParent = a})---- | V1 error format.-polXgafv :: Lens' ProjectsOccurrencesList (Maybe Xgafv)-polXgafv = lens _polXgafv (\ s a -> s{_polXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-polUploadProtocol :: Lens' ProjectsOccurrencesList (Maybe Text)-polUploadProtocol- = lens _polUploadProtocol- (\ s a -> s{_polUploadProtocol = a})---- | OAuth access token.-polAccessToken :: Lens' ProjectsOccurrencesList (Maybe Text)-polAccessToken- = lens _polAccessToken- (\ s a -> s{_polAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-polUploadType :: Lens' ProjectsOccurrencesList (Maybe Text)-polUploadType- = lens _polUploadType- (\ s a -> s{_polUploadType = a})---- | The filter expression.-polFilter :: Lens' ProjectsOccurrencesList (Maybe Text)-polFilter- = lens _polFilter (\ s a -> s{_polFilter = a})---- | Token to provide to skip to a particular spot in the list.-polPageToken :: Lens' ProjectsOccurrencesList (Maybe Text)-polPageToken- = lens _polPageToken (\ s a -> s{_polPageToken = a})---- | Number of occurrences to return in the list. Must be positive. Max--- allowed page size is 1000. If not specified, page size defaults to 20.-polPageSize :: Lens' ProjectsOccurrencesList (Maybe Int32)-polPageSize- = lens _polPageSize (\ s a -> s{_polPageSize = a}) .- mapping _Coerce---- | JSONP-polCallback :: Lens' ProjectsOccurrencesList (Maybe Text)-polCallback- = lens _polCallback (\ s a -> s{_polCallback = a})--instance GoogleRequest ProjectsOccurrencesList where- type Rs ProjectsOccurrencesList =- ListOccurrencesResponse- type Scopes ProjectsOccurrencesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesList'{..}- = go _polParent _polXgafv _polUploadProtocol- _polAccessToken- _polUploadType- _polFilter- _polPageToken- _polPageSize- _polCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsOccurrencesListResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/Patch.hs
@@ -1,176 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the specified occurrence.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.patch@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch- (- -- * REST Resource- ProjectsOccurrencesPatchResource-- -- * Creating a Request- , projectsOccurrencesPatch- , ProjectsOccurrencesPatch-- -- * Request Lenses- , popXgafv- , popUploadProtocol- , popUpdateMask- , popAccessToken- , popUploadType- , popPayload- , popName- , popCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.patch@ method which the--- 'ProjectsOccurrencesPatch' request conforms to.-type ProjectsOccurrencesPatchResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "updateMask" GFieldMask :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Occurrence :>- Patch '[JSON] Occurrence---- | Updates the specified occurrence.------ /See:/ 'projectsOccurrencesPatch' smart constructor.-data ProjectsOccurrencesPatch =- ProjectsOccurrencesPatch'- { _popXgafv :: !(Maybe Xgafv)- , _popUploadProtocol :: !(Maybe Text)- , _popUpdateMask :: !(Maybe GFieldMask)- , _popAccessToken :: !(Maybe Text)- , _popUploadType :: !(Maybe Text)- , _popPayload :: !Occurrence- , _popName :: !Text- , _popCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'popXgafv'------ * 'popUploadProtocol'------ * 'popUpdateMask'------ * 'popAccessToken'------ * 'popUploadType'------ * 'popPayload'------ * 'popName'------ * 'popCallback'-projectsOccurrencesPatch- :: Occurrence -- ^ 'popPayload'- -> Text -- ^ 'popName'- -> ProjectsOccurrencesPatch-projectsOccurrencesPatch pPopPayload_ pPopName_ =- ProjectsOccurrencesPatch'- { _popXgafv = Nothing- , _popUploadProtocol = Nothing- , _popUpdateMask = Nothing- , _popAccessToken = Nothing- , _popUploadType = Nothing- , _popPayload = pPopPayload_- , _popName = pPopName_- , _popCallback = Nothing- }----- | V1 error format.-popXgafv :: Lens' ProjectsOccurrencesPatch (Maybe Xgafv)-popXgafv = lens _popXgafv (\ s a -> s{_popXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-popUploadProtocol :: Lens' ProjectsOccurrencesPatch (Maybe Text)-popUploadProtocol- = lens _popUploadProtocol- (\ s a -> s{_popUploadProtocol = a})---- | The fields to update.-popUpdateMask :: Lens' ProjectsOccurrencesPatch (Maybe GFieldMask)-popUpdateMask- = lens _popUpdateMask- (\ s a -> s{_popUpdateMask = a})---- | OAuth access token.-popAccessToken :: Lens' ProjectsOccurrencesPatch (Maybe Text)-popAccessToken- = lens _popAccessToken- (\ s a -> s{_popAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-popUploadType :: Lens' ProjectsOccurrencesPatch (Maybe Text)-popUploadType- = lens _popUploadType- (\ s a -> s{_popUploadType = a})---- | Multipart request metadata.-popPayload :: Lens' ProjectsOccurrencesPatch Occurrence-popPayload- = lens _popPayload (\ s a -> s{_popPayload = a})---- | The name of the occurrence in the form of--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\`.-popName :: Lens' ProjectsOccurrencesPatch Text-popName = lens _popName (\ s a -> s{_popName = a})---- | JSONP-popCallback :: Lens' ProjectsOccurrencesPatch (Maybe Text)-popCallback- = lens _popCallback (\ s a -> s{_popCallback = a})--instance GoogleRequest ProjectsOccurrencesPatch where- type Rs ProjectsOccurrencesPatch = Occurrence- type Scopes ProjectsOccurrencesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesPatch'{..}- = go _popName _popXgafv _popUploadProtocol- _popUpdateMask- _popAccessToken- _popUploadType- _popCallback- (Just AltJSON)- _popPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsOccurrencesPatchResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/SetIAMPolicy.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.SetIAMPolicy--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Sets the access control policy on the specified note or occurrence.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or an occurrence, respectively. The resource takes--- the format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.setIamPolicy@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.SetIAMPolicy- (- -- * REST Resource- ProjectsOccurrencesSetIAMPolicyResource-- -- * Creating a Request- , projectsOccurrencesSetIAMPolicy- , ProjectsOccurrencesSetIAMPolicy-- -- * Request Lenses- , posipXgafv- , posipUploadProtocol- , posipAccessToken- , posipUploadType- , posipPayload- , posipResource- , posipCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.setIamPolicy@ method which the--- 'ProjectsOccurrencesSetIAMPolicy' request conforms to.-type ProjectsOccurrencesSetIAMPolicyResource =- "v1beta1" :>- CaptureMode "resource" "setIamPolicy" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] SetIAMPolicyRequest :>- Post '[JSON] Policy---- | Sets the access control policy on the specified note or occurrence.--- Requires \`containeranalysis.notes.setIamPolicy\` or--- \`containeranalysis.occurrences.setIamPolicy\` permission if the--- resource is a note or an occurrence, respectively. The resource takes--- the format \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ 'projectsOccurrencesSetIAMPolicy' smart constructor.-data ProjectsOccurrencesSetIAMPolicy =- ProjectsOccurrencesSetIAMPolicy'- { _posipXgafv :: !(Maybe Xgafv)- , _posipUploadProtocol :: !(Maybe Text)- , _posipAccessToken :: !(Maybe Text)- , _posipUploadType :: !(Maybe Text)- , _posipPayload :: !SetIAMPolicyRequest- , _posipResource :: !Text- , _posipCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'posipXgafv'------ * 'posipUploadProtocol'------ * 'posipAccessToken'------ * 'posipUploadType'------ * 'posipPayload'------ * 'posipResource'------ * 'posipCallback'-projectsOccurrencesSetIAMPolicy- :: SetIAMPolicyRequest -- ^ 'posipPayload'- -> Text -- ^ 'posipResource'- -> ProjectsOccurrencesSetIAMPolicy-projectsOccurrencesSetIAMPolicy pPosipPayload_ pPosipResource_ =- ProjectsOccurrencesSetIAMPolicy'- { _posipXgafv = Nothing- , _posipUploadProtocol = Nothing- , _posipAccessToken = Nothing- , _posipUploadType = Nothing- , _posipPayload = pPosipPayload_- , _posipResource = pPosipResource_- , _posipCallback = Nothing- }----- | V1 error format.-posipXgafv :: Lens' ProjectsOccurrencesSetIAMPolicy (Maybe Xgafv)-posipXgafv- = lens _posipXgafv (\ s a -> s{_posipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-posipUploadProtocol :: Lens' ProjectsOccurrencesSetIAMPolicy (Maybe Text)-posipUploadProtocol- = lens _posipUploadProtocol- (\ s a -> s{_posipUploadProtocol = a})---- | OAuth access token.-posipAccessToken :: Lens' ProjectsOccurrencesSetIAMPolicy (Maybe Text)-posipAccessToken- = lens _posipAccessToken- (\ s a -> s{_posipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-posipUploadType :: Lens' ProjectsOccurrencesSetIAMPolicy (Maybe Text)-posipUploadType- = lens _posipUploadType- (\ s a -> s{_posipUploadType = a})---- | Multipart request metadata.-posipPayload :: Lens' ProjectsOccurrencesSetIAMPolicy SetIAMPolicyRequest-posipPayload- = lens _posipPayload (\ s a -> s{_posipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-posipResource :: Lens' ProjectsOccurrencesSetIAMPolicy Text-posipResource- = lens _posipResource- (\ s a -> s{_posipResource = a})---- | JSONP-posipCallback :: Lens' ProjectsOccurrencesSetIAMPolicy (Maybe Text)-posipCallback- = lens _posipCallback- (\ s a -> s{_posipCallback = a})--instance GoogleRequest- ProjectsOccurrencesSetIAMPolicy- where- type Rs ProjectsOccurrencesSetIAMPolicy = Policy- type Scopes ProjectsOccurrencesSetIAMPolicy =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsOccurrencesSetIAMPolicy'{..}- = go _posipResource _posipXgafv _posipUploadProtocol- _posipAccessToken- _posipUploadType- _posipCallback- (Just AltJSON)- _posipPayload- containerAnalysisService- where go- = buildClient- (Proxy ::- Proxy ProjectsOccurrencesSetIAMPolicyResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/Occurrences/TestIAMPermissions.hs
@@ -1,183 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the permissions that a caller has on the specified note or--- occurrence. Requires list permission on the project (for example,--- \`containeranalysis.notes.list\`). The resource takes the format--- \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.occurrences.testIamPermissions@.-module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions- (- -- * REST Resource- ProjectsOccurrencesTestIAMPermissionsResource-- -- * Creating a Request- , projectsOccurrencesTestIAMPermissions- , ProjectsOccurrencesTestIAMPermissions-- -- * Request Lenses- , potipXgafv- , potipUploadProtocol- , potipAccessToken- , potipUploadType- , potipPayload- , potipResource- , potipCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.occurrences.testIamPermissions@ method which the--- 'ProjectsOccurrencesTestIAMPermissions' request conforms to.-type ProjectsOccurrencesTestIAMPermissionsResource =- "v1beta1" :>- CaptureMode "resource" "testIamPermissions" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] TestIAMPermissionsRequest :>- Post '[JSON] TestIAMPermissionsResponse---- | Returns the permissions that a caller has on the specified note or--- occurrence. Requires list permission on the project (for example,--- \`containeranalysis.notes.list\`). The resource takes the format--- \`projects\/[PROJECT_ID]\/notes\/[NOTE_ID]\` for notes and--- \`projects\/[PROJECT_ID]\/occurrences\/[OCCURRENCE_ID]\` for--- occurrences.------ /See:/ 'projectsOccurrencesTestIAMPermissions' smart constructor.-data ProjectsOccurrencesTestIAMPermissions =- ProjectsOccurrencesTestIAMPermissions'- { _potipXgafv :: !(Maybe Xgafv)- , _potipUploadProtocol :: !(Maybe Text)- , _potipAccessToken :: !(Maybe Text)- , _potipUploadType :: !(Maybe Text)- , _potipPayload :: !TestIAMPermissionsRequest- , _potipResource :: !Text- , _potipCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsOccurrencesTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'potipXgafv'------ * 'potipUploadProtocol'------ * 'potipAccessToken'------ * 'potipUploadType'------ * 'potipPayload'------ * 'potipResource'------ * 'potipCallback'-projectsOccurrencesTestIAMPermissions- :: TestIAMPermissionsRequest -- ^ 'potipPayload'- -> Text -- ^ 'potipResource'- -> ProjectsOccurrencesTestIAMPermissions-projectsOccurrencesTestIAMPermissions pPotipPayload_ pPotipResource_ =- ProjectsOccurrencesTestIAMPermissions'- { _potipXgafv = Nothing- , _potipUploadProtocol = Nothing- , _potipAccessToken = Nothing- , _potipUploadType = Nothing- , _potipPayload = pPotipPayload_- , _potipResource = pPotipResource_- , _potipCallback = Nothing- }----- | V1 error format.-potipXgafv :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Xgafv)-potipXgafv- = lens _potipXgafv (\ s a -> s{_potipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-potipUploadProtocol :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Text)-potipUploadProtocol- = lens _potipUploadProtocol- (\ s a -> s{_potipUploadProtocol = a})---- | OAuth access token.-potipAccessToken :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Text)-potipAccessToken- = lens _potipAccessToken- (\ s a -> s{_potipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-potipUploadType :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Text)-potipUploadType- = lens _potipUploadType- (\ s a -> s{_potipUploadType = a})---- | Multipart request metadata.-potipPayload :: Lens' ProjectsOccurrencesTestIAMPermissions TestIAMPermissionsRequest-potipPayload- = lens _potipPayload (\ s a -> s{_potipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-potipResource :: Lens' ProjectsOccurrencesTestIAMPermissions Text-potipResource- = lens _potipResource- (\ s a -> s{_potipResource = a})---- | JSONP-potipCallback :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Text)-potipCallback- = lens _potipCallback- (\ s a -> s{_potipCallback = a})--instance GoogleRequest- ProjectsOccurrencesTestIAMPermissions- where- type Rs ProjectsOccurrencesTestIAMPermissions =- TestIAMPermissionsResponse- type Scopes ProjectsOccurrencesTestIAMPermissions =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- ProjectsOccurrencesTestIAMPermissions'{..}- = go _potipResource _potipXgafv _potipUploadProtocol- _potipAccessToken- _potipUploadType- _potipCallback- (Just AltJSON)- _potipPayload- containerAnalysisService- where go- = buildClient- (Proxy ::- Proxy ProjectsOccurrencesTestIAMPermissionsResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/ScanConfigs/Get.hs
@@ -1,150 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the specified scan configuration.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.scanConfigs.get@.-module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Get- (- -- * REST Resource- ProjectsScanConfigsGetResource-- -- * Creating a Request- , projectsScanConfigsGet- , ProjectsScanConfigsGet-- -- * Request Lenses- , pscgXgafv- , pscgUploadProtocol- , pscgAccessToken- , pscgUploadType- , pscgName- , pscgCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.scanConfigs.get@ method which the--- 'ProjectsScanConfigsGet' request conforms to.-type ProjectsScanConfigsGetResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] ScanConfig---- | Gets the specified scan configuration.------ /See:/ 'projectsScanConfigsGet' smart constructor.-data ProjectsScanConfigsGet =- ProjectsScanConfigsGet'- { _pscgXgafv :: !(Maybe Xgafv)- , _pscgUploadProtocol :: !(Maybe Text)- , _pscgAccessToken :: !(Maybe Text)- , _pscgUploadType :: !(Maybe Text)- , _pscgName :: !Text- , _pscgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsScanConfigsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pscgXgafv'------ * 'pscgUploadProtocol'------ * 'pscgAccessToken'------ * 'pscgUploadType'------ * 'pscgName'------ * 'pscgCallback'-projectsScanConfigsGet- :: Text -- ^ 'pscgName'- -> ProjectsScanConfigsGet-projectsScanConfigsGet pPscgName_ =- ProjectsScanConfigsGet'- { _pscgXgafv = Nothing- , _pscgUploadProtocol = Nothing- , _pscgAccessToken = Nothing- , _pscgUploadType = Nothing- , _pscgName = pPscgName_- , _pscgCallback = Nothing- }----- | V1 error format.-pscgXgafv :: Lens' ProjectsScanConfigsGet (Maybe Xgafv)-pscgXgafv- = lens _pscgXgafv (\ s a -> s{_pscgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pscgUploadProtocol :: Lens' ProjectsScanConfigsGet (Maybe Text)-pscgUploadProtocol- = lens _pscgUploadProtocol- (\ s a -> s{_pscgUploadProtocol = a})---- | OAuth access token.-pscgAccessToken :: Lens' ProjectsScanConfigsGet (Maybe Text)-pscgAccessToken- = lens _pscgAccessToken- (\ s a -> s{_pscgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pscgUploadType :: Lens' ProjectsScanConfigsGet (Maybe Text)-pscgUploadType- = lens _pscgUploadType- (\ s a -> s{_pscgUploadType = a})---- | The name of the scan configuration in the form of--- \`projects\/[PROJECT_ID]\/scanConfigs\/[SCAN_CONFIG_ID]\`.-pscgName :: Lens' ProjectsScanConfigsGet Text-pscgName = lens _pscgName (\ s a -> s{_pscgName = a})---- | JSONP-pscgCallback :: Lens' ProjectsScanConfigsGet (Maybe Text)-pscgCallback- = lens _pscgCallback (\ s a -> s{_pscgCallback = a})--instance GoogleRequest ProjectsScanConfigsGet where- type Rs ProjectsScanConfigsGet = ScanConfig- type Scopes ProjectsScanConfigsGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsScanConfigsGet'{..}- = go _pscgName _pscgXgafv _pscgUploadProtocol- _pscgAccessToken- _pscgUploadType- _pscgCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsScanConfigsGetResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/ScanConfigs/List.hs
@@ -1,192 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists scan configurations for the specified project.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.scanConfigs.list@.-module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.List- (- -- * REST Resource- ProjectsScanConfigsListResource-- -- * Creating a Request- , projectsScanConfigsList- , ProjectsScanConfigsList-- -- * Request Lenses- , psclParent- , psclXgafv- , psclUploadProtocol- , psclAccessToken- , psclUploadType- , psclFilter- , psclPageToken- , psclPageSize- , psclCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.scanConfigs.list@ method which the--- 'ProjectsScanConfigsList' request conforms to.-type ProjectsScanConfigsListResource =- "v1beta1" :>- Capture "parent" Text :>- "scanConfigs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] ListScanConfigsResponse---- | Lists scan configurations for the specified project.------ /See:/ 'projectsScanConfigsList' smart constructor.-data ProjectsScanConfigsList =- ProjectsScanConfigsList'- { _psclParent :: !Text- , _psclXgafv :: !(Maybe Xgafv)- , _psclUploadProtocol :: !(Maybe Text)- , _psclAccessToken :: !(Maybe Text)- , _psclUploadType :: !(Maybe Text)- , _psclFilter :: !(Maybe Text)- , _psclPageToken :: !(Maybe Text)- , _psclPageSize :: !(Maybe (Textual Int32))- , _psclCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsScanConfigsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psclParent'------ * 'psclXgafv'------ * 'psclUploadProtocol'------ * 'psclAccessToken'------ * 'psclUploadType'------ * 'psclFilter'------ * 'psclPageToken'------ * 'psclPageSize'------ * 'psclCallback'-projectsScanConfigsList- :: Text -- ^ 'psclParent'- -> ProjectsScanConfigsList-projectsScanConfigsList pPsclParent_ =- ProjectsScanConfigsList'- { _psclParent = pPsclParent_- , _psclXgafv = Nothing- , _psclUploadProtocol = Nothing- , _psclAccessToken = Nothing- , _psclUploadType = Nothing- , _psclFilter = Nothing- , _psclPageToken = Nothing- , _psclPageSize = Nothing- , _psclCallback = Nothing- }----- | The name of the project to list scan configurations for in the form of--- \`projects\/[PROJECT_ID]\`.-psclParent :: Lens' ProjectsScanConfigsList Text-psclParent- = lens _psclParent (\ s a -> s{_psclParent = a})---- | V1 error format.-psclXgafv :: Lens' ProjectsScanConfigsList (Maybe Xgafv)-psclXgafv- = lens _psclXgafv (\ s a -> s{_psclXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-psclUploadProtocol :: Lens' ProjectsScanConfigsList (Maybe Text)-psclUploadProtocol- = lens _psclUploadProtocol- (\ s a -> s{_psclUploadProtocol = a})---- | OAuth access token.-psclAccessToken :: Lens' ProjectsScanConfigsList (Maybe Text)-psclAccessToken- = lens _psclAccessToken- (\ s a -> s{_psclAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-psclUploadType :: Lens' ProjectsScanConfigsList (Maybe Text)-psclUploadType- = lens _psclUploadType- (\ s a -> s{_psclUploadType = a})---- | The filter expression.-psclFilter :: Lens' ProjectsScanConfigsList (Maybe Text)-psclFilter- = lens _psclFilter (\ s a -> s{_psclFilter = a})---- | Token to provide to skip to a particular spot in the list.-psclPageToken :: Lens' ProjectsScanConfigsList (Maybe Text)-psclPageToken- = lens _psclPageToken- (\ s a -> s{_psclPageToken = a})---- | The number of scan configs to return in the list.-psclPageSize :: Lens' ProjectsScanConfigsList (Maybe Int32)-psclPageSize- = lens _psclPageSize (\ s a -> s{_psclPageSize = a})- . mapping _Coerce---- | JSONP-psclCallback :: Lens' ProjectsScanConfigsList (Maybe Text)-psclCallback- = lens _psclCallback (\ s a -> s{_psclCallback = a})--instance GoogleRequest ProjectsScanConfigsList where- type Rs ProjectsScanConfigsList =- ListScanConfigsResponse- type Scopes ProjectsScanConfigsList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsScanConfigsList'{..}- = go _psclParent _psclXgafv _psclUploadProtocol- _psclAccessToken- _psclUploadType- _psclFilter- _psclPageToken- _psclPageSize- _psclCallback- (Just AltJSON)- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsScanConfigsListResource)- mempty
− gen/Network/Google/Resource/ContainerAnalysis/Projects/ScanConfigs/Update.hs
@@ -1,164 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the specified scan configuration.------ /See:/ <https://cloud.google.com/container-analysis/api/reference/rest/ Container Analysis API Reference> for @containeranalysis.projects.scanConfigs.update@.-module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update- (- -- * REST Resource- ProjectsScanConfigsUpdateResource-- -- * Creating a Request- , projectsScanConfigsUpdate- , ProjectsScanConfigsUpdate-- -- * Request Lenses- , pscuXgafv- , pscuUploadProtocol- , pscuAccessToken- , pscuUploadType- , pscuPayload- , pscuName- , pscuCallback- ) where--import Network.Google.ContainerAnalysis.Types-import Network.Google.Prelude---- | A resource alias for @containeranalysis.projects.scanConfigs.update@ method which the--- 'ProjectsScanConfigsUpdate' request conforms to.-type ProjectsScanConfigsUpdateResource =- "v1beta1" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] ScanConfig :> Put '[JSON] ScanConfig---- | Updates the specified scan configuration.------ /See:/ 'projectsScanConfigsUpdate' smart constructor.-data ProjectsScanConfigsUpdate =- ProjectsScanConfigsUpdate'- { _pscuXgafv :: !(Maybe Xgafv)- , _pscuUploadProtocol :: !(Maybe Text)- , _pscuAccessToken :: !(Maybe Text)- , _pscuUploadType :: !(Maybe Text)- , _pscuPayload :: !ScanConfig- , _pscuName :: !Text- , _pscuCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsScanConfigsUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pscuXgafv'------ * 'pscuUploadProtocol'------ * 'pscuAccessToken'------ * 'pscuUploadType'------ * 'pscuPayload'------ * 'pscuName'------ * 'pscuCallback'-projectsScanConfigsUpdate- :: ScanConfig -- ^ 'pscuPayload'- -> Text -- ^ 'pscuName'- -> ProjectsScanConfigsUpdate-projectsScanConfigsUpdate pPscuPayload_ pPscuName_ =- ProjectsScanConfigsUpdate'- { _pscuXgafv = Nothing- , _pscuUploadProtocol = Nothing- , _pscuAccessToken = Nothing- , _pscuUploadType = Nothing- , _pscuPayload = pPscuPayload_- , _pscuName = pPscuName_- , _pscuCallback = Nothing- }----- | V1 error format.-pscuXgafv :: Lens' ProjectsScanConfigsUpdate (Maybe Xgafv)-pscuXgafv- = lens _pscuXgafv (\ s a -> s{_pscuXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pscuUploadProtocol :: Lens' ProjectsScanConfigsUpdate (Maybe Text)-pscuUploadProtocol- = lens _pscuUploadProtocol- (\ s a -> s{_pscuUploadProtocol = a})---- | OAuth access token.-pscuAccessToken :: Lens' ProjectsScanConfigsUpdate (Maybe Text)-pscuAccessToken- = lens _pscuAccessToken- (\ s a -> s{_pscuAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pscuUploadType :: Lens' ProjectsScanConfigsUpdate (Maybe Text)-pscuUploadType- = lens _pscuUploadType- (\ s a -> s{_pscuUploadType = a})---- | Multipart request metadata.-pscuPayload :: Lens' ProjectsScanConfigsUpdate ScanConfig-pscuPayload- = lens _pscuPayload (\ s a -> s{_pscuPayload = a})---- | The name of the scan configuration in the form of--- \`projects\/[PROJECT_ID]\/scanConfigs\/[SCAN_CONFIG_ID]\`.-pscuName :: Lens' ProjectsScanConfigsUpdate Text-pscuName = lens _pscuName (\ s a -> s{_pscuName = a})---- | JSONP-pscuCallback :: Lens' ProjectsScanConfigsUpdate (Maybe Text)-pscuCallback- = lens _pscuCallback (\ s a -> s{_pscuCallback = a})--instance GoogleRequest ProjectsScanConfigsUpdate- where- type Rs ProjectsScanConfigsUpdate = ScanConfig- type Scopes ProjectsScanConfigsUpdate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsScanConfigsUpdate'{..}- = go _pscuName _pscuXgafv _pscuUploadProtocol- _pscuAccessToken- _pscuUploadType- _pscuCallback- (Just AltJSON)- _pscuPayload- containerAnalysisService- where go- = buildClient- (Proxy :: Proxy ProjectsScanConfigsUpdateResource)- mempty
gogol-containeranalysis.cabal view
@@ -1,70 +1,104 @@-name: gogol-containeranalysis-version: 0.5.0-synopsis: Google Container Analysis SDK.-homepage: https://github.com/brendanhay/gogol-bug-reports: https://github.com/brendanhay/gogol/issues-license: OtherLicense-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2015-2016 Brendan Hay-category: Network, Google, Cloud-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md src/.gitkeep+cabal-version: 2.2+name: gogol-containeranalysis+version: 1.0.0+synopsis: Google Container Analysis SDK.+homepage: https://github.com/brendanhay/gogol+bug-reports: https://github.com/brendanhay/gogol/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+gogol@gmail.com>, Toni Cebrián <toni@tonicebrian.com> +copyright: Copyright (c) 2015-2025 Brendan Hay+category: Google+build-type: Simple+extra-source-files:+ README.md+ src/.gitkeep+ description:- An implementation of the Grafeas API, which stores, and enables querying- and retrieval of critical metadata about all of your software artifacts.- .- /Warning:/ This is an experimental prototype/preview release which is still- under exploratory development and not intended for public use, caveat emptor!- .- This library is compatible with version @v1beta1@- of the API.+ This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in both Artifact Registry and with Advanced Vulnerability Insights (runtime scanning) in GKE. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.+ .+ /Warning:/ This is an experimental prototype/preview release which is still+ under exploratory development and not intended for public use, caveat emptor!+ .+ This library is compatible with version @v1@+ of the API. source-repository head- type: git- location: git://github.com/brendanhay/gogol.git+ type: git+ location: git://github.com/brendanhay/gogol.git+ subdir: gogol-containeranalysis +flag field-selectors+ description:+ If record field selectors should be enabled. Disabling this requires GHC >=9.2 and the NoFieldSelectors extension.++ default: False+ manual: True+ library- default-language: Haskell2010- hs-source-dirs: src gen+ default-language: GHC2021+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields+ -fwarn-unused-packages - ghc-options: -Wall+ if (!flag(field-selectors) && impl(ghc >=9.2))+ default-extensions: NoFieldSelectors - exposed-modules:- Network.Google.ContainerAnalysis- , Network.Google.ContainerAnalysis.Types- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.BatchCreate- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.Delete- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.Get- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.GetIAMPolicy- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.List- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.Occurrences.List- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.SetIAMPolicy- , Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.BatchCreate- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Create- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Delete- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Get- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.List- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.SetIAMPolicy- , Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions- , Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Get- , Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.List- , Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update+ exposed-modules:+ Gogol.ContainerAnalysis+ Gogol.ContainerAnalysis.Projects.Locations.Notes.BatchCreate+ Gogol.ContainerAnalysis.Projects.Locations.Notes.Create+ Gogol.ContainerAnalysis.Projects.Locations.Notes.Delete+ Gogol.ContainerAnalysis.Projects.Locations.Notes.Get+ Gogol.ContainerAnalysis.Projects.Locations.Notes.GetIamPolicy+ Gogol.ContainerAnalysis.Projects.Locations.Notes.List+ Gogol.ContainerAnalysis.Projects.Locations.Notes.Occurrences.List+ Gogol.ContainerAnalysis.Projects.Locations.Notes.Patch+ Gogol.ContainerAnalysis.Projects.Locations.Notes.SetIamPolicy+ Gogol.ContainerAnalysis.Projects.Locations.Notes.TestIamPermissions+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.BatchCreate+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Create+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Delete+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Get+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetIamPolicy+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetNotes+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.GetVulnerabilitySummary+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.List+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.Patch+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.SetIamPolicy+ Gogol.ContainerAnalysis.Projects.Locations.Occurrences.TestIamPermissions+ Gogol.ContainerAnalysis.Projects.Locations.Resources.ExportSBOM+ Gogol.ContainerAnalysis.Projects.Notes.BatchCreate+ Gogol.ContainerAnalysis.Projects.Notes.Create+ Gogol.ContainerAnalysis.Projects.Notes.Delete+ Gogol.ContainerAnalysis.Projects.Notes.Get+ Gogol.ContainerAnalysis.Projects.Notes.GetIamPolicy+ Gogol.ContainerAnalysis.Projects.Notes.List+ Gogol.ContainerAnalysis.Projects.Notes.Occurrences.List+ Gogol.ContainerAnalysis.Projects.Notes.Patch+ Gogol.ContainerAnalysis.Projects.Notes.SetIamPolicy+ Gogol.ContainerAnalysis.Projects.Notes.TestIamPermissions+ Gogol.ContainerAnalysis.Projects.Occurrences.BatchCreate+ Gogol.ContainerAnalysis.Projects.Occurrences.Create+ Gogol.ContainerAnalysis.Projects.Occurrences.Delete+ Gogol.ContainerAnalysis.Projects.Occurrences.Get+ Gogol.ContainerAnalysis.Projects.Occurrences.GetIamPolicy+ Gogol.ContainerAnalysis.Projects.Occurrences.GetNotes+ Gogol.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary+ Gogol.ContainerAnalysis.Projects.Occurrences.List+ Gogol.ContainerAnalysis.Projects.Occurrences.Patch+ Gogol.ContainerAnalysis.Projects.Occurrences.SetIamPolicy+ Gogol.ContainerAnalysis.Projects.Occurrences.TestIamPermissions+ Gogol.ContainerAnalysis.Projects.Resources.ExportSBOM+ Gogol.ContainerAnalysis.Types - other-modules:- Network.Google.ContainerAnalysis.Types.Product- , Network.Google.ContainerAnalysis.Types.Sum+ other-modules:+ Gogol.ContainerAnalysis.Internal.Product+ Gogol.ContainerAnalysis.Internal.Sum - build-depends:- gogol-core == 0.5.0.*- , base >= 4.7 && < 5+ build-depends: gogol-core ^>=1.0.0