Class: Google::Apis::CesV1::BigQueryExportSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#datasetString

Optional. The BigQuery dataset ID to export the data to. Corresponds to the JSON property dataset

Returns:

  • (String)


1059
1060
1061
# File 'lib/google/apis/ces_v1/classes.rb', line 1059

def dataset
  @dataset
end

#enabledBoolean Also known as: enabled?

Optional. Indicates whether the BigQuery export is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


1064
1065
1066
# File 'lib/google/apis/ces_v1/classes.rb', line 1064

def enabled
  @enabled
end

#projectString

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

Returns:

  • (String)


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