Class: Google::Apis::AnalyticshubV1::StoredProcedureConfig

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

Stored procedure configuration, used to configure stored procedure sharing on linked dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StoredProcedureConfig

Returns a new instance of StoredProcedureConfig.



2585
2586
2587
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2585

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

Instance Attribute Details

#allowed_stored_procedure_typesArray<String>

Output only. Types of stored procedure supported to share. Corresponds to the JSON property allowedStoredProcedureTypes

Returns:

  • (Array<String>)


2577
2578
2579
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2577

def allowed_stored_procedure_types
  @allowed_stored_procedure_types
end

#enabledBoolean Also known as: enabled?

Optional. If true, enable sharing of stored procedure. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


2582
2583
2584
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2582

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2590
2591
2592
2593
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2590

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