Class: Google::Apis::AndroidpublisherV3::ExternallyHostedApkUsesPermission

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

A permission used by this APK.

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

Returns a new instance of ExternallyHostedApkUsesPermission.



700
701
702
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 700

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

Instance Attribute Details

#max_sdk_versionFixnum

Optionally, the maximum SDK version for which the permission is required. Corresponds to the JSON property maxSdkVersion

Returns:

  • (Fixnum)


693
694
695
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 693

def max_sdk_version
  @max_sdk_version
end

#nameString

The name of the permission requested. Corresponds to the JSON property name

Returns:

  • (String)


698
699
700
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 698

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



705
706
707
708
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 705

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