Class: Google::Apis::AdminReportsV1::ActivityEventsStatus
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::ActivityEventsStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb
Overview
Status of the event. Note: Not all events have status.
Instance Attribute Summary collapse
-
#error_code ⇒ String
Error code of the event.
-
#error_message ⇒ String
Error message of the event.
-
#event_status ⇒ String
- Status of the event.
-
#http_status_code ⇒ Fixnum
Status code of the event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActivityEventsStatus
constructor
A new instance of ActivityEventsStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ActivityEventsStatus
Returns a new instance of ActivityEventsStatus.
440 441 442 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ String
Error code of the event. Note: Field can be empty.
Corresponds to the JSON property errorCode
422 423 424 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 422 def error_code @error_code end |
#error_message ⇒ String
Error message of the event. Note: Field can be empty.
Corresponds to the JSON property errorMessage
427 428 429 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 427 def @error_message end |
#event_status ⇒ String
- Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS -
SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED
Corresponds to the JSON property
eventStatus
433 434 435 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 433 def event_status @event_status end |
#http_status_code ⇒ Fixnum
Status code of the event. Note: Field can be empty.
Corresponds to the JSON property httpStatusCode
438 439 440 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 438 def http_status_code @http_status_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
445 446 447 448 449 450 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 445 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @event_status = args[:event_status] if args.key?(:event_status) @http_status_code = args[:http_status_code] if args.key?(:http_status_code) end |