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

Inherits:
Object
  • Object
show all
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

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.



433
434
435
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 433

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



431
432
433
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 431

def externally_hosted_apk
  @externally_hosted_apk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



438
439
440
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 438

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