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.



770
771
772
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 770

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

Instance Attribute Details

#suggestionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSuggestion

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



763
764
765
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 763

def suggestion
  @suggestion
end

#unfulfillableGoogle::Apis::CloudsearchV1::AppsDynamiteSharedAssistantUnfulfillableRequest

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



768
769
770
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 768

def unfulfillable
  @unfulfillable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



775
776
777
778
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 775

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