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.



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

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

Instance Attribute Details

#api_versionString

Corresponds to the JSON property apiVersion

Returns:

  • (String)


10741
10742
10743
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10741

def api_version
  @api_version
end

#avatar_uriString

Corresponds to the JSON property avatarUri

Returns:

  • (String)


10746
10747
10748
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10746

def avatar_uri
  @avatar_uri
end

#classification_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


10751
10752
10753
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10751

def classification_threshold
  @classification_threshold
end

#default_language_codeString

Corresponds to the JSON property defaultLanguageCode

Returns:

  • (String)


10756
10757
10758
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10756

def default_language_code
  @default_language_code
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


10761
10762
10763
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10761

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


10766
10767
10768
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10766

def display_name
  @display_name
end

#enable_loggingBoolean Also known as: enable_logging?

Corresponds to the JSON property enableLogging

Returns:

  • (Boolean)


10771
10772
10773
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10771

def enable_logging
  @enable_logging
end

#match_modeString

Corresponds to the JSON property matchMode

Returns:

  • (String)


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

def match_mode
  @match_mode
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


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

def parent
  @parent
end

#supported_language_codesArray<String>

Corresponds to the JSON property supportedLanguageCodes

Returns:

  • (Array<String>)


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

def supported_language_codes
  @supported_language_codes
end

#tierString

Corresponds to the JSON property tier

Returns:

  • (String)


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

def tier
  @tier
end

#time_zoneString

Corresponds to the JSON property timeZone

Returns:

  • (String)


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

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10804

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