class Google::Apis::YoutubeAnalyticsV2::Errors

Request Error information. The presence of an error field signals that the operation has failed.

Attributes

code[RW]

Global error code. Deprecated and ignored. Set custom error codes in ErrorProto.domain and ErrorProto.code instead. Corresponds to the JSON property `code` @return [String]

error[RW]

Specific error description and codes Corresponds to the JSON property `error` @return [Array<Google::Apis::YoutubeAnalyticsV2::ErrorProto>]

request_id[RW]

Request identifier generated by the service, which can be used to identify the error in the logs Corresponds to the JSON property `requestId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_analytics_v2/classes.rb, line 139
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @error = args[:error] if args.key?(:error)
  @request_id = args[:request_id] if args.key?(:request_id)
end