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

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMode

Specifies whether the argument is input or output.

Returns
TypeDescription
int

setMode

Specifies whether the argument is input or output.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getType

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

Returns
TypeDescription
string

setType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this