Class: Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb

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) ⇒ ApksAddExternallyHostedResponse

Returns a new instance of ApksAddExternallyHostedResponse.


155
156
157
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 155

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

Instance Attribute Details

#externally_hosted_apkGoogle::Apis::AndroidpublisherV2::ExternallyHostedApk

Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to enterprises who are using Google Play for Work, and whos application is restricted to the enterprise private channel Corresponds to the JSON property externallyHostedApk


153
154
155
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 153

def externally_hosted_apk
  @externally_hosted_apk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


160
161
162
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 160

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