Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Deployment

Returns a new instance of GoogleCloudDialogflowCxV3beta1Deployment.



5418
5419
5420
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5418

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

Instance Attribute Details

#end_timeString

End time of this deployment. Corresponds to the JSON property endTime

Returns:

  • (String)


5389
5390
5391
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5389

def end_time
  @end_time
end

#flow_versionString

The name of the flow version for this deployment. Format: projects//locations// agents//flows//versions/. Corresponds to the JSON property flowVersion

Returns:

  • (String)


5395
5396
5397
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5395

def flow_version
  @flow_version
end

#nameString

The name of the deployment. Format: projects//locations//agents//environments// deployments/. Corresponds to the JSON property name

Returns:

  • (String)


5401
5402
5403
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5401

def name
  @name
end

#resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult

Result of the deployment. Corresponds to the JSON property result



5406
5407
5408
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5406

def result
  @result
end

#start_timeString

Start time of this deployment. Corresponds to the JSON property startTime

Returns:

  • (String)


5411
5412
5413
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5411

def start_time
  @start_time
end

#stateString

The current state of the deployment. Corresponds to the JSON property state

Returns:

  • (String)


5416
5417
5418
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5416

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5423
5424
5425
5426
5427
5428
5429
5430
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5423

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