Class: Google::Apis::AnalyticsV3::CustomDataSource
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::CustomDataSource
 
- 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 an Analytics custom data source.
Defined Under Namespace
Classes: ChildLink, ParentLink
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Account ID to which this custom data source belongs. 
- 
  
    
      #child_link  ⇒ Google::Apis::AnalyticsV3::CustomDataSource::ChildLink 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property childLink.
- 
  
    
      #created  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Time this custom data source was created. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Description of custom data source. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom data source ID. 
- 
  
    
      #import_behavior  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property importBehavior.
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type for Analytics custom data source. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of this custom data source. 
- 
  
    
      #parent_link  ⇒ Google::Apis::AnalyticsV3::CustomDataSource::ParentLink 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Parent link for this custom data source. 
- 
  
    
      #profiles_linked  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    IDs of views (profiles) linked to the custom data source. 
- 
  
    
      #schema  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Collection of schema headers of the custom data source. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Link for this Analytics custom data source. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of the custom data source. 
- 
  
    
      #updated  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Time this custom data source was last modified. 
- 
  
    
      #upload_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Upload type of the custom data source. 
- 
  
    
      #web_property_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Web property ID of the form UA-XXXXX-YY to which this custom data source belongs. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomDataSource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CustomDataSource. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomDataSource
Returns a new instance of CustomDataSource
| 807 808 809 | # File 'generated/google/apis/analytics_v3/classes.rb', line 807 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
Account ID to which this custom data source belongs.
Corresponds to the JSON property accountId
| 728 729 730 | # File 'generated/google/apis/analytics_v3/classes.rb', line 728 def account_id @account_id end | 
#child_link ⇒ Google::Apis::AnalyticsV3::CustomDataSource::ChildLink
Corresponds to the JSON property childLink
| 733 734 735 | # File 'generated/google/apis/analytics_v3/classes.rb', line 733 def child_link @child_link end | 
#created ⇒ DateTime
Time this custom data source was created.
Corresponds to the JSON property created
| 738 739 740 | # File 'generated/google/apis/analytics_v3/classes.rb', line 738 def created @created end | 
#description ⇒ String
Description of custom data source.
Corresponds to the JSON property description
| 743 744 745 | # File 'generated/google/apis/analytics_v3/classes.rb', line 743 def description @description end | 
#id ⇒ String
Custom data source ID.
Corresponds to the JSON property id
| 748 749 750 | # File 'generated/google/apis/analytics_v3/classes.rb', line 748 def id @id end | 
#import_behavior ⇒ String
Corresponds to the JSON property importBehavior
| 753 754 755 | # File 'generated/google/apis/analytics_v3/classes.rb', line 753 def import_behavior @import_behavior end | 
#kind ⇒ String
Resource type for Analytics custom data source.
Corresponds to the JSON property kind
| 758 759 760 | # File 'generated/google/apis/analytics_v3/classes.rb', line 758 def kind @kind end | 
#name ⇒ String
Name of this custom data source.
Corresponds to the JSON property name
| 763 764 765 | # File 'generated/google/apis/analytics_v3/classes.rb', line 763 def name @name end | 
#parent_link ⇒ Google::Apis::AnalyticsV3::CustomDataSource::ParentLink
Parent link for this custom data source. Points to the web property to which
this custom data source belongs.
Corresponds to the JSON property parentLink
| 769 770 771 | # File 'generated/google/apis/analytics_v3/classes.rb', line 769 def parent_link @parent_link end | 
#profiles_linked ⇒ Array<String>
IDs of views (profiles) linked to the custom data source.
Corresponds to the JSON property profilesLinked
| 774 775 776 | # File 'generated/google/apis/analytics_v3/classes.rb', line 774 def profiles_linked @profiles_linked end | 
#schema ⇒ Array<String>
Collection of schema headers of the custom data source.
Corresponds to the JSON property schema
| 779 780 781 | # File 'generated/google/apis/analytics_v3/classes.rb', line 779 def schema @schema end | 
#self_link ⇒ String
Link for this Analytics custom data source.
Corresponds to the JSON property selfLink
| 784 785 786 | # File 'generated/google/apis/analytics_v3/classes.rb', line 784 def self_link @self_link end | 
#type ⇒ String
Type of the custom data source.
Corresponds to the JSON property type
| 789 790 791 | # File 'generated/google/apis/analytics_v3/classes.rb', line 789 def type @type end | 
#updated ⇒ DateTime
Time this custom data source was last modified.
Corresponds to the JSON property updated
| 794 795 796 | # File 'generated/google/apis/analytics_v3/classes.rb', line 794 def updated @updated end | 
#upload_type ⇒ String
Upload type of the custom data source.
Corresponds to the JSON property uploadType
| 799 800 801 | # File 'generated/google/apis/analytics_v3/classes.rb', line 799 def upload_type @upload_type end | 
#web_property_id ⇒ String
Web property ID of the form UA-XXXXX-YY to which this custom data source
belongs.
Corresponds to the JSON property webPropertyId
| 805 806 807 | # File 'generated/google/apis/analytics_v3/classes.rb', line 805 def web_property_id @web_property_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 | # File 'generated/google/apis/analytics_v3/classes.rb', line 812 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 |