Class: Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.
Instance Attribute Summary collapse
-
#certificate_fingerprint ⇒ String
The sha256 fingerprint of the certificate used to sign the generated artifact.
-
#download_url ⇒ String
The download URL generated for the uploaded artifact.
-
#sha256 ⇒ String
The sha256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InternalAppSharingArtifact
constructor
A new instance of InternalAppSharingArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InternalAppSharingArtifact
Returns a new instance of InternalAppSharingArtifact.
1851 1852 1853 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1851 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_fingerprint ⇒ String
The sha256 fingerprint of the certificate used to sign the generated artifact.
Corresponds to the JSON property certificateFingerprint
1837 1838 1839 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1837 def certificate_fingerprint @certificate_fingerprint end |
#download_url ⇒ String
The download URL generated for the uploaded artifact. Users that are
authorized to download can follow the link to the Play Store app to install it.
Corresponds to the JSON property downloadUrl
1843 1844 1845 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1843 def download_url @download_url end |
#sha256 ⇒ String
The sha256 hash of the artifact represented as a lowercase hexadecimal number,
matching the output of the sha256sum command.
Corresponds to the JSON property sha256
1849 1850 1851 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1849 def sha256 @sha256 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1856 1857 1858 1859 1860 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1856 def update!(**args) @certificate_fingerprint = args[:certificate_fingerprint] if args.key?(:certificate_fingerprint) @download_url = args[:download_url] if args.key?(:download_url) @sha256 = args[:sha256] if args.key?(:sha256) end |