Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Connection

Returns a new instance of GoogleCloudDialogflowV2beta1Connection.



12159
12160
12161
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12159

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

Instance Attribute Details

#connection_idString

Corresponds to the JSON property connectionId

Returns:

  • (String)


12142
12143
12144
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12142

def connection_id
  @connection_id
end

#error_detailsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails

Corresponds to the JSON property errorDetails



12147
12148
12149
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12147

def error_details
  @error_details
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


12152
12153
12154
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12152

def state
  @state
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


12157
12158
12159
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12157

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12164
12165
12166
12167
12168
12169
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12164

def update!(**args)
  @connection_id = args[:connection_id] if args.key?(:connection_id)
  @error_details = args[:error_details] if args.key?(:error_details)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end