Class: Google::Apis::CloudsearchV1::QueryCountByStatus
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::QueryCountByStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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.
Constructor Details
#initialize(**args) ⇒ QueryCountByStatus
Returns a new instance of QueryCountByStatus.
3151 3152 3153 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
3144 3145 3146 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3144 def count @count end |
#status_code ⇒ Fixnum
This represents the http status code.
Corresponds to the JSON property statusCode
3149 3150 3151 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3149 def status_code @status_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3156 3157 3158 3159 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3156 def update!(**args) @count = args[:count] if args.key?(:count) @status_code = args[:status_code] if args.key?(:status_code) end |