Class: Google::Apis::CloudsearchV1::RepositoryError

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Errors when the connector is communicating to the source repository.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RepositoryError

Returns a new instance of RepositoryError.



14006
14007
14008
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14006

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_messageString

Message that describes the error. The maximum allowable length of the message is 8192 characters. Corresponds to the JSON property errorMessage

Returns:

  • (String)


13994
13995
13996
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13994

def error_message
  @error_message
end

#http_status_codeFixnum

Error codes. Matches the definition of HTTP status codes. Corresponds to the JSON property httpStatusCode

Returns:

  • (Fixnum)


13999
14000
14001
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13999

def http_status_code
  @http_status_code
end

#typeString

The type of error. Corresponds to the JSON property type

Returns:

  • (String)


14004
14005
14006
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14004

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14011
14012
14013
14014
14015
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14011

def update!(**args)
  @error_message = args[:error_message] if args.key?(:error_message)
  @http_status_code = args[:http_status_code] if args.key?(:http_status_code)
  @type = args[:type] if args.key?(:type)
end