Class: Google::Cloud::Dialogflow::V2::Connection
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Connection
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb
Overview
Represents a connection for SIP Trunk.
Defined Under Namespace
Modules: CertificateState, State Classes: ErrorDetails
Instance Attribute Summary collapse
-
#connection_id ⇒ ::String
readonly
Output only.
-
#error_details ⇒ ::Google::Cloud::Dialogflow::V2::Connection::ErrorDetails
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Dialogflow::V2::Connection::State
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#connection_id ⇒ ::String (readonly)
Returns Output only. The unique identifier of the SIP Trunk connection.
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb', line 144 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The error details of Sip Trunk connection authentication. # @!attribute [r] certificate_state # @return [::Google::Cloud::Dialogflow::V2::Connection::CertificateState] # Output only. The status of the certificate authentication. # @!attribute [rw] error_message # @return [::String] # The error message provided from SIP trunking auth service class ErrorDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of Sip Trunk connection. module State # SIP Trunk connection state is Not specified. STATE_UNSPECIFIED = 0 # SIP Trunk connection is connected. CONNECTED = 1 # SIP Trunk connection is disconnected. DISCONNECTED = 2 # SIP Trunk connection has authentication error. AUTHENTICATION_FAILED = 3 # SIP Trunk connection is keepalive. KEEPALIVE = 4 end # The state of Sip Trunk certificate authentication. module CertificateState # Certificate state is not specified. CERTIFICATE_STATE_UNSPECIFIED = 0 # Certificate is valid. CERTIFICATE_VALID = 1 # Catch all for any error not specified. CERTIFICATE_INVALID = 2 # Certificate leaf node has expired. CERTIFICATE_EXPIRED = 3 # There is no hostname defined to authenticate in SipTrunkingServer. CERTIFICATE_HOSTNAME_NOT_FOUND = 4 # No path found from the leaf certificate to any root. CERTIFICATE_UNAUTHENTICATED = 5 # Trust store does not exist. CERTIFICATE_TRUST_STORE_NOT_FOUND = 6 # Hostname has invalid format. CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7 # Certificate has exhausted its quota. CERTIFICATE_QUOTA_EXCEEDED = 8 end end |
#error_details ⇒ ::Google::Cloud::Dialogflow::V2::Connection::ErrorDetails (readonly)
Returns Output only. The error details for the connection. Only populated when authentication errors occur.
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb', line 144 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The error details of Sip Trunk connection authentication. # @!attribute [r] certificate_state # @return [::Google::Cloud::Dialogflow::V2::Connection::CertificateState] # Output only. The status of the certificate authentication. # @!attribute [rw] error_message # @return [::String] # The error message provided from SIP trunking auth service class ErrorDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of Sip Trunk connection. module State # SIP Trunk connection state is Not specified. STATE_UNSPECIFIED = 0 # SIP Trunk connection is connected. CONNECTED = 1 # SIP Trunk connection is disconnected. DISCONNECTED = 2 # SIP Trunk connection has authentication error. AUTHENTICATION_FAILED = 3 # SIP Trunk connection is keepalive. KEEPALIVE = 4 end # The state of Sip Trunk certificate authentication. module CertificateState # Certificate state is not specified. CERTIFICATE_STATE_UNSPECIFIED = 0 # Certificate is valid. CERTIFICATE_VALID = 1 # Catch all for any error not specified. CERTIFICATE_INVALID = 2 # Certificate leaf node has expired. CERTIFICATE_EXPIRED = 3 # There is no hostname defined to authenticate in SipTrunkingServer. CERTIFICATE_HOSTNAME_NOT_FOUND = 4 # No path found from the leaf certificate to any root. CERTIFICATE_UNAUTHENTICATED = 5 # Trust store does not exist. CERTIFICATE_TRUST_STORE_NOT_FOUND = 6 # Hostname has invalid format. CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7 # Certificate has exhausted its quota. CERTIFICATE_QUOTA_EXCEEDED = 8 end end |
#state ⇒ ::Google::Cloud::Dialogflow::V2::Connection::State (readonly)
Returns Output only. State of the connection.
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb', line 144 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The error details of Sip Trunk connection authentication. # @!attribute [r] certificate_state # @return [::Google::Cloud::Dialogflow::V2::Connection::CertificateState] # Output only. The status of the certificate authentication. # @!attribute [rw] error_message # @return [::String] # The error message provided from SIP trunking auth service class ErrorDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of Sip Trunk connection. module State # SIP Trunk connection state is Not specified. STATE_UNSPECIFIED = 0 # SIP Trunk connection is connected. CONNECTED = 1 # SIP Trunk connection is disconnected. DISCONNECTED = 2 # SIP Trunk connection has authentication error. AUTHENTICATION_FAILED = 3 # SIP Trunk connection is keepalive. KEEPALIVE = 4 end # The state of Sip Trunk certificate authentication. module CertificateState # Certificate state is not specified. CERTIFICATE_STATE_UNSPECIFIED = 0 # Certificate is valid. CERTIFICATE_VALID = 1 # Catch all for any error not specified. CERTIFICATE_INVALID = 2 # Certificate leaf node has expired. CERTIFICATE_EXPIRED = 3 # There is no hostname defined to authenticate in SipTrunkingServer. CERTIFICATE_HOSTNAME_NOT_FOUND = 4 # No path found from the leaf certificate to any root. CERTIFICATE_UNAUTHENTICATED = 5 # Trust store does not exist. CERTIFICATE_TRUST_STORE_NOT_FOUND = 6 # Hostname has invalid format. CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7 # Certificate has exhausted its quota. CERTIFICATE_QUOTA_EXCEEDED = 8 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. When the connection status changed.
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb', line 144 class Connection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The error details of Sip Trunk connection authentication. # @!attribute [r] certificate_state # @return [::Google::Cloud::Dialogflow::V2::Connection::CertificateState] # Output only. The status of the certificate authentication. # @!attribute [rw] error_message # @return [::String] # The error message provided from SIP trunking auth service class ErrorDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of Sip Trunk connection. module State # SIP Trunk connection state is Not specified. STATE_UNSPECIFIED = 0 # SIP Trunk connection is connected. CONNECTED = 1 # SIP Trunk connection is disconnected. DISCONNECTED = 2 # SIP Trunk connection has authentication error. AUTHENTICATION_FAILED = 3 # SIP Trunk connection is keepalive. KEEPALIVE = 4 end # The state of Sip Trunk certificate authentication. module CertificateState # Certificate state is not specified. CERTIFICATE_STATE_UNSPECIFIED = 0 # Certificate is valid. CERTIFICATE_VALID = 1 # Catch all for any error not specified. CERTIFICATE_INVALID = 2 # Certificate leaf node has expired. CERTIFICATE_EXPIRED = 3 # There is no hostname defined to authenticate in SipTrunkingServer. CERTIFICATE_HOSTNAME_NOT_FOUND = 4 # No path found from the leaf certificate to any root. CERTIFICATE_UNAUTHENTICATED = 5 # Trust store does not exist. CERTIFICATE_TRUST_STORE_NOT_FOUND = 6 # Hostname has invalid format. CERTIFICATE_HOSTNAME_INVALID_FORMAT = 7 # Certificate has exhausted its quota. CERTIFICATE_QUOTA_EXCEEDED = 8 end end |