Class: Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InternalAppSharingArtifact

Returns a new instance of InternalAppSharingArtifact



913
914
915
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 913

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#certificate_fingerprintString

The SHA256 fingerprint of the certificate used to signed the generated artifact. Corresponds to the JSON property certificateFingerprint

Returns:

  • (String)


899
900
901
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 899

def certificate_fingerprint
  @certificate_fingerprint
end

#download_urlString

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

Returns:

  • (String)


905
906
907
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 905

def download_url
  @download_url
end

#sha256String

The SHA-256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command. Corresponds to the JSON property sha256

Returns:

  • (String)


911
912
913
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 911

def sha256
  @sha256
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



918
919
920
921
922
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 918

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