Class: Google::Apis::AdminReportsV1::ActivityEventsStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_codeString

Error code of the event. Note: Field can be empty. Corresponds to the JSON property errorCode

Returns:

  • (String)


422
423
424
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 422

def error_code
  @error_code
end

#error_messageString

Error message of the event. Note: Field can be empty. Corresponds to the JSON property errorMessage

Returns:

  • (String)


427
428
429
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 427

def error_message
  @error_message
end

#event_statusString

  • Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED Corresponds to the JSON property eventStatus

Returns:

  • (String)


433
434
435
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 433

def event_status
  @event_status
end

#http_status_codeFixnum

Status code of the event. Note: Field can be empty. Corresponds to the JSON property httpStatusCode

Returns:

  • (Fixnum)


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