Class: Google::Apis::YoutubeV3::AbuseType
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::AbuseType
- 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
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AbuseType
constructor
A new instance of AbuseType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AbuseType
Returns a new instance of AbuseType.
71 72 73 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 71 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
69 70 71 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 69 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
76 77 78 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 76 def update!(**args) @id = args[:id] if args.key?(:id) end |