Class: Google::Apis::FirebasedynamiclinksV1::CreateManagedShortLinkResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/firebasedynamiclinks_v1/classes.rb,
generated/google/apis/firebasedynamiclinks_v1/representations.rb,
generated/google/apis/firebasedynamiclinks_v1/representations.rb

Overview

Response to create a short Dynamic Link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateManagedShortLinkResponse

Returns a new instance of CreateManagedShortLinkResponse.



160
161
162
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 160

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

Instance Attribute Details

Managed Short Link. Corresponds to the JSON property managedShortLink



148
149
150
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 148

def managed_short_link
  @managed_short_link
end

Preview link to show the link flow chart. (debug info.) Corresponds to the JSON property previewLink

Returns:

  • (String)


153
154
155
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 153

def preview_link
  @preview_link
end

#warningArray<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>

Information about potential warnings on link creation. Corresponds to the JSON property warning



158
159
160
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 158

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
168
169
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 165

def update!(**args)
  @managed_short_link = args[:managed_short_link] if args.key?(:managed_short_link)
  @preview_link = args[:preview_link] if args.key?(:preview_link)
  @warning = args[:warning] if args.key?(:warning)
end