Class: Google::Apis::DoubleclickbidmanagerV1_1::RowStatus

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

Overview

Represents the upload status of a row in the request.

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

Returns a new instance of RowStatus.



726
727
728
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 726

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

Instance Attribute Details

#changedBoolean Also known as: changed?

Whether the stored entity is changed as a result of upload. Corresponds to the JSON property changed

Returns:

  • (Boolean)


697
698
699
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 697

def changed
  @changed
end

#entity_idFixnum

Entity Id. Corresponds to the JSON property entityId

Returns:

  • (Fixnum)


703
704
705
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 703

def entity_id
  @entity_id
end

#entity_nameString

Entity name. Corresponds to the JSON property entityName

Returns:

  • (String)


708
709
710
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 708

def entity_name
  @entity_name
end

#errorsArray<String>

Reasons why the entity can't be uploaded. Corresponds to the JSON property errors

Returns:

  • (Array<String>)


713
714
715
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 713

def errors
  @errors
end

#persistedBoolean Also known as: persisted?

Whether the entity is persisted. Corresponds to the JSON property persisted

Returns:

  • (Boolean)


718
719
720
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 718

def persisted
  @persisted
end

#row_numberFixnum

Row number. Corresponds to the JSON property rowNumber

Returns:

  • (Fixnum)


724
725
726
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 724

def row_number
  @row_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



731
732
733
734
735
736
737
738
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 731

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