Class: Google::Apis::AndroidpublisherV3::CatalogPermission

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

A permission declared by an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CatalogPermission

Returns a new instance of CatalogPermission.



2306
2307
2308
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2306

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

Instance Attribute Details

#max_sdk_versionFixnum

The maxSdkVersion attribute indicating up to which Android SDK version the permission is requested. Corresponds to the JSON property maxSdkVersion

Returns:

  • (Fixnum)


2299
2300
2301
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2299

def max_sdk_version
  @max_sdk_version
end

#nameString

The name attribute indicating the permission name. Corresponds to the JSON property name

Returns:

  • (String)


2304
2305
2306
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2304

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2311
2312
2313
2314
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2311

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