Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Details on why a resource update failed in the runtime.
Instance Attribute Summary collapse
-
#code ⇒ String
Status code.
-
#message ⇒ String
User-friendly error message.
-
#resource ⇒ String
The sub resource specific to this error (e.g. a proxy deployed within the EnvironmentConfig).
-
#type ⇒ String
A string that uniquely identifies the type of error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1UpdateError
constructor
A new instance of GoogleCloudApigeeV1UpdateError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1UpdateError
Returns a new instance of GoogleCloudApigeeV1UpdateError.
11407 11408 11409 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Status code.
Corresponds to the JSON property code
11388 11389 11390 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11388 def code @code end |
#message ⇒ String
User-friendly error message.
Corresponds to the JSON property message
11393 11394 11395 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11393 def @message end |
#resource ⇒ String
The sub resource specific to this error (e.g. a proxy deployed within the
EnvironmentConfig). If empty the error refers to the top level resource.
Corresponds to the JSON property resource
11399 11400 11401 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11399 def resource @resource end |
#type ⇒ String
A string that uniquely identifies the type of error. This provides a more
reliable means to deduplicate errors across revisions and instances.
Corresponds to the JSON property type
11405 11406 11407 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11405 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11412 11413 11414 11415 11416 11417 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11412 def update!(**args) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) @resource = args[:resource] if args.key?(:resource) @type = args[:type] if args.key?(:type) end |