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.



1600
1601
1602
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1600

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)


1545
1546
1547
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1545

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)


1550
1551
1552
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1550

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>)


1556
1557
1558
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1556

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>)


1563
1564
1565
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1563

def export_streams
  @export_streams
end

#fresh_daily_export_enabledBoolean Also known as: fresh_daily_export_enabled?

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

Returns:

  • (Boolean)


1568
1569
1570
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1568

def fresh_daily_export_enabled
  @fresh_daily_export_enabled
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)


1575
1576
1577
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1575

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)


1583
1584
1585
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1583

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)


1592
1593
1594
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1592

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)


1597
1598
1599
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1597

def streaming_export_enabled
  @streaming_export_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1605

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)
  @fresh_daily_export_enabled = args[:fresh_daily_export_enabled] if args.key?(:fresh_daily_export_enabled)
  @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