Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Represents a deployment in an environment. A deployment happens when a flow version configured to be active in the environment. You can configure running pre-deployment steps, e.g. running validation test cases, experiment auto- rollout, etc.
Instance Attribute Summary collapse
-
#end_time ⇒ String
End time of this deployment.
-
#flow_version ⇒ String
The name of the flow version for this deployment.
-
#name ⇒ String
The name of the deployment.
-
#result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult
Result of the deployment.
-
#start_time ⇒ String
Start time of this deployment.
-
#state ⇒ String
The current state of the deployment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Deployment
constructor
A new instance of GoogleCloudDialogflowCxV3Deployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Deployment
Returns a new instance of GoogleCloudDialogflowCxV3Deployment.
1753 1754 1755 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
End time of this deployment.
Corresponds to the JSON property endTime
1724 1725 1726 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1724 def end_time @end_time end |
#flow_version ⇒ String
The name of the flow version for this deployment. Format: projects//locations//
agents//flows//versions/.
Corresponds to the JSON property flowVersion
1730 1731 1732 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1730 def flow_version @flow_version end |
#name ⇒ String
The name of the deployment. Format: projects//locations//agents//environments//
deployments/.
Corresponds to the JSON property name
1736 1737 1738 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1736 def name @name end |
#result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult
Result of the deployment.
Corresponds to the JSON property result
1741 1742 1743 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1741 def result @result end |
#start_time ⇒ String
Start time of this deployment.
Corresponds to the JSON property startTime
1746 1747 1748 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1746 def start_time @start_time end |
#state ⇒ String
The current state of the deployment.
Corresponds to the JSON property state
1751 1752 1753 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1751 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1758 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @flow_version = args[:flow_version] if args.key?(:flow_version) @name = args[:name] if args.key?(:name) @result = args[:result] if args.key?(:result) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) end |