class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment

Represents an 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.

Attributes

end_time[RW]

End time of this deployment. Corresponds to the JSON property `endTime` @return [String]

flow_version[RW]

The name of the flow version for this deployment. Format: projects//locations// agents//flows//versions/. Corresponds to the JSON property `flowVersion` @return [String]

name[RW]

The name of the deployment. Format: projects//locations//agents//environments// deployments/. Corresponds to the JSON property `name` @return [String]

result[RW]

Result of the deployment. Corresponds to the JSON property `result` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult]

start_time[RW]

Start time of this deployment. Corresponds to the JSON property `startTime` @return [String]

state[RW]

The current state of the deployment. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 840
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 845
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