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.


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

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)

4949
4950
4951
# File 'generated/google/apis/analytics_v3/classes.rb', line 4949

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


4954
4955
4956
# File 'generated/google/apis/analytics_v3/classes.rb', line 4954

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)

4959
4960
4961
# File 'generated/google/apis/analytics_v3/classes.rb', line 4959

def created
  @created
end

#dimensionsString

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

Returns:

  • (String)

4964
4965
4966
# File 'generated/google/apis/analytics_v3/classes.rb', line 4964

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)

4972
4973
4974
# File 'generated/google/apis/analytics_v3/classes.rb', line 4972

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


4977
4978
4979
# File 'generated/google/apis/analytics_v3/classes.rb', line 4977

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)

4982
4983
4984
# File 'generated/google/apis/analytics_v3/classes.rb', line 4982

def end_date
  @end_date
end

#filtersString

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

Returns:

  • (String)

4987
4988
4989
# File 'generated/google/apis/analytics_v3/classes.rb', line 4987

def filters
  @filters
end

#idString

Unsampled report ID. Corresponds to the JSON property id

Returns:

  • (String)

4992
4993
4994
# File 'generated/google/apis/analytics_v3/classes.rb', line 4992

def id
  @id
end

#kindString

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

Returns:

  • (String)

4997
4998
4999
# File 'generated/google/apis/analytics_v3/classes.rb', line 4997

def kind
  @kind
end

#metricsString

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

Returns:

  • (String)

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

def metrics
  @metrics
end

#profile_idString

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

Returns:

  • (String)

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

def profile_id
  @profile_id
end

#segmentString

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

Returns:

  • (String)

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

def segment
  @segment
end

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

Returns:

  • (String)

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

def self_link
  @self_link
end

#start_dateString

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

Returns:

  • (String)

5022
5023
5024
# File 'generated/google/apis/analytics_v3/classes.rb', line 5022

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)

5028
5029
5030
# File 'generated/google/apis/analytics_v3/classes.rb', line 5028

def status
  @status
end

#titleString

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

Returns:

  • (String)

5033
5034
5035
# File 'generated/google/apis/analytics_v3/classes.rb', line 5033

def title
  @title
end

#updatedDateTime

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

Returns:

  • (DateTime)

5038
5039
5040
# File 'generated/google/apis/analytics_v3/classes.rb', line 5038

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)

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

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
# File 'generated/google/apis/analytics_v3/classes.rb', line 5051

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