Class: Google::Apis::AnalyticshubV1::StoredProcedureConfig
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::StoredProcedureConfig
- 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
-
#allowed_stored_procedure_types ⇒ Array<String>
Output only.
-
#enabled ⇒ Boolean
(also: #enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StoredProcedureConfig
constructor
A new instance of StoredProcedureConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_types ⇒ Array<String>
Output only. Types of stored procedure supported to share.
Corresponds to the JSON property allowedStoredProcedureTypes
2577 2578 2579 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2577 def allowed_stored_procedure_types @allowed_stored_procedure_types end |
#enabled ⇒ Boolean Also known as: enabled?
Optional. If true, enable sharing of stored procedure.
Corresponds to the JSON property enabled
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 |