Skip to content

Commit

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

The following keys were added:
- schemas.RunWorkflowCustomOperationMetadata.description
- schemas.RunWorkflowCustomOperationMetadata.id
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.description
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.type
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.description
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.type
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.description
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.type
- schemas.RunWorkflowCustomOperationMetadata.properties.target.description
- schemas.RunWorkflowCustomOperationMetadata.properties.target.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.target.type
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.description
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.type
- schemas.RunWorkflowCustomOperationMetadata.type

#### cloudbuild:v1alpha2

The following keys were added:
- schemas.RunWorkflowCustomOperationMetadata.description
- schemas.RunWorkflowCustomOperationMetadata.id
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.description
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.type
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.description
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.type
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.description
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.type
- schemas.RunWorkflowCustomOperationMetadata.properties.target.description
- schemas.RunWorkflowCustomOperationMetadata.properties.target.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.target.type
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.description
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.type
- schemas.RunWorkflowCustomOperationMetadata.type

#### cloudbuild:v1beta1

The following keys were added:
- schemas.RunWorkflowCustomOperationMetadata.description
- schemas.RunWorkflowCustomOperationMetadata.id
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.description
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.type
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.description
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.type
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.description
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.type
- schemas.RunWorkflowCustomOperationMetadata.properties.target.description
- schemas.RunWorkflowCustomOperationMetadata.properties.target.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.target.type
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.description
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.type
- schemas.RunWorkflowCustomOperationMetadata.type

#### cloudbuild:v1

The following keys were added:
- schemas.GitFileSource.properties.bitbucketServerConfig.description
- schemas.GitFileSource.properties.bitbucketServerConfig.type
- schemas.GitFileSource.properties.githubEnterpriseConfig.description
- schemas.GitFileSource.properties.githubEnterpriseConfig.type
- schemas.GitRepoSource.properties.bitbucketServerConfig.description
- schemas.GitRepoSource.properties.bitbucketServerConfig.type
- schemas.GitRepoSource.properties.githubEnterpriseConfig.description
- schemas.GitRepoSource.properties.githubEnterpriseConfig.type
- schemas.RunWorkflowCustomOperationMetadata.description
- schemas.RunWorkflowCustomOperationMetadata.id
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.description
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.apiVersion.type
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.createTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.description
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.format
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.endTime.type
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.description
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.pipelineRunId.type
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.description
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.requestedCancellation.type
- schemas.RunWorkflowCustomOperationMetadata.properties.target.description
- schemas.RunWorkflowCustomOperationMetadata.properties.target.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.target.type
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.description
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.readOnly
- schemas.RunWorkflowCustomOperationMetadata.properties.verb.type
- schemas.RunWorkflowCustomOperationMetadata.type

The following keys were changed:
- resources.projects.resources.builds.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.builds.methods.list.parameters.parent.description
- schemas.GitFileSource.properties.repoType.enum
- schemas.GitFileSource.properties.repoType.enumDescriptions
- schemas.GitRepoSource.properties.repoType.enum
- schemas.GitRepoSource.properties.repoType.enumDescriptions
  • Loading branch information
yoshi-automation authored and bcoe committed Mar 8, 2022
1 parent d852a18 commit d2cf9ff
Show file tree
Hide file tree
Showing 8 changed files with 358 additions and 14 deletions.
78 changes: 71 additions & 7 deletions discovery/cloudbuild-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
"type": "string"
},
"parent": {
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`",
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1028,7 +1028,7 @@
"type": "string"
},
"parent": {
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`",
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2039,7 +2039,7 @@
}
}
},
"revision": "20211230",
"revision": "20220301",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"AddBitbucketServerConnectedRepositoryRequest": {
Expand Down Expand Up @@ -3307,6 +3307,14 @@
"description": "GitFileSource describes a file within a (possibly remote) code repository.",
"id": "GitFileSource",
"properties": {
"bitbucketServerConfig": {
"description": "The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.",
"type": "string"
},
"githubEnterpriseConfig": {
"description": "The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.",
"type": "string"
},
"path": {
"description": "The path of the file, with the repo root as the root of the path.",
"type": "string"
Expand All @@ -3316,12 +3324,14 @@
"enum": [
"UNKNOWN",
"CLOUD_SOURCE_REPOSITORIES",
"GITHUB"
"GITHUB",
"BITBUCKET_SERVER"
],
"enumDescriptions": [
"The default, unknown repo type.",
"A Google Cloud Source Repositories-hosted repo.",
"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise)."
"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise).",
"A Bitbucket Server-hosted repo."
],
"type": "string"
},
Expand Down Expand Up @@ -3457,6 +3467,14 @@
"description": "GitRepoSource describes a repo and ref of a code repository.",
"id": "GitRepoSource",
"properties": {
"bitbucketServerConfig": {
"description": "The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.",
"type": "string"
},
"githubEnterpriseConfig": {
"description": "The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.",
"type": "string"
},
"ref": {
"description": "The branch or tag to use. Must start with \"refs/\" (required).",
"type": "string"
Expand All @@ -3466,12 +3484,14 @@
"enum": [
"UNKNOWN",
"CLOUD_SOURCE_REPOSITORIES",
"GITHUB"
"GITHUB",
"BITBUCKET_SERVER"
],
"enumDescriptions": [
"The default, unknown repo type.",
"A Google Cloud Source Repositories-hosted repo.",
"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise)."
"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise).",
"A Bitbucket Server-hosted repo."
],
"type": "string"
},
Expand Down Expand Up @@ -4202,6 +4222,50 @@
},
"type": "object"
},
"RunWorkflowCustomOperationMetadata": {
"description": "Represents the custom metadata of the RunWorkflow long-running operation.",
"id": "RunWorkflowCustomOperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"pipelineRunId": {
"description": "Output only. ID of the pipeline run created by RunWorkflow.",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SMTPDelivery": {
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
"id": "SMTPDelivery",
Expand Down
46 changes: 45 additions & 1 deletion discovery/cloudbuild-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
}
}
},
"revision": "20211230",
"revision": "20220301",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -1663,6 +1663,50 @@
},
"type": "object"
},
"RunWorkflowCustomOperationMetadata": {
"description": "Represents the custom metadata of the RunWorkflow long-running operation.",
"id": "RunWorkflowCustomOperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"pipelineRunId": {
"description": "Output only. ID of the pipeline run created by RunWorkflow.",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SMTPDelivery": {
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
"id": "SMTPDelivery",
Expand Down
46 changes: 45 additions & 1 deletion discovery/cloudbuild-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
}
}
},
"revision": "20211230",
"revision": "20220301",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -1666,6 +1666,50 @@
},
"type": "object"
},
"RunWorkflowCustomOperationMetadata": {
"description": "Represents the custom metadata of the RunWorkflow long-running operation.",
"id": "RunWorkflowCustomOperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"pipelineRunId": {
"description": "Output only. ID of the pipeline run created by RunWorkflow.",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SMTPDelivery": {
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
"id": "SMTPDelivery",
Expand Down
46 changes: 45 additions & 1 deletion discovery/cloudbuild-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
}
}
},
"revision": "20211230",
"revision": "20220301",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -1671,6 +1671,50 @@
},
"type": "object"
},
"RunWorkflowCustomOperationMetadata": {
"description": "Represents the custom metadata of the RunWorkflow long-running operation.",
"id": "RunWorkflowCustomOperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"pipelineRunId": {
"description": "Output only. ID of the pipeline run created by RunWorkflow.",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SMTPDelivery": {
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
"id": "SMTPDelivery",
Expand Down
Loading

0 comments on commit d2cf9ff

Please sign in to comment.