class Google::Apis::CalendarV3::Error

Attributes

domain[RW]

Domain, or broad category, of the error. Corresponds to the JSON property `domain` @return [String]

reason[RW]

Specific reason for the error. Some of the possible values are:

  • “groupTooBig” - The group of users requested is too large for a single query.

  • “tooManyCalendarsRequested” - The number of calendars requested is too large

for a single query.

  • “notFound” - The requested resource was not found.

  • “internalError” - The API service has encountered an internal error.

Additional error types may be added in the future, so clients should gracefully handle additional error statuses not included in this list. Corresponds to the JSON property `reason` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 625
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/calendar_v3/classes.rb, line 630
def update!(**args)
  @domain = args[:domain] if args.key?(:domain)
  @reason = args[:reason] if args.key?(:reason)
end