Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegrationVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationVersion

Returns a new instance of GoogleCloudIntegrationsV1alphaIntegrationVersion.



6825
6826
6827
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6825

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


6706
6707
6708
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6706

def create_time
  @create_time
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)


6713
6714
6715
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6713

def database_persistence_policy
  @database_persistence_policy
end

#descriptionString

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

Returns:

  • (String)


6718
6719
6720
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6718

def description
  @description
end

#integration_parametersArray<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



6726
6727
6728
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6726

def integration_parameters
  @integration_parameters
end

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



6737
6738
6739
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6737

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)


6743
6744
6745
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6743

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)


6749
6750
6751
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6749

def lock_holder
  @lock_holder
end

#nameString

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

Returns:

  • (String)


6754
6755
6756
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6754

def name
  @name
end

#originString

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

Returns:

  • (String)


6759
6760
6761
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6759

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)


6765
6766
6767
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6765

def parent_template_id
  @parent_template_id
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)


6773
6774
6775
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6773

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)


6778
6779
6780
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6778

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)


6783
6784
6785
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6783

def status
  @status
end

#task_configsArray<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



6789
6790
6791
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6789

def task_configs
  @task_configs
end

#task_configs_internalArray<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



6795
6796
6797
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6795

def task_configs_internal
  @task_configs_internal
end

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



6802
6803
6804
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6802

def teardown
  @teardown
end

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

Optional. Trigger configurations. Corresponds to the JSON property triggerConfigs



6807
6808
6809
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6807

def trigger_configs
  @trigger_configs
end

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

Optional. Trigger configurations. Corresponds to the JSON property triggerConfigsInternal



6812
6813
6814
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6812

def trigger_configs_internal
  @trigger_configs_internal
end

#update_timeString

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

Returns:

  • (String)


6817
6818
6819
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6817

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)


6823
6824
6825
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6823

def user_label
  @user_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6830

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)
  @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)
  @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