Class: Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticshub_v1beta1/classes.rb,
lib/google/apis/analyticshub_v1beta1/representations.rb,
lib/google/apis/analyticshub_v1beta1/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.



941
942
943
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 941

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

Instance Attribute Details

#enabled ⇒ Boolean Also known as: enabled?

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

Returns:

  • (Boolean)


924
925
926
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 924

def enabled
  @enabled
end

#restrict_direct_table_access ⇒ Boolean Also known as: restrict_direct_table_access?

Output only. If true, restrict direct table access(read api/tabledata.list) on linked table. Corresponds to the JSON property restrictDirectTableAccess

Returns:

  • (Boolean)


931
932
933
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 931

def restrict_direct_table_access
  @restrict_direct_table_access
end

#restrict_query_result ⇒ Boolean Also known as: restrict_query_result?

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

Returns:

  • (Boolean)


938
939
940
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 938

def restrict_query_result
  @restrict_query_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



946
947
948
949
950
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 946

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