Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink
- 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 Google Analytics property and BigQuery project.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#daily_export_enabled ⇒ Boolean
(also: #daily_export_enabled?)
If set true, enables daily data export to the linked Google Cloud project.
-
#dataset_location ⇒ String
Required.
-
#excluded_events ⇒ Array<String>
The list of event names that will be excluded from exports.
-
#export_streams ⇒ Array<String>
The list of streams under the parent property for which data will be exported.
-
#fresh_daily_export_enabled ⇒ Boolean
(also: #fresh_daily_export_enabled?)
If set true, enables fresh daily export to the linked Google Cloud project.
-
#include_advertising_id ⇒ Boolean
(also: #include_advertising_id?)
If set true, exported data will include advertising identifiers for mobile app streams.
-
#name ⇒ String
Output only.
-
#project ⇒ String
Immutable.
-
#streaming_export_enabled ⇒ Boolean
(also: #streaming_export_enabled?)
If set true, enables streaming export to the linked Google Cloud project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaBigQueryLink
constructor
A new instance of GoogleAnalyticsAdminV1alphaBigQueryLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaBigQueryLink
Returns a new instance of GoogleAnalyticsAdminV1alphaBigQueryLink.
1623 1624 1625 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when the link was created.
Corresponds to the JSON property createTime
1561 1562 1563 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1561 def create_time @create_time end |
#daily_export_enabled ⇒ Boolean 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
1566 1567 1568 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1566 def daily_export_enabled @daily_export_enabled end |
#dataset_location ⇒ String
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
1574 1575 1576 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1574 def dataset_location @dataset_location end |
#excluded_events ⇒ Array<String>
The list of event names that will be excluded from exports.
Corresponds to the JSON property excludedEvents
1579 1580 1581 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1579 def excluded_events @excluded_events end |
#export_streams ⇒ Array<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
1586 1587 1588 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1586 def export_streams @export_streams end |
#fresh_daily_export_enabled ⇒ Boolean 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
1591 1592 1593 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1591 def fresh_daily_export_enabled @fresh_daily_export_enabled end |
#include_advertising_id ⇒ Boolean 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
1598 1599 1600 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1598 def include_advertising_id @include_advertising_id end |
#name ⇒ String
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
1606 1607 1608 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1606 def name @name end |
#project ⇒ String
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
1615 1616 1617 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1615 def project @project end |
#streaming_export_enabled ⇒ Boolean Also known as: streaming_export_enabled?
If set true, enables streaming export to the linked Google Cloud project.
Corresponds to the JSON property streamingExportEnabled
1620 1621 1622 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1620 def streaming_export_enabled @streaming_export_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1628 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 |