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.
16479 16480 16481 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
16472 16473 16474 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16472 def count @count end |
#status_code ⇒ Fixnum
This represents the http status code.
Corresponds to the JSON property statusCode
16477 16478 16479 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16477 def status_code @status_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16484 16485 16486 16487 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16484 def update!(**args) @count = args[:count] if args.key?(:count) @status_code = args[:status_code] if args.key?(:status_code) end |