Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig.



4005
4006
4007
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4005

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

Instance Attribute Details

#enable_continuous_runBoolean Also known as: enable_continuous_run?

Corresponds to the JSON property enableContinuousRun

Returns:

  • (Boolean)


3991
3992
3993
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3991

def enable_continuous_run
  @enable_continuous_run
end

#enable_predeployment_runBoolean Also known as: enable_predeployment_run?

Corresponds to the JSON property enablePredeploymentRun

Returns:

  • (Boolean)


3997
3998
3999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3997

def enable_predeployment_run
  @enable_predeployment_run
end

#test_casesArray<String>

Corresponds to the JSON property testCases

Returns:

  • (Array<String>)


4003
4004
4005
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4003

def test_cases
  @test_cases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4010
4011
4012
4013
4014
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4010

def update!(**args)
  @enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
  @enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
  @test_cases = args[:test_cases] if args.key?(:test_cases)
end