Class AndroidAppAsset
Describes an android app asset.
Implements
Inherited Members
Namespace: Google.Apis.Digitalassetlinks.v1.Data
Assembly: Google.Apis.Digitalassetlinks.v1.dll
Syntax
public class AndroidAppAsset : IDirectResponseSchema
Properties
Certificate
Because there is no global enforcement of package name uniqueness, we also require a signing certificate, which in combination with the package name uniquely identifies an app. Some apps' signing keys are rotated, so they may be signed by different keys over time. We treat these as distinct assets, since we use (package name, cert) as the unique ID. This should not normally pose any problems as both versions of the app will make the same or similar statements. Other assets making statements about the app will have to be updated when a key is rotated, however. (Note that the syntaxes for publishing and querying for statements contain syntactic sugar to easily let you specify apps that are known by multiple certificates.) REQUIRED
Declaration
[JsonProperty("certificate")]
public virtual CertificateInfo Certificate { get; set; }
Property Value
Type | Description |
---|---|
CertificateInfo |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PackageName
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
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |