Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

The integration version definition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationVersion

Returns a new instance of GoogleCloudIntegrationsV1alphaIntegrationVersion.



8793
8794
8795
# File 'lib/google/apis/integrations_v1/classes.rb', line 8793

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_logging_detailsGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudLoggingDetails

Cloud Logging details for execution info Corresponds to the JSON property cloudLoggingDetails



8634
8635
8636
# File 'lib/google/apis/integrations_v1/classes.rb', line 8634

def cloud_logging_details
  @cloud_logging_details
end

#create_timeString

Output only. Auto-generated. Corresponds to the JSON property createTime

Returns:

  • (String)


8639
8640
8641
# File 'lib/google/apis/integrations_v1/classes.rb', line 8639

def create_time
  @create_time
end

#created_from_templateString

Optional. Optional. The resource name of the template from which the integration is created. Corresponds to the JSON property createdFromTemplate

Returns:

  • (String)


8645
8646
8647
# File 'lib/google/apis/integrations_v1/classes.rb', line 8645

def created_from_template
  @created_from_template
end

#database_persistence_policyString

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

Returns:

  • (String)


8652
8653
8654
# File 'lib/google/apis/integrations_v1/classes.rb', line 8652

def database_persistence_policy
  @database_persistence_policy
end

#descriptionString

Optional. The integration description. Corresponds to the JSON property description

Returns:

  • (String)


8657
8658
8659
# File 'lib/google/apis/integrations_v1/classes.rb', line 8657

def description
  @description
end

#enable_variable_maskingBoolean Also known as: enable_variable_masking?

Optional. True if variable masking feature should be turned on for this version Corresponds to the JSON property enableVariableMasking

Returns:

  • (Boolean)


8663
8664
8665
# File 'lib/google/apis/integrations_v1/classes.rb', line 8663

def enable_variable_masking
  @enable_variable_masking
end

#error_catcher_configsArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaErrorCatcherConfig>

Optional. Error Catch Task configuration for the integration. It's optional. Corresponds to the JSON property errorCatcherConfigs



8669
8670
8671
# File 'lib/google/apis/integrations_v1/classes.rb', line 8669

def error_catcher_configs
  @error_catcher_configs
end

#integration_config_parametersArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationConfigParameter>

Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter. Corresponds to the JSON property integrationConfigParameters



8679
8680
8681
# File 'lib/google/apis/integrations_v1/classes.rb', line 8679

def integration_config_parameters
  @integration_config_parameters
end

#integration_parametersArray<Google::Apis::IntegrationsV1::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



8687
8688
8689
# File 'lib/google/apis/integrations_v1/classes.rb', line 8687

def integration_parameters
  @integration_parameters
end

#integration_parameters_internalGoogle::Apis::IntegrationsV1::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



8698
8699
8700
# File 'lib/google/apis/integrations_v1/classes.rb', line 8698

def integration_parameters_internal
  @integration_parameters_internal
end

#last_modifier_emailString

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

Returns:

  • (String)


8704
8705
8706
# File 'lib/google/apis/integrations_v1/classes.rb', line 8704

def last_modifier_email
  @last_modifier_email
end

#lock_holderString

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

Returns:

  • (String)


8710
8711
8712
# File 'lib/google/apis/integrations_v1/classes.rb', line 8710

def lock_holder
  @lock_holder
end

#nameString

Output only. Auto-generated primary key. Corresponds to the JSON property name

Returns:

  • (String)


8715
8716
8717
# File 'lib/google/apis/integrations_v1/classes.rb', line 8715

def name
  @name
end

#originString

Optional. The origin that indicates where this integration is coming from. Corresponds to the JSON property origin

Returns:

  • (String)


8720
8721
8722
# File 'lib/google/apis/integrations_v1/classes.rb', line 8720

def origin
  @origin
end

#parent_template_idString

Optional. The id of the template which was used to create this integration_version. Corresponds to the JSON property parentTemplateId

Returns:

  • (String)


8726
8727
8728
# File 'lib/google/apis/integrations_v1/classes.rb', line 8726

def parent_template_id
  @parent_template_id
end

#run_as_service_accountString

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

Returns:

  • (String)


8733
8734
8735
# File 'lib/google/apis/integrations_v1/classes.rb', line 8733

def 
  @run_as_service_account
end

#snapshot_numberFixnum

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

Returns:

  • (Fixnum)


8741
8742
8743
# File 'lib/google/apis/integrations_v1/classes.rb', line 8741

def snapshot_number
  @snapshot_number
end

#stateString

Output only. User should not set it as an input. Corresponds to the JSON property state

Returns:

  • (String)


8746
8747
8748
# File 'lib/google/apis/integrations_v1/classes.rb', line 8746

def state
  @state
end

#statusString

Output only. Generated by eventbus. User should not set it as an input. Corresponds to the JSON property status

Returns:

  • (String)


8751
8752
8753
# File 'lib/google/apis/integrations_v1/classes.rb', line 8751

def status
  @status
end

#task_configsArray<Google::Apis::IntegrationsV1::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



8757
8758
8759
# File 'lib/google/apis/integrations_v1/classes.rb', line 8757

def task_configs
  @task_configs
end

#task_configs_internalArray<Google::Apis::IntegrationsV1::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



8763
8764
8765
# File 'lib/google/apis/integrations_v1/classes.rb', line 8763

def task_configs_internal
  @task_configs_internal
end

#teardownGoogle::Apis::IntegrationsV1::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



8770
8771
8772
# File 'lib/google/apis/integrations_v1/classes.rb', line 8770

def teardown
  @teardown
end

#trigger_configsArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig>

Optional. Trigger configurations. Corresponds to the JSON property triggerConfigs



8775
8776
8777
# File 'lib/google/apis/integrations_v1/classes.rb', line 8775

def trigger_configs
  @trigger_configs
end

#trigger_configs_internalArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfig>

Optional. Trigger configurations. Corresponds to the JSON property triggerConfigsInternal



8780
8781
8782
# File 'lib/google/apis/integrations_v1/classes.rb', line 8780

def trigger_configs_internal
  @trigger_configs_internal
end

#update_timeString

Output only. Auto-generated. Corresponds to the JSON property updateTime

Returns:

  • (String)


8785
8786
8787
# File 'lib/google/apis/integrations_v1/classes.rb', line 8785

def update_time
  @update_time
end

#user_labelString

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

Returns:

  • (String)


8791
8792
8793
# File 'lib/google/apis/integrations_v1/classes.rb', line 8791

def user_label
  @user_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
# File 'lib/google/apis/integrations_v1/classes.rb', line 8798

def update!(**args)
  @cloud_logging_details = args[:cloud_logging_details] if args.key?(:cloud_logging_details)
  @create_time = args[:create_time] if args.key?(:create_time)
  @created_from_template = args[:created_from_template] if args.key?(:created_from_template)
  @database_persistence_policy = args[:database_persistence_policy] if args.key?(:database_persistence_policy)
  @description = args[:description] if args.key?(:description)
  @enable_variable_masking = args[:enable_variable_masking] if args.key?(:enable_variable_masking)
  @error_catcher_configs = args[:error_catcher_configs] if args.key?(:error_catcher_configs)
  @integration_config_parameters = args[:integration_config_parameters] if args.key?(:integration_config_parameters)
  @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