Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment
- 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
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult
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) ⇒ GoogleCloudDialogflowCxV3beta1Deployment
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Deployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Deployment
Returns a new instance of GoogleCloudDialogflowCxV3beta1Deployment.
5985 5986 5987 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5985 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
End time of this deployment.
Corresponds to the JSON property endTime
5956 5957 5958 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5956 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
5962 5963 5964 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5962 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
5968 5969 5970 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5968 def name @name end |
#result ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult
Result of the deployment.
Corresponds to the JSON property result
5973 5974 5975 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5973 def result @result end |
#start_time ⇒ String
Start time of this deployment.
Corresponds to the JSON property startTime
5978 5979 5980 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5978 def start_time @start_time end |
#state ⇒ String
The current state of the deployment.
Corresponds to the JSON property state
5983 5984 5985 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5983 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5990 5991 5992 5993 5994 5995 5996 5997 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5990 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 |