Class: Google::Apis::ApimV1alpha::HttpOperationQueryParam

Inherits:
Object
  • Object
show all
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

Overview

An aggregation of HTTP query parameter occurrences.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpOperationQueryParam

Returns a new instance of HttpOperationQueryParam.



481
482
483
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 481

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#countFixnum

The number of occurrences of this query parameter across transactions. Corresponds to the JSON property count

Returns:

  • (Fixnum)


469
470
471
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 469

def count
  @count
end

#data_typeString

Data type of path param Corresponds to the JSON property dataType

Returns:

  • (String)


474
475
476
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 474

def data_type
  @data_type
end

#nameString

Name of query param Corresponds to the JSON property name

Returns:

  • (String)


479
480
481
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 479

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



486
487
488
489
490
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 486

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