Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReplyReference

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

Overview

Defines reference in reply.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaReplyReference

Returns a new instance of GoogleCloudDiscoveryengineV1betaReplyReference.



10845
10846
10847
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10845

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

Instance Attribute Details

#anchor_textString

Anchor text. Corresponds to the JSON property anchorText

Returns:

  • (String)


10828
10829
10830
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10828

def anchor_text
  @anchor_text
end

#endFixnum

Anchor text end index. Corresponds to the JSON property end

Returns:

  • (Fixnum)


10833
10834
10835
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10833

def end
  @end
end

#startFixnum

Anchor text start index. Corresponds to the JSON property start

Returns:

  • (Fixnum)


10838
10839
10840
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10838

def start
  @start
end

#uriString

URI link reference. Corresponds to the JSON property uri

Returns:

  • (String)


10843
10844
10845
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10843

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10850
10851
10852
10853
10854
10855
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10850

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