Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult

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

Overview

Result of the deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DeploymentResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1DeploymentResult.



5853
5854
5855
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5853

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

Instance Attribute Details

#deployment_test_resultsArray<String>

Results of test cases running before the deployment. Format: projects// locations//agents//testCases//results/. Corresponds to the JSON property deploymentTestResults

Returns:

  • (Array<String>)


5845
5846
5847
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5845

def deployment_test_results
  @deployment_test_results
end

#experimentString

The name of the experiment triggered by this deployment. Format: projects// locations//agents//environments//experiments/. Corresponds to the JSON property experiment

Returns:

  • (String)


5851
5852
5853
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5851

def experiment
  @experiment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5858
5859
5860
5861
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5858

def update!(**args)
  @deployment_test_results = args[:deployment_test_results] if args.key?(:deployment_test_results)
  @experiment = args[:experiment] if args.key?(:experiment)
end