Class: Google::Apis::DigitalassetlinksV1::Asset
- Inherits:
-
Object
- Object
- Google::Apis::DigitalassetlinksV1::Asset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/digitalassetlinks_v1/classes.rb,
generated/google/apis/digitalassetlinks_v1/representations.rb,
generated/google/apis/digitalassetlinks_v1/representations.rb
Overview
Uniquely identifies an asset. A digital asset is an identifiable and addressable online entity that typically provides some service or content. Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
Instance Attribute Summary collapse
-
#android_app ⇒ Google::Apis::DigitalassetlinksV1::AndroidAppAsset
Describes an android app asset.
-
#web ⇒ Google::Apis::DigitalassetlinksV1::WebAsset
Describes a web asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Asset
constructor
A new instance of Asset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Asset
Returns a new instance of Asset.
68 69 70 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 68 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_app ⇒ Google::Apis::DigitalassetlinksV1::AndroidAppAsset
Describes an android app asset.
Corresponds to the JSON property androidApp
61 62 63 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 61 def android_app @android_app end |
#web ⇒ Google::Apis::DigitalassetlinksV1::WebAsset
Describes a web asset.
Corresponds to the JSON property web
66 67 68 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 66 def web @web end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73 74 75 76 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 73 def update!(**args) @android_app = args[:android_app] if args.key?(:android_app) @web = args[:web] if args.key?(:web) end |