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.



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

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

Instance Attribute Details

#statusGoogle::Apis::DialogflowV2::GoogleRpcStatus

Corresponds to the JSON property status



9318
9319
9320
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9318

def status
  @status
end

#timeString

Corresponds to the JSON property time

Returns:

  • (String)


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

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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