Class: Google::Apis::YoutubeV3::ChannelAuditDetails

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

Overview

The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ChannelAuditDetails

Returns a new instance of ChannelAuditDetails


1016
1017
1018
# File 'generated/google/apis/youtube_v3/classes.rb', line 1016

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

Instance Attribute Details

#community_guidelines_good_standingBoolean Also known as: community_guidelines_good_standing?

Whether or not the channel respects the community guidelines. Corresponds to the JSON property communityGuidelinesGoodStanding

Returns:

  • (Boolean)

991
992
993
# File 'generated/google/apis/youtube_v3/classes.rb', line 991

def community_guidelines_good_standing
  @community_guidelines_good_standing
end

#content_id_claims_good_standingBoolean Also known as: content_id_claims_good_standing?

Whether or not the channel has any unresolved claims. Corresponds to the JSON property contentIdClaimsGoodStanding

Returns:

  • (Boolean)

997
998
999
# File 'generated/google/apis/youtube_v3/classes.rb', line 997

def content_id_claims_good_standing
  @content_id_claims_good_standing
end

Whether or not the channel has any copyright strikes. Corresponds to the JSON property copyrightStrikesGoodStanding

Returns:

  • (Boolean)

1003
1004
1005
# File 'generated/google/apis/youtube_v3/classes.rb', line 1003

def copyright_strikes_good_standing
  @copyright_strikes_good_standing
end

#overall_good_standingBoolean Also known as: overall_good_standing?

Describes the general state of the channel. This field will always show if there are any issues whatsoever with the channel. Currently this field represents the result of the logical and operation over the community guidelines good standing, the copyright strikes good standing and the content ID claims good standing, but this may change in the future. Corresponds to the JSON property overallGoodStanding

Returns:

  • (Boolean)

1013
1014
1015
# File 'generated/google/apis/youtube_v3/classes.rb', line 1013

def overall_good_standing
  @overall_good_standing
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1021
1022
1023
1024
1025
1026
# File 'generated/google/apis/youtube_v3/classes.rb', line 1021

def update!(**args)
  @community_guidelines_good_standing = args[:community_guidelines_good_standing] if args.key?(:community_guidelines_good_standing)
  @content_id_claims_good_standing = args[:content_id_claims_good_standing] if args.key?(:content_id_claims_good_standing)
  @copyright_strikes_good_standing = args[:copyright_strikes_good_standing] if args.key?(:copyright_strikes_good_standing)
  @overall_good_standing = args[:overall_good_standing] if args.key?(:overall_good_standing)
end