Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationDataset

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

Represents a conversation dataset that a user imports raw data into. The data inside ConversationDataset can not be changed after ImportConversationData finishes (and calling ImportConversationData on a dataset that already has data is not allowed).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationDataset

Returns a new instance of GoogleCloudDialogflowV2ConversationDataset.



8869
8870
8871
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8869

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

Instance Attribute Details

#conversation_countFixnum

Output only. The number of conversations this conversation dataset contains. Corresponds to the JSON property conversationCount

Returns:

  • (Fixnum)


8821
8822
8823
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8821

def conversation_count
  @conversation_count
end

#conversation_infoGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationInfo

Represents metadata of a conversation. Corresponds to the JSON property conversationInfo



8826
8827
8828
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8826

def conversation_info
  @conversation_info
end

#create_timeString

Output only. Creation time of this dataset. Corresponds to the JSON property createTime

Returns:

  • (String)


8831
8832
8833
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8831

def create_time
  @create_time
end

#descriptionString

Optional. The description of the dataset. Maximum of 10000 bytes. Corresponds to the JSON property description

Returns:

  • (String)


8836
8837
8838
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8836

def description
  @description
end

#display_nameString

Required. The display name of the dataset. Maximum of 64 bytes. Corresponds to the JSON property displayName

Returns:

  • (String)


8841
8842
8843
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8841

def display_name
  @display_name
end

#input_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2InputConfig

Represents the configuration of importing a set of conversation files in Google Cloud Storage. Corresponds to the JSON property inputConfig



8847
8848
8849
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8847

def input_config
  @input_config
end

#nameString

Output only. ConversationDataset resource name. Format: projects//locations// conversationDatasets/ Corresponds to the JSON property name

Returns:

  • (String)


8853
8854
8855
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8853

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Output only. A read only boolean field reflecting Zone Isolation status of the dataset. Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


8859
8860
8861
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8859

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. A read only boolean field reflecting Zone Separation status of the dataset. Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


8866
8867
8868
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8866

def satisfies_pzs
  @satisfies_pzs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8874

def update!(**args)
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
  @conversation_info = args[:conversation_info] if args.key?(:conversation_info)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @input_config = args[:input_config] if args.key?(:input_config)
  @name = args[:name] if args.key?(:name)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
end