Class: Google::Apis::CloudsearchV1::OpenLink

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OpenLink

Returns a new instance of OpenLink.



14977
14978
14979
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14977

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

Instance Attribute Details

#load_indicatorString

Next available ID: 5 Corresponds to the JSON property loadIndicator

Returns:

  • (String)


14960
14961
14962
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14960

def load_indicator
  @load_indicator
end

#on_closeString

Corresponds to the JSON property onClose

Returns:

  • (String)


14965
14966
14967
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14965

def on_close
  @on_close
end

#open_asString

Corresponds to the JSON property openAs

Returns:

  • (String)


14970
14971
14972
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14970

def open_as
  @open_as
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


14975
14976
14977
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14975

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14982
14983
14984
14985
14986
14987
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14982

def update!(**args)
  @load_indicator = args[:load_indicator] if args.key?(:load_indicator)
  @on_close = args[:on_close] if args.key?(:on_close)
  @open_as = args[:open_as] if args.key?(:open_as)
  @url = args[:url] if args.key?(:url)
end