Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DocumentReloadStatus

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

Returns a new instance of GoogleCloudDialogflowV2DocumentReloadStatus.



9331
9332
9333
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9331

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

Instance Attribute Details

#statusGoogle::Apis::DialogflowV2::GoogleRpcStatus

Corresponds to the JSON property status



9324
9325
9326
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9324

def status
  @status
end

#timeString

Corresponds to the JSON property time

Returns:

  • (String)


9329
9330
9331
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9329

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9336
9337
9338
9339
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9336

def update!(**args)
  @status = args[:status] if args.key?(:status)
  @time = args[:time] if args.key?(:time)
end