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.



3295
3296
3297
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3295

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

Instance Attribute Details

#anchor_textString

Anchor text. Corresponds to the JSON property anchorText

Returns:

  • (String)


3278
3279
3280
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3278

def anchor_text
  @anchor_text
end

#endFixnum

Anchor text end index. Corresponds to the JSON property end

Returns:

  • (Fixnum)


3283
3284
3285
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3283

def end
  @end
end

#startFixnum

Anchor text start index. Corresponds to the JSON property start

Returns:

  • (Fixnum)


3288
3289
3290
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3288

def start
  @start
end

#uriString

URI link reference. Corresponds to the JSON property uri

Returns:

  • (String)


3293
3294
3295
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3293

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3300
3301
3302
3303
3304
3305
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3300

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