Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Deployment

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Deployment

Returns a new instance of GoogleCloudDialogflowCxV3Deployment.



1684
1685
1686
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1684

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

Instance Attribute Details

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


1657
1658
1659
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1657

def end_time
  @end_time
end

#flow_versionString

Corresponds to the JSON property flowVersion

Returns:

  • (String)


1662
1663
1664
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1662

def flow_version
  @flow_version
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


1667
1668
1669
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1667

def name
  @name
end

#resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DeploymentResult

Corresponds to the JSON property result



1672
1673
1674
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1672

def result
  @result
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


1677
1678
1679
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1677

def start_time
  @start_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


1682
1683
1684
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1682

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1689
1690
1691
1692
1693
1694
1695
1696
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1689

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