Class: Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest

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

Request to create a new externally hosted APK.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApksAddExternallyHostedRequest

Returns a new instance of ApksAddExternallyHostedRequest.



89
90
91
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 89

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

Instance Attribute Details

#externally_hosted_apkGoogle::Apis::AndroidpublisherV3::ExternallyHostedApk

Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations. Corresponds to the JSON property externallyHostedApk



87
88
89
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 87

def externally_hosted_apk
  @externally_hosted_apk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



94
95
96
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 94

def update!(**args)
  @externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk)
end