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
2930 2931 2932 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2930 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
2907 2908 2909 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2907 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
2912 2913 2914 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2912 def id @id end |
#ipi_number ⇒ String
The publisher's unique IPI (Interested Parties Information) code.
Corresponds to the JSON property ipiNumber
2917 2918 2919 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2917 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
2923 2924 2925 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2923 def kind @kind end |
#name ⇒ String
The publisher's name.
Corresponds to the JSON property name
2928 2929 2930 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2928 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2935 2936 2937 2938 2939 2940 2941 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2935 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 |