Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1RoutineSpecArgument

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1RoutineSpecArgument

Returns a new instance of GoogleCloudDatacatalogV1RoutineSpecArgument.



1580
1581
1582
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1580

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

Instance Attribute Details

#modeString

Specifies whether the argument is input or output. Corresponds to the JSON property mode

Returns:

  • (String)


1566
1567
1568
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1566

def mode
  @mode
end

#nameString

The name of the argument. A return argument of a function might not have a name. Corresponds to the JSON property name

Returns:

  • (String)


1572
1573
1574
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1572

def name
  @name
end

#typeString

Type of the argument. The exact value depends on the source system and the language. Corresponds to the JSON property type

Returns:

  • (String)


1578
1579
1580
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1578

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1585
1586
1587
1588
1589
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1585

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