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



133
134
135
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 133

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



131
132
133
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 131

def externally_hosted_apk
  @externally_hosted_apk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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