Class: Google::Apis::YoutubePartnerV1::Publisher
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Publisher
- 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
-
#cae_number ⇒ String
The publisher's unique CAE (Compositeur, Auteur and Editeur) number.
-
#id ⇒ String
A value that YouTube assigns and uses to uniquely identify the publisher.
-
#ipi_number ⇒ String
The publisher's unique IPI (Interested Parties Information) code.
-
#kind ⇒ String
The type of the API resource.
-
#name ⇒ String
The publisher's name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Publisher
constructor
A new instance of Publisher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Publisher
Returns a new instance of Publisher
2924 2925 2926 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cae_number ⇒ String
The publisher's unique CAE (Compositeur, Auteur and Editeur) number.
Corresponds to the JSON property caeNumber
2901 2902 2903 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2901 def cae_number @cae_number end |
#id ⇒ String
A value that YouTube assigns and uses to uniquely identify the publisher.
Corresponds to the JSON property id
2906 2907 2908 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2906 def id @id end |
#ipi_number ⇒ String
The publisher's unique IPI (Interested Parties Information) code.
Corresponds to the JSON property ipiNumber
2911 2912 2913 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2911 def ipi_number @ipi_number end |
#kind ⇒ String
The type of the API resource. For this resource, the value is youtubePartner#
publisher.
Corresponds to the JSON property kind
2917 2918 2919 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2917 def kind @kind end |
#name ⇒ String
The publisher's name.
Corresponds to the JSON property name
2922 2923 2924 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2922 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2929 2930 2931 2932 2933 2934 2935 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2929 def update!(**args) @cae_number = args[:cae_number] if args.key?(:cae_number) @id = args[:id] if args.key?(:id) @ipi_number = args[:ipi_number] if args.key?(:ipi_number) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |