Class: Google::Apis::YoutubePartnerV1::YoutubePartnerApiProtoFrontendV1Origin

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubePartnerApiProtoFrontendV1Origin

Returns a new instance of YoutubePartnerApiProtoFrontendV1Origin.



4576
4577
4578
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4576

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

Instance Attribute Details

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


4574
4575
4576
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4574

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4581
4582
4583
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4581

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