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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ValidationMessage

Returns a new instance of GoogleCloudDialogflowCxV3beta1ValidationMessage.



13821
13822
13823
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13821

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

Instance Attribute Details

#detailString

Corresponds to the JSON property detail

Returns:

  • (String)


13799
13800
13801
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13799

def detail
  @detail
end

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

Corresponds to the JSON property resourceNames



13804
13805
13806
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13804

def resource_names
  @resource_names
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


13809
13810
13811
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13809

def resource_type
  @resource_type
end

#resourcesArray<String>

Corresponds to the JSON property resources

Returns:

  • (Array<String>)


13814
13815
13816
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13814

def resources
  @resources
end

#severityString

Corresponds to the JSON property severity

Returns:

  • (String)


13819
13820
13821
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13819

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13826
13827
13828
13829
13830
13831
13832
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13826

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