Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpecArgument
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpecArgument
- 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
Input or output argument of a function or stored procedure.
Instance Attribute Summary collapse
-
#mode ⇒ String
Specifies whether the argument is input or output.
-
#name ⇒ String
The name of the argument.
-
#type ⇒ String
Type of the argument.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1RoutineSpecArgument
constructor
A new instance of GoogleCloudDatacatalogV1RoutineSpecArgument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1RoutineSpecArgument
Returns a new instance of GoogleCloudDatacatalogV1RoutineSpecArgument.
1795 1796 1797 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Specifies whether the argument is input or output.
Corresponds to the JSON property mode
1781 1782 1783 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1781 def mode @mode end |
#name ⇒ String
The name of the argument. A return argument of a function might not have a
name.
Corresponds to the JSON property name
1787 1788 1789 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1787 def name @name end |
#type ⇒ String
Type of the argument. The exact value depends on the source system and the
language.
Corresponds to the JSON property type
1793 1794 1795 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1793 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1800 1801 1802 1803 1804 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1800 def update!(**args) @mode = args[:mode] if args.key?(:mode) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |