Class: Google::Apis::AndroidpublisherV3::ModuleMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ModuleMetadata
- 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
-
#delivery_type ⇒ String
Indicates the delivery type (e.g. on-demand) of the module.
-
#dependencies ⇒ Array<String>
Names of the modules that this module directly depends on.
-
#module_type ⇒ String
Indicates the type of this feature module.
-
#name ⇒ String
Module name.
-
#targeting ⇒ Google::Apis::AndroidpublisherV3::ModuleTargeting
Targeting on the module level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModuleMetadata
constructor
A new instance of ModuleMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModuleMetadata
Returns a new instance of ModuleMetadata.
3637 3638 3639 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delivery_type ⇒ String
Indicates the delivery type (e.g. on-demand) of the module.
Corresponds to the JSON property deliveryType
3614 3615 3616 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3614 def delivery_type @delivery_type end |
#dependencies ⇒ Array<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
3620 3621 3622 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3620 def dependencies @dependencies end |
#module_type ⇒ String
Indicates the type of this feature module.
Corresponds to the JSON property moduleType
3625 3626 3627 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3625 def module_type @module_type end |
#name ⇒ String
Module name.
Corresponds to the JSON property name
3630 3631 3632 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3630 def name @name end |
#targeting ⇒ Google::Apis::AndroidpublisherV3::ModuleTargeting
Targeting on the module level.
Corresponds to the JSON property targeting
3635 3636 3637 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3635 def targeting @targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3642 3643 3644 3645 3646 3647 3648 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3642 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 |