Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOpenLink

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) ⇒ AppsDynamiteSharedOpenLink

Returns a new instance of AppsDynamiteSharedOpenLink.



2853
2854
2855
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2853

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

Instance Attribute Details

#app_uriGoogle::Apis::CloudsearchV1::AppsDynamiteSharedOpenLinkAppUri

Represents the platform specific uri/intent to open for each client. Corresponds to the JSON property appUri



2836
2837
2838
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2836

def app_uri
  @app_uri
end

#on_closeString

Corresponds to the JSON property onClose

Returns:

  • (String)


2841
2842
2843
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2841

def on_close
  @on_close
end

#open_asString

Corresponds to the JSON property openAs

Returns:

  • (String)


2846
2847
2848
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2846

def open_as
  @open_as
end

#urlString

The URL to open. Corresponds to the JSON property url

Returns:

  • (String)


2851
2852
2853
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2851

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2858
2859
2860
2861
2862
2863
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2858

def update!(**args)
  @app_uri = args[:app_uri] if args.key?(:app_uri)
  @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