Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2CreateConversationModelOperationMetadata.



8971
8972
8973
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8971

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

Instance Attribute Details

#conversation_modelString

Corresponds to the JSON property conversationModel

Returns:

  • (String)


8954
8955
8956
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8954

def conversation_model
  @conversation_model
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8959
8960
8961
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8959

def create_time
  @create_time
end

#done_timeString

Corresponds to the JSON property doneTime

Returns:

  • (String)


8964
8965
8966
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8964

def done_time
  @done_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


8969
8970
8971
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8969

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8976
8977
8978
8979
8980
8981
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8976

def update!(**args)
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
  @create_time = args[:create_time] if args.key?(:create_time)
  @done_time = args[:done_time] if args.key?(:done_time)
  @state = args[:state] if args.key?(:state)
end