Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment

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) ⇒ GoogleCloudDialogflowV2Fulfillment

Returns a new instance of GoogleCloudDialogflowV2Fulfillment.



9967
9968
9969
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9967

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


9944
9945
9946
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9944

def display_name
  @display_name
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


9949
9950
9951
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9949

def enabled
  @enabled
end

#featuresArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentFeature>

Corresponds to the JSON property features



9955
9956
9957
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9955

def features
  @features
end

#generic_web_serviceGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService

Corresponds to the JSON property genericWebService



9960
9961
9962
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9960

def generic_web_service
  @generic_web_service
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9965
9966
9967
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9965

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9972
9973
9974
9975
9976
9977
9978
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9972

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @enabled = args[:enabled] if args.key?(:enabled)
  @features = args[:features] if args.key?(:features)
  @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
  @name = args[:name] if args.key?(:name)
end