Class: Google::Apis::ServiceusageV1beta1::EnableFailure
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServiceusageV1beta1::EnableFailure
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceusage_v1beta1/classes.rb,
 generated/google/apis/serviceusage_v1beta1/representations.rb,
 generated/google/apis/serviceusage_v1beta1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #error_message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An error message describing why the service could not be enabled. 
- 
  
    
      #service_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The service id of a service that could not be enabled. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EnableFailure 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EnableFailure. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnableFailure
Returns a new instance of EnableFailure
| 990 991 992 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 990 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#error_message ⇒ String
An error message describing why the service could not be enabled.
Corresponds to the JSON property errorMessage
| 983 984 985 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 983 def @error_message end | 
#service_id ⇒ String
The service id of a service that could not be enabled.
Corresponds to the JSON property serviceId
| 988 989 990 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 988 def service_id @service_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 995 996 997 998 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 995 def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) @service_id = args[:service_id] if args.key?(:service_id) end |