Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest

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 request for scheduling an integration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest.



10091
10092
10093
# File 'lib/google/apis/integrations_v1/classes.rb', line 10091

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

Instance Attribute Details

#input_parametersHash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>

Optional. Input parameters used by integration execution. Corresponds to the JSON property inputParameters



10050
10051
10052
# File 'lib/google/apis/integrations_v1/classes.rb', line 10050

def input_parameters
  @input_parameters
end

#parameter_entriesArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>

Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution. Corresponds to the JSON property parameterEntries



10056
10057
10058
# File 'lib/google/apis/integrations_v1/classes.rb', line 10056

def parameter_entries
  @parameter_entries
end

#parametersGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventParameters

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 Corresponds to the JSON property parameters



10063
10064
10065
# File 'lib/google/apis/integrations_v1/classes.rb', line 10063

def parameters
  @parameters
end

#request_idString

This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Corresponds to the JSON property requestId

Returns:

  • (String)


10069
10070
10071
# File 'lib/google/apis/integrations_v1/classes.rb', line 10069

def request_id
  @request_id
end

#schedule_timeString

The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately. Corresponds to the JSON property scheduleTime

Returns:

  • (String)


10075
10076
10077
# File 'lib/google/apis/integrations_v1/classes.rb', line 10075

def schedule_time
  @schedule_time
end

#trigger_idString

Required. Matched against all @link TriggerConfigs across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id) Corresponds to the JSON property triggerId

Returns:

  • (String)


10081
10082
10083
# File 'lib/google/apis/integrations_v1/classes.rb', line 10081

def trigger_id
  @trigger_id
end

#user_generated_execution_idString

Optional. This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens. Corresponds to the JSON property userGeneratedExecutionId

Returns:

  • (String)


10089
10090
10091
# File 'lib/google/apis/integrations_v1/classes.rb', line 10089

def user_generated_execution_id
  @user_generated_execution_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10096
10097
10098
10099
10100
10101
10102
10103
10104
# File 'lib/google/apis/integrations_v1/classes.rb', line 10096

def update!(**args)
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
  @parameter_entries = args[:parameter_entries] if args.key?(:parameter_entries)
  @parameters = args[:parameters] if args.key?(:parameters)
  @request_id = args[:request_id] if args.key?(:request_id)
  @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
  @user_generated_execution_id = args[:user_generated_execution_id] if args.key?(:user_generated_execution_id)
end