Class: Google::Apis::YoutubePartnerV1::ReferenceConflict

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb

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) ⇒ ReferenceConflict

Returns a new instance of ReferenceConflict.



3085
3086
3087
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3085

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

Instance Attribute Details

#conflicting_reference_idString

An id of a conflicting reference. Corresponds to the JSON property conflictingReferenceId

Returns:

  • (String)


3050
3051
3052
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3050

def conflicting_reference_id
  @conflicting_reference_id
end

#expiry_timeDateTime

Conflict review expiry time. Corresponds to the JSON property expiryTime

Returns:

  • (DateTime)


3055
3056
3057
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3055

def expiry_time
  @expiry_time
end

#idString

A value that YouTube assigns and uses to uniquely identify a reference conflict. Corresponds to the JSON property id

Returns:

  • (String)


3061
3062
3063
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3061

def id
  @id
end

#kindString

The type of the API resource. For referenceConflict resources, the value is youtubePartner#referenceConflict. Corresponds to the JSON property kind

Returns:

  • (String)


3067
3068
3069
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3067

def kind
  @kind
end

#matchesArray<Google::Apis::YoutubePartnerV1::ReferenceConflictMatch>

The list of matches between conflicting and original references at the time of conflict creation. Corresponds to the JSON property matches



3073
3074
3075
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3073

def matches
  @matches
end

#original_reference_idString

An id of an original reference. Corresponds to the JSON property originalReferenceId

Returns:

  • (String)


3078
3079
3080
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3078

def original_reference_id
  @original_reference_id
end

#statusString

The referenceConflict's status. Corresponds to the JSON property status

Returns:

  • (String)


3083
3084
3085
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3083

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3090
3091
3092
3093
3094
3095
3096
3097
3098
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3090

def update!(**args)
  @conflicting_reference_id = args[:conflicting_reference_id] if args.key?(:conflicting_reference_id)
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @matches = args[:matches] if args.key?(:matches)
  @original_reference_id = args[:original_reference_id] if args.key?(:original_reference_id)
  @status = args[:status] if args.key?(:status)
end