Class: Google::Apis::AdmobV1beta::BatchCreateAdUnitMappingsResponse

Inherits:
Object
  • Object
show all
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

Response containing a batch of created ad unit mappings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateAdUnitMappingsResponse

Returns a new instance of BatchCreateAdUnitMappingsResponse.



441
442
443
# File 'lib/google/apis/admob_v1beta/classes.rb', line 441

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

Instance Attribute Details

#ad_unit_mappingsArray<Google::Apis::AdmobV1beta::AdUnitMapping>

The Ad units mappings created under the requested account. Corresponds to the JSON property adUnitMappings



439
440
441
# File 'lib/google/apis/admob_v1beta/classes.rb', line 439

def ad_unit_mappings
  @ad_unit_mappings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



446
447
448
# File 'lib/google/apis/admob_v1beta/classes.rb', line 446

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