Class: Google::Apis::AdmobV1beta::AdapterAdapterConfigMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::AdapterAdapterConfigMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb
Overview
Configuration metadata associated with this adapter. They are used to define the ad_unit_configurations associated with AdUnitMappings for the this adapter.
Instance Attribute Summary collapse
-
#adapter_config_metadata_id ⇒ String
This is used to fill the key of the ad_unit_configurations.
-
#adapter_config_metadata_label ⇒ String
Name of the adapter configuration metadata.
-
#is_required ⇒ Boolean
(also: #is_required?)
Whether this metadata is required for configuring the AdUnitMappings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdapterAdapterConfigMetadata
constructor
A new instance of AdapterAdapterConfigMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdapterAdapterConfigMetadata
Returns a new instance of AdapterAdapterConfigMetadata.
282 283 284 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adapter_config_metadata_id ⇒ String
This is used to fill the key of the ad_unit_configurations.
Corresponds to the JSON property adapterConfigMetadataId
269 270 271 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 269 def @adapter_config_metadata_id end |
#adapter_config_metadata_label ⇒ String
Name of the adapter configuration metadata.
Corresponds to the JSON property adapterConfigMetadataLabel
274 275 276 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 274 def @adapter_config_metadata_label end |
#is_required ⇒ Boolean Also known as: is_required?
Whether this metadata is required for configuring the AdUnitMappings.
Corresponds to the JSON property isRequired
279 280 281 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 279 def is_required @is_required end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
287 288 289 290 291 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 287 def update!(**args) @adapter_config_metadata_id = args[:adapter_config_metadata_id] if args.key?(:adapter_config_metadata_id) @adapter_config_metadata_label = args[:adapter_config_metadata_label] if args.key?(:adapter_config_metadata_label) @is_required = args[:is_required] if args.key?(:is_required) end |