Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplyReference

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

Overview

Defines reference in reply.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReplyReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaReplyReference.



5613
5614
5615
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5613

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

Instance Attribute Details

#anchor_textString

Anchor text. Corresponds to the JSON property anchorText

Returns:

  • (String)


5596
5597
5598
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5596

def anchor_text
  @anchor_text
end

#endFixnum

Anchor text end index. Corresponds to the JSON property end

Returns:

  • (Fixnum)


5601
5602
5603
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5601

def end
  @end
end

#startFixnum

Anchor text start index. Corresponds to the JSON property start

Returns:

  • (Fixnum)


5606
5607
5608
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5606

def start
  @start
end

#uriString

URI link reference. Corresponds to the JSON property uri

Returns:

  • (String)


5611
5612
5613
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5611

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5618
5619
5620
5621
5622
5623
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5618

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