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.


4881
4882
4883
# File 'generated/google/apis/analytics_v3/classes.rb', line 4881

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)

4784
4785
4786
# File 'generated/google/apis/analytics_v3/classes.rb', line 4784

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


4789
4790
4791
# File 'generated/google/apis/analytics_v3/classes.rb', line 4789

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)

4794
4795
4796
# File 'generated/google/apis/analytics_v3/classes.rb', line 4794

def created
  @created
end

#dimensionsString

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

Returns:

  • (String)

4799
4800
4801
# File 'generated/google/apis/analytics_v3/classes.rb', line 4799

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)

4807
4808
4809
# File 'generated/google/apis/analytics_v3/classes.rb', line 4807

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


4812
4813
4814
# File 'generated/google/apis/analytics_v3/classes.rb', line 4812

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)

4817
4818
4819
# File 'generated/google/apis/analytics_v3/classes.rb', line 4817

def end_date
  @end_date
end

#filtersString

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

Returns:

  • (String)

4822
4823
4824
# File 'generated/google/apis/analytics_v3/classes.rb', line 4822

def filters
  @filters
end

#idString

Unsampled report ID. Corresponds to the JSON property id

Returns:

  • (String)

4827
4828
4829
# File 'generated/google/apis/analytics_v3/classes.rb', line 4827

def id
  @id
end

#kindString

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

Returns:

  • (String)

4832
4833
4834
# File 'generated/google/apis/analytics_v3/classes.rb', line 4832

def kind
  @kind
end

#metricsString

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

Returns:

  • (String)

4837
4838
4839
# File 'generated/google/apis/analytics_v3/classes.rb', line 4837

def metrics
  @metrics
end

#profile_idString

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

Returns:

  • (String)

4842
4843
4844
# File 'generated/google/apis/analytics_v3/classes.rb', line 4842

def profile_id
  @profile_id
end

#segmentString

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

Returns:

  • (String)

4847
4848
4849
# File 'generated/google/apis/analytics_v3/classes.rb', line 4847

def segment
  @segment
end

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

Returns:

  • (String)

4852
4853
4854
# File 'generated/google/apis/analytics_v3/classes.rb', line 4852

def self_link
  @self_link
end

#start_dateString

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

Returns:

  • (String)

4857
4858
4859
# File 'generated/google/apis/analytics_v3/classes.rb', line 4857

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)

4863
4864
4865
# File 'generated/google/apis/analytics_v3/classes.rb', line 4863

def status
  @status
end

#titleString

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

Returns:

  • (String)

4868
4869
4870
# File 'generated/google/apis/analytics_v3/classes.rb', line 4868

def title
  @title
end

#updatedDateTime

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

Returns:

  • (DateTime)

4873
4874
4875
# File 'generated/google/apis/analytics_v3/classes.rb', line 4873

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)

4879
4880
4881
# File 'generated/google/apis/analytics_v3/classes.rb', line 4879

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
# File 'generated/google/apis/analytics_v3/classes.rb', line 4886

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