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.



12449
12450
12451
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12449

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

Instance Attribute Details

#connection_idString

Corresponds to the JSON property connectionId

Returns:

  • (String)


12432
12433
12434
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12432

def connection_id
  @connection_id
end

#error_detailsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails

Corresponds to the JSON property errorDetails



12437
12438
12439
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12437

def error_details
  @error_details
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


12442
12443
12444
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12442

def state
  @state
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


12447
12448
12449
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12447

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12454
12455
12456
12457
12458
12459
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12454

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