Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

A resource message representing a data stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDataStream

Returns a new instance of GoogleAnalyticsAdminV1alphaDataStream.



2849
2850
2851
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2849

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#android_app_stream_dataGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData

Data specific to Android app streams. Corresponds to the JSON property androidAppStreamData



2809
2810
2811
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2809

def android_app_stream_data
  @android_app_stream_data
end

#create_timeString

Output only. Time when this stream was originally created. Corresponds to the JSON property createTime

Returns:

  • (String)


2814
2815
2816
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2814

def create_time
  @create_time
end

#display_nameString

Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units. Corresponds to the JSON property displayName

Returns:

  • (String)


2820
2821
2822
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2820

def display_name
  @display_name
end

#ios_app_stream_dataGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData

Data specific to iOS app streams. Corresponds to the JSON property iosAppStreamData



2825
2826
2827
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2825

def ios_app_stream_data
  @ios_app_stream_data
end

#nameString

Output only. Resource name of this Data Stream. Format: properties/ property_id/dataStreams/stream_id Example: "properties/1000/dataStreams/ 2000" Corresponds to the JSON property name

Returns:

  • (String)


2832
2833
2834
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2832

def name
  @name
end

#typeString

Required. Immutable. The type of this DataStream resource. Corresponds to the JSON property type

Returns:

  • (String)


2837
2838
2839
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2837

def type
  @type
end

#update_timeString

Output only. Time when stream payload fields were last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2842
2843
2844
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2842

def update_time
  @update_time
end

#web_stream_dataGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData

Data specific to web streams. Corresponds to the JSON property webStreamData



2847
2848
2849
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2847

def web_stream_data
  @web_stream_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2854

def update!(**args)
  @android_app_stream_data = args[:android_app_stream_data] if args.key?(:android_app_stream_data)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @ios_app_stream_data = args[:ios_app_stream_data] if args.key?(:ios_app_stream_data)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
  @web_stream_data = args[:web_stream_data] if args.key?(:web_stream_data)
end