Class: Google::Apis::WebmastersV3::ApiDataRow
- Inherits:
-
Object
- Object
- Google::Apis::WebmastersV3::ApiDataRow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/webmasters_v3/classes.rb,
generated/google/apis/webmasters_v3/representations.rb,
generated/google/apis/webmasters_v3/representations.rb
Instance Attribute Summary collapse
-
#clicks ⇒ Float
Corresponds to the JSON property
clicks
. -
#ctr ⇒ Float
Corresponds to the JSON property
ctr
. -
#impressions ⇒ Float
Corresponds to the JSON property
impressions
. -
#keys ⇒ Array<String>
Corresponds to the JSON property
keys
. -
#position ⇒ Float
Corresponds to the JSON property
position
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiDataRow
constructor
A new instance of ApiDataRow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApiDataRow
Returns a new instance of ApiDataRow
54 55 56 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 54 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clicks ⇒ Float
Corresponds to the JSON property clicks
32 33 34 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 32 def clicks @clicks end |
#ctr ⇒ Float
Corresponds to the JSON property ctr
37 38 39 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 37 def ctr @ctr end |
#impressions ⇒ Float
Corresponds to the JSON property impressions
42 43 44 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 42 def impressions @impressions end |
#keys ⇒ Array<String>
Corresponds to the JSON property keys
47 48 49 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 47 def keys @keys end |
#position ⇒ Float
Corresponds to the JSON property position
52 53 54 |
# File 'generated/google/apis/webmasters_v3/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/webmasters_v3/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 |