Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase

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

Defines the functional test case for Application Integration. Next available id: 15

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTestCase

Returns a new instance of GoogleCloudIntegrationsV1alphaTestCase.



11058
11059
11060
# File 'lib/google/apis/integrations_v1/classes.rb', line 11058

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

Instance Attribute Details

#create_timeString

Auto-generated. Corresponds to the JSON property createTime

Returns:

  • (String)


10986
10987
10988
# File 'lib/google/apis/integrations_v1/classes.rb', line 10986

def create_time
  @create_time
end

#creator_emailString

Optional. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call. Corresponds to the JSON property creatorEmail

Returns:

  • (String)


10992
10993
10994
# File 'lib/google/apis/integrations_v1/classes.rb', line 10992

def creator_email
  @creator_email
end

#database_persistence_policyString

Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index.. Corresponds to the JSON property databasePersistencePolicy

Returns:

  • (String)


10999
11000
11001
# File 'lib/google/apis/integrations_v1/classes.rb', line 10999

def database_persistence_policy
  @database_persistence_policy
end

#descriptionString

Optional. Description of the test case. Corresponds to the JSON property description

Returns:

  • (String)


11004
11005
11006
# File 'lib/google/apis/integrations_v1/classes.rb', line 11004

def description
  @description
end

#display_nameString

Required. The display name of test case. Corresponds to the JSON property displayName

Returns:

  • (String)


11009
11010
11011
# File 'lib/google/apis/integrations_v1/classes.rb', line 11009

def display_name
  @display_name
end

#last_modifier_emailString

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)


11015
11016
11017
# File 'lib/google/apis/integrations_v1/classes.rb', line 11015

def last_modifier_email
  @last_modifier_email
end

#lock_holder_emailString

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 lockHolderEmail

Returns:

  • (String)


11021
11022
11023
# File 'lib/google/apis/integrations_v1/classes.rb', line 11021

def lock_holder_email
  @lock_holder_email
end

#nameString

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

Returns:

  • (String)


11026
11027
11028
# File 'lib/google/apis/integrations_v1/classes.rb', line 11026

def name
  @name
end

#test_input_parametersArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationParameter>

Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables. Corresponds to the JSON property testInputParameters



11034
11035
11036
# File 'lib/google/apis/integrations_v1/classes.rb', line 11034

def test_input_parameters
  @test_input_parameters
end

#test_task_configsArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestTaskConfig>

Optional. However, the test case doesn't mock or assert anything without test_task_configs. Corresponds to the JSON property testTaskConfigs



11040
11041
11042
# File 'lib/google/apis/integrations_v1/classes.rb', line 11040

def test_task_configs
  @test_task_configs
end

#trigger_configGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig

Configuration detail of a trigger. Corresponds to the JSON property triggerConfig



11045
11046
11047
# File 'lib/google/apis/integrations_v1/classes.rb', line 11045

def trigger_config
  @trigger_config
end

#trigger_idString

Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case Corresponds to the JSON property triggerId

Returns:

  • (String)


11051
11052
11053
# File 'lib/google/apis/integrations_v1/classes.rb', line 11051

def trigger_id
  @trigger_id
end

#update_timeString

Auto-generated. Corresponds to the JSON property updateTime

Returns:

  • (String)


11056
11057
11058
# File 'lib/google/apis/integrations_v1/classes.rb', line 11056

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
# File 'lib/google/apis/integrations_v1/classes.rb', line 11063

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator_email = args[:creator_email] if args.key?(:creator_email)
  @database_persistence_policy = args[:database_persistence_policy] if args.key?(:database_persistence_policy)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email)
  @lock_holder_email = args[:lock_holder_email] if args.key?(:lock_holder_email)
  @name = args[:name] if args.key?(:name)
  @test_input_parameters = args[:test_input_parameters] if args.key?(:test_input_parameters)
  @test_task_configs = args[:test_task_configs] if args.key?(:test_task_configs)
  @trigger_config = args[:trigger_config] if args.key?(:trigger_config)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end