Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion
- 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
The integration version definition.
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.
-
#integration_parameters ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationParameter>
Optional.
-
#integration_parameters_internal ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoWorkflowParameters
LINT.IfChange This is the frontend version of WorkflowParameters.
-
#last_modifier_email ⇒ String
Optional.
-
#lock_holder ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#origin ⇒ String
Optional.
-
#parent_template_id ⇒ String
Optional.
-
#run_as_service_account ⇒ String
Optional.
-
#snapshot_number ⇒ Fixnum
Optional.
-
#state ⇒ String
Output only.
-
#status ⇒ String
Output only.
-
#task_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTaskConfig>
Optional.
-
#task_configs_internal ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTaskConfig>
Optional.
-
#teardown ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTeardown
Optional.
-
#trigger_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTriggerConfig>
Optional.
-
#trigger_configs_internal ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTriggerConfig>
Optional.
-
#update_time ⇒ String
Output only.
-
#user_label ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationVersion
constructor
A new instance of GoogleCloudIntegrationsV1alphaIntegrationVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationVersion
Returns a new instance of GoogleCloudIntegrationsV1alphaIntegrationVersion.
7313 7314 7315 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7313 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property createTime
7182 7183 7184 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7182 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
7189 7190 7191 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7189 def database_persistence_policy @database_persistence_policy end |
#description ⇒ String
Optional. The integration description.
Corresponds to the JSON property description
7194 7195 7196 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7194 def description @description end |
#error_catcher_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaErrorCatcherConfig>
Optional. Error Catch Task configuration for the integration. It's optional.
Corresponds to the JSON property errorCatcherConfigs
7199 7200 7201 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7199 def error_catcher_configs @error_catcher_configs end |
#integration_parameters ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationParameter>
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.
Corresponds to the JSON property integrationParameters
7207 7208 7209 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7207 def integration_parameters @integration_parameters end |
#integration_parameters_internal ⇒ 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 integrationParametersInternal
7218 7219 7220 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7218 def integration_parameters_internal @integration_parameters_internal 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
7224 7225 7226 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7224 def last_modifier_email @last_modifier_email end |
#lock_holder ⇒ String
Optional. The edit lock holder's email address. Generated based on the End
User Credentials/LOAS role of the user making the call.
Corresponds to the JSON property lockHolder
7230 7231 7232 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7230 def lock_holder @lock_holder end |
#name ⇒ String
Output only. Auto-generated primary key.
Corresponds to the JSON property name
7235 7236 7237 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7235 def name @name end |
#origin ⇒ String
Optional. The origin that indicates where this integration is coming from.
Corresponds to the JSON property origin
7240 7241 7242 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7240 def origin @origin end |
#parent_template_id ⇒ String
Optional. The id of the template which was used to create this
integration_version.
Corresponds to the JSON property parentTemplateId
7246 7247 7248 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7246 def parent_template_id @parent_template_id end |
#run_as_service_account ⇒ String
Optional. The run-as service account email, if set and auth config is not
configured, that will be used to generate auth token to be used in Connector
task, Rest caller task and Cloud function task.
Corresponds to the JSON property runAsServiceAccount
7253 7254 7255 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7253 def run_as_service_account @run_as_service_account end |
#snapshot_number ⇒ Fixnum
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.
Corresponds to the JSON property snapshotNumber
7261 7262 7263 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7261 def snapshot_number @snapshot_number end |
#state ⇒ String
Output only. User should not set it as an input.
Corresponds to the JSON property state
7266 7267 7268 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7266 def state @state end |
#status ⇒ String
Output only. Generated by eventbus. User should not set it as an input.
Corresponds to the JSON property status
7271 7272 7273 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7271 def status @status end |
#task_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTaskConfig>
Optional. Task configuration for the integration. It's optional, but the
integration doesn't do anything without task_configs.
Corresponds to the JSON property taskConfigs
7277 7278 7279 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7277 def task_configs @task_configs end |
#task_configs_internal ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTaskConfig>
Optional. Task configuration for the integration. It's optional, but the
integration doesn't do anything without task_configs.
Corresponds to the JSON property taskConfigsInternal
7283 7284 7285 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7283 def task_configs_internal @task_configs_internal 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
7290 7291 7292 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7290 def teardown @teardown end |
#trigger_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTriggerConfig>
Optional. Trigger configurations.
Corresponds to the JSON property triggerConfigs
7295 7296 7297 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7295 def trigger_configs @trigger_configs end |
#trigger_configs_internal ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTriggerConfig>
Optional. Trigger configurations.
Corresponds to the JSON property triggerConfigsInternal
7300 7301 7302 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7300 def trigger_configs_internal @trigger_configs_internal end |
#update_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property updateTime
7305 7306 7307 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7305 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
7311 7312 7313 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7311 def user_label @user_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7318 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) @integration_parameters = args[:integration_parameters] if args.key?(:integration_parameters) @integration_parameters_internal = args[:integration_parameters_internal] if args.key?(:integration_parameters_internal) @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) @lock_holder = args[:lock_holder] if args.key?(:lock_holder) @name = args[:name] if args.key?(:name) @origin = args[:origin] if args.key?(:origin) @parent_template_id = args[:parent_template_id] if args.key?(:parent_template_id) @run_as_service_account = args[:run_as_service_account] if args.key?(:run_as_service_account) @snapshot_number = args[:snapshot_number] if args.key?(:snapshot_number) @state = args[:state] if args.key?(:state) @status = args[:status] if args.key?(:status) @task_configs = args[:task_configs] if args.key?(:task_configs) @task_configs_internal = args[:task_configs_internal] if args.key?(:task_configs_internal) @teardown = args[:teardown] if args.key?(:teardown) @trigger_configs = args[:trigger_configs] if args.key?(:trigger_configs) @trigger_configs_internal = args[:trigger_configs_internal] if args.key?(:trigger_configs_internal) @update_time = args[:update_time] if args.key?(:update_time) @user_label = args[:user_label] if args.key?(:user_label) end |