Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplyReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReplyReference
- 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
-
#anchor_text ⇒ String
Anchor text.
-
#end ⇒ Fixnum
Anchor text end index.
-
#start ⇒ Fixnum
Anchor text start index.
-
#uri ⇒ String
URI link reference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReplyReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaReplyReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaReplyReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaReplyReference.
14035 14036 14037 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#anchor_text ⇒ String
Anchor text.
Corresponds to the JSON property anchorText
14018 14019 14020 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14018 def anchor_text @anchor_text end |
#end ⇒ Fixnum
Anchor text end index.
Corresponds to the JSON property end
14023 14024 14025 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14023 def end @end end |
#start ⇒ Fixnum
Anchor text start index.
Corresponds to the JSON property start
14028 14029 14030 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14028 def start @start end |
#uri ⇒ String
URI link reference.
Corresponds to the JSON property uri
14033 14034 14035 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14033 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14040 14041 14042 14043 14044 14045 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14040 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 |