Class /GOOG/CL_ONDEMANDSCANNING_V1

Class

/GOOG/CL_ONDEMANDSCANNING_V1
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:On-Demand Scanning API v1
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 AliasContext PUBLIC
TY_002 AnalysisCompleted PUBLIC
TY_003 AnalyzePackagesRequestV1 PUBLIC
TY_004 Artifact PUBLIC
TY_005 AttestationOccurrence PUBLIC
TY_006 BinarySourceInfo PUBLIC
TY_007 BuildDefinition PUBLIC
TY_008 BuildMetadata PUBLIC
TY_009 BuildOccurrence PUBLIC
TY_010 BuildProvenance PUBLIC
TY_011 BuilderConfig PUBLIC
TY_012 CVSS PUBLIC
TY_013 Category PUBLIC
TY_014 CloudRepoSourceContext PUBLIC
TY_015 Command PUBLIC
TY_016 Completeness PUBLIC
TY_017 ComplianceOccurrence PUBLIC
TY_018 DSSEAttestationOccurrence PUBLIC
TY_019 DeploymentOccurrence PUBLIC
TY_020 DiscoveryOccurrence PUBLIC
TY_022 Envelope PUBLIC
TY_023 EnvelopeSignature PUBLIC
TY_024 FileHashes PUBLIC
TY_025 FileLocation PUBLIC
TY_026 Fingerprint PUBLIC
TY_027 GerritSourceContext PUBLIC
TY_028 GitSourceContext PUBLIC
TY_029 GrafeasV1FileLocation PUBLIC
TY_030 GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder PUBLIC
TY_031 GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness PUBLIC
TY_032 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource PUBLIC
TY_033 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation PUBLIC
TY_034 GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial PUBLIC
TY_035 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata PUBLIC
TY_036 Hash PUBLIC
TY_037 Identity PUBLIC
TY_038 ImageOccurrence PUBLIC
TY_039 InTotoProvenance PUBLIC
TY_040 InTotoSlsaProvenanceV1 PUBLIC
TY_041 InTotoStatement PUBLIC
TY_042 Justification PUBLIC
TY_043 Jwt PUBLIC
TY_044 LanguagePackageDependency PUBLIC
TY_045 Layer PUBLIC
TY_046 License PUBLIC
TY_047 ListOperationsResponse PUBLIC
TY_048 ListVulnerabilitiesResponseV1 PUBLIC
TY_049 Location PUBLIC
TY_050 Maintainer PUBLIC
TY_051 Material PUBLIC
TY_052 Metadata PUBLIC
TY_053 NonCompliantFile PUBLIC
TY_054 Occurrence PUBLIC
TY_055 Operation PUBLIC
TY_056 PackageData PUBLIC
TY_057 PackageIssue PUBLIC
TY_058 PackageOccurrence PUBLIC
TY_059 PackageVersion PUBLIC
TY_060 ProjectRepoId PUBLIC
TY_061 ProvenanceBuilder PUBLIC
TY_062 Recipe PUBLIC
TY_063 RelatedUrl PUBLIC
TY_064 Remediation PUBLIC
TY_065 RepoId PUBLIC
TY_066 ResourceDescriptor PUBLIC
TY_067 RunDetails PUBLIC
TY_068 SBOMReferenceOccurrence PUBLIC
TY_069 SBOMStatus PUBLIC
TY_070 SbomReferenceIntotoPayload PUBLIC
TY_071 SbomReferenceIntotoPredicate PUBLIC
TY_072 Signature PUBLIC
TY_073 SlsaBuilder PUBLIC
TY_074 SlsaCompleteness PUBLIC
TY_075 SlsaMetadata PUBLIC
TY_076 SlsaProvenance PUBLIC
TY_077 SlsaProvenanceV1 PUBLIC
TY_078 SlsaProvenanceZeroTwo PUBLIC
TY_079 SlsaRecipe PUBLIC
TY_080 Source PUBLIC
TY_081 SourceContext PUBLIC
TY_082 Status PUBLIC
TY_083 Subject PUBLIC
TY_084 UpgradeDistribution PUBLIC
TY_085 UpgradeOccurrence PUBLIC
TY_086 Version PUBLIC
TY_087 VexAssessment PUBLIC
TY_088 VulnerabilityOccurrence PUBLIC
TY_089 WindowsUpdate PUBLIC
TY_090 ComplianceVersion PUBLIC
TY_091 BaseImage PUBLIC
TY_092 GrafeasV1BaseImage PUBLIC
TY_093 GrafeasV1LayerDetails PUBLIC
TY_094 LayerDetails PUBLIC
TY_T_004 Artifact PUBLIC
TY_T_006 BinarySourceInfo PUBLIC
TY_T_013 Category PUBLIC
TY_T_015 Command PUBLIC
TY_T_023 EnvelopeSignature PUBLIC
TY_T_025 FileLocation PUBLIC
TY_T_029 GrafeasV1FileLocation PUBLIC
TY_T_034 GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial PUBLIC
TY_T_036 Hash PUBLIC
TY_T_043 Jwt PUBLIC
TY_T_044 LanguagePackageDependency PUBLIC
TY_T_045 Layer PUBLIC
TY_T_049 Location PUBLIC
TY_T_051 Material PUBLIC
TY_T_053 NonCompliantFile PUBLIC
TY_T_054 Occurrence PUBLIC
TY_T_055 Operation PUBLIC
TY_T_056 PackageData PUBLIC
TY_T_057 PackageIssue PUBLIC
TY_T_063 RelatedUrl PUBLIC
TY_T_064 Remediation PUBLIC
TY_T_066 ResourceDescriptor PUBLIC
TY_T_072 Signature PUBLIC
TY_T_081 SourceContext PUBLIC
TY_T_082 Status PUBLIC
TY_T_083 Subject PUBLIC
TY_T_091 BaseImage PUBLIC
TY_T_092 GrafeasV1BaseImage PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constants

Name Type Description Value Visibility
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types IJIJWW PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name ondemandscanning:v1 PUBLIC
C_ROOT_URL STRING API Root URL https://ondemandscanning.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250303 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.7 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC

Methods

For general information about a method in ABAP SDK for Google Cloud, see API method.

CONSTRUCTOR

  • Description: Constructor
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_KEY_NAME IMPORTING /GOOG/KEYNAME Google Cloud Key Name
IV_LOG_OBJ IMPORTING BALOBJ_D Application log: Object name (Application code)
IV_LOG_SUBOBJ IMPORTING BALSUBOBJ Application Log: Subobject

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

ANALYZE_PACKAGES_SCANS

  • Description: ondemandscanning.projects.locations.scans.analyzePackages
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IS_INPUT IMPORTING TY_003 AnalyzePackagesRequestV1
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_055 Operation
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

CANCEL_OPERATIONS

  • Description: ondemandscanning.projects.locations.operations.cancel
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING DATA Output Data
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

DELETE_OPERATIONS

  • Description: ondemandscanning.projects.locations.operations.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING DATA Output Data
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

GET_OPERATIONS

  • Description: ondemandscanning.projects.locations.operations.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_055 Operation
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

LIST_OPERATIONS

  • Description: ondemandscanning.projects.locations.operations.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_047 ListOperationsResponse
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

LIST_VULNERABILITIES

  • Description: projects.locations.scans.vulnerabilities.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_SCANS_ID IMPORTING STRING scansId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_048 ListVulnerabilitiesResponseV1
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

WAIT_OPERATIONS

  • Description: ondemandscanning.projects.locations.operations.wait
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_TIMEOUT IMPORTING STRING timeout
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_055 Operation
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

CLOSE

  • Description: Close Connection
  • Visibility: PUBLIC