generated/google/apis/dialogflow_v3beta1/classes.rb in google-api-client-0.44.2 vs generated/google/apis/dialogflow_v3beta1/classes.rb in google-api-client-0.45.0
- old
+ new
@@ -677,10 +677,18 @@
# Corresponds to the JSON property `isList`
# @return [Boolean]
attr_accessor :is_list
alias_method :is_list?, :is_list
+ # Indicates whether the parameter content is logged in text and audio. If it is
+ # set to true, the parameter content will be replaced to parameter name in both
+ # request and response. The default value is false.
+ # Corresponds to the JSON property `redact`
+ # @return [Boolean]
+ attr_accessor :redact
+ alias_method :redact?, :redact
+
# Indicates whether the parameter is required. Optional parameters will not
# trigger prompts; however, they are filled if the user specifies them. Required
# parameters must be filled before form filling concludes.
# Corresponds to the JSON property `required`
# @return [Boolean]
@@ -696,10 +704,11 @@
@default_value = args[:default_value] if args.key?(:default_value)
@display_name = args[:display_name] if args.key?(:display_name)
@entity_type = args[:entity_type] if args.key?(:entity_type)
@fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior)
@is_list = args[:is_list] if args.key?(:is_list)
+ @redact = args[:redact] if args.key?(:redact)
@required = args[:required] if args.key?(:required)
end
end
# Configuration for how the filling of a parameter should be handled.
@@ -1193,18 +1202,27 @@
# Corresponds to the JSON property `isList`
# @return [Boolean]
attr_accessor :is_list
alias_method :is_list?, :is_list
+ # Indicates whether the parameter content is logged in text and audio. If it is
+ # set to true, the parameter content will be replaced to parameter id in both
+ # request and response. The default value is false.
+ # Corresponds to the JSON property `redact`
+ # @return [Boolean]
+ attr_accessor :redact
+ alias_method :redact?, :redact
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entity_type = args[:entity_type] if args.key?(:entity_type)
@id = args[:id] if args.key?(:id)
@is_list = args[:is_list] if args.key?(:is_list)
+ @redact = args[:redact] if args.key?(:redact)
end
end
# Represents an example that the agent is trained on to identify the intent.
class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase