Class: Google::Apis::DfareportingV3_4::CustomEventImpressionAnnotation

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

Overview

Annotate an impression.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomEventImpressionAnnotation

Returns a new instance of CustomEventImpressionAnnotation.



4790
4791
4792
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4790

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#customEventImpressionAnnotation". Corresponds to the JSON property kind

Returns:

  • (String)


4782
4783
4784
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4782

def kind
  @kind
end

#path_impression_idString

The path impression ID. Use this field to annotate the impression associated with the pathImpressionId. Corresponds to the JSON property pathImpressionId

Returns:

  • (String)


4788
4789
4790
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4788

def path_impression_id
  @path_impression_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4795
4796
4797
4798
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4795

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @path_impression_id = args[:path_impression_id] if args.key?(:path_impression_id)
end