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.



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

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

Instance Attribute Details

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


5729
5730
5731
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5729

def end_time
  @end_time
end

#flow_versionString

Corresponds to the JSON property flowVersion

Returns:

  • (String)


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

def flow_version
  @flow_version
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult

Corresponds to the JSON property result



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

def result
  @result
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


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

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5761
5762
5763
5764
5765
5766
5767
5768
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5761

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