Class: Google::Apis::YoutubeV3::AbuseType

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AbuseType

Returns a new instance of AbuseType.

[View source]

71
72
73
# File 'generated/google/apis/youtube_v3/classes.rb', line 71

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)

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

[View source]

76
77
78
# File 'generated/google/apis/youtube_v3/classes.rb', line 76

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


Privacy · Terms