Skip to content

Commit

Permalink
feat(containeranalysis): update the api
Browse files Browse the repository at this point in the history
#### containeranalysis:v1

The following keys were added:
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact (Total Keys: 7)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage (Total Keys: 5)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.pythonPackages (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact (Total Keys: 6)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage (Total Keys: 6)

#### containeranalysis:v1alpha1

The following keys were added:
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact (Total Keys: 7)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage (Total Keys: 5)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.pythonPackages (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact (Total Keys: 6)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage (Total Keys: 6)

#### containeranalysis:v1beta1

The following keys were added:
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact (Total Keys: 7)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage (Total Keys: 5)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.pythonPackages (Total Keys: 2)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact (Total Keys: 6)
- schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Oct 11, 2022
1 parent ea99aee commit 322df84
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 15 deletions.
123 changes: 118 additions & 5 deletions googleapiclient/discovery_cache/documents/containeranalysis.v1.json
Expand Up @@ -755,7 +755,7 @@
}
}
},
"revision": "20220928",
"revision": "20221001",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
Expand Down Expand Up @@ -1595,9 +1595,23 @@
},
"type": "array"
},
"mavenArtifacts": {
"description": "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.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact"
},
"type": "array"
},
"objects": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects",
"description": "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."
},
"pythonPackages": {
"description": "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.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -1625,6 +1639,51 @@
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact": {
"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact",
"properties": {
"artifactId": {
"description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.",
"type": "string"
},
"groupId": {
"description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.",
"type": "string"
},
"path": {
"description": "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.",
"type": "string"
},
"repository": {
"description": "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.",
"type": "string"
},
"version": {
"description": "Maven `version` value used when uploading the artifact to Artifact Registry.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": {
"description": "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.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage",
"properties": {
"paths": {
"description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.",
"items": {
"type": "string"
},
"type": "array"
},
"repository": {
"description": "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.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1Build": {
"description": "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.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Build",
Expand Down Expand Up @@ -1799,7 +1858,7 @@
"additionalProperties": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan"
},
"description": "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 specified images. * 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.",
"description": "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.",
"readOnly": true,
"type": "object"
},
Expand Down Expand Up @@ -2309,12 +2368,12 @@
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Results",
"properties": {
"artifactManifest": {
"description": "Path to the artifact manifest. Only populated when artifacts are uploaded.",
"description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.",
"type": "string"
},
"artifactTiming": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan",
"description": "Time to push all non-container artifacts."
"description": "Time to push all non-container artifacts to Cloud Storage."
},
"buildStepImages": {
"description": "List of build step digests, in the order corresponding to build step indices.",
Expand All @@ -2338,10 +2397,24 @@
},
"type": "array"
},
"mavenArtifacts": {
"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact"
},
"type": "array"
},
"numArtifacts": {
"description": "Number of artifacts uploaded. Only populated when artifacts are uploaded.",
"description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.",
"format": "int64",
"type": "string"
},
"pythonPackages": {
"description": "Python artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -2504,6 +2577,46 @@
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact": {
"description": "A Maven artifact uploaded using the MavenArtifact directive.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact",
"properties": {
"fileHashes": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes",
"description": "Hash types and values of the Maven Artifact."
},
"pushTiming": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage": {
"description": "Artifact uploaded using the PythonPackage directive.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage",
"properties": {
"fileHashes": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes",
"description": "Hash types and values of the Python Artifact."
},
"pushTiming": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume",
Expand Down

0 comments on commit 322df84

Please sign in to comment.