Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest.



8088
8089
8090
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8088

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

Instance Attribute Details

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

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



8055
8056
8057
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8055

def input_parameters
  @input_parameters
end

#parameter_entriesArray<Google::Apis::IntegrationsV1alpha::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



8061
8062
8063
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8061

def parameter_entries
  @parameter_entries
end

#parametersGoogle::Apis::IntegrationsV1alpha::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 go/integration-platform/event_bus.md for more details. Next id: 4 Corresponds to the JSON property parameters



8068
8069
8070
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8068

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)


8074
8075
8076
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8074

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)


8080
8081
8082
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8080

def schedule_time
  @schedule_time
end

#trigger_idString

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

Returns:

  • (String)


8086
8087
8088
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8086

def trigger_id
  @trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8093
8094
8095
8096
8097
8098
8099
8100
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8093

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