Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation

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) ⇒ GoogleCloudDialogflowCxV3beta1Conversation

Returns a new instance of GoogleCloudDialogflowCxV3beta1Conversation.



4894
4895
4896
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4894

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

Instance Attribute Details

#durationString

Corresponds to the JSON property duration

Returns:

  • (String)


4837
4838
4839
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4837

def duration
  @duration
end

#environmentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment

Corresponds to the JSON property environment



4842
4843
4844
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4842

def environment
  @environment
end

#flow_versionsHash<String,Fixnum>

Corresponds to the JSON property flowVersions

Returns:

  • (Hash<String,Fixnum>)


4847
4848
4849
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4847

def flow_versions
  @flow_versions
end

#flowsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow>

Corresponds to the JSON property flows



4852
4853
4854
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4852

def flows
  @flows
end

#intentsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent>

Corresponds to the JSON property intents



4857
4858
4859
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4857

def intents
  @intents
end

#interactionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction>

Corresponds to the JSON property interactions



4862
4863
4864
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4862

def interactions
  @interactions
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


4867
4868
4869
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4867

def language_code
  @language_code
end

#metricsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics

Corresponds to the JSON property metrics



4872
4873
4874
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4872

def metrics
  @metrics
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4877
4878
4879
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4877

def name
  @name
end

#pagesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page>

Corresponds to the JSON property pages



4882
4883
4884
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4882

def pages
  @pages
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


4887
4888
4889
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4887

def start_time
  @start_time
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


4892
4893
4894
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4892

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4899

def update!(**args)
  @duration = args[:duration] if args.key?(:duration)
  @environment = args[:environment] if args.key?(:environment)
  @flow_versions = args[:flow_versions] if args.key?(:flow_versions)
  @flows = args[:flows] if args.key?(:flows)
  @intents = args[:intents] if args.key?(:intents)
  @interactions = args[:interactions] if args.key?(:interactions)
  @language_code = args[:language_code] if args.key?(:language_code)
  @metrics = args[:metrics] if args.key?(:metrics)
  @name = args[:name] if args.key?(:name)
  @pages = args[:pages] if args.key?(:pages)
  @start_time = args[:start_time] if args.key?(:start_time)
  @type = args[:type] if args.key?(:type)
end