Class: Google::Apis::AdmobV1beta::BatchUpdateCampaignsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::BatchUpdateCampaignsResponse
- 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
The response for the BatchUpdateCampaigns API.
Instance Attribute Summary collapse
-
#campaigns ⇒ Array<Google::Apis::AdmobV1beta::Campaign>
The updated campaigns per the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateCampaignsResponse
constructor
A new instance of BatchUpdateCampaignsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdateCampaignsResponse
Returns a new instance of BatchUpdateCampaignsResponse.
479 480 481 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#campaigns ⇒ Array<Google::Apis::AdmobV1beta::Campaign>
The updated campaigns per the request.
Corresponds to the JSON property campaigns
477 478 479 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 477 def campaigns @campaigns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
484 485 486 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 484 def update!(**args) @campaigns = args[:campaigns] if args.key?(:campaigns) end |