Class: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation
- 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
A message type used to describe a single bundle validation error.
Instance Attribute Summary collapse
-
#description ⇒ String
A description of why the bundle is invalid and how to fix it.
-
#filename ⇒ String
The filename (including relative path from the bundle root) in which the error occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EdgeConfigstoreBundleBadBundleViolation
constructor
A new instance of EdgeConfigstoreBundleBadBundleViolation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EdgeConfigstoreBundleBadBundleViolation
Returns a new instance of EdgeConfigstoreBundleBadBundleViolation.
59 60 61 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 59 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
A description of why the bundle is invalid and how to fix it.
Corresponds to the JSON property description
51 52 53 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 51 def description @description end |
#filename ⇒ String
The filename (including relative path from the bundle root) in which the error
occurred.
Corresponds to the JSON property filename
57 58 59 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 57 def filename @filename end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64 65 66 67 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 64 def update!(**args) @description = args[:description] if args.key?(:description) @filename = args[:filename] if args.key?(:filename) end |