Skip to content

Commit

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

The following keys were added:
- schemas.Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.MavenArtifact (Total Keys: 7)
- schemas.PythonPackage (Total Keys: 5)
- schemas.Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.Results.properties.pythonPackages (Total Keys: 2)
- schemas.UploadedMavenArtifact (Total Keys: 6)
- schemas.UploadedPythonPackage (Total Keys: 6)

#### cloudbuild:v1alpha1

The following keys were added:
- schemas.Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.MavenArtifact (Total Keys: 7)
- schemas.PythonPackage (Total Keys: 5)
- schemas.Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.Results.properties.pythonPackages (Total Keys: 2)
- schemas.UploadedMavenArtifact (Total Keys: 6)
- schemas.UploadedPythonPackage (Total Keys: 6)

#### cloudbuild:v1alpha2

The following keys were added:
- schemas.Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.MavenArtifact (Total Keys: 7)
- schemas.PythonPackage (Total Keys: 5)
- schemas.Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.Results.properties.pythonPackages (Total Keys: 2)
- schemas.UploadedMavenArtifact (Total Keys: 6)
- schemas.UploadedPythonPackage (Total Keys: 6)

#### cloudbuild:v1beta1

The following keys were added:
- schemas.Artifacts.properties.mavenArtifacts (Total Keys: 2)
- schemas.Artifacts.properties.pythonPackages (Total Keys: 2)
- schemas.MavenArtifact (Total Keys: 7)
- schemas.PythonPackage (Total Keys: 5)
- schemas.Results.properties.mavenArtifacts (Total Keys: 2)
- schemas.Results.properties.pythonPackages (Total Keys: 2)
- schemas.UploadedMavenArtifact (Total Keys: 6)
- schemas.UploadedPythonPackage (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Oct 11, 2022
1 parent 9756c06 commit 555317b
Show file tree
Hide file tree
Showing 8 changed files with 1,476 additions and 4 deletions.
204 changes: 204 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.builds.html

Large diffs are not rendered by default.

204 changes: 204 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.locations.builds.html

Large diffs are not rendered by default.

306 changes: 306 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.locations.triggers.html

Large diffs are not rendered by default.

306 changes: 306 additions & 0 deletions docs/dyn/cloudbuild_v1.projects.triggers.html

Large diffs are not rendered by default.

115 changes: 114 additions & 1 deletion googleapiclient/discovery_cache/documents/cloudbuild.v1.json
Expand Up @@ -2295,7 +2295,7 @@
}
}
},
"revision": "20220916",
"revision": "20220928",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -2412,9 +2412,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": "MavenArtifact"
},
"type": "array"
},
"objects": {
"$ref": "ArtifactObjects",
"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": "PythonPackage"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -4272,6 +4286,33 @@
},
"type": "object"
},
"MavenArtifact": {
"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.",
"id": "MavenArtifact",
"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"
},
"NetworkConfig": {
"description": "Defines the network configuration for the pool.",
"id": "NetworkConfig",
Expand Down Expand Up @@ -4622,6 +4663,24 @@
},
"type": "object"
},
"PythonPackage": {
"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": "PythonPackage",
"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"
},
"ReceiveTriggerWebhookResponse": {
"description": "ReceiveTriggerWebhookResponse [Experimental] is the response object for the ReceiveTriggerWebhook method.",
"id": "ReceiveTriggerWebhookResponse",
Expand Down Expand Up @@ -4726,10 +4785,24 @@
},
"type": "array"
},
"mavenArtifacts": {
"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "UploadedMavenArtifact"
},
"type": "array"
},
"numArtifacts": {
"description": "Number of artifacts uploaded. Only populated when artifacts are uploaded.",
"format": "int64",
"type": "string"
},
"pythonPackages": {
"description": "Python artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "UploadedPythonPackage"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -5141,6 +5214,46 @@
},
"type": "object"
},
"UploadedMavenArtifact": {
"description": "A Maven artifact uploaded using the MavenArtifact directive.",
"id": "UploadedMavenArtifact",
"properties": {
"fileHashes": {
"$ref": "FileHashes",
"description": "Hash types and values of the Maven Artifact."
},
"pushTiming": {
"$ref": "TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"UploadedPythonPackage": {
"description": "Artifact uploaded using the PythonPackage directive.",
"id": "UploadedPythonPackage",
"properties": {
"fileHashes": {
"$ref": "FileHashes",
"description": "Hash types and values of the Python Artifact."
},
"pushTiming": {
"$ref": "TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
"id": "Volume",
Expand Down
115 changes: 114 additions & 1 deletion googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json
Expand Up @@ -306,7 +306,7 @@
}
}
},
"revision": "20220916",
"revision": "20220928",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -412,9 +412,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": "MavenArtifact"
},
"type": "array"
},
"objects": {
"$ref": "ArtifactObjects",
"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": "PythonPackage"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -1426,6 +1440,33 @@
},
"type": "object"
},
"MavenArtifact": {
"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.",
"id": "MavenArtifact",
"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"
},
"Network": {
"description": "Network describes the GCP network used to create workers in.",
"id": "Network",
Expand Down Expand Up @@ -1669,6 +1710,24 @@
},
"type": "object"
},
"PythonPackage": {
"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": "PythonPackage",
"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"
},
"RepoSource": {
"description": "Location of the source in a Google Cloud Source Repository.",
"id": "RepoSource",
Expand Down Expand Up @@ -1745,10 +1804,24 @@
},
"type": "array"
},
"mavenArtifacts": {
"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "UploadedMavenArtifact"
},
"type": "array"
},
"numArtifacts": {
"description": "Number of artifacts uploaded. Only populated when artifacts are uploaded.",
"format": "int64",
"type": "string"
},
"pythonPackages": {
"description": "Python artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "UploadedPythonPackage"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -2111,6 +2184,46 @@
},
"type": "object"
},
"UploadedMavenArtifact": {
"description": "A Maven artifact uploaded using the MavenArtifact directive.",
"id": "UploadedMavenArtifact",
"properties": {
"fileHashes": {
"$ref": "FileHashes",
"description": "Hash types and values of the Maven Artifact."
},
"pushTiming": {
"$ref": "TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"UploadedPythonPackage": {
"description": "Artifact uploaded using the PythonPackage directive.",
"id": "UploadedPythonPackage",
"properties": {
"fileHashes": {
"$ref": "FileHashes",
"description": "Hash types and values of the Python Artifact."
},
"pushTiming": {
"$ref": "TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
"id": "Volume",
Expand Down

0 comments on commit 555317b

Please sign in to comment.