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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomEventImpressionAnnotation

Returns a new instance of CustomEventImpressionAnnotation.



4811
4812
4813
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4811

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)


4803
4804
4805
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4803

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)


4809
4810
4811
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4809

def path_impression_id
  @path_impression_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4816
4817
4818
4819
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4816

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