From 82639b51717b3f8a78a933fef8a5709ec092f73d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 31 Jan 2023 07:07:59 +0000 Subject: [PATCH] feat(integrations): update the api #### integrations:v1alpha The following keys were added: - resources.projects.resources.locations.resources.integrations.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.integrations.resources.versions.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.integrations.resources.versions.methods.download (Total Keys: 13) - resources.projects.resources.locations.resources.integrations.resources.versions.methods.unpublish (Total Keys: 12) - resources.projects.resources.locations.resources.integrations.resources.versions.methods.upload (Total Keys: 12) - resources.projects.resources.locations.resources.products.resources.integrations.resources.versions.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.products.resources.integrations.resources.versions.methods.unpublish (Total Keys: 12) - schemas.GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest (Total Keys: 2) --- ...alpha.projects.locations.integrations.html | 21 + ...jects.locations.integrations.versions.html | 1006 ++++++++++++++++- ...ations.products.integrations.versions.html | 80 +- ...roducts.integrationtemplates.versions.html | 16 +- .../documents/integrations.v1alpha.json | 211 +++- 5 files changed, 1293 insertions(+), 41 deletions(-) diff --git a/docs/dyn/integrations_v1alpha.projects.locations.integrations.html b/docs/dyn/integrations_v1alpha.projects.locations.integrations.html index e0854b56020..2510230cab9 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.integrations.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.integrations.html @@ -87,6 +87,9 @@

Instance Methods

close()

Close httplib2 connections.

+

+ delete(name, x__xgafv=None)

+

Delete the selected integration and all versions inside

execute(name, body=None, x__xgafv=None)

Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.

@@ -105,6 +108,24 @@

Method Details

Close httplib2 connections.
+
+ delete(name, x__xgafv=None) +
Delete the selected integration and all versions inside
+
+Args:
+  name: string, Required. The location resource of the request. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+
execute(name, body=None, x__xgafv=None)
Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.
diff --git a/docs/dyn/integrations_v1alpha.projects.locations.integrations.versions.html b/docs/dyn/integrations_v1alpha.projects.locations.integrations.versions.html
index 19b3f521fb4..f704a0fc210 100644
--- a/docs/dyn/integrations_v1alpha.projects.locations.integrations.versions.html
+++ b/docs/dyn/integrations_v1alpha.projects.locations.integrations.versions.html
@@ -86,6 +86,12 @@ 

Instance Methods

deactivate(name, body=None, x__xgafv=None)

Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.

+

+ delete(name, x__xgafv=None)

+

Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.

+

+ download(name, fileFormat=None, x__xgafv=None)

+

Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.

get(name, x__xgafv=None)

Get a integration in the specified project.

@@ -104,6 +110,12 @@

Instance Methods

takeoverEditLock(integrationVersion, body=None, x__xgafv=None)

Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.

+

+ unpublish(name, body=None, x__xgafv=None)

+

Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.

+

+ upload(parent, body=None, x__xgafv=None)

+

Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.

validate(name, body=None, x__xgafv=None)

Validates the given integration. If the id doesn't exist, a NotFoundException is thrown. If validation fails a CanonicalCodeException is thrown. If there was no failure an empty response is returned.

@@ -381,7 +393,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -729,7 +741,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -1265,7 +1277,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -1613,7 +1625,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -1930,6 +1942,48 @@

Method Details

}
+
+ delete(name, x__xgafv=None) +
Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.
+
+Args:
+  name: string, Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+ +
+ download(name, fileFormat=None, x__xgafv=None) +
Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.
+
+Args:
+  name: string, Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
+  fileFormat: string, File format for download request.
+    Allowed values
+      FILE_FORMAT_UNSPECIFIED - Unspecified file format
+      JSON - JSON File Format
+      YAML - YAML File Format
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for DownloadIntegrationVersion.
+  "content": "A String", # String representation of the integration version.
+}
+
+
get(name, x__xgafv=None)
Get a integration in the specified project.
@@ -2179,7 +2233,7 @@ 

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -2527,7 +2581,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -3076,7 +3130,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -3424,7 +3478,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -3979,7 +4033,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -4327,7 +4381,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -4863,7 +4917,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -5211,7 +5265,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -5784,7 +5838,931 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. + "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. + { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. + "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). + "alertDisabled": True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert. + "alertName": "A String", # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow. + "clientId": "A String", # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow's triggers. + "durationThresholdMs": "A String", # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger. + "errorEnumList": { # List of error enums for alerts. + "enumStrings": [ + "A String", + ], + "filterType": "A String", + }, + "metricType": "A String", + "numAggregationPeriods": 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired. + "onlyFinalAttempt": True or False, # Only count final task attempts, not retries. + "playbookUrl": "A String", # Link to a playbook for resolving the issue that triggered this alert. + "thresholdType": "A String", # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired. + "thresholdValue": { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. See go/eventbus-alert-config-examples # The metric value, above or below which the alert should be triggered. + "absolute": "A String", + "percentage": 42, + }, + "warningEnumList": { # List of error enums for alerts. + "enumStrings": [ + "A String", + ], + "filterType": "A String", + }, + }, + ], + "createTime": "A String", # Auto-generated. + "creatorEmail": "A String", # The creator's email address. Auto-generated from the user's email. + "description": "A String", # User-provided description intended to give more business context about the task. + "disableStrictTypeValidation": True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter. + "failurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.). + "intervalInSeconds": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff. + "maxNumRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed. + "retryStrategy": "A String", # Defines what happens to the task upon failure. + }, + "incomingEdgeCount": 42, # The number of edges leading into this TaskConfig. + "jsonValidationOption": "A String", # If set, overrides the option configured in the Task implementation class. + "label": "A String", # User-provided label that is attached to this TaskConfig in the UI. + "lastModifiedTime": "A String", # Auto-generated. + "nextTasks": [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true. + { # The task that is next in line to be executed, if the condition specified evaluated to true. + "combinedConditions": [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` + { # This message recursively combines constituent conditions using logical AND. + "conditions": [ # A set of individual constituent conditions. + { # Condition that uses `operator` to evaluate the key against the value. + "eventPropertyKey": "A String", # Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown. + "operator": "A String", # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair. + "value": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that's checked for the key. + "booleanValue": True or False, + "doubleArray": { + "values": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "values": [ + "A String", + ], + }, + "intValue": "A String", + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "stringArray": { + "values": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + ], + }, + ], + "condition": "A String", # Standard filter expression for this task to become an eligible next task. + "description": "A String", # User-provided description intended to give more business context about the next task edge or condition. + "label": "A String", # User-provided label that is attached to this edge in the UI. + "taskConfigId": "A String", # ID of the next task. + "taskNumber": "A String", # Task number of the next task. + }, + ], + "nextTasksExecutionPolicy": "A String", # The policy dictating the execution of the next set of tasks for the current task. + "parameters": { # The customized parameters the user can pass to this task. + "a_key": { # Key-value pair of EventBus parameters. + "dataType": "A String", # Explicitly getting the type of the parameter. + "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition. + "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message. + "booleanArray": { + "booleanValues": [ + True or False, + ], + }, + "booleanValue": True or False, + "doubleArray": { + "doubleValues": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "intValues": [ + "A String", + ], + }, + "intValue": "A String", + "jsonValue": "A String", + "protoArray": { + "protoValues": [ + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + }, + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "serializedObjectValue": { + "objectValue": "A String", + }, + "stringArray": { + "stringValues": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + }, + "position": { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI. + "x": 42, + "y": 42, + }, + "precondition": "A String", # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. "rollout(5)" will only allow 5% of incoming traffic to task. + "preconditionLabel": "A String", # Optional. User-provided label that is attached to precondition in the UI. + "rollbackStrategy": { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times). + "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see go/integration-platform/event_bus.md for more details. Next id: 4 # Optional. The customized parameters the user can pass to this task. + "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution. + { # Key-value pair of EventBus parameters. + "dataType": "A String", # Explicitly getting the type of the parameter. + "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition. + "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message. + "booleanArray": { + "booleanValues": [ + True or False, + ], + }, + "booleanValue": True or False, + "doubleArray": { + "doubleValues": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "intValues": [ + "A String", + ], + }, + "intValue": "A String", + "jsonValue": "A String", + "protoArray": { + "protoValues": [ + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + }, + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "serializedObjectValue": { + "objectValue": "A String", + }, + "stringArray": { + "stringValues": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + ], + }, + "rollbackTaskImplementationClassName": "A String", # Required. This is the name of the task that needs to be executed upon rollback of this task. + "taskNumbersToRollback": [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task. + "A String", + ], + }, + "successPolicy": { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion. + "finalState": "A String", # State to which the execution snapshot status will be set if the task succeeds. + }, + "synchronousCallFailurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post). + "intervalInSeconds": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff. + "maxNumRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed. + "retryStrategy": "A String", # Defines what happens to the task upon failure. + }, + "taskEntity": { # Contains a task's metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of. + "disabledForVpcSc": True or False, # True if the task has conflict with vpcsc + "metadata": { # TaskMetadata are attributes that are associated to every common Task we have. Next available: 26 # Metadata inclueds the task name, author and so on. + "activeTaskName": "A String", # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name. + "admins": [ + { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar. + "googleGroupEmail": "A String", + "userEmail": "A String", + }, + ], + "category": "A String", + "codeSearchLink": "A String", # The Code Search link to the Task Java file. + "defaultJsonValidationOption": "A String", # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution. + "defaultSpec": "A String", # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format. + "description": "A String", # In a few sentences, describe the purpose and usage of the task. + "descriptiveName": "A String", # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. "Send Mail") + "docMarkdown": "A String", # Snippet of markdown documentation to embed in the RHP for this task. + "externalCategory": "A String", + "externalCategorySequence": 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users. + "externalDocHtml": "A String", # External-facing documention embedded in the RHP for this task. + "externalDocLink": "A String", # Doc link for external-facing documentation (separate from g3doc). + "externalDocMarkdown": "A String", # DEPRECATED: Use external_doc_html. + "g3DocLink": "A String", # URL to the associated G3 Doc for the task if available + "iconLink": "A String", # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format. See go/icons. + "isDeprecated": True or False, # The deprecation status of the current task. Default value is false; + "name": "A String", # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class. + "standaloneExternalDocHtml": "A String", # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html + "status": "A String", # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE. + "system": "A String", + "tags": [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names ("REST Caller" vs. "Call REST Endpoint") or to help users find tasks based on related words. + "A String", + ], + }, + "paramSpecs": { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask. + "parameters": [ + { # Key-value pair of EventBus task parameters. Next id: 13 + "className": "A String", # The FQCN of the Java object this represents. A string, for example, would be "java.lang.String". If this is "java.lang.Object", the parameter can be of any type. + "collectionElementClassName": "A String", # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is "java.lang.Object", the parameter is a collection of any type. + "config": { # Optional fields, such as help text and other useful info. + "descriptivePhrase": "A String", # A short phrase to describe what this parameter contains. + "helpText": "A String", # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter. + "hideDefaultValue": True or False, # Whether the default value is hidden in the UI. + "inputDisplayOption": "A String", + "isHidden": True or False, # Whether this field is hidden in the UI. + "label": "A String", # A user-friendly label for the parameter. + "parameterNameOption": "A String", + "subSectionLabel": "A String", # A user-friendly label for subSection under which the parameter will be displayed. + "uiPlaceholderText": "A String", # Placeholder text which will appear in the UI input form for this parameter. + }, + "dataType": "A String", # The data type of the parameter. + "defaultValue": { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object. + "booleanArray": { + "booleanValues": [ + True or False, + ], + }, + "booleanValue": True or False, + "doubleArray": { + "doubleValues": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "intValues": [ + "A String", + ], + }, + "intValue": "A String", + "jsonValue": "A String", + "protoArray": { + "protoValues": [ + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + }, + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "serializedObjectValue": { + "objectValue": "A String", + }, + "stringArray": { + "stringValues": [ + "A String", + ], + }, + "stringValue": "A String", + }, + "isDeprecated": True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited. + "isOutput": True or False, + "jsonSchema": "A String", # If the data_type is JSON_VALUE, then this will define its schema. + "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition. + "protoDef": { # Populated if this represents a proto or proto array. + "fullName": "A String", # The fully-qualified proto name. This message, for example, would be "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition". + "path": "A String", # Path to the proto file that contains the message type's definition. + }, + "required": True or False, # If set, the user must provide an input value for this parameter. + "validationRule": { # Rule used to validate inputs (individual values and collection elements) for this parameter. + "doubleRange": { # Range used to validate doubles and floats. + "max": 3.14, # The inclusive maximum of the acceptable range. + "min": 3.14, # The inclusive minimum of the acceptable range. + }, + "intRange": { # Range used to validate longs and ints. + "max": "A String", # The inclusive maximum of the acceptable range. + "min": "A String", # The inclusive minimum of the acceptable range. + }, + "stringRegex": { # Rule used to validate strings. + "exclusive": True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected). + "regex": "A String", # The regex applied to the input value(s). + }, + }, + }, + ], + }, + "stats": { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query. + "dimensions": { # Dimensions that these stats have been aggregated on. + "clientId": "A String", + "enumFilterType": "A String", # Whether to include or exclude the enums matching the regex. + "errorEnumString": "A String", + "retryAttempt": "A String", + "taskName": "A String", + "taskNumber": "A String", + "triggerId": "A String", # Stats have been or will be aggregated on set fields for any semantically-meaningful combination. + "warningEnumString": "A String", + "workflowId": "A String", + "workflowName": "A String", + }, + "durationInSeconds": 3.14, # Average duration in seconds. + "errorRate": 3.14, # Average error rate. + "qps": 3.14, # Queries per second. + "warningRate": 3.14, # Average warning rate. + }, + "taskType": "A String", # Defines the type of the task + "uiConfig": { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: go/integration-platform-config-module-framework # UI configuration for this task Also associated with the METADATA mask. + "taskUiModuleConfigs": [ # Configurations of included config modules. + { # Task author would use this type to configure a config module. + "moduleId": "A String", # ID of the config module. + }, + ], + }, + }, + "taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. + "taskName": "A String", # The name for the task. + "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. + "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template + "taskType": "A String", # Defines the type of the task + }, + ], + "teardown": { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally" in code. + "teardownTaskConfigs": [ # Required. + { + "creatorEmail": "A String", # The creator's email address. + "name": "A String", # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks. + "nextTeardownTask": { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching). + "name": "A String", # Required. Name of the next teardown task. + }, + "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see go/integration-platform/event_bus.md for more details. Next id: 4 # The parameters the user can pass to this task. + "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution. + { # Key-value pair of EventBus parameters. + "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition. + "value": { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message. + "booleanArray": { + "booleanValues": [ + True or False, + ], + }, + "booleanValue": True or False, + "doubleArray": { + "doubleValues": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "intValues": [ + "A String", + ], + }, + "intValue": "A String", + "protoArray": { + "protoValues": [ + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + }, + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "serializedObjectValue": { + "objectValue": "A String", + }, + "stringArray": { + "stringValues": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + ], + }, + "properties": { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus. Please see go/cloud-crm-eng/platform/event_bus.md for more details. + "properties": [ # An unordered list of property entries. + { # Key-value pair of EventBus property. + "key": "A String", # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values. + "value": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message. + "booleanValue": True or False, + "doubleArray": { + "values": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "values": [ + "A String", + ], + }, + "intValue": "A String", + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "stringArray": { + "values": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + ], + }, + "teardownTaskImplementationClassName": "A String", # Required. Implementation class name. + }, + ], + }, + "triggerConfigs": [ # Optional. Trigger configurations. + { # Configuration detail of a trigger. + "alertConfig": [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published. + { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event. + "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours. + "alertThreshold": 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired. + "disableAlert": True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert. + "displayName": "A String", # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration. + "durationThreshold": "A String", # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger. + "metricType": "A String", # The type of metric. + "onlyFinalAttempt": True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries. + "thresholdType": "A String", # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired. + "thresholdValue": { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered. + "absolute": "A String", # Absolute value threshold. + "percentage": 42, # Percentage threshold. + }, + }, + ], + "cloudSchedulerConfig": { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata + "cronTab": "A String", # Required. The cron tab of cloud scheduler trigger. + "errorMessage": "A String", # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations + "location": "A String", # Required. The location where associated cloud scheduler job will be created + "serviceAccountEmail": "A String", # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time + }, + "description": "A String", # Optional. User-provided description intended to give additional business context about the task. + "label": "A String", # Optional. The user created label for a particular trigger. + "nextTasksExecutionPolicy": "A String", # Optional. Dictates how next tasks will be executed. + "properties": { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. "name" is a property for API triggers and "subscription" is a property for Pub/sub triggers. + "a_key": "A String", + }, + "startTasks": [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph). + { # The task that is next in line to be executed, if the condition specified evaluated to true. + "condition": "A String", # Standard filter expression for this task to become an eligible next task. + "description": "A String", # User-provided description intended to give additional business context about the task. + "displayName": "A String", # User-provided label that is attached to this edge in the UI. + "taskConfigId": "A String", # ID of the next task. + "taskId": "A String", # Task number of the next task. + }, + ], + "triggerId": "A String", # Optional. The backend trigger ID. + "triggerNumber": "A String", # Required. A number to uniquely identify each trigger config within the integration on UI. + "triggerType": "A String", # Optional. Type of trigger + }, + ], + "triggerConfigsInternal": [ # Optional. Trigger configurations. + { # Configuration detail of a trigger. Next available id: 17 + "alertConfig": [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published. + { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. + "aggregationPeriod": "A String", # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours. + "alertDisabled": True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert. + "alertName": "A String", # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow. + "clientId": "A String", # Client associated with this alert configuration. + "durationThresholdMs": "A String", # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger. + "errorEnumList": { # List of error enums for alerts. + "enumStrings": [ + "A String", + ], + "filterType": "A String", + }, + "metricType": "A String", + "numAggregationPeriods": 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired. + "onlyFinalAttempt": True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries. + "playbookUrl": "A String", # Link to a playbook for resolving the issue that triggered this alert. + "thresholdType": "A String", # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired. + "thresholdValue": { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. See go/eventbus-alert-config-examples # The metric value, above or below which the alert should be triggered. See go/eventbus-alert-config-examples. + "absolute": "A String", + "percentage": 42, + }, + "warningEnumList": { # List of error enums for alerts. + "enumStrings": [ + "A String", + ], + "filterType": "A String", + }, + }, + ], + "cloudSchedulerConfig": { # Cloud Scheduler Trigger configuration + "cronTab": "A String", # Required. The cron tab of cloud scheduler trigger. + "errorMessage": "A String", # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations + "location": "A String", # Required. The location where associated cloud scheduler job will be created + "serviceAccountEmail": "A String", # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time + }, + "description": "A String", # User-provided description intended to give more business context about the task. + "enabledClients": [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client. + "A String", + ], + "label": "A String", # The user created label for a particular trigger. + "nextTasksExecutionPolicy": "A String", # Dictates how next tasks will be executed. + "pauseWorkflowExecutions": True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed. + "position": { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI. + "x": 42, + "y": 42, + }, + "properties": { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. "name" is a property for API triggers and "subscription" is a property for Cloud Pubsub triggers. + "a_key": "A String", + }, + "startTasks": [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph). + { # The task that is next in line to be executed, if the condition specified evaluated to true. + "combinedConditions": [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` + { # This message recursively combines constituent conditions using logical AND. + "conditions": [ # A set of individual constituent conditions. + { # Condition that uses `operator` to evaluate the key against the value. + "eventPropertyKey": "A String", # Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown. + "operator": "A String", # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair. + "value": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that's checked for the key. + "booleanValue": True or False, + "doubleArray": { + "values": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "values": [ + "A String", + ], + }, + "intValue": "A String", + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "stringArray": { + "values": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + ], + }, + ], + "condition": "A String", # Standard filter expression for this task to become an eligible next task. + "description": "A String", # User-provided description intended to give more business context about the next task edge or condition. + "label": "A String", # User-provided label that is attached to this edge in the UI. + "taskConfigId": "A String", # ID of the next task. + "taskNumber": "A String", # Task number of the next task. + }, + ], + "triggerCriteria": { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true. + "condition": "A String", # Required. Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly. + "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see go/integration-platform/event_bus.md for more details. Next id: 4 # Optional. To be used in TaskConfig for the implementation class. + "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution. + { # Key-value pair of EventBus parameters. + "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition. + "value": { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message. + "booleanArray": { + "booleanValues": [ + True or False, + ], + }, + "booleanValue": True or False, + "doubleArray": { + "doubleValues": [ + 3.14, + ], + }, + "doubleValue": 3.14, + "intArray": { + "intValues": [ + "A String", + ], + }, + "intValue": "A String", + "protoArray": { + "protoValues": [ + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + }, + "protoValue": { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "serializedObjectValue": { + "objectValue": "A String", + }, + "stringArray": { + "stringValues": [ + "A String", + ], + }, + "stringValue": "A String", + }, + }, + ], + }, + "triggerCriteriaTaskImplementationClassName": "A String", # Optional. Implementation class name. The class should implement the “TypedTask” interface. + }, + "triggerId": "A String", # The backend trigger ID. + "triggerNumber": "A String", # Required. A number to uniquely identify each trigger config within the workflow on UI. + "triggerType": "A String", + }, + ], + "updateTime": "A String", # Output only. Auto-generated. + "userLabel": "A String", # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created. + }, +}
+
+ +
+ unpublish(name, body=None, x__xgafv=None) +
Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
+
+Args:
+  name: string, Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request for UnpublishIntegrationVersion.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+ +
+ upload(parent, body=None, x__xgafv=None) +
Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.
+
+Args:
+  parent: string, Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request for UploadIntegrationVersion.
+  "content": "A String", # The textproto of the integration_version.
+  "fileFormat": "A String", # File format for upload request.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for UploadIntegrationVersion.
+  "integrationVersion": { # The integration version definition. # The uploaded integration.
+    "createTime": "A String", # Output only. Auto-generated.
+    "databasePersistencePolicy": "A String", # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
+    "description": "A String", # Optional. The integration description.
+    "integrationParameters": [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
+      { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
+        "dataType": "A String", # Type of the parameter.
+        "defaultValue": { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
+          "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
+            "booleanValues": [ # Boolean array.
+              True or False,
+            ],
+          },
+          "booleanValue": True or False, # Boolean.
+          "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
+            "doubleValues": [ # Double number array.
+              3.14,
+            ],
+          },
+          "doubleValue": 3.14, # Double Number.
+          "intArray": { # This message only contains a field of integer array. # Integer Array.
+            "intValues": [ # Integer array.
+              "A String",
+            ],
+          },
+          "intValue": "A String", # Integer.
+          "jsonValue": "A String", # Json.
+          "stringArray": { # This message only contains a field of string array. # String Array.
+            "stringValues": [ # String array.
+              "A String",
+            ],
+          },
+          "stringValue": "A String", # String.
+        },
+        "displayName": "A String", # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is "foo.bar.myName", then the name would be "myName".
+        "inputOutputType": "A String", # Specifies the input/output type for the parameter.
+        "isTransient": True or False, # Whether this parameter is a transient parameter.
+        "jsonSchema": "A String", # This schema will be used to validate runtime JSON-typed values of this parameter.
+        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
+        "producer": "A String", # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
+        "searchable": True or False, # Searchable in the execution log or not.
+      },
+    ],
+    "integrationParametersInternal": { # LINT.IfChange This is the frontend version of WorkflowParameters. It's exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as "children" (see 'children' field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
+      "parameters": [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
+        {
+          "attributes": { # Attributes are additional options that can be associated with each event property. For more information, see go/integration-platform/event_bus/attributes_registry.md. Next available: 8 # Metadata information about the parameters.
+            "dataType": "A String", # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
+            "defaultValue": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
+              "booleanValue": True or False,
+              "doubleArray": {
+                "values": [
+                  3.14,
+                ],
+              },
+              "doubleValue": 3.14,
+              "intArray": {
+                "values": [
+                  "A String",
+                ],
+              },
+              "intValue": "A String",
+              "protoValue": {
+                "a_key": "", # Properties of the object. Contains field @type with type URL.
+              },
+              "stringArray": {
+                "values": [
+                  "A String",
+                ],
+              },
+              "stringValue": "A String",
+            },
+            "isRequired": True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
+            "isSearchable": True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
+            "logSettings": { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. See go/integration-platform/analytics/logging_task.md for details. # See go/integration-platform/analytics/logging_task.md for details.
+              "logFieldName": "A String", # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
+              "sanitizeOptions": { # Identifies whether a field contains, or may contain, PII or sensitive data, and how to sanitize the field if it does. If a field's privacy type cannot be determined then it is sanitized (e.g., scrubbed). The specific sanitizer implementation is determined by run-time configuration and environment options (e.g., prod vs. qa). next_id: 5 # Contains the scrubbing options, such as whether to scrub, obfuscate, etc.
+                "isAlreadySanitized": True or False, # If true, the value has already been sanitized and needs no further sanitization. For instance, a D3 customer id is already an obfuscated entity and *might not* need further sanitization.
+                "logType": [ # To which type(s) of logs the sanitize options apply.
+                  "A String",
+                ],
+                "privacy": "A String",
+                "sanitizeType": "A String",
+              },
+              "seedPeriod": "A String",
+              "seedScope": "A String",
+              "shorteningLimits": { # Describes string and array limits when writing to logs. When a limit is exceeded the *shortener_type* describes how to shorten the field. next_id: 6 # Contains the field limits for shortening, such as max string length and max array length.
+                "logAction": "A String",
+                "logType": [ # To which type(s) of logs the limits apply.
+                  "A String",
+                ],
+                "maxArraySize": 42, # maximum array size. If the array exceds this size, the field (list) is truncated.
+                "maxStringLength": 42, # maximum string length. If the field exceeds this amount the field is shortened.
+                "shortenerType": "A String",
+              },
+            },
+            "searchable": "A String",
+            "taskVisibility": [ # List of tasks that can view this property, if empty then all.
+              "A String",
+            ],
+          },
+          "children": [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
+            # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
+          ],
+          "dataType": "A String", # The data type of the parameter.
+          "defaultValue": { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
+            "booleanArray": {
+              "booleanValues": [
+                True or False,
+              ],
+            },
+            "booleanValue": True or False,
+            "doubleArray": {
+              "doubleValues": [
+                3.14,
+              ],
+            },
+            "doubleValue": 3.14,
+            "intArray": {
+              "intValues": [
+                "A String",
+              ],
+            },
+            "intValue": "A String",
+            "jsonValue": "A String",
+            "protoArray": {
+              "protoValues": [
+                {
+                  "a_key": "", # Properties of the object. Contains field @type with type URL.
+                },
+              ],
+            },
+            "protoValue": {
+              "a_key": "", # Properties of the object. Contains field @type with type URL.
+            },
+            "serializedObjectValue": {
+              "objectValue": "A String",
+            },
+            "stringArray": {
+              "stringValues": [
+                "A String",
+              ],
+            },
+            "stringValue": "A String",
+          },
+          "inOutType": "A String", # Specifies the input/output type for the parameter.
+          "isTransient": True or False, # Whether this parameter is a transient parameter. go/ip-transient-parameters
+          "jsonSchema": "A String", # This schema will be used to validate runtime JSON-typed values of this parameter.
+          "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
+          "name": "A String", # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is "foo.bar.myName", then the name would be "myName".
+          "producedBy": { # Represents a node identifier (type + id). Next highest id: 3 # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
+            "elementIdentifier": "A String", # Configuration of the edge.
+            "elementType": "A String", # Destination node where the edge ends. It can only be a task config.
+          },
+          "producer": "A String",
+          "protoDefName": "A String", # The name of the protobuf type if the parameter has a protobuf data type.
+          "protoDefPath": "A String", # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be "enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry".
+        },
+      ],
+    },
+    "lastModifierEmail": "A String", # Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
+    "lockHolder": "A String", # Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
+    "name": "A String", # Output only. Auto-generated primary key.
+    "origin": "A String", # Optional. The origin that indicates where this integration is coming from.
+    "parentTemplateId": "A String", # Optional. The id of the template which was used to create this integration_version.
+    "snapshotNumber": "A String", # Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to identify the head.
+    "state": "A String", # Output only. User should not set it as an input.
+    "status": "A String", # Output only. Generated by eventbus. User should not set it as an input.
+    "taskConfigs": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.
+      { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
+        "description": "A String", # Optional. User-provided description intended to give additional business context about the task.
+        "displayName": "A String", # Optional. User-provided label that is attached to this TaskConfig in the UI.
+        "failurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
+          "intervalTime": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
+          "maxRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
+          "retryStrategy": "A String", # Defines what happens to the task upon failure.
+        },
+        "jsonValidationOption": "A String", # Optional. If set, overrides the option configured in the Task implementation class.
+        "nextTasks": [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
+          { # The task that is next in line to be executed, if the condition specified evaluated to true.
+            "condition": "A String", # Standard filter expression for this task to become an eligible next task.
+            "description": "A String", # User-provided description intended to give additional business context about the task.
+            "displayName": "A String", # User-provided label that is attached to this edge in the UI.
+            "taskConfigId": "A String", # ID of the next task.
+            "taskId": "A String", # Task number of the next task.
+          },
+        ],
+        "nextTasksExecutionPolicy": "A String", # Optional. The policy dictating the execution of the next set of tasks for the current task.
+        "parameters": { # Optional. The customized parameters the user can pass to this task.
+          "a_key": { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus.
+            "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
+            "value": { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
+              "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
+                "booleanValues": [ # Boolean array.
+                  True or False,
+                ],
+              },
+              "booleanValue": True or False, # Boolean.
+              "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
+                "doubleValues": [ # Double number array.
+                  3.14,
+                ],
+              },
+              "doubleValue": 3.14, # Double Number.
+              "intArray": { # This message only contains a field of integer array. # Integer Array.
+                "intValues": [ # Integer array.
+                  "A String",
+                ],
+              },
+              "intValue": "A String", # Integer.
+              "jsonValue": "A String", # Json.
+              "stringArray": { # This message only contains a field of string array. # String Array.
+                "stringValues": [ # String array.
+                  "A String",
+                ],
+              },
+              "stringValue": "A String", # String.
+            },
+          },
+        },
+        "successPolicy": { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
+          "finalState": "A String", # State to which the execution snapshot status will be set if the task succeeds.
+        },
+        "synchronousCallFailurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
+          "intervalTime": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
+          "maxRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
+          "retryStrategy": "A String", # Defines what happens to the task upon failure.
+        },
+        "task": "A String", # Optional. The name for the task.
+        "taskExecutionStrategy": "A String", # Optional. The policy dictating the execution strategy of this task.
+        "taskId": "A String", # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
+        "taskTemplate": "A String", # Optional. Used to define task-template name if task is of type task-template
+      },
+    ],
+    "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.
+      { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
         "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
           { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured.
             "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
@@ -6132,7 +7110,7 @@ 

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.versions.html b/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.versions.html index f7cf2830ebc..3986378e890 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.versions.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.integrations.versions.html @@ -86,6 +86,9 @@

Instance Methods

deactivate(name, body=None, x__xgafv=None)

Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.

+

+ delete(name, x__xgafv=None)

+

Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.

download(name, fileFormat=None, x__xgafv=None)

Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.

@@ -110,6 +113,9 @@

Instance Methods

takeoverEditLock(integrationVersion, body=None, x__xgafv=None)

Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.

+

+ unpublish(name, body=None, x__xgafv=None)

+

Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.

updateBundle(name, body=None, x__xgafv=None)

THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle

@@ -393,7 +399,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -741,7 +747,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -1277,7 +1283,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -1625,7 +1631,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -1942,6 +1948,24 @@

Method Details

}
+
+ delete(name, x__xgafv=None) +
Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.
+
+Args:
+  name: string, Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+
download(name, fileFormat=None, x__xgafv=None)
Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.
@@ -2215,7 +2239,7 @@ 

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -2563,7 +2587,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -3136,7 +3160,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -3484,7 +3508,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -4039,7 +4063,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -4387,7 +4411,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -4923,7 +4947,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -5271,7 +5295,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -5844,7 +5868,7 @@

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -6192,7 +6216,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -6486,6 +6510,30 @@

Method Details

}
+
+ unpublish(name, body=None, x__xgafv=None) +
Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.
+
+Args:
+  name: string, Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request for UnpublishIntegrationVersion.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+
updateBundle(name, body=None, x__xgafv=None)
THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle
@@ -6780,7 +6828,7 @@ 

Method Details

}, ], "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -7128,7 +7176,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, diff --git a/docs/dyn/integrations_v1alpha.projects.locations.products.integrationtemplates.versions.html b/docs/dyn/integrations_v1alpha.projects.locations.products.integrationtemplates.versions.html index a938facfc0d..089ce5d7a41 100644 --- a/docs/dyn/integrations_v1alpha.projects.locations.products.integrationtemplates.versions.html +++ b/docs/dyn/integrations_v1alpha.projects.locations.products.integrationtemplates.versions.html @@ -114,7 +114,7 @@

Method Details

"snapshotNumber": "A String", # Output only. An increasing sequence that is set when a new snapshot is created. "status": "A String", # Optional. Generated by eventbus. User should not set it as an input. "taskConfigs": [ # Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -462,7 +462,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -845,7 +845,7 @@

Method Details

"snapshotNumber": "A String", # Output only. An increasing sequence that is set when a new snapshot is created. "status": "A String", # Optional. Generated by eventbus. User should not set it as an input. "taskConfigs": [ # Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -1193,7 +1193,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -1583,7 +1583,7 @@

Method Details

"snapshotNumber": "A String", # Output only. An increasing sequence that is set when a new snapshot is created. "status": "A String", # Optional. Generated by eventbus. User should not set it as an input. "taskConfigs": [ # Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -1931,7 +1931,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, @@ -2326,7 +2326,7 @@

Method Details

"snapshotNumber": "A String", # Output only. An increasing sequence that is set when a new snapshot is created. "status": "A String", # Optional. Generated by eventbus. User should not set it as an input. "taskConfigs": [ # Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs. - { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27 + { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc. { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. See go/eventbus-alert-config-examples for examples of the different alerts that can be configured. "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). @@ -2674,7 +2674,7 @@

Method Details

"taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task. "taskName": "A String", # The name for the task. "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`). - "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. Please refer to go/eventbus-task-spec-example for detailed usage example. + "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template "taskType": "A String", # Defines the type of the task }, diff --git a/googleapiclient/discovery_cache/documents/integrations.v1alpha.json b/googleapiclient/discovery_cache/documents/integrations.v1alpha.json index c41c346c48c..bf9504e5399 100644 --- a/googleapiclient/discovery_cache/documents/integrations.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/integrations.v1alpha.json @@ -663,6 +663,31 @@ }, "integrations": { "methods": { + "delete": { + "description": "Delete the selected integration and all versions inside", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}", + "httpMethod": "DELETE", + "id": "integrations.projects.locations.integrations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The location resource of the request.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "execute": { "description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:execute", @@ -1096,6 +1121,71 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "delete": { + "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", + "httpMethod": "DELETE", + "id": "integrations.projects.locations.integrations.versions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "download": { + "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:download", + "httpMethod": "GET", + "id": "integrations.projects.locations.integrations.versions.download", + "parameterOrder": [ + "name" + ], + "parameters": { + "fileFormat": { + "description": "File format for download request.", + "enum": [ + "FILE_FORMAT_UNSPECIFIED", + "JSON", + "YAML" + ], + "enumDescriptions": [ + "Unspecified file format", + "JSON File Format", + "YAML File Format" + ], + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:download", + "response": { + "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Get a integration in the specified project.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", @@ -1263,6 +1353,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "unpublish": { + "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", + "httpMethod": "POST", + "id": "integrations.projects.locations.integrations.versions.unpublish", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:unpublish", + "request": { + "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "upload": { + "description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions:upload", + "httpMethod": "POST", + "id": "integrations.projects.locations.integrations.versions.upload", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/versions:upload", + "request": { + "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" + }, + "response": { + "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "validate": { "description": "Validates the given integration. If the id doesn't exist, a NotFoundException is thrown. If validation fails a CanonicalCodeException is thrown. If there was no failure an empty response is returned.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:validate", @@ -2275,6 +2421,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "delete": { + "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", + "httpMethod": "DELETE", + "id": "integrations.projects.locations.products.integrations.versions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "download": { "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:download", @@ -2507,6 +2678,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "unpublish": { + "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", + "httpMethod": "POST", + "id": "integrations.projects.locations.products.integrations.versions.unpublish", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:unpublish", + "request": { + "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "updateBundle": { "description": "THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:updateBundle", @@ -3360,7 +3559,7 @@ } } }, - "revision": "20230110", + "revision": "20230117", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -7175,7 +7374,7 @@ "type": "object" }, "EnterpriseCrmFrontendsEventbusProtoTaskConfig": { - "description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. Next available id: 27", + "description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", "id": "EnterpriseCrmFrontendsEventbusProtoTaskConfig", "properties": { "alertConfigs": { @@ -7317,7 +7516,7 @@ "type": "string" }, "taskSpec": { - "description": "A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old \"parameters\" field. Please refer to go/eventbus-task-spec-example for detailed usage example.", + "description": "A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old \"parameters\" field.", "type": "string" }, "taskTemplateName": { @@ -10832,6 +11031,12 @@ }, "type": "object" }, + "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest": { + "description": "Request for UnpublishIntegrationVersion.", + "id": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest", + "properties": {}, + "type": "object" + }, "GoogleCloudIntegrationsV1alphaUpdateBundleRequest": { "description": "THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Request message for Bundle update", "id": "GoogleCloudIntegrationsV1alphaUpdateBundleRequest",