class Google::Apis::DigitalassetlinksV1::Asset

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.

Attributes

android_app[RW]

Describes an android app asset. Corresponds to the JSON property `androidApp` @return [Google::Apis::DigitalassetlinksV1::AndroidAppAsset]

web[RW]

Describes a web asset. Corresponds to the JSON property `web` @return [Google::Apis::DigitalassetlinksV1::WebAsset]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/digitalassetlinks_v1/classes.rb, line 68
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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