Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails

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

Overview

The error details of Sip Trunk connection authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConnectionErrorDetails

Returns a new instance of GoogleCloudDialogflowV2beta1ConnectionErrorDetails.



12227
12228
12229
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12227

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

Instance Attribute Details

#certificate_stateString

Output only. The status of the certificate authentication. Corresponds to the JSON property certificateState

Returns:

  • (String)


12220
12221
12222
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12220

def certificate_state
  @certificate_state
end

#error_messageString

The error message provided from SIP trunking auth service Corresponds to the JSON property errorMessage

Returns:

  • (String)


12225
12226
12227
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12225

def error_message
  @error_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12232
12233
12234
12235
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12232

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