Class: Google::Apis::YoutubeV3::Nonprofit
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::Nonprofit
- 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
Nonprofit information.
Instance Attribute Summary collapse
-
#nonprofit_id ⇒ Google::Apis::YoutubeV3::NonprofitId
Id of the nonprofit.
-
#nonprofit_legal_name ⇒ String
Legal name of the nonprofit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Nonprofit
constructor
A new instance of Nonprofit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Nonprofit
Returns a new instance of Nonprofit
5230 5231 5232 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nonprofit_id ⇒ Google::Apis::YoutubeV3::NonprofitId
Id of the nonprofit.
Corresponds to the JSON property nonprofitId
5223 5224 5225 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5223 def nonprofit_id @nonprofit_id end |
#nonprofit_legal_name ⇒ String
Legal name of the nonprofit.
Corresponds to the JSON property nonprofitLegalName
5228 5229 5230 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5228 def nonprofit_legal_name @nonprofit_legal_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5235 5236 5237 5238 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5235 def update!(**args) @nonprofit_id = args[:nonprofit_id] if args.key?(:nonprofit_id) @nonprofit_legal_name = args[:nonprofit_legal_name] if args.key?(:nonprofit_legal_name) end |