class Google::Apis::DfareportingV2_3::Report

Represents a Report resource.

Attributes

account_id[RW]

The account ID to which this report belongs. Corresponds to the JSON property `accountId` @return [String]

criteria[RW]

The report criteria for a report of type “STANDARD”. Corresponds to the JSON property `criteria` @return [Google::Apis::DfareportingV2_3::Report::Criteria]

cross_dimension_reach_criteria[RW]

The report criteria for a report of type “CROSS_DIMENSION_REACH”. Corresponds to the JSON property `crossDimensionReachCriteria` @return [Google::Apis::DfareportingV2_3::Report::CrossDimensionReachCriteria]

delivery[RW]

The report's email delivery settings. Corresponds to the JSON property `delivery` @return [Google::Apis::DfareportingV2_3::Report::Delivery]

etag[RW]

The eTag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]

file_name[RW]

The filename used when generating report files for this report. Corresponds to the JSON property `fileName` @return [String]

floodlight_criteria[RW]

The report criteria for a report of type “FLOODLIGHT”. Corresponds to the JSON property `floodlightCriteria` @return [Google::Apis::DfareportingV2_3::Report::FloodlightCriteria]

format[RW]

The output format of the report. If not specified, default format is “CSV”. Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. “CSV” will then be the fallback format. Corresponds to the JSON property `format` @return [String]

id[RW]

The unique ID identifying this report resource. Corresponds to the JSON property `id` @return [String]

kind[RW]

The kind of resource this is, in this case dfareporting#report. Corresponds to the JSON property `kind` @return [String]

last_modified_time[RW]

The timestamp (in milliseconds since epoch) of when this report was last modified. Corresponds to the JSON property `lastModifiedTime` @return [String]

name[RW]

The name of the report. Corresponds to the JSON property `name` @return [String]

owner_profile_id[RW]

The user profile id of the owner of this report. Corresponds to the JSON property `ownerProfileId` @return [String]

path_to_conversion_criteria[RW]

The report criteria for a report of type “PATH_TO_CONVERSION”. Corresponds to the JSON property `pathToConversionCriteria` @return [Google::Apis::DfareportingV2_3::Report::PathToConversionCriteria]

reach_criteria[RW]

The report criteria for a report of type “REACH”. Corresponds to the JSON property `reachCriteria` @return [Google::Apis::DfareportingV2_3::Report::ReachCriteria]

schedule[RW]

The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not “TODAY”. Corresponds to the JSON property `schedule` @return [Google::Apis::DfareportingV2_3::Report::Schedule]

sub_account_id[RW]

The subaccount ID to which this report belongs if applicable. Corresponds to the JSON property `subAccountId` @return [String]

type[RW]

The type of the report. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 8932
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_3/classes.rb, line 8937
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @criteria = args[:criteria] if args.key?(:criteria)
  @cross_dimension_reach_criteria = args[:cross_dimension_reach_criteria] if args.key?(:cross_dimension_reach_criteria)
  @delivery = args[:delivery] if args.key?(:delivery)
  @etag = args[:etag] if args.key?(:etag)
  @file_name = args[:file_name] if args.key?(:file_name)
  @floodlight_criteria = args[:floodlight_criteria] if args.key?(:floodlight_criteria)
  @format = args[:format] if args.key?(:format)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
  @name = args[:name] if args.key?(:name)
  @owner_profile_id = args[:owner_profile_id] if args.key?(:owner_profile_id)
  @path_to_conversion_criteria = args[:path_to_conversion_criteria] if args.key?(:path_to_conversion_criteria)
  @reach_criteria = args[:reach_criteria] if args.key?(:reach_criteria)
  @schedule = args[:schedule] if args.key?(:schedule)
  @sub_account_id = args[:sub_account_id] if args.key?(:sub_account_id)
  @type = args[:type] if args.key?(:type)
end