Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowV2beta1Agent
constructor
A new instance of GoogleCloudDialogflowV2beta1Agent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Agent
Returns a new instance of GoogleCloudDialogflowV2beta1Agent.
10751 10752 10753 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
Corresponds to the JSON property apiVersion
10693 10694 10695 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10693 def api_version @api_version end |
#avatar_uri ⇒ String
Corresponds to the JSON property avatarUri
10698 10699 10700 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10698 def avatar_uri @avatar_uri end |
#classification_threshold ⇒ Float
Corresponds to the JSON property classificationThreshold
10703 10704 10705 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10703 def classification_threshold @classification_threshold end |
#default_language_code ⇒ String
Corresponds to the JSON property defaultLanguageCode
10708 10709 10710 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10708 def default_language_code @default_language_code end |
#description ⇒ String
Corresponds to the JSON property description
10713 10714 10715 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10713 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
10718 10719 10720 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10718 def display_name @display_name end |
#enable_logging ⇒ Boolean Also known as: enable_logging?
Corresponds to the JSON property enableLogging
10723 10724 10725 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10723 def enable_logging @enable_logging end |
#match_mode ⇒ String
Corresponds to the JSON property matchMode
10729 10730 10731 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10729 def match_mode @match_mode end |
#parent ⇒ String
Corresponds to the JSON property parent
10734 10735 10736 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10734 def parent @parent end |
#supported_language_codes ⇒ Array<String>
Corresponds to the JSON property supportedLanguageCodes
10739 10740 10741 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10739 def supported_language_codes @supported_language_codes end |
#tier ⇒ String
Corresponds to the JSON property tier
10744 10745 10746 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10744 def tier @tier end |
#time_zone ⇒ String
Corresponds to the JSON property timeZone
10749 10750 10751 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10749 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10756 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 |