Class: Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse
- 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
-
#preview_link ⇒ String
Preivew link to show the link flow chart.
-
#short_link ⇒ String
Short Dynamic Link value.
-
#warning ⇒ Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>
Information about potential warnings on link creation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateShortDynamicLinkResponse
constructor
A new instance of CreateShortDynamicLinkResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateShortDynamicLinkResponse
Returns a new instance of CreateShortDynamicLinkResponse
178 179 180 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preview_link ⇒ String
Preivew link to show the link flow chart.
Corresponds to the JSON property previewLink
171 172 173 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 171 def preview_link @preview_link end |
#short_link ⇒ String
Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
Corresponds to the JSON property shortLink
166 167 168 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 166 def short_link @short_link end |
#warning ⇒ Array<Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning>
Information about potential warnings on link creation.
Corresponds to the JSON property warning
176 177 178 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 176 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
183 184 185 186 187 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 183 def update!(**args) @short_link = args[:short_link] if args.key?(:short_link) @preview_link = args[:preview_link] if args.key?(:preview_link) @warning = args[:warning] if args.key?(:warning) end |