Skip to content

Commit

Permalink
feat(cloudbuild)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### cloudbuild:v1alpha1
The following keys were deleted:
- resources.projects.resources.locations.resources.operations.methods.list.description
- resources.projects.resources.locations.resources.operations.methods.list.flatPath
- resources.projects.resources.locations.resources.operations.methods.list.httpMethod
- resources.projects.resources.locations.resources.operations.methods.list.id
- resources.projects.resources.locations.resources.operations.methods.list.parameterOrder
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.pattern
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.required
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.format
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.type
- resources.projects.resources.locations.resources.operations.methods.list.path
- resources.projects.resources.locations.resources.operations.methods.list.response.$ref
- resources.projects.resources.locations.resources.operations.methods.list.scopes
- schemas.ListOperationsResponse.description
- schemas.ListOperationsResponse.id
- schemas.ListOperationsResponse.properties.nextPageToken.description
- schemas.ListOperationsResponse.properties.nextPageToken.type
- schemas.ListOperationsResponse.properties.operations.description
- schemas.ListOperationsResponse.properties.operations.items.$ref
- schemas.ListOperationsResponse.properties.operations.type
- schemas.ListOperationsResponse.type

The following keys were added:
- schemas.HTTPDelivery.description
- schemas.HTTPDelivery.id
- schemas.HTTPDelivery.properties.uri.description
- schemas.HTTPDelivery.properties.uri.type
- schemas.HTTPDelivery.type
- schemas.Notification.description
- schemas.Notification.id
- schemas.Notification.properties.filter.description
- schemas.Notification.properties.filter.type
- schemas.Notification.properties.httpDelivery.$ref
- schemas.Notification.properties.httpDelivery.description
- schemas.Notification.properties.slackDelivery.$ref
- schemas.Notification.properties.slackDelivery.description
- schemas.Notification.properties.smtpDelivery.$ref
- schemas.Notification.properties.smtpDelivery.description
- schemas.Notification.properties.structDelivery.additionalProperties.description
- schemas.Notification.properties.structDelivery.additionalProperties.type
- schemas.Notification.properties.structDelivery.description
- schemas.Notification.properties.structDelivery.type
- schemas.Notification.type
- schemas.NotifierConfig.description
- schemas.NotifierConfig.id
- schemas.NotifierConfig.properties.apiVersion.description
- schemas.NotifierConfig.properties.apiVersion.type
- schemas.NotifierConfig.properties.kind.description
- schemas.NotifierConfig.properties.kind.type
- schemas.NotifierConfig.properties.metadata.$ref
- schemas.NotifierConfig.properties.metadata.description
- schemas.NotifierConfig.properties.spec.$ref
- schemas.NotifierConfig.properties.spec.description
- schemas.NotifierConfig.type
- schemas.NotifierMetadata.description
- schemas.NotifierMetadata.id
- schemas.NotifierMetadata.properties.name.description
- schemas.NotifierMetadata.properties.name.type
- schemas.NotifierMetadata.properties.notifier.description
- schemas.NotifierMetadata.properties.notifier.type
- schemas.NotifierMetadata.type
- schemas.NotifierSecret.description
- schemas.NotifierSecret.id
- schemas.NotifierSecret.properties.name.description
- schemas.NotifierSecret.properties.name.type
- schemas.NotifierSecret.properties.value.description
- schemas.NotifierSecret.properties.value.type
- schemas.NotifierSecret.type
- schemas.NotifierSecretRef.description
- schemas.NotifierSecretRef.id
- schemas.NotifierSecretRef.properties.secretRef.description
- schemas.NotifierSecretRef.properties.secretRef.type
- schemas.NotifierSecretRef.type
- schemas.NotifierSpec.description
- schemas.NotifierSpec.id
- schemas.NotifierSpec.properties.notification.$ref
- schemas.NotifierSpec.properties.notification.description
- schemas.NotifierSpec.properties.secrets.description
- schemas.NotifierSpec.properties.secrets.items.$ref
- schemas.NotifierSpec.properties.secrets.type
- schemas.NotifierSpec.type
- schemas.SMTPDelivery.description
- schemas.SMTPDelivery.id
- schemas.SMTPDelivery.properties.fromAddress.description
- schemas.SMTPDelivery.properties.fromAddress.type
- schemas.SMTPDelivery.properties.password.$ref
- schemas.SMTPDelivery.properties.password.description
- schemas.SMTPDelivery.properties.port.description
- schemas.SMTPDelivery.properties.port.type
- schemas.SMTPDelivery.properties.recipientAddresses.description
- schemas.SMTPDelivery.properties.recipientAddresses.items.type
- schemas.SMTPDelivery.properties.recipientAddresses.type
- schemas.SMTPDelivery.properties.senderAddress.description
- schemas.SMTPDelivery.properties.senderAddress.type
- schemas.SMTPDelivery.properties.server.description
- schemas.SMTPDelivery.properties.server.type
- schemas.SMTPDelivery.type
- schemas.SlackDelivery.description
- schemas.SlackDelivery.id
- schemas.SlackDelivery.properties.webhookUri.$ref
- schemas.SlackDelivery.properties.webhookUri.description
- schemas.SlackDelivery.type

The following keys were changed:
- schemas.BuildOptions.properties.logging.enum
- schemas.BuildOptions.properties.logging.enumDescriptions

#### cloudbuild:v1alpha2
The following keys were deleted:
- resources.projects.resources.locations.resources.operations.methods.list.description
- resources.projects.resources.locations.resources.operations.methods.list.flatPath
- resources.projects.resources.locations.resources.operations.methods.list.httpMethod
- resources.projects.resources.locations.resources.operations.methods.list.id
- resources.projects.resources.locations.resources.operations.methods.list.parameterOrder
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.pattern
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.required
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.format
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.type
- resources.projects.resources.locations.resources.operations.methods.list.path
- resources.projects.resources.locations.resources.operations.methods.list.response.$ref
- resources.projects.resources.locations.resources.operations.methods.list.scopes
- schemas.ListOperationsResponse.description
- schemas.ListOperationsResponse.id
- schemas.ListOperationsResponse.properties.nextPageToken.description
- schemas.ListOperationsResponse.properties.nextPageToken.type
- schemas.ListOperationsResponse.properties.operations.description
- schemas.ListOperationsResponse.properties.operations.items.$ref
- schemas.ListOperationsResponse.properties.operations.type
- schemas.ListOperationsResponse.type

The following keys were added:
- schemas.HTTPDelivery.description
- schemas.HTTPDelivery.id
- schemas.HTTPDelivery.properties.uri.description
- schemas.HTTPDelivery.properties.uri.type
- schemas.HTTPDelivery.type
- schemas.Notification.description
- schemas.Notification.id
- schemas.Notification.properties.filter.description
- schemas.Notification.properties.filter.type
- schemas.Notification.properties.httpDelivery.$ref
- schemas.Notification.properties.httpDelivery.description
- schemas.Notification.properties.slackDelivery.$ref
- schemas.Notification.properties.slackDelivery.description
- schemas.Notification.properties.smtpDelivery.$ref
- schemas.Notification.properties.smtpDelivery.description
- schemas.Notification.properties.structDelivery.additionalProperties.description
- schemas.Notification.properties.structDelivery.additionalProperties.type
- schemas.Notification.properties.structDelivery.description
- schemas.Notification.properties.structDelivery.type
- schemas.Notification.type
- schemas.NotifierConfig.description
- schemas.NotifierConfig.id
- schemas.NotifierConfig.properties.apiVersion.description
- schemas.NotifierConfig.properties.apiVersion.type
- schemas.NotifierConfig.properties.kind.description
- schemas.NotifierConfig.properties.kind.type
- schemas.NotifierConfig.properties.metadata.$ref
- schemas.NotifierConfig.properties.metadata.description
- schemas.NotifierConfig.properties.spec.$ref
- schemas.NotifierConfig.properties.spec.description
- schemas.NotifierConfig.type
- schemas.NotifierMetadata.description
- schemas.NotifierMetadata.id
- schemas.NotifierMetadata.properties.name.description
- schemas.NotifierMetadata.properties.name.type
- schemas.NotifierMetadata.properties.notifier.description
- schemas.NotifierMetadata.properties.notifier.type
- schemas.NotifierMetadata.type
- schemas.NotifierSecret.description
- schemas.NotifierSecret.id
- schemas.NotifierSecret.properties.name.description
- schemas.NotifierSecret.properties.name.type
- schemas.NotifierSecret.properties.value.description
- schemas.NotifierSecret.properties.value.type
- schemas.NotifierSecret.type
- schemas.NotifierSecretRef.description
- schemas.NotifierSecretRef.id
- schemas.NotifierSecretRef.properties.secretRef.description
- schemas.NotifierSecretRef.properties.secretRef.type
- schemas.NotifierSecretRef.type
- schemas.NotifierSpec.description
- schemas.NotifierSpec.id
- schemas.NotifierSpec.properties.notification.$ref
- schemas.NotifierSpec.properties.notification.description
- schemas.NotifierSpec.properties.secrets.description
- schemas.NotifierSpec.properties.secrets.items.$ref
- schemas.NotifierSpec.properties.secrets.type
- schemas.NotifierSpec.type
- schemas.SMTPDelivery.description
- schemas.SMTPDelivery.id
- schemas.SMTPDelivery.properties.fromAddress.description
- schemas.SMTPDelivery.properties.fromAddress.type
- schemas.SMTPDelivery.properties.password.$ref
- schemas.SMTPDelivery.properties.password.description
- schemas.SMTPDelivery.properties.port.description
- schemas.SMTPDelivery.properties.port.type
- schemas.SMTPDelivery.properties.recipientAddresses.description
- schemas.SMTPDelivery.properties.recipientAddresses.items.type
- schemas.SMTPDelivery.properties.recipientAddresses.type
- schemas.SMTPDelivery.properties.senderAddress.description
- schemas.SMTPDelivery.properties.senderAddress.type
- schemas.SMTPDelivery.properties.server.description
- schemas.SMTPDelivery.properties.server.type
- schemas.SMTPDelivery.type
- schemas.SlackDelivery.description
- schemas.SlackDelivery.id
- schemas.SlackDelivery.properties.webhookUri.$ref
- schemas.SlackDelivery.properties.webhookUri.description
- schemas.SlackDelivery.type

The following keys were changed:
- schemas.BuildOptions.properties.logging.enum
- schemas.BuildOptions.properties.logging.enumDescriptions

#### cloudbuild:v1
The following keys were deleted:
- resources.operations.methods.list.description
- resources.operations.methods.list.flatPath
- resources.operations.methods.list.httpMethod
- resources.operations.methods.list.id
- resources.operations.methods.list.parameterOrder
- resources.operations.methods.list.parameters.filter.description
- resources.operations.methods.list.parameters.filter.location
- resources.operations.methods.list.parameters.filter.type
- resources.operations.methods.list.parameters.name.description
- resources.operations.methods.list.parameters.name.location
- resources.operations.methods.list.parameters.name.pattern
- resources.operations.methods.list.parameters.name.required
- resources.operations.methods.list.parameters.name.type
- resources.operations.methods.list.parameters.pageSize.description
- resources.operations.methods.list.parameters.pageSize.format
- resources.operations.methods.list.parameters.pageSize.location
- resources.operations.methods.list.parameters.pageSize.type
- resources.operations.methods.list.parameters.pageToken.description
- resources.operations.methods.list.parameters.pageToken.location
- resources.operations.methods.list.parameters.pageToken.type
- resources.operations.methods.list.path
- resources.operations.methods.list.response.$ref
- resources.operations.methods.list.scopes
- resources.projects.resources.locations.resources.operations.methods.list.description
- resources.projects.resources.locations.resources.operations.methods.list.flatPath
- resources.projects.resources.locations.resources.operations.methods.list.httpMethod
- resources.projects.resources.locations.resources.operations.methods.list.id
- resources.projects.resources.locations.resources.operations.methods.list.parameterOrder
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.filter.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.pattern
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.required
- resources.projects.resources.locations.resources.operations.methods.list.parameters.name.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.format
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageSize.type
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.location
- resources.projects.resources.locations.resources.operations.methods.list.parameters.pageToken.type
- resources.projects.resources.locations.resources.operations.methods.list.path
- resources.projects.resources.locations.resources.operations.methods.list.response.$ref
- resources.projects.resources.locations.resources.operations.methods.list.scopes
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.description
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.flatPath
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.httpMethod
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.id
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.parameterOrder
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.parameters.name.description
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.parameters.name.location
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.parameters.name.pattern
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.parameters.name.required
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.parameters.name.type
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.path
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.request.$ref
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.response.$ref
- resources.vbeta1.resources.projects.resources.locations.resources.operations.methods.cancel.scopes
- schemas.ListOperationsResponse.description
- schemas.ListOperationsResponse.id
- schemas.ListOperationsResponse.properties.nextPageToken.description
- schemas.ListOperationsResponse.properties.nextPageToken.type
- schemas.ListOperationsResponse.properties.operations.description
- schemas.ListOperationsResponse.properties.operations.items.$ref
- schemas.ListOperationsResponse.properties.operations.type
- schemas.ListOperationsResponse.type

The following keys were added:
- schemas.HTTPDelivery.description
- schemas.HTTPDelivery.id
- schemas.HTTPDelivery.properties.uri.description
- schemas.HTTPDelivery.properties.uri.type
- schemas.HTTPDelivery.type
- schemas.Notification.description
- schemas.Notification.id
- schemas.Notification.properties.filter.description
- schemas.Notification.properties.filter.type
- schemas.Notification.properties.httpDelivery.$ref
- schemas.Notification.properties.httpDelivery.description
- schemas.Notification.properties.slackDelivery.$ref
- schemas.Notification.properties.slackDelivery.description
- schemas.Notification.properties.smtpDelivery.$ref
- schemas.Notification.properties.smtpDelivery.description
- schemas.Notification.properties.structDelivery.additionalProperties.description
- schemas.Notification.properties.structDelivery.additionalProperties.type
- schemas.Notification.properties.structDelivery.description
- schemas.Notification.properties.structDelivery.type
- schemas.Notification.type
- schemas.NotifierConfig.description
- schemas.NotifierConfig.id
- schemas.NotifierConfig.properties.apiVersion.description
- schemas.NotifierConfig.properties.apiVersion.type
- schemas.NotifierConfig.properties.kind.description
- schemas.NotifierConfig.properties.kind.type
- schemas.NotifierConfig.properties.metadata.$ref
- schemas.NotifierConfig.properties.metadata.description
- schemas.NotifierConfig.properties.spec.$ref
- schemas.NotifierConfig.properties.spec.description
- schemas.NotifierConfig.type
- schemas.NotifierMetadata.description
- schemas.NotifierMetadata.id
- schemas.NotifierMetadata.properties.name.description
- schemas.NotifierMetadata.properties.name.type
- schemas.NotifierMetadata.properties.notifier.description
- schemas.NotifierMetadata.properties.notifier.type
- schemas.NotifierMetadata.type
- schemas.NotifierSecret.description
- schemas.NotifierSecret.id
- schemas.NotifierSecret.properties.name.description
- schemas.NotifierSecret.properties.name.type
- schemas.NotifierSecret.properties.value.description
- schemas.NotifierSecret.properties.value.type
- schemas.NotifierSecret.type
- schemas.NotifierSecretRef.description
- schemas.NotifierSecretRef.id
- schemas.NotifierSecretRef.properties.secretRef.description
- schemas.NotifierSecretRef.properties.secretRef.type
- schemas.NotifierSecretRef.type
- schemas.NotifierSpec.description
- schemas.NotifierSpec.id
- schemas.NotifierSpec.properties.notification.$ref
- schemas.NotifierSpec.properties.notification.description
- schemas.NotifierSpec.properties.secrets.description
- schemas.NotifierSpec.properties.secrets.items.$ref
- schemas.NotifierSpec.properties.secrets.type
- schemas.NotifierSpec.type
- schemas.SMTPDelivery.description
- schemas.SMTPDelivery.id
- schemas.SMTPDelivery.properties.fromAddress.description
- schemas.SMTPDelivery.properties.fromAddress.type
- schemas.SMTPDelivery.properties.password.$ref
- schemas.SMTPDelivery.properties.password.description
- schemas.SMTPDelivery.properties.port.description
- schemas.SMTPDelivery.properties.port.type
- schemas.SMTPDelivery.properties.recipientAddresses.description
- schemas.SMTPDelivery.properties.recipientAddresses.items.type
- schemas.SMTPDelivery.properties.recipientAddresses.type
- schemas.SMTPDelivery.properties.senderAddress.description
- schemas.SMTPDelivery.properties.senderAddress.type
- schemas.SMTPDelivery.properties.server.description
- schemas.SMTPDelivery.properties.server.type
- schemas.SMTPDelivery.type
- schemas.SlackDelivery.description
- schemas.SlackDelivery.id
- schemas.SlackDelivery.properties.webhookUri.$ref
- schemas.SlackDelivery.properties.webhookUri.description
- schemas.SlackDelivery.type

The following keys were changed:
- schemas.BuildOptions.properties.logging.enum
- schemas.BuildOptions.properties.logging.enumDescriptions
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent c174f6e commit 9016438
Show file tree
Hide file tree
Showing 6 changed files with 927 additions and 1,128 deletions.
305 changes: 167 additions & 138 deletions discovery/cloudbuild-v1.json
Expand Up @@ -159,47 +159,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
"flatPath": "v1/operations",
"httpMethod": "GET",
"id": "cloudbuild.operations.list",
"parameterOrder": [
"name"
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
"pattern": "^operations$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -431,47 +390,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
"httpMethod": "GET",
"id": "cloudbuild.projects.locations.operations.list",
"parameterOrder": [
"name"
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/operations",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
Expand Down Expand Up @@ -674,53 +592,9 @@
}
}
}
},
"vbeta1": {
"resources": {
"projects": {
"resources": {
"locations": {
"resources": {
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
"flatPath": "vbeta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "cloudbuild.vbeta1.projects.locations.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "vbeta1/{+name}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
}
}
},
"revision": "20200606",
"revision": "20200704",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -975,12 +849,16 @@
"enum": [
"LOGGING_UNSPECIFIED",
"LEGACY",
"GCS_ONLY"
"GCS_ONLY",
"STACKDRIVER_ONLY",
"NONE"
],
"enumDescriptions": [
"The service determines the logging mode. The default is `LEGACY`. Do not\nrely on the default logging behavior as it may change in the future.",
"Stackdriver logging and Cloud Storage logging are enabled.",
"Only Cloud Storage logging is enabled."
"Cloud Logging (Stackdriver) and Cloud Storage logging are enabled.",
"Only Cloud Storage logging is enabled.",
"Only Cloud Logging (Stackdriver) is enabled. Note that logs for both the\nCloud Console UI and Cloud SDK are based on Cloud Storage logs, so\nneither will provide logs if this option is chosen.",
"Turn off all logging. No build logs will be captured."
],
"type": "string"
},
Expand Down Expand Up @@ -1308,6 +1186,17 @@
},
"type": "object"
},
"HTTPDelivery": {
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
"id": "HTTPDelivery",
"properties": {
"uri": {
"description": "The URI to which JSON-containing HTTP POST requests should be sent.",
"type": "string"
}
},
"type": "object"
},
"Hash": {
"description": "Container message for hash values.",
"id": "Hash",
Expand Down Expand Up @@ -1370,18 +1259,113 @@
},
"type": "object"
},
"ListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "ListOperationsResponse",
"Notification": {
"description": "Notification is the container which holds the data that is relevant to this\nparticular notification.",
"id": "Notification",
"properties": {
"nextPageToken": {
"description": "The standard List next-page token.",
"filter": {
"description": "The filter string to use for notification filtering.\nCurrently, this is assumed to be a CEL program.\nSee https://opensource.google/projects/cel for more.",
"type": "string"
},
"operations": {
"description": "A list of operations that matches the specified filter in the request.",
"httpDelivery": {
"$ref": "HTTPDelivery",
"description": "Configuration for HTTP delivery."
},
"slackDelivery": {
"$ref": "SlackDelivery",
"description": "Configuration for Slack delivery."
},
"smtpDelivery": {
"$ref": "SMTPDelivery",
"description": "Configuration for SMTP (email) delivery."
},
"structDelivery": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Escape hatch for users to supply custom delivery configs.",
"type": "object"
}
},
"type": "object"
},
"NotifierConfig": {
"description": "NotifierConfig is the top-level configuration message.",
"id": "NotifierConfig",
"properties": {
"apiVersion": {
"description": "The API version of this configuration format.",
"type": "string"
},
"kind": {
"description": "The type of notifier to use (e.g. SMTPNotifier).",
"type": "string"
},
"metadata": {
"$ref": "NotifierMetadata",
"description": "Metadata for referring to/handling/deploying this notifier."
},
"spec": {
"$ref": "NotifierSpec",
"description": "The actual configuration for this notifier."
}
},
"type": "object"
},
"NotifierMetadata": {
"description": "NotifierMetadata contains the data which can be used to reference or describe\nthis notifier.",
"id": "NotifierMetadata",
"properties": {
"name": {
"description": "The human-readable and user-given name for the notifier.\nFor example: \"repo-merge-email-notifier\".",
"type": "string"
},
"notifier": {
"description": "The string representing the name and version of notifier to deploy.\nExpected to be of the form of \"<registry-path>/<name>:<version>\".\nFor example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".",
"type": "string"
}
},
"type": "object"
},
"NotifierSecret": {
"description": "NotifierSecret is the container that maps a secret name (reference) to its\nGoogle Cloud Secret Manager resource path.",
"id": "NotifierSecret",
"properties": {
"name": {
"description": "Name is the local name of the secret, such as the verbatim string\n\"my-smtp-password\".",
"type": "string"
},
"value": {
"description": "Value is interpreted to be a resource path for fetching the actual\n(versioned) secret data for this secret. For example, this would be a\nGoogle Cloud Secret Manager secret version resource path like:\n\"projects/my-project/secrets/my-secret/versions/latest\".",
"type": "string"
}
},
"type": "object"
},
"NotifierSecretRef": {
"description": "NotifierSecretRef contains the reference to a secret stored in the\ncorresponding NotifierSpec.",
"id": "NotifierSecretRef",
"properties": {
"secretRef": {
"description": "The value of `secret_ref` should be a `name` that is registered in a\n`Secret` in the `secrets` list of the `Spec`.",
"type": "string"
}
},
"type": "object"
},
"NotifierSpec": {
"description": "NotifierSpec is the configuration container for notifications.",
"id": "NotifierSpec",
"properties": {
"notification": {
"$ref": "Notification",
"description": "The configuration of this particular notifier."
},
"secrets": {
"description": "Configurations for secret resources used by this particular notifier.",
"items": {
"$ref": "Operation"
"$ref": "NotifierSecret"
},
"type": "array"
}
Expand Down Expand Up @@ -1559,6 +1543,40 @@
"properties": {},
"type": "object"
},
"SMTPDelivery": {
"description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.",
"id": "SMTPDelivery",
"properties": {
"fromAddress": {
"description": "This is the SMTP account/email that appears in the `From:` of the email.\nIf empty, it is assumed to be sender.",
"type": "string"
},
"password": {
"$ref": "NotifierSecretRef",
"description": "The SMTP sender's password."
},
"port": {
"description": "The SMTP port of the server.",
"type": "string"
},
"recipientAddresses": {
"description": "This is the list of addresses to which we send the email (i.e. in the `To:`\nof the email).",
"items": {
"type": "string"
},
"type": "array"
},
"senderAddress": {
"description": "This is the SMTP account/email that is used to send the message.",
"type": "string"
},
"server": {
"description": "The address of the SMTP server.",
"type": "string"
}
},
"type": "object"
},
"Secret": {
"description": "Pairs a set of secret environment variables containing encrypted\nvalues with the Cloud KMS key to use to decrypt the value.",
"id": "Secret",
Expand All @@ -1578,6 +1596,17 @@
},
"type": "object"
},
"SlackDelivery": {
"description": "SlackDelivery is the delivery configuration for delivering Slack messages via\nwebhooks. See Slack webhook documentation at:\nhttps://api.slack.com/messaging/webhooks.",
"id": "SlackDelivery",
"properties": {
"webhookUri": {
"$ref": "NotifierSecretRef",
"description": "The secret reference for the Slack webhook URI for sending messages to a\nchannel."
}
},
"type": "object"
},
"Source": {
"description": "Location of the source in a supported storage service.",
"id": "Source",
Expand Down

0 comments on commit 9016438

Please sign in to comment.