Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantAnnotationData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

This is the internal version of the API proto at google3/google/chat/v1/ gsuite_message_integration.proto Data used to render Assistant suggestions. See go/bullseye-rendering.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedAssistantAnnotationData

Returns a new instance of AppsDynamiteSharedAssistantAnnotationData.



712
713
714
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 712

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

Instance Attribute Details

#suggestionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSuggestion

Data for an Assistant suggestion. Corresponds to the JSON property suggestion



705
706
707
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 705

def suggestion
  @suggestion
end

#unfulfillableGoogle::Apis::CloudsearchV1::AppsDynamiteSharedAssistantUnfulfillableRequest

Data for a response to an unfulfillable request. Corresponds to the JSON property unfulfillable



710
711
712
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 710

def unfulfillable
  @unfulfillable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



717
718
719
720
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 717

def update!(**args)
  @suggestion = args[:suggestion] if args.key?(:suggestion)
  @unfulfillable = args[:unfulfillable] if args.key?(:unfulfillable)
end