Class: Google::Apis::AndroidpublisherV3::ModuleMetadata

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

Metadata of a module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModuleMetadata

Returns a new instance of ModuleMetadata.



3798
3799
3800
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3798

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

Instance Attribute Details

#delivery_typeString

Indicates the delivery type (e.g. on-demand) of the module. Corresponds to the JSON property deliveryType

Returns:

  • (String)


3775
3776
3777
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3775

def delivery_type
  @delivery_type
end

#dependenciesArray<String>

Names of the modules that this module directly depends on. Each module implicitly depends on the base module. Corresponds to the JSON property dependencies

Returns:

  • (Array<String>)


3781
3782
3783
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3781

def dependencies
  @dependencies
end

#module_typeString

Indicates the type of this feature module. Corresponds to the JSON property moduleType

Returns:

  • (String)


3786
3787
3788
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3786

def module_type
  @module_type
end

#nameString

Module name. Corresponds to the JSON property name

Returns:

  • (String)


3791
3792
3793
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3791

def name
  @name
end

#targetingGoogle::Apis::AndroidpublisherV3::ModuleTargeting

Targeting on the module level. Corresponds to the JSON property targeting



3796
3797
3798
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3796

def targeting
  @targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3803
3804
3805
3806
3807
3808
3809
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3803

def update!(**args)
  @delivery_type = args[:delivery_type] if args.key?(:delivery_type)
  @dependencies = args[:dependencies] if args.key?(:dependencies)
  @module_type = args[:module_type] if args.key?(:module_type)
  @name = args[:name] if args.key?(:name)
  @targeting = args[:targeting] if args.key?(:targeting)
end