Class: Google::Apis::ApimV1alpha::HttpOperationQueryParam
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::HttpOperationQueryParam
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apim_v1alpha/classes.rb,
lib/google/apis/apim_v1alpha/representations.rb,
lib/google/apis/apim_v1alpha/representations.rb more...
Overview
An aggregation of HTTP query parameter occurrences.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of occurrences of this query parameter across transactions.
-
#data_type ⇒ String
Data type of path param Corresponds to the JSON property
dataType
. -
#name ⇒ String
Name of query param Corresponds to the JSON property
name
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpOperationQueryParam
constructor
A new instance of HttpOperationQueryParam.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpOperationQueryParam
Returns a new instance of HttpOperationQueryParam.
416 417 418 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 416 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The number of occurrences of this query parameter across transactions.
Corresponds to the JSON property count
404 405 406 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 404 def count @count end |
#data_type ⇒ String
Data type of path param
Corresponds to the JSON property dataType
409 410 411 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 409 def data_type @data_type end |
#name ⇒ String
Name of query param
Corresponds to the JSON property name
414 415 416 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 414 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
421 422 423 424 425 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 421 def update!(**args) @count = args[:count] if args.key?(:count) @data_type = args[:data_type] if args.key?(:data_type) @name = args[:name] if args.key?(:name) end |