Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
IntegrationTemplateVersion definition. An IntegrationTemplateVersion provides configurations required to construct an IntegrationVersion. It cannot be executed directly like an Integration. Users can create IntegrationTemplateVersions using Integrations. These Templates can be shared by users across GCP projects.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#database_persistence_policy ⇒ String
Optional.
-
#description ⇒ String
Optional.
-
#error_catcher_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaErrorCatcherConfig>
Optional.
-
#last_modifier_email ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#parent_integration_version_id ⇒ String
Optional.
-
#snapshot_number ⇒ Fixnum
Output only.
-
#status ⇒ String
Optional.
-
#task_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTaskConfig>
Optional.
-
#teardown ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTeardown
Optional.
-
#template_parameters ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoWorkflowParameters
LINT.IfChange This is the frontend version of WorkflowParameters.
-
#trigger_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTriggerConfig>
Optional.
-
#update_time ⇒ String
Output only.
-
#user_label ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
constructor
A new instance of GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
Returns a new instance of GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion.
7151 7152 7153 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property createTime
7061 7062 7063 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7061 def create_time @create_time end |
#database_persistence_policy ⇒ String
Optional. Flag to disable database persistence for execution data, including
event execution info, execution export info, execution metadata index and
execution param index.
Corresponds to the JSON property databasePersistencePolicy
7068 7069 7070 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7068 def database_persistence_policy @database_persistence_policy end |
#description ⇒ String
Optional. The templateversion description. Permitted format is alphanumeric
with underscores and no spaces.
Corresponds to the JSON property description
7074 7075 7076 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7074 def description @description end |
#error_catcher_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaErrorCatcherConfig>
Optional. Error Catch Task configuration for the IntegrationTemplateVersion.
It's optional.
Corresponds to the JSON property errorCatcherConfigs
7080 7081 7082 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7080 def error_catcher_configs @error_catcher_configs end |
#last_modifier_email ⇒ String
Optional. The last modifier's email address. Generated based on the End User
Credentials/LOAS role of the user making the call.
Corresponds to the JSON property lastModifierEmail
7086 7087 7088 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7086 def last_modifier_email @last_modifier_email end |
#name ⇒ String
Output only. Auto-generated primary key. Format: projects/project/locations/
location/products/product/integrationtemplates/integrationtemplate/
versions/version
Corresponds to the JSON property name
7093 7094 7095 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7093 def name @name end |
#parent_integration_version_id ⇒ String
Optional. ID of the IntegrationVersion that was used to create this
IntegrationTemplateVersion
Corresponds to the JSON property parentIntegrationVersionId
7099 7100 7101 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7099 def parent_integration_version_id @parent_integration_version_id end |
#snapshot_number ⇒ Fixnum
Output only. An increasing sequence that is set when a new snapshot is created.
Corresponds to the JSON property snapshotNumber
7104 7105 7106 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7104 def snapshot_number @snapshot_number end |
#status ⇒ String
Optional. Generated by eventbus. User should not set it as an input.
Corresponds to the JSON property status
7109 7110 7111 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7109 def status @status end |
#task_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTaskConfig>
Optional. Task configuration for the IntegrationTemplateVersion. It's optional,
but the IntegrationTemplateVersion doesn't do anything without task_configs.
Corresponds to the JSON property taskConfigs
7115 7116 7117 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7115 def task_configs @task_configs end |
#teardown ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTeardown
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.
Corresponds to the JSON property teardown
7122 7123 7124 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7122 def teardown @teardown end |
#template_parameters ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoWorkflowParameters
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.
Corresponds to the JSON property templateParameters
7133 7134 7135 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7133 def template_parameters @template_parameters end |
#trigger_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTriggerConfig>
Optional. Trigger configurations.
Corresponds to the JSON property triggerConfigs
7138 7139 7140 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7138 def trigger_configs @trigger_configs end |
#update_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property updateTime
7143 7144 7145 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7143 def update_time @update_time end |
#user_label ⇒ String
Optional. A user-defined label that annotates an integration version.
Typically, this is only set when the integration version is created.
Corresponds to the JSON property userLabel
7149 7150 7151 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7149 def user_label @user_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7156 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @database_persistence_policy = args[:database_persistence_policy] if args.key?(:database_persistence_policy) @description = args[:description] if args.key?(:description) @error_catcher_configs = args[:error_catcher_configs] if args.key?(:error_catcher_configs) @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) @name = args[:name] if args.key?(:name) @parent_integration_version_id = args[:parent_integration_version_id] if args.key?(:parent_integration_version_id) @snapshot_number = args[:snapshot_number] if args.key?(:snapshot_number) @status = args[:status] if args.key?(:status) @task_configs = args[:task_configs] if args.key?(:task_configs) @teardown = args[:teardown] if args.key?(:teardown) @template_parameters = args[:template_parameters] if args.key?(:template_parameters) @trigger_configs = args[:trigger_configs] if args.key?(:trigger_configs) @update_time = args[:update_time] if args.key?(:update_time) @user_label = args[:user_label] if args.key?(:user_label) end |