Class: Google::Apis::AdsenseV1_4::ReportingMetadataEntry
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV1_4::ReportingMetadataEntry
- 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
-
#compatible_dimensions ⇒ Array<String>
For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension belongs to.
-
#compatible_metrics ⇒ Array<String>
The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with.
-
#id ⇒ String
Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric.
-
#kind ⇒ String
Kind of resource this is, in this case adsense#reportingMetadataEntry.
-
#required_dimensions ⇒ Array<String>
The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid.
-
#required_metrics ⇒ Array<String>
The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid.
-
#supported_products ⇒ Array<String>
The codes of the projects supported by the dimension or metric this reporting metadata entry describes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportingMetadataEntry
constructor
A new instance of ReportingMetadataEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReportingMetadataEntry
Returns a new instance of ReportingMetadataEntry
1059 1060 1061 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1059 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compatible_dimensions ⇒ Array<String>
For metrics this is a list of dimension IDs which the metric is compatible
with, for dimensions it is a list of compatibility groups the dimension
belongs to.
Corresponds to the JSON property compatibleDimensions
1018 1019 1020 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1018 def compatible_dimensions @compatible_dimensions end |
#compatible_metrics ⇒ Array<String>
The names of the metrics the dimension or metric this reporting metadata entry
describes is compatible with.
Corresponds to the JSON property compatibleMetrics
1024 1025 1026 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1024 def compatible_metrics @compatible_metrics end |
#id ⇒ String
Unique identifier of this reporting metadata entry, corresponding to the name
of the appropriate dimension or metric.
Corresponds to the JSON property id
1030 1031 1032 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1030 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adsense#reportingMetadataEntry.
Corresponds to the JSON property kind
1035 1036 1037 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1035 def kind @kind end |
#required_dimensions ⇒ Array<String>
The names of the dimensions which the dimension or metric this reporting
metadata entry describes requires to also be present in order for the report
to be valid. Omitting these will not cause an error or warning, but may result
in data which cannot be correctly interpreted.
Corresponds to the JSON property requiredDimensions
1043 1044 1045 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1043 def required_dimensions @required_dimensions end |
#required_metrics ⇒ Array<String>
The names of the metrics which the dimension or metric this reporting metadata
entry describes requires to also be present in order for the report to be
valid. Omitting these will not cause an error or warning, but may result in
data which cannot be correctly interpreted.
Corresponds to the JSON property requiredMetrics
1051 1052 1053 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1051 def required_metrics @required_metrics end |
#supported_products ⇒ Array<String>
The codes of the projects supported by the dimension or metric this reporting
metadata entry describes.
Corresponds to the JSON property supportedProducts
1057 1058 1059 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1057 def supported_products @supported_products end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 1064 def update!(**args) @compatible_dimensions = args[:compatible_dimensions] if args.key?(:compatible_dimensions) @compatible_metrics = args[:compatible_metrics] if args.key?(:compatible_metrics) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @required_dimensions = args[:required_dimensions] if args.key?(:required_dimensions) @required_metrics = args[:required_metrics] if args.key?(:required_metrics) @supported_products = args[:supported_products] if args.key?(:supported_products) end |