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.



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

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

Instance Attribute Details

#detailString

Corresponds to the JSON property detail

Returns:

  • (String)


13787
13788
13789
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13787

def detail
  @detail
end

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

Corresponds to the JSON property resourceNames



13792
13793
13794
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13792

def resource_names
  @resource_names
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


13797
13798
13799
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13797

def resource_type
  @resource_type
end

#resourcesArray<String>

Corresponds to the JSON property resources

Returns:

  • (Array<String>)


13802
13803
13804
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13802

def resources
  @resources
end

#severityString

Corresponds to the JSON property severity

Returns:

  • (String)


13807
13808
13809
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13807

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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