Class: Google::Apis::YoutubePartnerV1::CampaignSource
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::CampaignSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#source_type ⇒ String
The type of the campaign source.
-
#source_value ⇒ Array<String>
A list of values of the campaign source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CampaignSource
constructor
A new instance of CampaignSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CampaignSource
Returns a new instance of CampaignSource.
687 688 689 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_type ⇒ String
The type of the campaign source.
Corresponds to the JSON property sourceType
680 681 682 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 680 def source_type @source_type end |
#source_value ⇒ Array<String>
A list of values of the campaign source.
Corresponds to the JSON property sourceValue
685 686 687 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 685 def source_value @source_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
692 693 694 695 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 692 def update!(**args) @source_type = args[:source_type] if args.key?(:source_type) @source_value = args[:source_value] if args.key?(:source_value) end |