Skip to content

Commit

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

The following keys were added:
- schemas.AutomationEvent.description
- schemas.AutomationEvent.id
- schemas.AutomationEvent.properties.automation.description
- schemas.AutomationEvent.properties.automation.type
- schemas.AutomationEvent.properties.message.description
- schemas.AutomationEvent.properties.message.type
- schemas.AutomationEvent.properties.pipelineUid.description
- schemas.AutomationEvent.properties.pipelineUid.type
- schemas.AutomationEvent.properties.type.description
- schemas.AutomationEvent.properties.type.enum
- schemas.AutomationEvent.properties.type.enumDeprecated
- schemas.AutomationEvent.properties.type.enumDescriptions
- schemas.AutomationEvent.properties.type.type
- schemas.AutomationEvent.type
- schemas.AutomationRunEvent.description
- schemas.AutomationRunEvent.id
- schemas.AutomationRunEvent.properties.automationId.description
- schemas.AutomationRunEvent.properties.automationId.type
- schemas.AutomationRunEvent.properties.automationRun.description
- schemas.AutomationRunEvent.properties.automationRun.type
- schemas.AutomationRunEvent.properties.destinationTargetId.description
- schemas.AutomationRunEvent.properties.destinationTargetId.type
- schemas.AutomationRunEvent.properties.message.description
- schemas.AutomationRunEvent.properties.message.type
- schemas.AutomationRunEvent.properties.pipelineUid.description
- schemas.AutomationRunEvent.properties.pipelineUid.type
- schemas.AutomationRunEvent.properties.ruleId.description
- schemas.AutomationRunEvent.properties.ruleId.type
- schemas.AutomationRunEvent.properties.type.description
- schemas.AutomationRunEvent.properties.type.enum
- schemas.AutomationRunEvent.properties.type.enumDeprecated
- schemas.AutomationRunEvent.properties.type.enumDescriptions
- schemas.AutomationRunEvent.properties.type.type
- schemas.AutomationRunEvent.type
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 26, 2023
1 parent aeac248 commit a732b2c
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 1 deletion.
114 changes: 113 additions & 1 deletion discovery/clouddeploy-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@
}
}
},
"revision": "20230904",
"revision": "20230913",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
Expand Down Expand Up @@ -1610,6 +1610,118 @@
},
"type": "object"
},
"AutomationEvent": {
"description": "Payload proto for \"clouddeploy.googleapis.com/automation\" Platform Log event that describes the Automation related events.",
"id": "AutomationEvent",
"properties": {
"automation": {
"description": "The name of the `AutomationRun`.",
"type": "string"
},
"message": {
"description": "Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.",
"type": "string"
},
"pipelineUid": {
"description": "Unique identifier of the `DeliveryPipeline`.",
"type": "string"
},
"type": {
"description": "Type of this notification, e.g. for a Pub/Sub failure.",
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
false,
false,
false,
false,
false,
false,
true
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Restriction check failed.",
"Resource deleted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
}
},
"type": "object"
},
"AutomationRunEvent": {
"description": "Payload proto for \"clouddeploy.googleapis.com/automation_run\" Platform Log event that describes the AutomationRun related events.",
"id": "AutomationRunEvent",
"properties": {
"automationId": {
"description": "Identifier of the `Automation`.",
"type": "string"
},
"automationRun": {
"description": "The name of the `AutomationRun`.",
"type": "string"
},
"destinationTargetId": {
"description": "ID of the `Target` to which the `AutomationRun` is created.",
"type": "string"
},
"message": {
"description": "Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.",
"type": "string"
},
"pipelineUid": {
"description": "Unique identifier of the `DeliveryPipeline`.",
"type": "string"
},
"ruleId": {
"description": "Identifier of the `Automation` rule.",
"type": "string"
},
"type": {
"description": "Type of this notification, e.g. for a Pub/Sub failure.",
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
false,
false,
false,
false,
false,
false,
true
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Restriction check failed.",
"Resource deleted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
}
},
"type": "object"
},
"Binding": {
"description": "Associates `members`, or principals, with a `role`.",
"id": "Binding",
Expand Down
54 changes: 54 additions & 0 deletions src/apis/clouddeploy/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,60 @@ export namespace clouddeploy_v1 {
*/
logType?: string | null;
}
/**
* Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.
*/
export interface Schema$AutomationEvent {
/**
* The name of the `AutomationRun`.
*/
automation?: string | null;
/**
* Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
*/
message?: string | null;
/**
* Unique identifier of the `DeliveryPipeline`.
*/
pipelineUid?: string | null;
/**
* Type of this notification, e.g. for a Pub/Sub failure.
*/
type?: string | null;
}
/**
* Payload proto for "clouddeploy.googleapis.com/automation_run" Platform Log event that describes the AutomationRun related events.
*/
export interface Schema$AutomationRunEvent {
/**
* Identifier of the `Automation`.
*/
automationId?: string | null;
/**
* The name of the `AutomationRun`.
*/
automationRun?: string | null;
/**
* ID of the `Target` to which the `AutomationRun` is created.
*/
destinationTargetId?: string | null;
/**
* Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
*/
message?: string | null;
/**
* Unique identifier of the `DeliveryPipeline`.
*/
pipelineUid?: string | null;
/**
* Identifier of the `Automation` rule.
*/
ruleId?: string | null;
/**
* Type of this notification, e.g. for a Pub/Sub failure.
*/
type?: string | null;
}
/**
* Associates `members`, or principals, with a `role`.
*/
Expand Down

0 comments on commit a732b2c

Please sign in to comment.