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.



4900
4901
4902
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4900

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

Instance Attribute Details

#durationString

Corresponds to the JSON property duration

Returns:

  • (String)


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

def duration
  @duration
end

#environmentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment

Corresponds to the JSON property environment



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

def environment
  @environment
end

#flow_versionsHash<String,Fixnum>

Corresponds to the JSON property flowVersions

Returns:

  • (Hash<String,Fixnum>)


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

def flow_versions
  @flow_versions
end

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

Corresponds to the JSON property flows



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

def flows
  @flows
end

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

Corresponds to the JSON property intents



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

def intents
  @intents
end

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

Corresponds to the JSON property interactions



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

def interactions
  @interactions
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


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

def language_code
  @language_code
end

#metricsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics

Corresponds to the JSON property metrics



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

def metrics
  @metrics
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

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

Corresponds to the JSON property pages



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

def pages
  @pages
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


4898
4899
4900
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4898

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4905

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