Class: Google::Cloud::Dialogflow::CX::V3::ValidationMessage

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb

Overview

Agent/flow validation message.

Defined Under Namespace

Modules: ResourceType, Severity

Instance Attribute Summary collapse

Instance Attribute Details

#detail::String

Returns The message detail.

Returns:

  • (::String)

    The message detail.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb', line 42

class ValidationMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource types.
  module ResourceType
    # Unspecified.
    RESOURCE_TYPE_UNSPECIFIED = 0

    # Agent.
    AGENT = 1

    # Intent.
    INTENT = 2

    # Intent training phrase.
    INTENT_TRAINING_PHRASE = 8

    # Intent parameter.
    INTENT_PARAMETER = 9

    # Multiple intents.
    INTENTS = 10

    # Multiple training phrases.
    INTENT_TRAINING_PHRASES = 11

    # Entity type.
    ENTITY_TYPE = 3

    # Multiple entity types.
    ENTITY_TYPES = 12

    # Webhook.
    WEBHOOK = 4

    # Flow.
    FLOW = 5

    # Page.
    PAGE = 6

    # Multiple pages.
    PAGES = 13

    # Transition route group.
    TRANSITION_ROUTE_GROUP = 7

    # Agent transition route group.
    AGENT_TRANSITION_ROUTE_GROUP = 14
  end

  # Severity level.
  module Severity
    # Unspecified.
    SEVERITY_UNSPECIFIED = 0

    # The agent doesn't follow Dialogflow best practices.
    INFO = 1

    # The agent may not behave as expected.
    WARNING = 2

    # The agent may experience failures.
    ERROR = 3
  end
end

#resource_names::Array<::Google::Cloud::Dialogflow::CX::V3::ResourceName>

Returns The resource names of the resources where the message is found.

Returns:



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb', line 42

class ValidationMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource types.
  module ResourceType
    # Unspecified.
    RESOURCE_TYPE_UNSPECIFIED = 0

    # Agent.
    AGENT = 1

    # Intent.
    INTENT = 2

    # Intent training phrase.
    INTENT_TRAINING_PHRASE = 8

    # Intent parameter.
    INTENT_PARAMETER = 9

    # Multiple intents.
    INTENTS = 10

    # Multiple training phrases.
    INTENT_TRAINING_PHRASES = 11

    # Entity type.
    ENTITY_TYPE = 3

    # Multiple entity types.
    ENTITY_TYPES = 12

    # Webhook.
    WEBHOOK = 4

    # Flow.
    FLOW = 5

    # Page.
    PAGE = 6

    # Multiple pages.
    PAGES = 13

    # Transition route group.
    TRANSITION_ROUTE_GROUP = 7

    # Agent transition route group.
    AGENT_TRANSITION_ROUTE_GROUP = 14
  end

  # Severity level.
  module Severity
    # Unspecified.
    SEVERITY_UNSPECIFIED = 0

    # The agent doesn't follow Dialogflow best practices.
    INFO = 1

    # The agent may not behave as expected.
    WARNING = 2

    # The agent may experience failures.
    ERROR = 3
  end
end

#resource_type::Google::Cloud::Dialogflow::CX::V3::ValidationMessage::ResourceType

Returns The type of the resources where the message is found.

Returns:



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb', line 42

class ValidationMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource types.
  module ResourceType
    # Unspecified.
    RESOURCE_TYPE_UNSPECIFIED = 0

    # Agent.
    AGENT = 1

    # Intent.
    INTENT = 2

    # Intent training phrase.
    INTENT_TRAINING_PHRASE = 8

    # Intent parameter.
    INTENT_PARAMETER = 9

    # Multiple intents.
    INTENTS = 10

    # Multiple training phrases.
    INTENT_TRAINING_PHRASES = 11

    # Entity type.
    ENTITY_TYPE = 3

    # Multiple entity types.
    ENTITY_TYPES = 12

    # Webhook.
    WEBHOOK = 4

    # Flow.
    FLOW = 5

    # Page.
    PAGE = 6

    # Multiple pages.
    PAGES = 13

    # Transition route group.
    TRANSITION_ROUTE_GROUP = 7

    # Agent transition route group.
    AGENT_TRANSITION_ROUTE_GROUP = 14
  end

  # Severity level.
  module Severity
    # Unspecified.
    SEVERITY_UNSPECIFIED = 0

    # The agent doesn't follow Dialogflow best practices.
    INFO = 1

    # The agent may not behave as expected.
    WARNING = 2

    # The agent may experience failures.
    ERROR = 3
  end
end

#resources::Array<::String>

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The names of the resources where the message is found.

Returns:

  • (::Array<::String>)

    The names of the resources where the message is found.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb', line 42

class ValidationMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource types.
  module ResourceType
    # Unspecified.
    RESOURCE_TYPE_UNSPECIFIED = 0

    # Agent.
    AGENT = 1

    # Intent.
    INTENT = 2

    # Intent training phrase.
    INTENT_TRAINING_PHRASE = 8

    # Intent parameter.
    INTENT_PARAMETER = 9

    # Multiple intents.
    INTENTS = 10

    # Multiple training phrases.
    INTENT_TRAINING_PHRASES = 11

    # Entity type.
    ENTITY_TYPE = 3

    # Multiple entity types.
    ENTITY_TYPES = 12

    # Webhook.
    WEBHOOK = 4

    # Flow.
    FLOW = 5

    # Page.
    PAGE = 6

    # Multiple pages.
    PAGES = 13

    # Transition route group.
    TRANSITION_ROUTE_GROUP = 7

    # Agent transition route group.
    AGENT_TRANSITION_ROUTE_GROUP = 14
  end

  # Severity level.
  module Severity
    # Unspecified.
    SEVERITY_UNSPECIFIED = 0

    # The agent doesn't follow Dialogflow best practices.
    INFO = 1

    # The agent may not behave as expected.
    WARNING = 2

    # The agent may experience failures.
    ERROR = 3
  end
end

#severity::Google::Cloud::Dialogflow::CX::V3::ValidationMessage::Severity

Returns Indicates the severity of the message.

Returns:



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb', line 42

class ValidationMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource types.
  module ResourceType
    # Unspecified.
    RESOURCE_TYPE_UNSPECIFIED = 0

    # Agent.
    AGENT = 1

    # Intent.
    INTENT = 2

    # Intent training phrase.
    INTENT_TRAINING_PHRASE = 8

    # Intent parameter.
    INTENT_PARAMETER = 9

    # Multiple intents.
    INTENTS = 10

    # Multiple training phrases.
    INTENT_TRAINING_PHRASES = 11

    # Entity type.
    ENTITY_TYPE = 3

    # Multiple entity types.
    ENTITY_TYPES = 12

    # Webhook.
    WEBHOOK = 4

    # Flow.
    FLOW = 5

    # Page.
    PAGE = 6

    # Multiple pages.
    PAGES = 13

    # Transition route group.
    TRANSITION_ROUTE_GROUP = 7

    # Agent transition route group.
    AGENT_TRANSITION_ROUTE_GROUP = 14
  end

  # Severity level.
  module Severity
    # Unspecified.
    SEVERITY_UNSPECIFIED = 0

    # The agent doesn't follow Dialogflow best practices.
    INFO = 1

    # The agent may not behave as expected.
    WARNING = 2

    # The agent may experience failures.
    ERROR = 3
  end
end