Class: Google::Apis::ContentV2::Errors
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::Errors
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Overview
A list of errors returned by a failed batch entry.
Instance Attribute Summary collapse
- 
  
    
      #code  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The HTTP status of the first error in errors. 
- 
  
    
      #errors  ⇒ Array<Google::Apis::ContentV2::Error> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of errors. 
- 
  
    
      #message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The message of the first error in errors. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Errors 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Errors. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Errors
Returns a new instance of Errors
| 1990 1991 1992 | # File 'generated/google/apis/content_v2/classes.rb', line 1990 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#code ⇒ Fixnum
The HTTP status of the first error in errors.
Corresponds to the JSON property code
| 1978 1979 1980 | # File 'generated/google/apis/content_v2/classes.rb', line 1978 def code @code end | 
#errors ⇒ Array<Google::Apis::ContentV2::Error>
A list of errors.
Corresponds to the JSON property errors
| 1983 1984 1985 | # File 'generated/google/apis/content_v2/classes.rb', line 1983 def errors @errors end | 
#message ⇒ String
The message of the first error in errors.
Corresponds to the JSON property message
| 1988 1989 1990 | # File 'generated/google/apis/content_v2/classes.rb', line 1988 def @message end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1995 1996 1997 1998 1999 | # File 'generated/google/apis/content_v2/classes.rb', line 1995 def update!(**args) @code = args[:code] if args.key?(:code) @errors = args[:errors] if args.key?(:errors) @message = args[:message] if args.key?(:message) end |