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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Deployment

Returns a new instance of GoogleCloudDialogflowCxV3beta1Deployment.



5762
5763
5764
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5762

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

Instance Attribute Details

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


5735
5736
5737
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5735

def end_time
  @end_time
end

#flow_versionString

Corresponds to the JSON property flowVersion

Returns:

  • (String)


5740
5741
5742
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5740

def flow_version
  @flow_version
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5745
5746
5747
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5745

def name
  @name
end

#resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult

Corresponds to the JSON property result



5750
5751
5752
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5750

def result
  @result
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


5755
5756
5757
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5755

def start_time
  @start_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


5760
5761
5762
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5760

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5767
5768
5769
5770
5771
5772
5773
5774
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5767

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