Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidationMessage

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

Overview

Agent/flow validation message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ValidationMessage

Returns a new instance of GoogleCloudDialogflowCxV3beta1ValidationMessage.



9143
9144
9145
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9143

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

Instance Attribute Details

#detailString

The message detail. Corresponds to the JSON property detail

Returns:

  • (String)


9121
9122
9123
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9121

def detail
  @detail
end

#resource_namesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResourceName>

The resource names of the resources where the message is found. Corresponds to the JSON property resourceNames



9126
9127
9128
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9126

def resource_names
  @resource_names
end

#resource_typeString

The type of the resources where the message is found. Corresponds to the JSON property resourceType

Returns:

  • (String)


9131
9132
9133
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9131

def resource_type
  @resource_type
end

#resourcesArray<String>

The names of the resources where the message is found. Corresponds to the JSON property resources

Returns:

  • (Array<String>)


9136
9137
9138
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9136

def resources
  @resources
end

#severityString

Indicates the severity of the message. Corresponds to the JSON property severity

Returns:

  • (String)


9141
9142
9143
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9141

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9148
9149
9150
9151
9152
9153
9154
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9148

def update!(**args)
  @detail = args[:detail] if args.key?(:detail)
  @resource_names = args[:resource_names] if args.key?(:resource_names)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
  @resources = args[:resources] if args.key?(:resources)
  @severity = args[:severity] if args.key?(:severity)
end