Class: Google::Apis::DoubleclickbidmanagerV1::RowStatus
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1::RowStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclickbidmanager_v1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb
Overview
Represents the upload status of a row in the request.
Instance Attribute Summary collapse
-
#changed ⇒ Boolean
(also: #changed?)
Whether the stored entity is changed as a result of upload.
-
#entity_id ⇒ Fixnum
Entity Id.
-
#entity_name ⇒ String
Entity name.
-
#errors ⇒ Array<String>
Reasons why the entity can't be uploaded.
-
#persisted ⇒ Boolean
(also: #persisted?)
Whether the entity is persisted.
-
#row_number ⇒ Fixnum
Row number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RowStatus
constructor
A new instance of RowStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RowStatus
Returns a new instance of RowStatus
678 679 680 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 678 def initialize(**args) update!(**args) end |
Instance Attribute Details
#changed ⇒ Boolean Also known as: changed?
Whether the stored entity is changed as a result of upload.
Corresponds to the JSON property changed
649 650 651 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 649 def changed @changed end |
#entity_id ⇒ Fixnum
Entity Id.
Corresponds to the JSON property entityId
655 656 657 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 655 def entity_id @entity_id end |
#entity_name ⇒ String
Entity name.
Corresponds to the JSON property entityName
660 661 662 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 660 def entity_name @entity_name end |
#errors ⇒ Array<String>
Reasons why the entity can't be uploaded.
Corresponds to the JSON property errors
665 666 667 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 665 def errors @errors end |
#persisted ⇒ Boolean Also known as: persisted?
Whether the entity is persisted.
Corresponds to the JSON property persisted
670 671 672 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 670 def persisted @persisted end |
#row_number ⇒ Fixnum
Row number.
Corresponds to the JSON property rowNumber
676 677 678 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 676 def row_number @row_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
683 684 685 686 687 688 689 690 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 683 def update!(**args) @changed = args[:changed] if args.key?(:changed) @entity_id = args[:entity_id] if args.key?(:entity_id) @entity_name = args[:entity_name] if args.key?(:entity_name) @errors = args[:errors] if args.key?(:errors) @persisted = args[:persisted] if args.key?(:persisted) @row_number = args[:row_number] if args.key?(:row_number) end |