Reference documentation and code samples for the Google Cloud Api Hub V1 Client class QueryParam.
An aggregation of HTTP query parameter occurrences.
Generated from protobuf message google.cloud.apihub.v1.HttpOperationDetails.QueryParam
Namespace
Google \ Cloud \ ApiHub \ V1 \ HttpOperationDetailsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of query param |
↳ count |
int|string
Optional. The number of occurrences of this query parameter across transactions. |
↳ data_type |
int
Optional. Data type of path param |
getName
Required. Name of query param
Returns | |
---|---|
Type | Description |
string |
setName
Required. Name of query param
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCount
Optional. The number of occurrences of this query parameter across transactions.
Returns | |
---|---|
Type | Description |
int|string |
setCount
Optional. The number of occurrences of this query parameter across transactions.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDataType
Optional. Data type of path param
Returns | |
---|---|
Type | Description |
int |
Enum of type DataType. |
setDataType
Optional. Data type of path param
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type DataType. |
Returns | |
---|---|
Type | Description |
$this |