Class: Google::Apis::DigitalassetlinksV1::AndroidAppAsset
- Inherits:
-
Object
- Object
- Google::Apis::DigitalassetlinksV1::AndroidAppAsset
- 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
Describes an android app asset.
Instance Attribute Summary collapse
-
#certificate ⇒ Google::Apis::DigitalassetlinksV1::CertificateInfo
Describes an X509 certificate.
-
#package_name ⇒ String
Android App assets are naturally identified by their Java package name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidAppAsset
constructor
A new instance of AndroidAppAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AndroidAppAsset
Returns a new instance of AndroidAppAsset.
41 42 43 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ Google::Apis::DigitalassetlinksV1::CertificateInfo
Describes an X509 certificate.
Corresponds to the JSON property certificate
32 33 34 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 32 def certificate @certificate end |
#package_name ⇒ String
Android App assets are naturally identified by their Java package name. For
example, the Google Maps app uses the package name com.google.android.apps.
maps. REQUIRED
Corresponds to the JSON property packageName
39 40 41 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 39 def package_name @package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 46 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @package_name = args[:package_name] if args.key?(:package_name) end |