Class: Google::Apis::AnalyticsV3::UnsampledReport

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

Overview

JSON template for Analytics unsampled report resource.

Defined Under Namespace

Classes: CloudStorageDownloadDetails, DriveDownloadDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UnsampledReport

Returns a new instance of UnsampledReport



5100
5101
5102
# File 'generated/google/apis/analytics_v3/classes.rb', line 5100

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

Instance Attribute Details

#account_idString

Account ID to which this unsampled report belongs. Corresponds to the JSON property accountId

Returns:

  • (String)


5003
5004
5005
# File 'generated/google/apis/analytics_v3/classes.rb', line 5003

def 
  @account_id
end

#cloud_storage_download_detailsGoogle::Apis::AnalyticsV3::UnsampledReport::CloudStorageDownloadDetails

Download details for a file stored in Google Cloud Storage. Corresponds to the JSON property cloudStorageDownloadDetails



5008
5009
5010
# File 'generated/google/apis/analytics_v3/classes.rb', line 5008

def cloud_storage_download_details
  @cloud_storage_download_details
end

#createdDateTime

Time this unsampled report was created. Corresponds to the JSON property created

Returns:

  • (DateTime)


5013
5014
5015
# File 'generated/google/apis/analytics_v3/classes.rb', line 5013

def created
  @created
end

#dimensionsString

The dimensions for the unsampled report. Corresponds to the JSON property dimensions

Returns:

  • (String)


5018
5019
5020
# File 'generated/google/apis/analytics_v3/classes.rb', line 5018

def dimensions
  @dimensions
end

#download_typeString

The type of download you need to use for the report data file. Possible values include GOOGLE_DRIVE and GOOGLE_CLOUD_STORAGE. If the value is GOOGLE_DRIVE, see the driveDownloadDetails field. If the value is GOOGLE_CLOUD_STORAGE, see the cloudStorageDownloadDetails field. Corresponds to the JSON property downloadType

Returns:

  • (String)


5026
5027
5028
# File 'generated/google/apis/analytics_v3/classes.rb', line 5026

def download_type
  @download_type
end

#drive_download_detailsGoogle::Apis::AnalyticsV3::UnsampledReport::DriveDownloadDetails

Download details for a file stored in Google Drive. Corresponds to the JSON property driveDownloadDetails



5031
5032
5033
# File 'generated/google/apis/analytics_v3/classes.rb', line 5031

def drive_download_details
  @drive_download_details
end

#end_dateString

The end date for the unsampled report. Corresponds to the JSON property end-date

Returns:

  • (String)


5036
5037
5038
# File 'generated/google/apis/analytics_v3/classes.rb', line 5036

def end_date
  @end_date
end

#filtersString

The filters for the unsampled report. Corresponds to the JSON property filters

Returns:

  • (String)


5041
5042
5043
# File 'generated/google/apis/analytics_v3/classes.rb', line 5041

def filters
  @filters
end

#idString

Unsampled report ID. Corresponds to the JSON property id

Returns:

  • (String)


5046
5047
5048
# File 'generated/google/apis/analytics_v3/classes.rb', line 5046

def id
  @id
end

#kindString

Resource type for an Analytics unsampled report. Corresponds to the JSON property kind

Returns:

  • (String)


5051
5052
5053
# File 'generated/google/apis/analytics_v3/classes.rb', line 5051

def kind
  @kind
end

#metricsString

The metrics for the unsampled report. Corresponds to the JSON property metrics

Returns:

  • (String)


5056
5057
5058
# File 'generated/google/apis/analytics_v3/classes.rb', line 5056

def metrics
  @metrics
end

#profile_idString

View (Profile) ID to which this unsampled report belongs. Corresponds to the JSON property profileId

Returns:

  • (String)


5061
5062
5063
# File 'generated/google/apis/analytics_v3/classes.rb', line 5061

def profile_id
  @profile_id
end

#segmentString

The segment for the unsampled report. Corresponds to the JSON property segment

Returns:

  • (String)


5066
5067
5068
# File 'generated/google/apis/analytics_v3/classes.rb', line 5066

def segment
  @segment
end

Link for this unsampled report. Corresponds to the JSON property selfLink

Returns:

  • (String)


5071
5072
5073
# File 'generated/google/apis/analytics_v3/classes.rb', line 5071

def self_link
  @self_link
end

#start_dateString

The start date for the unsampled report. Corresponds to the JSON property start-date

Returns:

  • (String)


5076
5077
5078
# File 'generated/google/apis/analytics_v3/classes.rb', line 5076

def start_date
  @start_date
end

#statusString

Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED. Corresponds to the JSON property status

Returns:

  • (String)


5082
5083
5084
# File 'generated/google/apis/analytics_v3/classes.rb', line 5082

def status
  @status
end

#titleString

Title of the unsampled report. Corresponds to the JSON property title

Returns:

  • (String)


5087
5088
5089
# File 'generated/google/apis/analytics_v3/classes.rb', line 5087

def title
  @title
end

#updatedDateTime

Time this unsampled report was last modified. Corresponds to the JSON property updated

Returns:

  • (DateTime)


5092
5093
5094
# File 'generated/google/apis/analytics_v3/classes.rb', line 5092

def updated
  @updated
end

#web_property_idString

Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY. Corresponds to the JSON property webPropertyId

Returns:

  • (String)


5098
5099
5100
# File 'generated/google/apis/analytics_v3/classes.rb', line 5098

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
# File 'generated/google/apis/analytics_v3/classes.rb', line 5105

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @cloud_storage_download_details = args[:cloud_storage_download_details] if args.key?(:cloud_storage_download_details)
  @created = args[:created] if args.key?(:created)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @download_type = args[:download_type] if args.key?(:download_type)
  @drive_download_details = args[:drive_download_details] if args.key?(:drive_download_details)
  @end_date = args[:end_date] if args.key?(:end_date)
  @filters = args[:filters] if args.key?(:filters)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @metrics = args[:metrics] if args.key?(:metrics)
  @profile_id = args[:profile_id] if args.key?(:profile_id)
  @segment = args[:segment] if args.key?(:segment)
  @self_link = args[:self_link] if args.key?(:self_link)
  @start_date = args[:start_date] if args.key?(:start_date)
  @status = args[:status] if args.key?(:status)
  @title = args[:title] if args.key?(:title)
  @updated = args[:updated] if args.key?(:updated)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end