Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#api_version ⇒ String
Corresponds to the JSON property
apiVersion. -
#avatar_uri ⇒ String
Corresponds to the JSON property
avatarUri. -
#classification_threshold ⇒ Float
Corresponds to the JSON property
classificationThreshold. -
#default_language_code ⇒ String
Corresponds to the JSON property
defaultLanguageCode. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#enable_logging ⇒ Boolean
(also: #enable_logging?)
Corresponds to the JSON property
enableLogging. -
#match_mode ⇒ String
Corresponds to the JSON property
matchMode. -
#parent ⇒ String
Corresponds to the JSON property
parent. -
#supported_language_codes ⇒ Array<String>
Corresponds to the JSON property
supportedLanguageCodes. -
#tier ⇒ String
Corresponds to the JSON property
tier. -
#time_zone ⇒ String
Corresponds to the JSON property
timeZone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Agent
constructor
A new instance of GoogleCloudDialogflowV2Agent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Agent
Returns a new instance of GoogleCloudDialogflowV2Agent.
6832 6833 6834 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6832 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
Corresponds to the JSON property apiVersion
6774 6775 6776 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6774 def api_version @api_version end |
#avatar_uri ⇒ String
Corresponds to the JSON property avatarUri
6779 6780 6781 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6779 def avatar_uri @avatar_uri end |
#classification_threshold ⇒ Float
Corresponds to the JSON property classificationThreshold
6784 6785 6786 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6784 def classification_threshold @classification_threshold end |
#default_language_code ⇒ String
Corresponds to the JSON property defaultLanguageCode
6789 6790 6791 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6789 def default_language_code @default_language_code end |
#description ⇒ String
Corresponds to the JSON property description
6794 6795 6796 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6794 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6799 6800 6801 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6799 def display_name @display_name end |
#enable_logging ⇒ Boolean Also known as: enable_logging?
Corresponds to the JSON property enableLogging
6804 6805 6806 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6804 def enable_logging @enable_logging end |
#match_mode ⇒ String
Corresponds to the JSON property matchMode
6810 6811 6812 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6810 def match_mode @match_mode end |
#parent ⇒ String
Corresponds to the JSON property parent
6815 6816 6817 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6815 def parent @parent end |
#supported_language_codes ⇒ Array<String>
Corresponds to the JSON property supportedLanguageCodes
6820 6821 6822 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6820 def supported_language_codes @supported_language_codes end |
#tier ⇒ String
Corresponds to the JSON property tier
6825 6826 6827 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6825 def tier @tier end |
#time_zone ⇒ String
Corresponds to the JSON property timeZone
6830 6831 6832 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6830 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6837 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri) @classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold) @default_language_code = args[:default_language_code] if args.key?(:default_language_code) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @enable_logging = args[:enable_logging] if args.key?(:enable_logging) @match_mode = args[:match_mode] if args.key?(:match_mode) @parent = args[:parent] if args.key?(:parent) @supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes) @tier = args[:tier] if args.key?(:tier) @time_zone = args[:time_zone] if args.key?(:time_zone) end |