Class: Google::Apis::SearchconsoleV1::ApiDataRow

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApiDataRow

Returns a new instance of ApiDataRow.



54
55
56
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 54

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

Instance Attribute Details

#clicksFloat

Corresponds to the JSON property clicks

Returns:

  • (Float)


32
33
34
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 32

def clicks
  @clicks
end

#ctrFloat

Corresponds to the JSON property ctr

Returns:

  • (Float)


37
38
39
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 37

def ctr
  @ctr
end

#impressionsFloat

Corresponds to the JSON property impressions

Returns:

  • (Float)


42
43
44
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 42

def impressions
  @impressions
end

#keysArray<String>

Corresponds to the JSON property keys

Returns:

  • (Array<String>)


47
48
49
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 47

def keys
  @keys
end

#positionFloat

Corresponds to the JSON property position

Returns:

  • (Float)


52
53
54
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 52

def position
  @position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
62
63
64
65
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 59

def update!(**args)
  @clicks = args[:clicks] if args.key?(:clicks)
  @ctr = args[:ctr] if args.key?(:ctr)
  @impressions = args[:impressions] if args.key?(:impressions)
  @keys = args[:keys] if args.key?(:keys)
  @position = args[:position] if args.key?(:position)
end