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.



1621
1622
1623
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1621

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)


1559
1560
1561
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1559

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)


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

def daily_export_enabled
  @daily_export_enabled
end

#dataset_locationString

Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations. Corresponds to the JSON property datasetLocation

Returns:

  • (String)


1572
1573
1574
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1572

def dataset_location
  @dataset_location
end

#excluded_eventsArray<String>

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

Returns:

  • (Array<String>)


1577
1578
1579
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1577

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


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

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)


1589
1590
1591
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1589

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)


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

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)


1604
1605
1606
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1604

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)


1613
1614
1615
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1613

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)


1618
1619
1620
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1618

def streaming_export_enabled
  @streaming_export_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1626

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