Class: Google::Apis::YoutubeV3::ThirdPartyLink
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ThirdPartyLink
- 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
A third party account link resource represents a link between a YouTube account or a channel and an account on a third-party service.
Instance Attribute Summary collapse
-
#etag ⇒ String
Etag of this resource Corresponds to the JSON property
etag
. -
#kind ⇒ String
Identifies what kind of resource this is.
-
#linking_token ⇒ String
The linking_token identifies a YouTube account and channel with which the third party account is linked.
-
#snippet ⇒ Google::Apis::YoutubeV3::ThirdPartyLinkSnippet
Basic information about a third party account link, including its type and type-specific information.
-
#status ⇒ Google::Apis::YoutubeV3::ThirdPartyLinkStatus
The third-party link status object contains information about the status of the link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ThirdPartyLink
constructor
A new instance of ThirdPartyLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ThirdPartyLink
Returns a new instance of ThirdPartyLink.
6826 6827 6828 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Etag of this resource
Corresponds to the JSON property etag
6800 6801 6802 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6800 def etag @etag end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
thirdPartyLink".
Corresponds to the JSON property kind
6806 6807 6808 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6806 def kind @kind end |
#linking_token ⇒ String
The linking_token identifies a YouTube account and channel with which the
third party account is linked.
Corresponds to the JSON property linkingToken
6812 6813 6814 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6812 def linking_token @linking_token end |
#snippet ⇒ Google::Apis::YoutubeV3::ThirdPartyLinkSnippet
Basic information about a third party account link, including its type and
type-specific information.
Corresponds to the JSON property snippet
6818 6819 6820 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6818 def snippet @snippet end |
#status ⇒ Google::Apis::YoutubeV3::ThirdPartyLinkStatus
The third-party link status object contains information about the status of
the link.
Corresponds to the JSON property status
6824 6825 6826 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6824 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6831 6832 6833 6834 6835 6836 6837 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6831 def update!(**args) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @linking_token = args[:linking_token] if args.key?(:linking_token) @snippet = args[:snippet] if args.key?(:snippet) @status = args[:status] if args.key?(:status) end |