Class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails

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

Overview

Information specific to a store on a merchandising platform linked to a YouTube channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelToStoreLinkDetails

Returns a new instance of ChannelToStoreLinkDetails.



1928
1929
1930
# File 'generated/google/apis/youtube_v3/classes.rb', line 1928

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

Instance Attribute Details

#store_nameString

Name of the store. Corresponds to the JSON property storeName

Returns:

  • (String)


1921
1922
1923
# File 'generated/google/apis/youtube_v3/classes.rb', line 1921

def store_name
  @store_name
end

#store_urlString

Landing page of the store. Corresponds to the JSON property storeUrl

Returns:

  • (String)


1926
1927
1928
# File 'generated/google/apis/youtube_v3/classes.rb', line 1926

def store_url
  @store_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1933
1934
1935
1936
# File 'generated/google/apis/youtube_v3/classes.rb', line 1933

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