Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Agent

Returns a new instance of GoogleCloudDialogflowV2beta1Agent.



10836
10837
10838
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10836

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

Instance Attribute Details

#api_versionString

Corresponds to the JSON property apiVersion

Returns:

  • (String)


10778
10779
10780
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10778

def api_version
  @api_version
end

#avatar_uriString

Corresponds to the JSON property avatarUri

Returns:

  • (String)


10783
10784
10785
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10783

def avatar_uri
  @avatar_uri
end

#classification_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


10788
10789
10790
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10788

def classification_threshold
  @classification_threshold
end

#default_language_codeString

Corresponds to the JSON property defaultLanguageCode

Returns:

  • (String)


10793
10794
10795
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10793

def default_language_code
  @default_language_code
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


10798
10799
10800
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10798

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


10803
10804
10805
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10803

def display_name
  @display_name
end

#enable_loggingBoolean Also known as: enable_logging?

Corresponds to the JSON property enableLogging

Returns:

  • (Boolean)


10808
10809
10810
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10808

def enable_logging
  @enable_logging
end

#match_modeString

Corresponds to the JSON property matchMode

Returns:

  • (String)


10814
10815
10816
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10814

def match_mode
  @match_mode
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


10819
10820
10821
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10819

def parent
  @parent
end

#supported_language_codesArray<String>

Corresponds to the JSON property supportedLanguageCodes

Returns:

  • (Array<String>)


10824
10825
10826
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10824

def supported_language_codes
  @supported_language_codes
end

#tierString

Corresponds to the JSON property tier

Returns:

  • (String)


10829
10830
10831
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10829

def tier
  @tier
end

#time_zoneString

Corresponds to the JSON property timeZone

Returns:

  • (String)


10834
10835
10836
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10834

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10841

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