Google Cloud Data Catalog V1 Client - Class Argument (2.0.0)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class Argument.

Input or output argument of a function or stored procedure.

Generated from protobuf message google.cloud.datacatalog.v1.RoutineSpec.Argument

Namespace

Google \ Cloud \ DataCatalog \ V1 \ RoutineSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the argument. A return argument of a function might not have a name.

↳ mode int

Specifies whether the argument is input or output.

↳ type string

Type of the argument. The exact value depends on the source system and the language.

getName

The name of the argument. A return argument of a function might not have a name.

Returns
Type Description
string

setName

The name of the argument. A return argument of a function might not have a name.

Parameter
Name Description
var string
Returns
Type Description
$this

getMode

Specifies whether the argument is input or output.

Returns
Type Description
int

setMode

Specifies whether the argument is input or output.

Parameter
Name Description
var int
Returns
Type Description
$this

getType

Type of the argument. The exact value depends on the source system and the language.

Returns
Type Description
string

setType

Type of the argument. The exact value depends on the source system and the language.

Parameter
Name Description
var string
Returns
Type Description
$this