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



5140
5141
5142
# File 'generated/google/apis/analytics_v3/classes.rb', line 5140

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)


5043
5044
5045
# File 'generated/google/apis/analytics_v3/classes.rb', line 5043

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



5048
5049
5050
# File 'generated/google/apis/analytics_v3/classes.rb', line 5048

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)


5053
5054
5055
# File 'generated/google/apis/analytics_v3/classes.rb', line 5053

def created
  @created
end

#dimensionsString

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

Returns:

  • (String)


5058
5059
5060
# File 'generated/google/apis/analytics_v3/classes.rb', line 5058

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)


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

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



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

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)


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

def end_date
  @end_date
end

#filtersString

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

Returns:

  • (String)


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

def filters
  @filters
end

#idString

Unsampled report ID. Corresponds to the JSON property id

Returns:

  • (String)


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

def id
  @id
end

#kindString

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

Returns:

  • (String)


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

def kind
  @kind
end

#metricsString

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

Returns:

  • (String)


5096
5097
5098
# File 'generated/google/apis/analytics_v3/classes.rb', line 5096

def metrics
  @metrics
end

#profile_idString

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

Returns:

  • (String)


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

def profile_id
  @profile_id
end

#segmentString

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

Returns:

  • (String)


5106
5107
5108
# File 'generated/google/apis/analytics_v3/classes.rb', line 5106

def segment
  @segment
end

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

Returns:

  • (String)


5111
5112
5113
# File 'generated/google/apis/analytics_v3/classes.rb', line 5111

def self_link
  @self_link
end

#start_dateString

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

Returns:

  • (String)


5116
5117
5118
# File 'generated/google/apis/analytics_v3/classes.rb', line 5116

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)


5122
5123
5124
# File 'generated/google/apis/analytics_v3/classes.rb', line 5122

def status
  @status
end

#titleString

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

Returns:

  • (String)


5127
5128
5129
# File 'generated/google/apis/analytics_v3/classes.rb', line 5127

def title
  @title
end

#updatedDateTime

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

Returns:

  • (DateTime)


5132
5133
5134
# File 'generated/google/apis/analytics_v3/classes.rb', line 5132

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)


5138
5139
5140
# File 'generated/google/apis/analytics_v3/classes.rb', line 5138

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
# File 'generated/google/apis/analytics_v3/classes.rb', line 5145

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