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.



7055
7056
7057
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7055

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

Instance Attribute Details

#anchor_textString

Anchor text. Corresponds to the JSON property anchorText

Returns:

  • (String)


7038
7039
7040
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7038

def anchor_text
  @anchor_text
end

#endFixnum

Anchor text end index. Corresponds to the JSON property end

Returns:

  • (Fixnum)


7043
7044
7045
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7043

def end
  @end
end

#startFixnum

Anchor text start index. Corresponds to the JSON property start

Returns:

  • (Fixnum)


7048
7049
7050
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7048

def start
  @start
end

#uriString

URI link reference. Corresponds to the JSON property uri

Returns:

  • (String)


7053
7054
7055
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7053

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7060
7061
7062
7063
7064
7065
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7060

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