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.



12084
12085
12086
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12084

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



12082
12083
12084
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12082

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12089
12090
12091
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12089

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