Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 3, 2023
1 parent 02cfb82 commit 33a2dfe
Show file tree
Hide file tree
Showing 32 changed files with 3,855 additions and 299 deletions.
1,197 changes: 1,159 additions & 38 deletions contactcenterinsights/v1/contactcenterinsights-api.json

Large diffs are not rendered by default.

2,238 changes: 2,117 additions & 121 deletions contactcenterinsights/v1/contactcenterinsights-gen.go

Large diffs are not rendered by default.

123 changes: 114 additions & 9 deletions containeranalysis/v1alpha1/containeranalysis-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@
"SPDX_FILE",
"SPDX_RELATIONSHIP",
"DSSE_ATTESTATION",
"VULNERABILITY_ASSESSMENT"
"VULNERABILITY_ASSESSMENT",
"SBOM_REFERENCE"
],
"enumDescriptions": [
"Unknown",
Expand All @@ -628,7 +629,8 @@
"This represents an SPDX File.",
"This represents an SPDX Relationship.",
"This represents a DSSE attestation Note",
"This represents a Vulnerability Assessment."
"This represents a Vulnerability Assessment.",
"This represents a reference to an SBOM."
],
"location": "query",
"type": "string"
Expand Down Expand Up @@ -1231,7 +1233,7 @@
}
}
},
"revision": "20230310",
"revision": "20230324",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AnalysisCompleted": {
Expand Down Expand Up @@ -3438,7 +3440,8 @@
"SPDX_FILE",
"SPDX_RELATIONSHIP",
"DSSE_ATTESTATION",
"VULNERABILITY_ASSESSMENT"
"VULNERABILITY_ASSESSMENT",
"SBOM_REFERENCE"
],
"enumDescriptions": [
"Unknown",
Expand All @@ -3456,7 +3459,8 @@
"This represents an SPDX File.",
"This represents an SPDX Relationship.",
"This represents a DSSE attestation Note",
"This represents a Vulnerability Assessment."
"This represents a Vulnerability Assessment.",
"This represents a reference to an SBOM."
],
"type": "string"
}
Expand Down Expand Up @@ -4615,7 +4619,8 @@
"SPDX_FILE",
"SPDX_RELATIONSHIP",
"DSSE_ATTESTATION",
"VULNERABILITY_ASSESSMENT"
"VULNERABILITY_ASSESSMENT",
"SBOM_REFERENCE"
],
"enumDescriptions": [
"Unknown",
Expand All @@ -4633,7 +4638,8 @@
"This represents an SPDX File.",
"This represents an SPDX Relationship.",
"This represents a DSSE attestation Note",
"This represents a Vulnerability Assessment."
"This represents a Vulnerability Assessment.",
"This represents a reference to an SBOM."
],
"type": "string"
},
Expand All @@ -4660,6 +4666,10 @@
"$ref": "DocumentNote",
"description": "A note describing a software bill of materials."
},
"sbomReference": {
"$ref": "SBOMReferenceNote",
"description": "A note describing a reference to an SBOM."
},
"shortDescription": {
"description": "A one sentence description of this `Note`.",
"type": "string"
Expand Down Expand Up @@ -4759,7 +4769,8 @@
"SPDX_FILE",
"SPDX_RELATIONSHIP",
"DSSE_ATTESTATION",
"VULNERABILITY_ASSESSMENT"
"VULNERABILITY_ASSESSMENT",
"SBOM_REFERENCE"
],
"enumDescriptions": [
"Unknown",
Expand All @@ -4777,7 +4788,8 @@
"This represents an SPDX File.",
"This represents an SPDX Relationship.",
"This represents a DSSE attestation Note",
"This represents a Vulnerability Assessment."
"This represents a Vulnerability Assessment.",
"This represents a reference to an SBOM."
],
"type": "string"
},
Expand Down Expand Up @@ -4805,6 +4817,10 @@
"$ref": "DocumentOccurrence",
"description": "Describes a specific software bill of materials document."
},
"sbomReference": {
"$ref": "SBOMReferenceOccurrence",
"description": "This represents an SBOM reference occurrence"
},
"spdxFile": {
"$ref": "FileOccurrence",
"description": "Describes a specific SPDX File."
Expand Down Expand Up @@ -5557,6 +5573,95 @@
},
"type": "object"
},
"SBOMReferenceNote": {
"description": "The note representing an SBOM reference.",
"id": "SBOMReferenceNote",
"properties": {
"format": {
"description": "The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...",
"type": "string"
},
"version": {
"description": "The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.",
"type": "string"
}
},
"type": "object"
},
"SBOMReferenceOccurrence": {
"description": "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.",
"id": "SBOMReferenceOccurrence",
"properties": {
"payload": {
"$ref": "SbomReferenceIntotoPayload",
"description": "The actual payload that contains the SBOM reference data."
},
"payloadType": {
"description": "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'.",
"type": "string"
},
"signatures": {
"description": "The signatures over the payload.",
"items": {
"$ref": "EnvelopeSignature"
},
"type": "array"
}
},
"type": "object"
},
"SbomReferenceIntotoPayload": {
"description": "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.",
"id": "SbomReferenceIntotoPayload",
"properties": {
"_type": {
"description": "Identifier for the schema of the Statement.",
"type": "string"
},
"predicate": {
"$ref": "SbomReferenceIntotoPredicate",
"description": "Additional parameters of the Predicate. Includes the actual data about the SBOM."
},
"predicateType": {
"description": "URI identifying the type of the Predicate.",
"type": "string"
},
"subject": {
"description": "Set of software artifacts that the attestation applies to. Each element represents a single software artifact.",
"items": {
"$ref": "Subject"
},
"type": "array"
}
},
"type": "object"
},
"SbomReferenceIntotoPredicate": {
"description": "A predicate which describes the SBOM being referenced.",
"id": "SbomReferenceIntotoPredicate",
"properties": {
"digest": {
"additionalProperties": {
"type": "string"
},
"description": "A map of algorithm to digest of the contents of the SBOM.",
"type": "object"
},
"location": {
"description": "The location of the SBOM.",
"type": "string"
},
"mimeType": {
"description": "The mime type of the SBOM.",
"type": "string"
},
"referrerId": {
"description": "The person or system referring this predicate to the consumer.",
"type": "string"
}
},
"type": "object"
},
"ScanConfig": {
"description": "Indicates various scans and whether they are turned on or off.",
"id": "ScanConfig",
Expand Down
Loading

0 comments on commit 33a2dfe

Please sign in to comment.