class Google::Apis::AnalyticsV3::CustomDataSource

JSON template for an Analytics custom data source.

Attributes

account_id[RW]

Account ID to which this custom data source belongs. Corresponds to the JSON property `accountId` @return [String]

created[RW]

Time this custom data source was created. Corresponds to the JSON property `created` @return [DateTime]

description[RW]

Description of custom data source. Corresponds to the JSON property `description` @return [String]

id[RW]

Custom data source ID. Corresponds to the JSON property `id` @return [String]

import_behavior[RW]

Corresponds to the JSON property `importBehavior` @return [String]

kind[RW]

Resource type for Analytics custom data source. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this custom data source. Corresponds to the JSON property `name` @return [String]

profiles_linked[RW]

IDs of views (profiles) linked to the custom data source. Corresponds to the JSON property `profilesLinked` @return [Array<String>]

schema[RW]

Collection of schema headers of the custom data source. Corresponds to the JSON property `schema` @return [Array<String>]

type[RW]

Type of the custom data source. Corresponds to the JSON property `type` @return [String]

updated[RW]

Time this custom data source was last modified. Corresponds to the JSON property `updated` @return [DateTime]

upload_type[RW]

Upload type of the custom data source. Corresponds to the JSON property `uploadType` @return [String]

web_property_id[RW]

Web property ID of the form UA-XXXXX-YY to which this custom data source belongs. Corresponds to the JSON property `webPropertyId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 718
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @child_link = args[:child_link] if args.key?(:child_link)
  @created = args[:created] if args.key?(:created)
  @description = args[:description] if args.key?(:description)
  @id = args[:id] if args.key?(:id)
  @import_behavior = args[:import_behavior] if args.key?(:import_behavior)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @parent_link = args[:parent_link] if args.key?(:parent_link)
  @profiles_linked = args[:profiles_linked] if args.key?(:profiles_linked)
  @schema = args[:schema] if args.key?(:schema)
  @self_link = args[:self_link] if args.key?(:self_link)
  @type = args[:type] if args.key?(:type)
  @updated = args[:updated] if args.key?(:updated)
  @upload_type = args[:upload_type] if args.key?(:upload_type)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end