class Google::Apis::YoutubeV3::AccessPolicy
Rights management policy for YouTube resources.
Attributes
allowed[RW]
The value of allowed indicates whether the access to the policy is allowed or denied by default. Corresponds to the JSON property `allowed` @return [Boolean]
allowed?[RW]
The value of allowed indicates whether the access to the policy is allowed or denied by default. Corresponds to the JSON property `allowed` @return [Boolean]
exception[RW]
A list of region codes that identify countries where the default policy do not apply. Corresponds to the JSON property `exception` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 42 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 47 def update!(**args) @allowed = args[:allowed] if args.key?(:allowed) @exception = args[:exception] if args.key?(:exception) end