Class: Google::Apis::CloudsearchV1::QueryCountByStatus
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::QueryCountByStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Corresponds to the JSON property
count. -
#status_code ⇒ Fixnum
This represents the http status code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryCountByStatus
constructor
A new instance of QueryCountByStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryCountByStatus
Returns a new instance of QueryCountByStatus.
3380 3381 3382 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
3373 3374 3375 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3373 def count @count end |
#status_code ⇒ Fixnum
This represents the http status code.
Corresponds to the JSON property statusCode
3378 3379 3380 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3378 def status_code @status_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3385 3386 3387 3388 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3385 def update!(**args) @count = args[:count] if args.key?(:count) @status_code = args[:status_code] if args.key?(:status_code) end |