class Google::Apis::YoutubeV3::ThirdPartyLink

A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.

Attributes

etag[RW]

Etag of this resource Corresponds to the JSON property `etag` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# thirdPartyLink”. Corresponds to the JSON property `kind` @return [String]

linking_token[RW]

The linking_token identifies a YouTube account and channel with which the third party account is linked. Corresponds to the JSON property `linkingToken` @return [String]

snippet[RW]

Basic information about a third party account link, including its type and type-specific information. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::ThirdPartyLinkSnippet]

status[RW]

The third-party link status object contains information about the status of the link. Corresponds to the JSON property `status` @return [Google::Apis::YoutubeV3::ThirdPartyLinkStatus]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 6924
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 6929
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