Class: Google::Apis::CloudsearchV1::QueryCountByStatus
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::QueryCountByStatus
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryCountByStatus
Returns a new instance of QueryCountByStatus
3329 3330 3331 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
3322 3323 3324 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3322 def count @count end |
#status_code ⇒ Fixnum
This represents the http status code.
Corresponds to the JSON property statusCode
3327 3328 3329 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3327 def status_code @status_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3334 3335 3336 3337 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3334 def update!(**args) @count = args[:count] if args.key?(:count) @status_code = args[:status_code] if args.key?(:status_code) end |