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.



8985
8986
8987
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8985

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

Instance Attribute Details

#conversation_modelString

Corresponds to the JSON property conversationModel

Returns:

  • (String)


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

def conversation_model
  @conversation_model
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8973
8974
8975
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8973

def create_time
  @create_time
end

#done_timeString

Corresponds to the JSON property doneTime

Returns:

  • (String)


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

def done_time
  @done_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


8983
8984
8985
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8983

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8990
8991
8992
8993
8994
8995
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8990

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