Class: Google::Apis::CloudsearchV1::InteractionData

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

Interaction data for an annotation, which may be supplemental to the metadata oneof. For example, this will contain the fully built navigation target for smart chips. NEXT TAG: 2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InteractionData

Returns a new instance of InteractionData.



12161
12162
12163
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12161

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

Instance Attribute Details

#urlGoogle::Apis::CloudsearchV1::SafeUrlProto

Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code. Corresponds to the JSON property url



12159
12160
12161
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12159

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12166
12167
12168
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12166

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