Class: Google::Apis::AnalyticshubV1::RestrictedExportConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb

Overview

Restricted export config, used to configure restricted export on linked dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestrictedExportConfig

Returns a new instance of RestrictedExportConfig.



868
869
870
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 868

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean Also known as: enabled?

If true, enable restricted export. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


858
859
860
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 858

def enabled
  @enabled
end

#restrict_query_resultBoolean Also known as: restrict_query_result?

If true, restrict export of query result derived from restricted linked dataset table. Corresponds to the JSON property restrictQueryResult

Returns:

  • (Boolean)


865
866
867
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 865

def restrict_query_result
  @restrict_query_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



873
874
875
876
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 873

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
  @restrict_query_result = args[:restrict_query_result] if args.key?(:restrict_query_result)
end