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.
3235 3236 3237 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3235 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
3228 3229 3230 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3228 def count @count end |
#status_code ⇒ Fixnum
This represents the http status code.
Corresponds to the JSON property statusCode
3233 3234 3235 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3233 def status_code @status_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3240 3241 3242 3243 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3240 def update!(**args) @count = args[:count] if args.key?(:count) @status_code = args[:status_code] if args.key?(:status_code) end |