Class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Overview

Information specific to merchant affiliate program.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails

Returns a new instance of ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.



2023
2024
2025
# File 'lib/google/apis/youtube_v3/classes.rb', line 2023

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

Instance Attribute Details

#statusString

The current merchant affiliate program status. Corresponds to the JSON property status

Returns:

  • (String)


2021
2022
2023
# File 'lib/google/apis/youtube_v3/classes.rb', line 2021

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2028
2029
2030
# File 'lib/google/apis/youtube_v3/classes.rb', line 2028

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