Class: Google::Apis::CesV1::BigQueryExportSettings
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::BigQueryExportSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Settings to describe the BigQuery export behaviors for the app.
Instance Attribute Summary collapse
-
#dataset ⇒ String
Optional.
-
#enabled ⇒ Boolean
(also: #enabled?)
Optional.
-
#project ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigQueryExportSettings
constructor
A new instance of BigQueryExportSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigQueryExportSettings
Returns a new instance of BigQueryExportSettings.
1075 1076 1077 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset ⇒ String
Optional. The BigQuery dataset ID to export the data to.
Corresponds to the JSON property dataset
1059 1060 1061 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1059 def dataset @dataset end |
#enabled ⇒ Boolean Also known as: enabled?
Optional. Indicates whether the BigQuery export is enabled.
Corresponds to the JSON property enabled
1064 1065 1066 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1064 def enabled @enabled end |
#project ⇒ String
Optional. The project ID of the BigQuery dataset to export the data to.
Note: If the BigQuery dataset is in a different project from the app, you
should grant roles/bigquery.admin role to the CES service agent service-@
gcp-sa-ces.iam.gserviceaccount.com.
Corresponds to the JSON property project
1073 1074 1075 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1073 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1080 1081 1082 1083 1084 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1080 def update!(**args) @dataset = args[:dataset] if args.key?(:dataset) @enabled = args[:enabled] if args.key?(:enabled) @project = args[:project] if args.key?(:project) end |