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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidAppAsset
Returns a new instance of AndroidAppAsset
| 42 43 44 | # File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 42 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
| 40 41 42 | # File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 40 def package_name @package_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 47 48 49 50 | # File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 47 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @package_name = args[:package_name] if args.key?(:package_name) end |