Class: Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedRequest

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

Returns a new instance of ApksAddExternallyHostedRequest



140
141
142
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 140

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



138
139
140
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 138

def externally_hosted_apk
  @externally_hosted_apk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



145
146
147
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 145

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