Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink

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 link between a GA4 Property and BigQuery project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaBigQueryLink

Returns a new instance of GoogleAnalyticsAdminV1alphaBigQueryLink.



1778
1779
1780
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1778

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

Instance Attribute Details

#create_timeString

Output only. Time when the link was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1729
1730
1731
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1729

def create_time
  @create_time
end

#daily_export_enabledBoolean Also known as: daily_export_enabled?

If set true, enables daily data export to the linked Google Cloud project. Corresponds to the JSON property dailyExportEnabled

Returns:

  • (Boolean)


1734
1735
1736
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1734

def daily_export_enabled
  @daily_export_enabled
end

#excluded_eventsArray<String>

The list of event names that will be excluded from exports. Corresponds to the JSON property excludedEvents

Returns:

  • (Array<String>)


1740
1741
1742
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1740

def excluded_events
  @excluded_events
end

#export_streamsArray<String>

The list of streams under the parent property for which data will be exported. Format: properties/property_id/dataStreams/stream_id Example: ['properties/ 1000/dataStreams/2000'] Corresponds to the JSON property exportStreams

Returns:

  • (Array<String>)


1747
1748
1749
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1747

def export_streams
  @export_streams
end

#include_advertising_idBoolean Also known as: include_advertising_id?

If set true, exported data will include advertising identifiers for mobile app streams. Corresponds to the JSON property includeAdvertisingId

Returns:

  • (Boolean)


1753
1754
1755
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1753

def include_advertising_id
  @include_advertising_id
end

#nameString

Output only. Resource name of this BigQuery link. Format: 'properties/ property_id/bigQueryLinks/bigquery_link_id' Format: 'properties/1234/ bigQueryLinks/abc567' Corresponds to the JSON property name

Returns:

  • (String)


1761
1762
1763
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1761

def name
  @name
end

#projectString

Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: 'projects/project number' Example: 'projects/1234' Corresponds to the JSON property project

Returns:

  • (String)


1770
1771
1772
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1770

def project
  @project
end

#streaming_export_enabledBoolean Also known as: streaming_export_enabled?

If set true, enables streaming export to the linked Google Cloud project. Corresponds to the JSON property streamingExportEnabled

Returns:

  • (Boolean)


1775
1776
1777
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1775

def streaming_export_enabled
  @streaming_export_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1783

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @daily_export_enabled = args[:daily_export_enabled] if args.key?(:daily_export_enabled)
  @excluded_events = args[:excluded_events] if args.key?(:excluded_events)
  @export_streams = args[:export_streams] if args.key?(:export_streams)
  @include_advertising_id = args[:include_advertising_id] if args.key?(:include_advertising_id)
  @name = args[:name] if args.key?(:name)
  @project = args[:project] if args.key?(:project)
  @streaming_export_enabled = args[:streaming_export_enabled] if args.key?(:streaming_export_enabled)
end