Class: Google::Apis::FirebasedynamiclinksV1::ManagedShortLink
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedynamiclinksV1::ManagedShortLink
- 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
Managed Short Link.
Instance Attribute Summary collapse
-
#creation_time ⇒ String
Creation timestamp of the short link.
-
#flagged_attribute ⇒ Array<String>
Attributes that have been flagged about this short url.
-
#info ⇒ Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo
Information about a Dynamic Link.
-
#link ⇒ String
Short durable link url, for example, "https://sample.app.goo.gl/xyz123".
-
#link_name ⇒ String
Link name defined by the creator.
-
#visibility ⇒ String
Visibility status of link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedShortLink
constructor
A new instance of ManagedShortLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedShortLink
Returns a new instance of ManagedShortLink
948 949 950 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
Creation timestamp of the short link.
Corresponds to the JSON property creationTime
919 920 921 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 919 def creation_time @creation_time end |
#flagged_attribute ⇒ Array<String>
Attributes that have been flagged about this short url.
Corresponds to the JSON property flaggedAttribute
924 925 926 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 924 def flagged_attribute @flagged_attribute end |
#info ⇒ Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo
Information about a Dynamic Link.
Corresponds to the JSON property info
929 930 931 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 929 def info @info end |
#link ⇒ String
Short durable link url, for example, "https://sample.app.goo.gl/xyz123".
Required.
Corresponds to the JSON property link
935 936 937 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 935 def link @link end |
#link_name ⇒ String
Link name defined by the creator.
Required.
Corresponds to the JSON property linkName
941 942 943 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 941 def link_name @link_name end |
#visibility ⇒ String
Visibility status of link.
Corresponds to the JSON property visibility
946 947 948 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 946 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
953 954 955 956 957 958 959 960 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 953 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @flagged_attribute = args[:flagged_attribute] if args.key?(:flagged_attribute) @info = args[:info] if args.key?(:info) @link = args[:link] if args.key?(:link) @link_name = args[:link_name] if args.key?(:link_name) @visibility = args[:visibility] if args.key?(:visibility) end |