QueryParameter

A parameter given to a query.

JSON representation
{
  "name": string,
  "parameterType": {
    object (QueryParameterType)
  },
  "parameterValue": {
    object (QueryParameterValue)
  }
}
Fields
name

string

[Optional] If unset, this is a positional parameter. Otherwise, should be unique within a query.

parameterType

object (QueryParameterType)

[Required] The type of this parameter.

parameterValue

object (QueryParameterValue)

[Required] The value of this parameter.

QueryParameterType

The type of a query parameter.

JSON representation
{
  "type": string,
  "arrayType": {
    object (QueryParameterType)
  },
  "structTypes": [
    {
      "name": string,
      "type": {
        object (QueryParameterType)
      },
      "description": string
    }
  ]
}
Fields
type

string

[Required] The top level type of this field.

arrayType

object (QueryParameterType)

[Optional] The type of the array's elements, if this is an array.

structTypes[]

object

[Optional] The types of the fields of this struct, in order, if this is a struct.

structTypes[].name

string

[Optional] The name of this field.

structTypes[].type

object (QueryParameterType)

[Required] The type of this field.

structTypes[].description

string

[Optional] Human-oriented description of the field.

QueryParameterValue

The value of a query parameter.

JSON representation
{
  "value": string,
  "arrayValues": [
    {
      object (QueryParameterValue)
    }
  ],
  "structValues": {
    string: {
      object(QueryParameterValue)
    },
    ...
  }
}
Fields
value

string

[Optional] The value of this value, if a simple scalar type.

arrayValues[]

object (QueryParameterValue)

[Optional] The array values, if this is an array type.

structValues

map (key: string, value: object (QueryParameterValue))

[Optional] The struct field values.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...