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.



6073
6074
6075
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6073

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

Instance Attribute Details

#anchor_textString

Anchor text. Corresponds to the JSON property anchorText

Returns:

  • (String)


6056
6057
6058
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6056

def anchor_text
  @anchor_text
end

#endFixnum

Anchor text end index. Corresponds to the JSON property end

Returns:

  • (Fixnum)


6061
6062
6063
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6061

def end
  @end
end

#startFixnum

Anchor text start index. Corresponds to the JSON property start

Returns:

  • (Fixnum)


6066
6067
6068
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6066

def start
  @start
end

#uriString

URI link reference. Corresponds to the JSON property uri

Returns:

  • (String)


6071
6072
6073
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6071

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6078
6079
6080
6081
6082
6083
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6078

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