Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
Specification that applies to a routine. Valid only for entries with the
ROUTINE type.
Instance Attribute Summary collapse
-
#bigquery_routine_spec ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryRoutineSpec
Fields specific for BigQuery routines.
-
#definition_body ⇒ String
The body of the routine.
-
#language ⇒ String
The language the routine is written in.
-
#return_type ⇒ String
Return type of the argument.
-
#routine_arguments ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpecArgument>
Arguments of the routine.
-
#routine_type ⇒ String
The type of the routine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1RoutineSpec
constructor
A new instance of GoogleCloudDatacatalogV1RoutineSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1RoutineSpec
Returns a new instance of GoogleCloudDatacatalogV1RoutineSpec.
1684 1685 1686 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1684 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_routine_spec ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1BigQueryRoutineSpec
Fields specific for BigQuery routines.
Corresponds to the JSON property bigqueryRoutineSpec
1655 1656 1657 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1655 def bigquery_routine_spec @bigquery_routine_spec end |
#definition_body ⇒ String
The body of the routine.
Corresponds to the JSON property definitionBody
1660 1661 1662 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1660 def definition_body @definition_body end |
#language ⇒ String
The language the routine is written in. The exact value depends on the source
system. For BigQuery routines, possible values are: * SQL * JAVASCRIPT
Corresponds to the JSON property language
1666 1667 1668 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1666 def language @language end |
#return_type ⇒ String
Return type of the argument. The exact value depends on the source system and
the language.
Corresponds to the JSON property returnType
1672 1673 1674 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1672 def return_type @return_type end |
#routine_arguments ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpecArgument>
Arguments of the routine.
Corresponds to the JSON property routineArguments
1677 1678 1679 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1677 def routine_arguments @routine_arguments end |
#routine_type ⇒ String
The type of the routine.
Corresponds to the JSON property routineType
1682 1683 1684 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1682 def routine_type @routine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1689 1690 1691 1692 1693 1694 1695 1696 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1689 def update!(**args) @bigquery_routine_spec = args[:bigquery_routine_spec] if args.key?(:bigquery_routine_spec) @definition_body = args[:definition_body] if args.key?(:definition_body) @language = args[:language] if args.key?(:language) @return_type = args[:return_type] if args.key?(:return_type) @routine_arguments = args[:routine_arguments] if args.key?(:routine_arguments) @routine_type = args[:routine_type] if args.key?(:routine_type) end |