Class: Google::Apis::GameservicesV1beta::OperationStatus
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::OperationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Instance Attribute Summary collapse
-
#done ⇒ Boolean
(also: #done?)
Output only.
-
#error_code ⇒ String
The error code in case of failures.
-
#error_message ⇒ String
The human-readable error message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationStatus
constructor
A new instance of OperationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperationStatus
Returns a new instance of OperationStatus.
1457 1458 1459 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Output only. Whether the operation is done or still in progress.
Corresponds to the JSON property done
1444 1445 1446 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1444 def done @done end |
#error_code ⇒ String
The error code in case of failures.
Corresponds to the JSON property errorCode
1450 1451 1452 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1450 def error_code @error_code end |
#error_message ⇒ String
The human-readable error message.
Corresponds to the JSON property errorMessage
1455 1456 1457 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1455 def @error_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1462 1463 1464 1465 1466 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1462 def update!(**args) @done = args[:done] if args.key?(:done) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) end |