Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Agent

Returns a new instance of GoogleCloudDialogflowV2Agent.



6844
6845
6846
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6844

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

Instance Attribute Details

#api_versionString

Corresponds to the JSON property apiVersion

Returns:

  • (String)


6786
6787
6788
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6786

def api_version
  @api_version
end

#avatar_uriString

Corresponds to the JSON property avatarUri

Returns:

  • (String)


6791
6792
6793
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6791

def avatar_uri
  @avatar_uri
end

#classification_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


6796
6797
6798
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6796

def classification_threshold
  @classification_threshold
end

#default_language_codeString

Corresponds to the JSON property defaultLanguageCode

Returns:

  • (String)


6801
6802
6803
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6801

def default_language_code
  @default_language_code
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


6806
6807
6808
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6806

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


6811
6812
6813
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6811

def display_name
  @display_name
end

#enable_loggingBoolean Also known as: enable_logging?

Corresponds to the JSON property enableLogging

Returns:

  • (Boolean)


6816
6817
6818
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6816

def enable_logging
  @enable_logging
end

#match_modeString

Corresponds to the JSON property matchMode

Returns:

  • (String)


6822
6823
6824
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6822

def match_mode
  @match_mode
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


6827
6828
6829
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6827

def parent
  @parent
end

#supported_language_codesArray<String>

Corresponds to the JSON property supportedLanguageCodes

Returns:

  • (Array<String>)


6832
6833
6834
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6832

def supported_language_codes
  @supported_language_codes
end

#tierString

Corresponds to the JSON property tier

Returns:

  • (String)


6837
6838
6839
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6837

def tier
  @tier
end

#time_zoneString

Corresponds to the JSON property timeZone

Returns:

  • (String)


6842
6843
6844
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6842

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6849

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