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.



552
553
554
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 552

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)


534
535
536
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 534

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)


539
540
541
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 539

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)


545
546
547
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 545

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)


550
551
552
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 550

def http_status_code
  @http_status_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



557
558
559
560
561
562
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 557

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