Class: Google::Apis::YoutubePartnerV1::ReferenceConflict
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ReferenceConflict
- 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
-
#conflicting_reference_id ⇒ String
An id of a conflicting reference.
-
#expiry_time ⇒ DateTime
Conflict review expiry time.
-
#id ⇒ String
A value that YouTube assigns and uses to uniquely identify a reference conflict.
-
#kind ⇒ String
The type of the API resource.
-
#matches ⇒ Array<Google::Apis::YoutubePartnerV1::ReferenceConflictMatch>
The list of matches between conflicting and original references at the time of conflict creation.
-
#original_reference_id ⇒ String
An id of an original reference.
-
#status ⇒ String
The referenceConflict's status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReferenceConflict
constructor
A new instance of ReferenceConflict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReferenceConflict
Returns a new instance of ReferenceConflict
3144 3145 3146 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conflicting_reference_id ⇒ String
An id of a conflicting reference.
Corresponds to the JSON property conflictingReferenceId
3109 3110 3111 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3109 def conflicting_reference_id @conflicting_reference_id end |
#expiry_time ⇒ DateTime
Conflict review expiry time.
Corresponds to the JSON property expiryTime
3114 3115 3116 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3114 def expiry_time @expiry_time end |
#id ⇒ String
A value that YouTube assigns and uses to uniquely identify a reference
conflict.
Corresponds to the JSON property id
3120 3121 3122 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3120 def id @id end |
#kind ⇒ String
The type of the API resource. For referenceConflict resources, the value is
youtubePartner#referenceConflict.
Corresponds to the JSON property kind
3126 3127 3128 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3126 def kind @kind end |
#matches ⇒ Array<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
3132 3133 3134 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3132 def matches @matches end |
#original_reference_id ⇒ String
An id of an original reference.
Corresponds to the JSON property originalReferenceId
3137 3138 3139 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3137 def original_reference_id @original_reference_id end |
#status ⇒ String
The referenceConflict's status.
Corresponds to the JSON property status
3142 3143 3144 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3142 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3149 3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3149 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 |