Class: Google::Apis::AdsenseV1_4::SavedReport

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SavedReport

Returns a new instance of SavedReport.



1170
1171
1172
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1170

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

Instance Attribute Details

#idString

Unique identifier of this saved report. Corresponds to the JSON property id

Returns:

  • (String)


1158
1159
1160
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1158

def id
  @id
end

#kindString

Kind of resource this is, in this case adsense#savedReport. Corresponds to the JSON property kind

Returns:

  • (String)


1163
1164
1165
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1163

def kind
  @kind
end

#nameString

This saved report's name. Corresponds to the JSON property name

Returns:

  • (String)


1168
1169
1170
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1168

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1175
1176
1177
1178
1179
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1175

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